-
Notifications
You must be signed in to change notification settings - Fork 0
/
alert.xsd
64 lines (64 loc) · 2.79 KB
/
alert.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
<?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:cda="urn:hl7-org:v3"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:openhie.org:alerting"
xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
<xs:import namespace="urn:hl7-org:v3" schemaLocation="POCD_MT000040.xsd"/>
<xs:include schemaLocation="datatypes-base.xsd"/>
<xs:complexType name="Target">
<xs:sequence>
<xs:element maxOccurs="unbounded" name="telecom" type="TEL_explicit"/>
</xs:sequence>
<xs:attribute name="id">
<xs:annotation>
<xs:documentation>Network identifer of the the human recipient. URN</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Status">
<xs:attribute name="status-code-scheme">
<xs:annotation>
<xs:documentation>URN
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="status-code"/>
</xs:complexType>
<xs:complexType name="Message">
<xs:sequence>
<xs:any/>
</xs:sequence>
<xs:attribute name="message-id" use="required">
<xs:annotation>
<xs:documentation>UUID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="subject-of-care">
<xs:annotation>
<xs:documentation>Network identifer of the the human subject of care. URN</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="published" type="xs:dateTimeStamp" use="required"/>
<xs:attribute name="expires" type="xs:dateTimeStamp"/>
<xs:attribute ref="xml:lang"/>
<xs:attribute name="type">
<xs:annotation>
<xs:documentation>URN to identify message content and behaviour of AC. profile will define:
urn:ihe:2015:@@h:message-types:plain/text
others could include for example
urh:ihe:2015:@@h:message-types:pcc_form_submission</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="link" type="xs:anyURI"/>
</xs:complexType>
<xs:complexType name="Alert">
<xs:sequence>
<xs:element name="target" type="Target" maxOccurs="unbounded"> </xs:element>
<xs:element name="message" type="Message"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="status" type="Status"/>
</xs:sequence>
</xs:complexType>
<xs:element name="alert" type="Alert"> </xs:element>
</xs:schema>