-
Notifications
You must be signed in to change notification settings - Fork 0
/
alert-hl7-TEL.xsd
70 lines (70 loc) · 3.06 KB
/
alert-hl7-TEL.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:openhie.org:alerting" elementFormDefault="qualified"
xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="urn:openhie.org:alerting">
<xs:include schemaLocation="datatypes-base.xsd"/>
<xs:complexType name="IntendedRecipients">
<xs:choice maxOccurs="unbounded">
<xs:element name="QueryTarget">
<xs:complexType>
<xs:sequence>
<xs:any/>
</xs:sequence>
<xs:attribute name="search" use="required">
<xs:annotation>
<xs:documentation>Example: <ohie:QueryTarget search="urn:ihe:iti:csd:2014:stored-function:facility-search"></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute/>
</xs:complexType>
</xs:element>
<xs:element name="Target">
<xs:complexType>
<xs:sequence>
<xs:element name="telecom" maxOccurs="unbounded" type="TEL"/>
</xs:sequence>
<xs:attribute name="id">
<xs:annotation>
<xs:documentation>Enterprise identifer of the the human recipient</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:anyAttribute/>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:anyAttribute/>
</xs:complexType>
<xs:complexType name="Message">
<xs:sequence>
<xs:any/>
</xs:sequence>
<xs:attribute name="content-type" use="required">
<xs:annotation>
<xs:documentation>mime-type</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="src">
<xs:annotation>
<xs:documentation>Optional attribute. If present and non-empty then there can be nothing under Message element. Otherwise content is under Message element. Similar to atom:content. If there is content may include PHI triggering audit requirements.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="statusCode"/>
<xs:attribute name="statusCodeScheme"/>
<xs:attribute name="id" use="required"/>
<xs:attribute name="published" type="xs:dateTimeStamp" use="required"/>
<xs:anyAttribute/>
</xs:complexType>
<xs:element name="Alert">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="IntendedRecipients"
type="IntendedRecipients"/>
<xs:element maxOccurs="unbounded" name="Message" type="Message"/>
<xs:sequence>
<xs:any/>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>