forked from CDCgov/ex-ui-hl7-combiner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmmg-example.json
274 lines (274 loc) · 7.27 KB
/
mmg-example.json
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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
{
"file": {
"template": "Example_$DATE$",
"date-format": "YYYYMMddHHmmss"
},
"_id": "mmg-example",
"rows": [
{
"description": "Message Profile Identifier",
"jsonPath": "$..MSH-21..EI-3",
"label": "MSH-21"
},
{
"description": "Local Subject ID",
"jsonPath": "$..PID-3..CX-1",
"label": "PID-3"
},
{
"description": "Birth Date",
"jsonPath": "$..PID-7..TS-1",
"label": "PID-7"
},
{
"description": "Subject's Sex",
"jsonPath": "$..PID-8",
"label": "PID-8"
},
{
"description": "Race Category",
"jsonPath": "$..PID-10..CE-1",
"label": "PID-10"
},
{
"description": "Ethnic Group",
"jsonPath": "$..PID-22..CE-1",
"label": "PID-22"
},
{
"description": "Deceased Date",
"jsonPath": "$..PID-29..TS-1",
"label": "PID-29"
},
{
"description": "Local Record ID",
"jsonPath": "$..OBR-3..EI-1",
"label": "OBR-3"
},
{
"description": "Date First Electronically Submitted",
"jsonPath": "$..OBR-7..TS-1",
"label": "OBR-7"
},
{
"description": "Notification Result Status",
"jsonPath": "$..OBR-25",
"label": "OBR-25"
},
{
"description": "Condition Code",
"jsonPath": "$..OBR-31..CE-1",
"label": "OBR-31"
},
{
"description": "Illness Duration Units",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77977-7')].OBX-6.CE-1",
"label": "OBX-6 / 77977-7"
},
{
"description": "Age Unit at Case Investigation",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77998-3')].OBX-6.CE-1",
"label": "OBX-6 / 77998-3"
},
{
"description": "Other Race Text",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '32624-9')].OBX-5",
"label": "32624-9"
},
{
"description": "Country of Birth",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '78746-5')].OBX-5..*",
"label": "78746-5"
},
{
"description": "Other Birth Place",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '21842-0')].OBX-5",
"label": "21842-0"
},
{
"description": "Country of Usual Residence",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77983-5')].OBX-5..*",
"label": "77983-5"
},
{
"description": "Date of Illness Onset",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '11368-8')].OBX-5..TS-1",
"label": "11368-8"
},
{
"description": "Illness End Date",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77976-9')].OBX-5",
"label": "77976-9"
},
{
"description": "Illness Duration",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77977-7')].OBX-5",
"label": "77977-7"
},
{
"description": "Pregnancy Status",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77996-7')].OBX-5..*",
"label": "77996-7"
},
{
"description": "Diagnosis Date",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77975-1')].OBX-5..TS-1",
"label": "77975-1"
},
{
"description": "Hospitalized",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77974-4')].OBX-5..*",
"label": "77974-4"
},
{
"description": "Admission Date",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '8656-1')].OBX-5..TS-1",
"label": "8656-1"
},
{
"description": "Discharge Date",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '8649-6')].OBX-5..TS-1",
"label": "8649-6"
},
{
"description": "Duration of Hospital Stay in Days",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '78033-8')].OBX-5..SN-2",
"label": "78033-8"
},
{
"description": "Subject Died",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77978-5')].OBX-5..*",
"label": "77978-5"
},
{
"description": "Jurisdiction Case Identifier",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77993-4')].OBX-5",
"label": "77993-4"
},
{
"description": "Legacy Case Identifier",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77997-5')].OBX-5",
"label": "77997-5"
},
{
"description": "Age at Case Investigation",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77998-3')].OBX-5..SN-2",
"label": "77998-3"
},
{
"description": "Case Disease Imported Code",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77982-7')].OBX-5",
"label": "77982-7"
},
{
"description": "Imported Country",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == 'INV153')].OBX-5..*",
"label": "INV153"
},
{
"description": "Imported City",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == 'INV155')].OBX-5",
"label": "INV155"
},
{
"description": "Country of Exposure",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77984-3')].OBX-5",
"label": "77984-3"
},
{
"description": "State or Province of Exposure",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77985-0')].OBX-5",
"label": "77985-0"
},
{
"description": "City of Exposure",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77986-8')].OBX-5",
"label": "77986-8"
},
{
"description": "Transmission Mode",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77989-2')].OBX-5",
"label": "77989-2"
},
{
"description": "Case Class Status Code",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77990-0')].OBX-5..*",
"label": "77990-0"
},
{
"description": "Immediate National Notifiable Condition",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77965-2')].OBX-5",
"label": "77965-2"
},
{
"description": "Case Outbreak Indicator",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77980-1')].OBX-5..*",
"label": "77980-1"
},
{
"description": "Case Outbreak Name",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77981-9')].OBX-5",
"label": "77981-9"
},
{
"description": "Jurisdiction Code",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77969-4')].OBX-5",
"label": "77969-4"
},
{
"description": "Reporting Source Type Code",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '48766-0')].OBX-5",
"label": "48766-0"
},
{
"description": "Binational Reporting Criteria",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77988-4')].OBX-5..*",
"label": "77988-4"
},
{
"description": "Case Investigation Start Date",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77979-3')].OBX-5",
"label": "77979-3"
},
{
"description": "Date Reported",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77995-9')].OBX-5",
"label": "77995-9"
},
{
"description": "Comment",
"jsonPath": "$..OBX[?(@.OBX-3.CE-1 == '77999-1')].OBX-5",
"label": "77999-1"
},
{
"description": "Sending Application",
"jsonPath": "$..MSH-3..*",
"label": "MSH-3"
},
{
"description": "Sending Facility",
"jsonPath": "$..MSH-4..*",
"label": "MSH-4"
},
{
"description": "Receiving Application",
"jsonPath": "$..MSH-5..*",
"label": "MSH-5"
},
{
"description": "Receiving Facility",
"jsonPath": "$..MSH-6..*",
"label": "MSH-6"
},
{
"description": "Date/Time of Message",
"jsonPath": "$..MSH-7..*",
"label": "MSH-7"
},
{
"description": "Message Control ID",
"jsonPath": "$..MSH-10",
"label": "MSH-10"
}
]
}