PageRenderTime 45ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/open-dm-mi/solutions/usa-patient/USAPatient/src/Configuration/schema/midm.xsd

https://bitbucket.org/pymma/mosaic
XML Schema | 248 lines | 247 code | 1 blank | 0 comment | 0 complexity | 096cd94ef55023233ca5dbb84043a540 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  4. #
  5. # Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.
  6. #
  7. # The contents of this file are subject to the terms of the Common
  8. # Development and Distribution License ("CDDL")(the "License"). You
  9. # may not use this file except in compliance with the License.
  10. #
  11. # You can obtain a copy of the License at
  12. # https://open-dm-mi.dev.java.net/cddl.html
  13. # or open-dm-mi/bootstrap/legal/license.txt. See the License for the
  14. # specific language governing permissions and limitations under the
  15. # License.
  16. #
  17. # When distributing the Covered Code, include this CDDL Header Notice
  18. # in each file and include the License file at
  19. # open-dm-mi/bootstrap/legal/license.txt.
  20. # If applicable, add the following below this CDDL Header, with the
  21. # fields enclosed by brackets [] replaced by your own identifying
  22. # information: "Portions Copyrighted [year] [name of copyright owner]"
  23. -->
  24. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  25. <xs:element name="midm">
  26. <xs:complexType>
  27. <xs:sequence>
  28. <xs:element name="node" minOccurs="1" maxOccurs="unbounded"/>
  29. <xs:element name="relationships" minOccurs="1" maxOccurs="1"/>
  30. <xs:element name="impl-details" type="implDetailType" minOccurs="1" maxOccurs="1"/>
  31. <xs:element name="gui-definition" type="guiDefinitionType" minOccurs="1" maxOccurs="1"/>
  32. </xs:sequence>
  33. </xs:complexType>
  34. </xs:element>
  35. <xs:element name="name" type="xs:string"/>
  36. <xs:element name="display-name" type="xs:string"/>
  37. <xs:element name="local-id" type="xs:string"/>
  38. <xs:element name="initial-screen-id" type="idOrderType"/>
  39. <xs:element name="screen-id" type="idOrderType"/>
  40. <xs:element name="display-order" type="idOrderType"/>
  41. <xs:element name="max-length" type="xs:positiveInteger"/>
  42. <xs:element name="gui-type" type="xs:string"/>
  43. <xs:element name="value-list" type="xs:string"/>
  44. <xs:element name="input-mask" type="xs:string"/>
  45. <xs:element name="value-mask" type="xs:string"/>
  46. <xs:element name="value-type" type="xs:string"/>
  47. <xs:element name="is-sensitive" type="xs:boolean"/>
  48. <xs:element name="key-type" type="xs:boolean"/>
  49. <xs:element name="root-object" type="xs:string"/>
  50. <xs:element name="tab-name" type="xs:string"/>
  51. <xs:element name="report-name" type="xs:string"/>
  52. <xs:element name="enable" type="xs:boolean"/>
  53. <xs:element name="allow-insert" type="xs:boolean"/>
  54. <xs:element name="field">
  55. <xs:complexType>
  56. <xs:sequence>
  57. <xs:element ref="name"/>
  58. <xs:element ref="display-name"/>
  59. <xs:element ref="display-order"/>
  60. <xs:element ref="max-length"/>
  61. <xs:element ref="gui-type"/>
  62. <xs:element ref="value-list" minOccurs="0"/>
  63. <xs:element ref="input-mask" minOccurs="0"/>
  64. <xs:element ref="value-mask" minOccurs="0"/>
  65. <xs:element ref="value-type"/>
  66. <xs:element ref="is-sensitive" minOccurs="0"/>
  67. <xs:element ref="key-type"/>
  68. </xs:sequence>
  69. </xs:complexType>
  70. </xs:element>
  71. <xs:element name="node">
  72. <xs:complexType>
  73. <xs:sequence>
  74. <xs:element ref="name"/>
  75. <xs:element ref="field" minOccurs="1" maxOccurs="unbounded"/>
  76. </xs:sequence>
  77. </xs:complexType>
  78. </xs:element>
  79. <xs:element name="search-pages" type="searchPagesType"/>
  80. <xs:element name="search-result-pages" type="searchResultPagesType"/>
  81. <xs:complexType name="guiDefinitionType">
  82. <xs:sequence>
  83. <xs:element name="page-definition" type="qwsDefinitionType"/>
  84. </xs:sequence>
  85. </xs:complexType>
  86. <xs:complexType name="qwsDefinitionType">
  87. <xs:sequence>
  88. <xs:element ref="local-id" minOccurs="0" maxOccurs="1"/>
  89. <xs:element ref="initial-screen-id" minOccurs="0" maxOccurs="1"/>
  90. <xs:element name="dashboard" type="sourceRecordReportsType"/>
  91. <xs:element name="record-details" type="commonBlockType"/>
  92. <xs:element name="transactions" type="commonBlockType"/>
  93. <xs:element name="duplicate-records" type="commonBlockType"/>
  94. <xs:element name="assumed-matches" type="commonBlockType"/>
  95. <xs:element name="source-record" type="sourceRecordReportsType"/>
  96. <xs:element name="reports" type="sourceRecordReportsType"/>
  97. <xs:element name="audit-log" type="commonBlockType"/>
  98. </xs:sequence>
  99. </xs:complexType>
  100. <xs:simpleType name="idOrderType">
  101. <xs:restriction base="xs:int">
  102. <xs:minInclusive id="short.minInclusive" value="0"/>
  103. <xs:maxInclusive id="short.maxInclusive" value="32767"/>
  104. </xs:restriction>
  105. </xs:simpleType>
  106. <xs:complexType name="simpleSearchPageType">
  107. <xs:sequence>
  108. <xs:element name="screen-title" type="xs:string" minOccurs="0"/>
  109. <xs:element ref="report-name" minOccurs="0" maxOccurs="1"/>
  110. <xs:element name="search-result-id" type="idOrderType" minOccurs="0"/>
  111. <xs:element name="search-screen-order" type="idOrderType" minOccurs="0"/>
  112. <xs:element name="show-euid" type="xs:boolean" minOccurs="0"/>
  113. <xs:element name="show-lid" type="xs:boolean" minOccurs="0"/>
  114. <xs:element name="show-status" type="xs:boolean" minOccurs="0"/>
  115. <xs:element name="show-create-date" type="xs:boolean" minOccurs="0"/>
  116. <xs:element name="show-create-time" type="xs:boolean" minOccurs="0"/>
  117. <xs:element name="show-timestamp" type="xs:boolean" minOccurs="0"/>
  118. <xs:element name="instruction" type="xs:string" minOccurs="0"/>
  119. <xs:element name="field-group" type="fieldGroupType" minOccurs="0" maxOccurs="unbounded"/>
  120. <xs:element name="search-option" type="searchOptionType" minOccurs="0" maxOccurs="unbounded"/>
  121. </xs:sequence>
  122. </xs:complexType>
  123. <xs:complexType name="searchPagesType">
  124. <xs:sequence>
  125. <xs:element name="simple-search-page" type="simpleSearchPageType" minOccurs="0" maxOccurs="unbounded"/>
  126. </xs:sequence>
  127. </xs:complexType>
  128. <xs:complexType name="searchResultPagesType">
  129. <xs:sequence>
  130. <xs:element name="search-result-list-page" type="searchResultListPageType" minOccurs="0"/>
  131. </xs:sequence>
  132. </xs:complexType>
  133. <xs:complexType name="subscreenType">
  134. <xs:sequence>
  135. <xs:element ref="enable" minOccurs="0"/>
  136. <xs:element ref="root-object"/>
  137. <xs:element ref="tab-name"/>
  138. <xs:element ref="report-name" minOccurs="0" maxOccurs="1"/>
  139. <xs:element ref="screen-id"/>
  140. <xs:element ref="display-order"/>
  141. <xs:element ref="search-pages" minOccurs="0" maxOccurs="unbounded"/>
  142. <xs:element ref="search-result-pages" minOccurs="0" maxOccurs="unbounded"/>
  143. </xs:sequence>
  144. </xs:complexType>
  145. <xs:complexType name="sourceRecordReportsType">
  146. <xs:sequence>
  147. <xs:element ref="root-object"/>
  148. <xs:element ref="tab-name"/>
  149. <xs:element ref="screen-id"/>
  150. <xs:element ref="display-order"/>
  151. <xs:element ref="search-pages" minOccurs="0" maxOccurs="unbounded"/>
  152. <xs:element ref="search-result-pages" minOccurs="0" maxOccurs="unbounded"/>
  153. <xs:element name="subscreen-configurations">
  154. <xs:complexType>
  155. <xs:sequence>
  156. <xs:element name="subscreen" type="subscreenType" minOccurs="0" maxOccurs="unbounded"/>
  157. </xs:sequence>
  158. </xs:complexType>
  159. </xs:element>
  160. </xs:sequence>
  161. </xs:complexType>
  162. <xs:complexType name="fieldGroupType">
  163. <xs:sequence>
  164. <xs:element name="description" type="xs:string" minOccurs="0"/>
  165. <xs:element name="field-ref" minOccurs="0" maxOccurs="98">
  166. <xs:complexType>
  167. <xs:simpleContent>
  168. <xs:extension base="xs:string">
  169. <xs:attribute name="required">
  170. <xs:simpleType>
  171. <xs:restriction base="xs:string">
  172. </xs:restriction>
  173. </xs:simpleType>
  174. </xs:attribute>
  175. <xs:attribute name="choice">
  176. <xs:simpleType>
  177. <xs:restriction base="xs:string">
  178. </xs:restriction>
  179. </xs:simpleType>
  180. </xs:attribute>
  181. </xs:extension>
  182. </xs:simpleContent>
  183. </xs:complexType>
  184. </xs:element>
  185. </xs:sequence>
  186. </xs:complexType>
  187. <xs:complexType name="searchOptionType">
  188. <xs:sequence>
  189. <xs:element name="display-name" type="xs:string"/>
  190. <xs:element name="query-builder" type="xs:string"/>
  191. <xs:element name="weighted" type="xs:boolean"/>
  192. <xs:element name="candidate-threshold" type="xs:int" minOccurs="0" maxOccurs="1"/>
  193. <xs:element name="parameter" type="searchOptionParameterType" maxOccurs="unbounded"/>
  194. </xs:sequence>
  195. </xs:complexType>
  196. <xs:complexType name="searchOptionParameterType">
  197. <xs:sequence>
  198. <xs:element name="name" type="xs:string"/>
  199. <xs:element name="value" type="xs:string"/>
  200. </xs:sequence>
  201. </xs:complexType>
  202. <xs:complexType name="searchResultListPageType">
  203. <xs:sequence>
  204. <xs:element name="search-result-id" type="idOrderType"/>
  205. <xs:element name="item-per-page" type="xs:positiveInteger"/>
  206. <xs:element name="max-result-size" type="xs:positiveInteger"/>
  207. <xs:element name="show-euid" type="xs:boolean" minOccurs="0"/>
  208. <xs:element name="show-lid" type="xs:boolean" minOccurs="0"/>
  209. <xs:element name="show-status" type="xs:boolean" minOccurs="0"/>
  210. <xs:element name="show-create-date" type="xs:boolean" minOccurs="0"/>
  211. <xs:element name="show-create-time" type="xs:boolean" minOccurs="0"/>
  212. <xs:element name="show-timestamp" type="xs:boolean" minOccurs="0"/>
  213. <xs:element name="field-ref" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
  214. <xs:element name="field-group" type="fieldGroupType" minOccurs="0" maxOccurs="unbounded"/>
  215. </xs:sequence>
  216. </xs:complexType>
  217. <xs:complexType name="commonBlockType">
  218. <xs:sequence>
  219. <xs:element ref="allow-insert" minOccurs="0"/>
  220. <xs:element ref="root-object"/>
  221. <xs:element ref="tab-name"/>
  222. <xs:element ref="screen-id"/>
  223. <xs:element ref="display-order"/>
  224. <xs:element ref="search-pages" minOccurs="0" maxOccurs="unbounded"/>
  225. <xs:element ref="search-result-pages" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence>
  226. </xs:complexType>
  227. <xs:element name="relationships">
  228. <xs:complexType>
  229. <xs:sequence>
  230. <xs:element ref="name" minOccurs="0" maxOccurs="unbounded"/>
  231. <xs:element name="children" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
  232. </xs:sequence>
  233. </xs:complexType>
  234. </xs:element>
  235. <xs:complexType name="implDetailType">
  236. <xs:sequence>
  237. <xs:element name="master-controller-jndi-name" type="xs:string"/>
  238. <xs:element name="validation-service-jndi-name" type="xs:string"/>
  239. <xs:element name="usercode-jndi-name" type="xs:string"/>
  240. <xs:element name="reportgenerator-jndi-name" type="xs:string"/>
  241. <xs:element name="debug-flag" type="xs:boolean" minOccurs="0"/>
  242. <xs:element name="debug-dest" type="xs:string" minOccurs="0"/>
  243. <xs:element name="enable-security" type="xs:boolean" default="true" minOccurs="0"/>
  244. <xs:element name="object-sensitive-plug-in-class" type="xs:string"/>
  245. </xs:sequence>
  246. </xs:complexType>
  247. </xs:schema>