-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathXSD-Example-PMS.xsd
42 lines (42 loc) · 2.18 KB
/
XSD-Example-PMS.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="patients">
<xs:complexType>
<xs:sequence>
<xs:element name="patient">
<xs:complexType>
<xs:sequence>
<xs:element name="protocol">
<xs:complexType>
<xs:sequence>
<xs:element name="line" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="question" use="optional"/>
<xs:attribute type="xs:string" name="alerted" use="optional"/>
<xs:attribute type="xs:string" name="codevalue" use="optional"/>
<xs:attribute type="xs:string" name="term" use="optional"/>
<xs:attribute type="xs:string" name="readcode" use="optional"/>
<xs:attribute type="xs:long" name="snomed" use="optional"/>
<xs:attribute type="xs:string" name="resdate" use="optional"/>
<xs:attribute type="xs:byte" name="itemindex" use="optional"/>
<xs:attribute type="xs:string" name="units" use="optional"/>
<xs:attribute type="xs:string" name="value" use="optional"/>
<xs:attribute type="xs:string" name="valuetype" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute type="xs:string" name="name"/>
<xs:attribute type="xs:byte" name="testid"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute type="xs:int" name="ident"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>