-
Notifications
You must be signed in to change notification settings - Fork 2
/
hr4e_patient.xml
258 lines (235 loc) · 13.2 KB
/
hr4e_patient.xml
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<!--HR4E patient data template, based on greenCCD.xml from Alschuler Associates -->
<!-- We will validate ourselves against the greenCCD.xsd produced by Alschuler
Associates. We can keep a local copy of the schema. The original was downloaded
from the GreenCDA project page on HL7: http://wiki.hl7.org/index.php?title=GreenCDA_Project.
From that page, download and unzip CDAR2_IG_GREENMOD4CCD_R1_I1_2010SEP.zip
We use 3 namespaces: default is AlschulerAssociates xsi prefix is for XML
schema tags hr4e prefix for hr4e extensions to the default model. hr4e is
a placeholder, can change it if needed. -->
<greenCCD xmlns="AlschulerAssociates::GreenCDA" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:hr4e="hr4e::patientdata" xsi:schemaLocation="AlschulerAssociates::GreenCDA green_ccd.xsd">
<!-- Header information. This information applies to the entire document. -->
<header>
<documentID root="f74b19b7-f119-4c3d-abe7-ddbf18f0cb7e"/>
<!-- Title is required, but a fixed value for all HR4E instances. -->
<title>Health Records for Everyone Continuity of Care Document</title>
<version>
<number>1</number>
</version>
<confidentiality codeSystem="2.16.840.1.113883.5.25" code="N"/>
<documentTimestamp value="20111021601047+0800"/>
<personalInformation>
<patientInformation>
<!-- personID is required and must be unique for each patient instance.
This root contains the prefixe for HR4E; it will need to be appended
with a unique identifier for each patient.
-->
<personID root="2.16.840.1.113883.3.881.3774976330"/>
<personAddress>
<streetAddressLine nullFlavor="NI"/>
<!-- Let's use city to record present village -->
<city>Santa Cruz</city>
<state nullFlavor="NI"/>
<postalCode nullFlavor="NI"/>
</personAddress>
<personPhone nullFlavor="NI"/>
<personInformation>
<personName>
<given>Alex</given>
<family>Gainer</family>
</personName>
<!-- The code system is fixed for all HR4E patients. set the code to "M" or "F" -->
<gender codeSystem="2.16.840.1.113883.5.1" code="Male"/>
<!-- personDateofBirth is required. Use "NI" if it is not available. -->
<personDateOfBirth value="NI"/>
<!-- HR4E section to record additional age information. -->
<hr4e:ageInformation>
<hr4e:statedAge>00</hr4e:statedAge>
<hr4e:estimatedAge>00</hr4e:estimatedAge>
<hr4e:yearInSchool>1</hr4e:yearInSchool>
<hr4e:statusInSchool>Enrolled</hr4e:statusInSchool>
</hr4e:ageInformation>
</personInformation>
<!-- HR4E section to record living situation. -->
<hr4e:livingSituation>
<hr4e:homeVillage>Santa Cruz</hr4e:homeVillage>
<hr4e:tribe>HR4E</hr4e:tribe>
</hr4e:livingSituation>
</patientInformation>
</personalInformation>
<languagesSpoken>
<languageSpoken>
<languageCode code="sem-ET"/>
</languageSpoken>
<spokenLanguage code="sem-ET"/><spokenLanguage code="amh-ET"/><spokenLanguage code="eng-ET"/></languagesSpoken>
<supports>
<support>
<date nullFlavor="NI"/>
<contact>
<contactAddress>
<streetAddressLine nullFlavor="NI"/>
<city>Newton</city>
<state nullFlavor="NI"/>
<postalCode nullFlavor="NI"/>
</contactAddress>
<contactTelecom nullFlavor="NI"/>
<!-- Given the teacher name as the contact name. -->
<contactName>
<given>Johan</given>
<family>Gabre</family>
</contactName>
<comment>
<text>Enter comments here.</text>
</comment>
<!-- HR4E section to record school name. -->
<hr4e:schoolName>Medhane Alem</hr4e:schoolName>
</contact>
</support>
</supports>
<custodian>
<custodianID root="1.23.456.78910.11.2"/><custodianName>Project Mercy</custodianName></custodian>
<healthcareProviders>
<!-- This should be set to the start and end date of the clinic. -->
<careProvisionDateRange>
<low value="20111022"/>
<high value="20111031"/>
</careProvisionDateRange>
<!-- List of health care providers. -->
<healthcareProvider>
<role code="AUSC" codeSystem="2.16.840.1.113883.3.881.1134321">
<originalText>Me</originalText>
</role>
<!-- This date range could be specific for health care provider, if they
did not stay for whole clinic. By default, make it the same as the date range
for the clinic.
-->
<dateRange>
<low value="20111024"/>
<high value="20111104"/>
</dateRange>
<!-- providerEntity is required, it is the organization associated with
the health care provider (HR4E?). This should be the same for all document
instances for a clinic visit.
-->
<providerEntity>
<!-- providerID is required, and should be a unique identifier for the
organization. It is a UUID in greec_ccd, but I think we should base
it off of the HR4E oid.
-->
<providerID root="2.16.840.1.113883.3.881.1134321"/>
<providerName>
<prefix>Dr.</prefix>
<given>Phil</given>
<family>Strong</family>
</providerName>
<providerOrganizationName>Friends of Project Mercy</providerOrganizationName>
</providerEntity>
<comment>
<text>Enter comments here.</text>
</comment>
</healthcareProvider>
</healthcareProviders>
<!-- information source is required, I think. It represents the author
of the document. This will be the person whose role is scribe for the clinic
-->
<informationSource>
<author>
<authorTime value="20111021601047+0800"/>
<authorName>
<prefix>Dr.</prefix>
<given>Phil</given>
<family>Strong</family>
</authorName>
</author>
</informationSource>
<!-- We also want to capture information about the clinic site. This should be configured
for every mobile clinic trip.
-->
<hr4e:clinics>
<hr4e:clinicEntity>
<hr4e:clinicGPSCoordinates>gps1</hr4e:clinicGPSCoordinates>
<hr4e:clinicName>2011 Medhane Alem</hr4e:clinicName>
<hr4e:clinicDetails>Medhane Alem School</hr4e:clinicDetails>
</hr4e:clinicEntity>
</hr4e:clinics>
</header>
<!-- Body information. The sections below must be in this order to validate against greenCCD.xsd -->
<body>
<!-- Results are a list of the patient's lab results. It is optional for any patient. -->
<results>
<result><resultID root="a6eeaadb-e96a-4d9f-be08-0f4f60316fba"/><resultDateTime value="10/2011"/><resultType code="41144-7" displayName="Orasure" codeSystem="2.16.840.1.113883.5.83"/><resultStatus code="completed"/><resultValue><physicalQuantity unit="NI" value="Positive"/></resultValue><resultReferenceRange>M 13-18 g/dl; F 12-16 g/dl</resultReferenceRange><comment><text>Test Result</text></comment></result><result><resultID root="7137660c-64a2-4320-be6c-4c6352a3174a"/><resultDateTime value="10/2011"/><resultType code="718-7" displayName="Hemoglobin" codeSystem="2.16.840.1.113883.5.83"/><resultStatus code="completed"/><resultValue><physicalQuantity unit="NI" value="13"/></resultValue><resultReferenceRange>M 13-18 g/dl; F 12-16 g/dl</resultReferenceRange><comment><text>Test Result</text></comment></result><result><resultID root="115c0096-07d0-40ca-9bbf-339954f4dd2a"/><resultDateTime value="10/2011"/><resultType code="10701-1" displayName="Stool O&P Status" codeSystem="2.16.840.1.113883.5.83"/><resultStatus code="completed"/><resultValue><physicalQuantity unit="NI" value="Abnormal"/></resultValue><resultReferenceRange>M 13-18 g/dl; F 12-16 g/dl</resultReferenceRange><comment><text>Abnormal</text></comment></result></results>
<encounters>
<encounter>
<!-- We will need to generate a unique id for every encounter of every patient. It is a UUID. -->
<encounterID root="7b052681-3c48-45d4-b61f-db7ff8e4f2b0"/>
<encounterType codeSystem="2.16.840.1.113883.5.4" code="FLD">
<originalText>General Checkup</originalText>
</encounterType>
<encounterDateTime value="20111021601047+0800"/>
<reasonForVisit>
<text>Hello.</text>
<reason code="NI"/>
</reasonForVisit>
<hr4e:encounterNotes>asdf</hr4e:encounterNotes>
</encounter>
</encounters>
<!-- Medications are a list of the patient's medications. It is optional for a given patient. -->
<medications>
<medication>
<medicationInformation>
<codedProductName codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm" displayName="Ivermectin" code="311207"/>
<freeTextProductName>Ivermectin 3 MG Oral Tablet</freeTextProductName>
</medicationInformation>
</medication>
</medications>
<immunizations>
<immunization>
<administeredDate value="201104"/>
<medicationInformation>
<codedProductName codeSystem="2.16.840.1.113883.6.59" displayName="Measles" code="90705"/>
<freeTextProductName>Measles vaccine</freeTextProductName>
</medicationInformation>
<comment>
<text>Enter comments here.</text>
</comment>
</immunization>
<immunization><administeredDate value="1/2011"/><medicationInformation><codedProductName code="90712" displayName="BCG, OPV-O" codeSystem="2.16.840.1.113883.6.59"/><freeTextProductName>BCG, OPV-O</freeTextProductName></medicationInformation><comment><text>Immunization</text></comment></immunization><immunization><administeredDate value="1/2011"/><medicationInformation><codedProductName code="90731" displayName="DPT-2,OPV-2,HBV-2" codeSystem="2.16.840.1.113883.6.59"/><freeTextProductName>DPT-2,OPV-2,HBV-2</freeTextProductName></medicationInformation><comment><text>Immunization</text></comment></immunization></immunizations>
<vitalSigns>
<vitalSign>
<!-- A new UUID must be generated for each vital sign instance. -->
<resultID root="00000000-0000-0000-0000-000000000000"/>
<resultDateTime value="19991114"/>
<resultType codeSystem="2.16.840.1.113883.6.1" displayName="Temperature" code="18688-2"/>
<resultStatus code="completed"/>
<resultValue>
<physicalQuantity value="177" unit="cm"/>
</resultValue>
<resultInterpretation codeSystem="2.16.840.1.113883.5.83" code="N"/>
<!-- Result range will need be be configured on a per clinic basis for each lab. -->
<resultReferenceRange>M 13-18 g/dl; F 12-16 g/dl</resultReferenceRange>
<comment>
<text>Enter comments here.</text>
</comment>
</vitalSign>
<vitalSign><resultID root="0b98c905-e236-4ae0-8c43-f27668d86968"/><resultDateTime value="20111021601047+0800"/><resultType code="41909-3" displayName="BMI" codeSystem="2.16.840.1.113883.6.96"/><resultStatus code="completed"/><resultValue><physicalQuantity unit="NI" value="100.0"/></resultValue><comment><text>Intake Vitals</text></comment></vitalSign><vitalSign><resultID root="d54d0ebf-c5ed-4f3b-9b37-49645c97e36e"/><resultDateTime value="20111021601047+0800"/><resultType code="NI" displayName="Z-Score" codeSystem="2.16.840.1.113883.6.96"/><resultStatus code="completed"/><resultValue><physicalQuantity unit="NI" value="Age out of range"/></resultValue><comment><text>Intake Vitals</text></comment></vitalSign><vitalSign><resultID root="f650a660-ddbc-4b64-a570-a65f715ae525"/><resultDateTime value="20111021601047+0800"/><resultType code="46039-4" displayName="Body Height" codeSystem="2.16.840.1.113883.6.96"/><resultStatus code="completed"/><resultValue><physicalQuantity unit="cm" value="100.0"/></resultValue><comment><text>Intake Vitals</text></comment></vitalSign><vitalSign><resultID root="cfdd20ba-429d-467d-9f1e-dc7186e566ae"/><resultDateTime value="20111021601047+0800"/><resultType code="46039-4" displayName="Body Weight" codeSystem="2.16.840.1.113883.6.96"/><resultStatus code="completed"/><resultValue><physicalQuantity unit="kg" value="100.0"/></resultValue><comment><text>Intake Vitals</text></comment></vitalSign><vitalSign><resultID root="6f3d6efc-e341-4506-9deb-30e17b532cf8"/><resultDateTime value="20111021601047+0800"/><resultType code="11948-7" displayName="P" codeSystem="2.16.840.1.113883.6.96"/><resultStatus code="completed"/><resultValue><physicalQuantity unit="NI" value="20P"/></resultValue><comment><text>Intake Vitals</text></comment></vitalSign></vitalSigns>
<conditions>
<condition>
<problemDate>
<low value="2011"/>
</problemDate>
<problemName> Enter condition here</problemName>
<problemCode code="000" codeSystem="2.16.840.1.113883.6.103" displayName=""/>
<comment>
<text>Enter comments here.</text>
</comment>
</condition>
<condition><problemDate><low value="2011"/></problemDate><problemName>Fever</problemName><problemCode code="V70.6" displayName="Assessments" codeSystem="2.16.840.1.113883.6.103"/><comment><text>asdf</text></comment></condition><condition><problemDate><low value="2011"/></problemDate><problemName>asdf</problemName><problemCode code="V70.6" displayName="Assessments" codeSystem="2.16.840.1.113883.6.103"/><comment><text>asdf</text></comment></condition></conditions>
<planOfCare>
<plannedObservation>
<!-- We will need to generate a unique ID for each plan of care item. This is a UUID -->
<planId root="00000000-0000-0000-0000-000000000000"/>
<planType code="NI" codeSystem="NI" displayName="NI"/>
<planFreeText>Add description of follow up care here. </planFreeText>
</plannedObservation>
<plannedObservation><planID root="9e1f1830-5381-4346-b006-c1119fe5c0da"/><planType code="NI" displayName="Ivermectin 3 MG Oral Tablet" codeSystem="NI"/><planFreeText>asdf</planFreeText></plannedObservation></planOfCare>
</body>
</greenCCD>