FSHing Trip Comparison

Files changed (40) hide show
  1. ImplementationGuide-hl7.fhir.us.core.json → gofsh/ImplementationGuide-hl7.fhir.us.core.json +0 -3770
  2. StructureDefinition-head-occipital-frontal-circumference-percentile.json → gofsh/fsh-generated/resources/StructureDefinition-head-occipital-frontal-circumference-percentile.json +16 -37
  3. StructureDefinition-pediatric-bmi-for-age.json → gofsh/fsh-generated/resources/StructureDefinition-pediatric-bmi-for-age.json +16 -37
  4. StructureDefinition-pediatric-weight-for-height.json → gofsh/fsh-generated/resources/StructureDefinition-pediatric-weight-for-height.json +16 -39
  5. StructureDefinition-us-core-allergyintolerance.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-allergyintolerance.json +15 -15
  6. StructureDefinition-us-core-birthsex.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-birthsex.json +31 -12
  7. StructureDefinition-us-core-blood-pressure.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-blood-pressure.json +30 -78
  8. StructureDefinition-us-core-bmi.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-bmi.json +16 -37
  9. StructureDefinition-us-core-body-height.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-body-height.json +16 -37
  10. StructureDefinition-us-core-body-temperature.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-body-temperature.json +16 -37
  11. StructureDefinition-us-core-body-weight.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-body-weight.json +16 -37
  12. StructureDefinition-us-core-careplan.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-careplan.json +22 -48
  13. StructureDefinition-us-core-careteam.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-careteam.json +19 -73
  14. StructureDefinition-us-core-condition.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-condition.json +24 -40
  15. StructureDefinition-us-core-diagnosticreport-lab.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-diagnosticreport-lab.json +31 -99
  16. StructureDefinition-us-core-diagnosticreport-note.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-diagnosticreport-note.json +28 -107
  17. StructureDefinition-us-core-direct.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-direct.json +29 -10
  18. StructureDefinition-us-core-documentreference.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-documentreference.json +19 -85
  19. StructureDefinition-us-core-encounter.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-encounter.json +14 -172
  20. StructureDefinition-us-core-ethnicity.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-ethnicity.json +25 -47
  21. StructureDefinition-us-core-goal.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-goal.json +17 -26
  22. StructureDefinition-us-core-head-circumference.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-head-circumference.json +16 -37
  23. StructureDefinition-us-core-heart-rate.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-heart-rate.json +16 -37
  24. StructureDefinition-us-core-immunization.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-immunization.json +38 -50
  25. StructureDefinition-us-core-implantable-device.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-implantable-device.json +21 -34
  26. StructureDefinition-us-core-location.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-location.json +17 -63
  27. StructureDefinition-us-core-medication.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-medication.json +15 -5
  28. StructureDefinition-us-core-medicationrequest.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-medicationrequest.json +24 -124
  29. StructureDefinition-us-core-observation-lab.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-observation-lab.json +38 -61
  30. StructureDefinition-us-core-organization.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-organization.json +15 -104
  31. StructureDefinition-us-core-patient.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-patient.json +35 -87
  32. StructureDefinition-us-core-practitioner.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-practitioner.json +12 -39
  33. StructureDefinition-us-core-practitionerrole.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-practitionerrole.json +16 -54
  34. StructureDefinition-us-core-procedure.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-procedure.json +19 -24
  35. StructureDefinition-us-core-provenance.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-provenance.json +31 -111
  36. StructureDefinition-us-core-pulse-oximetry.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-pulse-oximetry.json +41 -68
  37. StructureDefinition-us-core-race.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-race.json +72 -46
  38. StructureDefinition-us-core-respiratory-rate.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-respiratory-rate.json +16 -37
  39. StructureDefinition-us-core-smokingstatus.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-smokingstatus.json +59 -31
  40. StructureDefinition-us-core-vital-signs.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-vital-signs.json +18 -119
ImplementationGuide-hl7.fhir.us.core.json → gofsh/ImplementationGuide-hl7.fhir.us.core.json RENAMED
@@ -1,3770 +0,0 @@
1
- {
2
- "resourceType": "ImplementationGuide",
3
- "id": "hl7.fhir.us.core",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
- "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core",
6
- "version": "3.2.0",
7
- "name": "USCore",
8
- "title": "US Core Implementation Guide",
9
- "status": "active",
10
- "date": "NOTE: Generated date is ignored by GoFSH, so this element is omitted for sake of comparison",
11
- "publisher": "HL7 International - US Realm Steering Committee",
12
- "contact": [
13
- {
14
- "name": "HL7 International - US Realm Steering Committee",
15
- "telecom": [
16
- {
17
- "system": "url",
18
- "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm"
19
- }
20
- ]
21
- }
22
- ],
23
- "description": "The US Core Implementation Guide is based on FHIR Version R4 and defines the minimum conformance requirements for accessing patient data. The Argonaut pilot implementations, ONC 2015 Edition Common Clinical Data Set (CCDS), and ONC U.S. Core Data for Interoperability (USCDI) v1 provided the requirements for this guide. The prior Argonaut search and vocabulary requirements, based on FHIR DSTU2, are updated in this guide to support FHIR Version R4. This guide was used as the basis for further testing and guidance by the Argonaut Project Team to provide additional content and guidance specific to Data Query Access for purpose of ONC Certification testing. These profiles are the foundation for future US Realm FHIR implementation guides. In addition to Argonaut, they are used by DAF-Research, QI-Core, and CIMI. Under the guidance of HL7 and the HL7 US Realm Steering Committee, the content will expand in future versions to meet the needs specific to the US Realm.\nThese requirements were originally developed, balloted, and published in FHIR DSTU2 as part of the Office of the National Coordinator for Health Information Technology (ONC) sponsored Data Access Framework (DAF) project. For more information on how DAF became US Core see the US Core change notes.",
24
- "jurisdiction": [
25
- {
26
- "coding": [
27
- {
28
- "system": "urn:iso:std:iso:3166",
29
- "code": "US"
30
- }
31
- ]
32
- }
33
- ],
34
- "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License",
35
- "packageId": "hl7.fhir.us.core",
36
- "license": "CC0-1.0",
37
- "fhirVersion": [
38
- "4.0.1"
39
- ],
40
- "dependsOn": [
41
- {
42
- "id": "vsac",
43
- "uri": "http://fhir.org/packages/us.nlm.vsac/ImplementationGuide/us.nlm.vsac",
44
- "packageId": "us.nlm.vsac",
45
- "version": "0.3.0"
46
- }
47
- ],
48
- "definition": {
49
- "extension": [
50
- {
51
- "extension": [
52
- {
53
- "url": "code",
54
- "valueString": "copyrightyear"
55
- },
56
- {
57
- "url": "value",
58
- "valueString": "2020+"
59
- }
60
- ],
61
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
62
- },
63
- {
64
- "extension": [
65
- {
66
- "url": "code",
67
- "valueString": "releaselabel"
68
- },
69
- {
70
- "url": "value",
71
- "valueString": "ballot"
72
- }
73
- ],
74
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
75
- },
76
- {
77
- "extension": [
78
- {
79
- "url": "code",
80
- "valueString": "path-expansion-params"
81
- },
82
- {
83
- "url": "value",
84
- "valueString": "../../input/_resources/exp-params.json"
85
- }
86
- ],
87
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
88
- },
89
- {
90
- "extension": [
91
- {
92
- "url": "code",
93
- "valueString": "active-tables"
94
- },
95
- {
96
- "url": "value",
97
- "valueString": "false"
98
- }
99
- ],
100
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
101
- },
102
- {
103
- "extension": [
104
- {
105
- "url": "code",
106
- "valueString": "apply-contact"
107
- },
108
- {
109
- "url": "value",
110
- "valueString": "true"
111
- }
112
- ],
113
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
114
- },
115
- {
116
- "extension": [
117
- {
118
- "url": "code",
119
- "valueString": "apply-jurisdiction"
120
- },
121
- {
122
- "url": "value",
123
- "valueString": "true"
124
- }
125
- ],
126
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
127
- },
128
- {
129
- "extension": [
130
- {
131
- "url": "code",
132
- "valueString": "apply-publisher"
133
- },
134
- {
135
- "url": "value",
136
- "valueString": "true"
137
- }
138
- ],
139
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
140
- },
141
- {
142
- "extension": [
143
- {
144
- "url": "code",
145
- "valueString": "apply-version"
146
- },
147
- {
148
- "url": "value",
149
- "valueString": "true"
150
- }
151
- ],
152
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
153
- },
154
- {
155
- "extension": [
156
- {
157
- "url": "code",
158
- "valueString": "show-inherited-invariants"
159
- },
160
- {
161
- "url": "value",
162
- "valueString": "false"
163
- }
164
- ],
165
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
166
- },
167
- {
168
- "extension": [
169
- {
170
- "url": "code",
171
- "valueString": "usage-stats-opt-out"
172
- },
173
- {
174
- "url": "value",
175
- "valueString": "true"
176
- }
177
- ],
178
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
179
- },
180
- {
181
- "extension": [
182
- {
183
- "url": "code",
184
- "valueString": "excludexml"
185
- },
186
- {
187
- "url": "value",
188
- "valueString": "false"
189
- }
190
- ],
191
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
192
- },
193
- {
194
- "extension": [
195
- {
196
- "url": "code",
197
- "valueString": "excludejsn"
198
- },
199
- {
200
- "url": "value",
201
- "valueString": "false"
202
- }
203
- ],
204
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
205
- },
206
- {
207
- "extension": [
208
- {
209
- "url": "code",
210
- "valueString": "excludettl"
211
- },
212
- {
213
- "url": "value",
214
- "valueString": "true"
215
- }
216
- ],
217
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
218
- },
219
- {
220
- "extension": [
221
- {
222
- "url": "code",
223
- "valueString": "excludemap"
224
- },
225
- {
226
- "url": "value",
227
- "valueString": "true"
228
- }
229
- ],
230
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
231
- },
232
- {
233
- "extension": [
234
- {
235
- "url": "code",
236
- "valueString": "excludeexample"
237
- },
238
- {
239
- "url": "value",
240
- "valueString": "true"
241
- }
242
- ],
243
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
244
- },
245
- {
246
- "extension": [
247
- {
248
- "url": "code",
249
- "valueString": "generate"
250
- },
251
- {
252
- "url": "value",
253
- "valueString": "xml"
254
- }
255
- ],
256
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
257
- },
258
- {
259
- "extension": [
260
- {
261
- "url": "code",
262
- "valueString": "generate"
263
- },
264
- {
265
- "url": "value",
266
- "valueString": "json"
267
- }
268
- ],
269
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
270
- },
271
- {
272
- "extension": [
273
- {
274
- "url": "code",
275
- "valueString": "path-history"
276
- },
277
- {
278
- "url": "value",
279
- "valueString": "http://hl7.org/fhir/us/core/history.html"
280
- }
281
- ],
282
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
283
- },
284
- {
285
- "extension": [
286
- {
287
- "url": "code",
288
- "valueString": "autoload-resources"
289
- },
290
- {
291
- "url": "value",
292
- "valueString": "true"
293
- }
294
- ],
295
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
296
- },
297
- {
298
- "extension": [
299
- {
300
- "url": "code",
301
- "valueString": "path-liquid"
302
- },
303
- {
304
- "url": "value",
305
- "valueString": "template/liquid"
306
- }
307
- ],
308
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
309
- },
310
- {
311
- "extension": [
312
- {
313
- "url": "code",
314
- "valueString": "path-liquid"
315
- },
316
- {
317
- "url": "value",
318
- "valueString": "input/liquid"
319
- }
320
- ],
321
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
322
- },
323
- {
324
- "extension": [
325
- {
326
- "url": "code",
327
- "valueString": "path-qa"
328
- },
329
- {
330
- "url": "value",
331
- "valueString": "temp/qa"
332
- }
333
- ],
334
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
335
- },
336
- {
337
- "extension": [
338
- {
339
- "url": "code",
340
- "valueString": "path-temp"
341
- },
342
- {
343
- "url": "value",
344
- "valueString": "temp/pages"
345
- }
346
- ],
347
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
348
- },
349
- {
350
- "extension": [
351
- {
352
- "url": "code",
353
- "valueString": "path-output"
354
- },
355
- {
356
- "url": "value",
357
- "valueString": "output"
358
- }
359
- ],
360
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
361
- },
362
- {
363
- "extension": [
364
- {
365
- "url": "code",
366
- "valueString": "path-suppressed-warnings"
367
- },
368
- {
369
- "url": "value",
370
- "valueString": "input/ignoreWarnings.txt"
371
- }
372
- ],
373
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
374
- },
375
- {
376
- "extension": [
377
- {
378
- "url": "code",
379
- "valueString": "template-html"
380
- },
381
- {
382
- "url": "value",
383
- "valueString": "template-page.html"
384
- }
385
- ],
386
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
387
- },
388
- {
389
- "extension": [
390
- {
391
- "url": "code",
392
- "valueString": "template-md"
393
- },
394
- {
395
- "url": "value",
396
- "valueString": "template-page-md.html"
397
- }
398
- ],
399
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
400
- },
401
- {
402
- "extension": [
403
- {
404
- "url": "code",
405
- "valueString": "apply-context"
406
- },
407
- {
408
- "url": "value",
409
- "valueString": "true"
410
- }
411
- ],
412
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
413
- },
414
- {
415
- "extension": [
416
- {
417
- "url": "code",
418
- "valueString": "apply-copyright"
419
- },
420
- {
421
- "url": "value",
422
- "valueString": "true"
423
- }
424
- ],
425
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
426
- },
427
- {
428
- "extension": [
429
- {
430
- "url": "code",
431
- "valueString": "apply-license"
432
- },
433
- {
434
- "url": "value",
435
- "valueString": "true"
436
- }
437
- ],
438
- "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter"
439
- }
440
- ],
441
- "resource": [
442
- {
443
- "extension": [
444
- {
445
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
446
- "valueString": "StructureDefinition:resource"
447
- }
448
- ],
449
- "reference": {
450
- "reference": "StructureDefinition/head-occipital-frontal-circumference-percentile"
451
- },
452
- "name": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile",
453
- "description": "Defines constraints on the Observation resource to represent head occipital-frontal circumference percentile for patients from birth to 36 months of age in FHIR using a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.",
454
- "exampleBoolean": false
455
- },
456
- {
457
- "extension": [
458
- {
459
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
460
- "valueString": "StructureDefinition:resource"
461
- }
462
- ],
463
- "reference": {
464
- "reference": "StructureDefinition/us-core-allergyintolerance"
465
- },
466
- "name": "US Core AllergyIntolerance Profile",
467
- "description": "Defines constraints and extensions on the AllergyIntolerance resource for the minimal set of data to query and retrieve allergy information.",
468
- "exampleBoolean": false
469
- },
470
- {
471
- "extension": [
472
- {
473
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
474
- "valueString": "StructureDefinition:extension"
475
- }
476
- ],
477
- "reference": {
478
- "reference": "StructureDefinition/us-core-birthsex"
479
- },
480
- "name": "US Core Birth Sex Extension",
481
- "description": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9).",
482
- "exampleBoolean": false
483
- },
484
- {
485
- "extension": [
486
- {
487
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
488
- "valueString": "StructureDefinition:resource"
489
- }
490
- ],
491
- "reference": {
492
- "reference": "StructureDefinition/us-core-blood-pressure"
493
- },
494
- "name": "US Core Blood Pressure Profile",
495
- "description": "Defines constraints on Observation to represent diastolic and systolic blood pressure observations with standard LOINC codes and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.",
496
- "exampleBoolean": false
497
- },
498
- {
499
- "extension": [
500
- {
501
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
502
- "valueString": "StructureDefinition:resource"
503
- }
504
- ],
505
- "reference": {
506
- "reference": "StructureDefinition/us-core-bmi"
507
- },
508
- "name": "US Core BMI Profile",
509
- "description": "Defines constraints on Observation to represent Body Mass Index (BMI) observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.",
510
- "exampleBoolean": false
511
- },
512
- {
513
- "extension": [
514
- {
515
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
516
- "valueString": "StructureDefinition:resource"
517
- }
518
- ],
519
- "reference": {
520
- "reference": "StructureDefinition/us-core-body-height"
521
- },
522
- "name": "US Core Body Height Profile",
523
- "description": "Defines constraints on Observation to represent body height observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.",
524
- "exampleBoolean": false
525
- },
526
- {
527
- "extension": [
528
- {
529
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
530
- "valueString": "StructureDefinition:resource"
531
- }
532
- ],
533
- "reference": {
534
- "reference": "StructureDefinition/us-core-body-temperature"
535
- },
536
- "name": "US Core Body Temperature Profile",
537
- "description": "Defines constraints on Observation to represent body temperature observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.",
538
- "exampleBoolean": false
539
- },
540
- {
541
- "extension": [
542
- {
543
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
544
- "valueString": "StructureDefinition:resource"
545
- }
546
- ],
547
- "reference": {
548
- "reference": "StructureDefinition/us-core-body-weight"
549
- },
550
- "name": "US Core Body Weight Profile",
551
- "description": "Defines constraints on Observation to represent body weight observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.",
552
- "exampleBoolean": false
553
- },
554
- {
555
- "extension": [
556
- {
557
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
558
- "valueString": "StructureDefinition:resource"
559
- }
560
- ],
561
- "reference": {
562
- "reference": "StructureDefinition/us-core-careplan"
563
- },
564
- "name": "US Core CarePlan Profile",
565
- "description": "Defines constraints and extensions on the CarePlan resource for the minimal set of data to query and retrieve a patient's Care Plan.",
566
- "exampleBoolean": false
567
- },
568
- {
569
- "extension": [
570
- {
571
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
572
- "valueString": "StructureDefinition:resource"
573
- }
574
- ],
575
- "reference": {
576
- "reference": "StructureDefinition/us-core-careteam"
577
- },
578
- "name": "US Core CareTeam Profile",
579
- "description": "Defines constraints and extensions on the CareTeam resource for the minimal set of data to query and retrieve a patient's Care Team.",
580
- "exampleBoolean": false
581
- },
582
- {
583
- "extension": [
584
- {
585
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
586
- "valueString": "StructureDefinition:resource"
587
- }
588
- ],
589
- "reference": {
590
- "reference": "StructureDefinition/us-core-condition"
591
- },
592
- "name": "US Core Condition Profile",
593
- "description": "Defines constraints and extensions on the Condition resource for the minimal set of data to query and retrieve problems and health concerns information.",
594
- "exampleBoolean": false
595
- },
596
- {
597
- "extension": [
598
- {
599
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
600
- "valueString": "StructureDefinition:resource"
601
- }
602
- ],
603
- "reference": {
604
- "reference": "StructureDefinition/us-core-diagnosticreport-lab"
605
- },
606
- "name": "US Core DiagnosticReport Profile for Laboratory Results Reporting",
607
- "description": "Defines constraints and extensions on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with laboratory results for a patient",
608
- "exampleBoolean": false
609
- },
610
- {
611
- "extension": [
612
- {
613
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
614
- "valueString": "StructureDefinition:resource"
615
- }
616
- ],
617
- "reference": {
618
- "reference": "StructureDefinition/us-core-diagnosticreport-note"
619
- },
620
- "name": "US Core DiagnosticReport Profile for Report and Note exchange",
621
- "description": "Defines constraints and extensions on the DiagnosticReport resource for the minimal set of data to query and retrieve diagnostic reports associated with clinical notes for a patient",
622
- "exampleBoolean": false
623
- },
624
- {
625
- "extension": [
626
- {
627
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
628
- "valueString": "StructureDefinition:extension"
629
- }
630
- ],
631
- "reference": {
632
- "reference": "StructureDefinition/us-core-direct"
633
- },
634
- "name": "US Core Direct email Extension",
635
- "description": "This email address is associated with a [direct](http://wiki.directproject.org/Addressing+Specification) service. This extension can only be used on contact points where the system = 'email'",
636
- "exampleBoolean": false
637
- },
638
- {
639
- "extension": [
640
- {
641
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
642
- "valueString": "StructureDefinition:resource"
643
- }
644
- ],
645
- "reference": {
646
- "reference": "StructureDefinition/us-core-documentreference"
647
- },
648
- "name": "US Core DocumentReference Profile",
649
- "description": "The document reference profile used in US Core.",
650
- "exampleBoolean": false
651
- },
652
- {
653
- "extension": [
654
- {
655
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
656
- "valueString": "StructureDefinition:resource"
657
- }
658
- ],
659
- "reference": {
660
- "reference": "StructureDefinition/us-core-encounter"
661
- },
662
- "name": "US Core Encounter Profile",
663
- "description": "The Encounter referenced in the US Core profiles.",
664
- "exampleBoolean": false
665
- },
666
- {
667
- "extension": [
668
- {
669
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
670
- "valueString": "StructureDefinition:extension"
671
- }
672
- ],
673
- "reference": {
674
- "reference": "StructureDefinition/us-core-ethnicity"
675
- },
676
- "name": "US Core Ethnicity Extension",
677
- "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.",
678
- "exampleBoolean": false
679
- },
680
- {
681
- "extension": [
682
- {
683
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
684
- "valueString": "StructureDefinition:resource"
685
- }
686
- ],
687
- "reference": {
688
- "reference": "StructureDefinition/us-core-goal"
689
- },
690
- "name": "US Core Goal Profile",
691
- "description": "Defines constraints and extensions on the Goal resource for the minimal set of data to query and retrieve a patient's goal(s).",
692
- "exampleBoolean": false
693
- },
694
- {
695
- "extension": [
696
- {
697
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
698
- "valueString": "StructureDefinition:resource"
699
- }
700
- ],
701
- "reference": {
702
- "reference": "StructureDefinition/us-core-head-circumference"
703
- },
704
- "name": "US Core Head Circumference Profile",
705
- "description": "Defines constraints on Observation to represent head circumference observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.",
706
- "exampleBoolean": false
707
- },
708
- {
709
- "extension": [
710
- {
711
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
712
- "valueString": "StructureDefinition:resource"
713
- }
714
- ],
715
- "reference": {
716
- "reference": "StructureDefinition/us-core-heart-rate"
717
- },
718
- "name": "US Core Heart Rate Profile",
719
- "description": "Defines constraints on Observation to represent heart rate observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.",
720
- "exampleBoolean": false
721
- },
722
- {
723
- "extension": [
724
- {
725
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
726
- "valueString": "StructureDefinition:resource"
727
- }
728
- ],
729
- "reference": {
730
- "reference": "StructureDefinition/us-core-immunization"
731
- },
732
- "name": "US Core Immunization Profile",
733
- "description": "Defines constraints and extensions on the Immunization resource for the minimal set of data to query and retrieve patient's immunization information.",
734
- "exampleBoolean": false
735
- },
736
- {
737
- "extension": [
738
- {
739
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
740
- "valueString": "StructureDefinition:resource"
741
- }
742
- ],
743
- "reference": {
744
- "reference": "StructureDefinition/us-core-implantable-device"
745
- },
746
- "name": "US Core Implantable Device Profile",
747
- "description": "Defines constraints and extensions on the Device resource for the minimal set of data to query and retrieve a patient's implantable device(s).",
748
- "exampleBoolean": false
749
- },
750
- {
751
- "extension": [
752
- {
753
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
754
- "valueString": "StructureDefinition:resource"
755
- }
756
- ],
757
- "reference": {
758
- "reference": "StructureDefinition/us-core-location"
759
- },
760
- "name": "US Core Location Profile",
761
- "description": "Defines basic constraints and extensions on the Location resource for use with other US Core resources",
762
- "exampleBoolean": false
763
- },
764
- {
765
- "extension": [
766
- {
767
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
768
- "valueString": "StructureDefinition:resource"
769
- }
770
- ],
771
- "reference": {
772
- "reference": "StructureDefinition/us-core-medication"
773
- },
774
- "name": "US Core Medication Profile",
775
- "description": "Defines constraints and extensions on the Medication resource for the minimal set of data to query and retrieve patient retrieving patient's medication information.",
776
- "exampleBoolean": false
777
- },
778
- {
779
- "extension": [
780
- {
781
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
782
- "valueString": "StructureDefinition:resource"
783
- }
784
- ],
785
- "reference": {
786
- "reference": "StructureDefinition/us-core-medicationrequest"
787
- },
788
- "name": "US Core MedicationRequest Profile",
789
- "description": "Defines constraints and extensions on the MedicationRequest resource for the minimal set of data to query and retrieve prescription information.",
790
- "exampleBoolean": false
791
- },
792
- {
793
- "extension": [
794
- {
795
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
796
- "valueString": "StructureDefinition:resource"
797
- }
798
- ],
799
- "reference": {
800
- "reference": "StructureDefinition/us-core-observation-lab"
801
- },
802
- "name": "US Core Laboratory Result Observation Profile",
803
- "description": "Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve laboratory test results",
804
- "exampleBoolean": false
805
- },
806
- {
807
- "extension": [
808
- {
809
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
810
- "valueString": "StructureDefinition:resource"
811
- }
812
- ],
813
- "reference": {
814
- "reference": "StructureDefinition/us-core-organization"
815
- },
816
- "name": "US Core Organization Profile",
817
- "description": "Defines basic constraints and extensions on the Organization resource for use with other US Core resources",
818
- "exampleBoolean": false
819
- },
820
- {
821
- "extension": [
822
- {
823
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
824
- "valueString": "StructureDefinition:resource"
825
- }
826
- ],
827
- "reference": {
828
- "reference": "StructureDefinition/pediatric-bmi-for-age"
829
- },
830
- "name": "US Core Pediatric BMI for Age Observation Profile",
831
- "description": "Defines constraints on Observation to represent to represent BMI percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.",
832
- "exampleBoolean": false
833
- },
834
- {
835
- "extension": [
836
- {
837
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
838
- "valueString": "StructureDefinition:resource"
839
- }
840
- ],
841
- "reference": {
842
- "reference": "StructureDefinition/pediatric-weight-for-height"
843
- },
844
- "name": "US Core Pediatric Weight for Height Observation Profile",
845
- "description": "Defines constraints on the Observation resource to represent pediatric Weight-for-length per age and gender observations in FHIR with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.",
846
- "exampleBoolean": false
847
- },
848
- {
849
- "extension": [
850
- {
851
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
852
- "valueString": "StructureDefinition:resource"
853
- }
854
- ],
855
- "reference": {
856
- "reference": "StructureDefinition/us-core-practitioner"
857
- },
858
- "name": "US Core Practitioner Profile",
859
- "description": "The practitioner(s) referenced in US Core profiles.",
860
- "exampleBoolean": false
861
- },
862
- {
863
- "extension": [
864
- {
865
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
866
- "valueString": "StructureDefinition:resource"
867
- }
868
- ],
869
- "reference": {
870
- "reference": "StructureDefinition/us-core-practitionerrole"
871
- },
872
- "name": "US Core PractitionerRole Profile",
873
- "description": "The practitioner roles referenced in the US Core profiles.",
874
- "exampleBoolean": false
875
- },
876
- {
877
- "extension": [
878
- {
879
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
880
- "valueString": "StructureDefinition:resource"
881
- }
882
- ],
883
- "reference": {
884
- "reference": "StructureDefinition/us-core-procedure"
885
- },
886
- "name": "US Core Procedure Profile",
887
- "description": "Defines constraints and extensions on the Procedure resource for the minimal set of data to query and retrieve patient's procedure information.",
888
- "exampleBoolean": false
889
- },
890
- {
891
- "extension": [
892
- {
893
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
894
- "valueString": "StructureDefinition:resource"
895
- }
896
- ],
897
- "reference": {
898
- "reference": "StructureDefinition/us-core-provenance"
899
- },
900
- "name": "US Core Provenance Profile",
901
- "description": "Draft set of requirements to satisfy Basic Provenance Requirements.",
902
- "exampleBoolean": false
903
- },
904
- {
905
- "extension": [
906
- {
907
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
908
- "valueString": "StructureDefinition:resource"
909
- }
910
- ],
911
- "reference": {
912
- "reference": "StructureDefinition/us-core-pulse-oximetry"
913
- },
914
- "name": "US Core Pulse Oximetry Profile",
915
- "description": "Defines constraints on the Observation resource to represent inspired O2 by pulse oximetry and inspired oxygen concentration observations with a standard LOINC codes and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.",
916
- "exampleBoolean": false
917
- },
918
- {
919
- "extension": [
920
- {
921
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
922
- "valueString": "StructureDefinition:extension"
923
- }
924
- ],
925
- "reference": {
926
- "reference": "StructureDefinition/us-core-race"
927
- },
928
- "name": "US Core Race Extension",
929
- "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.",
930
- "exampleBoolean": false
931
- },
932
- {
933
- "extension": [
934
- {
935
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
936
- "valueString": "StructureDefinition:resource"
937
- }
938
- ],
939
- "reference": {
940
- "reference": "StructureDefinition/us-core-respiratory-rate"
941
- },
942
- "name": "US Core Respiratory Rate Profile",
943
- "description": "Defines constraints on Observation to represent respiratory rate observations with a standard LOINC code and UCUM units of measure. This profile is derived from the US Core Vital Signs Profile.",
944
- "exampleBoolean": false
945
- },
946
- {
947
- "extension": [
948
- {
949
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
950
- "valueString": "StructureDefinition:resource"
951
- }
952
- ],
953
- "reference": {
954
- "reference": "StructureDefinition/us-core-smokingstatus"
955
- },
956
- "name": "US Core Smoking Status Observation Profile",
957
- "description": "Defines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve patient's Smoking Status information.",
958
- "exampleBoolean": false
959
- },
960
- {
961
- "extension": [
962
- {
963
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
964
- "valueString": "StructureDefinition:resource"
965
- }
966
- ],
967
- "reference": {
968
- "reference": "StructureDefinition/us-core-vital-signs"
969
- },
970
- "name": "US Core Vital Signs Profile",
971
- "description": "Defines constraints on the Observation resource to represent vital signs observations. This profile is used as the base definition for the other US Core Vital Signs Profiles and based on the FHIR VitalSigns Profile.",
972
- "exampleBoolean": false
973
- },
974
- {
975
- "extension": [
976
- {
977
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
978
- "valueString": "CapabilityStatement"
979
- }
980
- ],
981
- "reference": {
982
- "reference": "CapabilityStatement/us-core-client"
983
- },
984
- "name": "US Core Client CapabilityStatement",
985
- "description": "This Section describes the expected capabilities of the US Core Client which is responsible for creating and initiating the queries for information about an individual patient. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined in the [Conformance Requirements for Server](CapabilityStatement-us-core-server.html). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.",
986
- "exampleBoolean": false
987
- },
988
- {
989
- "extension": [
990
- {
991
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
992
- "valueString": "CapabilityStatement"
993
- }
994
- ],
995
- "reference": {
996
- "reference": "CapabilityStatement/us-core-server"
997
- },
998
- "name": "US Core Server CapabilityStatement",
999
- "description": "This Section describes the expected capabilities of the US Core Server actor which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and and the ONC [U.S. Core Data for Interoperability (USCDI)](https://www.healthit.gov/isa/sites/isa/files/2020-03/USCDI-Version1-2020-Final-Standard.pdf). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.",
1000
- "exampleBoolean": false
1001
- },
1002
- {
1003
- "extension": [
1004
- {
1005
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1006
- "valueString": "CodeSystem"
1007
- }
1008
- ],
1009
- "reference": {
1010
- "reference": "CodeSystem/careplan-category"
1011
- },
1012
- "name": "US Core CarePlan Category Extension Codes",
1013
- "description": "Set of codes that are needed for implementation of the US-Core CarePlan Profile. These codes are used as extensions to the FHIR ValueSet.",
1014
- "exampleBoolean": false
1015
- },
1016
- {
1017
- "extension": [
1018
- {
1019
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1020
- "valueString": "CodeSystem"
1021
- }
1022
- ],
1023
- "reference": {
1024
- "reference": "CodeSystem/condition-category"
1025
- },
1026
- "name": "US Core Condition Category Extension Codes",
1027
- "description": "Set of codes that are needed for implementation of the US-Core Condition Profile. These codes are used as extensions to the FHIR and US Core value sets.",
1028
- "exampleBoolean": false
1029
- },
1030
- {
1031
- "extension": [
1032
- {
1033
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1034
- "valueString": "CodeSystem"
1035
- }
1036
- ],
1037
- "reference": {
1038
- "reference": "CodeSystem/us-core-documentreference-category"
1039
- },
1040
- "name": "US Core DocumentReferences Category Codes",
1041
- "description": "The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.",
1042
- "exampleBoolean": false
1043
- },
1044
- {
1045
- "extension": [
1046
- {
1047
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1048
- "valueString": "CodeSystem"
1049
- }
1050
- ],
1051
- "reference": {
1052
- "reference": "CodeSystem/us-core-provenance-participant-type"
1053
- },
1054
- "name": "US Core Provenance Participant Type Extension Codes",
1055
- "description": "Set of codes that are needed for implementation of the US-Core Provenance Profile. These codes are used as extensions to the FHIR value sets.",
1056
- "exampleBoolean": false
1057
- },
1058
- {
1059
- "extension": [
1060
- {
1061
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1062
- "valueString": "OperationDefinition"
1063
- }
1064
- ],
1065
- "reference": {
1066
- "reference": "OperationDefinition/docref"
1067
- },
1068
- "name": "US Core Fetch DocumentReferences",
1069
- "description": "This operation is used to return all the references to documents related to a patient.\r\n\n\n\r\nThe operation takes the optional input parameters:\r\n\n\r\n - patient id\n\r\n - start date\n\r\n - end date\n\r\n - document type\r\n\n\n\r\nand returns a [Bundle](http://hl7.org/fhir/bundle.html) of type \"searchset\" containing [US Core DocumentReference Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference) for the patient. If the server has or can create documents that are related to the patient, and that are available for the given user, the server returns the DocumentReference profiles needed to support the records. The principle intended use for this operation is to provide a provider or patient with access to their available document information.\r\n\n\n\r\nThis operation is *different* from a search by patient and type and date range because:\r\n\n\n\r\n1. It is used to request a server *generate* a document based on the specified parameters.\r\n\n\n\r\n1. If no parameters are specified, the server SHALL return a DocumentReference to the patient's most current CCD\r\n\n\n\r\n1. If the server cannot *generate* a document based on the specified parameters, the operation will return an empty search bundle.\r\n\n\n\r\nThis operation is the *same* as a FHIR RESTful search by patient,type and date range because:\r\n\n\n\r\n1. References for *existing* documents that meet the requirements of the request SHOULD also be returned unless the client indicates they are only interested in 'on-demand' documents using the *on-demand* parameter.",
1070
- "exampleBoolean": false
1071
- },
1072
- {
1073
- "extension": [
1074
- {
1075
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1076
- "valueString": "SearchParameter"
1077
- }
1078
- ],
1079
- "reference": {
1080
- "reference": "SearchParameter/us-core-allergyintolerance-clinical-status"
1081
- },
1082
- "name": "USCoreAllergyintoleranceClinicalStatus",
1083
- "description": "**active | inactive | resolved** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1084
- "exampleBoolean": false
1085
- },
1086
- {
1087
- "extension": [
1088
- {
1089
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1090
- "valueString": "SearchParameter"
1091
- }
1092
- ],
1093
- "reference": {
1094
- "reference": "SearchParameter/us-core-allergyintolerance-patient"
1095
- },
1096
- "name": "USCoreAllergyintolerancePatient",
1097
- "description": "**Who the sensitivity is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1098
- "exampleBoolean": false
1099
- },
1100
- {
1101
- "extension": [
1102
- {
1103
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1104
- "valueString": "SearchParameter"
1105
- }
1106
- ],
1107
- "reference": {
1108
- "reference": "SearchParameter/us-core-careplan-category"
1109
- },
1110
- "name": "USCoreCareplanCategory",
1111
- "description": "**Type of plan** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1112
- "exampleBoolean": false
1113
- },
1114
- {
1115
- "extension": [
1116
- {
1117
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1118
- "valueString": "SearchParameter"
1119
- }
1120
- ],
1121
- "reference": {
1122
- "reference": "SearchParameter/us-core-careplan-date"
1123
- },
1124
- "name": "USCoreCareplanDate",
1125
- "description": "**Time period plan covers** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1126
- "exampleBoolean": false
1127
- },
1128
- {
1129
- "extension": [
1130
- {
1131
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1132
- "valueString": "SearchParameter"
1133
- }
1134
- ],
1135
- "reference": {
1136
- "reference": "SearchParameter/us-core-careplan-patient"
1137
- },
1138
- "name": "USCoreCareplanPatient",
1139
- "description": "**Who the care plan is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1140
- "exampleBoolean": false
1141
- },
1142
- {
1143
- "extension": [
1144
- {
1145
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1146
- "valueString": "SearchParameter"
1147
- }
1148
- ],
1149
- "reference": {
1150
- "reference": "SearchParameter/us-core-careplan-status"
1151
- },
1152
- "name": "USCoreCareplanStatus",
1153
- "description": "**draft | active | on-hold | revoked | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1154
- "exampleBoolean": false
1155
- },
1156
- {
1157
- "extension": [
1158
- {
1159
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1160
- "valueString": "SearchParameter"
1161
- }
1162
- ],
1163
- "reference": {
1164
- "reference": "SearchParameter/us-core-careteam-patient"
1165
- },
1166
- "name": "USCoreCareteamPatient",
1167
- "description": "**Who care team is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1168
- "exampleBoolean": false
1169
- },
1170
- {
1171
- "extension": [
1172
- {
1173
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1174
- "valueString": "SearchParameter"
1175
- }
1176
- ],
1177
- "reference": {
1178
- "reference": "SearchParameter/us-core-careteam-status"
1179
- },
1180
- "name": "USCoreCareteamStatus",
1181
- "description": "**proposed | active | suspended | inactive | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1182
- "exampleBoolean": false
1183
- },
1184
- {
1185
- "extension": [
1186
- {
1187
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1188
- "valueString": "SearchParameter"
1189
- }
1190
- ],
1191
- "reference": {
1192
- "reference": "SearchParameter/us-core-condition-category"
1193
- },
1194
- "name": "USCoreConditionCategory",
1195
- "description": "**The category of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1196
- "exampleBoolean": false
1197
- },
1198
- {
1199
- "extension": [
1200
- {
1201
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1202
- "valueString": "SearchParameter"
1203
- }
1204
- ],
1205
- "reference": {
1206
- "reference": "SearchParameter/us-core-condition-clinical-status"
1207
- },
1208
- "name": "USCoreConditionClinicalStatus",
1209
- "description": "**The clinical status of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1210
- "exampleBoolean": false
1211
- },
1212
- {
1213
- "extension": [
1214
- {
1215
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1216
- "valueString": "SearchParameter"
1217
- }
1218
- ],
1219
- "reference": {
1220
- "reference": "SearchParameter/us-core-condition-code"
1221
- },
1222
- "name": "USCoreConditionCode",
1223
- "description": "**Code for the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1224
- "exampleBoolean": false
1225
- },
1226
- {
1227
- "extension": [
1228
- {
1229
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1230
- "valueString": "SearchParameter"
1231
- }
1232
- ],
1233
- "reference": {
1234
- "reference": "SearchParameter/us-core-condition-onset-date"
1235
- },
1236
- "name": "USCoreConditionOnsetDate",
1237
- "description": "**Date related onsets (dateTime and Period)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1238
- "exampleBoolean": false
1239
- },
1240
- {
1241
- "extension": [
1242
- {
1243
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1244
- "valueString": "SearchParameter"
1245
- }
1246
- ],
1247
- "reference": {
1248
- "reference": "SearchParameter/us-core-condition-patient"
1249
- },
1250
- "name": "USCoreConditionPatient",
1251
- "description": "**Who has the condition?** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1252
- "exampleBoolean": false
1253
- },
1254
- {
1255
- "extension": [
1256
- {
1257
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1258
- "valueString": "SearchParameter"
1259
- }
1260
- ],
1261
- "reference": {
1262
- "reference": "SearchParameter/us-core-device-patient"
1263
- },
1264
- "name": "USCoreDevicePatient",
1265
- "description": "**Patient information, if the resource is affixed to a person** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1266
- "exampleBoolean": false
1267
- },
1268
- {
1269
- "extension": [
1270
- {
1271
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1272
- "valueString": "SearchParameter"
1273
- }
1274
- ],
1275
- "reference": {
1276
- "reference": "SearchParameter/us-core-device-type"
1277
- },
1278
- "name": "USCoreDeviceType",
1279
- "description": "**The type of the device** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1280
- "exampleBoolean": false
1281
- },
1282
- {
1283
- "extension": [
1284
- {
1285
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1286
- "valueString": "SearchParameter"
1287
- }
1288
- ],
1289
- "reference": {
1290
- "reference": "SearchParameter/us-core-diagnosticreport-category"
1291
- },
1292
- "name": "USCoreDiagnosticreportCategory",
1293
- "description": "**Which diagnostic discipline/department created the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1294
- "exampleBoolean": false
1295
- },
1296
- {
1297
- "extension": [
1298
- {
1299
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1300
- "valueString": "SearchParameter"
1301
- }
1302
- ],
1303
- "reference": {
1304
- "reference": "SearchParameter/us-core-diagnosticreport-code"
1305
- },
1306
- "name": "USCoreDiagnosticreportCode",
1307
- "description": "**The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1308
- "exampleBoolean": false
1309
- },
1310
- {
1311
- "extension": [
1312
- {
1313
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1314
- "valueString": "SearchParameter"
1315
- }
1316
- ],
1317
- "reference": {
1318
- "reference": "SearchParameter/us-core-diagnosticreport-date"
1319
- },
1320
- "name": "USCoreDiagnosticreportDate",
1321
- "description": "**The clinically relevant time of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1322
- "exampleBoolean": false
1323
- },
1324
- {
1325
- "extension": [
1326
- {
1327
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1328
- "valueString": "SearchParameter"
1329
- }
1330
- ],
1331
- "reference": {
1332
- "reference": "SearchParameter/us-core-diagnosticreport-patient"
1333
- },
1334
- "name": "USCoreDiagnosticreportPatient",
1335
- "description": "**The subject of the report if a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1336
- "exampleBoolean": false
1337
- },
1338
- {
1339
- "extension": [
1340
- {
1341
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1342
- "valueString": "SearchParameter"
1343
- }
1344
- ],
1345
- "reference": {
1346
- "reference": "SearchParameter/us-core-diagnosticreport-status"
1347
- },
1348
- "name": "USCoreDiagnosticreportStatus",
1349
- "description": "**The status of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1350
- "exampleBoolean": false
1351
- },
1352
- {
1353
- "extension": [
1354
- {
1355
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1356
- "valueString": "SearchParameter"
1357
- }
1358
- ],
1359
- "reference": {
1360
- "reference": "SearchParameter/us-core-documentreference-category"
1361
- },
1362
- "name": "USCoreDocumentreferenceCategory",
1363
- "description": "**Categorization of document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1364
- "exampleBoolean": false
1365
- },
1366
- {
1367
- "extension": [
1368
- {
1369
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1370
- "valueString": "SearchParameter"
1371
- }
1372
- ],
1373
- "reference": {
1374
- "reference": "SearchParameter/us-core-documentreference-date"
1375
- },
1376
- "name": "USCoreDocumentreferenceDate",
1377
- "description": "**When this document reference was created** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1378
- "exampleBoolean": false
1379
- },
1380
- {
1381
- "extension": [
1382
- {
1383
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1384
- "valueString": "SearchParameter"
1385
- }
1386
- ],
1387
- "reference": {
1388
- "reference": "SearchParameter/us-core-documentreference-id"
1389
- },
1390
- "name": "USCoreDocumentreferenceId",
1391
- "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1392
- "exampleBoolean": false
1393
- },
1394
- {
1395
- "extension": [
1396
- {
1397
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1398
- "valueString": "SearchParameter"
1399
- }
1400
- ],
1401
- "reference": {
1402
- "reference": "SearchParameter/us-core-documentreference-patient"
1403
- },
1404
- "name": "USCoreDocumentreferencePatient",
1405
- "description": "**Who/what is the subject of the document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1406
- "exampleBoolean": false
1407
- },
1408
- {
1409
- "extension": [
1410
- {
1411
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1412
- "valueString": "SearchParameter"
1413
- }
1414
- ],
1415
- "reference": {
1416
- "reference": "SearchParameter/us-core-documentreference-period"
1417
- },
1418
- "name": "USCoreDocumentreferencePeriod",
1419
- "description": "**Time of service that is being documented** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1420
- "exampleBoolean": false
1421
- },
1422
- {
1423
- "extension": [
1424
- {
1425
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1426
- "valueString": "SearchParameter"
1427
- }
1428
- ],
1429
- "reference": {
1430
- "reference": "SearchParameter/us-core-documentreference-status"
1431
- },
1432
- "name": "USCoreDocumentreferenceStatus",
1433
- "description": "**current | superseded | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1434
- "exampleBoolean": false
1435
- },
1436
- {
1437
- "extension": [
1438
- {
1439
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1440
- "valueString": "SearchParameter"
1441
- }
1442
- ],
1443
- "reference": {
1444
- "reference": "SearchParameter/us-core-documentreference-type"
1445
- },
1446
- "name": "USCoreDocumentreferenceType",
1447
- "description": "**Kind of document (LOINC if possible)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1448
- "exampleBoolean": false
1449
- },
1450
- {
1451
- "extension": [
1452
- {
1453
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1454
- "valueString": "SearchParameter"
1455
- }
1456
- ],
1457
- "reference": {
1458
- "reference": "SearchParameter/us-core-encounter-class"
1459
- },
1460
- "name": "USCoreEncounterClass",
1461
- "description": "**Classification of patient encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1462
- "exampleBoolean": false
1463
- },
1464
- {
1465
- "extension": [
1466
- {
1467
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1468
- "valueString": "SearchParameter"
1469
- }
1470
- ],
1471
- "reference": {
1472
- "reference": "SearchParameter/us-core-encounter-date"
1473
- },
1474
- "name": "USCoreEncounterDate",
1475
- "description": "**A date within the period the Encounter lasted** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1476
- "exampleBoolean": false
1477
- },
1478
- {
1479
- "extension": [
1480
- {
1481
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1482
- "valueString": "SearchParameter"
1483
- }
1484
- ],
1485
- "reference": {
1486
- "reference": "SearchParameter/us-core-encounter-id"
1487
- },
1488
- "name": "USCoreEncounterId",
1489
- "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1490
- "exampleBoolean": false
1491
- },
1492
- {
1493
- "extension": [
1494
- {
1495
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1496
- "valueString": "SearchParameter"
1497
- }
1498
- ],
1499
- "reference": {
1500
- "reference": "SearchParameter/us-core-encounter-identifier"
1501
- },
1502
- "name": "USCoreEncounterIdentifier",
1503
- "description": "**Identifier(s) by which this encounter is known** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1504
- "exampleBoolean": false
1505
- },
1506
- {
1507
- "extension": [
1508
- {
1509
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1510
- "valueString": "SearchParameter"
1511
- }
1512
- ],
1513
- "reference": {
1514
- "reference": "SearchParameter/us-core-encounter-patient"
1515
- },
1516
- "name": "USCoreEncounterPatient",
1517
- "description": "**The patient or group present at the encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1518
- "exampleBoolean": false
1519
- },
1520
- {
1521
- "extension": [
1522
- {
1523
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1524
- "valueString": "SearchParameter"
1525
- }
1526
- ],
1527
- "reference": {
1528
- "reference": "SearchParameter/us-core-encounter-status"
1529
- },
1530
- "name": "USCoreEncounterStatus",
1531
- "description": "**planned | arrived | triaged | in-progress | onleave | finished | cancelled +** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1532
- "exampleBoolean": false
1533
- },
1534
- {
1535
- "extension": [
1536
- {
1537
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1538
- "valueString": "SearchParameter"
1539
- }
1540
- ],
1541
- "reference": {
1542
- "reference": "SearchParameter/us-core-encounter-type"
1543
- },
1544
- "name": "USCoreEncounterType",
1545
- "description": "**Specific type of encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1546
- "exampleBoolean": false
1547
- },
1548
- {
1549
- "extension": [
1550
- {
1551
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1552
- "valueString": "SearchParameter"
1553
- }
1554
- ],
1555
- "reference": {
1556
- "reference": "SearchParameter/us-core-ethnicity"
1557
- },
1558
- "name": "USCoreEthnicity",
1559
- "description": "Returns patients with an ethnicity extension matching the specified code.",
1560
- "exampleBoolean": false
1561
- },
1562
- {
1563
- "extension": [
1564
- {
1565
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1566
- "valueString": "SearchParameter"
1567
- }
1568
- ],
1569
- "reference": {
1570
- "reference": "SearchParameter/us-core-goal-lifecycle-status"
1571
- },
1572
- "name": "USCoreGoalLifecycleStatus",
1573
- "description": "**proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1574
- "exampleBoolean": false
1575
- },
1576
- {
1577
- "extension": [
1578
- {
1579
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1580
- "valueString": "SearchParameter"
1581
- }
1582
- ],
1583
- "reference": {
1584
- "reference": "SearchParameter/us-core-goal-patient"
1585
- },
1586
- "name": "USCoreGoalPatient",
1587
- "description": "**Who this goal is intended for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1588
- "exampleBoolean": false
1589
- },
1590
- {
1591
- "extension": [
1592
- {
1593
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1594
- "valueString": "SearchParameter"
1595
- }
1596
- ],
1597
- "reference": {
1598
- "reference": "SearchParameter/us-core-goal-target-date"
1599
- },
1600
- "name": "USCoreGoalTargetDate",
1601
- "description": "**Reach goal on or before** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1602
- "exampleBoolean": false
1603
- },
1604
- {
1605
- "extension": [
1606
- {
1607
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1608
- "valueString": "SearchParameter"
1609
- }
1610
- ],
1611
- "reference": {
1612
- "reference": "SearchParameter/us-core-immunization-date"
1613
- },
1614
- "name": "USCoreImmunizationDate",
1615
- "description": "**Vaccination (non)-Administration Date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1616
- "exampleBoolean": false
1617
- },
1618
- {
1619
- "extension": [
1620
- {
1621
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1622
- "valueString": "SearchParameter"
1623
- }
1624
- ],
1625
- "reference": {
1626
- "reference": "SearchParameter/us-core-immunization-patient"
1627
- },
1628
- "name": "USCoreImmunizationPatient",
1629
- "description": "**The patient for the vaccination record** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1630
- "exampleBoolean": false
1631
- },
1632
- {
1633
- "extension": [
1634
- {
1635
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1636
- "valueString": "SearchParameter"
1637
- }
1638
- ],
1639
- "reference": {
1640
- "reference": "SearchParameter/us-core-immunization-status"
1641
- },
1642
- "name": "USCoreImmunizationStatus",
1643
- "description": "**Immunization event status** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1644
- "exampleBoolean": false
1645
- },
1646
- {
1647
- "extension": [
1648
- {
1649
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1650
- "valueString": "SearchParameter"
1651
- }
1652
- ],
1653
- "reference": {
1654
- "reference": "SearchParameter/us-core-location-address-city"
1655
- },
1656
- "name": "USCoreLocationAddressCity",
1657
- "description": "**A city specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1658
- "exampleBoolean": false
1659
- },
1660
- {
1661
- "extension": [
1662
- {
1663
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1664
- "valueString": "SearchParameter"
1665
- }
1666
- ],
1667
- "reference": {
1668
- "reference": "SearchParameter/us-core-location-address-postalcode"
1669
- },
1670
- "name": "USCoreLocationAddressPostalcode",
1671
- "description": "**A postal code specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1672
- "exampleBoolean": false
1673
- },
1674
- {
1675
- "extension": [
1676
- {
1677
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1678
- "valueString": "SearchParameter"
1679
- }
1680
- ],
1681
- "reference": {
1682
- "reference": "SearchParameter/us-core-location-address-state"
1683
- },
1684
- "name": "USCoreLocationAddressState",
1685
- "description": "**A state specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1686
- "exampleBoolean": false
1687
- },
1688
- {
1689
- "extension": [
1690
- {
1691
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1692
- "valueString": "SearchParameter"
1693
- }
1694
- ],
1695
- "reference": {
1696
- "reference": "SearchParameter/us-core-location-address"
1697
- },
1698
- "name": "USCoreLocationAddress",
1699
- "description": "**A (part of the) address of the location** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1700
- "exampleBoolean": false
1701
- },
1702
- {
1703
- "extension": [
1704
- {
1705
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1706
- "valueString": "SearchParameter"
1707
- }
1708
- ],
1709
- "reference": {
1710
- "reference": "SearchParameter/us-core-location-name"
1711
- },
1712
- "name": "USCoreLocationName",
1713
- "description": "**A portion of the location's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1714
- "exampleBoolean": false
1715
- },
1716
- {
1717
- "extension": [
1718
- {
1719
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1720
- "valueString": "SearchParameter"
1721
- }
1722
- ],
1723
- "reference": {
1724
- "reference": "SearchParameter/us-core-medicationrequest-authoredon"
1725
- },
1726
- "name": "USCoreMedicationrequestAuthoredon",
1727
- "description": "**Return prescriptions written on this date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1728
- "exampleBoolean": false
1729
- },
1730
- {
1731
- "extension": [
1732
- {
1733
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1734
- "valueString": "SearchParameter"
1735
- }
1736
- ],
1737
- "reference": {
1738
- "reference": "SearchParameter/us-core-medicationrequest-encounter"
1739
- },
1740
- "name": "USCoreMedicationrequestEncounter",
1741
- "description": "**Return prescriptions with this encounter identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1742
- "exampleBoolean": false
1743
- },
1744
- {
1745
- "extension": [
1746
- {
1747
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1748
- "valueString": "SearchParameter"
1749
- }
1750
- ],
1751
- "reference": {
1752
- "reference": "SearchParameter/us-core-medicationrequest-intent"
1753
- },
1754
- "name": "USCoreMedicationrequestIntent",
1755
- "description": "**Returns prescriptions with different intents** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1756
- "exampleBoolean": false
1757
- },
1758
- {
1759
- "extension": [
1760
- {
1761
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1762
- "valueString": "SearchParameter"
1763
- }
1764
- ],
1765
- "reference": {
1766
- "reference": "SearchParameter/us-core-medicationrequest-patient"
1767
- },
1768
- "name": "USCoreMedicationrequestPatient",
1769
- "description": "**Returns prescriptions for a specific patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1770
- "exampleBoolean": false
1771
- },
1772
- {
1773
- "extension": [
1774
- {
1775
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1776
- "valueString": "SearchParameter"
1777
- }
1778
- ],
1779
- "reference": {
1780
- "reference": "SearchParameter/us-core-medicationrequest-status"
1781
- },
1782
- "name": "USCoreMedicationrequestStatus",
1783
- "description": "**Status of the prescription** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1784
- "exampleBoolean": false
1785
- },
1786
- {
1787
- "extension": [
1788
- {
1789
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1790
- "valueString": "SearchParameter"
1791
- }
1792
- ],
1793
- "reference": {
1794
- "reference": "SearchParameter/us-core-observation-category"
1795
- },
1796
- "name": "USCoreObservationCategory",
1797
- "description": "**The classification of the type of observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1798
- "exampleBoolean": false
1799
- },
1800
- {
1801
- "extension": [
1802
- {
1803
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1804
- "valueString": "SearchParameter"
1805
- }
1806
- ],
1807
- "reference": {
1808
- "reference": "SearchParameter/us-core-observation-code"
1809
- },
1810
- "name": "USCoreObservationCode",
1811
- "description": "**The code of the observation type** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1812
- "exampleBoolean": false
1813
- },
1814
- {
1815
- "extension": [
1816
- {
1817
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1818
- "valueString": "SearchParameter"
1819
- }
1820
- ],
1821
- "reference": {
1822
- "reference": "SearchParameter/us-core-observation-date"
1823
- },
1824
- "name": "USCoreObservationDate",
1825
- "description": "**Obtained date/time. If the obtained element is a period, a date that falls in the period** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1826
- "exampleBoolean": false
1827
- },
1828
- {
1829
- "extension": [
1830
- {
1831
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1832
- "valueString": "SearchParameter"
1833
- }
1834
- ],
1835
- "reference": {
1836
- "reference": "SearchParameter/us-core-observation-patient"
1837
- },
1838
- "name": "USCoreObservationPatient",
1839
- "description": "**The subject that the observation is about (if patient)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1840
- "exampleBoolean": false
1841
- },
1842
- {
1843
- "extension": [
1844
- {
1845
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1846
- "valueString": "SearchParameter"
1847
- }
1848
- ],
1849
- "reference": {
1850
- "reference": "SearchParameter/us-core-observation-status"
1851
- },
1852
- "name": "USCoreObservationStatus",
1853
- "description": "**The status of the observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1854
- "exampleBoolean": false
1855
- },
1856
- {
1857
- "extension": [
1858
- {
1859
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1860
- "valueString": "SearchParameter"
1861
- }
1862
- ],
1863
- "reference": {
1864
- "reference": "SearchParameter/us-core-organization-address"
1865
- },
1866
- "name": "USCoreOrganizationAddress",
1867
- "description": "**A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1868
- "exampleBoolean": false
1869
- },
1870
- {
1871
- "extension": [
1872
- {
1873
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1874
- "valueString": "SearchParameter"
1875
- }
1876
- ],
1877
- "reference": {
1878
- "reference": "SearchParameter/us-core-organization-name"
1879
- },
1880
- "name": "USCoreOrganizationName",
1881
- "description": "**A portion of the organization's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1882
- "exampleBoolean": false
1883
- },
1884
- {
1885
- "extension": [
1886
- {
1887
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1888
- "valueString": "SearchParameter"
1889
- }
1890
- ],
1891
- "reference": {
1892
- "reference": "SearchParameter/us-core-patient-birthdate"
1893
- },
1894
- "name": "USCorePatientBirthdate",
1895
- "description": "**The patient's date of birth** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1896
- "exampleBoolean": false
1897
- },
1898
- {
1899
- "extension": [
1900
- {
1901
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1902
- "valueString": "SearchParameter"
1903
- }
1904
- ],
1905
- "reference": {
1906
- "reference": "SearchParameter/us-core-patient-family"
1907
- },
1908
- "name": "USCorePatientFamily",
1909
- "description": "**A portion of the family name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1910
- "exampleBoolean": false
1911
- },
1912
- {
1913
- "extension": [
1914
- {
1915
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1916
- "valueString": "SearchParameter"
1917
- }
1918
- ],
1919
- "reference": {
1920
- "reference": "SearchParameter/us-core-patient-gender"
1921
- },
1922
- "name": "USCorePatientGender",
1923
- "description": "**Gender of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1924
- "exampleBoolean": false
1925
- },
1926
- {
1927
- "extension": [
1928
- {
1929
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1930
- "valueString": "SearchParameter"
1931
- }
1932
- ],
1933
- "reference": {
1934
- "reference": "SearchParameter/us-core-patient-given"
1935
- },
1936
- "name": "USCorePatientGiven",
1937
- "description": "**A portion of the given name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1938
- "exampleBoolean": false
1939
- },
1940
- {
1941
- "extension": [
1942
- {
1943
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1944
- "valueString": "SearchParameter"
1945
- }
1946
- ],
1947
- "reference": {
1948
- "reference": "SearchParameter/us-core-patient-id"
1949
- },
1950
- "name": "USCorePatientId",
1951
- "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1952
- "exampleBoolean": false
1953
- },
1954
- {
1955
- "extension": [
1956
- {
1957
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1958
- "valueString": "SearchParameter"
1959
- }
1960
- ],
1961
- "reference": {
1962
- "reference": "SearchParameter/us-core-patient-identifier"
1963
- },
1964
- "name": "USCorePatientIdentifier",
1965
- "description": "**A patient identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1966
- "exampleBoolean": false
1967
- },
1968
- {
1969
- "extension": [
1970
- {
1971
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1972
- "valueString": "SearchParameter"
1973
- }
1974
- ],
1975
- "reference": {
1976
- "reference": "SearchParameter/us-core-patient-name"
1977
- },
1978
- "name": "USCorePatientName",
1979
- "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1980
- "exampleBoolean": false
1981
- },
1982
- {
1983
- "extension": [
1984
- {
1985
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
1986
- "valueString": "SearchParameter"
1987
- }
1988
- ],
1989
- "reference": {
1990
- "reference": "SearchParameter/us-core-practitioner-identifier"
1991
- },
1992
- "name": "USCorePractitionerIdentifier",
1993
- "description": "**A practitioner's Identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
1994
- "exampleBoolean": false
1995
- },
1996
- {
1997
- "extension": [
1998
- {
1999
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2000
- "valueString": "SearchParameter"
2001
- }
2002
- ],
2003
- "reference": {
2004
- "reference": "SearchParameter/us-core-practitioner-name"
2005
- },
2006
- "name": "USCorePractitionerName",
2007
- "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
2008
- "exampleBoolean": false
2009
- },
2010
- {
2011
- "extension": [
2012
- {
2013
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2014
- "valueString": "SearchParameter"
2015
- }
2016
- ],
2017
- "reference": {
2018
- "reference": "SearchParameter/us-core-practitionerrole-practitioner"
2019
- },
2020
- "name": "USCorePractitionerrolePractitioner",
2021
- "description": "**Practitioner that is able to provide the defined services for the organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
2022
- "exampleBoolean": false
2023
- },
2024
- {
2025
- "extension": [
2026
- {
2027
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2028
- "valueString": "SearchParameter"
2029
- }
2030
- ],
2031
- "reference": {
2032
- "reference": "SearchParameter/us-core-practitionerrole-specialty"
2033
- },
2034
- "name": "USCorePractitionerroleSpecialty",
2035
- "description": "**The practitioner has this specialty at an organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
2036
- "exampleBoolean": false
2037
- },
2038
- {
2039
- "extension": [
2040
- {
2041
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2042
- "valueString": "SearchParameter"
2043
- }
2044
- ],
2045
- "reference": {
2046
- "reference": "SearchParameter/us-core-procedure-code"
2047
- },
2048
- "name": "USCoreProcedureCode",
2049
- "description": "**A code to identify a procedure** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
2050
- "exampleBoolean": false
2051
- },
2052
- {
2053
- "extension": [
2054
- {
2055
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2056
- "valueString": "SearchParameter"
2057
- }
2058
- ],
2059
- "reference": {
2060
- "reference": "SearchParameter/us-core-procedure-date"
2061
- },
2062
- "name": "USCoreProcedureDate",
2063
- "description": "**When the procedure was performed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
2064
- "exampleBoolean": false
2065
- },
2066
- {
2067
- "extension": [
2068
- {
2069
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2070
- "valueString": "SearchParameter"
2071
- }
2072
- ],
2073
- "reference": {
2074
- "reference": "SearchParameter/us-core-procedure-patient"
2075
- },
2076
- "name": "USCoreProcedurePatient",
2077
- "description": "**Search by subject - a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
2078
- "exampleBoolean": false
2079
- },
2080
- {
2081
- "extension": [
2082
- {
2083
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2084
- "valueString": "SearchParameter"
2085
- }
2086
- ],
2087
- "reference": {
2088
- "reference": "SearchParameter/us-core-procedure-status"
2089
- },
2090
- "name": "USCoreProcedureStatus",
2091
- "description": "**preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain",
2092
- "exampleBoolean": false
2093
- },
2094
- {
2095
- "extension": [
2096
- {
2097
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2098
- "valueString": "SearchParameter"
2099
- }
2100
- ],
2101
- "reference": {
2102
- "reference": "SearchParameter/us-core-race"
2103
- },
2104
- "name": "USCoreRace",
2105
- "description": "Returns patients with a race extension matching the specified code.",
2106
- "exampleBoolean": false
2107
- },
2108
- {
2109
- "extension": [
2110
- {
2111
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2112
- "valueString": "StructureDefinition:resource"
2113
- }
2114
- ],
2115
- "reference": {
2116
- "reference": "StructureDefinition/us-core-patient"
2117
- },
2118
- "name": "US Core Patient Profile",
2119
- "description": "Defines constraints and extensions on the patient resource for the minimal set of data to query and retrieve patient demographic information.",
2120
- "exampleBoolean": false
2121
- },
2122
- {
2123
- "extension": [
2124
- {
2125
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2126
- "valueString": "ValueSet"
2127
- }
2128
- ],
2129
- "reference": {
2130
- "reference": "ValueSet/omb-race-category"
2131
- },
2132
- "name": "OMB Race Categories",
2133
- "description": "The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf) .",
2134
- "exampleBoolean": false
2135
- },
2136
- {
2137
- "extension": [
2138
- {
2139
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2140
- "valueString": "ValueSet"
2141
- }
2142
- ],
2143
- "reference": {
2144
- "reference": "ValueSet/simple-language"
2145
- },
2146
- "name": "Language codes with language and optionally a region modifier",
2147
- "description": "This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.",
2148
- "exampleBoolean": false
2149
- },
2150
- {
2151
- "extension": [
2152
- {
2153
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2154
- "valueString": "ValueSet"
2155
- }
2156
- ],
2157
- "reference": {
2158
- "reference": "ValueSet/birthsex"
2159
- },
2160
- "name": "Birth Sex",
2161
- "description": "Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)",
2162
- "exampleBoolean": false
2163
- },
2164
- {
2165
- "extension": [
2166
- {
2167
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2168
- "valueString": "ValueSet"
2169
- }
2170
- ],
2171
- "reference": {
2172
- "reference": "ValueSet/us-core-clinical-note-type"
2173
- },
2174
- "name": "US Core Clinical Note Type",
2175
- "description": "The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.",
2176
- "exampleBoolean": false
2177
- },
2178
- {
2179
- "extension": [
2180
- {
2181
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2182
- "valueString": "ValueSet"
2183
- }
2184
- ],
2185
- "reference": {
2186
- "reference": "ValueSet/us-core-condition-category"
2187
- },
2188
- "name": "US Core Condition Category Codes",
2189
- "description": "The US Core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification",
2190
- "exampleBoolean": false
2191
- },
2192
- {
2193
- "extension": [
2194
- {
2195
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2196
- "valueString": "ValueSet"
2197
- }
2198
- ],
2199
- "reference": {
2200
- "reference": "ValueSet/us-core-condition-code"
2201
- },
2202
- "name": "US Core Condition Code",
2203
- "description": "This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.",
2204
- "exampleBoolean": false
2205
- },
2206
- {
2207
- "extension": [
2208
- {
2209
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2210
- "valueString": "ValueSet"
2211
- }
2212
- ],
2213
- "reference": {
2214
- "reference": "ValueSet/us-core-diagnosticreport-category"
2215
- },
2216
- "name": "US Core DiagnosticReport Category",
2217
- "description": "The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.",
2218
- "exampleBoolean": false
2219
- },
2220
- {
2221
- "extension": [
2222
- {
2223
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2224
- "valueString": "ValueSet"
2225
- }
2226
- ],
2227
- "reference": {
2228
- "reference": "ValueSet/us-core-diagnosticreport-lab-codes"
2229
- },
2230
- "name": "US Core Diagnostic Report Laboratory Codes",
2231
- "description": "The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database",
2232
- "exampleBoolean": false
2233
- },
2234
- {
2235
- "extension": [
2236
- {
2237
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2238
- "valueString": "ValueSet"
2239
- }
2240
- ],
2241
- "reference": {
2242
- "reference": "ValueSet/us-core-diagnosticreport-report-and-note-codes"
2243
- },
2244
- "name": "US Core Diagnosticreport Report And Note Codes",
2245
- "description": "This value set currently contains all of LOINC. The codes selected should represent discrete and narrative diagnostic observations and reports",
2246
- "exampleBoolean": false
2247
- },
2248
- {
2249
- "extension": [
2250
- {
2251
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2252
- "valueString": "ValueSet"
2253
- }
2254
- ],
2255
- "reference": {
2256
- "reference": "ValueSet/us-core-documentreference-category"
2257
- },
2258
- "name": "US Core DocumentReference Category",
2259
- "description": "The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.",
2260
- "exampleBoolean": false
2261
- },
2262
- {
2263
- "extension": [
2264
- {
2265
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2266
- "valueString": "ValueSet"
2267
- }
2268
- ],
2269
- "reference": {
2270
- "reference": "ValueSet/us-core-documentreference-type"
2271
- },
2272
- "name": "US Core DocumentReference Type",
2273
- "description": "The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'",
2274
- "exampleBoolean": false
2275
- },
2276
- {
2277
- "extension": [
2278
- {
2279
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2280
- "valueString": "ValueSet"
2281
- }
2282
- ],
2283
- "reference": {
2284
- "reference": "ValueSet/us-core-encounter-type"
2285
- },
2286
- "name": "US Core Encounter Type",
2287
- "description": "The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and from the Current Procedure and Terminology(CPT) designated for Evaluation and Management (99200 – 99607) (subscription to AMA Required)",
2288
- "exampleBoolean": false
2289
- },
2290
- {
2291
- "extension": [
2292
- {
2293
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2294
- "valueString": "ValueSet"
2295
- }
2296
- ],
2297
- "reference": {
2298
- "reference": "ValueSet/us-core-narrative-status"
2299
- },
2300
- "name": "US Core Narrative Status",
2301
- "description": "The US Core Narrative Status Value Set limits the text status for the resource narrative.",
2302
- "exampleBoolean": false
2303
- },
2304
- {
2305
- "extension": [
2306
- {
2307
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2308
- "valueString": "ValueSet"
2309
- }
2310
- ],
2311
- "reference": {
2312
- "reference": "ValueSet/us-core-observation-smokingstatus-max"
2313
- },
2314
- "name": "US Core Smoking Status Max-Binding",
2315
- "description": "Representing a patient’s smoking behavior using concepts from SNOMED CT.",
2316
- "exampleBoolean": false
2317
- },
2318
- {
2319
- "extension": [
2320
- {
2321
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2322
- "valueString": "ValueSet"
2323
- }
2324
- ],
2325
- "reference": {
2326
- "reference": "ValueSet/us-core-observation-smoking-status-status"
2327
- },
2328
- "name": "US Core Status for Smoking Status Observation",
2329
- "description": "Codes providing the status of an observation for smoking status. Constrained to `final`and `entered-in-error`.",
2330
- "exampleBoolean": false
2331
- },
2332
- {
2333
- "extension": [
2334
- {
2335
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2336
- "valueString": "ValueSet"
2337
- }
2338
- ],
2339
- "reference": {
2340
- "reference": "ValueSet/us-core-observation-value-codes"
2341
- },
2342
- "name": "US Core Observation Value Codes (SNOMED-CT)",
2343
- "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results",
2344
- "exampleBoolean": false
2345
- },
2346
- {
2347
- "extension": [
2348
- {
2349
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2350
- "valueString": "ValueSet"
2351
- }
2352
- ],
2353
- "reference": {
2354
- "reference": "ValueSet/us-core-procedure-code"
2355
- },
2356
- "name": "US Core Procedure Codes",
2357
- "description": "Concepts from CPT, SNOMED CT, HCPCS Level II Alphanumeric Codes, ICD-10-PCS and CDT code systems that can be used to indicate the type of procedure performed.",
2358
- "exampleBoolean": false
2359
- },
2360
- {
2361
- "extension": [
2362
- {
2363
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2364
- "valueString": "ValueSet"
2365
- }
2366
- ],
2367
- "reference": {
2368
- "reference": "ValueSet/us-core-provenance-participant-type"
2369
- },
2370
- "name": "US Core Provenance Participant Type Codes",
2371
- "description": "The type of participation a provenance agent played for a given target.",
2372
- "exampleBoolean": false
2373
- },
2374
- {
2375
- "extension": [
2376
- {
2377
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2378
- "valueString": "ValueSet"
2379
- }
2380
- ],
2381
- "reference": {
2382
- "reference": "ValueSet/us-core-provider-role"
2383
- },
2384
- "name": "US Core Provider Role (NUCC)",
2385
- "description": "Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included.",
2386
- "exampleBoolean": false
2387
- },
2388
- {
2389
- "extension": [
2390
- {
2391
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2392
- "valueString": "ValueSet"
2393
- }
2394
- ],
2395
- "reference": {
2396
- "reference": "ValueSet/us-core-smoking-status-observation-codes"
2397
- },
2398
- "name": "US Core Smoking Status Observation Codes",
2399
- "description": "The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.",
2400
- "exampleBoolean": false
2401
- },
2402
- {
2403
- "extension": [
2404
- {
2405
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2406
- "valueString": "ValueSet"
2407
- }
2408
- ],
2409
- "reference": {
2410
- "reference": "ValueSet/us-core-usps-state"
2411
- },
2412
- "name": "USPS Two Letter Alphabetic Codes",
2413
- "description": "This value set defines two letter USPS alphabetic codes.",
2414
- "exampleBoolean": false
2415
- },
2416
- {
2417
- "extension": [
2418
- {
2419
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2420
- "valueString": "ValueSet"
2421
- }
2422
- ],
2423
- "reference": {
2424
- "reference": "ValueSet/us-core-vital-signs"
2425
- },
2426
- "name": "US Core Vital Signs ValueSet",
2427
- "description": "The vital sign codes from the base FHIR and US Core Vital Signs.",
2428
- "exampleBoolean": false
2429
- },
2430
- {
2431
- "extension": [
2432
- {
2433
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2434
- "valueString": "Device"
2435
- }
2436
- ],
2437
- "reference": {
2438
- "reference": "Device/udi-2"
2439
- },
2440
- "name": "Device Defib Example",
2441
- "description": "This is a Device defib example for the *US Core Implantable Device Profile*.",
2442
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"
2443
- },
2444
- {
2445
- "extension": [
2446
- {
2447
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2448
- "valueString": "Device"
2449
- }
2450
- ],
2451
- "reference": {
2452
- "reference": "Device/udi-3"
2453
- },
2454
- "name": "Device Knee Example",
2455
- "description": "This is a Device knee example for the *US Core Implantable Device Profile*.",
2456
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"
2457
- },
2458
- {
2459
- "extension": [
2460
- {
2461
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2462
- "valueString": "DiagnosticReport"
2463
- }
2464
- ],
2465
- "reference": {
2466
- "reference": "DiagnosticReport/cardiology-report"
2467
- },
2468
- "name": "Diagnosticreport Cardiology Report Example",
2469
- "description": "This is a DiagnosticReport cardiology report example for the *US Core Diagnosticreport Note Profile*.",
2470
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note"
2471
- },
2472
- {
2473
- "extension": [
2474
- {
2475
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2476
- "valueString": "DiagnosticReport"
2477
- }
2478
- ],
2479
- "reference": {
2480
- "reference": "DiagnosticReport/chest-xray-report"
2481
- },
2482
- "name": "Diagnosticreport Chest Xray Report Example",
2483
- "description": "This is a DiagnosticReport chest xray report example for the *US Core Diagnosticreport Note Profile*.",
2484
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note"
2485
- },
2486
- {
2487
- "extension": [
2488
- {
2489
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2490
- "valueString": "Bundle"
2491
- }
2492
- ],
2493
- "reference": {
2494
- "reference": "Bundle/66c8856b-ba11-4876-8aa8-467aad8c11a2"
2495
- },
2496
- "name": "Practitionerrole_Practitioner_Endpoint_Bundle_Example Example",
2497
- "description": "This is a PractitionerRole_Practitioner_Endpoint_Bundle_Example example for the *Bundle Profile*.",
2498
- "exampleBoolean": true
2499
- },
2500
- {
2501
- "extension": [
2502
- {
2503
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2504
- "valueString": "Procedure"
2505
- }
2506
- ],
2507
- "reference": {
2508
- "reference": "Procedure/defib-implant"
2509
- },
2510
- "name": "Procedure R4 Defib Implant Example",
2511
- "description": "This is a Procedure R4 defib implant example for the *US Core Procedure Profile*.",
2512
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure"
2513
- },
2514
- {
2515
- "extension": [
2516
- {
2517
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2518
- "valueString": "Organization"
2519
- }
2520
- ],
2521
- "reference": {
2522
- "reference": "Organization/acme-lab"
2523
- },
2524
- "name": "Acme Lab Example",
2525
- "description": "This is a acme lab example for the *US Core Organization Profile*.",
2526
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"
2527
- },
2528
- {
2529
- "extension": [
2530
- {
2531
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2532
- "valueString": "AllergyIntolerance"
2533
- }
2534
- ],
2535
- "reference": {
2536
- "reference": "AllergyIntolerance/example"
2537
- },
2538
- "name": "Allergyintolerance Example",
2539
- "description": "This is a allergyintolerance example for the *US Core Allergyintolerance Profile*.",
2540
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance"
2541
- },
2542
- {
2543
- "extension": [
2544
- {
2545
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2546
- "valueString": "Bundle"
2547
- }
2548
- ],
2549
- "reference": {
2550
- "reference": "Bundle/c887e62f-6166-419f-8268-b5ecd6c7b901"
2551
- },
2552
- "name": "Allergyintolerance Provenance Example",
2553
- "description": "This is a allergyintolerance provenance example for the *Bundle Profile*.",
2554
- "exampleBoolean": true
2555
- },
2556
- {
2557
- "extension": [
2558
- {
2559
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2560
- "valueString": "Observation"
2561
- }
2562
- ],
2563
- "reference": {
2564
- "reference": "Observation/blood-glucose"
2565
- },
2566
- "name": "Blood Glucose Example",
2567
- "description": "This is a blood glucose example for the *US Core Observation Lab Profile*.",
2568
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
2569
- },
2570
- {
2571
- "extension": [
2572
- {
2573
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2574
- "valueString": "Observation"
2575
- }
2576
- ],
2577
- "reference": {
2578
- "reference": "Observation/blood-pressure"
2579
- },
2580
- "name": "Blood Pressure Example",
2581
- "description": "This is a blood pressure example for the *Vitalsigns Profile*.",
2582
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure"
2583
- },
2584
- {
2585
- "extension": [
2586
- {
2587
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2588
- "valueString": "Observation"
2589
- }
2590
- ],
2591
- "reference": {
2592
- "reference": "Observation/bmi"
2593
- },
2594
- "name": "BMI Example",
2595
- "description": "This is a BMI example for the *Vitalsigns Profile*.",
2596
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi"
2597
- },
2598
- {
2599
- "extension": [
2600
- {
2601
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2602
- "valueString": "Observation"
2603
- }
2604
- ],
2605
- "reference": {
2606
- "reference": "Observation/bp-data-absent"
2607
- },
2608
- "name": "BP Data Absent Example",
2609
- "description": "This is a bp data absent example for the *Vitalsigns Profile* showing how to reprsesent blood pressure with a missing diastolic measurement.",
2610
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure"
2611
- },
2612
- {
2613
- "extension": [
2614
- {
2615
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2616
- "valueString": "Observation"
2617
- }
2618
- ],
2619
- "reference": {
2620
- "reference": "Observation/bun"
2621
- },
2622
- "name": "BUN Example",
2623
- "description": "This is a BUN example for the *US Core Observation Lab Profile*.",
2624
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
2625
- },
2626
- {
2627
- "extension": [
2628
- {
2629
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2630
- "valueString": "CareTeam"
2631
- }
2632
- ],
2633
- "reference": {
2634
- "reference": "CareTeam/example"
2635
- },
2636
- "name": "Careteam Example",
2637
- "description": "This is a careteam example for the *US Core Careteam Profile*.",
2638
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam"
2639
- },
2640
- {
2641
- "extension": [
2642
- {
2643
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2644
- "valueString": "DiagnosticReport"
2645
- }
2646
- ],
2647
- "reference": {
2648
- "reference": "DiagnosticReport/cbc"
2649
- },
2650
- "name": "CBC Example",
2651
- "description": "This is a CBC example for the *US Core Diagnosticreport Lab Profile*.",
2652
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab"
2653
- },
2654
- {
2655
- "extension": [
2656
- {
2657
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2658
- "valueString": "CarePlan"
2659
- }
2660
- ],
2661
- "reference": {
2662
- "reference": "CarePlan/colonoscopy"
2663
- },
2664
- "name": "Colonoscopy Example",
2665
- "description": "This is a colonoscopy example for the *US Core Careplan Profile*.",
2666
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan"
2667
- },
2668
- {
2669
- "extension": [
2670
- {
2671
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2672
- "valueString": "Condition"
2673
- }
2674
- ],
2675
- "reference": {
2676
- "reference": "Condition/example"
2677
- },
2678
- "name": "Condition Example",
2679
- "description": "This is a condition example for the *US Core Condition Profile*.",
2680
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"
2681
- },
2682
- {
2683
- "extension": [
2684
- {
2685
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2686
- "valueString": "Encounter"
2687
- }
2688
- ],
2689
- "reference": {
2690
- "reference": "Encounter/1036"
2691
- },
2692
- "name": "Encounter 1036 Example",
2693
- "description": "This is a encounter 1036 example for the *Encounter Profile*.",
2694
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"
2695
- },
2696
- {
2697
- "extension": [
2698
- {
2699
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2700
- "valueString": "Encounter"
2701
- }
2702
- ],
2703
- "reference": {
2704
- "reference": "Encounter/example-1"
2705
- },
2706
- "name": "Encounter 1 Example",
2707
- "description": "This is a encounter 1 example for the *US Core Encounter Profile*.",
2708
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"
2709
- },
2710
- {
2711
- "extension": [
2712
- {
2713
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2714
- "valueString": "DocumentReference"
2715
- }
2716
- ],
2717
- "reference": {
2718
- "reference": "DocumentReference/episode-summary"
2719
- },
2720
- "name": "Episode Summary Example",
2721
- "description": "This is a episode summary example for the *US Core Documentreference Profile*.",
2722
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"
2723
- },
2724
- {
2725
- "extension": [
2726
- {
2727
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2728
- "valueString": "Observation"
2729
- }
2730
- ],
2731
- "reference": {
2732
- "reference": "Observation/erythrocytes"
2733
- },
2734
- "name": "Erythrocytes Example",
2735
- "description": "This is a erythrocytes example for the *US Core Observation Lab Profile*.",
2736
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
2737
- },
2738
- {
2739
- "extension": [
2740
- {
2741
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2742
- "valueString": "Organization"
2743
- }
2744
- ],
2745
- "reference": {
2746
- "reference": "Organization/example-organization-2"
2747
- },
2748
- "name": "Organization 2 Example",
2749
- "description": "This is a organization 2 example for the *US Core Organization Profile*.",
2750
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"
2751
- },
2752
- {
2753
- "extension": [
2754
- {
2755
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2756
- "valueString": "Goal"
2757
- }
2758
- ],
2759
- "reference": {
2760
- "reference": "Goal/goal-1"
2761
- },
2762
- "name": "Goal 1 Example",
2763
- "description": "This is a goal 1 example for the *US Core Goal Profile*.",
2764
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal"
2765
- },
2766
- {
2767
- "extension": [
2768
- {
2769
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2770
- "valueString": "Condition"
2771
- }
2772
- ],
2773
- "reference": {
2774
- "reference": "Condition/hc1"
2775
- },
2776
- "name": "HC1 Example",
2777
- "description": "This is a hc1 example for the *US Core Condition Profile*.",
2778
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"
2779
- },
2780
- {
2781
- "extension": [
2782
- {
2783
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2784
- "valueString": "Observation"
2785
- }
2786
- ],
2787
- "reference": {
2788
- "reference": "Observation/head-circumference"
2789
- },
2790
- "name": "Head Circumference Example",
2791
- "description": "This is a head circumference example for the *US Core Head Circumference Profile*.",
2792
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference"
2793
- },
2794
- {
2795
- "extension": [
2796
- {
2797
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2798
- "valueString": "Observation"
2799
- }
2800
- ],
2801
- "reference": {
2802
- "reference": "Observation/heart-rate"
2803
- },
2804
- "name": "Heart Rate Example",
2805
- "description": "This is a heart rate example for the *Vitalsigns Profile*.",
2806
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate"
2807
- },
2808
- {
2809
- "extension": [
2810
- {
2811
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2812
- "valueString": "Observation"
2813
- }
2814
- ],
2815
- "reference": {
2816
- "reference": "Observation/height"
2817
- },
2818
- "name": "Height Example",
2819
- "description": "This is a height example for the *Vitalsigns Profile*.",
2820
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height"
2821
- },
2822
- {
2823
- "extension": [
2824
- {
2825
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2826
- "valueString": "Observation"
2827
- }
2828
- ],
2829
- "reference": {
2830
- "reference": "Observation/hemoglobin"
2831
- },
2832
- "name": "Hemoglobin Example",
2833
- "description": "This is a hemoglobin example for the *US Core Observation Lab Profile*.",
2834
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
2835
- },
2836
- {
2837
- "extension": [
2838
- {
2839
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2840
- "valueString": "Location"
2841
- }
2842
- ],
2843
- "reference": {
2844
- "reference": "Location/hl7east"
2845
- },
2846
- "name": "HL7East Example",
2847
- "description": "This is a HL7East example for the *US Core Location Profile*.",
2848
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location"
2849
- },
2850
- {
2851
- "extension": [
2852
- {
2853
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2854
- "valueString": "Immunization"
2855
- }
2856
- ],
2857
- "reference": {
2858
- "reference": "Immunization/imm-1"
2859
- },
2860
- "name": "Imm 1 Example",
2861
- "description": "This is a imm 1 example for the *US Core Immunization Profile*.",
2862
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization"
2863
- },
2864
- {
2865
- "extension": [
2866
- {
2867
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2868
- "valueString": "Observation"
2869
- }
2870
- ],
2871
- "reference": {
2872
- "reference": "Observation/length"
2873
- },
2874
- "name": "Length Example",
2875
- "description": "This is a length example for the *Vitalsigns Profile* which shows how body length (typically used for infants) is represented using 8306-3 -*Body height - lying* as an additional observation code.",
2876
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height"
2877
- },
2878
- {
2879
- "extension": [
2880
- {
2881
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2882
- "valueString": "Observation"
2883
- }
2884
- ],
2885
- "reference": {
2886
- "reference": "Observation/mchc"
2887
- },
2888
- "name": "MCHC Example",
2889
- "description": "This is a MCHC example for the *US Core Observation Lab Profile*.",
2890
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
2891
- },
2892
- {
2893
- "extension": [
2894
- {
2895
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2896
- "valueString": "DiagnosticReport"
2897
- }
2898
- ],
2899
- "reference": {
2900
- "reference": "DiagnosticReport/metabolic-panel"
2901
- },
2902
- "name": "Metabolic Panel Example",
2903
- "description": "This is a metabolic panel example for the *US Core Diagnosticreport Lab Profile*.",
2904
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab"
2905
- },
2906
- {
2907
- "extension": [
2908
- {
2909
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2910
- "valueString": "Observation"
2911
- }
2912
- ],
2913
- "reference": {
2914
- "reference": "Observation/neutrophils"
2915
- },
2916
- "name": "Neutrophils Example",
2917
- "description": "This is a neutrophils example for the *US Core Observation Lab Profile*.",
2918
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
2919
- },
2920
- {
2921
- "extension": [
2922
- {
2923
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2924
- "valueString": "Observation"
2925
- }
2926
- ],
2927
- "reference": {
2928
- "reference": "Observation/satO2-fiO2"
2929
- },
2930
- "name": "Observation SatO2 FiO2 Example",
2931
- "description": "This is a observation satO2 fiO2 example for the *US Core Pulse Oximetry Profile* representing a spO2 value with a for a patient on 6 l/min of O2 suppplemental oxygen.",
2932
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry"
2933
- },
2934
- {
2935
- "extension": [
2936
- {
2937
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2938
- "valueString": "Observation"
2939
- }
2940
- ],
2941
- "reference": {
2942
- "reference": "Observation/ofc-percentile"
2943
- },
2944
- "name": "OFC Percentile Example",
2945
- "description": "This is a OFC percentile example for the *Head Occipital Frontal Circumference Percentile Profile*.",
2946
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile"
2947
- },
2948
- {
2949
- "extension": [
2950
- {
2951
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2952
- "valueString": "Observation"
2953
- }
2954
- ],
2955
- "reference": {
2956
- "reference": "Observation/oxygen-saturation"
2957
- },
2958
- "name": "Oxygen Saturation Example",
2959
- "description": "This is a typical oxygen saturation example for the *US Core Pulse Oximetry Profile* on room air where no oxygen concentration is recorded.",
2960
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry"
2961
- },
2962
- {
2963
- "extension": [
2964
- {
2965
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2966
- "valueString": "Patient"
2967
- }
2968
- ],
2969
- "reference": {
2970
- "reference": "Patient/child-example"
2971
- },
2972
- "name": "Patient Child Example",
2973
- "description": "This is a patient child example for the *US Core Patient Profile*.",
2974
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
2975
- },
2976
- {
2977
- "extension": [
2978
- {
2979
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2980
- "valueString": "Patient"
2981
- }
2982
- ],
2983
- "reference": {
2984
- "reference": "Patient/example"
2985
- },
2986
- "name": "Patient Example",
2987
- "description": "This is a patient example for the *US Core Patient Profile*.",
2988
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
2989
- },
2990
- {
2991
- "extension": [
2992
- {
2993
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
2994
- "valueString": "Patient"
2995
- }
2996
- ],
2997
- "reference": {
2998
- "reference": "Patient/infant-example"
2999
- },
3000
- "name": "Patient Infant Example",
3001
- "description": "This is a patient infant example for the *US Core Patient Profile*.",
3002
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
3003
- },
3004
- {
3005
- "extension": [
3006
- {
3007
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3008
- "valueString": "Observation"
3009
- }
3010
- ],
3011
- "reference": {
3012
- "reference": "Observation/pediatric-bmi-example"
3013
- },
3014
- "name": "Pediatric BMI Example",
3015
- "description": "This is a pediatric BMI example for the *Pediatric BMI For Age Profile*.",
3016
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age"
3017
- },
3018
- {
3019
- "extension": [
3020
- {
3021
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3022
- "valueString": "Observation"
3023
- }
3024
- ],
3025
- "reference": {
3026
- "reference": "Observation/pediatric-wt-example"
3027
- },
3028
- "name": "Pediatric Wt Example",
3029
- "description": "This is a pediatric wt example for the *Pediatric Weight For Height Profile*.",
3030
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height"
3031
- },
3032
- {
3033
- "extension": [
3034
- {
3035
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3036
- "valueString": "Practitioner"
3037
- }
3038
- ],
3039
- "reference": {
3040
- "reference": "Practitioner/practitioner-1"
3041
- },
3042
- "name": "Practitioner 1 Example",
3043
- "description": "This is a practitioner 1 example for the *US Core Practitioner Profile*.",
3044
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"
3045
- },
3046
- {
3047
- "extension": [
3048
- {
3049
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3050
- "valueString": "Practitioner"
3051
- }
3052
- ],
3053
- "reference": {
3054
- "reference": "Practitioner/practitioner-2"
3055
- },
3056
- "name": "Practitioner 2 Example",
3057
- "description": "This is a practitioner 2 example for the *US Core Practitioner Profile*.",
3058
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"
3059
- },
3060
- {
3061
- "extension": [
3062
- {
3063
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3064
- "valueString": "Procedure"
3065
- }
3066
- ],
3067
- "reference": {
3068
- "reference": "Procedure/rehab"
3069
- },
3070
- "name": "Rehab Example",
3071
- "description": "This is a rehab example for the *US Core Procedure Profile*.",
3072
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure"
3073
- },
3074
- {
3075
- "extension": [
3076
- {
3077
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3078
- "valueString": "Observation"
3079
- }
3080
- ],
3081
- "reference": {
3082
- "reference": "Observation/respiratory-rate"
3083
- },
3084
- "name": "Respiratory Rate Example",
3085
- "description": "This is a respiratory rate example for the *Vitalsigns Profile*.",
3086
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate"
3087
- },
3088
- {
3089
- "extension": [
3090
- {
3091
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3092
- "valueString": "Organization"
3093
- }
3094
- ],
3095
- "reference": {
3096
- "reference": "Organization/saint-luke-w-endpoint"
3097
- },
3098
- "name": "Saint Luke W Endpoint Example",
3099
- "description": "This is a saint luke w endpoint example for the *US Core Organization Profile*.",
3100
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"
3101
- },
3102
- {
3103
- "extension": [
3104
- {
3105
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3106
- "valueString": "MedicationRequest"
3107
- }
3108
- ],
3109
- "reference": {
3110
- "reference": "MedicationRequest/self-tylenol"
3111
- },
3112
- "name": "Self Tylenol Example",
3113
- "description": "This is a self tylenol example for the *Medicationrequest Profile*.",
3114
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"
3115
- },
3116
- {
3117
- "extension": [
3118
- {
3119
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3120
- "valueString": "Observation"
3121
- }
3122
- ],
3123
- "reference": {
3124
- "reference": "Observation/serum-calcium"
3125
- },
3126
- "name": "Serum Calcium Example",
3127
- "description": "This is a serum calcium example for the *US Core Observation Lab Profile*.",
3128
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3129
- },
3130
- {
3131
- "extension": [
3132
- {
3133
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3134
- "valueString": "Observation"
3135
- }
3136
- ],
3137
- "reference": {
3138
- "reference": "Observation/serum-chloride"
3139
- },
3140
- "name": "Serum Chloride Example",
3141
- "description": "This is a serum chloride example for the *US Core Observation Lab Profile*.",
3142
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3143
- },
3144
- {
3145
- "extension": [
3146
- {
3147
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3148
- "valueString": "Observation"
3149
- }
3150
- ],
3151
- "reference": {
3152
- "reference": "Observation/serum-co2"
3153
- },
3154
- "name": "Serum CO2 Example",
3155
- "description": "This is a serum CO2 example for the *US Core Observation Lab Profile*.",
3156
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3157
- },
3158
- {
3159
- "extension": [
3160
- {
3161
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3162
- "valueString": "Observation"
3163
- }
3164
- ],
3165
- "reference": {
3166
- "reference": "Observation/serum-creatinine"
3167
- },
3168
- "name": "Serum Creatinine Example",
3169
- "description": "This is a serum creatinine example for the *US Core Observation Lab Profile*.",
3170
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3171
- },
3172
- {
3173
- "extension": [
3174
- {
3175
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3176
- "valueString": "Observation"
3177
- }
3178
- ],
3179
- "reference": {
3180
- "reference": "Observation/serum-potassium"
3181
- },
3182
- "name": "Serum Potassium Example",
3183
- "description": "This is a serum potassium example for the *US Core Observation Lab Profile*.",
3184
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3185
- },
3186
- {
3187
- "extension": [
3188
- {
3189
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3190
- "valueString": "Observation"
3191
- }
3192
- ],
3193
- "reference": {
3194
- "reference": "Observation/serum-sodium"
3195
- },
3196
- "name": "Serum Sodium Example",
3197
- "description": "This is a serum sodium example for the *US Core Observation Lab Profile*.",
3198
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3199
- },
3200
- {
3201
- "extension": [
3202
- {
3203
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3204
- "valueString": "Observation"
3205
- }
3206
- ],
3207
- "reference": {
3208
- "reference": "Observation/serum-total-bilirubin"
3209
- },
3210
- "name": "Serum Total Bilirubin Example",
3211
- "description": "This is a serum total bilirubin example for the *US Core Observation Lab Profile*.",
3212
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3213
- },
3214
- {
3215
- "extension": [
3216
- {
3217
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3218
- "valueString": "Observation"
3219
- }
3220
- ],
3221
- "reference": {
3222
- "reference": "Observation/some-day-smoker"
3223
- },
3224
- "name": "Some Day Smoker Example",
3225
- "description": "This is a some day smoker example for the *US Core Smokingstatus Profile*.",
3226
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus"
3227
- },
3228
- {
3229
- "extension": [
3230
- {
3231
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3232
- "valueString": "Observation"
3233
- }
3234
- ],
3235
- "reference": {
3236
- "reference": "Observation/temperature"
3237
- },
3238
- "name": "Temperature Example",
3239
- "description": "This is a temperature example for the *Vitalsigns Profile*.",
3240
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature"
3241
- },
3242
- {
3243
- "extension": [
3244
- {
3245
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3246
- "valueString": "Device"
3247
- }
3248
- ],
3249
- "reference": {
3250
- "reference": "Device/udi-1"
3251
- },
3252
- "name": "UDI 1 Example",
3253
- "description": "This is a UDI 1 example for the *US Core Implantable Device Profile*.",
3254
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"
3255
- },
3256
- {
3257
- "extension": [
3258
- {
3259
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3260
- "valueString": "DiagnosticReport"
3261
- }
3262
- ],
3263
- "reference": {
3264
- "reference": "DiagnosticReport/urinalysis"
3265
- },
3266
- "name": "Urinalysis Example",
3267
- "description": "This is a urinalysis example for the *US Core Diagnosticreport Lab Profile*.",
3268
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab"
3269
- },
3270
- {
3271
- "extension": [
3272
- {
3273
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3274
- "valueString": "Observation"
3275
- }
3276
- ],
3277
- "reference": {
3278
- "reference": "Observation/urine-bacteria"
3279
- },
3280
- "name": "Urine Bacteria Example",
3281
- "description": "This is a urine bacteria example for the *US Core Observation Lab Profile*.",
3282
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3283
- },
3284
- {
3285
- "extension": [
3286
- {
3287
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3288
- "valueString": "Observation"
3289
- }
3290
- ],
3291
- "reference": {
3292
- "reference": "Observation/urine-bilirubin"
3293
- },
3294
- "name": "Urine Bilirubin Example",
3295
- "description": "This is a urine bilirubin example for the *US Core Observation Lab Profile*.",
3296
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3297
- },
3298
- {
3299
- "extension": [
3300
- {
3301
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3302
- "valueString": "Observation"
3303
- }
3304
- ],
3305
- "reference": {
3306
- "reference": "Observation/urine-cells"
3307
- },
3308
- "name": "Urine Cells Example",
3309
- "description": "This is a urine cells example for the *US Core Observation Lab Profile*.",
3310
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3311
- },
3312
- {
3313
- "extension": [
3314
- {
3315
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3316
- "valueString": "Observation"
3317
- }
3318
- ],
3319
- "reference": {
3320
- "reference": "Observation/urine-clarity"
3321
- },
3322
- "name": "Urine Clarity Example",
3323
- "description": "This is a urine clarity example for the *US Core Observation Lab Profile*.",
3324
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3325
- },
3326
- {
3327
- "extension": [
3328
- {
3329
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3330
- "valueString": "Observation"
3331
- }
3332
- ],
3333
- "reference": {
3334
- "reference": "Observation/urine-color"
3335
- },
3336
- "name": "Urine Color Example",
3337
- "description": "This is a urine color example for the *US Core Observation Lab Profile*.",
3338
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3339
- },
3340
- {
3341
- "extension": [
3342
- {
3343
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3344
- "valueString": "Observation"
3345
- }
3346
- ],
3347
- "reference": {
3348
- "reference": "Observation/urine-epi-cells"
3349
- },
3350
- "name": "Urine Epi Cells Example",
3351
- "description": "This is a urine epi cells example for the *US Core Observation Lab Profile*.",
3352
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3353
- },
3354
- {
3355
- "extension": [
3356
- {
3357
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3358
- "valueString": "Observation"
3359
- }
3360
- ],
3361
- "reference": {
3362
- "reference": "Observation/urine-glucose"
3363
- },
3364
- "name": "Urine Glucose Example",
3365
- "description": "This is a urine glucose example for the *US Core Observation Lab Profile*.",
3366
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3367
- },
3368
- {
3369
- "extension": [
3370
- {
3371
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3372
- "valueString": "Observation"
3373
- }
3374
- ],
3375
- "reference": {
3376
- "reference": "Observation/urine-hemoglobin"
3377
- },
3378
- "name": "Urine Hemoglobin Example",
3379
- "description": "This is a urine hemoglobin example for the *US Core Observation Lab Profile*.",
3380
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3381
- },
3382
- {
3383
- "extension": [
3384
- {
3385
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3386
- "valueString": "Observation"
3387
- }
3388
- ],
3389
- "reference": {
3390
- "reference": "Observation/urine-ketone"
3391
- },
3392
- "name": "Urine Ketone Example",
3393
- "description": "This is a urine ketone example for the *US Core Observation Lab Profile*.",
3394
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3395
- },
3396
- {
3397
- "extension": [
3398
- {
3399
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3400
- "valueString": "Observation"
3401
- }
3402
- ],
3403
- "reference": {
3404
- "reference": "Observation/urine-leukocyte-esterase"
3405
- },
3406
- "name": "Urine Leukocyte Esterase Example",
3407
- "description": "This is a urine leukocyte esterase example for the *US Core Observation Lab Profile*.",
3408
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3409
- },
3410
- {
3411
- "extension": [
3412
- {
3413
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3414
- "valueString": "Observation"
3415
- }
3416
- ],
3417
- "reference": {
3418
- "reference": "Observation/urine-nitrite"
3419
- },
3420
- "name": "Urine Nitrite Example",
3421
- "description": "This is a urine nitrite example for the *US Core Observation Lab Profile*.",
3422
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3423
- },
3424
- {
3425
- "extension": [
3426
- {
3427
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3428
- "valueString": "Observation"
3429
- }
3430
- ],
3431
- "reference": {
3432
- "reference": "Observation/urine-ph"
3433
- },
3434
- "name": "Urine pH Example",
3435
- "description": "This is a urine pH example for the *US Core Observation Lab Profile*.",
3436
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3437
- },
3438
- {
3439
- "extension": [
3440
- {
3441
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3442
- "valueString": "Observation"
3443
- }
3444
- ],
3445
- "reference": {
3446
- "reference": "Observation/urine-protein"
3447
- },
3448
- "name": "Urine Protein Example",
3449
- "description": "This is a urine protein example for the *US Core Observation Lab Profile*.",
3450
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3451
- },
3452
- {
3453
- "extension": [
3454
- {
3455
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3456
- "valueString": "Observation"
3457
- }
3458
- ],
3459
- "reference": {
3460
- "reference": "Observation/urine-rbcs"
3461
- },
3462
- "name": "Urine RBCsExample",
3463
- "description": "This is a urine RBCsexample for the *US Core Observation Lab Profile*.",
3464
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3465
- },
3466
- {
3467
- "extension": [
3468
- {
3469
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3470
- "valueString": "Observation"
3471
- }
3472
- ],
3473
- "reference": {
3474
- "reference": "Observation/urine-sediment"
3475
- },
3476
- "name": "Urine Sediment Example",
3477
- "description": "This is a urine sediment example for the *US Core Observation Lab Profile*.",
3478
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3479
- },
3480
- {
3481
- "extension": [
3482
- {
3483
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3484
- "valueString": "Observation"
3485
- }
3486
- ],
3487
- "reference": {
3488
- "reference": "Observation/urine-wbcs"
3489
- },
3490
- "name": "Urine WBCsExample",
3491
- "description": "This is a urine WBCsexample for the *US Core Observation Lab Profile*.",
3492
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3493
- },
3494
- {
3495
- "extension": [
3496
- {
3497
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3498
- "valueString": "Observation"
3499
- }
3500
- ],
3501
- "reference": {
3502
- "reference": "Observation/urobilinogen"
3503
- },
3504
- "name": "Urobilinogen Example",
3505
- "description": "This is a urobilinogen example for the *US Core Observation Lab Profile*.",
3506
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3507
- },
3508
- {
3509
- "extension": [
3510
- {
3511
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3512
- "valueString": "Medication"
3513
- }
3514
- ],
3515
- "reference": {
3516
- "reference": "Medication/uscore-med1"
3517
- },
3518
- "name": "Uscore Med1 Example",
3519
- "description": "This is a uscore med1 example for the *US Core Medication Profile*.",
3520
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"
3521
- },
3522
- {
3523
- "extension": [
3524
- {
3525
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3526
- "valueString": "Medication"
3527
- }
3528
- ],
3529
- "reference": {
3530
- "reference": "Medication/uscore-med2"
3531
- },
3532
- "name": "Uscore Med2 Example",
3533
- "description": "This is a uscore med2 example for the *US Core Medication Profile*.",
3534
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"
3535
- },
3536
- {
3537
- "extension": [
3538
- {
3539
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3540
- "valueString": "MedicationRequest"
3541
- }
3542
- ],
3543
- "reference": {
3544
- "reference": "MedicationRequest/uscore-mo1"
3545
- },
3546
- "name": "Uscore MO1 Example",
3547
- "description": "This is a uscore mo1 example for the *US Core Medicationrequest Profile*.",
3548
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"
3549
- },
3550
- {
3551
- "extension": [
3552
- {
3553
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3554
- "valueString": "MedicationRequest"
3555
- }
3556
- ],
3557
- "reference": {
3558
- "reference": "MedicationRequest/uscore-mo2"
3559
- },
3560
- "name": "Uscore MO2 Example",
3561
- "description": "This is a uscore MO2 example for the *US Core Medicationrequest Profile*.",
3562
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"
3563
- },
3564
- {
3565
- "extension": [
3566
- {
3567
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3568
- "valueString": "Bundle"
3569
- }
3570
- ],
3571
- "reference": {
3572
- "reference": "Bundle/uscore-mo3"
3573
- },
3574
- "name": "Uscore MO3 Example",
3575
- "description": "This is a uscore mo3 example for the *Bundle Profile*.",
3576
- "exampleBoolean": true
3577
- },
3578
- {
3579
- "extension": [
3580
- {
3581
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3582
- "valueString": "Observation"
3583
- }
3584
- ],
3585
- "reference": {
3586
- "reference": "Observation/usg"
3587
- },
3588
- "name": "USG Example",
3589
- "description": "This is a USG example for the *US Core Observation Lab Profile*.",
3590
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
3591
- },
3592
- {
3593
- "extension": [
3594
- {
3595
- "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information",
3596
- "valueString": "Observation"
3597
- }
3598
- ],
3599
- "reference": {
3600
- "reference": "Observation/weight"
3601
- },
3602
- "name": "Weight Example",
3603
- "description": "This is a weight example for the *Vitalsigns Profile*.",
3604
- "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight"
3605
- }
3606
- ],
3607
- "page": {
3608
- "nameUrl": "toc.html",
3609
- "title": "Table of Contents",
3610
- "generation": "html",
3611
- "page": [
3612
- {
3613
- "nameUrl": "index.html",
3614
- "title": "Home",
3615
- "generation": "markdown"
3616
- },
3617
- {
3618
- "nameUrl": "basic-provenance.html",
3619
- "title": "Basic Provenance",
3620
- "generation": "markdown"
3621
- },
3622
- {
3623
- "nameUrl": "capability-statements.html",
3624
- "title": "Capability Statements",
3625
- "generation": "markdown"
3626
- },
3627
- {
3628
- "nameUrl": "clinical-notes-guidance.html",
3629
- "title": "Clinical Notes Guidance",
3630
- "generation": "markdown"
3631
- },
3632
- {
3633
- "nameUrl": "conformance-expectations.html",
3634
- "title": "Conformance Expectations",
3635
- "generation": "markdown"
3636
- },
3637
- {
3638
- "nameUrl": "downloads.html",
3639
- "title": "Downloads",
3640
- "generation": "markdown"
3641
- },
3642
- {
3643
- "nameUrl": "DSTU2-to-R4-conversion.html",
3644
- "title": "DSTU 2 to R 4 Conversion",
3645
- "generation": "markdown"
3646
- },
3647
- {
3648
- "nameUrl": "examples.html",
3649
- "title": "Examples",
3650
- "generation": "markdown"
3651
- },
3652
- {
3653
- "nameUrl": "future-of-US-core.html",
3654
- "title": "Future of US Core",
3655
- "generation": "markdown"
3656
- },
3657
- {
3658
- "nameUrl": "general-guidance.html",
3659
- "title": "General Guidance",
3660
- "generation": "markdown"
3661
- },
3662
- {
3663
- "nameUrl": "guidance.html",
3664
- "title": "Guidance",
3665
- "generation": "markdown"
3666
- },
3667
- {
3668
- "nameUrl": "medication-list-guidance.html",
3669
- "title": "Medication List Guidance",
3670
- "generation": "markdown"
3671
- },
3672
- {
3673
- "nameUrl": "operations.html",
3674
- "title": "Operations",
3675
- "generation": "markdown"
3676
- },
3677
- {
3678
- "nameUrl": "profiles-and-extensions.html",
3679
- "title": "Profiles and Extensions",
3680
- "generation": "markdown"
3681
- },
3682
- {
3683
- "nameUrl": "search-parameters-and-operations.html",
3684
- "title": "Search Parameters and Operations",
3685
- "generation": "markdown"
3686
- },
3687
- {
3688
- "nameUrl": "security.html",
3689
- "title": "Security",
3690
- "generation": "markdown"
3691
- },
3692
- {
3693
- "nameUrl": "terminology.html",
3694
- "title": "Terminology",
3695
- "generation": "markdown"
3696
- }
3697
- ]
3698
- },
3699
- "parameter": [
3700
- {
3701
- "code": "path-resource",
3702
- "value": "input/resources"
3703
- },
3704
- {
3705
- "code": "path-resource",
3706
- "value": "fsh-generated/resources"
3707
- },
3708
- {
3709
- "code": "path-pages",
3710
- "value": "input/pagecontent"
3711
- },
3712
- {
3713
- "code": "path-pages",
3714
- "value": "input/intro-notes"
3715
- },
3716
- {
3717
- "code": "path-pages",
3718
- "value": "fsh-generated/includes"
3719
- },
3720
- {
3721
- "code": "path-resource",
3722
- "value": "input/capabilities"
3723
- },
3724
- {
3725
- "code": "path-resource",
3726
- "value": "input/examples"
3727
- },
3728
- {
3729
- "code": "path-resource",
3730
- "value": "input/extensions"
3731
- },
3732
- {
3733
- "code": "path-resource",
3734
- "value": "input/models"
3735
- },
3736
- {
3737
- "code": "path-resource",
3738
- "value": "input/operations"
3739
- },
3740
- {
3741
- "code": "path-resource",
3742
- "value": "input/profiles"
3743
- },
3744
- {
3745
- "code": "path-resource",
3746
- "value": "input/vocabulary"
3747
- },
3748
- {
3749
- "code": "path-resource",
3750
- "value": "input/testing"
3751
- },
3752
- {
3753
- "code": "path-resource",
3754
- "value": "input/history"
3755
- },
3756
- {
3757
- "code": "path-pages",
3758
- "value": "template/config"
3759
- },
3760
- {
3761
- "code": "path-pages",
3762
- "value": "input/images"
3763
- },
3764
- {
3765
- "code": "path-tx-cache",
3766
- "value": "input-cache/txcache"
3767
- }
3768
- ]
3769
- }
3770
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
StructureDefinition-head-occipital-frontal-circumference-percentile.json → gofsh/fsh-generated/resources/StructureDefinition-head-occipital-frontal-circumference-percentile.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "head-occipital-frontal-circumference-percentile",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile",
6
  "version": "3.2.0",
7
  "name": "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile",
8
  "title": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -84,78 +82,59 @@
84
  {
85
  "id": "Observation.code",
86
  "path": "Observation.code",
87
  "short": "Head Occipital-frontal circumference Percentile",
88
- "type": [
89
- {
90
- "code": "CodeableConcept"
91
- }
92
- ],
93
  "patternCodeableConcept": {
94
  "coding": [
95
  {
96
- "system": "http://loinc.org",
97
- "code": "8289-1"
98
  }
99
  ]
100
- },
101
- "mustSupport": true
102
  },
103
  {
104
  "id": "Observation.valueQuantity",
105
  "path": "Observation.valueQuantity",
106
  "min": 0,
107
  "max": "1",
 
 
 
 
 
 
 
 
 
 
 
108
  "mustSupport": true
109
  },
110
  {
111
  "id": "Observation.valueQuantity.value",
112
  "path": "Observation.valueQuantity.value",
113
  "min": 1,
114
- "max": "1",
115
- "type": [
116
- {
117
- "code": "decimal"
118
- }
119
- ],
120
  "mustSupport": true
121
  },
122
  {
123
  "id": "Observation.valueQuantity.unit",
124
  "path": "Observation.valueQuantity.unit",
125
  "min": 1,
126
- "max": "1",
127
- "type": [
128
- {
129
- "code": "string"
130
- }
131
- ],
132
  "mustSupport": true
133
  },
134
  {
135
  "id": "Observation.valueQuantity.system",
136
  "path": "Observation.valueQuantity.system",
137
  "min": 1,
138
- "max": "1",
139
- "type": [
140
- {
141
- "code": "uri"
142
- }
143
- ],
144
  "fixedUri": "http://unitsofmeasure.org",
145
  "mustSupport": true
146
  },
147
  {
148
  "id": "Observation.valueQuantity.code",
149
  "path": "Observation.valueQuantity.code",
150
  "short": "Coded responses from the common UCUM units for vital signs value set.",
151
  "min": 1,
152
- "max": "1",
153
- "type": [
154
- {
155
- "code": "code"
156
- }
157
- ],
158
  "fixedCode": "%",
159
  "mustSupport": true
160
  }
161
  ]
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "head-occipital-frontal-circumference-percentile",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile",
5
  "version": "3.2.0",
6
  "name": "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile",
7
  "title": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
82
  {
83
  "id": "Observation.code",
84
  "path": "Observation.code",
85
  "short": "Head Occipital-frontal circumference Percentile",
 
 
 
 
 
86
  "patternCodeableConcept": {
87
  "coding": [
88
  {
89
+ "code": "8289-1",
90
+ "system": "http://loinc.org"
91
  }
92
  ]
93
+ }
 
94
  },
95
  {
96
  "id": "Observation.valueQuantity",
97
  "path": "Observation.valueQuantity",
98
  "min": 0,
99
  "max": "1",
100
+ "type": [
101
+ {
102
+ "code": "Quantity",
103
+ "extension": [
104
+ {
105
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
106
+ "valueBoolean": true
107
+ }
108
+ ]
109
+ }
110
+ ],
111
  "mustSupport": true
112
  },
113
  {
114
  "id": "Observation.valueQuantity.value",
115
  "path": "Observation.valueQuantity.value",
116
  "min": 1,
 
 
 
 
 
 
117
  "mustSupport": true
118
  },
119
  {
120
  "id": "Observation.valueQuantity.unit",
121
  "path": "Observation.valueQuantity.unit",
122
  "min": 1,
 
 
 
 
 
 
123
  "mustSupport": true
124
  },
125
  {
126
  "id": "Observation.valueQuantity.system",
127
  "path": "Observation.valueQuantity.system",
128
  "min": 1,
 
 
 
 
 
 
129
  "fixedUri": "http://unitsofmeasure.org",
130
  "mustSupport": true
131
  },
132
  {
133
  "id": "Observation.valueQuantity.code",
134
  "path": "Observation.valueQuantity.code",
135
  "short": "Coded responses from the common UCUM units for vital signs value set.",
136
  "min": 1,
 
 
 
 
 
 
137
  "fixedCode": "%",
138
  "mustSupport": true
139
  }
140
  ]
StructureDefinition-pediatric-bmi-for-age.json → gofsh/fsh-generated/resources/StructureDefinition-pediatric-bmi-for-age.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "pediatric-bmi-for-age",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age",
6
  "version": "3.2.0",
7
  "name": "USCorePediatricBMIforAgeObservationProfile",
8
  "title": "US Core Pediatric BMI for Age Observation Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -84,78 +82,59 @@
84
  {
85
  "id": "Observation.code",
86
  "path": "Observation.code",
87
  "short": "BMI percentile per age and sex for youth 2-20",
88
- "type": [
89
- {
90
- "code": "CodeableConcept"
91
- }
92
- ],
93
  "patternCodeableConcept": {
94
  "coding": [
95
  {
96
- "system": "http://loinc.org",
97
- "code": "59576-9"
98
  }
99
  ]
100
- },
101
- "mustSupport": true
102
  },
103
  {
104
  "id": "Observation.valueQuantity",
105
  "path": "Observation.valueQuantity",
106
  "min": 0,
107
  "max": "1",
 
 
 
 
 
 
 
 
 
 
 
108
  "mustSupport": true
109
  },
110
  {
111
  "id": "Observation.valueQuantity.value",
112
  "path": "Observation.valueQuantity.value",
113
  "min": 1,
114
- "max": "1",
115
- "type": [
116
- {
117
- "code": "decimal"
118
- }
119
- ],
120
  "mustSupport": true
121
  },
122
  {
123
  "id": "Observation.valueQuantity.unit",
124
  "path": "Observation.valueQuantity.unit",
125
  "min": 1,
126
- "max": "1",
127
- "type": [
128
- {
129
- "code": "string"
130
- }
131
- ],
132
  "mustSupport": true
133
  },
134
  {
135
  "id": "Observation.valueQuantity.system",
136
  "path": "Observation.valueQuantity.system",
137
  "min": 1,
138
- "max": "1",
139
- "type": [
140
- {
141
- "code": "uri"
142
- }
143
- ],
144
  "fixedUri": "http://unitsofmeasure.org",
145
  "mustSupport": true
146
  },
147
  {
148
  "id": "Observation.valueQuantity.code",
149
  "path": "Observation.valueQuantity.code",
150
  "short": "Coded responses from the common UCUM units for vital signs value set.",
151
  "min": 1,
152
- "max": "1",
153
- "type": [
154
- {
155
- "code": "code"
156
- }
157
- ],
158
  "fixedCode": "%",
159
  "mustSupport": true
160
  }
161
  ]
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "pediatric-bmi-for-age",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age",
5
  "version": "3.2.0",
6
  "name": "USCorePediatricBMIforAgeObservationProfile",
7
  "title": "US Core Pediatric BMI for Age Observation Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
82
  {
83
  "id": "Observation.code",
84
  "path": "Observation.code",
85
  "short": "BMI percentile per age and sex for youth 2-20",
 
 
 
 
 
86
  "patternCodeableConcept": {
87
  "coding": [
88
  {
89
+ "code": "59576-9",
90
+ "system": "http://loinc.org"
91
  }
92
  ]
93
+ }
 
94
  },
95
  {
96
  "id": "Observation.valueQuantity",
97
  "path": "Observation.valueQuantity",
98
  "min": 0,
99
  "max": "1",
100
+ "type": [
101
+ {
102
+ "code": "Quantity",
103
+ "extension": [
104
+ {
105
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
106
+ "valueBoolean": true
107
+ }
108
+ ]
109
+ }
110
+ ],
111
  "mustSupport": true
112
  },
113
  {
114
  "id": "Observation.valueQuantity.value",
115
  "path": "Observation.valueQuantity.value",
116
  "min": 1,
 
 
 
 
 
 
117
  "mustSupport": true
118
  },
119
  {
120
  "id": "Observation.valueQuantity.unit",
121
  "path": "Observation.valueQuantity.unit",
122
  "min": 1,
 
 
 
 
 
 
123
  "mustSupport": true
124
  },
125
  {
126
  "id": "Observation.valueQuantity.system",
127
  "path": "Observation.valueQuantity.system",
128
  "min": 1,
 
 
 
 
 
 
129
  "fixedUri": "http://unitsofmeasure.org",
130
  "mustSupport": true
131
  },
132
  {
133
  "id": "Observation.valueQuantity.code",
134
  "path": "Observation.valueQuantity.code",
135
  "short": "Coded responses from the common UCUM units for vital signs value set.",
136
  "min": 1,
 
 
 
 
 
 
137
  "fixedCode": "%",
138
  "mustSupport": true
139
  }
140
  ]
StructureDefinition-pediatric-weight-for-height.json → gofsh/fsh-generated/resources/StructureDefinition-pediatric-weight-for-height.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "pediatric-weight-for-height",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height",
6
  "version": "3.2.0",
7
  "name": "USCorePediatricWeightForHeightObservationProfile",
8
  "title": "US Core Pediatric Weight for Height Observation Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -84,80 +82,59 @@
84
  {
85
  "id": "Observation.code",
86
  "path": "Observation.code",
87
  "short": "Weight-for-length per age and gender",
88
- "min": 1,
89
- "max": "1",
90
- "type": [
91
- {
92
- "code": "CodeableConcept"
93
- }
94
- ],
95
  "patternCodeableConcept": {
96
  "coding": [
97
  {
98
- "system": "http://loinc.org",
99
- "code": "77606-2"
100
  }
101
  ]
102
- },
103
- "mustSupport": true
104
  },
105
  {
106
  "id": "Observation.valueQuantity",
107
  "path": "Observation.valueQuantity",
108
  "min": 0,
109
  "max": "1",
 
 
 
 
 
 
 
 
 
 
 
110
  "mustSupport": true
111
  },
112
  {
113
  "id": "Observation.valueQuantity.value",
114
  "path": "Observation.valueQuantity.value",
115
  "min": 1,
116
- "max": "1",
117
- "type": [
118
- {
119
- "code": "decimal"
120
- }
121
- ],
122
  "mustSupport": true
123
  },
124
  {
125
  "id": "Observation.valueQuantity.unit",
126
  "path": "Observation.valueQuantity.unit",
127
  "min": 1,
128
- "max": "1",
129
- "type": [
130
- {
131
- "code": "string"
132
- }
133
- ],
134
  "mustSupport": true
135
  },
136
  {
137
  "id": "Observation.valueQuantity.system",
138
  "path": "Observation.valueQuantity.system",
139
  "min": 1,
140
- "max": "1",
141
- "type": [
142
- {
143
- "code": "uri"
144
- }
145
- ],
146
  "fixedUri": "http://unitsofmeasure.org",
147
  "mustSupport": true
148
  },
149
  {
150
  "id": "Observation.valueQuantity.code",
151
  "path": "Observation.valueQuantity.code",
152
  "short": "Coded responses from the common UCUM units for vital signs value set.",
153
  "min": 1,
154
- "max": "1",
155
- "type": [
156
- {
157
- "code": "code"
158
- }
159
- ],
160
  "fixedCode": "%",
161
  "mustSupport": true
162
  }
163
  ]
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "pediatric-weight-for-height",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height",
5
  "version": "3.2.0",
6
  "name": "USCorePediatricWeightForHeightObservationProfile",
7
  "title": "US Core Pediatric Weight for Height Observation Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
82
  {
83
  "id": "Observation.code",
84
  "path": "Observation.code",
85
  "short": "Weight-for-length per age and gender",
 
 
 
 
 
 
 
86
  "patternCodeableConcept": {
87
  "coding": [
88
  {
89
+ "code": "77606-2",
90
+ "system": "http://loinc.org"
91
  }
92
  ]
93
+ }
 
94
  },
95
  {
96
  "id": "Observation.valueQuantity",
97
  "path": "Observation.valueQuantity",
98
  "min": 0,
99
  "max": "1",
100
+ "type": [
101
+ {
102
+ "code": "Quantity",
103
+ "extension": [
104
+ {
105
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
106
+ "valueBoolean": true
107
+ }
108
+ ]
109
+ }
110
+ ],
111
  "mustSupport": true
112
  },
113
  {
114
  "id": "Observation.valueQuantity.value",
115
  "path": "Observation.valueQuantity.value",
116
  "min": 1,
 
 
 
 
 
 
117
  "mustSupport": true
118
  },
119
  {
120
  "id": "Observation.valueQuantity.unit",
121
  "path": "Observation.valueQuantity.unit",
122
  "min": 1,
 
 
 
 
 
 
123
  "mustSupport": true
124
  },
125
  {
126
  "id": "Observation.valueQuantity.system",
127
  "path": "Observation.valueQuantity.system",
128
  "min": 1,
 
 
 
 
 
 
129
  "fixedUri": "http://unitsofmeasure.org",
130
  "mustSupport": true
131
  },
132
  {
133
  "id": "Observation.valueQuantity.code",
134
  "path": "Observation.valueQuantity.code",
135
  "short": "Coded responses from the common UCUM units for vital signs value set.",
136
  "min": 1,
 
 
 
 
 
 
137
  "fixedCode": "%",
138
  "mustSupport": true
139
  }
140
  ]
StructureDefinition-us-core-allergyintolerance.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-allergyintolerance.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-allergyintolerance",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance",
6
  "version": "3.2.0",
7
  "name": "USCoreAllergyIntolerance",
8
  "title": "US Core AllergyIntolerance Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -48,16 +57,18 @@
48
  {
49
  "identity": "v2",
50
  "uri": "http://hl7.org/v2",
51
  "name": "HL7 v2 Mapping"
 
 
 
52
  }
53
  ],
54
  "kind": "resource",
55
  "abstract": false,
56
  "type": "AllergyIntolerance",
57
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
58
  "derivation": "constraint",
59
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
60
  "differential": {
61
  "element": [
62
  {
63
  "id": "AllergyIntolerance",
@@ -73,10 +84,8 @@
73
  },
74
  {
75
  "id": "AllergyIntolerance.clinicalStatus",
76
  "path": "AllergyIntolerance.clinicalStatus",
77
- "min": 0,
78
- "max": "1",
79
  "mustSupport": true,
80
  "binding": {
81
  "strength": "required",
82
  "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical"
@@ -90,10 +99,8 @@
90
  },
91
  {
92
  "id": "AllergyIntolerance.verificationStatus",
93
  "path": "AllergyIntolerance.verificationStatus",
94
- "min": 0,
95
- "max": "1",
96
  "mustSupport": true,
97
  "binding": {
98
  "strength": "required",
99
  "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-verification"
@@ -108,9 +115,8 @@
108
  {
109
  "id": "AllergyIntolerance.code",
110
  "path": "AllergyIntolerance.code",
111
  "min": 1,
112
- "max": "1",
113
  "mustSupport": true,
114
  "binding": {
115
  "strength": "extensible",
116
  "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.8"
@@ -124,10 +130,8 @@
124
  },
125
  {
126
  "id": "AllergyIntolerance.patient",
127
  "path": "AllergyIntolerance.patient",
128
- "min": 1,
129
- "max": "1",
130
  "type": [
131
  {
132
  "code": "Reference",
133
  "targetProfile": [
@@ -145,17 +149,13 @@
145
  },
146
  {
147
  "id": "AllergyIntolerance.reaction",
148
  "path": "AllergyIntolerance.reaction",
149
- "min": 0,
150
- "max": "*",
151
  "mustSupport": true
152
  },
153
  {
154
  "id": "AllergyIntolerance.reaction.manifestation",
155
  "path": "AllergyIntolerance.reaction.manifestation",
156
- "min": 1,
157
- "max": "*",
158
  "mustSupport": true,
159
  "binding": {
160
  "strength": "extensible",
161
  "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings"
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-allergyintolerance",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Summary"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance",
15
  "version": "3.2.0",
16
  "name": "USCoreAllergyIntolerance",
17
  "title": "US Core AllergyIntolerance Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
57
  {
58
  "identity": "v2",
59
  "uri": "http://hl7.org/v2",
60
  "name": "HL7 v2 Mapping"
61
+ },
62
+ {
63
+ "identity": "argonaut-dq-dstu2"
64
  }
65
  ],
66
  "kind": "resource",
67
  "abstract": false,
68
  "type": "AllergyIntolerance",
69
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
70
  "derivation": "constraint",
 
71
  "differential": {
72
  "element": [
73
  {
74
  "id": "AllergyIntolerance",
84
  },
85
  {
86
  "id": "AllergyIntolerance.clinicalStatus",
87
  "path": "AllergyIntolerance.clinicalStatus",
 
 
88
  "mustSupport": true,
89
  "binding": {
90
  "strength": "required",
91
  "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical"
99
  },
100
  {
101
  "id": "AllergyIntolerance.verificationStatus",
102
  "path": "AllergyIntolerance.verificationStatus",
 
 
103
  "mustSupport": true,
104
  "binding": {
105
  "strength": "required",
106
  "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-verification"
115
  {
116
  "id": "AllergyIntolerance.code",
117
  "path": "AllergyIntolerance.code",
118
  "min": 1,
 
119
  "mustSupport": true,
120
  "binding": {
121
  "strength": "extensible",
122
  "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.8"
130
  },
131
  {
132
  "id": "AllergyIntolerance.patient",
133
  "path": "AllergyIntolerance.patient",
 
 
134
  "type": [
135
  {
136
  "code": "Reference",
137
  "targetProfile": [
149
  },
150
  {
151
  "id": "AllergyIntolerance.reaction",
152
  "path": "AllergyIntolerance.reaction",
 
 
153
  "mustSupport": true
154
  },
155
  {
156
  "id": "AllergyIntolerance.reaction.manifestation",
157
  "path": "AllergyIntolerance.reaction.manifestation",
 
 
158
  "mustSupport": true,
159
  "binding": {
160
  "strength": "extensible",
161
  "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings"
StructureDefinition-us-core-birthsex.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-birthsex.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-birthsex",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex",
6
  "version": "3.2.0",
7
  "name": "USCoreBirthSexExtension",
8
  "title": "US Core Birth Sex Extension",
@@ -24,10 +23,10 @@
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
- "system": "urn:iso:std:iso:3166",
29
- "code": "US"
30
  }
31
  ]
32
  }
33
  ],
@@ -37,8 +36,11 @@
37
  {
38
  "identity": "rim",
39
  "uri": "http://hl7.org/v3",
40
  "name": "RIM Mapping"
 
 
 
41
  }
42
  ],
43
  "kind": "complex-type",
44
  "abstract": false,
@@ -50,36 +52,53 @@
50
  ],
51
  "type": "Extension",
52
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
53
  "derivation": "constraint",
54
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
55
  "differential": {
56
  "element": [
57
  {
58
  "id": "Extension",
59
  "path": "Extension",
60
  "definition": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).",
61
  "comment": "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.",
62
- "min": 0,
63
  "max": "1",
64
- "isModifier": false,
65
  "mapping": [
66
  {
 
 
 
 
67
  "identity": "rim",
68
  "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"
69
- },
70
- {
71
- "identity": "iso11179",
72
- "map": ".patient.administrativeGenderCode"
73
  }
74
  ]
75
  },
76
  {
 
 
 
 
 
77
  "id": "Extension.url",
78
  "path": "Extension.url",
79
  "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"
80
  },
81
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  "id": "Extension.valueCode",
83
  "path": "Extension.valueCode",
84
  "min": 1,
85
  "max": "1",
@@ -89,10 +108,10 @@
89
  }
90
  ],
91
  "binding": {
92
  "strength": "required",
93
- "description": "Code for sex assigned at birth",
94
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/birthsex"
95
  }
96
  }
97
  ]
98
  }
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-birthsex",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex",
5
  "version": "3.2.0",
6
  "name": "USCoreBirthSexExtension",
7
  "title": "US Core Birth Sex Extension",
23
  "jurisdiction": [
24
  {
25
  "coding": [
26
  {
27
+ "code": "US",
28
+ "system": "urn:iso:std:iso:3166"
29
  }
30
  ]
31
  }
32
  ],
36
  {
37
  "identity": "rim",
38
  "uri": "http://hl7.org/v3",
39
  "name": "RIM Mapping"
40
+ },
41
+ {
42
+ "identity": "iso11179"
43
  }
44
  ],
45
  "kind": "complex-type",
46
  "abstract": false,
52
  ],
53
  "type": "Extension",
54
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
55
  "derivation": "constraint",
 
56
  "differential": {
57
  "element": [
58
  {
59
  "id": "Extension",
60
  "path": "Extension",
61
  "definition": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).",
62
  "comment": "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.",
 
63
  "max": "1",
 
64
  "mapping": [
65
  {
66
+ "identity": "iso11179",
67
+ "map": ".patient.administrativeGenderCode"
68
+ },
69
+ {
70
  "identity": "rim",
71
  "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"
 
 
 
 
72
  }
73
  ]
74
  },
75
  {
76
+ "id": "Extension.extension",
77
+ "path": "Extension.extension",
78
+ "max": "0"
79
+ },
80
+ {
81
  "id": "Extension.url",
82
  "path": "Extension.url",
83
  "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"
84
  },
85
  {
86
+ "id": "Extension.value[x]",
87
+ "path": "Extension.value[x]",
88
+ "slicing": {
89
+ "discriminator": [
90
+ {
91
+ "type": "type",
92
+ "path": "$this"
93
+ }
94
+ ],
95
+ "ordered": false,
96
+ "rules": "open"
97
+ },
98
+ "min": 1
99
+ },
100
+ {
101
  "id": "Extension.valueCode",
102
  "path": "Extension.valueCode",
103
  "min": 1,
104
  "max": "1",
108
  }
109
  ],
110
  "binding": {
111
  "strength": "required",
112
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/birthsex",
113
+ "description": "Code for sex assigned at birth"
114
  }
115
  }
116
  ]
117
  }
StructureDefinition-us-core-blood-pressure.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-blood-pressure.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-blood-pressure",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure",
6
  "version": "3.2.0",
7
  "name": "USCoreBloodPressureProfile",
8
  "title": "US Core Blood Pressure Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -83,22 +81,16 @@
83
  {
84
  "id": "Observation.code",
85
  "path": "Observation.code",
86
  "short": "Blood Pressure",
87
- "type": [
88
- {
89
- "code": "CodeableConcept"
90
- }
91
- ],
92
  "patternCodeableConcept": {
93
  "coding": [
94
  {
95
- "system": "http://loinc.org",
96
- "code": "85354-9"
97
  }
98
  ]
99
- },
100
- "mustSupport": true
101
  },
102
  {
103
  "id": "Observation.component",
104
  "path": "Observation.component",
@@ -111,11 +103,9 @@
111
  ],
112
  "ordered": false,
113
  "rules": "open"
114
  },
115
- "min": 2,
116
- "max": "*",
117
- "mustSupport": true
118
  },
119
  {
120
  "id": "Observation.component:systolic",
121
  "path": "Observation.component",
@@ -128,77 +118,58 @@
128
  {
129
  "id": "Observation.component:systolic.code",
130
  "path": "Observation.component.code",
131
  "short": "Systolic Blood Pressure Code",
132
- "min": 1,
133
- "max": "1",
134
  "patternCodeableConcept": {
135
  "coding": [
136
  {
137
- "system": "http://loinc.org",
138
- "code": "8480-6"
139
  }
140
  ]
141
- },
142
- "mustSupport": true
143
  },
144
  {
145
  "id": "Observation.component:systolic.valueQuantity",
146
  "path": "Observation.component.valueQuantity",
 
 
147
  "type": [
148
  {
149
- "code": "Quantity"
 
 
 
 
 
 
150
  }
151
  ],
152
  "mustSupport": true
153
  },
154
  {
155
  "id": "Observation.component:systolic.valueQuantity.value",
156
  "path": "Observation.component.valueQuantity.value",
157
  "min": 1,
158
- "max": "1",
159
- "type": [
160
- {
161
- "code": "decimal"
162
- }
163
- ],
164
  "mustSupport": true
165
  },
166
  {
167
  "id": "Observation.component:systolic.valueQuantity.unit",
168
  "path": "Observation.component.valueQuantity.unit",
169
  "min": 1,
170
- "max": "1",
171
- "type": [
172
- {
173
- "code": "string"
174
- }
175
- ],
176
  "mustSupport": true
177
  },
178
  {
179
  "id": "Observation.component:systolic.valueQuantity.system",
180
  "path": "Observation.component.valueQuantity.system",
181
  "min": 1,
182
- "max": "1",
183
- "type": [
184
- {
185
- "code": "uri"
186
- }
187
- ],
188
  "fixedUri": "http://unitsofmeasure.org",
189
  "mustSupport": true
190
  },
191
  {
192
  "id": "Observation.component:systolic.valueQuantity.code",
193
  "path": "Observation.component.valueQuantity.code",
194
  "min": 1,
195
- "max": "1",
196
- "type": [
197
- {
198
- "code": "code"
199
- }
200
- ],
201
  "fixedCode": "mm[Hg]",
202
  "mustSupport": true
203
  },
204
  {
@@ -213,77 +184,58 @@
213
  {
214
  "id": "Observation.component:diastolic.code",
215
  "path": "Observation.component.code",
216
  "short": "Diastolic Blood Pressure Code",
217
- "min": 1,
218
- "max": "1",
219
  "patternCodeableConcept": {
220
  "coding": [
221
  {
222
- "system": "http://loinc.org",
223
- "code": "8462-4"
224
  }
225
  ]
226
- },
227
- "mustSupport": true
228
  },
229
  {
230
  "id": "Observation.component:diastolic.valueQuantity",
231
  "path": "Observation.component.valueQuantity",
 
 
232
  "type": [
233
  {
234
- "code": "Quantity"
 
 
 
 
 
 
235
  }
236
  ],
237
  "mustSupport": true
238
  },
239
  {
240
  "id": "Observation.component:diastolic.valueQuantity.value",
241
  "path": "Observation.component.valueQuantity.value",
242
  "min": 1,
243
- "max": "1",
244
- "type": [
245
- {
246
- "code": "decimal"
247
- }
248
- ],
249
  "mustSupport": true
250
  },
251
  {
252
  "id": "Observation.component:diastolic.valueQuantity.unit",
253
  "path": "Observation.component.valueQuantity.unit",
254
  "min": 1,
255
- "max": "1",
256
- "type": [
257
- {
258
- "code": "string"
259
- }
260
- ],
261
  "mustSupport": true
262
  },
263
  {
264
  "id": "Observation.component:diastolic.valueQuantity.system",
265
  "path": "Observation.component.valueQuantity.system",
266
  "min": 1,
267
- "max": "1",
268
- "type": [
269
- {
270
- "code": "uri"
271
- }
272
- ],
273
  "fixedUri": "http://unitsofmeasure.org",
274
  "mustSupport": true
275
  },
276
  {
277
  "id": "Observation.component:diastolic.valueQuantity.code",
278
  "path": "Observation.component.valueQuantity.code",
279
  "min": 1,
280
- "max": "1",
281
- "type": [
282
- {
283
- "code": "code"
284
- }
285
- ],
286
  "fixedCode": "mm[Hg]",
287
  "mustSupport": true
288
  }
289
  ]
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-blood-pressure",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure",
5
  "version": "3.2.0",
6
  "name": "USCoreBloodPressureProfile",
7
  "title": "US Core Blood Pressure Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
81
  {
82
  "id": "Observation.code",
83
  "path": "Observation.code",
84
  "short": "Blood Pressure",
 
 
 
 
 
85
  "patternCodeableConcept": {
86
  "coding": [
87
  {
88
+ "code": "85354-9",
89
+ "system": "http://loinc.org"
90
  }
91
  ]
92
+ }
 
93
  },
94
  {
95
  "id": "Observation.component",
96
  "path": "Observation.component",
103
  ],
104
  "ordered": false,
105
  "rules": "open"
106
  },
107
+ "min": 2
 
 
108
  },
109
  {
110
  "id": "Observation.component:systolic",
111
  "path": "Observation.component",
118
  {
119
  "id": "Observation.component:systolic.code",
120
  "path": "Observation.component.code",
121
  "short": "Systolic Blood Pressure Code",
 
 
122
  "patternCodeableConcept": {
123
  "coding": [
124
  {
125
+ "code": "8480-6",
126
+ "system": "http://loinc.org"
127
  }
128
  ]
129
+ }
 
130
  },
131
  {
132
  "id": "Observation.component:systolic.valueQuantity",
133
  "path": "Observation.component.valueQuantity",
134
+ "min": 0,
135
+ "max": "1",
136
  "type": [
137
  {
138
+ "code": "Quantity",
139
+ "extension": [
140
+ {
141
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
142
+ "valueBoolean": true
143
+ }
144
+ ]
145
  }
146
  ],
147
  "mustSupport": true
148
  },
149
  {
150
  "id": "Observation.component:systolic.valueQuantity.value",
151
  "path": "Observation.component.valueQuantity.value",
152
  "min": 1,
 
 
 
 
 
 
153
  "mustSupport": true
154
  },
155
  {
156
  "id": "Observation.component:systolic.valueQuantity.unit",
157
  "path": "Observation.component.valueQuantity.unit",
158
  "min": 1,
 
 
 
 
 
 
159
  "mustSupport": true
160
  },
161
  {
162
  "id": "Observation.component:systolic.valueQuantity.system",
163
  "path": "Observation.component.valueQuantity.system",
164
  "min": 1,
 
 
 
 
 
 
165
  "fixedUri": "http://unitsofmeasure.org",
166
  "mustSupport": true
167
  },
168
  {
169
  "id": "Observation.component:systolic.valueQuantity.code",
170
  "path": "Observation.component.valueQuantity.code",
171
  "min": 1,
 
 
 
 
 
 
172
  "fixedCode": "mm[Hg]",
173
  "mustSupport": true
174
  },
175
  {
184
  {
185
  "id": "Observation.component:diastolic.code",
186
  "path": "Observation.component.code",
187
  "short": "Diastolic Blood Pressure Code",
 
 
188
  "patternCodeableConcept": {
189
  "coding": [
190
  {
191
+ "code": "8462-4",
192
+ "system": "http://loinc.org"
193
  }
194
  ]
195
+ }
 
196
  },
197
  {
198
  "id": "Observation.component:diastolic.valueQuantity",
199
  "path": "Observation.component.valueQuantity",
200
+ "min": 0,
201
+ "max": "1",
202
  "type": [
203
  {
204
+ "code": "Quantity",
205
+ "extension": [
206
+ {
207
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
208
+ "valueBoolean": true
209
+ }
210
+ ]
211
  }
212
  ],
213
  "mustSupport": true
214
  },
215
  {
216
  "id": "Observation.component:diastolic.valueQuantity.value",
217
  "path": "Observation.component.valueQuantity.value",
218
  "min": 1,
 
 
 
 
 
 
219
  "mustSupport": true
220
  },
221
  {
222
  "id": "Observation.component:diastolic.valueQuantity.unit",
223
  "path": "Observation.component.valueQuantity.unit",
224
  "min": 1,
 
 
 
 
 
 
225
  "mustSupport": true
226
  },
227
  {
228
  "id": "Observation.component:diastolic.valueQuantity.system",
229
  "path": "Observation.component.valueQuantity.system",
230
  "min": 1,
 
 
 
 
 
 
231
  "fixedUri": "http://unitsofmeasure.org",
232
  "mustSupport": true
233
  },
234
  {
235
  "id": "Observation.component:diastolic.valueQuantity.code",
236
  "path": "Observation.component.valueQuantity.code",
237
  "min": 1,
 
 
 
 
 
 
238
  "fixedCode": "mm[Hg]",
239
  "mustSupport": true
240
  }
241
  ]
StructureDefinition-us-core-bmi.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-bmi.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-bmi",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi",
6
  "version": "3.2.0",
7
  "name": "USCoreBMIProfile",
8
  "title": "US Core BMI Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -82,78 +80,59 @@
82
  },
83
  {
84
  "id": "Observation.code",
85
  "path": "Observation.code",
86
- "type": [
87
- {
88
- "code": "CodeableConcept"
89
- }
90
- ],
91
  "patternCodeableConcept": {
92
  "coding": [
93
  {
94
- "system": "http://loinc.org",
95
- "code": "39156-5"
96
  }
97
  ]
98
- },
99
- "mustSupport": true
100
  },
101
  {
102
  "id": "Observation.valueQuantity",
103
  "path": "Observation.valueQuantity",
104
  "min": 0,
105
  "max": "1",
 
 
 
 
 
 
 
 
 
 
 
106
  "mustSupport": true
107
  },
108
  {
109
  "id": "Observation.valueQuantity.value",
110
  "path": "Observation.valueQuantity.value",
111
  "min": 1,
112
- "max": "1",
113
- "type": [
114
- {
115
- "code": "decimal"
116
- }
117
- ],
118
  "mustSupport": true
119
  },
120
  {
121
  "id": "Observation.valueQuantity.unit",
122
  "path": "Observation.valueQuantity.unit",
123
  "min": 1,
124
- "max": "1",
125
- "type": [
126
- {
127
- "code": "string"
128
- }
129
- ],
130
  "mustSupport": true
131
  },
132
  {
133
  "id": "Observation.valueQuantity.system",
134
  "path": "Observation.valueQuantity.system",
135
  "min": 1,
136
- "max": "1",
137
- "type": [
138
- {
139
- "code": "uri"
140
- }
141
- ],
142
  "fixedUri": "http://unitsofmeasure.org",
143
  "mustSupport": true
144
  },
145
  {
146
  "id": "Observation.valueQuantity.code",
147
  "path": "Observation.valueQuantity.code",
148
  "short": "Coded responses from the common UCUM units for vital signs value set.",
149
  "min": 1,
150
- "max": "1",
151
- "type": [
152
- {
153
- "code": "code"
154
- }
155
- ],
156
  "fixedCode": "kg/m2",
157
  "mustSupport": true
158
  }
159
  ]
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-bmi",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi",
5
  "version": "3.2.0",
6
  "name": "USCoreBMIProfile",
7
  "title": "US Core BMI Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
80
  },
81
  {
82
  "id": "Observation.code",
83
  "path": "Observation.code",
 
 
 
 
 
84
  "patternCodeableConcept": {
85
  "coding": [
86
  {
87
+ "code": "39156-5",
88
+ "system": "http://loinc.org"
89
  }
90
  ]
91
+ }
 
92
  },
93
  {
94
  "id": "Observation.valueQuantity",
95
  "path": "Observation.valueQuantity",
96
  "min": 0,
97
  "max": "1",
98
+ "type": [
99
+ {
100
+ "code": "Quantity",
101
+ "extension": [
102
+ {
103
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
104
+ "valueBoolean": true
105
+ }
106
+ ]
107
+ }
108
+ ],
109
  "mustSupport": true
110
  },
111
  {
112
  "id": "Observation.valueQuantity.value",
113
  "path": "Observation.valueQuantity.value",
114
  "min": 1,
 
 
 
 
 
 
115
  "mustSupport": true
116
  },
117
  {
118
  "id": "Observation.valueQuantity.unit",
119
  "path": "Observation.valueQuantity.unit",
120
  "min": 1,
 
 
 
 
 
 
121
  "mustSupport": true
122
  },
123
  {
124
  "id": "Observation.valueQuantity.system",
125
  "path": "Observation.valueQuantity.system",
126
  "min": 1,
 
 
 
 
 
 
127
  "fixedUri": "http://unitsofmeasure.org",
128
  "mustSupport": true
129
  },
130
  {
131
  "id": "Observation.valueQuantity.code",
132
  "path": "Observation.valueQuantity.code",
133
  "short": "Coded responses from the common UCUM units for vital signs value set.",
134
  "min": 1,
 
 
 
 
 
 
135
  "fixedCode": "kg/m2",
136
  "mustSupport": true
137
  }
138
  ]
StructureDefinition-us-core-body-height.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-body-height.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-body-height",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height",
6
  "version": "3.2.0",
7
  "name": "USCoreBodyHeightProfile",
8
  "title": "US Core Body Height Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -83,78 +81,59 @@
83
  {
84
  "id": "Observation.code",
85
  "path": "Observation.code",
86
  "short": "Body Height",
87
- "type": [
88
- {
89
- "code": "CodeableConcept"
90
- }
91
- ],
92
  "patternCodeableConcept": {
93
  "coding": [
94
  {
95
- "system": "http://loinc.org",
96
- "code": "8302-2"
97
  }
98
  ]
99
- },
100
- "mustSupport": true
101
  },
102
  {
103
  "id": "Observation.valueQuantity",
104
  "path": "Observation.valueQuantity",
105
  "min": 0,
106
  "max": "1",
 
 
 
 
 
 
 
 
 
 
 
107
  "mustSupport": true
108
  },
109
  {
110
  "id": "Observation.valueQuantity.value",
111
  "path": "Observation.valueQuantity.value",
112
  "min": 1,
113
- "max": "1",
114
- "type": [
115
- {
116
- "code": "decimal"
117
- }
118
- ],
119
  "mustSupport": true
120
  },
121
  {
122
  "id": "Observation.valueQuantity.unit",
123
  "path": "Observation.valueQuantity.unit",
124
  "min": 1,
125
- "max": "1",
126
- "type": [
127
- {
128
- "code": "string"
129
- }
130
- ],
131
  "mustSupport": true
132
  },
133
  {
134
  "id": "Observation.valueQuantity.system",
135
  "path": "Observation.valueQuantity.system",
136
  "min": 1,
137
- "max": "1",
138
- "type": [
139
- {
140
- "code": "uri"
141
- }
142
- ],
143
  "fixedUri": "http://unitsofmeasure.org",
144
  "mustSupport": true
145
  },
146
  {
147
  "id": "Observation.valueQuantity.code",
148
  "path": "Observation.valueQuantity.code",
149
  "short": "Coded responses from the common UCUM units for vital signs value set.",
150
  "min": 1,
151
- "max": "1",
152
- "type": [
153
- {
154
- "code": "code"
155
- }
156
- ],
157
  "mustSupport": true,
158
  "binding": {
159
  "strength": "required",
160
  "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1"
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-body-height",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height",
5
  "version": "3.2.0",
6
  "name": "USCoreBodyHeightProfile",
7
  "title": "US Core Body Height Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
81
  {
82
  "id": "Observation.code",
83
  "path": "Observation.code",
84
  "short": "Body Height",
 
 
 
 
 
85
  "patternCodeableConcept": {
86
  "coding": [
87
  {
88
+ "code": "8302-2",
89
+ "system": "http://loinc.org"
90
  }
91
  ]
92
+ }
 
93
  },
94
  {
95
  "id": "Observation.valueQuantity",
96
  "path": "Observation.valueQuantity",
97
  "min": 0,
98
  "max": "1",
99
+ "type": [
100
+ {
101
+ "code": "Quantity",
102
+ "extension": [
103
+ {
104
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
105
+ "valueBoolean": true
106
+ }
107
+ ]
108
+ }
109
+ ],
110
  "mustSupport": true
111
  },
112
  {
113
  "id": "Observation.valueQuantity.value",
114
  "path": "Observation.valueQuantity.value",
115
  "min": 1,
 
 
 
 
 
 
116
  "mustSupport": true
117
  },
118
  {
119
  "id": "Observation.valueQuantity.unit",
120
  "path": "Observation.valueQuantity.unit",
121
  "min": 1,
 
 
 
 
 
 
122
  "mustSupport": true
123
  },
124
  {
125
  "id": "Observation.valueQuantity.system",
126
  "path": "Observation.valueQuantity.system",
127
  "min": 1,
 
 
 
 
 
 
128
  "fixedUri": "http://unitsofmeasure.org",
129
  "mustSupport": true
130
  },
131
  {
132
  "id": "Observation.valueQuantity.code",
133
  "path": "Observation.valueQuantity.code",
134
  "short": "Coded responses from the common UCUM units for vital signs value set.",
135
  "min": 1,
 
 
 
 
 
 
136
  "mustSupport": true,
137
  "binding": {
138
  "strength": "required",
139
  "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1"
StructureDefinition-us-core-body-temperature.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-body-temperature.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-body-temperature",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature",
6
  "version": "3.2.0",
7
  "name": "USCoreBodyTemperatureProfile",
8
  "title": "US Core Body Temperature Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -83,78 +81,59 @@
83
  {
84
  "id": "Observation.code",
85
  "path": "Observation.code",
86
  "short": "Body Temperature",
87
- "type": [
88
- {
89
- "code": "CodeableConcept"
90
- }
91
- ],
92
  "patternCodeableConcept": {
93
  "coding": [
94
  {
95
- "system": "http://loinc.org",
96
- "code": "8310-5"
97
  }
98
  ]
99
- },
100
- "mustSupport": true
101
  },
102
  {
103
  "id": "Observation.valueQuantity",
104
  "path": "Observation.valueQuantity",
105
  "min": 0,
106
  "max": "1",
 
 
 
 
 
 
 
 
 
 
 
107
  "mustSupport": true
108
  },
109
  {
110
  "id": "Observation.valueQuantity.value",
111
  "path": "Observation.valueQuantity.value",
112
  "min": 1,
113
- "max": "1",
114
- "type": [
115
- {
116
- "code": "decimal"
117
- }
118
- ],
119
  "mustSupport": true
120
  },
121
  {
122
  "id": "Observation.valueQuantity.unit",
123
  "path": "Observation.valueQuantity.unit",
124
  "min": 1,
125
- "max": "1",
126
- "type": [
127
- {
128
- "code": "string"
129
- }
130
- ],
131
  "mustSupport": true
132
  },
133
  {
134
  "id": "Observation.valueQuantity.system",
135
  "path": "Observation.valueQuantity.system",
136
  "min": 1,
137
- "max": "1",
138
- "type": [
139
- {
140
- "code": "uri"
141
- }
142
- ],
143
  "fixedUri": "http://unitsofmeasure.org",
144
  "mustSupport": true
145
  },
146
  {
147
  "id": "Observation.valueQuantity.code",
148
  "path": "Observation.valueQuantity.code",
149
  "short": "Coded responses from the common UCUM units for vital signs value set.",
150
  "min": 1,
151
- "max": "1",
152
- "type": [
153
- {
154
- "code": "code"
155
- }
156
- ],
157
  "mustSupport": true,
158
  "binding": {
159
  "strength": "required",
160
  "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodytemp|4.0.1"
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-body-temperature",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature",
5
  "version": "3.2.0",
6
  "name": "USCoreBodyTemperatureProfile",
7
  "title": "US Core Body Temperature Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
81
  {
82
  "id": "Observation.code",
83
  "path": "Observation.code",
84
  "short": "Body Temperature",
 
 
 
 
 
85
  "patternCodeableConcept": {
86
  "coding": [
87
  {
88
+ "code": "8310-5",
89
+ "system": "http://loinc.org"
90
  }
91
  ]
92
+ }
 
93
  },
94
  {
95
  "id": "Observation.valueQuantity",
96
  "path": "Observation.valueQuantity",
97
  "min": 0,
98
  "max": "1",
99
+ "type": [
100
+ {
101
+ "code": "Quantity",
102
+ "extension": [
103
+ {
104
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
105
+ "valueBoolean": true
106
+ }
107
+ ]
108
+ }
109
+ ],
110
  "mustSupport": true
111
  },
112
  {
113
  "id": "Observation.valueQuantity.value",
114
  "path": "Observation.valueQuantity.value",
115
  "min": 1,
 
 
 
 
 
 
116
  "mustSupport": true
117
  },
118
  {
119
  "id": "Observation.valueQuantity.unit",
120
  "path": "Observation.valueQuantity.unit",
121
  "min": 1,
 
 
 
 
 
 
122
  "mustSupport": true
123
  },
124
  {
125
  "id": "Observation.valueQuantity.system",
126
  "path": "Observation.valueQuantity.system",
127
  "min": 1,
 
 
 
 
 
 
128
  "fixedUri": "http://unitsofmeasure.org",
129
  "mustSupport": true
130
  },
131
  {
132
  "id": "Observation.valueQuantity.code",
133
  "path": "Observation.valueQuantity.code",
134
  "short": "Coded responses from the common UCUM units for vital signs value set.",
135
  "min": 1,
 
 
 
 
 
 
136
  "mustSupport": true,
137
  "binding": {
138
  "strength": "required",
139
  "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodytemp|4.0.1"
StructureDefinition-us-core-body-weight.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-body-weight.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-body-weight",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight",
6
  "version": "3.2.0",
7
  "name": "USCoreBodyWeightProfile",
8
  "title": "US Core Body Weight Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -83,78 +81,59 @@
83
  {
84
  "id": "Observation.code",
85
  "path": "Observation.code",
86
  "short": "Body Weight",
87
- "type": [
88
- {
89
- "code": "CodeableConcept"
90
- }
91
- ],
92
  "patternCodeableConcept": {
93
  "coding": [
94
  {
95
- "system": "http://loinc.org",
96
- "code": "29463-7"
97
  }
98
  ]
99
- },
100
- "mustSupport": true
101
  },
102
  {
103
  "id": "Observation.valueQuantity",
104
  "path": "Observation.valueQuantity",
105
  "min": 0,
106
  "max": "1",
 
 
 
 
 
 
 
 
 
 
 
107
  "mustSupport": true
108
  },
109
  {
110
  "id": "Observation.valueQuantity.value",
111
  "path": "Observation.valueQuantity.value",
112
  "min": 1,
113
- "max": "1",
114
- "type": [
115
- {
116
- "code": "decimal"
117
- }
118
- ],
119
  "mustSupport": true
120
  },
121
  {
122
  "id": "Observation.valueQuantity.unit",
123
  "path": "Observation.valueQuantity.unit",
124
  "min": 1,
125
- "max": "1",
126
- "type": [
127
- {
128
- "code": "string"
129
- }
130
- ],
131
  "mustSupport": true
132
  },
133
  {
134
  "id": "Observation.valueQuantity.system",
135
  "path": "Observation.valueQuantity.system",
136
  "min": 1,
137
- "max": "1",
138
- "type": [
139
- {
140
- "code": "uri"
141
- }
142
- ],
143
  "fixedUri": "http://unitsofmeasure.org",
144
  "mustSupport": true
145
  },
146
  {
147
  "id": "Observation.valueQuantity.code",
148
  "path": "Observation.valueQuantity.code",
149
  "short": "Coded responses from the common UCUM units for vital signs value set.",
150
  "min": 1,
151
- "max": "1",
152
- "type": [
153
- {
154
- "code": "code"
155
- }
156
- ],
157
  "mustSupport": true,
158
  "binding": {
159
  "strength": "required",
160
  "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodyweight|4.0.1"
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-body-weight",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight",
5
  "version": "3.2.0",
6
  "name": "USCoreBodyWeightProfile",
7
  "title": "US Core Body Weight Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
81
  {
82
  "id": "Observation.code",
83
  "path": "Observation.code",
84
  "short": "Body Weight",
 
 
 
 
 
85
  "patternCodeableConcept": {
86
  "coding": [
87
  {
88
+ "code": "29463-7",
89
+ "system": "http://loinc.org"
90
  }
91
  ]
92
+ }
 
93
  },
94
  {
95
  "id": "Observation.valueQuantity",
96
  "path": "Observation.valueQuantity",
97
  "min": 0,
98
  "max": "1",
99
+ "type": [
100
+ {
101
+ "code": "Quantity",
102
+ "extension": [
103
+ {
104
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
105
+ "valueBoolean": true
106
+ }
107
+ ]
108
+ }
109
+ ],
110
  "mustSupport": true
111
  },
112
  {
113
  "id": "Observation.valueQuantity.value",
114
  "path": "Observation.valueQuantity.value",
115
  "min": 1,
 
 
 
 
 
 
116
  "mustSupport": true
117
  },
118
  {
119
  "id": "Observation.valueQuantity.unit",
120
  "path": "Observation.valueQuantity.unit",
121
  "min": 1,
 
 
 
 
 
 
122
  "mustSupport": true
123
  },
124
  {
125
  "id": "Observation.valueQuantity.system",
126
  "path": "Observation.valueQuantity.system",
127
  "min": 1,
 
 
 
 
 
 
128
  "fixedUri": "http://unitsofmeasure.org",
129
  "mustSupport": true
130
  },
131
  {
132
  "id": "Observation.valueQuantity.code",
133
  "path": "Observation.valueQuantity.code",
134
  "short": "Coded responses from the common UCUM units for vital signs value set.",
135
  "min": 1,
 
 
 
 
 
 
136
  "mustSupport": true,
137
  "binding": {
138
  "strength": "required",
139
  "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodyweight|4.0.1"
StructureDefinition-us-core-careplan.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-careplan.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-careplan",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan",
6
  "version": "3.2.0",
7
  "name": "USCoreCarePlanProfile",
8
  "title": "US Core CarePlan Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -53,16 +62,18 @@
53
  {
54
  "identity": "v2",
55
  "uri": "http://hl7.org/v2",
56
  "name": "HL7 v2 Mapping"
 
 
 
57
  }
58
  ],
59
  "kind": "resource",
60
  "abstract": false,
61
  "type": "CarePlan",
62
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan",
63
  "derivation": "constraint",
64
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
65
  "differential": {
66
  "element": [
67
  {
68
  "id": "CarePlan",
@@ -79,14 +90,8 @@
79
  {
80
  "id": "CarePlan.text",
81
  "path": "CarePlan.text",
82
  "min": 1,
83
- "max": "1",
84
- "type": [
85
- {
86
- "code": "Narrative"
87
- }
88
- ],
89
  "mustSupport": true,
90
  "mapping": [
91
  {
92
  "identity": "argonaut-dq-dstu2",
@@ -103,11 +108,9 @@
103
  "id": "CarePlan.text.div",
104
  "path": "CarePlan.text.div",
105
  "mustSupport": true,
106
  "binding": {
107
- "strength": "required",
108
- "description": "Constrained value set of narrative statuses.",
109
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status"
110
  },
111
  "mapping": [
112
  {
113
  "identity": "argonaut-dq-dstu2",
@@ -118,20 +121,13 @@
118
  {
119
  "id": "CarePlan.status",
120
  "path": "CarePlan.status",
121
  "requirements": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.",
122
- "min": 1,
123
- "max": "1",
124
- "type": [
125
- {
126
- "code": "code"
127
- }
128
- ],
129
  "mustSupport": true,
130
  "binding": {
131
  "strength": "required",
132
- "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.",
133
- "valueSet": "http://hl7.org/fhir/ValueSet/request-status"
134
  },
135
  "mapping": [
136
  {
137
  "identity": "argonaut-dq-dstu2",
@@ -141,20 +137,13 @@
141
  },
142
  {
143
  "id": "CarePlan.intent",
144
  "path": "CarePlan.intent",
145
- "min": 1,
146
- "max": "1",
147
- "type": [
148
- {
149
- "code": "code"
150
- }
151
- ],
152
  "mustSupport": true,
153
  "binding": {
154
  "strength": "required",
155
- "description": "Codes indicating the degree of authority/intentionality associated with a care plan",
156
- "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-intent"
157
  },
158
  "mapping": [
159
  {
160
  "identity": "argonaut-dq-dstu2",
@@ -176,14 +165,8 @@
176
  },
177
  "definition": "Type of plan.",
178
  "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.",
179
  "min": 1,
180
- "max": "*",
181
- "type": [
182
- {
183
- "code": "CodeableConcept"
184
- }
185
- ],
186
  "mustSupport": true,
187
  "mapping": [
188
  {
189
  "identity": "argonaut-dq-dstu2",
@@ -194,22 +177,15 @@
194
  {
195
  "id": "CarePlan.category:AssessPlan",
196
  "path": "CarePlan.category",
197
  "sliceName": "AssessPlan",
198
- "definition": "Type of plan.",
199
- "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.",
200
  "min": 1,
201
  "max": "1",
202
- "type": [
203
- {
204
- "code": "CodeableConcept"
205
- }
206
- ],
207
  "patternCodeableConcept": {
208
  "coding": [
209
  {
210
- "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category",
211
- "code": "assess-plan"
212
  }
213
  ]
214
  },
215
  "mustSupport": true,
@@ -224,10 +200,8 @@
224
  "id": "CarePlan.subject",
225
  "path": "CarePlan.subject",
226
  "definition": "Who care plan is for.",
227
  "requirements": "Identifies the patient or group whose intended care is described by the plan.",
228
- "min": 1,
229
- "max": "1",
230
  "type": [
231
  {
232
  "code": "Reference",
233
  "targetProfile": [
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-careplan",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Care Provision"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan",
15
  "version": "3.2.0",
16
  "name": "USCoreCarePlanProfile",
17
  "title": "US Core CarePlan Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
62
  {
63
  "identity": "v2",
64
  "uri": "http://hl7.org/v2",
65
  "name": "HL7 v2 Mapping"
66
+ },
67
+ {
68
+ "identity": "argonaut-dq-dstu2"
69
  }
70
  ],
71
  "kind": "resource",
72
  "abstract": false,
73
  "type": "CarePlan",
74
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan",
75
  "derivation": "constraint",
 
76
  "differential": {
77
  "element": [
78
  {
79
  "id": "CarePlan",
90
  {
91
  "id": "CarePlan.text",
92
  "path": "CarePlan.text",
93
  "min": 1,
 
 
 
 
 
 
94
  "mustSupport": true,
95
  "mapping": [
96
  {
97
  "identity": "argonaut-dq-dstu2",
108
  "id": "CarePlan.text.div",
109
  "path": "CarePlan.text.div",
110
  "mustSupport": true,
111
  "binding": {
112
+ "description": "Constrained value set of narrative statuses."
 
 
113
  },
114
  "mapping": [
115
  {
116
  "identity": "argonaut-dq-dstu2",
121
  {
122
  "id": "CarePlan.status",
123
  "path": "CarePlan.status",
124
  "requirements": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.",
 
 
 
 
 
 
 
125
  "mustSupport": true,
126
  "binding": {
127
  "strength": "required",
128
+ "valueSet": "http://hl7.org/fhir/ValueSet/request-status",
129
+ "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record."
130
  },
131
  "mapping": [
132
  {
133
  "identity": "argonaut-dq-dstu2",
137
  },
138
  {
139
  "id": "CarePlan.intent",
140
  "path": "CarePlan.intent",
 
 
 
 
 
 
 
141
  "mustSupport": true,
142
  "binding": {
143
  "strength": "required",
144
+ "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-intent",
145
+ "description": "Codes indicating the degree of authority/intentionality associated with a care plan"
146
  },
147
  "mapping": [
148
  {
149
  "identity": "argonaut-dq-dstu2",
165
  },
166
  "definition": "Type of plan.",
167
  "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.",
168
  "min": 1,
 
 
 
 
 
 
169
  "mustSupport": true,
170
  "mapping": [
171
  {
172
  "identity": "argonaut-dq-dstu2",
177
  {
178
  "id": "CarePlan.category:AssessPlan",
179
  "path": "CarePlan.category",
180
  "sliceName": "AssessPlan",
 
 
181
  "min": 1,
182
  "max": "1",
 
 
 
 
 
183
  "patternCodeableConcept": {
184
  "coding": [
185
  {
186
+ "code": "assess-plan",
187
+ "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category"
188
  }
189
  ]
190
  },
191
  "mustSupport": true,
200
  "id": "CarePlan.subject",
201
  "path": "CarePlan.subject",
202
  "definition": "Who care plan is for.",
203
  "requirements": "Identifies the patient or group whose intended care is described by the plan.",
 
 
204
  "type": [
205
  {
206
  "code": "Reference",
207
  "targetProfile": [
StructureDefinition-us-core-careteam.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-careteam.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-careteam",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam",
6
  "version": "3.2.0",
7
  "name": "USCoreCareTeam",
8
  "title": "US Core CareTeam Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -48,16 +57,18 @@
48
  {
49
  "identity": "rim",
50
  "uri": "http://hl7.org/v3",
51
  "name": "RIM Mapping"
 
 
 
52
  }
53
  ],
54
  "kind": "resource",
55
  "abstract": false,
56
  "type": "CareTeam",
57
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CareTeam",
58
  "derivation": "constraint",
59
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
60
  "differential": {
61
  "element": [
62
  {
63
  "id": "CareTeam",
@@ -73,20 +84,13 @@
73
  },
74
  {
75
  "id": "CareTeam.status",
76
  "path": "CareTeam.status",
77
- "min": 0,
78
- "max": "1",
79
- "type": [
80
- {
81
- "code": "code"
82
- }
83
- ],
84
  "mustSupport": true,
85
  "binding": {
86
  "strength": "required",
87
- "description": "Indicates whether the team is current , represents future intentions or is now a historical record.",
88
- "valueSet": "http://hl7.org/fhir/ValueSet/care-team-status"
89
  },
90
  "mapping": [
91
  {
92
  "identity": "argonaut-dq-dstu2",
@@ -97,9 +101,8 @@
97
  {
98
  "id": "CareTeam.subject",
99
  "path": "CareTeam.subject",
100
  "min": 1,
101
- "max": "1",
102
  "type": [
103
  {
104
  "code": "Reference",
105
  "targetProfile": [
@@ -118,9 +121,8 @@
118
  {
119
  "id": "CareTeam.participant",
120
  "path": "CareTeam.participant",
121
  "min": 1,
122
- "max": "*",
123
  "mustSupport": true,
124
  "mapping": [
125
  {
126
  "identity": "argonaut-dq-dstu2",
@@ -132,18 +134,13 @@
132
  "id": "CareTeam.participant.role",
133
  "path": "CareTeam.participant.role",
134
  "min": 1,
135
  "max": "1",
136
- "type": [
137
- {
138
- "code": "CodeableConcept"
139
- }
140
- ],
141
  "mustSupport": true,
142
  "binding": {
143
  "strength": "extensible",
144
- "description": "Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.",
145
- "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30"
146
  },
147
  "mapping": [
148
  {
149
  "identity": "argonaut-dq-dstu2",
@@ -154,9 +151,8 @@
154
  {
155
  "id": "CareTeam.participant.member",
156
  "path": "CareTeam.participant.member",
157
  "min": 1,
158
- "max": "1",
159
  "type": [
160
  {
161
  "code": "Reference",
162
  "targetProfile": [
@@ -165,58 +161,8 @@
165
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
166
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
167
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam",
168
  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
169
- ],
170
- "_targetProfile": [
171
- {
172
- "extension": [
173
- {
174
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
175
- "valueBoolean": true
176
- }
177
- ]
178
- },
179
- {
180
- "extension": [
181
- {
182
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
183
- "valueBoolean": false
184
- }
185
- ]
186
- },
187
- {
188
- "extension": [
189
- {
190
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
191
- "valueBoolean": false
192
- }
193
- ]
194
- },
195
- {
196
- "extension": [
197
- {
198
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
199
- "valueBoolean": false
200
- }
201
- ]
202
- },
203
- {
204
- "extension": [
205
- {
206
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
207
- "valueBoolean": false
208
- }
209
- ]
210
- },
211
- {
212
- "extension": [
213
- {
214
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
215
- "valueBoolean": false
216
- }
217
- ]
218
- }
219
  ]
220
  }
221
  ],
222
  "mustSupport": true,
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-careteam",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Care Provision"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam",
15
  "version": "3.2.0",
16
  "name": "USCoreCareTeam",
17
  "title": "US Core CareTeam Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
57
  {
58
  "identity": "rim",
59
  "uri": "http://hl7.org/v3",
60
  "name": "RIM Mapping"
61
+ },
62
+ {
63
+ "identity": "argonaut-dq-dstu2"
64
  }
65
  ],
66
  "kind": "resource",
67
  "abstract": false,
68
  "type": "CareTeam",
69
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CareTeam",
70
  "derivation": "constraint",
 
71
  "differential": {
72
  "element": [
73
  {
74
  "id": "CareTeam",
84
  },
85
  {
86
  "id": "CareTeam.status",
87
  "path": "CareTeam.status",
 
 
 
 
 
 
 
88
  "mustSupport": true,
89
  "binding": {
90
  "strength": "required",
91
+ "valueSet": "http://hl7.org/fhir/ValueSet/care-team-status",
92
+ "description": "Indicates whether the team is current , represents future intentions or is now a historical record."
93
  },
94
  "mapping": [
95
  {
96
  "identity": "argonaut-dq-dstu2",
101
  {
102
  "id": "CareTeam.subject",
103
  "path": "CareTeam.subject",
104
  "min": 1,
 
105
  "type": [
106
  {
107
  "code": "Reference",
108
  "targetProfile": [
121
  {
122
  "id": "CareTeam.participant",
123
  "path": "CareTeam.participant",
124
  "min": 1,
 
125
  "mustSupport": true,
126
  "mapping": [
127
  {
128
  "identity": "argonaut-dq-dstu2",
134
  "id": "CareTeam.participant.role",
135
  "path": "CareTeam.participant.role",
136
  "min": 1,
137
  "max": "1",
 
 
 
 
 
138
  "mustSupport": true,
139
  "binding": {
140
  "strength": "extensible",
141
+ "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30",
142
+ "description": "Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc."
143
  },
144
  "mapping": [
145
  {
146
  "identity": "argonaut-dq-dstu2",
151
  {
152
  "id": "CareTeam.participant.member",
153
  "path": "CareTeam.participant.member",
154
  "min": 1,
 
155
  "type": [
156
  {
157
  "code": "Reference",
158
  "targetProfile": [
161
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
162
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
163
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam",
164
  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  ]
166
  }
167
  ],
168
  "mustSupport": true,
StructureDefinition-us-core-condition.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-condition.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-condition",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition",
6
  "version": "3.2.0",
7
  "name": "USCoreCondition",
8
  "title": "US Core Condition Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -63,35 +72,38 @@
63
  {
64
  "identity": "sct-attr",
65
  "uri": "http://snomed.org/attributebinding",
66
  "name": "SNOMED CT Attribute Binding"
 
 
 
67
  }
68
  ],
69
  "kind": "resource",
70
  "abstract": false,
71
  "type": "Condition",
72
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Condition",
79
  "path": "Condition",
80
  "definition": "The US Core Condition Profile is based upon the core FHIR Condition Resource and created to meet the 2015 Edition Common Clinical Data Set 'Problems' and 'Health Concerns' requirements.",
81
  "constraint": [
82
  {
 
 
 
 
 
 
83
  "extension": [
84
  {
85
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
86
  "valueBoolean": true
87
  }
88
- ],
89
- "key": "us-core-1",
90
- "severity": "warning",
91
- "human": "A code in Condition.category SHOULD be from US Core Condition Category Codes value set.",
92
- "expression": "where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()",
93
- "xpath": "(no xpath equivalent)"
94
  }
95
  ],
96
  "mustSupport": false,
97
  "mapping": [
@@ -103,15 +115,8 @@
103
  },
104
  {
105
  "id": "Condition.clinicalStatus",
106
  "path": "Condition.clinicalStatus",
107
- "min": 0,
108
- "max": "1",
109
- "type": [
110
- {
111
- "code": "CodeableConcept"
112
- }
113
- ],
114
  "mustSupport": true,
115
  "binding": {
116
  "strength": "required",
117
  "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical"
@@ -125,15 +130,8 @@
125
  },
126
  {
127
  "id": "Condition.verificationStatus",
128
  "path": "Condition.verificationStatus",
129
- "min": 0,
130
- "max": "1",
131
- "type": [
132
- {
133
- "code": "CodeableConcept"
134
- }
135
- ],
136
  "mustSupport": true,
137
  "binding": {
138
  "strength": "required",
139
  "valueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status"
@@ -149,14 +147,8 @@
149
  "id": "Condition.category",
150
  "path": "Condition.category",
151
  "short": "problem-list-item | encounter-diagnosis | health-concern",
152
  "min": 1,
153
- "max": "*",
154
- "type": [
155
- {
156
- "code": "CodeableConcept"
157
- }
158
- ],
159
  "condition": [
160
  "us-core-1"
161
  ],
162
  "mustSupport": true,
@@ -174,19 +166,13 @@
174
  {
175
  "id": "Condition.code",
176
  "path": "Condition.code",
177
  "min": 1,
178
- "max": "1",
179
- "type": [
180
- {
181
- "code": "CodeableConcept"
182
- }
183
- ],
184
  "mustSupport": true,
185
  "binding": {
186
  "strength": "required",
187
- "description": "Valueset to describe the actual problem experienced by the patient",
188
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code"
189
  },
190
  "mapping": [
191
  {
192
  "identity": "argonaut-dq-dstu2",
@@ -196,10 +182,8 @@
196
  },
197
  {
198
  "id": "Condition.subject",
199
  "path": "Condition.subject",
200
- "min": 1,
201
- "max": "1",
202
  "type": [
203
  {
204
  "code": "Reference",
205
  "targetProfile": [
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-condition",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Summary"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition",
15
  "version": "3.2.0",
16
  "name": "USCoreCondition",
17
  "title": "US Core Condition Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
72
  {
73
  "identity": "sct-attr",
74
  "uri": "http://snomed.org/attributebinding",
75
  "name": "SNOMED CT Attribute Binding"
76
+ },
77
+ {
78
+ "identity": "argonaut-dq-dstu2"
79
  }
80
  ],
81
  "kind": "resource",
82
  "abstract": false,
83
  "type": "Condition",
84
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
85
  "derivation": "constraint",
 
86
  "differential": {
87
  "element": [
88
  {
89
  "id": "Condition",
90
  "path": "Condition",
91
  "definition": "The US Core Condition Profile is based upon the core FHIR Condition Resource and created to meet the 2015 Edition Common Clinical Data Set 'Problems' and 'Health Concerns' requirements.",
92
  "constraint": [
93
  {
94
+ "key": "us-core-1",
95
+ "severity": "warning",
96
+ "human": "A code in Condition.category SHOULD be from US Core Condition Category Codes value set.",
97
+ "expression": "where(category.memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()",
98
+ "xpath": "(no xpath equivalent)",
99
+ "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition",
100
  "extension": [
101
  {
102
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
103
  "valueBoolean": true
104
  }
105
+ ]
 
 
 
 
 
106
  }
107
  ],
108
  "mustSupport": false,
109
  "mapping": [
115
  },
116
  {
117
  "id": "Condition.clinicalStatus",
118
  "path": "Condition.clinicalStatus",
 
 
 
 
 
 
 
119
  "mustSupport": true,
120
  "binding": {
121
  "strength": "required",
122
  "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical"
130
  },
131
  {
132
  "id": "Condition.verificationStatus",
133
  "path": "Condition.verificationStatus",
 
 
 
 
 
 
 
134
  "mustSupport": true,
135
  "binding": {
136
  "strength": "required",
137
  "valueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status"
147
  "id": "Condition.category",
148
  "path": "Condition.category",
149
  "short": "problem-list-item | encounter-diagnosis | health-concern",
150
  "min": 1,
 
 
 
 
 
 
151
  "condition": [
152
  "us-core-1"
153
  ],
154
  "mustSupport": true,
166
  {
167
  "id": "Condition.code",
168
  "path": "Condition.code",
169
  "min": 1,
 
 
 
 
 
 
170
  "mustSupport": true,
171
  "binding": {
172
  "strength": "required",
173
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code",
174
+ "description": "Valueset to describe the actual problem experienced by the patient"
175
  },
176
  "mapping": [
177
  {
178
  "identity": "argonaut-dq-dstu2",
182
  },
183
  {
184
  "id": "Condition.subject",
185
  "path": "Condition.subject",
 
 
186
  "type": [
187
  {
188
  "code": "Reference",
189
  "targetProfile": [
StructureDefinition-us-core-diagnosticreport-lab.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-diagnosticreport-lab.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-diagnosticreport-lab",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab",
6
  "version": "3.2.0",
7
  "name": "USCoreDiagnosticReportProfileLaboratoryReporting",
8
  "title": "US Core DiagnosticReport Profile for Laboratory Results Reporting",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -60,32 +69,27 @@
60
  "abstract": false,
61
  "type": "DiagnosticReport",
62
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
63
  "derivation": "constraint",
64
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
65
  "differential": {
66
  "element": [
67
  {
68
  "id": "DiagnosticReport",
69
  "path": "DiagnosticReport",
70
  "definition": "The US Core Diagnostic Report Profile is based upon the core FHIR DiagnosticReport Resource and created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.",
71
  "alias": [
72
  "Lab Result",
73
- "Lab Report"
 
 
 
 
74
  ],
75
- "mustSupport": false,
76
- "isModifier": false
77
  },
78
  {
79
  "id": "DiagnosticReport.status",
80
  "path": "DiagnosticReport.status",
81
- "min": 1,
82
- "max": "1",
83
- "type": [
84
- {
85
- "code": "code"
86
- }
87
- ],
88
  "mustSupport": true,
89
  "isModifier": false,
90
  "binding": {
91
  "strength": "required",
@@ -104,179 +108,107 @@
104
  ],
105
  "rules": "open"
106
  },
107
  "min": 1,
108
- "max": "*",
109
- "type": [
110
- {
111
- "code": "CodeableConcept"
112
- }
113
- ],
114
- "mustSupport": true,
115
- "isModifier": false
116
  },
117
  {
118
  "id": "DiagnosticReport.category:LaboratorySlice",
119
  "path": "DiagnosticReport.category",
120
  "sliceName": "LaboratorySlice",
121
  "min": 1,
122
  "max": "1",
123
- "type": [
124
- {
125
- "code": "CodeableConcept"
126
- }
127
- ],
128
  "patternCodeableConcept": {
129
  "coding": [
130
  {
131
- "system": "http://terminology.hl7.org/CodeSystem/v2-0074",
132
- "code": "LAB"
133
  }
134
  ]
135
  },
136
- "mustSupport": true,
137
- "isModifier": false
138
  },
139
  {
140
  "id": "DiagnosticReport.code",
141
  "path": "DiagnosticReport.code",
142
  "short": "US Core Laboratory Report Order Code",
143
  "definition": "The test, panel or battery that was ordered.",
144
  "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.",
145
- "min": 1,
146
- "max": "1",
147
- "type": [
148
- {
149
- "code": "CodeableConcept"
150
- }
151
- ],
152
  "mustSupport": true,
153
- "isModifier": false,
154
  "binding": {
155
  "strength": "extensible",
156
- "description": "LOINC codes",
157
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes"
158
  }
159
  },
160
  {
161
  "id": "DiagnosticReport.subject",
162
  "path": "DiagnosticReport.subject",
163
  "min": 1,
164
- "max": "1",
165
  "type": [
166
  {
167
  "code": "Reference",
168
  "targetProfile": [
169
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
170
  ]
171
  }
172
  ],
173
- "mustSupport": true,
174
- "isModifier": false
175
  },
176
  {
177
  "id": "DiagnosticReport.effective[x]",
178
  "path": "DiagnosticReport.effective[x]",
179
  "min": 1,
180
- "max": "1",
181
  "type": [
182
  {
 
183
  "extension": [
184
  {
185
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
186
  "valueBoolean": true
187
  }
188
- ],
189
- "code": "dateTime"
190
  },
191
  {
192
  "code": "Period"
193
  }
194
  ],
195
- "mustSupport": true,
196
- "isModifier": false
197
  },
198
  {
199
  "id": "DiagnosticReport.issued",
200
  "path": "DiagnosticReport.issued",
201
  "min": 1,
202
- "max": "1",
203
- "type": [
204
- {
205
- "code": "instant"
206
- }
207
- ],
208
- "mustSupport": true,
209
- "isModifier": false
210
  },
211
  {
212
  "id": "DiagnosticReport.performer",
213
  "path": "DiagnosticReport.performer",
214
- "min": 0,
215
- "max": "*",
216
  "type": [
217
  {
218
  "code": "Reference",
219
  "targetProfile": [
220
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
221
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
222
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam",
223
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole"
224
- ],
225
- "_targetProfile": [
226
- {
227
- "extension": [
228
- {
229
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
230
- "valueBoolean": true
231
- }
232
- ]
233
- },
234
- {
235
- "extension": [
236
- {
237
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
238
- "valueBoolean": false
239
- }
240
- ]
241
- },
242
- {
243
- "extension": [
244
- {
245
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
246
- "valueBoolean": false
247
- }
248
- ]
249
- },
250
- {
251
- "extension": [
252
- {
253
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
254
- "valueBoolean": false
255
- }
256
- ]
257
- }
258
  ]
259
  }
260
  ],
261
- "mustSupport": true,
262
- "isModifier": false
263
  },
264
  {
265
  "id": "DiagnosticReport.result",
266
  "path": "DiagnosticReport.result",
267
- "min": 0,
268
- "max": "*",
269
  "type": [
270
  {
271
  "code": "Reference",
272
  "targetProfile": [
273
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
274
  ]
275
  }
276
  ],
277
- "mustSupport": true,
278
- "isModifier": false
279
  }
280
  ]
281
  }
282
  }
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-diagnosticreport-lab",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Diagnostics"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab",
15
  "version": "3.2.0",
16
  "name": "USCoreDiagnosticReportProfileLaboratoryReporting",
17
  "title": "US Core DiagnosticReport Profile for Laboratory Results Reporting",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
69
  "abstract": false,
70
  "type": "DiagnosticReport",
71
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "DiagnosticReport",
77
  "path": "DiagnosticReport",
78
  "definition": "The US Core Diagnostic Report Profile is based upon the core FHIR DiagnosticReport Resource and created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.",
79
  "alias": [
80
  "Lab Result",
81
+ "Lab Report",
82
+ "Result",
83
+ "Results",
84
+ "Labs",
85
+ "Laboratory"
86
  ],
87
+ "mustSupport": false
 
88
  },
89
  {
90
  "id": "DiagnosticReport.status",
91
  "path": "DiagnosticReport.status",
 
 
 
 
 
 
 
92
  "mustSupport": true,
93
  "isModifier": false,
94
  "binding": {
95
  "strength": "required",
108
  ],
109
  "rules": "open"
110
  },
111
  "min": 1,
112
+ "mustSupport": true
 
 
 
 
 
 
 
113
  },
114
  {
115
  "id": "DiagnosticReport.category:LaboratorySlice",
116
  "path": "DiagnosticReport.category",
117
  "sliceName": "LaboratorySlice",
118
  "min": 1,
119
  "max": "1",
 
 
 
 
 
120
  "patternCodeableConcept": {
121
  "coding": [
122
  {
123
+ "code": "LAB",
124
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0074"
125
  }
126
  ]
127
  },
128
+ "mustSupport": true
 
129
  },
130
  {
131
  "id": "DiagnosticReport.code",
132
  "path": "DiagnosticReport.code",
133
  "short": "US Core Laboratory Report Order Code",
134
  "definition": "The test, panel or battery that was ordered.",
135
  "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.",
 
 
 
 
 
 
 
136
  "mustSupport": true,
 
137
  "binding": {
138
  "strength": "extensible",
139
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes",
140
+ "description": "LOINC codes"
141
  }
142
  },
143
  {
144
  "id": "DiagnosticReport.subject",
145
  "path": "DiagnosticReport.subject",
146
  "min": 1,
 
147
  "type": [
148
  {
149
  "code": "Reference",
150
  "targetProfile": [
151
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
152
  ]
153
  }
154
  ],
155
+ "mustSupport": true
 
156
  },
157
  {
158
  "id": "DiagnosticReport.effective[x]",
159
  "path": "DiagnosticReport.effective[x]",
160
  "min": 1,
 
161
  "type": [
162
  {
163
+ "code": "dateTime",
164
  "extension": [
165
  {
166
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
167
  "valueBoolean": true
168
  }
169
+ ]
 
170
  },
171
  {
172
  "code": "Period"
173
  }
174
  ],
175
+ "mustSupport": true
 
176
  },
177
  {
178
  "id": "DiagnosticReport.issued",
179
  "path": "DiagnosticReport.issued",
180
  "min": 1,
181
+ "mustSupport": true
 
 
 
 
 
 
 
182
  },
183
  {
184
  "id": "DiagnosticReport.performer",
185
  "path": "DiagnosticReport.performer",
 
 
186
  "type": [
187
  {
188
  "code": "Reference",
189
  "targetProfile": [
190
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
191
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
192
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam",
193
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  ]
195
  }
196
  ],
197
+ "mustSupport": true
 
198
  },
199
  {
200
  "id": "DiagnosticReport.result",
201
  "path": "DiagnosticReport.result",
 
 
202
  "type": [
203
  {
204
  "code": "Reference",
205
  "targetProfile": [
206
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
207
  ]
208
  }
209
  ],
210
+ "mustSupport": true
 
211
  }
212
  ]
213
  }
214
  }
StructureDefinition-us-core-diagnosticreport-note.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-diagnosticreport-note.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-diagnosticreport-note",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note",
6
  "version": "3.2.0",
7
  "name": "USCoreDiagnosticReportProfileNoteExchange",
8
  "title": "US Core DiagnosticReport Profile for Report and Note exchange",
@@ -24,10 +33,10 @@
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
- "system": "urn:iso:std:iso:3166",
29
- "code": "US"
30
  }
31
  ]
32
  }
33
  ],
@@ -59,9 +68,8 @@
59
  "abstract": false,
60
  "type": "DiagnosticReport",
61
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
62
  "derivation": "constraint",
63
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
64
  "differential": {
65
  "element": [
66
  {
67
  "id": "DiagnosticReport",
@@ -69,23 +77,19 @@
69
  "short": "US Core Diagnostic Report Profile for Report and Note exchange",
70
  "definition": "The US Core Diagnostic Report Profile for Report and Note exchange is based upon the requirements of the Argonauts to exchang imaginge reports.",
71
  "alias": [
72
  "Imaging Report",
73
- "Radiology Report"
 
 
 
 
74
  ],
75
- "mustSupport": false,
76
- "isModifier": false
77
  },
78
  {
79
  "id": "DiagnosticReport.status",
80
  "path": "DiagnosticReport.status",
81
- "min": 1,
82
- "max": "1",
83
- "type": [
84
- {
85
- "code": "code"
86
- }
87
- ],
88
  "mustSupport": true,
89
  "isModifier": false,
90
  "binding": {
91
  "strength": "required",
@@ -101,15 +105,9 @@
101
  "service",
102
  "discipline"
103
  ],
104
  "min": 1,
105
- "type": [
106
- {
107
- "code": "CodeableConcept"
108
- }
109
- ],
110
  "mustSupport": true,
111
- "isModifier": false,
112
  "binding": {
113
  "strength": "extensible",
114
  "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category"
115
  }
@@ -119,50 +117,29 @@
119
  "path": "DiagnosticReport.code",
120
  "short": "US Core Report Code",
121
  "definition": "The test, panel, report, or note that was ordered.",
122
  "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.",
123
- "min": 1,
124
- "max": "1",
125
- "type": [
126
- {
127
- "code": "CodeableConcept"
128
- }
129
- ],
130
  "mustSupport": true,
131
- "isModifier": false,
132
  "binding": {
133
  "strength": "extensible",
134
- "description": "LOINC codes",
135
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes"
136
  }
137
  },
138
  {
139
  "id": "DiagnosticReport.subject",
140
  "path": "DiagnosticReport.subject",
141
- "short": "The subject of the report - usually, but not always, the patient",
142
  "definition": "The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources.",
143
- "requirements": "SHALL know the subject context.",
144
- "alias": [
145
- "Patient"
146
- ],
147
  "min": 1,
148
- "max": "1",
149
- "base": {
150
- "path": "DiagnosticReport.subject",
151
- "min": 0,
152
- "max": "1"
153
- },
154
  "type": [
155
  {
156
  "code": "Reference",
157
  "targetProfile": [
158
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
159
  ]
160
  }
161
  ],
162
- "mustSupport": true,
163
- "isModifier": false,
164
- "isSummary": true
165
  },
166
  {
167
  "id": "DiagnosticReport.encounter",
168
  "path": "DiagnosticReport.encounter",
@@ -173,111 +150,55 @@
173
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"
174
  ]
175
  }
176
  ],
177
- "mustSupport": true,
178
- "isModifier": false
179
  },
180
  {
181
  "id": "DiagnosticReport.effective[x]",
182
  "path": "DiagnosticReport.effective[x]",
183
  "min": 1,
184
- "max": "1",
185
  "type": [
186
  {
 
187
  "extension": [
188
  {
189
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
190
  "valueBoolean": true
191
  }
192
- ],
193
- "code": "dateTime"
194
  },
195
  {
196
  "code": "Period"
197
  }
198
  ],
199
- "mustSupport": true,
200
- "isModifier": false
201
  },
202
  {
203
  "id": "DiagnosticReport.issued",
204
  "path": "DiagnosticReport.issued",
205
- "min": 0,
206
- "max": "1",
207
- "type": [
208
- {
209
- "code": "instant"
210
- }
211
- ],
212
- "mustSupport": true,
213
- "isModifier": false
214
  },
215
  {
216
  "id": "DiagnosticReport.performer",
217
  "path": "DiagnosticReport.performer",
218
- "min": 0,
219
- "max": "*",
220
  "type": [
221
  {
222
  "code": "Reference",
223
  "targetProfile": [
224
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
225
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
226
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
227
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam"
228
- ],
229
- "_targetProfile": [
230
- {
231
- "extension": [
232
- {
233
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
234
- "valueBoolean": true
235
- }
236
- ]
237
- },
238
- {
239
- "extension": [
240
- {
241
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
242
- "valueBoolean": true
243
- }
244
- ]
245
- },
246
- {
247
- "extension": [
248
- {
249
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
250
- "valueBoolean": false
251
- }
252
- ]
253
- },
254
- {
255
- "extension": [
256
- {
257
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
258
- "valueBoolean": false
259
- }
260
- ]
261
- }
262
  ]
263
  }
264
  ],
265
- "mustSupport": true,
266
- "isModifier": false
267
  },
268
  {
269
  "id": "DiagnosticReport.presentedForm",
270
  "path": "DiagnosticReport.presentedForm",
271
- "min": 0,
272
- "max": "*",
273
- "type": [
274
- {
275
- "code": "Attachment"
276
- }
277
- ],
278
- "mustSupport": true,
279
- "isModifier": false
280
  }
281
  ]
282
  }
283
  }
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-diagnosticreport-note",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Diagnostics"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note",
15
  "version": "3.2.0",
16
  "name": "USCoreDiagnosticReportProfileNoteExchange",
17
  "title": "US Core DiagnosticReport Profile for Report and Note exchange",
33
  "jurisdiction": [
34
  {
35
  "coding": [
36
  {
37
+ "code": "US",
38
+ "system": "urn:iso:std:iso:3166"
39
  }
40
  ]
41
  }
42
  ],
68
  "abstract": false,
69
  "type": "DiagnosticReport",
70
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
71
  "derivation": "constraint",
 
72
  "differential": {
73
  "element": [
74
  {
75
  "id": "DiagnosticReport",
77
  "short": "US Core Diagnostic Report Profile for Report and Note exchange",
78
  "definition": "The US Core Diagnostic Report Profile for Report and Note exchange is based upon the requirements of the Argonauts to exchang imaginge reports.",
79
  "alias": [
80
  "Imaging Report",
81
+ "Radiology Report",
82
+ "Result",
83
+ "Results",
84
+ "Labs",
85
+ "Laboratory"
86
  ],
87
+ "mustSupport": false
 
88
  },
89
  {
90
  "id": "DiagnosticReport.status",
91
  "path": "DiagnosticReport.status",
 
 
 
 
 
 
 
92
  "mustSupport": true,
93
  "isModifier": false,
94
  "binding": {
95
  "strength": "required",
105
  "service",
106
  "discipline"
107
  ],
108
  "min": 1,
 
 
 
 
 
109
  "mustSupport": true,
 
110
  "binding": {
111
  "strength": "extensible",
112
  "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category"
113
  }
117
  "path": "DiagnosticReport.code",
118
  "short": "US Core Report Code",
119
  "definition": "The test, panel, report, or note that was ordered.",
120
  "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.",
 
 
 
 
 
 
 
121
  "mustSupport": true,
 
122
  "binding": {
123
  "strength": "extensible",
124
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes",
125
+ "description": "LOINC codes"
126
  }
127
  },
128
  {
129
  "id": "DiagnosticReport.subject",
130
  "path": "DiagnosticReport.subject",
 
131
  "definition": "The subject of the report. Usually, but not always, this is a patient. However diagnostic services also perform analyses on specimens collected from a variety of other sources.",
 
 
 
 
132
  "min": 1,
 
 
 
 
 
 
133
  "type": [
134
  {
135
  "code": "Reference",
136
  "targetProfile": [
137
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
138
  ]
139
  }
140
  ],
141
+ "mustSupport": true
 
 
142
  },
143
  {
144
  "id": "DiagnosticReport.encounter",
145
  "path": "DiagnosticReport.encounter",
150
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"
151
  ]
152
  }
153
  ],
154
+ "mustSupport": true
 
155
  },
156
  {
157
  "id": "DiagnosticReport.effective[x]",
158
  "path": "DiagnosticReport.effective[x]",
159
  "min": 1,
 
160
  "type": [
161
  {
162
+ "code": "dateTime",
163
  "extension": [
164
  {
165
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
166
  "valueBoolean": true
167
  }
168
+ ]
 
169
  },
170
  {
171
  "code": "Period"
172
  }
173
  ],
174
+ "mustSupport": true
 
175
  },
176
  {
177
  "id": "DiagnosticReport.issued",
178
  "path": "DiagnosticReport.issued",
179
+ "mustSupport": true
 
 
 
 
 
 
 
 
180
  },
181
  {
182
  "id": "DiagnosticReport.performer",
183
  "path": "DiagnosticReport.performer",
 
 
184
  "type": [
185
  {
186
  "code": "Reference",
187
  "targetProfile": [
188
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
189
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
190
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
191
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  ]
193
  }
194
  ],
195
+ "mustSupport": true
 
196
  },
197
  {
198
  "id": "DiagnosticReport.presentedForm",
199
  "path": "DiagnosticReport.presentedForm",
200
+ "mustSupport": true
 
 
 
 
 
 
 
 
201
  }
202
  ]
203
  }
204
  }
StructureDefinition-us-core-direct.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-direct.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-direct",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct",
6
  "version": "3.2.0",
7
  "name": "USCoreDirectEmailExtension",
8
  "title": "US Core Direct email Extension",
@@ -24,10 +23,10 @@
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
- "system": "urn:iso:std:iso:3166",
29
- "code": "US"
30
  }
31
  ]
32
  }
33
  ],
@@ -37,8 +36,11 @@
37
  {
38
  "identity": "rim",
39
  "uri": "http://hl7.org/v3",
40
  "name": "RIM Mapping"
 
 
 
41
  }
42
  ],
43
  "kind": "complex-type",
44
  "abstract": false,
@@ -50,37 +52,54 @@
50
  ],
51
  "type": "Extension",
52
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
53
  "derivation": "constraint",
54
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
55
  "differential": {
56
  "element": [
57
  {
58
  "id": "Extension",
59
  "path": "Extension",
60
  "short": "Email is a \"direct\" email",
61
  "definition": "This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification. This extension can only be used on contact points where the system = 'email'",
62
  "comment": "This extension can only be used on contact points where the system = 'email'.",
63
- "min": 0,
64
  "max": "1",
65
- "isModifier": false,
66
  "mapping": [
67
  {
 
 
 
 
68
  "identity": "v2",
69
  "map": "No v2 equivalent"
70
- },
71
- {
72
- "identity": "rim",
73
- "map": "No RIM equivalent"
74
  }
75
  ]
76
  },
77
  {
 
 
 
 
 
78
  "id": "Extension.url",
79
  "path": "Extension.url",
80
  "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct"
81
  },
82
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  "id": "Extension.valueBoolean",
84
  "path": "Extension.valueBoolean",
85
  "min": 1,
86
  "max": "1",
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-direct",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct",
5
  "version": "3.2.0",
6
  "name": "USCoreDirectEmailExtension",
7
  "title": "US Core Direct email Extension",
23
  "jurisdiction": [
24
  {
25
  "coding": [
26
  {
27
+ "code": "US",
28
+ "system": "urn:iso:std:iso:3166"
29
  }
30
  ]
31
  }
32
  ],
36
  {
37
  "identity": "rim",
38
  "uri": "http://hl7.org/v3",
39
  "name": "RIM Mapping"
40
+ },
41
+ {
42
+ "identity": "v2"
43
  }
44
  ],
45
  "kind": "complex-type",
46
  "abstract": false,
52
  ],
53
  "type": "Extension",
54
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
55
  "derivation": "constraint",
 
56
  "differential": {
57
  "element": [
58
  {
59
  "id": "Extension",
60
  "path": "Extension",
61
  "short": "Email is a \"direct\" email",
62
  "definition": "This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification. This extension can only be used on contact points where the system = 'email'",
63
  "comment": "This extension can only be used on contact points where the system = 'email'.",
 
64
  "max": "1",
 
65
  "mapping": [
66
  {
67
+ "identity": "rim",
68
+ "map": "No RIM equivalent"
69
+ },
70
+ {
71
  "identity": "v2",
72
  "map": "No v2 equivalent"
 
 
 
 
73
  }
74
  ]
75
  },
76
  {
77
+ "id": "Extension.extension",
78
+ "path": "Extension.extension",
79
+ "max": "0"
80
+ },
81
+ {
82
  "id": "Extension.url",
83
  "path": "Extension.url",
84
  "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct"
85
  },
86
  {
87
+ "id": "Extension.value[x]",
88
+ "path": "Extension.value[x]",
89
+ "slicing": {
90
+ "discriminator": [
91
+ {
92
+ "type": "type",
93
+ "path": "$this"
94
+ }
95
+ ],
96
+ "ordered": false,
97
+ "rules": "open"
98
+ },
99
+ "min": 1
100
+ },
101
+ {
102
  "id": "Extension.valueBoolean",
103
  "path": "Extension.valueBoolean",
104
  "min": 1,
105
  "max": "1",
StructureDefinition-us-core-documentreference.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-documentreference.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-documentreference",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference",
6
  "version": "3.2.0",
7
  "name": "USCoreDocumentReferenceProfile",
8
  "title": "US Core DocumentReference Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -75,9 +84,8 @@
75
  "abstract": false,
76
  "type": "DocumentReference",
77
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference",
78
  "derivation": "constraint",
79
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
80
  "differential": {
81
  "element": [
82
  {
83
  "id": "DocumentReference",
@@ -87,17 +95,13 @@
87
  },
88
  {
89
  "id": "DocumentReference.identifier",
90
  "path": "DocumentReference.identifier",
91
- "min": 0,
92
- "max": "*",
93
  "mustSupport": true
94
  },
95
  {
96
  "id": "DocumentReference.status",
97
  "path": "DocumentReference.status",
98
- "min": 1,
99
- "max": "1",
100
  "mustSupport": true,
101
  "binding": {
102
  "strength": "required",
103
  "valueSet": "http://hl7.org/fhir/ValueSet/document-reference-status"
@@ -106,39 +110,36 @@
106
  {
107
  "id": "DocumentReference.type",
108
  "path": "DocumentReference.type",
109
  "min": 1,
110
- "max": "1",
111
  "mustSupport": true,
112
  "binding": {
 
 
113
  "extension": [
114
  {
115
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet",
116
  "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type"
117
  }
118
  ],
119
- "strength": "required",
120
- "description": "All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'",
121
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type"
122
  }
123
  },
124
  {
125
  "id": "DocumentReference.category",
126
  "path": "DocumentReference.category",
127
  "min": 1,
128
- "max": "*",
129
  "mustSupport": true,
130
  "binding": {
131
  "strength": "extensible",
132
- "description": "The US Core DocumentReferences Type Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.",
133
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category"
134
  }
135
  },
136
  {
137
  "id": "DocumentReference.subject",
138
  "path": "DocumentReference.subject",
139
  "min": 1,
140
- "max": "1",
141
  "type": [
142
  {
143
  "code": "Reference",
144
  "targetProfile": [
@@ -150,17 +151,13 @@
150
  },
151
  {
152
  "id": "DocumentReference.date",
153
  "path": "DocumentReference.date",
154
- "min": 0,
155
- "max": "1",
156
  "mustSupport": true
157
  },
158
  {
159
  "id": "DocumentReference.author",
160
  "path": "DocumentReference.author",
161
- "min": 0,
162
- "max": "*",
163
  "type": [
164
  {
165
  "code": "Reference",
166
  "targetProfile": [
@@ -169,58 +166,8 @@
169
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
170
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
171
  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
172
  "http://hl7.org/fhir/StructureDefinition/Device"
173
- ],
174
- "_targetProfile": [
175
- {
176
- "extension": [
177
- {
178
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
179
- "valueBoolean": true
180
- }
181
- ]
182
- },
183
- {
184
- "extension": [
185
- {
186
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
187
- "valueBoolean": false
188
- }
189
- ]
190
- },
191
- {
192
- "extension": [
193
- {
194
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
195
- "valueBoolean": false
196
- }
197
- ]
198
- },
199
- {
200
- "extension": [
201
- {
202
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
203
- "valueBoolean": false
204
- }
205
- ]
206
- },
207
- {
208
- "extension": [
209
- {
210
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
211
- "valueBoolean": false
212
- }
213
- ]
214
- },
215
- {
216
- "extension": [
217
- {
218
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
219
- "valueBoolean": false
220
- }
221
- ]
222
- }
223
  ]
224
  }
225
  ],
226
  "mustSupport": true
@@ -240,60 +187,50 @@
240
  },
241
  {
242
  "id": "DocumentReference.content",
243
  "path": "DocumentReference.content",
244
- "min": 1,
245
- "max": "*",
246
  "mustSupport": true
247
  },
248
  {
249
  "id": "DocumentReference.content.attachment",
250
  "path": "DocumentReference.content.attachment",
251
- "min": 1,
252
- "max": "1",
253
  "constraint": [
254
  {
255
  "key": "us-core-6",
256
  "severity": "error",
257
  "human": "DocumentReference.content.attachment.url or DocumentReference.content.attachment.data or both SHALL be present.",
258
  "expression": "url.exists() or data.exists()",
259
- "xpath": "f:url or f:content"
 
260
  }
261
  ],
262
  "mustSupport": true
263
  },
264
  {
265
  "id": "DocumentReference.content.attachment.contentType",
266
  "path": "DocumentReference.content.attachment.contentType",
267
  "min": 1,
268
- "max": "1",
269
  "mustSupport": true
270
  },
271
  {
272
  "id": "DocumentReference.content.attachment.data",
273
  "path": "DocumentReference.content.attachment.data",
274
- "min": 0,
275
- "max": "1",
276
  "condition": [
277
  "us-core-6"
278
  ],
279
  "mustSupport": true
280
  },
281
  {
282
  "id": "DocumentReference.content.attachment.url",
283
  "path": "DocumentReference.content.attachment.url",
284
- "min": 0,
285
- "max": "1",
286
  "condition": [
287
  "us-core-6"
288
  ],
289
  "mustSupport": true
290
  },
291
  {
292
  "id": "DocumentReference.content.format",
293
  "path": "DocumentReference.content.format",
294
- "min": 0,
295
- "max": "1",
296
  "mustSupport": true,
297
  "binding": {
298
  "strength": "extensible",
299
  "valueSet": "http://hl7.org/fhir/ValueSet/formatcodes"
@@ -301,16 +238,13 @@
301
  },
302
  {
303
  "id": "DocumentReference.context",
304
  "path": "DocumentReference.context",
305
- "min": 0,
306
- "max": "1",
307
  "mustSupport": true
308
  },
309
  {
310
  "id": "DocumentReference.context.encounter",
311
  "path": "DocumentReference.context.encounter",
312
- "min": 0,
313
  "max": "1",
314
  "type": [
315
  {
316
  "code": "Reference",
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-documentreference",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Foundation.Documents"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "not-classified"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference",
15
  "version": "3.2.0",
16
  "name": "USCoreDocumentReferenceProfile",
17
  "title": "US Core DocumentReference Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
84
  "abstract": false,
85
  "type": "DocumentReference",
86
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference",
87
  "derivation": "constraint",
 
88
  "differential": {
89
  "element": [
90
  {
91
  "id": "DocumentReference",
95
  },
96
  {
97
  "id": "DocumentReference.identifier",
98
  "path": "DocumentReference.identifier",
 
 
99
  "mustSupport": true
100
  },
101
  {
102
  "id": "DocumentReference.status",
103
  "path": "DocumentReference.status",
 
 
104
  "mustSupport": true,
105
  "binding": {
106
  "strength": "required",
107
  "valueSet": "http://hl7.org/fhir/ValueSet/document-reference-status"
110
  {
111
  "id": "DocumentReference.type",
112
  "path": "DocumentReference.type",
113
  "min": 1,
 
114
  "mustSupport": true,
115
  "binding": {
116
+ "strength": "required",
117
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type",
118
  "extension": [
119
  {
120
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet",
121
  "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type"
122
  }
123
  ],
124
+ "description": "All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'"
 
 
125
  }
126
  },
127
  {
128
  "id": "DocumentReference.category",
129
  "path": "DocumentReference.category",
130
  "min": 1,
 
131
  "mustSupport": true,
132
  "binding": {
133
  "strength": "extensible",
134
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category",
135
+ "description": "The US Core DocumentReferences Type Value Set is a 'starter set' of categories supported for fetching and storing clinical notes."
136
  }
137
  },
138
  {
139
  "id": "DocumentReference.subject",
140
  "path": "DocumentReference.subject",
141
  "min": 1,
 
142
  "type": [
143
  {
144
  "code": "Reference",
145
  "targetProfile": [
151
  },
152
  {
153
  "id": "DocumentReference.date",
154
  "path": "DocumentReference.date",
 
 
155
  "mustSupport": true
156
  },
157
  {
158
  "id": "DocumentReference.author",
159
  "path": "DocumentReference.author",
 
 
160
  "type": [
161
  {
162
  "code": "Reference",
163
  "targetProfile": [
166
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
167
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
168
  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
169
  "http://hl7.org/fhir/StructureDefinition/Device"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
  ]
171
  }
172
  ],
173
  "mustSupport": true
187
  },
188
  {
189
  "id": "DocumentReference.content",
190
  "path": "DocumentReference.content",
 
 
191
  "mustSupport": true
192
  },
193
  {
194
  "id": "DocumentReference.content.attachment",
195
  "path": "DocumentReference.content.attachment",
 
 
196
  "constraint": [
197
  {
198
  "key": "us-core-6",
199
  "severity": "error",
200
  "human": "DocumentReference.content.attachment.url or DocumentReference.content.attachment.data or both SHALL be present.",
201
  "expression": "url.exists() or data.exists()",
202
+ "xpath": "f:url or f:content",
203
+ "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"
204
  }
205
  ],
206
  "mustSupport": true
207
  },
208
  {
209
  "id": "DocumentReference.content.attachment.contentType",
210
  "path": "DocumentReference.content.attachment.contentType",
211
  "min": 1,
 
212
  "mustSupport": true
213
  },
214
  {
215
  "id": "DocumentReference.content.attachment.data",
216
  "path": "DocumentReference.content.attachment.data",
 
 
217
  "condition": [
218
  "us-core-6"
219
  ],
220
  "mustSupport": true
221
  },
222
  {
223
  "id": "DocumentReference.content.attachment.url",
224
  "path": "DocumentReference.content.attachment.url",
 
 
225
  "condition": [
226
  "us-core-6"
227
  ],
228
  "mustSupport": true
229
  },
230
  {
231
  "id": "DocumentReference.content.format",
232
  "path": "DocumentReference.content.format",
 
 
233
  "mustSupport": true,
234
  "binding": {
235
  "strength": "extensible",
236
  "valueSet": "http://hl7.org/fhir/ValueSet/formatcodes"
238
  },
239
  {
240
  "id": "DocumentReference.context",
241
  "path": "DocumentReference.context",
 
 
242
  "mustSupport": true
243
  },
244
  {
245
  "id": "DocumentReference.context.encounter",
246
  "path": "DocumentReference.context.encounter",
 
247
  "max": "1",
248
  "type": [
249
  {
250
  "code": "Reference",
StructureDefinition-us-core-encounter.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-encounter.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-encounter",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter",
6
  "version": "3.2.0",
7
  "name": "USCoreEncounterProfile",
8
  "title": "US Core Encounter Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -60,105 +69,58 @@
60
  "abstract": false,
61
  "type": "Encounter",
62
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter",
63
  "derivation": "constraint",
64
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
65
  "differential": {
66
  "element": [
67
  {
68
  "id": "Encounter",
69
  "path": "Encounter",
70
  "definition": "This is basic constraint on Encounter for use in US Core resources.",
71
- "alias": [
72
- "Visit"
73
- ],
74
  "mustSupport": false
75
  },
76
  {
77
  "id": "Encounter.identifier",
78
  "path": "Encounter.identifier",
79
- "min": 0,
80
- "max": "*",
81
- "type": [
82
- {
83
- "code": "Identifier"
84
- }
85
- ],
86
  "mustSupport": true
87
  },
88
  {
89
  "id": "Encounter.identifier.system",
90
  "path": "Encounter.identifier.system",
91
  "min": 1,
92
- "max": "1",
93
- "type": [
94
- {
95
- "code": "uri"
96
- }
97
- ],
98
  "mustSupport": true
99
  },
100
  {
101
  "id": "Encounter.identifier.value",
102
  "path": "Encounter.identifier.value",
103
  "min": 1,
104
- "max": "1",
105
- "type": [
106
- {
107
- "code": "string"
108
- }
109
- ],
110
  "mustSupport": true
111
  },
112
  {
113
  "id": "Encounter.status",
114
  "path": "Encounter.status",
115
- "min": 1,
116
- "max": "1",
117
- "type": [
118
- {
119
- "code": "code"
120
- }
121
- ],
122
  "mustSupport": true
123
  },
124
  {
125
  "id": "Encounter.class",
126
  "path": "Encounter.class",
127
- "min": 1,
128
- "max": "1",
129
- "type": [
130
- {
131
- "code": "Coding"
132
- }
133
- ],
134
  "mustSupport": true
135
  },
136
  {
137
  "id": "Encounter.type",
138
  "path": "Encounter.type",
139
  "min": 1,
140
- "max": "*",
141
- "type": [
142
- {
143
- "code": "CodeableConcept"
144
- }
145
- ],
146
  "mustSupport": true,
147
  "binding": {
148
  "strength": "extensible",
149
- "description": "Valueset to describe the Encounter Type",
150
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type"
151
  }
152
  },
153
  {
154
  "id": "Encounter.subject",
155
  "path": "Encounter.subject",
156
- "alias": [
157
- "patient"
158
- ],
159
  "min": 1,
160
- "max": "1",
161
  "type": [
162
  {
163
  "code": "Reference",
164
  "targetProfile": [
@@ -170,111 +132,48 @@
170
  },
171
  {
172
  "id": "Encounter.participant",
173
  "path": "Encounter.participant",
174
- "min": 0,
175
- "max": "*",
176
  "mustSupport": true
177
  },
178
  {
179
  "id": "Encounter.participant.type",
180
  "path": "Encounter.participant.type",
181
- "min": 0,
182
- "max": "*",
183
- "type": [
184
- {
185
- "code": "CodeableConcept"
186
- }
187
- ],
188
  "mustSupport": true
189
  },
190
  {
191
  "id": "Encounter.participant.period",
192
  "path": "Encounter.participant.period",
193
- "min": 0,
194
- "max": "1",
195
- "type": [
196
- {
197
- "code": "Period"
198
- }
199
- ],
200
  "mustSupport": true
201
  },
202
  {
203
  "id": "Encounter.participant.individual",
204
  "path": "Encounter.participant.individual",
205
- "min": 0,
206
- "max": "1",
207
  "type": [
208
  {
209
  "code": "Reference",
210
  "targetProfile": [
211
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
212
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
213
  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
214
- ],
215
- "_targetProfile": [
216
- {
217
- "extension": [
218
- {
219
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
220
- "valueBoolean": true
221
- }
222
- ]
223
- },
224
- {
225
- "extension": [
226
- {
227
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
228
- "valueBoolean": false
229
- }
230
- ]
231
- },
232
- {
233
- "extension": [
234
- {
235
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
236
- "valueBoolean": false
237
- }
238
- ]
239
- }
240
  ]
241
  }
242
  ],
243
  "mustSupport": true
244
  },
245
  {
246
  "id": "Encounter.period",
247
  "path": "Encounter.period",
248
- "min": 0,
249
- "max": "1",
250
- "type": [
251
- {
252
- "code": "Period"
253
- }
254
- ],
255
  "mustSupport": true
256
  },
257
  {
258
  "id": "Encounter.reasonCode",
259
  "path": "Encounter.reasonCode",
260
- "alias": [
261
- "Indication",
262
- "Admission diagnosis"
263
- ],
264
- "min": 0,
265
- "max": "*",
266
- "type": [
267
- {
268
- "code": "CodeableConcept"
269
- }
270
- ],
271
  "mustSupport": true
272
  },
273
  {
274
  "id": "Encounter.reasonReference",
275
  "path": "Encounter.reasonReference",
276
- "min": 0,
277
  "max": "1",
278
  "type": [
279
  {
280
  "code": "Reference",
@@ -282,93 +181,36 @@
282
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition",
283
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure",
284
  "http://hl7.org/fhir/StructureDefinition/Observation",
285
  "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation"
286
- ],
287
- "_targetProfile": [
288
- {
289
- "extension": [
290
- {
291
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
292
- "valueBoolean": true
293
- }
294
- ]
295
- },
296
- {
297
- "extension": [
298
- {
299
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
300
- "valueBoolean": false
301
- }
302
- ]
303
- },
304
- {
305
- "extension": [
306
- {
307
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
308
- "valueBoolean": false
309
- }
310
- ]
311
- },
312
- {
313
- "extension": [
314
- {
315
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
316
- "valueBoolean": false
317
- }
318
- ]
319
- }
320
  ]
321
  }
322
  ],
323
  "mustSupport": true
324
  },
325
  {
326
  "id": "Encounter.hospitalization",
327
  "path": "Encounter.hospitalization",
328
- "min": 0,
329
- "max": "1",
330
  "mustSupport": true
331
  },
332
  {
333
  "id": "Encounter.hospitalization.dischargeDisposition",
334
  "path": "Encounter.hospitalization.dischargeDisposition",
335
- "min": 0,
336
- "max": "1",
337
- "type": [
338
- {
339
- "code": "CodeableConcept"
340
- }
341
- ],
342
  "mustSupport": true
343
  },
344
  {
345
  "id": "Encounter.location",
346
  "path": "Encounter.location",
347
- "min": 0,
348
- "max": "*",
349
  "mustSupport": true
350
  },
351
  {
352
  "id": "Encounter.location.location",
353
  "path": "Encounter.location.location",
354
- "min": 1,
355
- "max": "1",
356
- "type": [
357
- {
358
- "code": "Reference",
359
- "targetProfile": [
360
- "http://hl7.org/fhir/StructureDefinition/Location"
361
- ]
362
- }
363
- ],
364
  "mustSupport": true
365
  },
366
  {
367
  "id": "Encounter.serviceProvider",
368
  "path": "Encounter.serviceProvider",
369
- "min": 0,
370
- "max": "1",
371
  "type": [
372
  {
373
  "code": "Reference",
374
  "targetProfile": [
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-encounter",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Base.Management"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter",
15
  "version": "3.2.0",
16
  "name": "USCoreEncounterProfile",
17
  "title": "US Core Encounter Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
69
  "abstract": false,
70
  "type": "Encounter",
71
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Encounter",
77
  "path": "Encounter",
78
  "definition": "This is basic constraint on Encounter for use in US Core resources.",
 
 
 
79
  "mustSupport": false
80
  },
81
  {
82
  "id": "Encounter.identifier",
83
  "path": "Encounter.identifier",
 
 
 
 
 
 
 
84
  "mustSupport": true
85
  },
86
  {
87
  "id": "Encounter.identifier.system",
88
  "path": "Encounter.identifier.system",
89
  "min": 1,
 
 
 
 
 
 
90
  "mustSupport": true
91
  },
92
  {
93
  "id": "Encounter.identifier.value",
94
  "path": "Encounter.identifier.value",
95
  "min": 1,
 
 
 
 
 
 
96
  "mustSupport": true
97
  },
98
  {
99
  "id": "Encounter.status",
100
  "path": "Encounter.status",
 
 
 
 
 
 
 
101
  "mustSupport": true
102
  },
103
  {
104
  "id": "Encounter.class",
105
  "path": "Encounter.class",
 
 
 
 
 
 
 
106
  "mustSupport": true
107
  },
108
  {
109
  "id": "Encounter.type",
110
  "path": "Encounter.type",
111
  "min": 1,
 
 
 
 
 
 
112
  "mustSupport": true,
113
  "binding": {
114
  "strength": "extensible",
115
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type",
116
+ "description": "Valueset to describe the Encounter Type"
117
  }
118
  },
119
  {
120
  "id": "Encounter.subject",
121
  "path": "Encounter.subject",
 
 
 
122
  "min": 1,
 
123
  "type": [
124
  {
125
  "code": "Reference",
126
  "targetProfile": [
132
  },
133
  {
134
  "id": "Encounter.participant",
135
  "path": "Encounter.participant",
 
 
136
  "mustSupport": true
137
  },
138
  {
139
  "id": "Encounter.participant.type",
140
  "path": "Encounter.participant.type",
 
 
 
 
 
 
 
141
  "mustSupport": true
142
  },
143
  {
144
  "id": "Encounter.participant.period",
145
  "path": "Encounter.participant.period",
 
 
 
 
 
 
 
146
  "mustSupport": true
147
  },
148
  {
149
  "id": "Encounter.participant.individual",
150
  "path": "Encounter.participant.individual",
 
 
151
  "type": [
152
  {
153
  "code": "Reference",
154
  "targetProfile": [
155
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
156
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
157
  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  ]
159
  }
160
  ],
161
  "mustSupport": true
162
  },
163
  {
164
  "id": "Encounter.period",
165
  "path": "Encounter.period",
 
 
 
 
 
 
 
166
  "mustSupport": true
167
  },
168
  {
169
  "id": "Encounter.reasonCode",
170
  "path": "Encounter.reasonCode",
 
 
 
 
 
 
 
 
 
 
 
171
  "mustSupport": true
172
  },
173
  {
174
  "id": "Encounter.reasonReference",
175
  "path": "Encounter.reasonReference",
 
176
  "max": "1",
177
  "type": [
178
  {
179
  "code": "Reference",
181
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition",
182
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure",
183
  "http://hl7.org/fhir/StructureDefinition/Observation",
184
  "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
  ]
186
  }
187
  ],
188
  "mustSupport": true
189
  },
190
  {
191
  "id": "Encounter.hospitalization",
192
  "path": "Encounter.hospitalization",
 
 
193
  "mustSupport": true
194
  },
195
  {
196
  "id": "Encounter.hospitalization.dischargeDisposition",
197
  "path": "Encounter.hospitalization.dischargeDisposition",
 
 
 
 
 
 
 
198
  "mustSupport": true
199
  },
200
  {
201
  "id": "Encounter.location",
202
  "path": "Encounter.location",
 
 
203
  "mustSupport": true
204
  },
205
  {
206
  "id": "Encounter.location.location",
207
  "path": "Encounter.location.location",
 
 
 
 
 
 
 
 
 
 
208
  "mustSupport": true
209
  },
210
  {
211
  "id": "Encounter.serviceProvider",
212
  "path": "Encounter.serviceProvider",
 
 
213
  "type": [
214
  {
215
  "code": "Reference",
216
  "targetProfile": [
StructureDefinition-us-core-ethnicity.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-ethnicity.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-ethnicity",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
6
  "version": "3.2.0",
7
  "name": "USCoreEthnicityExtension",
8
  "title": "US Core Ethnicity Extension",
@@ -24,10 +23,10 @@
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
- "system": "urn:iso:std:iso:3166",
29
- "code": "US"
30
  }
31
  ]
32
  }
33
  ],
@@ -38,8 +37,11 @@
38
  {
39
  "identity": "rim",
40
  "uri": "http://hl7.org/v3",
41
  "name": "RIM Mapping"
 
 
 
42
  }
43
  ],
44
  "kind": "complex-type",
45
  "abstract": false,
@@ -51,32 +53,30 @@
51
  ],
52
  "type": "Extension",
53
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
54
  "derivation": "constraint",
55
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
56
  "differential": {
57
  "element": [
58
  {
59
  "id": "Extension",
60
  "path": "Extension",
61
  "short": "US Core ethnicity Extension",
62
  "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.",
63
- "min": 0,
64
  "max": "1"
65
  },
66
  {
 
 
 
 
 
67
  "id": "Extension.extension:ombCategory",
68
  "path": "Extension.extension",
69
  "sliceName": "ombCategory",
70
  "short": "Hispanic or Latino|Not Hispanic or Latino",
71
  "definition": "The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).",
72
  "min": 0,
73
  "max": "1",
74
- "type": [
75
- {
76
- "code": "Extension"
77
- }
78
- ],
79
  "mustSupport": true,
80
  "mapping": [
81
  {
82
  "identity": "iso11179",
@@ -84,24 +84,21 @@
84
  }
85
  ]
86
  },
87
  {
 
 
 
 
 
88
  "id": "Extension.extension:ombCategory.url",
89
  "path": "Extension.extension.url",
90
- "min": 1,
91
- "max": "1",
92
- "type": [
93
- {
94
- "code": "uri"
95
- }
96
- ],
97
  "fixedUri": "ombCategory"
98
  },
99
  {
100
  "id": "Extension.extension:ombCategory.value[x]",
101
  "path": "Extension.extension.value[x]",
102
  "min": 1,
103
- "max": "1",
104
  "type": [
105
  {
106
  "code": "Coding"
107
  }
@@ -118,37 +115,29 @@
118
  "short": "Extended ethnicity codes",
119
  "definition": "The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.",
120
  "min": 0,
121
  "max": "*",
122
- "type": [
123
- {
124
- "code": "Extension"
125
- }
126
- ],
127
  "mapping": [
128
  {
129
  "identity": "iso11179",
130
  "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode"
131
  }
132
  ]
133
  },
134
  {
 
 
 
 
 
135
  "id": "Extension.extension:detailed.url",
136
  "path": "Extension.extension.url",
137
- "min": 1,
138
- "max": "1",
139
- "type": [
140
- {
141
- "code": "uri"
142
- }
143
- ],
144
  "fixedUri": "detailed"
145
  },
146
  {
147
  "id": "Extension.extension:detailed.value[x]",
148
  "path": "Extension.extension.value[x]",
149
  "min": 1,
150
- "max": "1",
151
  "type": [
152
  {
153
  "code": "Coding"
154
  }
@@ -165,32 +154,24 @@
165
  "short": "ethnicity Text",
166
  "definition": "Plain text representation of the ethnicity concept(s).",
167
  "min": 1,
168
  "max": "1",
169
- "type": [
170
- {
171
- "code": "Extension"
172
- }
173
- ],
174
  "mustSupport": true
175
  },
176
  {
 
 
 
 
 
177
  "id": "Extension.extension:text.url",
178
  "path": "Extension.extension.url",
179
- "min": 1,
180
- "max": "1",
181
- "type": [
182
- {
183
- "code": "uri"
184
- }
185
- ],
186
  "fixedUri": "text"
187
  },
188
  {
189
  "id": "Extension.extension:text.value[x]",
190
  "path": "Extension.extension.value[x]",
191
  "min": 1,
192
- "max": "1",
193
  "type": [
194
  {
195
  "code": "string"
196
  }
@@ -198,16 +179,13 @@
198
  },
199
  {
200
  "id": "Extension.url",
201
  "path": "Extension.url",
202
- "min": 1,
203
- "max": "1",
204
  "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
205
  },
206
  {
207
  "id": "Extension.value[x]",
208
  "path": "Extension.value[x]",
209
- "min": 0,
210
  "max": "0"
211
  }
212
  ]
213
  }
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-ethnicity",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
5
  "version": "3.2.0",
6
  "name": "USCoreEthnicityExtension",
7
  "title": "US Core Ethnicity Extension",
23
  "jurisdiction": [
24
  {
25
  "coding": [
26
  {
27
+ "code": "US",
28
+ "system": "urn:iso:std:iso:3166"
29
  }
30
  ]
31
  }
32
  ],
37
  {
38
  "identity": "rim",
39
  "uri": "http://hl7.org/v3",
40
  "name": "RIM Mapping"
41
+ },
42
+ {
43
+ "identity": "iso11179"
44
  }
45
  ],
46
  "kind": "complex-type",
47
  "abstract": false,
53
  ],
54
  "type": "Extension",
55
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
56
  "derivation": "constraint",
 
57
  "differential": {
58
  "element": [
59
  {
60
  "id": "Extension",
61
  "path": "Extension",
62
  "short": "US Core ethnicity Extension",
63
  "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.",
 
64
  "max": "1"
65
  },
66
  {
67
+ "id": "Extension.extension",
68
+ "path": "Extension.extension",
69
+ "min": 1
70
+ },
71
+ {
72
  "id": "Extension.extension:ombCategory",
73
  "path": "Extension.extension",
74
  "sliceName": "ombCategory",
75
  "short": "Hispanic or Latino|Not Hispanic or Latino",
76
  "definition": "The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).",
77
  "min": 0,
78
  "max": "1",
 
 
 
 
 
79
  "mustSupport": true,
80
  "mapping": [
81
  {
82
  "identity": "iso11179",
84
  }
85
  ]
86
  },
87
  {
88
+ "id": "Extension.extension:ombCategory.extension",
89
+ "path": "Extension.extension.extension",
90
+ "max": "0"
91
+ },
92
+ {
93
  "id": "Extension.extension:ombCategory.url",
94
  "path": "Extension.extension.url",
 
 
 
 
 
 
 
95
  "fixedUri": "ombCategory"
96
  },
97
  {
98
  "id": "Extension.extension:ombCategory.value[x]",
99
  "path": "Extension.extension.value[x]",
100
  "min": 1,
 
101
  "type": [
102
  {
103
  "code": "Coding"
104
  }
115
  "short": "Extended ethnicity codes",
116
  "definition": "The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.",
117
  "min": 0,
118
  "max": "*",
 
 
 
 
 
119
  "mapping": [
120
  {
121
  "identity": "iso11179",
122
  "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode"
123
  }
124
  ]
125
  },
126
  {
127
+ "id": "Extension.extension:detailed.extension",
128
+ "path": "Extension.extension.extension",
129
+ "max": "0"
130
+ },
131
+ {
132
  "id": "Extension.extension:detailed.url",
133
  "path": "Extension.extension.url",
 
 
 
 
 
 
 
134
  "fixedUri": "detailed"
135
  },
136
  {
137
  "id": "Extension.extension:detailed.value[x]",
138
  "path": "Extension.extension.value[x]",
139
  "min": 1,
 
140
  "type": [
141
  {
142
  "code": "Coding"
143
  }
154
  "short": "ethnicity Text",
155
  "definition": "Plain text representation of the ethnicity concept(s).",
156
  "min": 1,
157
  "max": "1",
 
 
 
 
 
158
  "mustSupport": true
159
  },
160
  {
161
+ "id": "Extension.extension:text.extension",
162
+ "path": "Extension.extension.extension",
163
+ "max": "0"
164
+ },
165
+ {
166
  "id": "Extension.extension:text.url",
167
  "path": "Extension.extension.url",
 
 
 
 
 
 
 
168
  "fixedUri": "text"
169
  },
170
  {
171
  "id": "Extension.extension:text.value[x]",
172
  "path": "Extension.extension.value[x]",
173
  "min": 1,
 
174
  "type": [
175
  {
176
  "code": "string"
177
  }
179
  },
180
  {
181
  "id": "Extension.url",
182
  "path": "Extension.url",
 
 
183
  "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
184
  },
185
  {
186
  "id": "Extension.value[x]",
187
  "path": "Extension.value[x]",
 
188
  "max": "0"
189
  }
190
  ]
191
  }
StructureDefinition-us-core-goal.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-goal.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-goal",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal",
6
  "version": "3.2.0",
7
  "name": "USCoreGoalProfile",
8
  "title": "US Core Goal Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -48,16 +57,18 @@
48
  {
49
  "identity": "w5",
50
  "uri": "http://hl7.org/fhir/fivews",
51
  "name": "FiveWs Pattern Mapping"
 
 
 
52
  }
53
  ],
54
  "kind": "resource",
55
  "abstract": false,
56
  "type": "Goal",
57
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Goal",
58
  "derivation": "constraint",
59
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
60
  "differential": {
61
  "element": [
62
  {
63
  "id": "Goal",
@@ -73,15 +84,8 @@
73
  },
74
  {
75
  "id": "Goal.lifecycleStatus",
76
  "path": "Goal.lifecycleStatus",
77
- "min": 1,
78
- "max": "1",
79
- "type": [
80
- {
81
- "code": "code"
82
- }
83
- ],
84
  "mustSupport": true,
85
  "binding": {
86
  "strength": "required",
87
  "valueSet": "http://hl7.org/fhir/ValueSet/goal-status"
@@ -95,15 +99,8 @@
95
  },
96
  {
97
  "id": "Goal.description",
98
  "path": "Goal.description",
99
- "min": 1,
100
- "max": "1",
101
- "type": [
102
- {
103
- "code": "CodeableConcept"
104
- }
105
- ],
106
  "mustSupport": true,
107
  "mapping": [
108
  {
109
  "identity": "argonaut-dq-dstu2",
@@ -113,10 +110,8 @@
113
  },
114
  {
115
  "id": "Goal.subject",
116
  "path": "Goal.subject",
117
- "min": 1,
118
- "max": "1",
119
  "type": [
120
  {
121
  "code": "Reference",
122
  "targetProfile": [
@@ -134,26 +129,22 @@
134
  },
135
  {
136
  "id": "Goal.target",
137
  "path": "Goal.target",
138
- "min": 0,
139
- "max": "*",
140
  "mustSupport": true
141
  },
142
  {
143
  "id": "Goal.target.due[x]",
144
  "path": "Goal.target.due[x]",
145
- "min": 0,
146
- "max": "1",
147
  "type": [
148
  {
 
149
  "extension": [
150
  {
151
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
152
  "valueBoolean": true
153
  }
154
- ],
155
- "code": "date"
156
  },
157
  {
158
  "code": "Duration"
159
  }
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-goal",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Care Provision"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal",
15
  "version": "3.2.0",
16
  "name": "USCoreGoalProfile",
17
  "title": "US Core Goal Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
57
  {
58
  "identity": "w5",
59
  "uri": "http://hl7.org/fhir/fivews",
60
  "name": "FiveWs Pattern Mapping"
61
+ },
62
+ {
63
+ "identity": "argonaut-dq-dstu2"
64
  }
65
  ],
66
  "kind": "resource",
67
  "abstract": false,
68
  "type": "Goal",
69
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Goal",
70
  "derivation": "constraint",
 
71
  "differential": {
72
  "element": [
73
  {
74
  "id": "Goal",
84
  },
85
  {
86
  "id": "Goal.lifecycleStatus",
87
  "path": "Goal.lifecycleStatus",
 
 
 
 
 
 
 
88
  "mustSupport": true,
89
  "binding": {
90
  "strength": "required",
91
  "valueSet": "http://hl7.org/fhir/ValueSet/goal-status"
99
  },
100
  {
101
  "id": "Goal.description",
102
  "path": "Goal.description",
 
 
 
 
 
 
 
103
  "mustSupport": true,
104
  "mapping": [
105
  {
106
  "identity": "argonaut-dq-dstu2",
110
  },
111
  {
112
  "id": "Goal.subject",
113
  "path": "Goal.subject",
 
 
114
  "type": [
115
  {
116
  "code": "Reference",
117
  "targetProfile": [
129
  },
130
  {
131
  "id": "Goal.target",
132
  "path": "Goal.target",
 
 
133
  "mustSupport": true
134
  },
135
  {
136
  "id": "Goal.target.due[x]",
137
  "path": "Goal.target.due[x]",
 
 
138
  "type": [
139
  {
140
+ "code": "date",
141
  "extension": [
142
  {
143
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
144
  "valueBoolean": true
145
  }
146
+ ]
 
147
  },
148
  {
149
  "code": "Duration"
150
  }
StructureDefinition-us-core-head-circumference.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-head-circumference.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-head-circumference",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference",
6
  "version": "3.2.0",
7
  "name": "USCoreHeadCircumferenceProfile",
8
  "title": "US Core Head Circumference Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -83,78 +81,59 @@
83
  {
84
  "id": "Observation.code",
85
  "path": "Observation.code",
86
  "short": "Head Circumference",
87
- "type": [
88
- {
89
- "code": "CodeableConcept"
90
- }
91
- ],
92
  "patternCodeableConcept": {
93
  "coding": [
94
  {
95
- "system": "http://loinc.org",
96
- "code": "9843-4"
97
  }
98
  ]
99
- },
100
- "mustSupport": true
101
  },
102
  {
103
  "id": "Observation.valueQuantity",
104
  "path": "Observation.valueQuantity",
105
  "min": 0,
106
  "max": "1",
 
 
 
 
 
 
 
 
 
 
 
107
  "mustSupport": true
108
  },
109
  {
110
  "id": "Observation.valueQuantity.value",
111
  "path": "Observation.valueQuantity.value",
112
  "min": 1,
113
- "max": "1",
114
- "type": [
115
- {
116
- "code": "decimal"
117
- }
118
- ],
119
  "mustSupport": true
120
  },
121
  {
122
  "id": "Observation.valueQuantity.unit",
123
  "path": "Observation.valueQuantity.unit",
124
  "min": 1,
125
- "max": "1",
126
- "type": [
127
- {
128
- "code": "string"
129
- }
130
- ],
131
  "mustSupport": true
132
  },
133
  {
134
  "id": "Observation.valueQuantity.system",
135
  "path": "Observation.valueQuantity.system",
136
  "min": 1,
137
- "max": "1",
138
- "type": [
139
- {
140
- "code": "uri"
141
- }
142
- ],
143
  "fixedUri": "http://unitsofmeasure.org",
144
  "mustSupport": true
145
  },
146
  {
147
  "id": "Observation.valueQuantity.code",
148
  "path": "Observation.valueQuantity.code",
149
  "short": "Coded responses from the common UCUM units for vital signs value set.",
150
  "min": 1,
151
- "max": "1",
152
- "type": [
153
- {
154
- "code": "code"
155
- }
156
- ],
157
  "mustSupport": true,
158
  "binding": {
159
  "strength": "required",
160
  "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1"
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-head-circumference",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference",
5
  "version": "3.2.0",
6
  "name": "USCoreHeadCircumferenceProfile",
7
  "title": "US Core Head Circumference Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
81
  {
82
  "id": "Observation.code",
83
  "path": "Observation.code",
84
  "short": "Head Circumference",
 
 
 
 
 
85
  "patternCodeableConcept": {
86
  "coding": [
87
  {
88
+ "code": "9843-4",
89
+ "system": "http://loinc.org"
90
  }
91
  ]
92
+ }
 
93
  },
94
  {
95
  "id": "Observation.valueQuantity",
96
  "path": "Observation.valueQuantity",
97
  "min": 0,
98
  "max": "1",
99
+ "type": [
100
+ {
101
+ "code": "Quantity",
102
+ "extension": [
103
+ {
104
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
105
+ "valueBoolean": true
106
+ }
107
+ ]
108
+ }
109
+ ],
110
  "mustSupport": true
111
  },
112
  {
113
  "id": "Observation.valueQuantity.value",
114
  "path": "Observation.valueQuantity.value",
115
  "min": 1,
 
 
 
 
 
 
116
  "mustSupport": true
117
  },
118
  {
119
  "id": "Observation.valueQuantity.unit",
120
  "path": "Observation.valueQuantity.unit",
121
  "min": 1,
 
 
 
 
 
 
122
  "mustSupport": true
123
  },
124
  {
125
  "id": "Observation.valueQuantity.system",
126
  "path": "Observation.valueQuantity.system",
127
  "min": 1,
 
 
 
 
 
 
128
  "fixedUri": "http://unitsofmeasure.org",
129
  "mustSupport": true
130
  },
131
  {
132
  "id": "Observation.valueQuantity.code",
133
  "path": "Observation.valueQuantity.code",
134
  "short": "Coded responses from the common UCUM units for vital signs value set.",
135
  "min": 1,
 
 
 
 
 
 
136
  "mustSupport": true,
137
  "binding": {
138
  "strength": "required",
139
  "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1"
StructureDefinition-us-core-heart-rate.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-heart-rate.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-heart-rate",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate",
6
  "version": "3.2.0",
7
  "name": "USCoreHeartRateProfile",
8
  "title": "US Core Heart Rate Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -83,78 +81,59 @@
83
  {
84
  "id": "Observation.code",
85
  "path": "Observation.code",
86
  "short": "Heart Rate",
87
- "type": [
88
- {
89
- "code": "CodeableConcept"
90
- }
91
- ],
92
  "patternCodeableConcept": {
93
  "coding": [
94
  {
95
- "system": "http://loinc.org",
96
- "code": "8867-4"
97
  }
98
  ]
99
- },
100
- "mustSupport": true
101
  },
102
  {
103
  "id": "Observation.valueQuantity",
104
  "path": "Observation.valueQuantity",
105
  "min": 0,
106
  "max": "1",
 
 
 
 
 
 
 
 
 
 
 
107
  "mustSupport": true
108
  },
109
  {
110
  "id": "Observation.valueQuantity.value",
111
  "path": "Observation.valueQuantity.value",
112
  "min": 1,
113
- "max": "1",
114
- "type": [
115
- {
116
- "code": "decimal"
117
- }
118
- ],
119
  "mustSupport": true
120
  },
121
  {
122
  "id": "Observation.valueQuantity.unit",
123
  "path": "Observation.valueQuantity.unit",
124
  "min": 1,
125
- "max": "1",
126
- "type": [
127
- {
128
- "code": "string"
129
- }
130
- ],
131
  "mustSupport": true
132
  },
133
  {
134
  "id": "Observation.valueQuantity.system",
135
  "path": "Observation.valueQuantity.system",
136
  "min": 1,
137
- "max": "1",
138
- "type": [
139
- {
140
- "code": "uri"
141
- }
142
- ],
143
  "fixedUri": "http://unitsofmeasure.org",
144
  "mustSupport": true
145
  },
146
  {
147
  "id": "Observation.valueQuantity.code",
148
  "path": "Observation.valueQuantity.code",
149
  "short": "Coded responses from the common UCUM units for vital signs value set.",
150
  "min": 1,
151
- "max": "1",
152
- "type": [
153
- {
154
- "code": "code"
155
- }
156
- ],
157
  "fixedCode": "/min",
158
  "mustSupport": true
159
  }
160
  ]
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-heart-rate",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate",
5
  "version": "3.2.0",
6
  "name": "USCoreHeartRateProfile",
7
  "title": "US Core Heart Rate Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
81
  {
82
  "id": "Observation.code",
83
  "path": "Observation.code",
84
  "short": "Heart Rate",
 
 
 
 
 
85
  "patternCodeableConcept": {
86
  "coding": [
87
  {
88
+ "code": "8867-4",
89
+ "system": "http://loinc.org"
90
  }
91
  ]
92
+ }
 
93
  },
94
  {
95
  "id": "Observation.valueQuantity",
96
  "path": "Observation.valueQuantity",
97
  "min": 0,
98
  "max": "1",
99
+ "type": [
100
+ {
101
+ "code": "Quantity",
102
+ "extension": [
103
+ {
104
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
105
+ "valueBoolean": true
106
+ }
107
+ ]
108
+ }
109
+ ],
110
  "mustSupport": true
111
  },
112
  {
113
  "id": "Observation.valueQuantity.value",
114
  "path": "Observation.valueQuantity.value",
115
  "min": 1,
 
 
 
 
 
 
116
  "mustSupport": true
117
  },
118
  {
119
  "id": "Observation.valueQuantity.unit",
120
  "path": "Observation.valueQuantity.unit",
121
  "min": 1,
 
 
 
 
 
 
122
  "mustSupport": true
123
  },
124
  {
125
  "id": "Observation.valueQuantity.system",
126
  "path": "Observation.valueQuantity.system",
127
  "min": 1,
 
 
 
 
 
 
128
  "fixedUri": "http://unitsofmeasure.org",
129
  "mustSupport": true
130
  },
131
  {
132
  "id": "Observation.valueQuantity.code",
133
  "path": "Observation.valueQuantity.code",
134
  "short": "Coded responses from the common UCUM units for vital signs value set.",
135
  "min": 1,
 
 
 
 
 
 
136
  "fixedCode": "/min",
137
  "mustSupport": true
138
  }
139
  ]
StructureDefinition-us-core-immunization.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-immunization.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-immunization",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization",
6
  "version": "3.2.0",
7
  "name": "USCoreImmunizationProfile",
8
  "title": "US Core Immunization Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -58,16 +67,21 @@
58
  {
59
  "identity": "cda",
60
  "uri": "http://hl7.org/v3/cda",
61
  "name": "CDA (R2)"
 
 
 
 
 
 
62
  }
63
  ],
64
  "kind": "resource",
65
  "abstract": false,
66
  "type": "Immunization",
67
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Immunization",
68
  "derivation": "constraint",
69
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
70
  "differential": {
71
  "element": [
72
  {
73
  "id": "Immunization",
@@ -83,20 +97,13 @@
83
  },
84
  {
85
  "id": "Immunization.status",
86
  "path": "Immunization.status",
87
- "min": 1,
88
- "max": "1",
89
- "type": [
90
- {
91
- "code": "code"
92
- }
93
- ],
94
  "mustSupport": true,
95
  "binding": {
96
  "strength": "required",
97
- "description": "Constrained list of immunizaiotn status",
98
- "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status"
99
  },
100
  "mapping": [
101
  {
102
  "identity": "argonaut-dq-dstu2",
@@ -106,10 +113,8 @@
106
  },
107
  {
108
  "id": "Immunization.statusReason",
109
  "path": "Immunization.statusReason",
110
- "min": 0,
111
- "max": "1",
112
  "mustSupport": true,
113
  "binding": {
114
  "strength": "example",
115
  "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status-reason"
@@ -124,15 +129,8 @@
124
  {
125
  "id": "Immunization.vaccineCode",
126
  "path": "Immunization.vaccineCode",
127
  "short": "Vaccine Product Type (bind to CVX)",
128
- "min": 1,
129
- "max": "1",
130
- "type": [
131
- {
132
- "code": "CodeableConcept"
133
- }
134
- ],
135
  "condition": [
136
  "us-core-1"
137
  ],
138
  "constraint": [
@@ -156,18 +154,18 @@
156
  "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.6"
157
  },
158
  "mapping": [
159
  {
 
 
 
 
160
  "identity": "quick",
161
  "map": "vaccine"
162
  },
163
  {
164
  "identity": "quick",
165
  "map": "vaccine"
166
- },
167
- {
168
- "identity": "argonaut-dq-dstu2",
169
- "map": "Immunization.vaccineCode"
170
  }
171
  ]
172
  },
173
  {
@@ -175,10 +173,8 @@
175
  "path": "Immunization.patient",
176
  "alias": [
177
  "Patient"
178
  ],
179
- "min": 1,
180
- "max": "1",
181
  "type": [
182
  {
183
  "code": "Reference",
184
  "targetProfile": [
@@ -188,79 +184,71 @@
188
  ],
189
  "mustSupport": true,
190
  "mapping": [
191
  {
 
 
 
 
192
  "identity": "quick",
193
  "map": "subject"
194
  },
195
  {
196
  "identity": "quick",
197
  "map": "subject"
198
- },
199
- {
200
- "identity": "argonaut-dq-dstu2",
201
- "map": "Immunization.patient"
202
  }
203
  ]
204
  },
205
  {
206
  "id": "Immunization.occurrence[x]",
207
  "path": "Immunization.occurrence[x]",
208
- "min": 1,
209
- "max": "1",
210
  "type": [
211
  {
 
212
  "extension": [
213
  {
214
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
215
  "valueBoolean": true
216
  }
217
- ],
218
- "code": "dateTime"
219
  },
220
  {
221
  "code": "string"
222
  }
223
  ],
224
  "mustSupport": true,
225
  "mapping": [
226
  {
 
 
 
 
227
  "identity": "quick",
228
  "map": "performanceTime"
229
  },
230
  {
231
  "identity": "quick",
232
  "map": "performanceTime"
233
- },
234
- {
235
- "identity": "argonaut-dq-dstu2",
236
- "map": "Immunization.date"
237
  }
238
  ]
239
  },
240
  {
241
  "id": "Immunization.primarySource",
242
  "path": "Immunization.primarySource",
243
  "min": 1,
244
- "max": "1",
245
- "type": [
246
- {
247
- "code": "boolean"
248
- }
249
- ],
250
  "mustSupport": true,
251
  "mapping": [
252
  {
 
 
 
 
253
  "identity": "quick",
254
  "map": "reported"
255
  },
256
  {
257
  "identity": "quick",
258
  "map": "reported"
259
- },
260
- {
261
- "identity": "argonaut-dq-dstu2",
262
- "map": "Immunization.reported"
263
  }
264
  ]
265
  }
266
  ]
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-immunization",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Medications"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization",
15
  "version": "3.2.0",
16
  "name": "USCoreImmunizationProfile",
17
  "title": "US Core Immunization Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
67
  {
68
  "identity": "cda",
69
  "uri": "http://hl7.org/v3/cda",
70
  "name": "CDA (R2)"
71
+ },
72
+ {
73
+ "identity": "argonaut-dq-dstu2"
74
+ },
75
+ {
76
+ "identity": "quick"
77
  }
78
  ],
79
  "kind": "resource",
80
  "abstract": false,
81
  "type": "Immunization",
82
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Immunization",
83
  "derivation": "constraint",
 
84
  "differential": {
85
  "element": [
86
  {
87
  "id": "Immunization",
97
  },
98
  {
99
  "id": "Immunization.status",
100
  "path": "Immunization.status",
 
 
 
 
 
 
 
101
  "mustSupport": true,
102
  "binding": {
103
  "strength": "required",
104
+ "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status",
105
+ "description": "Constrained list of immunizaiotn status"
106
  },
107
  "mapping": [
108
  {
109
  "identity": "argonaut-dq-dstu2",
113
  },
114
  {
115
  "id": "Immunization.statusReason",
116
  "path": "Immunization.statusReason",
 
 
117
  "mustSupport": true,
118
  "binding": {
119
  "strength": "example",
120
  "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status-reason"
129
  {
130
  "id": "Immunization.vaccineCode",
131
  "path": "Immunization.vaccineCode",
132
  "short": "Vaccine Product Type (bind to CVX)",
 
 
 
 
 
 
 
133
  "condition": [
134
  "us-core-1"
135
  ],
136
  "constraint": [
154
  "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.6"
155
  },
156
  "mapping": [
157
  {
158
+ "identity": "argonaut-dq-dstu2",
159
+ "map": "Immunization.vaccineCode"
160
+ },
161
+ {
162
  "identity": "quick",
163
  "map": "vaccine"
164
  },
165
  {
166
  "identity": "quick",
167
  "map": "vaccine"
 
 
 
 
168
  }
169
  ]
170
  },
171
  {
173
  "path": "Immunization.patient",
174
  "alias": [
175
  "Patient"
176
  ],
 
 
177
  "type": [
178
  {
179
  "code": "Reference",
180
  "targetProfile": [
184
  ],
185
  "mustSupport": true,
186
  "mapping": [
187
  {
188
+ "identity": "argonaut-dq-dstu2",
189
+ "map": "Immunization.patient"
190
+ },
191
+ {
192
  "identity": "quick",
193
  "map": "subject"
194
  },
195
  {
196
  "identity": "quick",
197
  "map": "subject"
 
 
 
 
198
  }
199
  ]
200
  },
201
  {
202
  "id": "Immunization.occurrence[x]",
203
  "path": "Immunization.occurrence[x]",
 
 
204
  "type": [
205
  {
206
+ "code": "dateTime",
207
  "extension": [
208
  {
209
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
210
  "valueBoolean": true
211
  }
212
+ ]
 
213
  },
214
  {
215
  "code": "string"
216
  }
217
  ],
218
  "mustSupport": true,
219
  "mapping": [
220
  {
221
+ "identity": "argonaut-dq-dstu2",
222
+ "map": "Immunization.date"
223
+ },
224
+ {
225
  "identity": "quick",
226
  "map": "performanceTime"
227
  },
228
  {
229
  "identity": "quick",
230
  "map": "performanceTime"
 
 
 
 
231
  }
232
  ]
233
  },
234
  {
235
  "id": "Immunization.primarySource",
236
  "path": "Immunization.primarySource",
237
  "min": 1,
 
 
 
 
 
 
238
  "mustSupport": true,
239
  "mapping": [
240
  {
241
+ "identity": "argonaut-dq-dstu2",
242
+ "map": "Immunization.reported"
243
+ },
244
+ {
245
  "identity": "quick",
246
  "map": "reported"
247
  },
248
  {
249
  "identity": "quick",
250
  "map": "reported"
 
 
 
 
251
  }
252
  ]
253
  }
254
  ]
StructureDefinition-us-core-implantable-device.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-implantable-device.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-implantable-device",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device",
6
  "version": "3.2.0",
7
  "name": "USCoreImplantableDeviceProfile",
8
  "title": "US Core Implantable Device Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -48,16 +57,18 @@
48
  {
49
  "identity": "udi",
50
  "uri": "http://fda.gov/UDI",
51
  "name": "UDI Mapping"
 
 
 
52
  }
53
  ],
54
  "kind": "resource",
55
  "abstract": false,
56
  "type": "Device",
57
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device",
58
  "derivation": "constraint",
59
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
60
  "differential": {
61
  "element": [
62
  {
63
  "id": "Device",
@@ -68,16 +79,18 @@
68
  "key": "us-core-12",
69
  "severity": "error",
70
  "human": "Implantable medical devices that have UDI information SHALL represent this information in either carrierAIDC or carrierHRF.",
71
  "expression": "udiCarrier.empty() or (udiCarrier.carrierAIDC.exists() or udiCarrier.carrierHRF.exists())",
72
- "xpath": "not(f:udiCarrier) or (f:carrierHRF or f:carrierAIDC)"
 
73
  },
74
  {
75
  "key": "us-core-9",
76
  "severity": "error",
77
  "human": "For implantable medical devices that have UDI information, at least one of the Production Identifiers (UDI-PI) SHALL be present.",
78
  "expression": "udiCarrier.empty() or (manufactureDate.exists() or expirationDate.exists() or lotNumber.exists() or serialNumber.exists() or distinctIdentifier.exists())",
79
- "xpath": "not(f:udiCarrier) or (f:manufactureDate or f:expirationDate or f:lotNumber or f:serialNumber or f:distinctIdentifier)"
 
80
  }
81
  ],
82
  "mustSupport": false,
83
  "mapping": [
@@ -90,9 +103,8 @@
90
  {
91
  "id": "Device.udiCarrier",
92
  "path": "Device.udiCarrier",
93
  "comment": "Some devices may not have UDI information (for example. historical data or patient reported data).",
94
- "min": 0,
95
  "max": "1",
96
  "mustSupport": true,
97
  "mapping": [
98
  {
@@ -103,13 +115,9 @@
103
  },
104
  {
105
  "id": "Device.udiCarrier.deviceIdentifier",
106
  "path": "Device.udiCarrier.deviceIdentifier",
107
- "alias": [
108
- "DI"
109
- ],
110
  "min": 1,
111
- "max": "1",
112
  "mustSupport": true,
113
  "mapping": [
114
  {
115
  "identity": "argonaut-dq-dstu2",
@@ -123,10 +131,8 @@
123
  "alias": [
124
  "UDI",
125
  "Barcode String"
126
  ],
127
- "min": 0,
128
- "max": "1",
129
  "condition": [
130
  "us-core-12"
131
  ],
132
  "mustSupport": false,
@@ -143,10 +149,8 @@
143
  "alias": [
144
  "UDI",
145
  "Barcode String"
146
  ],
147
- "min": 0,
148
- "max": "1",
149
  "condition": [
150
  "us-core-12"
151
  ],
152
  "mustSupport": false,
@@ -159,10 +163,8 @@
159
  },
160
  {
161
  "id": "Device.distinctIdentifier",
162
  "path": "Device.distinctIdentifier",
163
- "min": 0,
164
- "max": "1",
165
  "condition": [
166
  "us-core-9"
167
  ],
168
  "mustSupport": false,
@@ -175,10 +177,8 @@
175
  },
176
  {
177
  "id": "Device.manufactureDate",
178
  "path": "Device.manufactureDate",
179
- "min": 0,
180
- "max": "1",
181
  "condition": [
182
  "us-core-9"
183
  ],
184
  "mustSupport": true,
@@ -191,10 +191,8 @@
191
  },
192
  {
193
  "id": "Device.expirationDate",
194
  "path": "Device.expirationDate",
195
- "min": 0,
196
- "max": "1",
197
  "condition": [
198
  "us-core-9"
199
  ],
200
  "mustSupport": true,
@@ -207,10 +205,8 @@
207
  },
208
  {
209
  "id": "Device.lotNumber",
210
  "path": "Device.lotNumber",
211
- "min": 0,
212
- "max": "1",
213
  "condition": [
214
  "us-core-9"
215
  ],
216
  "mustSupport": true,
@@ -223,10 +219,8 @@
223
  },
224
  {
225
  "id": "Device.serialNumber",
226
  "path": "Device.serialNumber",
227
- "min": 0,
228
- "max": "1",
229
  "condition": [
230
  "us-core-9"
231
  ],
232
  "mustSupport": true,
@@ -240,19 +234,13 @@
240
  {
241
  "id": "Device.type",
242
  "path": "Device.type",
243
  "min": 1,
244
- "max": "1",
245
- "type": [
246
- {
247
- "code": "CodeableConcept"
248
- }
249
- ],
250
  "mustSupport": true,
251
  "binding": {
252
  "strength": "extensible",
253
- "description": "Codes to identify medical devices",
254
- "valueSet": "http://hl7.org/fhir/ValueSet/device-kind"
255
  },
256
  "mapping": [
257
  {
258
  "identity": "argonaut-dq-dstu2",
@@ -263,9 +251,8 @@
263
  {
264
  "id": "Device.patient",
265
  "path": "Device.patient",
266
  "min": 1,
267
- "max": "1",
268
  "type": [
269
  {
270
  "code": "Reference",
271
  "targetProfile": [
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-implantable-device",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Base.Entities"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "business"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device",
15
  "version": "3.2.0",
16
  "name": "USCoreImplantableDeviceProfile",
17
  "title": "US Core Implantable Device Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
57
  {
58
  "identity": "udi",
59
  "uri": "http://fda.gov/UDI",
60
  "name": "UDI Mapping"
61
+ },
62
+ {
63
+ "identity": "argonaut-dq-dstu2"
64
  }
65
  ],
66
  "kind": "resource",
67
  "abstract": false,
68
  "type": "Device",
69
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device",
70
  "derivation": "constraint",
 
71
  "differential": {
72
  "element": [
73
  {
74
  "id": "Device",
79
  "key": "us-core-12",
80
  "severity": "error",
81
  "human": "Implantable medical devices that have UDI information SHALL represent this information in either carrierAIDC or carrierHRF.",
82
  "expression": "udiCarrier.empty() or (udiCarrier.carrierAIDC.exists() or udiCarrier.carrierHRF.exists())",
83
+ "xpath": "not(f:udiCarrier) or (f:carrierHRF or f:carrierAIDC)",
84
+ "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"
85
  },
86
  {
87
  "key": "us-core-9",
88
  "severity": "error",
89
  "human": "For implantable medical devices that have UDI information, at least one of the Production Identifiers (UDI-PI) SHALL be present.",
90
  "expression": "udiCarrier.empty() or (manufactureDate.exists() or expirationDate.exists() or lotNumber.exists() or serialNumber.exists() or distinctIdentifier.exists())",
91
+ "xpath": "not(f:udiCarrier) or (f:manufactureDate or f:expirationDate or f:lotNumber or f:serialNumber or f:distinctIdentifier)",
92
+ "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"
93
  }
94
  ],
95
  "mustSupport": false,
96
  "mapping": [
103
  {
104
  "id": "Device.udiCarrier",
105
  "path": "Device.udiCarrier",
106
  "comment": "Some devices may not have UDI information (for example. historical data or patient reported data).",
 
107
  "max": "1",
108
  "mustSupport": true,
109
  "mapping": [
110
  {
115
  },
116
  {
117
  "id": "Device.udiCarrier.deviceIdentifier",
118
  "path": "Device.udiCarrier.deviceIdentifier",
 
 
 
119
  "min": 1,
 
120
  "mustSupport": true,
121
  "mapping": [
122
  {
123
  "identity": "argonaut-dq-dstu2",
131
  "alias": [
132
  "UDI",
133
  "Barcode String"
134
  ],
 
 
135
  "condition": [
136
  "us-core-12"
137
  ],
138
  "mustSupport": false,
149
  "alias": [
150
  "UDI",
151
  "Barcode String"
152
  ],
 
 
153
  "condition": [
154
  "us-core-12"
155
  ],
156
  "mustSupport": false,
163
  },
164
  {
165
  "id": "Device.distinctIdentifier",
166
  "path": "Device.distinctIdentifier",
 
 
167
  "condition": [
168
  "us-core-9"
169
  ],
170
  "mustSupport": false,
177
  },
178
  {
179
  "id": "Device.manufactureDate",
180
  "path": "Device.manufactureDate",
 
 
181
  "condition": [
182
  "us-core-9"
183
  ],
184
  "mustSupport": true,
191
  },
192
  {
193
  "id": "Device.expirationDate",
194
  "path": "Device.expirationDate",
 
 
195
  "condition": [
196
  "us-core-9"
197
  ],
198
  "mustSupport": true,
205
  },
206
  {
207
  "id": "Device.lotNumber",
208
  "path": "Device.lotNumber",
 
 
209
  "condition": [
210
  "us-core-9"
211
  ],
212
  "mustSupport": true,
219
  },
220
  {
221
  "id": "Device.serialNumber",
222
  "path": "Device.serialNumber",
 
 
223
  "condition": [
224
  "us-core-9"
225
  ],
226
  "mustSupport": true,
234
  {
235
  "id": "Device.type",
236
  "path": "Device.type",
237
  "min": 1,
 
 
 
 
 
 
238
  "mustSupport": true,
239
  "binding": {
240
  "strength": "extensible",
241
+ "valueSet": "http://hl7.org/fhir/ValueSet/device-kind",
242
+ "description": "Codes to identify medical devices"
243
  },
244
  "mapping": [
245
  {
246
  "identity": "argonaut-dq-dstu2",
251
  {
252
  "id": "Device.patient",
253
  "path": "Device.patient",
254
  "min": 1,
 
255
  "type": [
256
  {
257
  "code": "Reference",
258
  "targetProfile": [
StructureDefinition-us-core-location.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-location.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-location",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location",
6
  "version": "3.2.0",
7
  "name": "USCoreLocation",
8
  "title": "US Core Location Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -43,16 +52,18 @@
43
  {
44
  "identity": "w5",
45
  "uri": "http://hl7.org/fhir/fivews",
46
  "name": "FiveWs Pattern Mapping"
 
 
 
47
  }
48
  ],
49
  "kind": "resource",
50
  "abstract": false,
51
  "type": "Location",
52
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
53
  "derivation": "constraint",
54
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
55
  "differential": {
56
  "element": [
57
  {
58
  "id": "Location",
@@ -67,27 +78,14 @@
67
  },
68
  {
69
  "id": "Location.status",
70
  "path": "Location.status",
71
- "min": 0,
72
- "max": "1",
73
- "type": [
74
- {
75
- "code": "code"
76
- }
77
- ],
78
  "mustSupport": true
79
  },
80
  {
81
  "id": "Location.name",
82
  "path": "Location.name",
83
  "min": 1,
84
- "max": "1",
85
- "type": [
86
- {
87
- "code": "string"
88
- }
89
- ],
90
  "mustSupport": true,
91
  "mapping": [
92
  {
93
  "identity": "servd",
@@ -97,27 +95,13 @@
97
  },
98
  {
99
  "id": "Location.telecom",
100
  "path": "Location.telecom",
101
- "min": 0,
102
- "max": "*",
103
- "type": [
104
- {
105
- "code": "ContactPoint"
106
- }
107
- ],
108
  "mustSupport": true
109
  },
110
  {
111
  "id": "Location.address",
112
  "path": "Location.address",
113
- "min": 0,
114
- "max": "1",
115
- "type": [
116
- {
117
- "code": "Address"
118
- }
119
- ],
120
  "mustSupport": true,
121
  "mapping": [
122
  {
123
  "identity": "servd",
@@ -127,44 +111,23 @@
127
  },
128
  {
129
  "id": "Location.address.line",
130
  "path": "Location.address.line",
131
- "min": 0,
132
- "max": "*",
133
- "type": [
134
- {
135
- "code": "string"
136
- }
137
- ],
138
  "mustSupport": true
139
  },
140
  {
141
  "id": "Location.address.city",
142
  "path": "Location.address.city",
143
- "min": 0,
144
- "max": "1",
145
- "type": [
146
- {
147
- "code": "string"
148
- }
149
- ],
150
  "mustSupport": true
151
  },
152
  {
153
  "id": "Location.address.state",
154
  "path": "Location.address.state",
155
- "min": 0,
156
- "max": "1",
157
- "type": [
158
- {
159
- "code": "string"
160
- }
161
- ],
162
  "mustSupport": true,
163
  "binding": {
164
  "strength": "extensible",
165
- "description": "Two letter USPS alphabetic codes.",
166
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state"
167
  },
168
  "mapping": [
169
  {
170
  "identity": "servd",
@@ -175,22 +138,13 @@
175
  {
176
  "id": "Location.address.postalCode",
177
  "path": "Location.address.postalCode",
178
  "short": "US Zip Codes",
179
- "min": 0,
180
- "max": "1",
181
- "type": [
182
- {
183
- "code": "string"
184
- }
185
- ],
186
  "mustSupport": true
187
  },
188
  {
189
  "id": "Location.managingOrganization",
190
  "path": "Location.managingOrganization",
191
- "min": 0,
192
- "max": "1",
193
  "type": [
194
  {
195
  "code": "Reference",
196
  "targetProfile": [
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-location",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Base.Entities"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "business"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location",
15
  "version": "3.2.0",
16
  "name": "USCoreLocation",
17
  "title": "US Core Location Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
52
  {
53
  "identity": "w5",
54
  "uri": "http://hl7.org/fhir/fivews",
55
  "name": "FiveWs Pattern Mapping"
56
+ },
57
+ {
58
+ "identity": "servd"
59
  }
60
  ],
61
  "kind": "resource",
62
  "abstract": false,
63
  "type": "Location",
64
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
65
  "derivation": "constraint",
 
66
  "differential": {
67
  "element": [
68
  {
69
  "id": "Location",
78
  },
79
  {
80
  "id": "Location.status",
81
  "path": "Location.status",
 
 
 
 
 
 
 
82
  "mustSupport": true
83
  },
84
  {
85
  "id": "Location.name",
86
  "path": "Location.name",
87
  "min": 1,
 
 
 
 
 
 
88
  "mustSupport": true,
89
  "mapping": [
90
  {
91
  "identity": "servd",
95
  },
96
  {
97
  "id": "Location.telecom",
98
  "path": "Location.telecom",
 
 
 
 
 
 
 
99
  "mustSupport": true
100
  },
101
  {
102
  "id": "Location.address",
103
  "path": "Location.address",
 
 
 
 
 
 
 
104
  "mustSupport": true,
105
  "mapping": [
106
  {
107
  "identity": "servd",
111
  },
112
  {
113
  "id": "Location.address.line",
114
  "path": "Location.address.line",
 
 
 
 
 
 
 
115
  "mustSupport": true
116
  },
117
  {
118
  "id": "Location.address.city",
119
  "path": "Location.address.city",
 
 
 
 
 
 
 
120
  "mustSupport": true
121
  },
122
  {
123
  "id": "Location.address.state",
124
  "path": "Location.address.state",
 
 
 
 
 
 
 
125
  "mustSupport": true,
126
  "binding": {
127
  "strength": "extensible",
128
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state",
129
+ "description": "Two letter USPS alphabetic codes."
130
  },
131
  "mapping": [
132
  {
133
  "identity": "servd",
138
  {
139
  "id": "Location.address.postalCode",
140
  "path": "Location.address.postalCode",
141
  "short": "US Zip Codes",
 
 
 
 
 
 
 
142
  "mustSupport": true
143
  },
144
  {
145
  "id": "Location.managingOrganization",
146
  "path": "Location.managingOrganization",
 
 
147
  "type": [
148
  {
149
  "code": "Reference",
150
  "targetProfile": [
StructureDefinition-us-core-medication.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-medication.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-medication",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication",
6
  "version": "3.2.0",
7
  "name": "USCoreMedicationProfile",
8
  "title": "US Core Medication Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -53,16 +62,18 @@
53
  {
54
  "identity": "v2",
55
  "uri": "http://hl7.org/v2",
56
  "name": "HL7 v2 Mapping"
 
 
 
57
  }
58
  ],
59
  "kind": "resource",
60
  "abstract": false,
61
  "type": "Medication",
62
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication",
63
  "derivation": "constraint",
64
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
65
  "differential": {
66
  "element": [
67
  {
68
  "id": "Medication",
@@ -79,9 +90,8 @@
79
  {
80
  "id": "Medication.code",
81
  "path": "Medication.code",
82
  "min": 1,
83
- "max": "1",
84
  "mustSupport": true,
85
  "binding": {
86
  "strength": "extensible",
87
  "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4"
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-medication",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Medications"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "business"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication",
15
  "version": "3.2.0",
16
  "name": "USCoreMedicationProfile",
17
  "title": "US Core Medication Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
62
  {
63
  "identity": "v2",
64
  "uri": "http://hl7.org/v2",
65
  "name": "HL7 v2 Mapping"
66
+ },
67
+ {
68
+ "identity": "argonaut-dq-dstu2"
69
  }
70
  ],
71
  "kind": "resource",
72
  "abstract": false,
73
  "type": "Medication",
74
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication",
75
  "derivation": "constraint",
 
76
  "differential": {
77
  "element": [
78
  {
79
  "id": "Medication",
90
  {
91
  "id": "Medication.code",
92
  "path": "Medication.code",
93
  "min": 1,
 
94
  "mustSupport": true,
95
  "binding": {
96
  "strength": "extensible",
97
  "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4"
StructureDefinition-us-core-medicationrequest.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-medicationrequest.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-medicationrequest",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest",
6
  "version": "3.2.0",
7
  "name": "USCoreMedicationRequestProfile",
8
  "title": "US Core MedicationRequest Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -58,16 +67,18 @@
58
  {
59
  "identity": "v2",
60
  "uri": "http://hl7.org/v2",
61
  "name": "HL7 v2 Mapping"
 
 
 
62
  }
63
  ],
64
  "kind": "resource",
65
  "abstract": false,
66
  "type": "MedicationRequest",
67
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
68
  "derivation": "constraint",
69
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
70
  "differential": {
71
  "element": [
72
  {
73
  "id": "MedicationRequest",
@@ -83,20 +94,13 @@
83
  },
84
  {
85
  "id": "MedicationRequest.status",
86
  "path": "MedicationRequest.status",
87
- "min": 1,
88
- "max": "1",
89
- "type": [
90
- {
91
- "code": "code"
92
- }
93
- ],
94
  "mustSupport": true,
95
  "binding": {
96
  "strength": "required",
97
- "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.",
98
- "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status"
99
  },
100
  "mapping": [
101
  {
102
  "identity": "argonaut-dq-dstu2",
@@ -106,15 +110,13 @@
106
  },
107
  {
108
  "id": "MedicationRequest.intent",
109
  "path": "MedicationRequest.intent",
110
- "min": 1,
111
- "max": "1",
112
  "mustSupport": true,
113
  "binding": {
114
  "strength": "required",
115
- "description": "The kind of medication order.",
116
- "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-intent"
117
  },
118
  "mapping": [
119
  {
120
  "identity": "argonaut-dq-dstu2",
@@ -124,75 +126,31 @@
124
  },
125
  {
126
  "id": "MedicationRequest.reported[x]",
127
  "path": "MedicationRequest.reported[x]",
128
- "min": 0,
129
- "max": "1",
130
  "type": [
131
  {
 
132
  "extension": [
133
  {
134
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
135
  "valueBoolean": true
136
  }
137
- ],
138
- "code": "boolean"
139
  },
140
  {
141
- "extension": [
142
- {
143
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
144
- "valueBoolean": true
145
- }
146
- ],
147
  "code": "Reference",
148
  "targetProfile": [
149
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
150
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
151
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
152
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
153
  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
154
  ],
155
- "_targetProfile": [
156
  {
157
- "extension": [
158
- {
159
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
160
- "valueBoolean": true
161
- }
162
- ]
163
- },
164
- {
165
- "extension": [
166
- {
167
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
168
- "valueBoolean": false
169
- }
170
- ]
171
- },
172
- {
173
- "extension": [
174
- {
175
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
176
- "valueBoolean": false
177
- }
178
- ]
179
- },
180
- {
181
- "extension": [
182
- {
183
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
184
- "valueBoolean": false
185
- }
186
- ]
187
- },
188
- {
189
- "extension": [
190
- {
191
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
192
- "valueBoolean": false
193
- }
194
- ]
195
  }
196
  ]
197
  }
198
  ],
@@ -206,10 +164,8 @@
206
  },
207
  {
208
  "id": "MedicationRequest.medication[x]",
209
  "path": "MedicationRequest.medication[x]",
210
- "min": 1,
211
- "max": "1",
212
  "type": [
213
  {
214
  "code": "CodeableConcept"
215
  },
@@ -234,10 +190,8 @@
234
  },
235
  {
236
  "id": "MedicationRequest.subject",
237
  "path": "MedicationRequest.subject",
238
- "min": 1,
239
- "max": "1",
240
  "type": [
241
  {
242
  "code": "Reference",
243
  "targetProfile": [
@@ -255,10 +209,8 @@
255
  },
256
  {
257
  "id": "MedicationRequest.encounter",
258
  "path": "MedicationRequest.encounter",
259
- "min": 0,
260
- "max": "1",
261
  "type": [
262
  {
263
  "code": "Reference",
264
  "targetProfile": [
@@ -277,9 +229,8 @@
277
  {
278
  "id": "MedicationRequest.authoredOn",
279
  "path": "MedicationRequest.authoredOn",
280
  "min": 1,
281
- "max": "1",
282
  "mustSupport": true,
283
  "mapping": [
284
  {
285
  "identity": "argonaut-dq-dstu2",
@@ -290,9 +241,8 @@
290
  {
291
  "id": "MedicationRequest.requester",
292
  "path": "MedicationRequest.requester",
293
  "min": 1,
294
- "max": "1",
295
  "type": [
296
  {
297
  "code": "Reference",
298
  "targetProfile": [
@@ -301,58 +251,8 @@
301
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
302
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
303
  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
304
  "http://hl7.org/fhir/StructureDefinition/Device"
305
- ],
306
- "_targetProfile": [
307
- {
308
- "extension": [
309
- {
310
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
311
- "valueBoolean": true
312
- }
313
- ]
314
- },
315
- {
316
- "extension": [
317
- {
318
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
319
- "valueBoolean": false
320
- }
321
- ]
322
- },
323
- {
324
- "extension": [
325
- {
326
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
327
- "valueBoolean": false
328
- }
329
- ]
330
- },
331
- {
332
- "extension": [
333
- {
334
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
335
- "valueBoolean": false
336
- }
337
- ]
338
- },
339
- {
340
- "extension": [
341
- {
342
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
343
- "valueBoolean": false
344
- }
345
- ]
346
- },
347
- {
348
- "extension": [
349
- {
350
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
351
- "valueBoolean": false
352
- }
353
- ]
354
- }
355
  ]
356
  }
357
  ],
358
  "mustSupport": true,
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-medicationrequest",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Medications"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest",
15
  "version": "3.2.0",
16
  "name": "USCoreMedicationRequestProfile",
17
  "title": "US Core MedicationRequest Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
67
  {
68
  "identity": "v2",
69
  "uri": "http://hl7.org/v2",
70
  "name": "HL7 v2 Mapping"
71
+ },
72
+ {
73
+ "identity": "argonaut-dq-dstu2"
74
  }
75
  ],
76
  "kind": "resource",
77
  "abstract": false,
78
  "type": "MedicationRequest",
79
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
80
  "derivation": "constraint",
 
81
  "differential": {
82
  "element": [
83
  {
84
  "id": "MedicationRequest",
94
  },
95
  {
96
  "id": "MedicationRequest.status",
97
  "path": "MedicationRequest.status",
 
 
 
 
 
 
 
98
  "mustSupport": true,
99
  "binding": {
100
  "strength": "required",
101
+ "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status",
102
+ "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription."
103
  },
104
  "mapping": [
105
  {
106
  "identity": "argonaut-dq-dstu2",
110
  },
111
  {
112
  "id": "MedicationRequest.intent",
113
  "path": "MedicationRequest.intent",
 
 
114
  "mustSupport": true,
115
  "binding": {
116
  "strength": "required",
117
+ "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-intent",
118
+ "description": "The kind of medication order."
119
  },
120
  "mapping": [
121
  {
122
  "identity": "argonaut-dq-dstu2",
126
  },
127
  {
128
  "id": "MedicationRequest.reported[x]",
129
  "path": "MedicationRequest.reported[x]",
 
 
130
  "type": [
131
  {
132
+ "code": "boolean",
133
  "extension": [
134
  {
135
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
136
  "valueBoolean": true
137
  }
138
+ ]
 
139
  },
140
  {
 
 
 
 
 
 
141
  "code": "Reference",
142
  "targetProfile": [
143
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
144
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
145
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
146
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
147
  "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
148
  ],
149
+ "extension": [
150
  {
151
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
152
+ "valueBoolean": true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  }
154
  ]
155
  }
156
  ],
164
  },
165
  {
166
  "id": "MedicationRequest.medication[x]",
167
  "path": "MedicationRequest.medication[x]",
 
 
168
  "type": [
169
  {
170
  "code": "CodeableConcept"
171
  },
190
  },
191
  {
192
  "id": "MedicationRequest.subject",
193
  "path": "MedicationRequest.subject",
 
 
194
  "type": [
195
  {
196
  "code": "Reference",
197
  "targetProfile": [
209
  },
210
  {
211
  "id": "MedicationRequest.encounter",
212
  "path": "MedicationRequest.encounter",
 
 
213
  "type": [
214
  {
215
  "code": "Reference",
216
  "targetProfile": [
229
  {
230
  "id": "MedicationRequest.authoredOn",
231
  "path": "MedicationRequest.authoredOn",
232
  "min": 1,
 
233
  "mustSupport": true,
234
  "mapping": [
235
  {
236
  "identity": "argonaut-dq-dstu2",
241
  {
242
  "id": "MedicationRequest.requester",
243
  "path": "MedicationRequest.requester",
244
  "min": 1,
 
245
  "type": [
246
  {
247
  "code": "Reference",
248
  "targetProfile": [
251
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
252
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
253
  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
254
  "http://hl7.org/fhir/StructureDefinition/Device"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
  ]
256
  }
257
  ],
258
  "mustSupport": true,
StructureDefinition-us-core-observation-lab.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-observation-lab.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-observation-lab",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab",
6
  "version": "3.2.0",
7
  "name": "USCoreLaboratoryResultObservationProfile",
8
  "title": "US Core Laboratory Result Observation Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -63,16 +72,18 @@
63
  {
64
  "identity": "sct-attr",
65
  "uri": "http://snomed.org/attributebinding",
66
  "name": "SNOMED CT Attribute Binding"
 
 
 
67
  }
68
  ],
69
  "kind": "resource",
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -83,9 +94,10 @@
83
  "key": "us-core-2",
84
  "severity": "error",
85
  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present",
86
  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
87
- "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)"
 
88
  }
89
  ],
90
  "mustSupport": false,
91
  "mapping": [
@@ -97,15 +109,8 @@
97
  },
98
  {
99
  "id": "Observation.status",
100
  "path": "Observation.status",
101
- "min": 1,
102
- "max": "1",
103
- "type": [
104
- {
105
- "code": "code"
106
- }
107
- ],
108
  "mustSupport": true,
109
  "binding": {
110
  "strength": "required",
111
  "valueSet": "http://hl7.org/fhir/ValueSet/observation-status"
@@ -129,14 +134,8 @@
129
  ],
130
  "rules": "open"
131
  },
132
  "min": 1,
133
- "max": "*",
134
- "type": [
135
- {
136
- "code": "CodeableConcept"
137
- }
138
- ],
139
  "mustSupport": true,
140
  "mapping": [
141
  {
142
  "identity": "argonaut-dq-dstu2",
@@ -149,18 +148,13 @@
149
  "path": "Observation.category",
150
  "sliceName": "Laboratory",
151
  "min": 1,
152
  "max": "1",
153
- "type": [
154
- {
155
- "code": "CodeableConcept"
156
- }
157
- ],
158
  "patternCodeableConcept": {
159
  "coding": [
160
  {
161
- "system": "http://terminology.hl7.org/CodeSystem/observation-category",
162
- "code": "laboratory"
163
  }
164
  ]
165
  },
166
  "mustSupport": true,
@@ -180,20 +174,13 @@
180
  "alias": [
181
  "Test Name",
182
  "Observation Identifer"
183
  ],
184
- "min": 1,
185
- "max": "1",
186
- "type": [
187
- {
188
- "code": "CodeableConcept"
189
- }
190
- ],
191
  "mustSupport": true,
192
  "binding": {
193
  "strength": "extensible",
194
- "description": "LOINC codes",
195
- "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes"
196
  },
197
  "mapping": [
198
  {
199
  "identity": "argonaut-dq-dstu2",
@@ -204,9 +191,8 @@
204
  {
205
  "id": "Observation.subject",
206
  "path": "Observation.subject",
207
  "min": 1,
208
- "max": "1",
209
  "type": [
210
  {
211
  "code": "Reference",
212
  "targetProfile": [
@@ -225,19 +211,17 @@
225
  {
226
  "id": "Observation.effective[x]",
227
  "path": "Observation.effective[x]",
228
  "definition": "For lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.",
229
- "min": 0,
230
- "max": "1",
231
  "type": [
232
  {
 
233
  "extension": [
234
  {
235
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
236
  "valueBoolean": true
237
  }
238
- ],
239
- "code": "dateTime"
240
  },
241
  {
242
  "code": "Period"
243
  },
@@ -272,37 +256,35 @@
272
  "id": "Observation.value[x]",
273
  "path": "Observation.value[x]",
274
  "short": "Result Value",
275
  "definition": "The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults). If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification.",
276
- "min": 0,
277
- "max": "1",
278
  "type": [
279
  {
 
280
  "extension": [
281
  {
282
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
283
  "valueBoolean": true
284
  }
285
- ],
286
- "code": "Quantity"
287
  },
288
  {
 
289
  "extension": [
290
  {
291
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
292
  "valueBoolean": true
293
  }
294
- ],
295
- "code": "CodeableConcept"
296
  },
297
  {
 
298
  "extension": [
299
  {
300
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
301
  "valueBoolean": true
302
  }
303
- ],
304
- "code": "string"
305
  },
306
  {
307
  "code": "boolean"
308
  },
@@ -334,26 +316,28 @@
334
  "us-core-4"
335
  ],
336
  "constraint": [
337
  {
 
 
 
 
 
 
338
  "extension": [
339
  {
340
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
341
  "valueBoolean": true
342
  }
343
- ],
344
- "key": "us-core-4",
345
- "severity": "warning",
346
- "human": "SHOULD use Snomed CT for coded Results",
347
- "expression": "valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct'",
348
- "xpath": "not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct']"
349
  },
350
  {
351
  "key": "us-core-3",
352
  "severity": "error",
353
  "human": "SHALL use UCUM for coded quantity units.",
354
  "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'",
355
- "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']"
 
356
  }
357
  ],
358
  "mustSupport": true,
359
  "mapping": [
@@ -365,15 +349,8 @@
365
  },
366
  {
367
  "id": "Observation.dataAbsentReason",
368
  "path": "Observation.dataAbsentReason",
369
- "min": 0,
370
- "max": "1",
371
- "type": [
372
- {
373
- "code": "CodeableConcept"
374
- }
375
- ],
376
  "condition": [
377
  "us-core-2"
378
  ],
379
  "mustSupport": true,
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-observation-lab",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Diagnostics"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab",
15
  "version": "3.2.0",
16
  "name": "USCoreLaboratoryResultObservationProfile",
17
  "title": "US Core Laboratory Result Observation Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
72
  {
73
  "identity": "sct-attr",
74
  "uri": "http://snomed.org/attributebinding",
75
  "name": "SNOMED CT Attribute Binding"
76
+ },
77
+ {
78
+ "identity": "argonaut-dq-dstu2"
79
  }
80
  ],
81
  "kind": "resource",
82
  "abstract": false,
83
  "type": "Observation",
84
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
85
  "derivation": "constraint",
 
86
  "differential": {
87
  "element": [
88
  {
89
  "id": "Observation",
94
  "key": "us-core-2",
95
  "severity": "error",
96
  "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present",
97
  "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())",
98
+ "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)",
99
+ "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
100
  }
101
  ],
102
  "mustSupport": false,
103
  "mapping": [
109
  },
110
  {
111
  "id": "Observation.status",
112
  "path": "Observation.status",
 
 
 
 
 
 
 
113
  "mustSupport": true,
114
  "binding": {
115
  "strength": "required",
116
  "valueSet": "http://hl7.org/fhir/ValueSet/observation-status"
134
  ],
135
  "rules": "open"
136
  },
137
  "min": 1,
 
 
 
 
 
 
138
  "mustSupport": true,
139
  "mapping": [
140
  {
141
  "identity": "argonaut-dq-dstu2",
148
  "path": "Observation.category",
149
  "sliceName": "Laboratory",
150
  "min": 1,
151
  "max": "1",
 
 
 
 
 
152
  "patternCodeableConcept": {
153
  "coding": [
154
  {
155
+ "code": "laboratory",
156
+ "system": "http://terminology.hl7.org/CodeSystem/observation-category"
157
  }
158
  ]
159
  },
160
  "mustSupport": true,
174
  "alias": [
175
  "Test Name",
176
  "Observation Identifer"
177
  ],
 
 
 
 
 
 
 
178
  "mustSupport": true,
179
  "binding": {
180
  "strength": "extensible",
181
+ "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes",
182
+ "description": "LOINC codes"
183
  },
184
  "mapping": [
185
  {
186
  "identity": "argonaut-dq-dstu2",
191
  {
192
  "id": "Observation.subject",
193
  "path": "Observation.subject",
194
  "min": 1,
 
195
  "type": [
196
  {
197
  "code": "Reference",
198
  "targetProfile": [
211
  {
212
  "id": "Observation.effective[x]",
213
  "path": "Observation.effective[x]",
214
  "definition": "For lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.",
 
 
215
  "type": [
216
  {
217
+ "code": "dateTime",
218
  "extension": [
219
  {
220
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
221
  "valueBoolean": true
222
  }
223
+ ]
 
224
  },
225
  {
226
  "code": "Period"
227
  },
256
  "id": "Observation.value[x]",
257
  "path": "Observation.value[x]",
258
  "short": "Result Value",
259
  "definition": "The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults). If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification.",
 
 
260
  "type": [
261
  {
262
+ "code": "Quantity",
263
  "extension": [
264
  {
265
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
266
  "valueBoolean": true
267
  }
268
+ ]
 
269
  },
270
  {
271
+ "code": "CodeableConcept",
272
  "extension": [
273
  {
274
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
275
  "valueBoolean": true
276
  }
277
+ ]
 
278
  },
279
  {
280
+ "code": "string",
281
  "extension": [
282
  {
283
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
284
  "valueBoolean": true
285
  }
286
+ ]
 
287
  },
288
  {
289
  "code": "boolean"
290
  },
316
  "us-core-4"
317
  ],
318
  "constraint": [
319
  {
320
+ "key": "us-core-4",
321
+ "severity": "warning",
322
+ "human": "SHOULD use Snomed CT for coded Results",
323
+ "expression": "valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct'",
324
+ "xpath": "not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct']",
325
+ "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab",
326
  "extension": [
327
  {
328
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
329
  "valueBoolean": true
330
  }
331
+ ]
 
 
 
 
 
332
  },
333
  {
334
  "key": "us-core-3",
335
  "severity": "error",
336
  "human": "SHALL use UCUM for coded quantity units.",
337
  "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'",
338
+ "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']",
339
+ "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"
340
  }
341
  ],
342
  "mustSupport": true,
343
  "mapping": [
349
  },
350
  {
351
  "id": "Observation.dataAbsentReason",
352
  "path": "Observation.dataAbsentReason",
 
 
 
 
 
 
 
353
  "condition": [
354
  "us-core-2"
355
  ],
356
  "mustSupport": true,
StructureDefinition-us-core-organization.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-organization.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-organization",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
6
  "version": "3.2.0",
7
  "name": "USCoreOrganizationProfile",
8
  "title": "US Core Organization Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -60,21 +69,14 @@
60
  "abstract": false,
61
  "type": "Organization",
62
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization",
63
  "derivation": "constraint",
64
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
65
  "differential": {
66
  "element": [
67
  {
68
  "id": "Organization",
69
  "path": "Organization",
70
- "mustSupport": false,
71
- "mapping": [
72
- {
73
- "identity": "servd",
74
- "map": "Organization"
75
- }
76
- ]
77
  },
78
  {
79
  "id": "Organization.identifier",
80
  "path": "Organization.identifier",
@@ -87,15 +89,8 @@
87
  ],
88
  "rules": "open"
89
  },
90
  "comment": "NPI preferred.",
91
- "min": 0,
92
- "max": "*",
93
- "type": [
94
- {
95
- "code": "Identifier"
96
- }
97
- ],
98
  "mustSupport": true,
99
  "mapping": [
100
  {
101
  "identity": "servd",
@@ -105,27 +100,13 @@
105
  },
106
  {
107
  "id": "Organization.identifier.system",
108
  "path": "Organization.identifier.system",
109
- "min": 0,
110
- "max": "1",
111
- "type": [
112
- {
113
- "code": "uri"
114
- }
115
- ],
116
  "mustSupport": true
117
  },
118
  {
119
  "id": "Organization.identifier.value",
120
  "path": "Organization.identifier.value",
121
- "min": 0,
122
- "max": "1",
123
- "type": [
124
- {
125
- "code": "string"
126
- }
127
- ],
128
  "mustSupport": true
129
  },
130
  {
131
  "id": "Organization.identifier:NPI",
@@ -133,13 +114,8 @@
133
  "sliceName": "NPI",
134
  "short": "National Provider Identifier (NPI)",
135
  "min": 0,
136
  "max": "1",
137
- "type": [
138
- {
139
- "code": "Identifier"
140
- }
141
- ],
142
  "patternIdentifier": {
143
  "system": "http://hl7.org/fhir/sid/us-npi"
144
  },
145
  "mustSupport": true,
@@ -156,13 +132,8 @@
156
  "sliceName": "CLIA",
157
  "short": "Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories",
158
  "min": 0,
159
  "max": "1",
160
- "type": [
161
- {
162
- "code": "Identifier"
163
- }
164
- ],
165
  "patternIdentifier": {
166
  "system": "urn:oid:2.16.840.1.113883.4.7"
167
  },
168
  "mustSupport": false,
@@ -176,26 +147,14 @@
176
  {
177
  "id": "Organization.active",
178
  "path": "Organization.active",
179
  "min": 1,
180
- "max": "1",
181
- "type": [
182
- {
183
- "code": "boolean"
184
- }
185
- ],
186
  "mustSupport": true
187
  },
188
  {
189
  "id": "Organization.name",
190
  "path": "Organization.name",
191
  "min": 1,
192
- "max": "1",
193
- "type": [
194
- {
195
- "code": "string"
196
- }
197
- ],
198
  "mustSupport": true,
199
  "mapping": [
200
  {
201
  "identity": "servd",
@@ -205,15 +164,8 @@
205
  },
206
  {
207
  "id": "Organization.telecom",
208
  "path": "Organization.telecom",
209
- "min": 0,
210
- "max": "*",
211
- "type": [
212
- {
213
- "code": "ContactPoint"
214
- }
215
- ],
216
  "mustSupport": true
217
  },
218
  {
219
  "id": "Organization.telecom.system",
@@ -227,15 +179,8 @@
227
  },
228
  {
229
  "id": "Organization.address",
230
  "path": "Organization.address",
231
- "min": 0,
232
- "max": "*",
233
- "type": [
234
- {
235
- "code": "Address"
236
- }
237
- ],
238
  "mustSupport": true,
239
  "mapping": [
240
  {
241
  "identity": "servd",
@@ -245,44 +190,24 @@
245
  },
246
  {
247
  "id": "Organization.address.line",
248
  "path": "Organization.address.line",
249
- "min": 0,
250
  "max": "4",
251
- "type": [
252
- {
253
- "code": "string"
254
- }
255
- ],
256
  "mustSupport": true
257
  },
258
  {
259
  "id": "Organization.address.city",
260
  "path": "Organization.address.city",
261
- "min": 0,
262
- "max": "1",
263
- "type": [
264
- {
265
- "code": "string"
266
- }
267
- ],
268
  "mustSupport": true
269
  },
270
  {
271
  "id": "Organization.address.state",
272
  "path": "Organization.address.state",
273
- "min": 0,
274
- "max": "1",
275
- "type": [
276
- {
277
- "code": "string"
278
- }
279
- ],
280
  "mustSupport": true,
281
  "binding": {
282
  "strength": "extensible",
283
- "description": "Two letter USPS alphabetic codes.",
284
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state"
285
  },
286
  "mapping": [
287
  {
288
  "identity": "servd",
@@ -293,27 +218,13 @@
293
  {
294
  "id": "Organization.address.postalCode",
295
  "path": "Organization.address.postalCode",
296
  "short": "US Zip Codes",
297
- "min": 0,
298
- "max": "1",
299
- "type": [
300
- {
301
- "code": "string"
302
- }
303
- ],
304
  "mustSupport": true
305
  },
306
  {
307
  "id": "Organization.address.country",
308
  "path": "Organization.address.country",
309
- "min": 0,
310
- "max": "1",
311
- "type": [
312
- {
313
- "code": "string"
314
- }
315
- ],
316
  "mustSupport": true
317
  }
318
  ]
319
  }
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-organization",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Base.Entities"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "business"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
15
  "version": "3.2.0",
16
  "name": "USCoreOrganizationProfile",
17
  "title": "US Core Organization Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
69
  "abstract": false,
70
  "type": "Organization",
71
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Organization",
77
  "path": "Organization",
78
+ "mustSupport": false
 
 
 
 
 
 
79
  },
80
  {
81
  "id": "Organization.identifier",
82
  "path": "Organization.identifier",
89
  ],
90
  "rules": "open"
91
  },
92
  "comment": "NPI preferred.",
 
 
 
 
 
 
 
93
  "mustSupport": true,
94
  "mapping": [
95
  {
96
  "identity": "servd",
100
  },
101
  {
102
  "id": "Organization.identifier.system",
103
  "path": "Organization.identifier.system",
 
 
 
 
 
 
 
104
  "mustSupport": true
105
  },
106
  {
107
  "id": "Organization.identifier.value",
108
  "path": "Organization.identifier.value",
 
 
 
 
 
 
 
109
  "mustSupport": true
110
  },
111
  {
112
  "id": "Organization.identifier:NPI",
114
  "sliceName": "NPI",
115
  "short": "National Provider Identifier (NPI)",
116
  "min": 0,
117
  "max": "1",
 
 
 
 
 
118
  "patternIdentifier": {
119
  "system": "http://hl7.org/fhir/sid/us-npi"
120
  },
121
  "mustSupport": true,
132
  "sliceName": "CLIA",
133
  "short": "Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories",
134
  "min": 0,
135
  "max": "1",
 
 
 
 
 
136
  "patternIdentifier": {
137
  "system": "urn:oid:2.16.840.1.113883.4.7"
138
  },
139
  "mustSupport": false,
147
  {
148
  "id": "Organization.active",
149
  "path": "Organization.active",
150
  "min": 1,
 
 
 
 
 
 
151
  "mustSupport": true
152
  },
153
  {
154
  "id": "Organization.name",
155
  "path": "Organization.name",
156
  "min": 1,
 
 
 
 
 
 
157
  "mustSupport": true,
158
  "mapping": [
159
  {
160
  "identity": "servd",
164
  },
165
  {
166
  "id": "Organization.telecom",
167
  "path": "Organization.telecom",
 
 
 
 
 
 
 
168
  "mustSupport": true
169
  },
170
  {
171
  "id": "Organization.telecom.system",
179
  },
180
  {
181
  "id": "Organization.address",
182
  "path": "Organization.address",
 
 
 
 
 
 
 
183
  "mustSupport": true,
184
  "mapping": [
185
  {
186
  "identity": "servd",
190
  },
191
  {
192
  "id": "Organization.address.line",
193
  "path": "Organization.address.line",
 
194
  "max": "4",
 
 
 
 
 
195
  "mustSupport": true
196
  },
197
  {
198
  "id": "Organization.address.city",
199
  "path": "Organization.address.city",
 
 
 
 
 
 
 
200
  "mustSupport": true
201
  },
202
  {
203
  "id": "Organization.address.state",
204
  "path": "Organization.address.state",
 
 
 
 
 
 
 
205
  "mustSupport": true,
206
  "binding": {
207
  "strength": "extensible",
208
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state",
209
+ "description": "Two letter USPS alphabetic codes."
210
  },
211
  "mapping": [
212
  {
213
  "identity": "servd",
218
  {
219
  "id": "Organization.address.postalCode",
220
  "path": "Organization.address.postalCode",
221
  "short": "US Zip Codes",
 
 
 
 
 
 
 
222
  "mustSupport": true
223
  },
224
  {
225
  "id": "Organization.address.country",
226
  "path": "Organization.address.country",
 
 
 
 
 
 
 
227
  "mustSupport": true
228
  }
229
  ]
230
  }
StructureDefinition-us-core-patient.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-patient.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-patient",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
6
  "version": "3.2.0",
7
  "name": "USCorePatientProfile",
8
  "title": "US Core Patient Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -58,16 +67,18 @@
58
  {
59
  "identity": "loinc",
60
  "uri": "http://loinc.org",
61
  "name": "LOINC code for the element"
 
 
 
62
  }
63
  ],
64
  "kind": "resource",
65
  "abstract": false,
66
  "type": "Patient",
67
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
68
  "derivation": "constraint",
69
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
70
  "differential": {
71
  "element": [
72
  {
73
  "id": "Patient",
@@ -81,8 +92,22 @@
81
  }
82
  ]
83
  },
84
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  "id": "Patient.extension:race",
86
  "path": "Patient.extension",
87
  "sliceName": "race",
88
  "min": 0,
@@ -150,14 +175,8 @@
150
  {
151
  "id": "Patient.identifier",
152
  "path": "Patient.identifier",
153
  "min": 1,
154
- "max": "*",
155
- "type": [
156
- {
157
- "code": "Identifier"
158
- }
159
- ],
160
  "mustSupport": true,
161
  "mapping": [
162
  {
163
  "identity": "argonaut-dq-dstu2",
@@ -168,14 +187,8 @@
168
  {
169
  "id": "Patient.identifier.system",
170
  "path": "Patient.identifier.system",
171
  "min": 1,
172
- "max": "1",
173
- "type": [
174
- {
175
- "code": "uri"
176
- }
177
- ],
178
  "mustSupport": true,
179
  "mapping": [
180
  {
181
  "identity": "argonaut-dq-dstu2",
@@ -187,14 +200,8 @@
187
  "id": "Patient.identifier.value",
188
  "path": "Patient.identifier.value",
189
  "short": "The value that is unique within the system.",
190
  "min": 1,
191
- "max": "1",
192
- "type": [
193
- {
194
- "code": "string"
195
- }
196
- ],
197
  "mustSupport": true,
198
  "mapping": [
199
  {
200
  "identity": "argonaut-dq-dstu2",
@@ -205,21 +212,16 @@
205
  {
206
  "id": "Patient.name",
207
  "path": "Patient.name",
208
  "min": 1,
209
- "max": "*",
210
- "type": [
211
- {
212
- "code": "HumanName"
213
- }
214
- ],
215
  "constraint": [
216
  {
217
  "key": "us-core-8",
218
  "severity": "error",
219
  "human": "Either Patient.name.given and/or Patient.name.family SHALL be present or a Data Absent Reason Extension SHALL be present.",
220
  "expression": "(family.exists() or given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()",
221
- "xpath": "(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason' and not(/f:family or /f:given)) or (not(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason') and (/f:family or /f:given))"
 
222
  }
223
  ],
224
  "mustSupport": true,
225
  "mapping": [
@@ -231,15 +233,8 @@
231
  },
232
  {
233
  "id": "Patient.name.family",
234
  "path": "Patient.name.family",
235
- "min": 0,
236
- "max": "1",
237
- "type": [
238
- {
239
- "code": "string"
240
- }
241
- ],
242
  "condition": [
243
  "us-core-8"
244
  ],
245
  "mustSupport": true,
@@ -252,15 +247,8 @@
252
  },
253
  {
254
  "id": "Patient.name.given",
255
  "path": "Patient.name.given",
256
- "min": 0,
257
- "max": "*",
258
- "type": [
259
- {
260
- "code": "string"
261
- }
262
- ],
263
  "condition": [
264
  "us-core-8"
265
  ],
266
  "mustSupport": true,
@@ -295,10 +283,8 @@
295
  },
296
  {
297
  "id": "Patient.telecom",
298
  "path": "Patient.telecom",
299
- "min": 0,
300
- "max": "*",
301
  "mustSupport": false,
302
  "mapping": [
303
  {
304
  "identity": "argonaut-dq-dstu2",
@@ -309,14 +295,13 @@
309
  {
310
  "id": "Patient.telecom.system",
311
  "path": "Patient.telecom.system",
312
  "min": 1,
313
- "max": "1",
314
  "mustSupport": true,
315
  "binding": {
316
  "strength": "required",
317
- "description": "Telecommunications form for contact point.",
318
- "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system"
319
  },
320
  "mapping": [
321
  {
322
  "identity": "argonaut-dq-dstu2",
@@ -327,9 +312,8 @@
327
  {
328
  "id": "Patient.telecom.value",
329
  "path": "Patient.telecom.value",
330
  "min": 1,
331
- "max": "1",
332
  "mustSupport": true,
333
  "mapping": [
334
  {
335
  "identity": "argonaut-dq-dstu2",
@@ -339,10 +323,8 @@
339
  },
340
  {
341
  "id": "Patient.telecom.use",
342
  "path": "Patient.telecom.use",
343
- "min": 0,
344
- "max": "1",
345
  "mustSupport": true,
346
  "binding": {
347
  "strength": "required",
348
  "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use"
@@ -357,14 +339,8 @@
357
  {
358
  "id": "Patient.gender",
359
  "path": "Patient.gender",
360
  "min": 1,
361
- "max": "1",
362
- "type": [
363
- {
364
- "code": "code"
365
- }
366
- ],
367
  "mustSupport": true,
368
  "binding": {
369
  "strength": "required",
370
  "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender"
@@ -378,15 +354,8 @@
378
  },
379
  {
380
  "id": "Patient.birthDate",
381
  "path": "Patient.birthDate",
382
- "min": 0,
383
- "max": "1",
384
- "type": [
385
- {
386
- "code": "date"
387
- }
388
- ],
389
  "mustSupport": true,
390
  "mapping": [
391
  {
392
  "identity": "argonaut-dq-dstu2",
@@ -396,10 +365,8 @@
396
  },
397
  {
398
  "id": "Patient.address",
399
  "path": "Patient.address",
400
- "min": 0,
401
- "max": "*",
402
  "mustSupport": true,
403
  "mapping": [
404
  {
405
  "identity": "argonaut-dq-dstu2",
@@ -409,10 +376,8 @@
409
  },
410
  {
411
  "id": "Patient.address.line",
412
  "path": "Patient.address.line",
413
- "min": 0,
414
- "max": "*",
415
  "mustSupport": true,
416
  "mapping": [
417
  {
418
  "identity": "argonaut-dq-dstu2",
@@ -422,10 +387,8 @@
422
  },
423
  {
424
  "id": "Patient.address.city",
425
  "path": "Patient.address.city",
426
- "min": 0,
427
- "max": "1",
428
  "mustSupport": true,
429
  "mapping": [
430
  {
431
  "identity": "argonaut-dq-dstu2",
@@ -435,15 +398,13 @@
435
  },
436
  {
437
  "id": "Patient.address.state",
438
  "path": "Patient.address.state",
439
- "min": 0,
440
- "max": "1",
441
  "mustSupport": true,
442
  "binding": {
443
  "strength": "extensible",
444
- "description": "Two Letter USPS alphabetic codes.",
445
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state"
446
  },
447
  "mapping": [
448
  {
449
  "identity": "argonaut-dq-dstu2",
@@ -457,10 +418,8 @@
457
  "short": "US Zip Codes",
458
  "alias": [
459
  "Zip Code"
460
  ],
461
- "min": 0,
462
- "max": "1",
463
  "mustSupport": true,
464
  "mapping": [
465
  {
466
  "identity": "argonaut-dq-dstu2",
@@ -470,10 +429,8 @@
470
  },
471
  {
472
  "id": "Patient.address.period",
473
  "path": "Patient.address.period",
474
- "min": 0,
475
- "max": "1",
476
  "mustSupport": true,
477
  "mapping": [
478
  {
479
  "identity": "argonaut-dq-dstu2",
@@ -483,10 +440,8 @@
483
  },
484
  {
485
  "id": "Patient.communication",
486
  "path": "Patient.communication",
487
- "min": 0,
488
- "max": "*",
489
  "mustSupport": false,
490
  "mapping": [
491
  {
492
  "identity": "argonaut-dq-dstu2",
@@ -496,15 +451,8 @@
496
  },
497
  {
498
  "id": "Patient.communication.language",
499
  "path": "Patient.communication.language",
500
- "min": 1,
501
- "max": "1",
502
- "type": [
503
- {
504
- "code": "CodeableConcept"
505
- }
506
- ],
507
  "mustSupport": true,
508
  "binding": {
509
  "strength": "extensible",
510
  "valueSet": "http://hl7.org/fhir/us/core/ValueSet/simple-language"
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-patient",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Base.Individuals"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
15
  "version": "3.2.0",
16
  "name": "USCorePatientProfile",
17
  "title": "US Core Patient Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
67
  {
68
  "identity": "loinc",
69
  "uri": "http://loinc.org",
70
  "name": "LOINC code for the element"
71
+ },
72
+ {
73
+ "identity": "argonaut-dq-dstu2"
74
  }
75
  ],
76
  "kind": "resource",
77
  "abstract": false,
78
  "type": "Patient",
79
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
80
  "derivation": "constraint",
 
81
  "differential": {
82
  "element": [
83
  {
84
  "id": "Patient",
92
  }
93
  ]
94
  },
95
  {
96
+ "id": "Patient.extension",
97
+ "path": "Patient.extension",
98
+ "slicing": {
99
+ "discriminator": [
100
+ {
101
+ "type": "value",
102
+ "path": "url"
103
+ }
104
+ ],
105
+ "ordered": false,
106
+ "rules": "open"
107
+ }
108
+ },
109
+ {
110
  "id": "Patient.extension:race",
111
  "path": "Patient.extension",
112
  "sliceName": "race",
113
  "min": 0,
175
  {
176
  "id": "Patient.identifier",
177
  "path": "Patient.identifier",
178
  "min": 1,
 
 
 
 
 
 
179
  "mustSupport": true,
180
  "mapping": [
181
  {
182
  "identity": "argonaut-dq-dstu2",
187
  {
188
  "id": "Patient.identifier.system",
189
  "path": "Patient.identifier.system",
190
  "min": 1,
 
 
 
 
 
 
191
  "mustSupport": true,
192
  "mapping": [
193
  {
194
  "identity": "argonaut-dq-dstu2",
200
  "id": "Patient.identifier.value",
201
  "path": "Patient.identifier.value",
202
  "short": "The value that is unique within the system.",
203
  "min": 1,
 
 
 
 
 
 
204
  "mustSupport": true,
205
  "mapping": [
206
  {
207
  "identity": "argonaut-dq-dstu2",
212
  {
213
  "id": "Patient.name",
214
  "path": "Patient.name",
215
  "min": 1,
 
 
 
 
 
 
216
  "constraint": [
217
  {
218
  "key": "us-core-8",
219
  "severity": "error",
220
  "human": "Either Patient.name.given and/or Patient.name.family SHALL be present or a Data Absent Reason Extension SHALL be present.",
221
  "expression": "(family.exists() or given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()",
222
+ "xpath": "(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason' and not(/f:family or /f:given)) or (not(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason') and (/f:family or /f:given))",
223
+ "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
224
  }
225
  ],
226
  "mustSupport": true,
227
  "mapping": [
233
  },
234
  {
235
  "id": "Patient.name.family",
236
  "path": "Patient.name.family",
 
 
 
 
 
 
 
237
  "condition": [
238
  "us-core-8"
239
  ],
240
  "mustSupport": true,
247
  },
248
  {
249
  "id": "Patient.name.given",
250
  "path": "Patient.name.given",
 
 
 
 
 
 
 
251
  "condition": [
252
  "us-core-8"
253
  ],
254
  "mustSupport": true,
283
  },
284
  {
285
  "id": "Patient.telecom",
286
  "path": "Patient.telecom",
 
 
287
  "mustSupport": false,
288
  "mapping": [
289
  {
290
  "identity": "argonaut-dq-dstu2",
295
  {
296
  "id": "Patient.telecom.system",
297
  "path": "Patient.telecom.system",
298
  "min": 1,
 
299
  "mustSupport": true,
300
  "binding": {
301
  "strength": "required",
302
+ "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system",
303
+ "description": "Telecommunications form for contact point."
304
  },
305
  "mapping": [
306
  {
307
  "identity": "argonaut-dq-dstu2",
312
  {
313
  "id": "Patient.telecom.value",
314
  "path": "Patient.telecom.value",
315
  "min": 1,
 
316
  "mustSupport": true,
317
  "mapping": [
318
  {
319
  "identity": "argonaut-dq-dstu2",
323
  },
324
  {
325
  "id": "Patient.telecom.use",
326
  "path": "Patient.telecom.use",
 
 
327
  "mustSupport": true,
328
  "binding": {
329
  "strength": "required",
330
  "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use"
339
  {
340
  "id": "Patient.gender",
341
  "path": "Patient.gender",
342
  "min": 1,
 
 
 
 
 
 
343
  "mustSupport": true,
344
  "binding": {
345
  "strength": "required",
346
  "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender"
354
  },
355
  {
356
  "id": "Patient.birthDate",
357
  "path": "Patient.birthDate",
 
 
 
 
 
 
 
358
  "mustSupport": true,
359
  "mapping": [
360
  {
361
  "identity": "argonaut-dq-dstu2",
365
  },
366
  {
367
  "id": "Patient.address",
368
  "path": "Patient.address",
 
 
369
  "mustSupport": true,
370
  "mapping": [
371
  {
372
  "identity": "argonaut-dq-dstu2",
376
  },
377
  {
378
  "id": "Patient.address.line",
379
  "path": "Patient.address.line",
 
 
380
  "mustSupport": true,
381
  "mapping": [
382
  {
383
  "identity": "argonaut-dq-dstu2",
387
  },
388
  {
389
  "id": "Patient.address.city",
390
  "path": "Patient.address.city",
 
 
391
  "mustSupport": true,
392
  "mapping": [
393
  {
394
  "identity": "argonaut-dq-dstu2",
398
  },
399
  {
400
  "id": "Patient.address.state",
401
  "path": "Patient.address.state",
 
 
402
  "mustSupport": true,
403
  "binding": {
404
  "strength": "extensible",
405
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state",
406
+ "description": "Two Letter USPS alphabetic codes."
407
  },
408
  "mapping": [
409
  {
410
  "identity": "argonaut-dq-dstu2",
418
  "short": "US Zip Codes",
419
  "alias": [
420
  "Zip Code"
421
  ],
 
 
422
  "mustSupport": true,
423
  "mapping": [
424
  {
425
  "identity": "argonaut-dq-dstu2",
429
  },
430
  {
431
  "id": "Patient.address.period",
432
  "path": "Patient.address.period",
 
 
433
  "mustSupport": true,
434
  "mapping": [
435
  {
436
  "identity": "argonaut-dq-dstu2",
440
  },
441
  {
442
  "id": "Patient.communication",
443
  "path": "Patient.communication",
 
 
444
  "mustSupport": false,
445
  "mapping": [
446
  {
447
  "identity": "argonaut-dq-dstu2",
451
  },
452
  {
453
  "id": "Patient.communication.language",
454
  "path": "Patient.communication.language",
 
 
 
 
 
 
 
455
  "mustSupport": true,
456
  "binding": {
457
  "strength": "extensible",
458
  "valueSet": "http://hl7.org/fhir/us/core/ValueSet/simple-language"
StructureDefinition-us-core-practitioner.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-practitioner.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-practitioner",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
6
  "version": "3.2.0",
7
  "name": "USCorePractitionerProfile",
8
  "title": "US Core Practitioner Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -60,9 +69,8 @@
60
  "abstract": false,
61
  "type": "Practitioner",
62
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner",
63
  "derivation": "constraint",
64
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
65
  "differential": {
66
  "element": [
67
  {
68
  "id": "Practitioner",
@@ -86,51 +94,28 @@
86
  "rules": "open"
87
  },
88
  "comment": "NPI must be supported as the identifier system in the US, Tax id is allowed, Local id is allowed in addition to another identifier supplied by a jurisdictional authority such as a practitioner's *Drug Enforcement Administration (DEA)* number.",
89
  "min": 1,
90
- "max": "*",
91
- "type": [
92
- {
93
- "code": "Identifier"
94
- }
95
- ],
96
  "mustSupport": true
97
  },
98
  {
99
  "id": "Practitioner.identifier.system",
100
  "path": "Practitioner.identifier.system",
101
  "min": 1,
102
- "max": "1",
103
- "type": [
104
- {
105
- "code": "uri"
106
- }
107
- ],
108
  "mustSupport": true
109
  },
110
  {
111
  "id": "Practitioner.identifier.value",
112
  "path": "Practitioner.identifier.value",
113
  "min": 1,
114
- "max": "1",
115
- "type": [
116
- {
117
- "code": "string"
118
- }
119
- ],
120
  "mustSupport": true
121
  },
122
  {
123
  "id": "Practitioner.identifier:NPI",
124
  "path": "Practitioner.identifier",
125
  "sliceName": "NPI",
126
  "min": 0,
127
  "max": "1",
128
- "type": [
129
- {
130
- "code": "Identifier"
131
- }
132
- ],
133
  "patternIdentifier": {
134
  "system": "http://hl7.org/fhir/sid/us-npi"
135
  },
136
  "mustSupport": true
@@ -138,26 +123,14 @@
138
  {
139
  "id": "Practitioner.name",
140
  "path": "Practitioner.name",
141
  "min": 1,
142
- "max": "*",
143
- "type": [
144
- {
145
- "code": "HumanName"
146
- }
147
- ],
148
  "mustSupport": true
149
  },
150
  {
151
  "id": "Practitioner.name.family",
152
  "path": "Practitioner.name.family",
153
  "min": 1,
154
- "max": "1",
155
- "type": [
156
- {
157
- "code": "string"
158
- }
159
- ],
160
  "mustSupport": true
161
  }
162
  ]
163
  }
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-practitioner",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Base.Individuals"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "individual"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
15
  "version": "3.2.0",
16
  "name": "USCorePractitionerProfile",
17
  "title": "US Core Practitioner Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
69
  "abstract": false,
70
  "type": "Practitioner",
71
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Practitioner",
94
  "rules": "open"
95
  },
96
  "comment": "NPI must be supported as the identifier system in the US, Tax id is allowed, Local id is allowed in addition to another identifier supplied by a jurisdictional authority such as a practitioner's *Drug Enforcement Administration (DEA)* number.",
97
  "min": 1,
 
 
 
 
 
 
98
  "mustSupport": true
99
  },
100
  {
101
  "id": "Practitioner.identifier.system",
102
  "path": "Practitioner.identifier.system",
103
  "min": 1,
 
 
 
 
 
 
104
  "mustSupport": true
105
  },
106
  {
107
  "id": "Practitioner.identifier.value",
108
  "path": "Practitioner.identifier.value",
109
  "min": 1,
 
 
 
 
 
 
110
  "mustSupport": true
111
  },
112
  {
113
  "id": "Practitioner.identifier:NPI",
114
  "path": "Practitioner.identifier",
115
  "sliceName": "NPI",
116
  "min": 0,
117
  "max": "1",
 
 
 
 
 
118
  "patternIdentifier": {
119
  "system": "http://hl7.org/fhir/sid/us-npi"
120
  },
121
  "mustSupport": true
123
  {
124
  "id": "Practitioner.name",
125
  "path": "Practitioner.name",
126
  "min": 1,
 
 
 
 
 
 
127
  "mustSupport": true
128
  },
129
  {
130
  "id": "Practitioner.name.family",
131
  "path": "Practitioner.name.family",
132
  "min": 1,
 
 
 
 
 
 
133
  "mustSupport": true
134
  }
135
  ]
136
  }
StructureDefinition-us-core-practitionerrole.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-practitionerrole.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-practitionerrole",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
6
  "version": "3.2.0",
7
  "name": "USCorePractitionerRoleProfile",
8
  "title": "US Core PractitionerRole Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -60,9 +69,8 @@
60
  "abstract": false,
61
  "type": "PractitionerRole",
62
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
63
  "derivation": "constraint",
64
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
65
  "differential": {
66
  "element": [
67
  {
68
  "id": "PractitionerRole",
@@ -73,18 +81,18 @@
73
  "key": "pd-1",
74
  "severity": "error",
75
  "human": "SHALL have contact information or a reference to an Endpoint",
76
  "expression": "telecom or endpoint",
77
- "xpath": "exists(f:telecom) or exists(f:endpoint)"
 
78
  }
79
  ],
80
  "mustSupport": false
81
  },
82
  {
83
  "id": "PractitionerRole.practitioner",
84
  "path": "PractitionerRole.practitioner",
85
  "min": 1,
86
- "max": "1",
87
  "type": [
88
  {
89
  "code": "Reference",
90
  "targetProfile": [
@@ -97,9 +105,8 @@
97
  {
98
  "id": "PractitionerRole.organization",
99
  "path": "PractitionerRole.organization",
100
  "min": 1,
101
- "max": "1",
102
  "type": [
103
  {
104
  "code": "Reference",
105
  "targetProfile": [
@@ -111,32 +118,18 @@
111
  },
112
  {
113
  "id": "PractitionerRole.code",
114
  "path": "PractitionerRole.code",
115
- "min": 0,
116
- "max": "*",
117
- "type": [
118
- {
119
- "code": "CodeableConcept"
120
- }
121
- ],
122
  "mustSupport": true,
123
  "binding": {
124
  "strength": "extensible",
125
- "description": "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.",
126
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role"
127
  }
128
  },
129
  {
130
  "id": "PractitionerRole.specialty",
131
  "path": "PractitionerRole.specialty",
132
- "min": 0,
133
- "max": "*",
134
- "type": [
135
- {
136
- "code": "CodeableConcept"
137
- }
138
- ],
139
  "mustSupport": true,
140
  "binding": {
141
  "strength": "extensible",
142
  "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066"
@@ -144,30 +137,13 @@
144
  },
145
  {
146
  "id": "PractitionerRole.location",
147
  "path": "PractitionerRole.location",
148
- "min": 0,
149
- "max": "*",
150
- "type": [
151
- {
152
- "code": "Reference",
153
- "targetProfile": [
154
- "http://hl7.org/fhir/StructureDefinition/Location"
155
- ]
156
- }
157
- ],
158
  "mustSupport": true
159
  },
160
  {
161
  "id": "PractitionerRole.telecom",
162
  "path": "PractitionerRole.telecom",
163
- "min": 0,
164
- "max": "*",
165
- "type": [
166
- {
167
- "code": "ContactPoint"
168
- }
169
- ],
170
  "condition": [
171
  "pd-1"
172
  ],
173
  "mustSupport": true
@@ -175,33 +151,19 @@
175
  {
176
  "id": "PractitionerRole.telecom.system",
177
  "path": "PractitionerRole.telecom.system",
178
  "min": 1,
179
- "max": "1",
180
- "type": [
181
- {
182
- "code": "code"
183
- }
184
- ],
185
  "mustSupport": true
186
  },
187
  {
188
  "id": "PractitionerRole.telecom.value",
189
  "path": "PractitionerRole.telecom.value",
190
  "min": 1,
191
- "max": "1",
192
- "type": [
193
- {
194
- "code": "string"
195
- }
196
- ],
197
  "mustSupport": true
198
  },
199
  {
200
  "id": "PractitionerRole.endpoint",
201
  "path": "PractitionerRole.endpoint",
202
- "min": 0,
203
- "max": "*",
204
  "condition": [
205
  "pd-1"
206
  ],
207
  "mustSupport": true
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-practitionerrole",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Base.Individuals"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "individual"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
15
  "version": "3.2.0",
16
  "name": "USCorePractitionerRoleProfile",
17
  "title": "US Core PractitionerRole Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
69
  "abstract": false,
70
  "type": "PractitionerRole",
71
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "PractitionerRole",
81
  "key": "pd-1",
82
  "severity": "error",
83
  "human": "SHALL have contact information or a reference to an Endpoint",
84
  "expression": "telecom or endpoint",
85
+ "xpath": "exists(f:telecom) or exists(f:endpoint)",
86
+ "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole"
87
  }
88
  ],
89
  "mustSupport": false
90
  },
91
  {
92
  "id": "PractitionerRole.practitioner",
93
  "path": "PractitionerRole.practitioner",
94
  "min": 1,
 
95
  "type": [
96
  {
97
  "code": "Reference",
98
  "targetProfile": [
105
  {
106
  "id": "PractitionerRole.organization",
107
  "path": "PractitionerRole.organization",
108
  "min": 1,
 
109
  "type": [
110
  {
111
  "code": "Reference",
112
  "targetProfile": [
118
  },
119
  {
120
  "id": "PractitionerRole.code",
121
  "path": "PractitionerRole.code",
 
 
 
 
 
 
 
122
  "mustSupport": true,
123
  "binding": {
124
  "strength": "extensible",
125
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role",
126
+ "description": "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers."
127
  }
128
  },
129
  {
130
  "id": "PractitionerRole.specialty",
131
  "path": "PractitionerRole.specialty",
 
 
 
 
 
 
 
132
  "mustSupport": true,
133
  "binding": {
134
  "strength": "extensible",
135
  "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066"
137
  },
138
  {
139
  "id": "PractitionerRole.location",
140
  "path": "PractitionerRole.location",
 
 
 
 
 
 
 
 
 
 
141
  "mustSupport": true
142
  },
143
  {
144
  "id": "PractitionerRole.telecom",
145
  "path": "PractitionerRole.telecom",
 
 
 
 
 
 
 
146
  "condition": [
147
  "pd-1"
148
  ],
149
  "mustSupport": true
151
  {
152
  "id": "PractitionerRole.telecom.system",
153
  "path": "PractitionerRole.telecom.system",
154
  "min": 1,
 
 
 
 
 
 
155
  "mustSupport": true
156
  },
157
  {
158
  "id": "PractitionerRole.telecom.value",
159
  "path": "PractitionerRole.telecom.value",
160
  "min": 1,
 
 
 
 
 
 
161
  "mustSupport": true
162
  },
163
  {
164
  "id": "PractitionerRole.endpoint",
165
  "path": "PractitionerRole.endpoint",
 
 
166
  "condition": [
167
  "pd-1"
168
  ],
169
  "mustSupport": true
StructureDefinition-us-core-procedure.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-procedure.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-procedure",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure",
6
  "version": "3.2.0",
7
  "name": "USCoreProcedureProfile",
8
  "title": "US Core Procedure Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -53,16 +62,18 @@
53
  {
54
  "identity": "v2",
55
  "uri": "http://hl7.org/v2",
56
  "name": "HL7 v2 Mapping"
 
 
 
57
  }
58
  ],
59
  "kind": "resource",
60
  "abstract": false,
61
  "type": "Procedure",
62
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure",
63
  "derivation": "constraint",
64
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
65
  "differential": {
66
  "element": [
67
  {
68
  "id": "Procedure",
@@ -78,15 +89,8 @@
78
  },
79
  {
80
  "id": "Procedure.status",
81
  "path": "Procedure.status",
82
- "min": 1,
83
- "max": "1",
84
- "type": [
85
- {
86
- "code": "code"
87
- }
88
- ],
89
  "mustSupport": true,
90
  "binding": {
91
  "strength": "required",
92
  "valueSet": "http://hl7.org/fhir/ValueSet/event-status"
@@ -102,19 +106,13 @@
102
  "id": "Procedure.code",
103
  "path": "Procedure.code",
104
  "short": "Procedure codes from SNOMED CT, CPT, HCPCS II, ICD-10PC, or CDT",
105
  "min": 1,
106
- "max": "1",
107
- "type": [
108
- {
109
- "code": "CodeableConcept"
110
- }
111
- ],
112
  "mustSupport": true,
113
  "binding": {
114
  "strength": "required",
115
- "description": "Codes describing the type of Procedure",
116
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code"
117
  },
118
  "mapping": [
119
  {
120
  "identity": "argonaut-dq-dstu2",
@@ -124,10 +122,8 @@
124
  },
125
  {
126
  "id": "Procedure.subject",
127
  "path": "Procedure.subject",
128
- "min": 1,
129
- "max": "1",
130
  "type": [
131
  {
132
  "code": "Reference",
133
  "targetProfile": [
@@ -146,18 +142,17 @@
146
  {
147
  "id": "Procedure.performed[x]",
148
  "path": "Procedure.performed[x]",
149
  "min": 1,
150
- "max": "1",
151
  "type": [
152
  {
 
153
  "extension": [
154
  {
155
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
156
  "valueBoolean": true
157
  }
158
- ],
159
- "code": "dateTime"
160
  },
161
  {
162
  "code": "Period"
163
  }
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-procedure",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Summary"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure",
15
  "version": "3.2.0",
16
  "name": "USCoreProcedureProfile",
17
  "title": "US Core Procedure Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
62
  {
63
  "identity": "v2",
64
  "uri": "http://hl7.org/v2",
65
  "name": "HL7 v2 Mapping"
66
+ },
67
+ {
68
+ "identity": "argonaut-dq-dstu2"
69
  }
70
  ],
71
  "kind": "resource",
72
  "abstract": false,
73
  "type": "Procedure",
74
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure",
75
  "derivation": "constraint",
 
76
  "differential": {
77
  "element": [
78
  {
79
  "id": "Procedure",
89
  },
90
  {
91
  "id": "Procedure.status",
92
  "path": "Procedure.status",
 
 
 
 
 
 
 
93
  "mustSupport": true,
94
  "binding": {
95
  "strength": "required",
96
  "valueSet": "http://hl7.org/fhir/ValueSet/event-status"
106
  "id": "Procedure.code",
107
  "path": "Procedure.code",
108
  "short": "Procedure codes from SNOMED CT, CPT, HCPCS II, ICD-10PC, or CDT",
109
  "min": 1,
 
 
 
 
 
 
110
  "mustSupport": true,
111
  "binding": {
112
  "strength": "required",
113
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code",
114
+ "description": "Codes describing the type of Procedure"
115
  },
116
  "mapping": [
117
  {
118
  "identity": "argonaut-dq-dstu2",
122
  },
123
  {
124
  "id": "Procedure.subject",
125
  "path": "Procedure.subject",
 
 
126
  "type": [
127
  {
128
  "code": "Reference",
129
  "targetProfile": [
142
  {
143
  "id": "Procedure.performed[x]",
144
  "path": "Procedure.performed[x]",
145
  "min": 1,
 
146
  "type": [
147
  {
148
+ "code": "dateTime",
149
  "extension": [
150
  {
151
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
152
  "valueBoolean": true
153
  }
154
+ ]
 
155
  },
156
  {
157
  "code": "Period"
158
  }
StructureDefinition-us-core-provenance.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-provenance.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-provenance",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance",
6
  "version": "3.2.0",
7
  "name": "USCoreProvenance",
8
  "title": "US Core Provenance Profile",
@@ -24,10 +33,10 @@
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
- "system": "urn:iso:std:iso:3166",
29
- "code": "US"
30
  }
31
  ]
32
  }
33
  ],
@@ -64,38 +73,27 @@
64
  "abstract": false,
65
  "type": "Provenance",
66
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance",
67
  "derivation": "constraint",
68
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
69
  "differential": {
70
  "element": [
71
  {
72
  "id": "Provenance",
73
  "path": "Provenance",
74
  "short": "US Core Provenance",
75
  "definition": "The US Core Provenance Profile is based upon the Argonaut Data Query requirements.",
76
  "alias": [
77
- "Basic Provenance"
 
 
78
  ],
79
- "mustSupport": false,
80
- "isModifier": false
81
  },
82
  {
83
  "id": "Provenance.target",
84
  "path": "Provenance.target",
85
  "short": "The Resource this Provenance record supports",
86
- "min": 1,
87
- "max": "*",
88
- "type": [
89
- {
90
- "code": "Reference",
91
- "targetProfile": [
92
- "http://hl7.org/fhir/StructureDefinition/Resource"
93
- ]
94
- }
95
- ],
96
- "mustSupport": true,
97
- "isModifier": false
98
  },
99
  {
100
  "id": "Provenance.target.reference",
101
  "path": "Provenance.target.reference",
@@ -105,18 +103,9 @@
105
  {
106
  "id": "Provenance.recorded",
107
  "path": "Provenance.recorded",
108
  "short": "Timestamp when the activity was recorded / updated",
109
- "definition": "The instant of time at which the activity was recorded.",
110
- "min": 1,
111
- "max": "1",
112
- "type": [
113
- {
114
- "code": "instant"
115
- }
116
- ],
117
- "mustSupport": true,
118
- "isModifier": false
119
  },
120
  {
121
  "id": "Provenance.agent",
122
  "path": "Provenance.agent",
@@ -128,35 +117,22 @@
128
  }
129
  ],
130
  "rules": "open"
131
  },
132
- "min": 1,
133
- "max": "*",
134
- "mustSupport": true,
135
- "isModifier": false
136
  },
137
  {
138
  "id": "Provenance.agent.type",
139
  "path": "Provenance.agent.type",
140
- "min": 0,
141
- "max": "1",
142
- "type": [
143
- {
144
- "code": "CodeableConcept"
145
- }
146
- ],
147
  "mustSupport": true,
148
- "isModifier": false,
149
  "binding": {
150
  "strength": "extensible",
151
  "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type"
152
  }
153
  },
154
  {
155
  "id": "Provenance.agent.who",
156
  "path": "Provenance.agent.who",
157
- "min": 1,
158
- "max": "1",
159
  "type": [
160
  {
161
  "code": "Reference",
162
  "targetProfile": [
@@ -165,54 +141,16 @@
165
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
166
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
167
  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
168
  "http://hl7.org/fhir/StructureDefinition/Device"
169
- ],
170
- "_targetProfile": [
171
- {
172
- "extension": [
173
- {
174
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
175
- "valueBoolean": true
176
- },
177
- {
178
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
179
- "valueBoolean": true
180
- },
181
- {
182
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
183
- "valueBoolean": false
184
- },
185
- {
186
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
187
- "valueBoolean": false
188
- },
189
- {
190
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
191
- "valueBoolean": false
192
- },
193
- {
194
- "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
195
- "valueBoolean": false
196
- }
197
- ]
198
- },
199
- null,
200
- null,
201
- null,
202
- null,
203
- null
204
  ]
205
  }
206
  ],
207
- "mustSupport": true,
208
- "isModifier": false
209
  },
210
  {
211
  "id": "Provenance.agent.onBehalfOf",
212
  "path": "Provenance.agent.onBehalfOf",
213
- "min": 0,
214
- "max": "1",
215
  "type": [
216
  {
217
  "code": "Reference",
218
  "targetProfile": [
@@ -224,74 +162,56 @@
224
  {
225
  "key": "provenance-1",
226
  "severity": "error",
227
  "human": "onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device",
228
- "expression": "(($this.agent.who.resolve() is Practitioner) or ($this.agent.who.resolve() is Device)) implies exists()"
 
229
  }
230
  ],
231
- "mustSupport": true,
232
- "isModifier": false
233
  },
234
  {
235
  "id": "Provenance.agent:ProvenanceAuthor",
236
  "path": "Provenance.agent",
237
  "sliceName": "ProvenanceAuthor",
238
  "min": 0,
239
  "max": "*",
240
- "mustSupport": true,
241
- "isModifier": false
242
  },
243
  {
244
  "id": "Provenance.agent:ProvenanceAuthor.type",
245
  "path": "Provenance.agent.type",
246
  "min": 1,
247
- "max": "1",
248
- "type": [
249
- {
250
- "code": "CodeableConcept"
251
- }
252
- ],
253
  "patternCodeableConcept": {
254
  "coding": [
255
  {
256
- "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
257
- "code": "author"
258
  }
259
  ]
260
- },
261
- "mustSupport": true,
262
- "isModifier": false
263
  },
264
  {
265
  "id": "Provenance.agent:ProvenanceTransmitter",
266
  "path": "Provenance.agent",
267
  "sliceName": "ProvenanceTransmitter",
268
  "definition": "The entity that provided the copy to your system.",
269
  "min": 0,
270
  "max": "1",
271
- "mustSupport": true,
272
- "isModifier": false
273
  },
274
  {
275
  "id": "Provenance.agent:ProvenanceTransmitter.type",
276
  "path": "Provenance.agent.type",
277
  "min": 1,
278
- "max": "1",
279
- "type": [
280
- {
281
- "code": "CodeableConcept"
282
- }
283
- ],
284
  "patternCodeableConcept": {
285
  "coding": [
286
  {
287
- "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type",
288
- "code": "transmitter"
289
  }
290
  ]
291
- },
292
- "mustSupport": true,
293
- "isModifier": false
294
  }
295
  ]
296
  }
297
  }
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-provenance",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Foundation.Security"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "not-classified"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance",
15
  "version": "3.2.0",
16
  "name": "USCoreProvenance",
17
  "title": "US Core Provenance Profile",
33
  "jurisdiction": [
34
  {
35
  "coding": [
36
  {
37
+ "code": "US",
38
+ "system": "urn:iso:std:iso:3166"
39
  }
40
  ]
41
  }
42
  ],
73
  "abstract": false,
74
  "type": "Provenance",
75
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance",
76
  "derivation": "constraint",
 
77
  "differential": {
78
  "element": [
79
  {
80
  "id": "Provenance",
81
  "path": "Provenance",
82
  "short": "US Core Provenance",
83
  "definition": "The US Core Provenance Profile is based upon the Argonaut Data Query requirements.",
84
  "alias": [
85
+ "Basic Provenance",
86
+ "Event",
87
+ "Activity"
88
  ],
89
+ "mustSupport": false
 
90
  },
91
  {
92
  "id": "Provenance.target",
93
  "path": "Provenance.target",
94
  "short": "The Resource this Provenance record supports",
95
+ "mustSupport": true
 
 
 
 
 
 
 
 
 
 
 
96
  },
97
  {
98
  "id": "Provenance.target.reference",
99
  "path": "Provenance.target.reference",
103
  {
104
  "id": "Provenance.recorded",
105
  "path": "Provenance.recorded",
106
  "short": "Timestamp when the activity was recorded / updated",
107
+ "mustSupport": true
 
 
 
 
 
 
 
 
 
108
  },
109
  {
110
  "id": "Provenance.agent",
111
  "path": "Provenance.agent",
117
  }
118
  ],
119
  "rules": "open"
120
  },
121
+ "mustSupport": true
 
 
 
122
  },
123
  {
124
  "id": "Provenance.agent.type",
125
  "path": "Provenance.agent.type",
 
 
 
 
 
 
 
126
  "mustSupport": true,
 
127
  "binding": {
128
  "strength": "extensible",
129
  "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type"
130
  }
131
  },
132
  {
133
  "id": "Provenance.agent.who",
134
  "path": "Provenance.agent.who",
 
 
135
  "type": [
136
  {
137
  "code": "Reference",
138
  "targetProfile": [
141
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
142
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
143
  "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
144
  "http://hl7.org/fhir/StructureDefinition/Device"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  ]
146
  }
147
  ],
148
+ "mustSupport": true
 
149
  },
150
  {
151
  "id": "Provenance.agent.onBehalfOf",
152
  "path": "Provenance.agent.onBehalfOf",
 
 
153
  "type": [
154
  {
155
  "code": "Reference",
156
  "targetProfile": [
162
  {
163
  "key": "provenance-1",
164
  "severity": "error",
165
  "human": "onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device",
166
+ "expression": "(($this.agent.who.resolve() is Practitioner) or ($this.agent.who.resolve() is Device)) implies exists()",
167
+ "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance"
168
  }
169
  ],
170
+ "mustSupport": true
 
171
  },
172
  {
173
  "id": "Provenance.agent:ProvenanceAuthor",
174
  "path": "Provenance.agent",
175
  "sliceName": "ProvenanceAuthor",
176
  "min": 0,
177
  "max": "*",
178
+ "mustSupport": true
 
179
  },
180
  {
181
  "id": "Provenance.agent:ProvenanceAuthor.type",
182
  "path": "Provenance.agent.type",
183
  "min": 1,
 
 
 
 
 
 
184
  "patternCodeableConcept": {
185
  "coding": [
186
  {
187
+ "code": "author",
188
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
189
  }
190
  ]
191
+ }
 
 
192
  },
193
  {
194
  "id": "Provenance.agent:ProvenanceTransmitter",
195
  "path": "Provenance.agent",
196
  "sliceName": "ProvenanceTransmitter",
197
  "definition": "The entity that provided the copy to your system.",
198
  "min": 0,
199
  "max": "1",
200
+ "mustSupport": true
 
201
  },
202
  {
203
  "id": "Provenance.agent:ProvenanceTransmitter.type",
204
  "path": "Provenance.agent.type",
205
  "min": 1,
 
 
 
 
 
 
206
  "patternCodeableConcept": {
207
  "coding": [
208
  {
209
+ "code": "transmitter",
210
+ "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type"
211
  }
212
  ]
213
+ }
 
 
214
  }
215
  ]
216
  }
217
  }
StructureDefinition-us-core-pulse-oximetry.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-pulse-oximetry.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-pulse-oximetry",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry",
6
  "version": "3.2.0",
7
  "name": "USCorePulseOximetryProfile",
8
  "title": "US Core Pulse Oximetry Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -84,10 +82,9 @@
84
  {
85
  "id": "Observation.code",
86
  "path": "Observation.code",
87
  "short": "Oxygen Saturation by Pulse Oximetry",
88
- "comment": "The code (59408-5 Oxygen saturation in Arterial blood by Pulse oximetry) is included as an additional observation code to FHIR Core vital Oxygen Saturation code (2708-6 Oxygen saturation in Arterial blood).",
89
- "mustSupport": true
90
  },
91
  {
92
  "id": "Observation.code.coding",
93
  "path": "Observation.code.coding",
@@ -99,24 +96,20 @@
99
  }
100
  ],
101
  "rules": "open"
102
  },
 
103
  "mustSupport": true
104
  },
105
  {
106
  "id": "Observation.code.coding:PulseOx",
107
  "path": "Observation.code.coding",
108
  "sliceName": "PulseOx",
109
  "min": 1,
110
  "max": "1",
111
- "type": [
112
- {
113
- "code": "Coding"
114
- }
115
- ],
116
  "patternCoding": {
117
- "system": "http://loinc.org",
118
- "code": "59408-5"
119
  },
120
  "mustSupport": true
121
  },
122
  {
@@ -124,16 +117,11 @@
124
  "path": "Observation.code.coding",
125
  "sliceName": "O2Sat",
126
  "min": 1,
127
  "max": "1",
128
- "type": [
129
- {
130
- "code": "Coding"
131
- }
132
- ],
133
  "patternCoding": {
134
- "system": "http://loinc.org",
135
- "code": "2708-6"
136
  },
137
  "mustSupport": true
138
  },
139
  {
@@ -148,10 +136,9 @@
148
  ],
149
  "rules": "open"
150
  },
151
  "short": "Used when reporting flow rates or oxygen concentration.",
152
- "definition": "Used when reporting flow rates or oxygen concentration.",
153
- "mustSupport": true
154
  },
155
  {
156
  "id": "Observation.component:FlowRate",
157
  "path": "Observation.component",
@@ -163,65 +150,58 @@
163
  },
164
  {
165
  "id": "Observation.component:FlowRate.code",
166
  "path": "Observation.component.code",
167
- "type": [
168
- {
169
- "code": "CodeableConcept"
170
- }
171
- ],
172
  "patternCodeableConcept": {
173
  "coding": [
174
  {
175
- "system": "http://loinc.org",
176
- "code": "3151-8"
177
  }
178
  ]
179
- },
180
- "mustSupport": true
181
  },
182
  {
183
  "id": "Observation.component:FlowRate.valueQuantity",
184
  "path": "Observation.component.valueQuantity",
 
 
 
 
 
 
 
 
 
 
 
 
 
185
  "mustSupport": true
186
  },
187
  {
188
  "id": "Observation.component:FlowRate.valueQuantity.value",
189
  "path": "Observation.component.valueQuantity.value",
190
  "min": 1,
191
- "max": "1",
192
  "mustSupport": true
193
  },
194
  {
195
  "id": "Observation.component:FlowRate.valueQuantity.unit",
196
  "path": "Observation.component.valueQuantity.unit",
197
  "min": 1,
198
- "max": "1",
199
  "mustSupport": true
200
  },
201
  {
202
  "id": "Observation.component:FlowRate.valueQuantity.system",
203
  "path": "Observation.component.valueQuantity.system",
204
  "min": 1,
205
- "max": "1",
206
- "type": [
207
- {
208
- "code": "uri"
209
- }
210
- ],
211
  "fixedUri": "http://unitsofmeasure.org",
212
  "mustSupport": true
213
  },
214
  {
215
  "id": "Observation.component:FlowRate.valueQuantity.code",
216
  "path": "Observation.component.valueQuantity.code",
217
  "min": 1,
218
- "max": "1",
219
- "type": [
220
- {
221
- "code": "code"
222
- }
223
- ],
224
  "fixedCode": "L/min",
225
  "mustSupport": true
226
  },
227
  {
@@ -235,65 +215,58 @@
235
  },
236
  {
237
  "id": "Observation.component:Concentration.code",
238
  "path": "Observation.component.code",
239
- "type": [
240
- {
241
- "code": "CodeableConcept"
242
- }
243
- ],
244
  "patternCodeableConcept": {
245
  "coding": [
246
  {
247
- "system": "http://loinc.org",
248
- "code": "3150-0"
249
  }
250
  ]
251
- },
252
- "mustSupport": true
253
  },
254
  {
255
  "id": "Observation.component:Concentration.valueQuantity",
256
  "path": "Observation.component.valueQuantity",
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  "mustSupport": true
258
  },
259
  {
260
  "id": "Observation.component:Concentration.valueQuantity.value",
261
  "path": "Observation.component.valueQuantity.value",
262
  "min": 1,
263
- "max": "1",
264
  "mustSupport": true
265
  },
266
  {
267
  "id": "Observation.component:Concentration.valueQuantity.unit",
268
  "path": "Observation.component.valueQuantity.unit",
269
  "min": 1,
270
- "max": "1",
271
  "mustSupport": true
272
  },
273
  {
274
  "id": "Observation.component:Concentration.valueQuantity.system",
275
  "path": "Observation.component.valueQuantity.system",
276
  "min": 1,
277
- "max": "1",
278
- "type": [
279
- {
280
- "code": "uri"
281
- }
282
- ],
283
  "fixedUri": "http://unitsofmeasure.org",
284
  "mustSupport": true
285
  },
286
  {
287
  "id": "Observation.component:Concentration.valueQuantity.code",
288
  "path": "Observation.component.valueQuantity.code",
289
  "min": 1,
290
- "max": "1",
291
- "type": [
292
- {
293
- "code": "code"
294
- }
295
- ],
296
  "fixedCode": "%",
297
  "mustSupport": true
298
  }
299
  ]
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-pulse-oximetry",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry",
5
  "version": "3.2.0",
6
  "name": "USCorePulseOximetryProfile",
7
  "title": "US Core Pulse Oximetry Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
82
  {
83
  "id": "Observation.code",
84
  "path": "Observation.code",
85
  "short": "Oxygen Saturation by Pulse Oximetry",
86
+ "comment": "The code (59408-5 Oxygen saturation in Arterial blood by Pulse oximetry) is included as an additional observation code to FHIR Core vital Oxygen Saturation code (2708-6 Oxygen saturation in Arterial blood)."
 
87
  },
88
  {
89
  "id": "Observation.code.coding",
90
  "path": "Observation.code.coding",
96
  }
97
  ],
98
  "rules": "open"
99
  },
100
+ "min": 2,
101
  "mustSupport": true
102
  },
103
  {
104
  "id": "Observation.code.coding:PulseOx",
105
  "path": "Observation.code.coding",
106
  "sliceName": "PulseOx",
107
  "min": 1,
108
  "max": "1",
 
 
 
 
 
109
  "patternCoding": {
110
+ "code": "59408-5",
111
+ "system": "http://loinc.org"
112
  },
113
  "mustSupport": true
114
  },
115
  {
117
  "path": "Observation.code.coding",
118
  "sliceName": "O2Sat",
119
  "min": 1,
120
  "max": "1",
 
 
 
 
 
121
  "patternCoding": {
122
+ "code": "2708-6",
123
+ "system": "http://loinc.org"
124
  },
125
  "mustSupport": true
126
  },
127
  {
136
  ],
137
  "rules": "open"
138
  },
139
  "short": "Used when reporting flow rates or oxygen concentration.",
140
+ "definition": "Used when reporting flow rates or oxygen concentration."
 
141
  },
142
  {
143
  "id": "Observation.component:FlowRate",
144
  "path": "Observation.component",
150
  },
151
  {
152
  "id": "Observation.component:FlowRate.code",
153
  "path": "Observation.component.code",
 
 
 
 
 
154
  "patternCodeableConcept": {
155
  "coding": [
156
  {
157
+ "code": "3151-8",
158
+ "system": "http://loinc.org"
159
  }
160
  ]
161
+ }
 
162
  },
163
  {
164
  "id": "Observation.component:FlowRate.valueQuantity",
165
  "path": "Observation.component.valueQuantity",
166
+ "min": 0,
167
+ "max": "1",
168
+ "type": [
169
+ {
170
+ "code": "Quantity",
171
+ "extension": [
172
+ {
173
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
174
+ "valueBoolean": true
175
+ }
176
+ ]
177
+ }
178
+ ],
179
  "mustSupport": true
180
  },
181
  {
182
  "id": "Observation.component:FlowRate.valueQuantity.value",
183
  "path": "Observation.component.valueQuantity.value",
184
  "min": 1,
 
185
  "mustSupport": true
186
  },
187
  {
188
  "id": "Observation.component:FlowRate.valueQuantity.unit",
189
  "path": "Observation.component.valueQuantity.unit",
190
  "min": 1,
 
191
  "mustSupport": true
192
  },
193
  {
194
  "id": "Observation.component:FlowRate.valueQuantity.system",
195
  "path": "Observation.component.valueQuantity.system",
196
  "min": 1,
 
 
 
 
 
 
197
  "fixedUri": "http://unitsofmeasure.org",
198
  "mustSupport": true
199
  },
200
  {
201
  "id": "Observation.component:FlowRate.valueQuantity.code",
202
  "path": "Observation.component.valueQuantity.code",
203
  "min": 1,
 
 
 
 
 
 
204
  "fixedCode": "L/min",
205
  "mustSupport": true
206
  },
207
  {
215
  },
216
  {
217
  "id": "Observation.component:Concentration.code",
218
  "path": "Observation.component.code",
 
 
 
 
 
219
  "patternCodeableConcept": {
220
  "coding": [
221
  {
222
+ "code": "3150-0",
223
+ "system": "http://loinc.org"
224
  }
225
  ]
226
+ }
 
227
  },
228
  {
229
  "id": "Observation.component:Concentration.valueQuantity",
230
  "path": "Observation.component.valueQuantity",
231
+ "min": 0,
232
+ "max": "1",
233
+ "type": [
234
+ {
235
+ "code": "Quantity",
236
+ "extension": [
237
+ {
238
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
239
+ "valueBoolean": true
240
+ }
241
+ ]
242
+ }
243
+ ],
244
  "mustSupport": true
245
  },
246
  {
247
  "id": "Observation.component:Concentration.valueQuantity.value",
248
  "path": "Observation.component.valueQuantity.value",
249
  "min": 1,
 
250
  "mustSupport": true
251
  },
252
  {
253
  "id": "Observation.component:Concentration.valueQuantity.unit",
254
  "path": "Observation.component.valueQuantity.unit",
255
  "min": 1,
 
256
  "mustSupport": true
257
  },
258
  {
259
  "id": "Observation.component:Concentration.valueQuantity.system",
260
  "path": "Observation.component.valueQuantity.system",
261
  "min": 1,
 
 
 
 
 
 
262
  "fixedUri": "http://unitsofmeasure.org",
263
  "mustSupport": true
264
  },
265
  {
266
  "id": "Observation.component:Concentration.valueQuantity.code",
267
  "path": "Observation.component.valueQuantity.code",
268
  "min": 1,
 
 
 
 
 
 
269
  "fixedCode": "%",
270
  "mustSupport": true
271
  }
272
  ]
StructureDefinition-us-core-race.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-race.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-race",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
6
  "version": "3.2.0",
7
  "name": "USCoreRaceExtension",
8
  "title": "US Core Race Extension",
@@ -24,10 +23,10 @@
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
- "system": "urn:iso:std:iso:3166",
29
- "code": "US"
30
  }
31
  ]
32
  }
33
  ],
@@ -38,8 +37,11 @@
38
  {
39
  "identity": "rim",
40
  "uri": "http://hl7.org/v3",
41
  "name": "RIM Mapping"
 
 
 
42
  }
43
  ],
44
  "kind": "complex-type",
45
  "abstract": false,
@@ -51,32 +53,30 @@
51
  ],
52
  "type": "Extension",
53
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
54
  "derivation": "constraint",
55
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
56
  "differential": {
57
  "element": [
58
  {
59
  "id": "Extension",
60
  "path": "Extension",
61
  "short": "US Core Race Extension",
62
  "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.",
63
- "min": 0,
64
  "max": "1"
65
  },
66
  {
 
 
 
 
 
67
  "id": "Extension.extension:ombCategory",
68
  "path": "Extension.extension",
69
  "sliceName": "ombCategory",
70
  "short": "American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White",
71
  "definition": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).",
72
  "min": 0,
73
  "max": "5",
74
- "type": [
75
- {
76
- "code": "Extension"
77
- }
78
- ],
79
  "mustSupport": true,
80
  "mapping": [
81
  {
82
  "identity": "iso11179",
@@ -84,20 +84,33 @@
84
  }
85
  ]
86
  },
87
  {
 
 
 
 
 
88
  "id": "Extension.extension:ombCategory.url",
89
  "path": "Extension.extension.url",
90
- "min": 1,
91
- "max": "1",
92
- "type": [
93
- {
94
- "code": "uri"
95
- }
96
- ],
97
  "fixedUri": "ombCategory"
98
  },
99
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  "id": "Extension.extension:ombCategory.valueCoding",
101
  "path": "Extension.extension.valueCoding",
102
  "min": 1,
103
  "max": "1",
@@ -107,10 +120,10 @@
107
  }
108
  ],
109
  "binding": {
110
  "strength": "required",
111
- "description": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).",
112
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category"
113
  }
114
  },
115
  {
116
  "id": "Extension.extension:detailed",
@@ -119,33 +132,41 @@
119
  "short": "Extended race codes",
120
  "definition": "The 900+ CDC race codes that are grouped under one of the 5 OMB race category codes:.",
121
  "min": 0,
122
  "max": "*",
123
- "type": [
124
- {
125
- "code": "Extension"
126
- }
127
- ],
128
  "mapping": [
129
  {
130
  "identity": "iso11179",
131
  "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:raceCode"
132
  }
133
  ]
134
  },
135
  {
 
 
 
 
 
136
  "id": "Extension.extension:detailed.url",
137
  "path": "Extension.extension.url",
138
- "min": 1,
139
- "max": "1",
140
- "type": [
141
- {
142
- "code": "uri"
143
- }
144
- ],
145
  "fixedUri": "detailed"
146
  },
147
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  "id": "Extension.extension:detailed.valueCoding",
149
  "path": "Extension.extension.valueCoding",
150
  "min": 1,
151
  "max": "1",
@@ -166,28 +187,36 @@
166
  "short": "Race Text",
167
  "definition": "Plain text representation of the race concept(s).",
168
  "min": 1,
169
  "max": "1",
170
- "type": [
171
- {
172
- "code": "Extension"
173
- }
174
- ],
175
  "mustSupport": true
176
  },
177
  {
 
 
 
 
 
178
  "id": "Extension.extension:text.url",
179
  "path": "Extension.extension.url",
180
- "min": 1,
181
- "max": "1",
182
- "type": [
183
- {
184
- "code": "uri"
185
- }
186
- ],
187
  "fixedUri": "text"
188
  },
189
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
190
  "id": "Extension.extension:text.valueString",
191
  "path": "Extension.extension.valueString",
192
  "min": 1,
193
  "max": "1",
@@ -199,16 +228,13 @@
199
  },
200
  {
201
  "id": "Extension.url",
202
  "path": "Extension.url",
203
- "min": 1,
204
- "max": "1",
205
  "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
206
  },
207
  {
208
  "id": "Extension.value[x]",
209
  "path": "Extension.value[x]",
210
- "min": 0,
211
  "max": "0"
212
  }
213
  ]
214
  }
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-race",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
5
  "version": "3.2.0",
6
  "name": "USCoreRaceExtension",
7
  "title": "US Core Race Extension",
23
  "jurisdiction": [
24
  {
25
  "coding": [
26
  {
27
+ "code": "US",
28
+ "system": "urn:iso:std:iso:3166"
29
  }
30
  ]
31
  }
32
  ],
37
  {
38
  "identity": "rim",
39
  "uri": "http://hl7.org/v3",
40
  "name": "RIM Mapping"
41
+ },
42
+ {
43
+ "identity": "iso11179"
44
  }
45
  ],
46
  "kind": "complex-type",
47
  "abstract": false,
53
  ],
54
  "type": "Extension",
55
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
56
  "derivation": "constraint",
 
57
  "differential": {
58
  "element": [
59
  {
60
  "id": "Extension",
61
  "path": "Extension",
62
  "short": "US Core Race Extension",
63
  "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.",
 
64
  "max": "1"
65
  },
66
  {
67
+ "id": "Extension.extension",
68
+ "path": "Extension.extension",
69
+ "min": 1
70
+ },
71
+ {
72
  "id": "Extension.extension:ombCategory",
73
  "path": "Extension.extension",
74
  "sliceName": "ombCategory",
75
  "short": "American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White",
76
  "definition": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).",
77
  "min": 0,
78
  "max": "5",
 
 
 
 
 
79
  "mustSupport": true,
80
  "mapping": [
81
  {
82
  "identity": "iso11179",
84
  }
85
  ]
86
  },
87
  {
88
+ "id": "Extension.extension:ombCategory.extension",
89
+ "path": "Extension.extension.extension",
90
+ "max": "0"
91
+ },
92
+ {
93
  "id": "Extension.extension:ombCategory.url",
94
  "path": "Extension.extension.url",
 
 
 
 
 
 
 
95
  "fixedUri": "ombCategory"
96
  },
97
  {
98
+ "id": "Extension.extension:ombCategory.value[x]",
99
+ "path": "Extension.extension.value[x]",
100
+ "slicing": {
101
+ "discriminator": [
102
+ {
103
+ "type": "type",
104
+ "path": "$this"
105
+ }
106
+ ],
107
+ "ordered": false,
108
+ "rules": "open"
109
+ },
110
+ "min": 1
111
+ },
112
+ {
113
  "id": "Extension.extension:ombCategory.valueCoding",
114
  "path": "Extension.extension.valueCoding",
115
  "min": 1,
116
  "max": "1",
120
  }
121
  ],
122
  "binding": {
123
  "strength": "required",
124
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category",
125
+ "description": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf)."
126
  }
127
  },
128
  {
129
  "id": "Extension.extension:detailed",
132
  "short": "Extended race codes",
133
  "definition": "The 900+ CDC race codes that are grouped under one of the 5 OMB race category codes:.",
134
  "min": 0,
135
  "max": "*",
 
 
 
 
 
136
  "mapping": [
137
  {
138
  "identity": "iso11179",
139
  "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:raceCode"
140
  }
141
  ]
142
  },
143
  {
144
+ "id": "Extension.extension:detailed.extension",
145
+ "path": "Extension.extension.extension",
146
+ "max": "0"
147
+ },
148
+ {
149
  "id": "Extension.extension:detailed.url",
150
  "path": "Extension.extension.url",
 
 
 
 
 
 
 
151
  "fixedUri": "detailed"
152
  },
153
  {
154
+ "id": "Extension.extension:detailed.value[x]",
155
+ "path": "Extension.extension.value[x]",
156
+ "slicing": {
157
+ "discriminator": [
158
+ {
159
+ "type": "type",
160
+ "path": "$this"
161
+ }
162
+ ],
163
+ "ordered": false,
164
+ "rules": "open"
165
+ },
166
+ "min": 1
167
+ },
168
+ {
169
  "id": "Extension.extension:detailed.valueCoding",
170
  "path": "Extension.extension.valueCoding",
171
  "min": 1,
172
  "max": "1",
187
  "short": "Race Text",
188
  "definition": "Plain text representation of the race concept(s).",
189
  "min": 1,
190
  "max": "1",
 
 
 
 
 
191
  "mustSupport": true
192
  },
193
  {
194
+ "id": "Extension.extension:text.extension",
195
+ "path": "Extension.extension.extension",
196
+ "max": "0"
197
+ },
198
+ {
199
  "id": "Extension.extension:text.url",
200
  "path": "Extension.extension.url",
 
 
 
 
 
 
 
201
  "fixedUri": "text"
202
  },
203
  {
204
+ "id": "Extension.extension:text.value[x]",
205
+ "path": "Extension.extension.value[x]",
206
+ "slicing": {
207
+ "discriminator": [
208
+ {
209
+ "type": "type",
210
+ "path": "$this"
211
+ }
212
+ ],
213
+ "ordered": false,
214
+ "rules": "open"
215
+ },
216
+ "min": 1
217
+ },
218
+ {
219
  "id": "Extension.extension:text.valueString",
220
  "path": "Extension.extension.valueString",
221
  "min": 1,
222
  "max": "1",
228
  },
229
  {
230
  "id": "Extension.url",
231
  "path": "Extension.url",
 
 
232
  "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
233
  },
234
  {
235
  "id": "Extension.value[x]",
236
  "path": "Extension.value[x]",
 
237
  "max": "0"
238
  }
239
  ]
240
  }
StructureDefinition-us-core-respiratory-rate.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-respiratory-rate.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-respiratory-rate",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate",
6
  "version": "3.2.0",
7
  "name": "USCoreRespiratoryRateProfile",
8
  "title": "US Core Respiratory Rate Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -83,78 +81,59 @@
83
  {
84
  "id": "Observation.code",
85
  "path": "Observation.code",
86
  "short": "Respiratory Rate",
87
- "type": [
88
- {
89
- "code": "CodeableConcept"
90
- }
91
- ],
92
  "patternCodeableConcept": {
93
  "coding": [
94
  {
95
- "system": "http://loinc.org",
96
- "code": "9279-1"
97
  }
98
  ]
99
- },
100
- "mustSupport": true
101
  },
102
  {
103
  "id": "Observation.valueQuantity",
104
  "path": "Observation.valueQuantity",
105
  "min": 0,
106
  "max": "1",
 
 
 
 
 
 
 
 
 
 
 
107
  "mustSupport": true
108
  },
109
  {
110
  "id": "Observation.valueQuantity.value",
111
  "path": "Observation.valueQuantity.value",
112
  "min": 1,
113
- "max": "1",
114
- "type": [
115
- {
116
- "code": "decimal"
117
- }
118
- ],
119
  "mustSupport": true
120
  },
121
  {
122
  "id": "Observation.valueQuantity.unit",
123
  "path": "Observation.valueQuantity.unit",
124
  "min": 1,
125
- "max": "1",
126
- "type": [
127
- {
128
- "code": "string"
129
- }
130
- ],
131
  "mustSupport": true
132
  },
133
  {
134
  "id": "Observation.valueQuantity.system",
135
  "path": "Observation.valueQuantity.system",
136
  "min": 1,
137
- "max": "1",
138
- "type": [
139
- {
140
- "code": "uri"
141
- }
142
- ],
143
  "fixedUri": "http://unitsofmeasure.org",
144
  "mustSupport": true
145
  },
146
  {
147
  "id": "Observation.valueQuantity.code",
148
  "path": "Observation.valueQuantity.code",
149
  "short": "Coded responses from the common UCUM units for vital signs value set.",
150
  "min": 1,
151
- "max": "1",
152
- "type": [
153
- {
154
- "code": "code"
155
- }
156
- ],
157
  "fixedCode": "/min",
158
  "mustSupport": true
159
  }
160
  ]
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-respiratory-rate",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate",
5
  "version": "3.2.0",
6
  "name": "USCoreRespiratoryRateProfile",
7
  "title": "US Core Respiratory Rate Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
81
  {
82
  "id": "Observation.code",
83
  "path": "Observation.code",
84
  "short": "Respiratory Rate",
 
 
 
 
 
85
  "patternCodeableConcept": {
86
  "coding": [
87
  {
88
+ "code": "9279-1",
89
+ "system": "http://loinc.org"
90
  }
91
  ]
92
+ }
 
93
  },
94
  {
95
  "id": "Observation.valueQuantity",
96
  "path": "Observation.valueQuantity",
97
  "min": 0,
98
  "max": "1",
99
+ "type": [
100
+ {
101
+ "code": "Quantity",
102
+ "extension": [
103
+ {
104
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
105
+ "valueBoolean": true
106
+ }
107
+ ]
108
+ }
109
+ ],
110
  "mustSupport": true
111
  },
112
  {
113
  "id": "Observation.valueQuantity.value",
114
  "path": "Observation.valueQuantity.value",
115
  "min": 1,
 
 
 
 
 
 
116
  "mustSupport": true
117
  },
118
  {
119
  "id": "Observation.valueQuantity.unit",
120
  "path": "Observation.valueQuantity.unit",
121
  "min": 1,
 
 
 
 
 
 
122
  "mustSupport": true
123
  },
124
  {
125
  "id": "Observation.valueQuantity.system",
126
  "path": "Observation.valueQuantity.system",
127
  "min": 1,
 
 
 
 
 
 
128
  "fixedUri": "http://unitsofmeasure.org",
129
  "mustSupport": true
130
  },
131
  {
132
  "id": "Observation.valueQuantity.code",
133
  "path": "Observation.valueQuantity.code",
134
  "short": "Coded responses from the common UCUM units for vital signs value set.",
135
  "min": 1,
 
 
 
 
 
 
136
  "fixedCode": "/min",
137
  "mustSupport": true
138
  }
139
  ]
StructureDefinition-us-core-smokingstatus.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-smokingstatus.json RENAMED
@@ -1,8 +1,17 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-smokingstatus",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
 
 
 
 
 
 
 
 
 
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus",
6
  "version": "3.2.0",
7
  "name": "USCoreSmokingStatusProfile",
8
  "title": "US Core Smoking Status Observation Profile",
@@ -25,10 +34,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -63,24 +72,29 @@
63
  {
64
  "identity": "sct-attr",
65
  "uri": "http://snomed.org/attributebinding",
66
  "name": "SNOMED CT Attribute Binding"
 
 
 
67
  }
68
  ],
69
  "kind": "resource",
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
79
  "path": "Observation",
80
  "definition": "The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and created to meet the USCDI Data Set 'Smoking status' requirements.",
81
  "alias": [
82
- "Obs"
 
 
 
83
  ],
84
  "mustSupport": false,
85
  "mapping": [
86
  {
@@ -91,10 +105,8 @@
91
  },
92
  {
93
  "id": "Observation.status",
94
  "path": "Observation.status",
95
- "min": 1,
96
- "max": "1",
97
  "mustSupport": true,
98
  "binding": {
99
  "strength": "required",
100
  "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status"
@@ -118,32 +130,21 @@
118
  ],
119
  "rules": "open"
120
  },
121
  "min": 1,
122
- "max": "*",
123
- "type": [
124
- {
125
- "code": "CodeableConcept"
126
- }
127
- ],
128
  "mustSupport": true
129
  },
130
  {
131
  "id": "Observation.category:SocialHistory",
132
  "path": "Observation.category",
133
  "sliceName": "SocialHistory",
134
  "min": 1,
135
  "max": "1",
136
- "type": [
137
- {
138
- "code": "CodeableConcept"
139
- }
140
- ],
141
  "patternCodeableConcept": {
142
  "coding": [
143
  {
144
- "system": "http://terminology.hl7.org/CodeSystem/observation-category",
145
- "code": "social-history"
146
  }
147
  ]
148
  },
149
  "mustSupport": true
@@ -151,15 +152,8 @@
151
  {
152
  "id": "Observation.code",
153
  "path": "Observation.code",
154
  "short": "Smoking Status",
155
- "min": 1,
156
- "max": "1",
157
- "type": [
158
- {
159
- "code": "CodeableConcept"
160
- }
161
- ],
162
  "mustSupport": true,
163
  "binding": {
164
  "strength": "extensible",
165
  "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes"
@@ -174,9 +168,8 @@
174
  {
175
  "id": "Observation.subject",
176
  "path": "Observation.subject",
177
  "min": 1,
178
- "max": "1",
179
  "type": [
180
  {
181
  "code": "Reference",
182
  "targetProfile": [
@@ -192,12 +185,32 @@
192
  }
193
  ]
194
  },
195
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  "id": "Observation.effectiveDateTime",
197
  "path": "Observation.effectiveDateTime",
198
  "min": 1,
199
  "max": "1",
 
 
 
 
 
200
  "mustSupport": true,
201
  "mapping": [
202
  {
203
  "identity": "argonaut-dq-dstu2",
@@ -205,8 +218,23 @@
205
  }
206
  ]
207
  },
208
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
209
  "id": "Observation.valueCodeableConcept",
210
  "path": "Observation.valueCodeableConcept",
211
  "short": "Coded Responses from Smoking Status Value Set",
212
  "min": 1,
@@ -217,17 +245,17 @@
217
  }
218
  ],
219
  "mustSupport": true,
220
  "binding": {
 
 
221
  "extension": [
222
  {
223
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
224
  "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max"
225
  }
226
  ],
227
- "strength": "preferred",
228
- "description": "This value set enumerates codes SNOMED CT codes historically used for the current smoking status of a patient with a maximum required binding to Snomed CT codes.",
229
- "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.38"
230
  },
231
  "mapping": [
232
  {
233
  "identity": "argonaut-dq-dstu2",
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-smokingstatus",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
7
+ "valueString": "Clinical.Diagnostics"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
11
+ "valueCode": "patient"
12
+ }
13
+ ],
14
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus",
15
  "version": "3.2.0",
16
  "name": "USCoreSmokingStatusProfile",
17
  "title": "US Core Smoking Status Observation Profile",
34
  "jurisdiction": [
35
  {
36
  "coding": [
37
  {
38
+ "code": "US",
39
+ "system": "urn:iso:std:iso:3166"
40
  }
41
  ]
42
  }
43
  ],
72
  {
73
  "identity": "sct-attr",
74
  "uri": "http://snomed.org/attributebinding",
75
  "name": "SNOMED CT Attribute Binding"
76
+ },
77
+ {
78
+ "identity": "argonaut-dq-dstu2"
79
  }
80
  ],
81
  "kind": "resource",
82
  "abstract": false,
83
  "type": "Observation",
84
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
85
  "derivation": "constraint",
 
86
  "differential": {
87
  "element": [
88
  {
89
  "id": "Observation",
90
  "path": "Observation",
91
  "definition": "The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and created to meet the USCDI Data Set 'Smoking status' requirements.",
92
  "alias": [
93
+ "Obs",
94
+ "Measurement",
95
+ "Results",
96
+ "Tests"
97
  ],
98
  "mustSupport": false,
99
  "mapping": [
100
  {
105
  },
106
  {
107
  "id": "Observation.status",
108
  "path": "Observation.status",
 
 
109
  "mustSupport": true,
110
  "binding": {
111
  "strength": "required",
112
  "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status"
130
  ],
131
  "rules": "open"
132
  },
133
  "min": 1,
 
 
 
 
 
 
134
  "mustSupport": true
135
  },
136
  {
137
  "id": "Observation.category:SocialHistory",
138
  "path": "Observation.category",
139
  "sliceName": "SocialHistory",
140
  "min": 1,
141
  "max": "1",
 
 
 
 
 
142
  "patternCodeableConcept": {
143
  "coding": [
144
  {
145
+ "code": "social-history",
146
+ "system": "http://terminology.hl7.org/CodeSystem/observation-category"
147
  }
148
  ]
149
  },
150
  "mustSupport": true
152
  {
153
  "id": "Observation.code",
154
  "path": "Observation.code",
155
  "short": "Smoking Status",
 
 
 
 
 
 
 
156
  "mustSupport": true,
157
  "binding": {
158
  "strength": "extensible",
159
  "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes"
168
  {
169
  "id": "Observation.subject",
170
  "path": "Observation.subject",
171
  "min": 1,
 
172
  "type": [
173
  {
174
  "code": "Reference",
175
  "targetProfile": [
185
  }
186
  ]
187
  },
188
  {
189
+ "id": "Observation.effective[x]",
190
+ "path": "Observation.effective[x]",
191
+ "slicing": {
192
+ "discriminator": [
193
+ {
194
+ "type": "type",
195
+ "path": "$this"
196
+ }
197
+ ],
198
+ "ordered": false,
199
+ "rules": "open"
200
+ },
201
+ "min": 1
202
+ },
203
+ {
204
  "id": "Observation.effectiveDateTime",
205
  "path": "Observation.effectiveDateTime",
206
  "min": 1,
207
  "max": "1",
208
+ "type": [
209
+ {
210
+ "code": "dateTime"
211
+ }
212
+ ],
213
  "mustSupport": true,
214
  "mapping": [
215
  {
216
  "identity": "argonaut-dq-dstu2",
218
  }
219
  ]
220
  },
221
  {
222
+ "id": "Observation.value[x]",
223
+ "path": "Observation.value[x]",
224
+ "slicing": {
225
+ "discriminator": [
226
+ {
227
+ "type": "type",
228
+ "path": "$this"
229
+ }
230
+ ],
231
+ "ordered": false,
232
+ "rules": "open"
233
+ },
234
+ "min": 1
235
+ },
236
+ {
237
  "id": "Observation.valueCodeableConcept",
238
  "path": "Observation.valueCodeableConcept",
239
  "short": "Coded Responses from Smoking Status Value Set",
240
  "min": 1,
245
  }
246
  ],
247
  "mustSupport": true,
248
  "binding": {
249
+ "strength": "preferred",
250
+ "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.38",
251
  "extension": [
252
  {
253
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
254
  "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max"
255
  }
256
  ],
257
+ "description": "This value set enumerates codes SNOMED CT codes historically used for the current smoking status of a patient with a maximum required binding to Snomed CT codes."
 
 
258
  },
259
  "mapping": [
260
  {
261
  "identity": "argonaut-dq-dstu2",
StructureDefinition-us-core-vital-signs.json → gofsh/fsh-generated/resources/StructureDefinition-us-core-vital-signs.json RENAMED
@@ -1,8 +1,7 @@
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-vital-signs",
4
- "text": "NOTE: Generated text is ignored by GoFSH, so this element is omitted for sake of comparison",
5
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
6
  "version": "3.2.0",
7
  "name": "USCoreVitalSignsProfile",
8
  "title": "US Core Vital Signs Profile",
@@ -25,10 +24,10 @@
25
  "jurisdiction": [
26
  {
27
  "coding": [
28
  {
29
- "system": "urn:iso:std:iso:3166",
30
- "code": "US"
31
  }
32
  ]
33
  }
34
  ],
@@ -70,9 +69,8 @@
70
  "abstract": false,
71
  "type": "Observation",
72
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
73
  "derivation": "constraint",
74
- "snapshot": "NOTE: Snapshots are not generated by SUSHI, so this element is omitted for sake of comparison",
75
  "differential": {
76
  "element": [
77
  {
78
  "id": "Observation",
@@ -80,97 +78,14 @@
80
  "short": "US Core Vital Signs Profile",
81
  "definition": "Defines constraints on the Observation resource to represent vital signs observation. This profile is used as the base definition for the other US Core Vital Signs Profiles and based on the FHIR VitalSigns Profile."
82
  },
83
  {
84
- "id": "Observation.status",
85
- "path": "Observation.status",
86
- "mustSupport": true
87
- },
88
- {
89
- "id": "Observation.category",
90
- "path": "Observation.category",
91
- "slicing": {
92
- "discriminator": [
93
- {
94
- "type": "value",
95
- "path": "coding.code"
96
- },
97
- {
98
- "type": "value",
99
- "path": "coding.system"
100
- }
101
- ],
102
- "ordered": false,
103
- "rules": "open"
104
- },
105
- "min": 1,
106
- "max": "*",
107
- "type": [
108
- {
109
- "code": "CodeableConcept"
110
- }
111
- ],
112
- "mustSupport": true
113
- },
114
- {
115
- "id": "Observation.category:VSCat",
116
- "path": "Observation.category",
117
- "sliceName": "VSCat",
118
- "min": 1,
119
- "max": "1",
120
- "type": [
121
- {
122
- "code": "CodeableConcept"
123
- }
124
- ],
125
- "mustSupport": true
126
- },
127
- {
128
- "id": "Observation.category:VSCat.coding",
129
- "path": "Observation.category.coding",
130
- "min": 1,
131
- "max": "*",
132
- "type": [
133
- {
134
- "code": "Coding"
135
- }
136
- ],
137
- "mustSupport": true
138
- },
139
- {
140
- "id": "Observation.category:VSCat.coding.system",
141
- "path": "Observation.category.coding.system",
142
- "min": 1,
143
- "max": "1",
144
- "type": [
145
- {
146
- "code": "uri"
147
- }
148
- ],
149
- "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category",
150
- "mustSupport": true
151
- },
152
- {
153
- "id": "Observation.category:VSCat.coding.code",
154
- "path": "Observation.category.coding.code",
155
- "min": 1,
156
- "max": "1",
157
- "type": [
158
- {
159
- "code": "code"
160
- }
161
- ],
162
- "fixedCode": "vital-signs",
163
- "mustSupport": true
164
- },
165
- {
166
  "id": "Observation.code",
167
  "path": "Observation.code",
168
- "mustSupport": true,
169
  "binding": {
170
  "strength": "extensible",
171
- "description": "The vital sign codes from the base FHIR and US Core Vital Signs.",
172
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs"
173
  }
174
  },
175
  {
176
  "id": "Observation.subject",
@@ -181,44 +96,42 @@
181
  "targetProfile": [
182
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
183
  ]
184
  }
185
- ],
186
- "mustSupport": true
187
  },
188
  {
189
  "id": "Observation.effective[x]",
190
  "path": "Observation.effective[x]",
191
  "type": [
192
  {
 
193
  "extension": [
194
  {
195
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
196
  "valueBoolean": true
197
  }
198
- ],
199
- "code": "dateTime"
200
  },
201
  {
202
  "code": "Period"
203
  }
204
- ],
205
- "mustSupport": true
206
  },
207
  {
208
  "id": "Observation.value[x]",
209
  "path": "Observation.value[x]",
210
  "short": "Vital Signs Value",
211
  "definition": "Vital Signs value are typically recorded using the Quantity data type.",
212
  "type": [
213
  {
 
214
  "extension": [
215
  {
216
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
217
  "valueBoolean": true
218
  }
219
- ],
220
- "code": "Quantity"
221
  },
222
  {
223
  "code": "CodeableConcept"
224
  },
@@ -249,35 +162,27 @@
249
  {
250
  "code": "Period"
251
  }
252
  ],
253
- "mustSupport": true,
254
  "binding": {
255
  "strength": "extensible",
256
- "description": "Common UCUM units for recording Vital Signs.",
257
- "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1"
258
  }
259
  },
260
  {
261
- "id": "Observation.dataAbsentReason",
262
- "path": "Observation.dataAbsentReason",
263
- "mustSupport": true
264
- },
265
- {
266
  "id": "Observation.component",
267
  "path": "Observation.component",
268
  "short": "Component observations",
269
- "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.",
270
- "mustSupport": true
271
  },
272
  {
273
  "id": "Observation.component.code",
274
  "path": "Observation.component.code",
275
- "mustSupport": true,
276
  "binding": {
277
  "strength": "extensible",
278
- "description": "The vital sign codes from the base FHIR and US Core Vital Signs.",
279
- "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs"
280
  }
281
  },
282
  {
283
  "id": "Observation.component.value[x]",
@@ -285,15 +190,15 @@
285
  "short": "Vital Sign Component Value",
286
  "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.",
287
  "type": [
288
  {
 
289
  "extension": [
290
  {
291
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
292
  "valueBoolean": true
293
  }
294
- ],
295
- "code": "Quantity"
296
  },
297
  {
298
  "code": "CodeableConcept"
299
  },
@@ -323,15 +228,9 @@
323
  },
324
  {
325
  "code": "Period"
326
  }
327
- ],
328
- "mustSupport": true
329
- },
330
- {
331
- "id": "Observation.component.dataAbsentReason",
332
- "path": "Observation.component.dataAbsentReason",
333
- "mustSupport": true
334
  }
335
  ]
336
  }
337
  }
1
  {
2
  "resourceType": "StructureDefinition",
3
  "id": "us-core-vital-signs",
 
4
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs",
5
  "version": "3.2.0",
6
  "name": "USCoreVitalSignsProfile",
7
  "title": "US Core Vital Signs Profile",
24
  "jurisdiction": [
25
  {
26
  "coding": [
27
  {
28
+ "code": "US",
29
+ "system": "urn:iso:std:iso:3166"
30
  }
31
  ]
32
  }
33
  ],
69
  "abstract": false,
70
  "type": "Observation",
71
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns",
72
  "derivation": "constraint",
 
73
  "differential": {
74
  "element": [
75
  {
76
  "id": "Observation",
78
  "short": "US Core Vital Signs Profile",
79
  "definition": "Defines constraints on the Observation resource to represent vital signs observation. This profile is used as the base definition for the other US Core Vital Signs Profiles and based on the FHIR VitalSigns Profile."
80
  },
81
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  "id": "Observation.code",
83
  "path": "Observation.code",
 
84
  "binding": {
85
  "strength": "extensible",
86
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs",
87
+ "description": "The vital sign codes from the base FHIR and US Core Vital Signs."
88
  }
89
  },
90
  {
91
  "id": "Observation.subject",
96
  "targetProfile": [
97
  "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
98
  ]
99
  }
100
+ ]
 
101
  },
102
  {
103
  "id": "Observation.effective[x]",
104
  "path": "Observation.effective[x]",
105
  "type": [
106
  {
107
+ "code": "dateTime",
108
  "extension": [
109
  {
110
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
111
  "valueBoolean": true
112
  }
113
+ ]
 
114
  },
115
  {
116
  "code": "Period"
117
  }
118
+ ]
 
119
  },
120
  {
121
  "id": "Observation.value[x]",
122
  "path": "Observation.value[x]",
123
  "short": "Vital Signs Value",
124
  "definition": "Vital Signs value are typically recorded using the Quantity data type.",
125
  "type": [
126
  {
127
+ "code": "Quantity",
128
  "extension": [
129
  {
130
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
131
  "valueBoolean": true
132
  }
133
+ ]
 
134
  },
135
  {
136
  "code": "CodeableConcept"
137
  },
162
  {
163
  "code": "Period"
164
  }
165
  ],
 
166
  "binding": {
167
  "strength": "extensible",
168
+ "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1",
169
+ "description": "Common UCUM units for recording Vital Signs."
170
  }
171
  },
172
  {
 
 
 
 
 
173
  "id": "Observation.component",
174
  "path": "Observation.component",
175
  "short": "Component observations",
176
+ "definition": "Used when reporting component observation such as systolic and diastolic blood pressure."
 
177
  },
178
  {
179
  "id": "Observation.component.code",
180
  "path": "Observation.component.code",
 
181
  "binding": {
182
  "strength": "extensible",
183
+ "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs",
184
+ "description": "The vital sign codes from the base FHIR and US Core Vital Signs."
185
  }
186
  },
187
  {
188
  "id": "Observation.component.value[x]",
190
  "short": "Vital Sign Component Value",
191
  "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.",
192
  "type": [
193
  {
194
+ "code": "Quantity",
195
  "extension": [
196
  {
197
  "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
198
  "valueBoolean": true
199
  }
200
+ ]
 
201
  },
202
  {
203
  "code": "CodeableConcept"
204
  },
228
  },
229
  {
230
  "code": "Period"
231
  }
232
+ ]
 
 
 
 
 
 
233
  }
234
  ]
235
  }
236
  }