forked from chb/indivo_schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
allergy.xsd
25 lines (23 loc) · 1.03 KB
/
allergy.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
<?xml version="1.0" encoding="ISO-8859-1" ?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://indivo.org/vocab/xml/documents#" xmlns:indivo="http://indivo.org/vocab/xml/documents#"
elementFormDefault="qualified">
<include schemaLocation="codes.xsd" />
<element name="Allergy">
<complexType>
<sequence>
<element name="dateDiagnosed" type="date" minOccurs="0" maxOccurs="1" />
<element name="diagnosedBy" type="string" minOccurs="0" maxOccurs="1" />
<element name="allergen">
<complexType>
<sequence>
<element name="type" type="indivo:CodedValue" minOccurs="0" maxOccurs="1" />
<element name="name" type="indivo:CodedValue" minOccurs="1" maxOccurs="1" />
</sequence>
</complexType>
</element>
<element name="reaction" minOccurs="0" maxOccurs="1" type="string" />
<element name="specifics" minOccurs="0" maxOccurs="1" type="string" />
</sequence>
</complexType>
</element>
</schema>