1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
---|
2 | <xs:schema xmlns="urn:hl7-org:v3" xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
---|
3 | xmlns:ex="urn:hl7-org/v3-example"
|
---|
4 | targetNamespace="urn:hl7-org:v3"
|
---|
5 | elementFormDefault="qualified"><!--
|
---|
6 | *****************************************************************************************************************
|
---|
7 | * XML schema for message type PRPA_MT201304UV.
|
---|
8 | * Source information:
|
---|
9 | * Rendered by: Visio to MIF transform
|
---|
10 | * Rendered on:
|
---|
11 | *
|
---|
12 | *
|
---|
13 | * Generated by XMLITS version 3.0.3
|
---|
14 | * MIF to XSD Transform $Id: StaticMifToXsd.xsl,v 1.2 2007/03/06 06:56:44 wbeeler Exp $
|
---|
15 | * Package Id Conversion: $Id: TransformPackageIds.xsl,v 1.2 2007/03/06 06:56:45 wbeeler Exp $
|
---|
16 | *
|
---|
17 | * Copyright (c) 2002, 2003, 2004, 2005 Health Level Seven. All rights reserved.
|
---|
18 | * Redistribution and use in source and binary forms, with or without
|
---|
19 | * modification, are permitted provided that the following conditions
|
---|
20 | * are met:
|
---|
21 | * 1. Redistributions of source code must retain the above copyright
|
---|
22 | * notice, this list of conditions and the following disclaimer.
|
---|
23 | * 2. Redistributions in binary form must reproduce the above copyright
|
---|
24 | * notice, this list of conditions and the following disclaimer in the
|
---|
25 | * documentation and/or other materials provided with the distribution.
|
---|
26 | * 3. All advertising materials mentioning features or use of this software
|
---|
27 | * must display the following acknowledgement:
|
---|
28 | * This product includes software developed by Health Level Seven.
|
---|
29 | * THIS SOFTWARE IS PROVIDED BY HEALTH LEVEL SEVEN, INC. AND CONTRIBUTORS "AS IS" AND
|
---|
30 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
---|
31 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
---|
32 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
---|
33 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
---|
34 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
---|
35 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
---|
36 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
---|
37 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
---|
38 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
---|
39 | * SUCH DAMAGE.
|
---|
40 | *
|
---|
41 | ********************************************************************************************************************
|
---|
42 | --><xs:annotation>
|
---|
43 | <xs:documentation>Generated using schema builder version 3.0.3. Stylesheets:
|
---|
44 |
|
---|
45 | StaticMifToXsd.xsl version 2.0</xs:documentation>
|
---|
46 | </xs:annotation>
|
---|
47 | <xs:include schemaLocation="../coreschemas/infrastructureRoot.xsd"/>
|
---|
48 | <xs:include schemaLocation="COCT_MT150007UV.xsd"/>
|
---|
49 | <xs:include schemaLocation="COCT_MT820000UV.xsd"/>
|
---|
50 | <xs:include schemaLocation="COCT_MT150002UV01.xsd"/>
|
---|
51 | <xs:include schemaLocation="COCT_MT150003UV03.xsd"/>
|
---|
52 | <xs:include schemaLocation="COCT_MT180000UV04.xsd"/>
|
---|
53 | <!-- vdp 2007-08-03 improper CMET inclusion
|
---|
54 | <xs:include schemaLocation="COCT_MT510000UV.xsd"/>
|
---|
55 | -->
|
---|
56 | <xs:complexType name="PRPA_MT201304UV.Citizen">
|
---|
57 | <xs:sequence>
|
---|
58 | <xs:group ref="InfrastructureRootElements"/>
|
---|
59 | <xs:element name="id" type="II" minOccurs="1" maxOccurs="unbounded"/>
|
---|
60 | <xs:element name="effectiveTime" type="IVL_TS_explicit" minOccurs="0" maxOccurs="1"/>
|
---|
61 | <xs:element name="politicalNation" type="PRPA_MT201304UV.Nation" minOccurs="1"
|
---|
62 | maxOccurs="1"/>
|
---|
63 | </xs:sequence>
|
---|
64 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
65 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
66 | <xs:attribute name="classCode" type="cs" use="required"/>
|
---|
67 | </xs:complexType>
|
---|
68 | <xs:complexType name="PRPA_MT201304UV.CoveredParty">
|
---|
69 | <xs:sequence>
|
---|
70 | <xs:group ref="InfrastructureRootElements"/>
|
---|
71 | <xs:element name="sequenceNumber" type="INT" minOccurs="0" maxOccurs="1"/>
|
---|
72 | <xs:element name="time" type="IVL_TS_explicit" minOccurs="0" maxOccurs="1"/>
|
---|
73 | <xs:element name="coverageRecord" type="COCT_MT180000UV04.PolicyOrAccount" nillable="true"
|
---|
74 | minOccurs="1"
|
---|
75 | maxOccurs="1"/>
|
---|
76 | <!-- vdp 2007-08-03 re-definition of coverageRecord using improper CMET
|
---|
77 | <xs:element name="coverageRecord" type="COCT_MT510000UV.CoverageRecord" nillable="true"
|
---|
78 | minOccurs="1"
|
---|
79 | maxOccurs="1"/>
|
---|
80 | -->
|
---|
81 | </xs:sequence>
|
---|
82 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
83 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
84 | <xs:attribute name="typeCode" type="cs" use="required"/>
|
---|
85 | </xs:complexType>
|
---|
86 | <xs:complexType name="PRPA_MT201304UV.Employee">
|
---|
87 | <xs:sequence>
|
---|
88 | <xs:group ref="InfrastructureRootElements"/>
|
---|
89 | <xs:element name="id" type="II" minOccurs="1" maxOccurs="unbounded"/>
|
---|
90 | <xs:element name="statusCode" type="CS" minOccurs="0" maxOccurs="1"/>
|
---|
91 | <xs:element name="effectiveTime" type="IVL_TS_explicit" minOccurs="0" maxOccurs="1"/>
|
---|
92 | <xs:element name="employerOrganization" type="COCT_MT150007UV.Organization" nillable="true"
|
---|
93 | minOccurs="1"
|
---|
94 | maxOccurs="1"/>
|
---|
95 | </xs:sequence>
|
---|
96 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
97 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
98 | <xs:attribute name="classCode" type="cs" use="required"/>
|
---|
99 | </xs:complexType>
|
---|
100 | <xs:complexType name="PRPA_MT201304UV.Group">
|
---|
101 | <xs:sequence>
|
---|
102 | <xs:group ref="InfrastructureRootElements"/>
|
---|
103 | <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded"/>
|
---|
104 | <xs:element name="code" type="CE" minOccurs="0" maxOccurs="1"/>
|
---|
105 | <xs:element name="name" type="EN_explicit" minOccurs="0" maxOccurs="unbounded"/>
|
---|
106 | </xs:sequence>
|
---|
107 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
108 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
109 | <xs:attribute name="classCode" type="cs" use="required"/>
|
---|
110 | <xs:attribute name="determinerCode" type="cs" use="required"/>
|
---|
111 | </xs:complexType>
|
---|
112 | <xs:complexType name="PRPA_MT201304UV.Member">
|
---|
113 | <xs:sequence>
|
---|
114 | <xs:group ref="InfrastructureRootElements"/>
|
---|
115 | <xs:element name="id" type="II" minOccurs="1" maxOccurs="unbounded"/>
|
---|
116 | <xs:element name="code" type="CE" minOccurs="0" maxOccurs="1"/>
|
---|
117 | <xs:element name="statusCode" type="CS" minOccurs="0" maxOccurs="1"/>
|
---|
118 | <xs:element name="effectiveTime" type="IVL_TS_explicit" minOccurs="0" maxOccurs="1"/>
|
---|
119 | <xs:element name="group" type="PRPA_MT201304UV.Group" nillable="true" minOccurs="1"
|
---|
120 | maxOccurs="1"/>
|
---|
121 | </xs:sequence>
|
---|
122 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
123 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
124 | <xs:attribute name="classCode" type="cs" use="required"/>
|
---|
125 | </xs:complexType>
|
---|
126 | <xs:complexType name="PRPA_MT201304UV.Nation">
|
---|
127 | <xs:sequence>
|
---|
128 | <xs:group ref="InfrastructureRootElements"/>
|
---|
129 | <xs:element name="code" type="CE" minOccurs="1" maxOccurs="1"/>
|
---|
130 | <xs:element name="name" type="ON_explicit" minOccurs="0" maxOccurs="1"/>
|
---|
131 | </xs:sequence>
|
---|
132 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
133 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
134 | <xs:attribute name="classCode" type="cs" use="required"/>
|
---|
135 | <xs:attribute name="determinerCode" type="cs" use="required"/>
|
---|
136 | </xs:complexType>
|
---|
137 | <xs:complexType name="PRPA_MT201304UV.NonPersonLivingSubject">
|
---|
138 | <xs:sequence>
|
---|
139 | <xs:group ref="InfrastructureRootElements"/>
|
---|
140 | <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded"/>
|
---|
141 | <xs:element name="code" type="CE" minOccurs="0" maxOccurs="1"/>
|
---|
142 | <xs:element name="name" type="EN_explicit" minOccurs="0" maxOccurs="unbounded"/>
|
---|
143 | <xs:element name="asPatientOfOtherProvider" type="PRPA_MT201304UV.PatientOfOtherProvider"
|
---|
144 | nillable="true"
|
---|
145 | minOccurs="0"
|
---|
146 | maxOccurs="unbounded"/>
|
---|
147 | <xs:element name="asMember" type="PRPA_MT201304UV.Member" nillable="true" minOccurs="0"
|
---|
148 | maxOccurs="unbounded"/>
|
---|
149 | <xs:element name="asOtherIDs" type="PRPA_MT201304UV.OtherIDs" nillable="true" minOccurs="0"
|
---|
150 | maxOccurs="unbounded"/>
|
---|
151 | </xs:sequence>
|
---|
152 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
153 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
154 | <xs:attribute name="classCode" type="cs" use="required"/>
|
---|
155 | <xs:attribute name="determinerCode" type="cs" use="required"/>
|
---|
156 | </xs:complexType>
|
---|
157 | <xs:complexType name="PRPA_MT201304UV.OtherIDs">
|
---|
158 | <xs:sequence>
|
---|
159 | <xs:group ref="InfrastructureRootElements"/>
|
---|
160 | <xs:element name="id" type="II" minOccurs="1" maxOccurs="unbounded"/>
|
---|
161 | <xs:element name="statusCode" type="CS" minOccurs="0" maxOccurs="1"/>
|
---|
162 | <xs:element name="effectiveTime" type="IVL_TS_explicit" minOccurs="0" maxOccurs="1"/>
|
---|
163 | <xs:element name="scopingOrganization" type="COCT_MT150002UV01.Organization"
|
---|
164 | nillable="true"
|
---|
165 | minOccurs="1"
|
---|
166 | maxOccurs="1"/>
|
---|
167 | </xs:sequence>
|
---|
168 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
169 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
170 | <xs:attribute name="classCode" type="cs" use="required"/>
|
---|
171 | </xs:complexType>
|
---|
172 | <xs:complexType name="PRPA_MT201304UV.Patient">
|
---|
173 | <xs:sequence>
|
---|
174 | <xs:group ref="InfrastructureRootElements"/>
|
---|
175 | <xs:element name="id" type="II" minOccurs="1" maxOccurs="unbounded"/>
|
---|
176 | <xs:element name="statusCode" type="CS" minOccurs="1" maxOccurs="1"/>
|
---|
177 | <xs:element name="effectiveTime" type="IVL_TS_explicit" minOccurs="0" maxOccurs="1"/>
|
---|
178 | <xs:element name="veryImportantPersonCode" type="CE" minOccurs="0" maxOccurs="1"/>
|
---|
179 | <xs:choice>
|
---|
180 | <xs:element name="patientPerson" type="PRPA_MT201304UV.Person" nillable="true"
|
---|
181 | minOccurs="1"
|
---|
182 | maxOccurs="1"/>
|
---|
183 | <xs:element name="patientNonPersonLivingSubject"
|
---|
184 | type="PRPA_MT201304UV.NonPersonLivingSubject"
|
---|
185 | nillable="true"
|
---|
186 | minOccurs="1"
|
---|
187 | maxOccurs="1"/>
|
---|
188 | </xs:choice>
|
---|
189 | <xs:element name="providerOrganization" type="COCT_MT150003UV03.Organization"
|
---|
190 | nillable="true"
|
---|
191 | minOccurs="0"
|
---|
192 | maxOccurs="1"/>
|
---|
193 | <xs:element name="coveredPartyOf" type="PRPA_MT201304UV.CoveredParty" nillable="true"
|
---|
194 | minOccurs="0"
|
---|
195 | maxOccurs="unbounded"/>
|
---|
196 | </xs:sequence>
|
---|
197 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
198 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
199 | <xs:attribute name="classCode" type="cs" use="required"/>
|
---|
200 | </xs:complexType>
|
---|
201 | <xs:complexType name="PRPA_MT201304UV.PatientOfOtherProvider">
|
---|
202 | <xs:sequence>
|
---|
203 | <xs:group ref="InfrastructureRootElements"/>
|
---|
204 | <xs:element name="subjectOf" type="PRPA_MT201304UV.Subject" minOccurs="1" maxOccurs="1"/>
|
---|
205 | </xs:sequence>
|
---|
206 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
207 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
208 | <xs:attribute name="classCode" type="cs" use="required"/>
|
---|
209 | </xs:complexType>
|
---|
210 | <xs:complexType name="PRPA_MT201304UV.Person">
|
---|
211 | <xs:sequence>
|
---|
212 | <xs:group ref="InfrastructureRootElements"/>
|
---|
213 | <xs:element name="id" type="II" minOccurs="0" maxOccurs="unbounded"/>
|
---|
214 | <xs:element name="name" type="PN_explicit" minOccurs="1" maxOccurs="unbounded"/>
|
---|
215 | <xs:element name="asPatientOfOtherProvider" type="PRPA_MT201304UV.PatientOfOtherProvider"
|
---|
216 | nillable="true"
|
---|
217 | minOccurs="0"
|
---|
218 | maxOccurs="unbounded"/>
|
---|
219 | <xs:element name="asEmployee" type="PRPA_MT201304UV.Employee" nillable="true" minOccurs="0"
|
---|
220 | maxOccurs="unbounded"/>
|
---|
221 | <xs:element name="asCitizen" type="PRPA_MT201304UV.Citizen" nillable="true" minOccurs="0"
|
---|
222 | maxOccurs="unbounded"/>
|
---|
223 | <xs:element name="asStudent" type="PRPA_MT201304UV.Student" nillable="true" minOccurs="0"
|
---|
224 | maxOccurs="unbounded"/>
|
---|
225 | <xs:element name="asMember" type="PRPA_MT201304UV.Member" nillable="true" minOccurs="0"
|
---|
226 | maxOccurs="unbounded"/>
|
---|
227 | <xs:element name="asOtherIDs" type="PRPA_MT201304UV.OtherIDs" nillable="true" minOccurs="0"
|
---|
228 | maxOccurs="unbounded"/>
|
---|
229 | </xs:sequence>
|
---|
230 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
231 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
232 | <xs:attribute name="classCode" type="cs" use="required"/>
|
---|
233 | <xs:attribute name="determinerCode" type="cs" use="required"/>
|
---|
234 | </xs:complexType>
|
---|
235 | <xs:complexType name="PRPA_MT201304UV.Student">
|
---|
236 | <xs:sequence>
|
---|
237 | <xs:group ref="InfrastructureRootElements"/>
|
---|
238 | <xs:element name="id" type="II" minOccurs="1" maxOccurs="unbounded"/>
|
---|
239 | <xs:element name="statusCode" type="CS" minOccurs="0" maxOccurs="1"/>
|
---|
240 | <xs:element name="effectiveTime" type="IVL_TS_explicit" minOccurs="0" maxOccurs="1"/>
|
---|
241 | <xs:element name="schoolOrganization" type="COCT_MT150007UV.Organization" nillable="true"
|
---|
242 | minOccurs="0"
|
---|
243 | maxOccurs="1"/>
|
---|
244 | </xs:sequence>
|
---|
245 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
246 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
247 | <xs:attribute name="classCode" type="cs" use="required"/>
|
---|
248 | </xs:complexType>
|
---|
249 | <xs:complexType name="PRPA_MT201304UV.Subject">
|
---|
250 | <xs:sequence>
|
---|
251 | <xs:group ref="InfrastructureRootElements"/>
|
---|
252 | <xs:element name="careProvision" type="COCT_MT820000UV.CareProvision" minOccurs="1"
|
---|
253 | maxOccurs="1"/>
|
---|
254 | </xs:sequence>
|
---|
255 | <xs:attributeGroup ref="InfrastructureRootAttributes"/>
|
---|
256 | <xs:attribute name="nullFlavor" type="NullFlavor" use="optional"/>
|
---|
257 | <xs:attribute name="typeCode" type="cs" use="required"/>
|
---|
258 | </xs:complexType>
|
---|
259 | </xs:schema>
|
---|