@haste-health/hl7.fhir.r4b.test-data 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/.index.json +569 -0
  2. package/README.md +1 -0
  3. package/examples-json/Account-ewg.json +76 -0
  4. package/examples-json/ActivityDefinition-administer-zika-virus-exposure-assessment.json +71 -0
  5. package/examples-json/AdministrableProductDefinition-example.json +52 -0
  6. package/examples-json/AdverseEvent-example.json +75 -0
  7. package/examples-json/AllergyIntolerance-example.json +128 -0
  8. package/examples-json/Appointment-2docs.json +102 -0
  9. package/examples-json/AppointmentResponse-example.json +26 -0
  10. package/examples-json/AuditEvent-example-disclosure.json +177 -0
  11. package/examples-json/Basic-basic-example-narrative.json +20 -0
  12. package/examples-json/Binary-example.json +18 -0
  13. package/examples-json/BiologicallyDerivedProduct-example.json +17 -0
  14. package/examples-json/BodyStructure-fetus.json +37 -0
  15. package/examples-json/Bundle-00b99077-2bda-436e-98cc-a4f65d6c2fe0.json +81 -0
  16. package/examples-json/CapabilityStatement-base.json +19587 -0
  17. package/examples-json/CarePlan-example.json +166 -0
  18. package/examples-json/CareTeam-example.json +94 -0
  19. package/examples-json/CatalogEntry-example.json +30 -0
  20. package/examples-json/ChargeItem-example.json +130 -0
  21. package/examples-json/ChargeItemDefinition-device.json +94 -0
  22. package/examples-json/Citation-example.json +18 -0
  23. package/examples-json/Claim-100150.json +116 -0
  24. package/examples-json/ClaimResponse-R3500.json +179 -0
  25. package/examples-json/ClinicalImpression-example.json +77 -0
  26. package/examples-json/ClinicalUseDefinition-example.json +43 -0
  27. package/examples-json/CodeSystem-FHIR-version.json +183 -0
  28. package/examples-json/Communication-example.json +84 -0
  29. package/examples-json/CommunicationRequest-example.json +24 -0
  30. package/examples-json/CompartmentDefinition-device.json +563 -0
  31. package/examples-json/Composition-example-mixed.json +99 -0
  32. package/examples-json/ConceptMap-101.json +111 -0
  33. package/examples-json/Condition-example.json +84 -0
  34. package/examples-json/Consent-consent-example-Emergency.json +100 -0
  35. package/examples-json/Contract-C-123.json +91 -0
  36. package/examples-json/Coverage-7546D.json +134 -0
  37. package/examples-json/CoverageEligibilityRequest-52345.json +52 -0
  38. package/examples-json/CoverageEligibilityResponse-E2500.json +47 -0
  39. package/examples-json/DetectedIssue-allergy.json +18 -0
  40. package/examples-json/Device-example.json +23 -0
  41. package/examples-json/DeviceDefinition-example.json +22 -0
  42. package/examples-json/DeviceMetric-example.json +64 -0
  43. package/examples-json/DeviceRequest-example.json +25 -0
  44. package/examples-json/DeviceUseStatement-example.json +36 -0
  45. package/examples-json/DiagnosticReport-102.json +54 -0
  46. package/examples-json/DocumentManifest-654789.json +101 -0
  47. package/examples-json/DocumentReference-example.json +171 -0
  48. package/examples-json/Encounter-emerg.json +150 -0
  49. package/examples-json/Endpoint-direct-endpoint.json +36 -0
  50. package/examples-json/EnrollmentRequest-22345.json +37 -0
  51. package/examples-json/EnrollmentResponse-ER2500.json +36 -0
  52. package/examples-json/EpisodeOfCare-example.json +111 -0
  53. package/examples-json/EventDefinition-example.json +36 -0
  54. package/examples-json/Evidence-example-ASTRAL-12-alteplase-mRS3-6.json +277 -0
  55. package/examples-json/EvidenceReport-example.json +25 -0
  56. package/examples-json/EvidenceVariable-example-Stroke-Thrombolysis-Trialists-2014-2016-IPD-MA-Cohort.json +100 -0
  57. package/examples-json/ExampleScenario-example.json +351 -0
  58. package/examples-json/ExplanationOfBenefit-EB3500.json +320 -0
  59. package/examples-json/FamilyMemberHistory-father.json +75 -0
  60. package/examples-json/Flag-example-encounter.json +45 -0
  61. package/examples-json/Goal-example.json +96 -0
  62. package/examples-json/GraphDefinition-example.json +62 -0
  63. package/examples-json/Group-101.json +50 -0
  64. package/examples-json/GuidanceResponse-example.json +81 -0
  65. package/examples-json/HealthcareService-example.json +233 -0
  66. package/examples-json/ImagingStudy-example-xr.json +174 -0
  67. package/examples-json/Immunization-example.json +141 -0
  68. package/examples-json/ImmunizationEvaluation-example.json +54 -0
  69. package/examples-json/ImmunizationRecommendation-example.json +97 -0
  70. package/examples-json/ImplementationGuide-example.json +128 -0
  71. package/examples-json/Ingredient-example.json +63 -0
  72. package/examples-json/InsurancePlan-example.json +18 -0
  73. package/examples-json/Invoice-example.json +61 -0
  74. package/examples-json/Library-FHIR-ModelInfo.json +43 -0
  75. package/examples-json/Linkage-example.json +36 -0
  76. package/examples-json/List-current-allergies.json +54 -0
  77. package/examples-json/Location-1.json +82 -0
  78. package/examples-json/ManufacturedItemDefinition-example.json +77 -0
  79. package/examples-json/Measure-component-a-example.json +73 -0
  80. package/examples-json/MeasureReport-general-example-of-report.json +156 -0
  81. package/examples-json/Media-1.2.840.11361907579238403408700.3.1.04.19970327150033.json +84 -0
  82. package/examples-json/Medication-med0301.json +76 -0
  83. package/examples-json/MedicationAdministration-medadmin0301.json +143 -0
  84. package/examples-json/MedicationDispense-meddisp008.json +92 -0
  85. package/examples-json/MedicationKnowledge-example.json +53 -0
  86. package/examples-json/MedicationRequest-medrx002.json +60 -0
  87. package/examples-json/MedicationStatement-example001.json +207 -0
  88. package/examples-json/MedicinalProductDefinition-Acetamin-500-20-generic.json +72 -0
  89. package/examples-json/MessageDefinition-example.json +31 -0
  90. package/examples-json/MessageHeader-1cbdfb97-5859-48a4-8301-d54eab818d68.json +70 -0
  91. package/examples-json/MolecularSequence-breastcancer.json +43 -0
  92. package/examples-json/NamingSystem-example-id.json +71 -0
  93. package/examples-json/NutritionOrder-cardiacdiet.json +137 -0
  94. package/examples-json/NutritionProduct-example.json +18 -0
  95. package/examples-json/Observation-10minute-apgar-score.json +278 -0
  96. package/examples-json/ObservationDefinition-example.json +26 -0
  97. package/examples-json/OperationDefinition-ActivityDefinition-apply.json +145 -0
  98. package/examples-json/OperationOutcome-101.json +33 -0
  99. package/examples-json/Organization-1.json +36 -0
  100. package/examples-json/OrganizationAffiliation-example.json +84 -0
  101. package/examples-json/PackagedProductDefinition-example.json +213 -0
  102. package/examples-json/Parameters-example.json +49 -0
  103. package/examples-json/Patient-animal.json +121 -0
  104. package/examples-json/PaymentNotice-77654.json +59 -0
  105. package/examples-json/PaymentReconciliation-ER2500.json +143 -0
  106. package/examples-json/Person-example.json +97 -0
  107. package/examples-json/PlanDefinition-KDN5.json +328 -0
  108. package/examples-json/Practitioner-example.json +72 -0
  109. package/examples-json/PractitionerRole-example.json +113 -0
  110. package/examples-json/Procedure-HCBS.json +55 -0
  111. package/examples-json/Provenance-consent-signature.json +58 -0
  112. package/examples-json/Questionnaire-3141.json +158 -0
  113. package/examples-json/QuestionnaireResponse-3141.json +147 -0
  114. package/examples-json/RegulatedAuthorization-basic-drug-auth.json +41 -0
  115. package/examples-json/RelatedPerson-benedicte.json +84 -0
  116. package/examples-json/RequestGroup-example.json +136 -0
  117. package/examples-json/ResearchDefinition-example.json +21 -0
  118. package/examples-json/ResearchElementDefinition-example.json +26 -0
  119. package/examples-json/ResearchStudy-example.json +18 -0
  120. package/examples-json/ResearchSubject-example.json +33 -0
  121. package/examples-json/RiskAssessment-breastcancer-risk.json +57 -0
  122. package/examples-json/Schedule-example.json +66 -0
  123. package/examples-json/ServiceRequest-ambulation.json +54 -0
  124. package/examples-json/Slot-1.json +41 -0
  125. package/examples-json/Specimen-101.json +118 -0
  126. package/examples-json/SpecimenDefinition-2364.json +261 -0
  127. package/examples-json/StructureDefinition-11179-objectClass.json +347 -0
  128. package/examples-json/StructureMap-example.json +78 -0
  129. package/examples-json/Subscription-example-error.json +36 -0
  130. package/examples-json/SubscriptionStatus-example.json +32 -0
  131. package/examples-json/SubscriptionTopic-admission.json +71 -0
  132. package/examples-json/Substance-example.json +38 -0
  133. package/examples-json/SubstanceDefinition-example.json +162 -0
  134. package/examples-json/SupplyDelivery-pumpdelivery.json +40 -0
  135. package/examples-json/SupplyRequest-simpleorder.json +69 -0
  136. package/examples-json/Task-example1.json +150 -0
  137. package/examples-json/TerminologyCapabilities-example.json +38 -0
  138. package/examples-json/TestReport-testreport-example.json +164 -0
  139. package/examples-json/TestScript-testscript-example-history.json +228 -0
  140. package/examples-json/ValueSet-abstract-types.json +73 -0
  141. package/examples-json/VerificationResult-example.json +18 -0
  142. package/examples-json/VisionPrescription-33123.json +74 -0
  143. package/examples-json/package.json +16 -0
  144. package/package.json +33 -0
@@ -0,0 +1,347 @@
1
+ {
2
+ "resourceType": "StructureDefinition",
3
+ "id": "11179-objectClass",
4
+ "extension": [
5
+ {
6
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
7
+ "valueCode": "fhir"
8
+ },
9
+ {
10
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
11
+ "valueInteger": 1
12
+ }
13
+ ],
14
+ "url": "http://hl7.org/fhir/StructureDefinition/11179-objectClass",
15
+ "version": "4.3.0",
16
+ "name": "objectClass",
17
+ "title": "Object Class",
18
+ "status": "draft",
19
+ "experimental": false,
20
+ "date": "2014-04-21",
21
+ "publisher": "Health Level Seven International (Orders and Observations)",
22
+ "contact": [
23
+ {
24
+ "telecom": [
25
+ {
26
+ "system": "url",
27
+ "value": "http://hl7.org"
28
+ }
29
+ ]
30
+ }
31
+ ],
32
+ "description": "A concept that represents a set of ideas, abstractions, or things in the real world that can be identified with explicit boundaries and meaning and whose properties and behavior follow the same rules. It may be either a single concept or a group of associated concepts, abstractions, or things.",
33
+ "fhirVersion": "4.3.0",
34
+ "mapping": [
35
+ {
36
+ "identity": "v2",
37
+ "uri": "http://hl7.org/v2",
38
+ "name": "HL7 v2 Mapping"
39
+ },
40
+ {
41
+ "identity": "rim",
42
+ "uri": "http://hl7.org/v3",
43
+ "name": "RIM Mapping"
44
+ },
45
+ {
46
+ "identity": "iso11179",
47
+ "uri": "http://metadata-standards.org/11179/",
48
+ "name": "ISO 11179"
49
+ }
50
+ ],
51
+ "kind": "complex-type",
52
+ "abstract": false,
53
+ "context": [
54
+ {
55
+ "type": "element",
56
+ "expression": "ElementDefinition.mapping"
57
+ }
58
+ ],
59
+ "type": "Extension",
60
+ "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
61
+ "derivation": "constraint",
62
+ "snapshot": {
63
+ "element": [
64
+ {
65
+ "id": "Extension",
66
+ "path": "Extension",
67
+ "short": "Object Class",
68
+ "definition": "A concept that represents a set of ideas, abstractions, or things in the real world that can be identified with explicit boundaries and meaning and whose properties and behavior follow the same rules. It may be either a single concept or a group of associated concepts, abstractions, or things.",
69
+ "comment": "ObjectClass and Property are treated as a data model that can be mapped to, like any other. This extension merely captures the ObjectClass element as a discrete code. The information conveyed here should also be conveyed in human-readable form in the mapping.map element.",
70
+ "min": 0,
71
+ "max": "1",
72
+ "base": {
73
+ "path": "Extension",
74
+ "min": 0,
75
+ "max": "*"
76
+ },
77
+ "condition": [
78
+ "ele-1"
79
+ ],
80
+ "constraint": [
81
+ {
82
+ "key": "ele-1",
83
+ "severity": "error",
84
+ "human": "All FHIR elements must have a @value or children unless an empty Parameters resource",
85
+ "expression": "hasValue() or (children().count() \u003e id.count()) or $this is Parameters",
86
+ "xpath": "@value|f:*|h:div|self::f:Parameters",
87
+ "source": "http://hl7.org/fhir/StructureDefinition/Element"
88
+ },
89
+ {
90
+ "key": "ext-1",
91
+ "severity": "error",
92
+ "human": "Must have either extensions or value[x], not both",
93
+ "expression": "extension.exists() !\u003d value.exists()",
94
+ "xpath": "exists(f:extension)!\u003dexists(f:*[starts-with(local-name(.), \u0027value\u0027)])",
95
+ "source": "http://hl7.org/fhir/StructureDefinition/Extension"
96
+ }
97
+ ],
98
+ "isModifier": false,
99
+ "mapping": [
100
+ {
101
+ "identity": "v2",
102
+ "map": "N/A"
103
+ },
104
+ {
105
+ "identity": "rim",
106
+ "map": "N/A"
107
+ },
108
+ {
109
+ "identity": "iso11179",
110
+ "map": "Data_Element.meaning.object_class"
111
+ }
112
+ ]
113
+ },
114
+ {
115
+ "id": "Extension.id",
116
+ "path": "Extension.id",
117
+ "representation": [
118
+ "xmlAttr"
119
+ ],
120
+ "short": "Unique id for inter-element referencing",
121
+ "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
122
+ "min": 0,
123
+ "max": "1",
124
+ "base": {
125
+ "path": "Element.id",
126
+ "min": 0,
127
+ "max": "1"
128
+ },
129
+ "type": [
130
+ {
131
+ "extension": [
132
+ {
133
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
134
+ "valueUrl": "id"
135
+ }
136
+ ],
137
+ "code": "http://hl7.org/fhirpath/System.String"
138
+ }
139
+ ],
140
+ "isModifier": false,
141
+ "isSummary": false,
142
+ "mapping": [
143
+ {
144
+ "identity": "rim",
145
+ "map": "n/a"
146
+ }
147
+ ]
148
+ },
149
+ {
150
+ "id": "Extension.extension",
151
+ "path": "Extension.extension",
152
+ "slicing": {
153
+ "discriminator": [
154
+ {
155
+ "type": "value",
156
+ "path": "url"
157
+ }
158
+ ],
159
+ "description": "Extensions are always sliced by (at least) url",
160
+ "rules": "open"
161
+ },
162
+ "short": "Extension",
163
+ "definition": "An Extension",
164
+ "min": 0,
165
+ "max": "0",
166
+ "base": {
167
+ "path": "Element.extension",
168
+ "min": 0,
169
+ "max": "*"
170
+ },
171
+ "type": [
172
+ {
173
+ "code": "Extension"
174
+ }
175
+ ],
176
+ "constraint": [
177
+ {
178
+ "key": "ele-1",
179
+ "severity": "error",
180
+ "human": "All FHIR elements must have a @value or children",
181
+ "expression": "hasValue() or (children().count() \u003e id.count())",
182
+ "xpath": "@value|f:*|h:div",
183
+ "source": "http://hl7.org/fhir/StructureDefinition/Element"
184
+ },
185
+ {
186
+ "key": "ext-1",
187
+ "severity": "error",
188
+ "human": "Must have either extensions or value[x], not both",
189
+ "expression": "extension.exists() !\u003d value.exists()",
190
+ "xpath": "exists(f:extension)!\u003dexists(f:*[starts-with(local-name(.), \"value\")])",
191
+ "source": "http://hl7.org/fhir/StructureDefinition/Extension"
192
+ }
193
+ ],
194
+ "isModifier": false,
195
+ "isSummary": false
196
+ },
197
+ {
198
+ "id": "Extension.url",
199
+ "path": "Extension.url",
200
+ "representation": [
201
+ "xmlAttr"
202
+ ],
203
+ "short": "identifies the meaning of the extension",
204
+ "definition": "Source of the definition for the extension code - a logical name or a URL.",
205
+ "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
206
+ "min": 1,
207
+ "max": "1",
208
+ "base": {
209
+ "path": "Extension.url",
210
+ "min": 1,
211
+ "max": "1"
212
+ },
213
+ "type": [
214
+ {
215
+ "extension": [
216
+ {
217
+ "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
218
+ "valueUrl": "uri"
219
+ }
220
+ ],
221
+ "code": "http://hl7.org/fhirpath/System.String"
222
+ }
223
+ ],
224
+ "fixedUri": "http://hl7.org/fhir/StructureDefinition/11179-objectClass",
225
+ "isModifier": false,
226
+ "isSummary": false,
227
+ "mapping": [
228
+ {
229
+ "identity": "rim",
230
+ "map": "N/A"
231
+ }
232
+ ]
233
+ },
234
+ {
235
+ "id": "Extension.value[x]",
236
+ "path": "Extension.value[x]",
237
+ "short": "Value of extension",
238
+ "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
239
+ "min": 1,
240
+ "max": "1",
241
+ "base": {
242
+ "path": "Extension.value[x]",
243
+ "min": 0,
244
+ "max": "1"
245
+ },
246
+ "type": [
247
+ {
248
+ "code": "Coding"
249
+ }
250
+ ],
251
+ "constraint": [
252
+ {
253
+ "key": "ele-1",
254
+ "severity": "error",
255
+ "human": "All FHIR elements must have a @value or children",
256
+ "expression": "hasValue() or (children().count() \u003e id.count())",
257
+ "xpath": "@value|f:*|h:div",
258
+ "source": "http://hl7.org/fhir/StructureDefinition/Element"
259
+ }
260
+ ],
261
+ "isModifier": false,
262
+ "isSummary": false,
263
+ "binding": {
264
+ "extension": [
265
+ {
266
+ "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
267
+ "valueString": "A concept that represents a set of ideas, abstractions, or things in the real world that can be identified with explicit boundaries and meaning and whose properties and behavior follow the same rules; e.g. Person, Prescription, Encounter, etc."
268
+ },
269
+ {
270
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
271
+ "valueString": "11179ObjectClass"
272
+ }
273
+ ],
274
+ "strength": "example",
275
+ "valueSet": "http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclass"
276
+ },
277
+ "mapping": [
278
+ {
279
+ "identity": "rim",
280
+ "map": "N/A"
281
+ }
282
+ ]
283
+ }
284
+ ]
285
+ },
286
+ "differential": {
287
+ "element": [
288
+ {
289
+ "id": "Extension",
290
+ "path": "Extension",
291
+ "short": "Object Class",
292
+ "definition": "A concept that represents a set of ideas, abstractions, or things in the real world that can be identified with explicit boundaries and meaning and whose properties and behavior follow the same rules. It may be either a single concept or a group of associated concepts, abstractions, or things.",
293
+ "comment": "ObjectClass and Property are treated as a data model that can be mapped to, like any other. This extension merely captures the ObjectClass element as a discrete code. The information conveyed here should also be conveyed in human-readable form in the mapping.map element.",
294
+ "min": 0,
295
+ "max": "1",
296
+ "mapping": [
297
+ {
298
+ "identity": "v2",
299
+ "map": "N/A"
300
+ },
301
+ {
302
+ "identity": "rim",
303
+ "map": "N/A"
304
+ },
305
+ {
306
+ "identity": "iso11179",
307
+ "map": "Data_Element.meaning.object_class"
308
+ }
309
+ ]
310
+ },
311
+ {
312
+ "id": "Extension.extension",
313
+ "path": "Extension.extension",
314
+ "max": "0"
315
+ },
316
+ {
317
+ "id": "Extension.url",
318
+ "path": "Extension.url",
319
+ "fixedUri": "http://hl7.org/fhir/StructureDefinition/11179-objectClass"
320
+ },
321
+ {
322
+ "id": "Extension.value[x]",
323
+ "path": "Extension.value[x]",
324
+ "min": 1,
325
+ "type": [
326
+ {
327
+ "code": "Coding"
328
+ }
329
+ ],
330
+ "binding": {
331
+ "extension": [
332
+ {
333
+ "url": "http://hl7.org/fhir/build/StructureDefinition/binding-definition",
334
+ "valueString": "A concept that represents a set of ideas, abstractions, or things in the real world that can be identified with explicit boundaries and meaning and whose properties and behavior follow the same rules; e.g. Person, Prescription, Encounter, etc."
335
+ },
336
+ {
337
+ "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
338
+ "valueString": "11179ObjectClass"
339
+ }
340
+ ],
341
+ "strength": "example",
342
+ "valueSet": "http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclass"
343
+ }
344
+ }
345
+ ]
346
+ }
347
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "resourceType": "StructureMap",
3
+ "id": "example",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp\u003e\u003cb\u003eGenerated Narrative\u003c/b\u003e\u003c/p\u003e\u003cdiv style\u003d\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"\u003e\u003cp style\u003d\"margin-bottom: 0px\"\u003eResource \u0026quot;example\u0026quot; \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003eurl\u003c/b\u003e: \u003ccode\u003ehttp://hl7.org/fhir/StructureMap/example\u003c/code\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eidentifier\u003c/b\u003e: id: urn:oid:37843577-95fb-4adb-84c0-8837188a7bf3\u003c/p\u003e\u003cp\u003e\u003cb\u003eversion\u003c/b\u003e: 0.1\u003c/p\u003e\u003cp\u003e\u003cb\u003ename\u003c/b\u003e: ExampleMap\u003c/p\u003e\u003cp\u003e\u003cb\u003etitle\u003c/b\u003e: Example Map\u003c/p\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: draft\u003c/p\u003e\u003cp\u003e\u003cb\u003edate\u003c/b\u003e: 2017-03-09\u003c/p\u003e\u003cp\u003e\u003cb\u003epublisher\u003c/b\u003e: HL7 FHIR Standard\u003c/p\u003e\u003cp\u003e\u003cb\u003econtact\u003c/b\u003e: \u003ca href\u003d\"http://hl7.org/fhir\"\u003ehttp://hl7.org/fhir\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003edescription\u003c/b\u003e: Example Structure Map\u003c/p\u003e\u003cp\u003e\u003cb\u003ejurisdiction\u003c/b\u003e: Oceania \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (m49.htm#009)\u003c/span\u003e\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003egroup\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ename\u003c/b\u003e: Examples\u003c/p\u003e\u003cp\u003e\u003cb\u003etypeMode\u003c/b\u003e: none\u003c/p\u003e\u003cp\u003e\u003cb\u003edocumentation\u003c/b\u003e: test -\u0026gt; testValue\u003c/p\u003e\u003ch3\u003eInputs\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eName\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eMode\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003etest\u003c/td\u003e\u003ctd\u003esource\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003erule\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ename\u003c/b\u003e: rule1\u003c/p\u003e\u003ch3\u003eSources\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eContext\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eType\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eElement\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eVariable\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eSource\u003c/td\u003e\u003ctd\u003eSourceClassA\u003c/td\u003e\u003ctd\u003etest\u003c/td\u003e\u003ctd\u003et\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003ch3\u003eTargets\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eContext\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eContextType\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eElement\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eTransform\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eDestination\u003c/td\u003e\u003ctd\u003evariable\u003c/td\u003e\u003ctd\u003etestValue\u003c/td\u003e\u003ctd\u003ecopy\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003c/blockquote\u003e\u003c/div\u003e"
7
+ },
8
+ "url": "http://hl7.org/fhir/StructureMap/example",
9
+ "identifier": [
10
+ {
11
+ "system": "urn:ietf:rfc:3986",
12
+ "value": "urn:oid:37843577-95fb-4adb-84c0-8837188a7bf3"
13
+ }
14
+ ],
15
+ "version": "0.1",
16
+ "name": "ExampleMap",
17
+ "title": "Example Map",
18
+ "status": "draft",
19
+ "experimental": true,
20
+ "date": "2017-03-09",
21
+ "publisher": "HL7 FHIR Standard",
22
+ "contact": [
23
+ {
24
+ "telecom": [
25
+ {
26
+ "system": "url",
27
+ "value": "http://hl7.org/fhir"
28
+ }
29
+ ]
30
+ }
31
+ ],
32
+ "description": "Example Structure Map",
33
+ "jurisdiction": [
34
+ {
35
+ "coding": [
36
+ {
37
+ "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
38
+ "code": "009",
39
+ "display": "Oceania"
40
+ }
41
+ ]
42
+ }
43
+ ],
44
+ "group": [
45
+ {
46
+ "name": "Examples",
47
+ "typeMode": "none",
48
+ "documentation": "test -\u003e testValue",
49
+ "input": [
50
+ {
51
+ "name": "test",
52
+ "mode": "source"
53
+ }
54
+ ],
55
+ "rule": [
56
+ {
57
+ "name": "rule1",
58
+ "source": [
59
+ {
60
+ "context": "Source",
61
+ "type": "SourceClassA",
62
+ "element": "test",
63
+ "variable": "t"
64
+ }
65
+ ],
66
+ "target": [
67
+ {
68
+ "context": "Destination",
69
+ "contextType": "variable",
70
+ "element": "testValue",
71
+ "transform": "copy"
72
+ }
73
+ ]
74
+ }
75
+ ]
76
+ }
77
+ ]
78
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "resourceType": "Subscription",
3
+ "id": "example-error",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e[Put rendering here]\u003c/div\u003e"
7
+ },
8
+ "status": "error",
9
+ "contact": [
10
+ {
11
+ "system": "phone",
12
+ "value": "ext 4123"
13
+ }
14
+ ],
15
+ "end": "2021-01-01T00:00:00Z",
16
+ "reason": "Monitor new neonatal function",
17
+ "criteria": "Observation?code\u003dhttp://loinc.org|1975-2",
18
+ "error": "Socket Error 10060 - can\u0027t connect to host",
19
+ "channel": {
20
+ "type": "rest-hook",
21
+ "endpoint": "https://biliwatch.com/customers/mount-auburn-miu/on-result",
22
+ "payload": "application/fhir+json",
23
+ "header": [
24
+ "Authorization: Bearer secret-token-abc-123"
25
+ ]
26
+ },
27
+ "meta": {
28
+ "tag": [
29
+ {
30
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
31
+ "code": "HTEST",
32
+ "display": "test health data"
33
+ }
34
+ ]
35
+ }
36
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "resourceType": "SubscriptionStatus",
3
+ "id": "example",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp\u003e\u003cb\u003eGenerated Narrative\u003c/b\u003e\u003c/p\u003e\u003cdiv style\u003d\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"\u003e\u003cp style\u003d\"margin-bottom: 0px\"\u003eResource \u0026quot;example\u0026quot; \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: active\u003c/p\u003e\u003cp\u003e\u003cb\u003etype\u003c/b\u003e: event-notification\u003c/p\u003e\u003cp\u003e\u003cb\u003eeventsSinceSubscriptionStart\u003c/b\u003e: 1000\u003c/p\u003e\u003ch3\u003eNotificationEvents\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eEventNumber\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eFocus\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003e1000\u003c/td\u003e\u003ctd\u003e\u003ca href\u003d\"todo.html\"\u003eurn:uuid:9986fc11-a845-4965-af24-45312fd0cc4e\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003cp\u003e\u003cb\u003esubscription\u003c/b\u003e: \u003ca href\u003d\"todo.html\"\u003ehttp://example.org/FHIR/R4B/Subscription/123\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003etopic\u003c/b\u003e: \u003ca href\u003d\"http://example.org/FHIR/R4B/SubscriptionTopic/admission\"\u003ehttp://example.org/FHIR/R4B/SubscriptionTopic/admission\u003c/a\u003e\u003c/p\u003e\u003c/div\u003e"
7
+ },
8
+ "status": "active",
9
+ "type": "event-notification",
10
+ "eventsSinceSubscriptionStart": "1000",
11
+ "notificationEvent": [
12
+ {
13
+ "eventNumber": "1000",
14
+ "focus": {
15
+ "reference": "urn:uuid:9986fc11-a845-4965-af24-45312fd0cc4e"
16
+ }
17
+ }
18
+ ],
19
+ "subscription": {
20
+ "reference": "http://example.org/FHIR/R4B/Subscription/123"
21
+ },
22
+ "topic": "http://example.org/FHIR/R4B/SubscriptionTopic/admission",
23
+ "meta": {
24
+ "tag": [
25
+ {
26
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
27
+ "code": "HTEST",
28
+ "display": "test health data"
29
+ }
30
+ ]
31
+ }
32
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "resourceType": "SubscriptionTopic",
3
+ "id": "admission",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp\u003e\u003cb\u003eGenerated Narrative\u003c/b\u003e\u003c/p\u003e\u003cdiv style\u003d\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"\u003e\u003cp style\u003d\"margin-bottom: 0px\"\u003eResource \u0026quot;admission\u0026quot; \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003eurl\u003c/b\u003e: \u003ccode\u003ehttp://example.org/FHIR/R4B/SubscriptionTopic/admission\u003c/code\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003etitle\u003c/b\u003e: admission\u003c/p\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: active\u003c/p\u003e\u003cp\u003e\u003cb\u003edescription\u003c/b\u003e: Example admission topic\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eresourceTrigger\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003edescription\u003c/b\u003e: Encounter resource moving to state \u0027in-progress\u0027\u003c/p\u003e\u003cp\u003e\u003cb\u003eresource\u003c/b\u003e: \u003ca href\u003d\"encounter.html\"\u003eEncounter\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003esupportedInteraction\u003c/b\u003e: create, update\u003c/p\u003e\u003ch3\u003eQueryCriteria\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003ePrevious\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResultForCreate\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eCurrent\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResultForDelete\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eRequireBoth\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003estatus:not\u003din-progress\u003c/td\u003e\u003ctd\u003etest-passes\u003c/td\u003e\u003ctd\u003estatus\u003din-progress\u003c/td\u003e\u003ctd\u003etest-fails\u003c/td\u003e\u003ctd\u003etrue\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003cp\u003e\u003cb\u003efhirPathCriteria\u003c/b\u003e: %previous.status!\u003d\u0027in-progress\u0027 and %current.status\u003d\u0027in-progress\u0027\u003c/p\u003e\u003c/blockquote\u003e\u003ch3\u003eEventTriggers\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eEvent\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResource\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003ePatient admission is covered by HL7v2 ADT^A01\u003c/td\u003e\u003ctd\u003eADT/ACK - Admit/visit notification \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/3.1.0/CodeSystem-v2-0003.html\"\u003eeventType\u003c/a\u003e#A01)\u003c/span\u003e\u003c/td\u003e\u003ctd\u003e\u003ca href\u003d\"encounter.html\"\u003eEncounter\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003ch3\u003eCanFilterBies\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResource\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eFilterParameter\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eModifier\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eMatching based on the Patient (subject) of an Encounter or based on the Patient\u0027s group membership (in/not-in).\u003c/td\u003e\u003ctd\u003e\u003ca href\u003d\"encounter.html\"\u003eEncounter\u003c/a\u003e\u003c/td\u003e\u003ctd\u003epatient\u003c/td\u003e\u003ctd\u003e\u003d, in, not-in\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003ch3\u003eNotificationShapes\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResource\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eInclude\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003e\u003ca href\u003d\"encounter.html\"\u003eEncounter\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eEncounter:patient, Encounter:practitioner, Encounter:service-provider, Encounter:account, Encounter:diagnosis, Encounter:observation, Encounter:location\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/div\u003e"
7
+ },
8
+ "url": "http://example.org/FHIR/R4B/SubscriptionTopic/admission",
9
+ "title": "admission",
10
+ "status": "active",
11
+ "description": "Example admission topic",
12
+ "resourceTrigger": [
13
+ {
14
+ "description": "Encounter resource moving to state \u0027in-progress\u0027",
15
+ "resource": "http://hl7.org/fhir/StructureDefinition/Encounter",
16
+ "supportedInteraction": [
17
+ "create",
18
+ "update"
19
+ ],
20
+ "queryCriteria": {
21
+ "previous": "status:not\u003din-progress",
22
+ "resultForCreate": "test-passes",
23
+ "current": "status\u003din-progress",
24
+ "resultForDelete": "test-fails",
25
+ "requireBoth": true
26
+ },
27
+ "fhirPathCriteria": "%previous.status!\u003d\u0027in-progress\u0027 and %current.status\u003d\u0027in-progress\u0027"
28
+ }
29
+ ],
30
+ "eventTrigger": [
31
+ {
32
+ "description": "Patient admission is covered by HL7v2 ADT^A01",
33
+ "event": {
34
+ "coding": [
35
+ {
36
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
37
+ "code": "A01",
38
+ "display": "ADT/ACK - Admit/visit notification"
39
+ }
40
+ ]
41
+ },
42
+ "resource": "http://hl7.org/fhir/StructureDefinition/Encounter"
43
+ }
44
+ ],
45
+ "canFilterBy": [
46
+ {
47
+ "description": "Matching based on the Patient (subject) of an Encounter or based on the Patient\u0027s group membership (in/not-in).",
48
+ "resource": "Encounter",
49
+ "filterParameter": "patient",
50
+ "modifier": [
51
+ "\u003d",
52
+ "in",
53
+ "not-in"
54
+ ]
55
+ }
56
+ ],
57
+ "notificationShape": [
58
+ {
59
+ "resource": "Encounter",
60
+ "include": [
61
+ "Encounter:patient",
62
+ "Encounter:practitioner",
63
+ "Encounter:service-provider",
64
+ "Encounter:account",
65
+ "Encounter:diagnosis",
66
+ "Encounter:observation",
67
+ "Encounter:location"
68
+ ]
69
+ }
70
+ ]
71
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "resourceType": "Substance",
3
+ "id": "example",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp\u003e\u003cb\u003eGenerated Narrative\u003c/b\u003e\u003c/p\u003e\u003cdiv style\u003d\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"\u003e\u003cp style\u003d\"margin-bottom: 0px\"\u003eResource \u0026quot;example\u0026quot; \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003eidentifier\u003c/b\u003e: id: 1463\u003c/p\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: active\u003c/p\u003e\u003cp\u003e\u003cb\u003ecategory\u003c/b\u003e: Allergen \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/3.1.0/CodeSystem-substance-category.html\"\u003eSubstance Category Codes\u003c/a\u003e#allergen)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ecode\u003c/b\u003e: apitoxin (Honey Bee Venom) \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e ()\u003c/span\u003e\u003c/p\u003e\u003c/div\u003e"
7
+ },
8
+ "identifier": [
9
+ {
10
+ "system": "http://acme.org/identifiers/substances",
11
+ "value": "1463"
12
+ }
13
+ ],
14
+ "status": "active",
15
+ "category": [
16
+ {
17
+ "coding": [
18
+ {
19
+ "system": "http://terminology.hl7.org/CodeSystem/substance-category",
20
+ "code": "allergen",
21
+ "display": "Allergen"
22
+ }
23
+ ]
24
+ }
25
+ ],
26
+ "code": {
27
+ "text": "apitoxin (Honey Bee Venom)"
28
+ },
29
+ "meta": {
30
+ "tag": [
31
+ {
32
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
33
+ "code": "HTEST",
34
+ "display": "test health data"
35
+ }
36
+ ]
37
+ }
38
+ }