diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProgressNote/PROBLEMS_in_Empty_C-CDA_2.1-C-CDAR2.1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProgressNote/PROBLEMS_in_Empty_C-CDA_2.1-C-CDAR2.1-expected.json
index 6165dfba7..e0726ce0e 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProgressNote/PROBLEMS_in_Empty_C-CDA_2.1-C-CDAR2.1-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/ProgressNote/PROBLEMS_in_Empty_C-CDA_2.1-C-CDAR2.1-expected.json
@@ -3,10 +3,10 @@
"type": "batch",
"entry": [
{
- "fullUrl": "urn:uuid:3ca52ba9-ae49-fe85-c18d-6cc5a9b835ff",
+ "fullUrl": "urn:uuid:46a4ae4a-031e-7e0a-fee4-540ad5938724",
"resource": {
"resourceType": "Composition",
- "id": "3ca52ba9-ae49-fe85-c18d-6cc5a9b835ff",
+ "id": "46a4ae4a-031e-7e0a-fee4-540ad5938724",
"identifier": {
"use": "official",
"value": "2.16.840.1.113883.19.5.99999.1"
@@ -37,7 +37,7 @@
{
"period": {
"start": "2015-07-23T07:00:00+08:00",
- "end": "2015-07-23T09:00:00+08:00"
+ "end": "2015-07-23T12:00:00+08:00"
}
}
],
@@ -385,7 +385,7 @@
"reference": "Patient/89236d99-8509-7d3a-9dfb-a82c6b81d268"
},
"encounter": {
- "reference": "Encounter/adcab029-7e17-83ea-f6fd-de590f2deae8"
+ "reference": "Encounter/b6f5ed56-7748-00d5-9ceb-39811c553b86"
},
"custodian": {
"reference": "Organization/60584e77-f1e2-7864-31ce-931c9781c1dc"
@@ -398,7 +398,7 @@
},
"request": {
"method": "PUT",
- "url": "Composition/3ca52ba9-ae49-fe85-c18d-6cc5a9b835ff"
+ "url": "Composition/46a4ae4a-031e-7e0a-fee4-540ad5938724"
}
},
{
@@ -453,10 +453,10 @@
}
},
{
- "fullUrl": "urn:uuid:adcab029-7e17-83ea-f6fd-de590f2deae8",
+ "fullUrl": "urn:uuid:b6f5ed56-7748-00d5-9ceb-39811c553b86",
"resource": {
"resourceType": "Encounter",
- "id": "adcab029-7e17-83ea-f6fd-de590f2deae8",
+ "id": "b6f5ed56-7748-00d5-9ceb-39811c553b86",
"status": "unknown",
"identifier": [
{
@@ -466,12 +466,12 @@
],
"period": {
"start": "2015-07-23T07:00:00+08:00",
- "end": "2015-07-23T09:00:00+08:00"
+ "end": "2015-07-23T12:00:00+08:00"
}
},
"request": {
"method": "PUT",
- "url": "Encounter/adcab029-7e17-83ea-f6fd-de590f2deae8"
+ "url": "Encounter/b6f5ed56-7748-00d5-9ceb-39811c553b86"
}
},
{
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json
new file mode 100644
index 000000000..81f5eb19c
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-01-expected.json
@@ -0,0 +1,4623 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20",
+ "version": "2.4.3.52854",
+ "software": "Rhapsody"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A01",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A01^ADT_A01"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-11-08T05:55:14.38Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A01^ADT_A01"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "resource": {
+ "resourceType": "Device",
+ "id": "4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "manufacturer": "Orion",
+ "deviceName": [
+ {
+ "name": "Rhapsody",
+ "type": "manufacturer-name"
+ }
+ ],
+ "version": [
+ {
+ "value": "2.4.3.52854"
+ }
+ ],
+ "modelNumber": "2.4.3",
+ "note": [
+ {
+ "text": "Testactivity"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ },
+ {
+ "value": "1516",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "55121",
+ "type": {
+ "coding": [
+ {
+ "code": "FI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Facility ID"
+ }
+ ]
+ }
+ },
+ {
+ "value": "DB123",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:1.12",
+ "assigner": {
+ "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "Medicare-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MC",
+ "display": "Patient's Medicare number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-medicare"
+ },
+ {
+ "value": "MCN-008",
+ "type": {
+ "coding": [
+ {
+ "code": "MA",
+ "display": "Patient Medicaid number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid"
+ },
+ {
+ "value": "MI-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MI",
+ "display": "Military ID number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/identifier-military"
+ },
+ {
+ "value": "PNM1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ },
+ {
+ "family": "RADIANT",
+ "given": [
+ "LUCY"
+ ]
+ },
+ {
+ "family": "Jack",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ },
+ {
+ "line": [
+ "1619 SOUTH UNIVERSITY"
+ ],
+ "city": "MADISON",
+ "state": "WI",
+ "postalCode": "53703",
+ "country": "US"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ },
+ {
+ "value": "8484",
+ "system": "email",
+ "use": "home"
+ },
+ {
+ "value": "717171",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "021212",
+ "system": "other",
+ "use": "work"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "generalPractitioner": [
+ {
+ "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11"
+ },
+ {
+ "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d"
+ }
+ ],
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation",
+ "valueString": "Methodist Church"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator",
+ "valueBoolean": true
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod",
+ "valuePeriod": {
+ "start": "2021-08-30",
+ "end": "2021-09-30"
+ }
+ }
+ ],
+ "contact": [
+ {
+ "organization": {
+ "reference": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353"
+ }
+ },
+ {
+ "name": {
+ "family": "Evan",
+ "given": [
+ "ADAM",
+ "A"
+ ],
+ "suffix": [
+ "III",
+ "MD"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual"
+ },
+ "address": {
+ "line": [
+ "2222",
+ "HOME",
+ "STREET",
+ "Highway"
+ ],
+ "city": "GREENSBORO",
+ "state": "NC",
+ "postalCode": "27401-1020",
+ "country": "US",
+ "use": "billing",
+ "district": "test",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2005-01-11"
+ }
+ },
+ "telecom": [
+ {
+ "value": "5555",
+ "use": "work",
+ "system": "email",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18
+ },
+ {
+ "value": "121111",
+ "use": "home",
+ "system": "phone"
+ },
+ {
+ "value": "878777",
+ "use": "home",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18
+ },
+ {
+ "value": "6666666",
+ "system": "pager",
+ "use": "work"
+ },
+ {
+ "value": "777",
+ "use": "work",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 1
+ },
+ {
+ "value": "444444",
+ "system": "phone"
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "O",
+ "display": "Other",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0131"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-08-18",
+ "end": "2021-12-18"
+ },
+ "gender": "female"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ],
+ "guarantor": [
+ {
+ "party": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "onHold": false,
+ "period": {
+ "start": "2001-04-10",
+ "end": "2001-04-15"
+ }
+ },
+ {
+ "party": {
+ "reference": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f"
+ },
+ "onHold": false,
+ "period": {
+ "start": "2001-04-10",
+ "end": "2001-04-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:98678cfe-0455-73c8-d2a1-2ede2d55943f",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "98678cfe-0455-73c8-d2a1-2ede2d55943f",
+ "name": "Jupiter Hospital",
+ "address": [
+ {
+ "line": [
+ "1619 SOUTH UNIVERSITY"
+ ],
+ "city": "MADISON",
+ "state": "WI",
+ "postalCode": "53703",
+ "country": "US"
+ }
+ ],
+ "contact": [
+ {
+ "telecom": [
+ {
+ "value": "000352",
+ "system": "phone"
+ },
+ {
+ "value": "00121",
+ "system": "fax"
+ }
+ ],
+ "purpose": {
+ "coding": [
+ {
+ "code": "Urgent requirement"
+ }
+ ]
+ }
+ },
+ {
+ "name": {
+ "family": "RADIANT",
+ "given": [
+ "LUCY"
+ ]
+ }
+ },
+ {
+ "name": {
+ "family": "Ben",
+ "given": [
+ "Charles"
+ ]
+ }
+ },
+ {
+ "name": {
+ "family": "Ben2"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "8484",
+ "system": "email"
+ },
+ {
+ "value": "717171",
+ "system": "phone"
+ },
+ {
+ "value": "021212",
+ "system": "other"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "1516",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/98678cfe-0455-73c8-d2a1-2ede2d55943f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11",
+ "name": "LINDAS TEST ORGANIZATION",
+ "identifier": [
+ {
+ "value": "SIISCLIENT818"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d",
+ "identifier": [
+ {
+ "value": "88",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE",
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippo",
+ "given": [
+ "rold",
+ "H"
+ ],
+ "suffix": [
+ "V",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "84634858-74aa-5cdb-4547-60ec27339ac6",
+ "name": "POC",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "partOf": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "name": "Room-2",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "35353f20-6254-e794-98ed-8007490447e3",
+ "partOf": {
+ "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ },
+ "name": "Bed-103",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/35353f20-6254-e794-98ed-8007490447e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55",
+ "resource": {
+ "resourceType": "Location",
+ "id": "055e10f1-222e-df73-2325-0e4396db1a55",
+ "name": "Greenland",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "active",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "diagnosis": [
+ {
+ "condition": {
+ "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8"
+ },
+ "role": {
+ "coding": [
+ {
+ "code": "AD",
+ "display": "Admission Diagnosis",
+ "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role"
+ }
+ ]
+ },
+ "rank": 1
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "period": {
+ "start": "2015-02-08T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ],
+ "diagnosis": [
+ {
+ "condition": {
+ "reference": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8"
+ },
+ "use": {
+ "coding": [
+ {
+ "code": "AD",
+ "display": "Admission Diagnosis",
+ "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role"
+ }
+ ]
+ },
+ "rank": 1
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A01^ADT_A01"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:396e6ab6-624f-44a8-841c-6e1c4cebd765",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "396e6ab6-624f-44a8-841c-6e1c4cebd765",
+ "identifier": [
+ {
+ "value": "1210"
+ }
+ ],
+ "name": [
+ {
+ "family": "ANES",
+ "given": [
+ "MARK",
+ "B"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6a01e35c-52c3-892a-2ea0-0a283eb6757b",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6a01e35c-52c3-892a-2ea0-0a283eb6757b",
+ "identifier": [
+ {
+ "value": "121188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L",
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Patrick",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a8fc538f-624b-0cee-df30-6377fabae47c",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a8fc538f-624b-0cee-df30-6377fabae47c",
+ "identifier": [
+ {
+ "value": "12345689",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "display": "Medical record number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Everyman2",
+ "given": [
+ "Adam2",
+ "A"
+ ],
+ "suffix": [
+ "III",
+ "PHD"
+ ],
+ "prefix": [
+ "DR"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a9c75502-d60a-d89b-5912-f046100cd47e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "a9c75502-d60a-d89b-5912-f046100cd47e",
+ "name": "OT",
+ "mode": "instance",
+ "description": "OT--201",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "partOf": {
+ "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
+ },
+ "name": "201",
+ "mode": "instance",
+ "description": "OT--201",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb",
+ "resource": {
+ "resourceType": "Procedure",
+ "id": "2e2e33a1-60f8-7e38-c827-fe070237c3fb",
+ "status": "unknown",
+ "identifier": [
+ {
+ "value": "PR1001"
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c06db9c2-d07b-bac2-53c2-48ed83dd32b6",
+ "resource": {
+ "resourceType": "Procedure",
+ "id": "c06db9c2-d07b-bac2-53c2-48ed83dd32b6",
+ "code": {
+ "coding": [
+ {
+ "code": "76164006",
+ "display": "Biopsy of colon (procedure)",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Biopsy of colon, which was part of colonoscopy"
+ },
+ "status": "completed",
+ "performedDateTime": "2005-01-25T16:10:00+05:30",
+ "category": {
+ "coding": [
+ {
+ "code": "D",
+ "display": "Diagnostic Procedure",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70230"
+ }
+ ]
+ },
+ "performer": [
+ {
+ "actor": {
+ "reference": "Practitioner/396e6ab6-624f-44a8-841c-6e1c4cebd765"
+ },
+ "function": {
+ "coding": [
+ {
+ "code": "88189002",
+ "system": "http://snomed.info/sct",
+ "display": "Anesthesiologist"
+ }
+ ],
+ "text": "Anesthesiologist"
+ }
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/6a01e35c-52c3-892a-2ea0-0a283eb6757b"
+ },
+ "function": {
+ "coding": [
+ {
+ "code": "304292004",
+ "system": "http://snomed.info/sct",
+ "display": "Surgeon"
+ }
+ ],
+ "text": "Surgeon"
+ }
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/a8fc538f-624b-0cee-df30-6377fabae47c"
+ },
+ "function": {
+ "text": "Procedure Practitioner"
+ }
+ }
+ ],
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "799008",
+ "display": "Sigmoid colon ulcer",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "identifier": [
+ {
+ "value": "PR1006"
+ }
+ ],
+ "location": {
+ "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
+ },
+ "partOf": [
+ {
+ "reference": "Procedure/2e2e33a1-60f8-7e38-c827-fe070237c3fb"
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Procedure/c06db9c2-d07b-bac2-53c2-48ed83dd32b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3bb64820-2a2b-956c-9f45-125ec102f353",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3bb64820-2a2b-956c-9f45-125ec102f353",
+ "name": "TestOrg",
+ "identifier": [
+ {
+ "value": "Org12",
+ "type": {
+ "coding": [
+ {
+ "code": "EI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "contact": [
+ {
+ "name": {
+ "family": "Green",
+ "given": [
+ "John",
+ "A"
+ ],
+ "suffix": [
+ "II",
+ "MD"
+ ],
+ "prefix": [
+ "DR"
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ "telecom": [
+ {
+ "value": "898989898",
+ "system": "fax"
+ },
+ {
+ "value": "88888888",
+ "system": "phone"
+ }
+ ],
+ "address": {
+ "line": [
+ "Street1",
+ "Palkstreet"
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/3bb64820-2a2b-956c-9f45-125ec102f353"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:abdee378-0d3b-337f-a31e-83e002ce92a0",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "abdee378-0d3b-337f-a31e-83e002ce92a0",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "12345567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/e76154d7-9084-80e4-6274-c929d7c39880"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "I-123",
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Bank Account Number"
+ }
+ ]
+ }
+ },
+ {
+ "value": "I-222",
+ "type": {
+ "coding": [
+ {
+ "code": "DI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Diner’s Club card"
+ }
+ ]
+ }
+ },
+ {
+ "value": "Security no-23",
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Emergency Contact",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0131",
+ "version": "9.0"
+ },
+ {
+ "code": "CHILD",
+ "display": "child",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
+ "version": "10.0"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "O",
+ "display": "Other",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0131"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-08-18",
+ "end": "2021-12-18"
+ },
+ "address": [
+ {
+ "line": [
+ "2222",
+ "HOME",
+ "STREET",
+ "Highway"
+ ],
+ "city": "GREENSBORO",
+ "state": "NC",
+ "postalCode": "27401-1020",
+ "country": "US",
+ "use": "billing",
+ "district": "test",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2005-01-11"
+ }
+ },
+ {
+ "line": [
+ "111",
+ "Duck ST"
+ ],
+ "city": "Fowl"
+ },
+ {
+ "line": [
+ "Street1",
+ "Palkstreet"
+ ]
+ },
+ {
+ "line": [
+ "ST-2"
+ ]
+ }
+ ],
+ "telecom": [
+ {
+ "value": "5555",
+ "use": "work",
+ "system": "email",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18
+ },
+ {
+ "value": "121111",
+ "use": "home",
+ "system": "phone"
+ },
+ {
+ "value": "878777",
+ "use": "home",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18
+ },
+ {
+ "value": "6666666",
+ "system": "pager",
+ "use": "work"
+ },
+ {
+ "value": "898989898",
+ "system": "fax"
+ },
+ {
+ "value": "88888888",
+ "system": "phone"
+ },
+ {
+ "value": "777",
+ "use": "work",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 1
+ },
+ {
+ "value": "444444",
+ "system": "phone"
+ }
+ ],
+ "name": [
+ {
+ "family": "Evan",
+ "given": [
+ "ADAM",
+ "A"
+ ],
+ "suffix": [
+ "III",
+ "MD"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual"
+ },
+ {
+ "family": "Green",
+ "given": [
+ "John",
+ "A"
+ ],
+ "suffix": [
+ "II",
+ "MD"
+ ],
+ "prefix": [
+ "DR"
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official"
+ }
+ ],
+ "gender": "female",
+ "birthDate": "1962-01-10",
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47"
+ }
+ ]
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White"
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/abdee378-0d3b-337f-a31e-83e002ce92a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e76154d7-9084-80e4-6274-c929d7c39880",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e76154d7-9084-80e4-6274-c929d7c39880",
+ "identifier": [
+ {
+ "value": "T1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T1"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/e76154d7-9084-80e4-6274-c929d7c39880"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "urn:oid:1.12",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "identifier": [
+ {
+ "value": "PERSt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "identifier": [
+ {
+ "value": "1134",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Aly",
+ "given": [
+ "Zafar",
+ "Mahendra"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "identifier": [
+ {
+ "value": "2234"
+ }
+ ],
+ "name": [
+ {
+ "family": "Pauly",
+ "given": [
+ "Berrie",
+ "Raud"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "resource": {
+ "resourceType": "Device",
+ "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "identifier": [
+ {
+ "value": "EI12.3",
+ "system": "urn:uuid:UI2",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ },
+ {
+ "system": "urn:oid:UI1",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "identifier": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "MD-25"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "LabMedicalDirector",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ },
+ "organization": {
+ "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25",
+ "name": "FairOaks Hspital",
+ "address": [
+ {
+ "line": [
+ "Research Park",
+ "Fairfax"
+ ],
+ "city": "VA",
+ "state": "22031",
+ "postalCode": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "identifier": [
+ {
+ "value": "EI21",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII"
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "FILL"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "unknown",
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "component": [
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 60,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ]
+ },
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 120,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ]
+ }
+ ],
+ "effectiveDateTime": "1999-07-02",
+ "method": {
+ "coding": [
+ {
+ "code": "OBS",
+ "display": "This is test method",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4"
+ }
+ ]
+ },
+ "device": {
+ "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BU",
+ "display": "Observation site",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5"
+ }
+ ]
+ },
+ "performer": [
+ {
+ "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ },
+ {
+ "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ },
+ {
+ "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "A",
+ "display": "Abnormal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "B",
+ "display": "Better",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "S",
+ "display": "Partial",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Partial"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28",
+ "resource": {
+ "resourceType": "AllergyIntolerance",
+ "id": "a0adcda8-0b28-d089-1955-c04308d5fe28",
+ "category": [
+ "environment"
+ ],
+ "type": "allergy",
+ "code": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "PENICILLIN",
+ "system": "http://terminology.hl7.org/CodeSystem/icd-o"
+ }
+ ]
+ },
+ "reaction": [
+ {
+ "manifestation": [
+ {
+ "text": "CODE16"
+ }
+ ],
+ "onset": "2021-08-24"
+ }
+ ],
+ "criticality": "low",
+ "clinicalStatus": {
+ "coding": [
+ {
+ "code": "active",
+ "display": "Active",
+ "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"
+ }
+ ]
+ },
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51",
+ "identifier": [
+ {
+ "value": "005454"
+ }
+ ],
+ "name": [
+ {
+ "family": "DIAG",
+ "given": [
+ "ROBIN",
+ "B"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:481123a1-ca9c-c3c8-0284-e6926c3a50d8",
+ "resource": {
+ "resourceType": "Condition",
+ "id": "481123a1-ca9c-c3c8-0284-e6926c3a50d8",
+ "code": {
+ "coding": [
+ {
+ "code": "422504002",
+ "display": "Ischemic stroke(disorder)",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Stroke"
+ },
+ "onsetDateTime": "2004-01-25T12:50:25+05:30",
+ "identifier": [
+ {
+ "value": "DI20",
+ "system": "urn:oid:DTUI",
+ "type": {
+ "coding": [
+ {
+ "code": "CLIP",
+ "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "asserter": {
+ "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51"
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate",
+ "valueDateTime": "2020-05-01T16:45:15+05:30"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo",
+ "valueReference": {
+ "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Condition/481123a1-ca9c-c3c8-0284-e6926c3a50d8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22",
+ "resource": {
+ "resourceType": "Condition",
+ "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22",
+ "identifier": [
+ {
+ "system": "urn:oid:UI",
+ "type": {
+ "coding": [
+ {
+ "code": "CLIP",
+ "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c073f2c1-a818-924b-8881-1481ac88d691",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c073f2c1-a818-924b-8881-1481ac88d691",
+ "name": "AuthProvider",
+ "identifier": [
+ {
+ "value": "A",
+ "type": {
+ "coding": [
+ {
+ "code": "LR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c073f2c1-a818-924b-8881-1481ac88d691"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e0ba3d6b-452f-7c22-a79d-1035e4b33ceb",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "e0ba3d6b-452f-7c22-a79d-1035e4b33ceb",
+ "identifier": [
+ {
+ "value": "114",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-2.3",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Beverly",
+ "given": [
+ "Crusher",
+ "An"
+ ],
+ "suffix": [
+ "Mr",
+ "AHP",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:739ae409-c591-1a59-32ad-d2ef1b937b0f",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "739ae409-c591-1a59-32ad-d2ef1b937b0f",
+ "status": "on-hold",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "123-1",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-name"
+ },
+ {
+ "value": "123-2",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-Testname"
+ }
+ ],
+ "authoredOn": "1990-05-01T12:16:00+05:30",
+ "performer": [
+ {
+ "reference": "Organization/c073f2c1-a818-924b-8881-1481ac88d691"
+ },
+ {
+ "reference": "Practitioner/e0ba3d6b-452f-7c22-a79d-1035e4b33ceb"
+ }
+ ],
+ "performerType": {
+ "coding": [
+ {
+ "code": "EXTERNAL"
+ }
+ ]
+ },
+ "note": [
+ {
+ "text": "Check for metastatic disease"
+ }
+ ],
+ "priority": "asap",
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "R-1",
+ "display": "Reason",
+ "system": "http://www.ama-assn.org/go/cpt"
+ }
+ ],
+ "text": "Patient has a spinal fracture"
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/739ae409-c591-1a59-32ad-d2ef1b937b0f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4",
+ "resource": {
+ "resourceType": "Coverage",
+ "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4",
+ "class": [
+ {
+ "value": "BAV",
+ "name": "Blue Advantage HMO",
+ "type": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
+ "code": "plan",
+ "display": "Plan"
+ }
+ ]
+ }
+ },
+ {
+ "value": "PUBSUMB",
+ "name": "SelfPay",
+ "type": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
+ "code": "group",
+ "display": "Group"
+ }
+ ]
+ }
+ }
+ ],
+ "network": "Blue Advantage HMO",
+ "period": {
+ "start": "1989-10-01",
+ "end": "2050-10-01"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "HMO",
+ "display": "health maintenance organization policy",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "PN-145",
+ "type": {
+ "coding": [
+ {
+ "code": "PLN",
+ "display": "Policy Number",
+ "system": "http://example.com/CodeSystem/additional-identifier"
+ }
+ ]
+ },
+ "system": "http://www.examplehealthplan.com/fhir/policyidentifier"
+ },
+ {
+ "value": "Medicare-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MC",
+ "display": "Patient's Medicare number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-medicare"
+ },
+ {
+ "value": "MCN-008",
+ "type": {
+ "coding": [
+ {
+ "code": "MA",
+ "display": "Patient Medicaid number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/identifier-medicaid"
+ },
+ {
+ "value": "PNM1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "costToBeneficiary": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "DC",
+ "display": "direct unit cost",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0205"
+ }
+ ]
+ },
+ "valueMoney": {
+ "value": 150,
+ "currency": "USD"
+ }
+ }
+ ],
+ "subscriberId": "HMO-12345",
+ "status": "active",
+ "beneficiary": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "payor": [
+ {
+ "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889"
+ }
+ ],
+ "policyHolder": {
+ "reference": "Organization/4829e288-ac03-22cc-c65e-922004275fd0"
+ },
+ "subscriber": {
+ "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777"
+ },
+ "relationship": {
+ "coding": [
+ {
+ "code": "spouse",
+ "display": "Spouse",
+ "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "04a2a5f2-c971-1e42-e788-250ea487a889",
+ "address": [
+ {
+ "line": [
+ "1979 MILKY WAY"
+ ],
+ "city": "VERONA",
+ "state": "WI",
+ "postalCode": "53593",
+ "country": "US"
+ }
+ ],
+ "contact": [
+ {
+ "name": {
+ "family": "Henry",
+ "given": [
+ "Rony",
+ "A"
+ ],
+ "suffix": [
+ "III",
+ "MD"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1925-10-12"
+ }
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(555)555-5555",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "IC-1.31",
+ "type": {
+ "coding": [
+ {
+ "code": "NIIP",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "National Insurance Payor Identifier (Payor)"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.1",
+ "period": {
+ "start": "1929-10-11",
+ "end": "1929-10-12"
+ }
+ }
+ ],
+ "name": "Blue Cross Blue Shield of Texas"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4829e288-ac03-22cc-c65e-922004275fd0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4829e288-ac03-22cc-c65e-922004275fd0",
+ "address": [
+ {
+ "line": [
+ "2000 MILKY WAY"
+ ],
+ "city": "VERONA",
+ "state": "WI",
+ "postalCode": "53593",
+ "country": "US"
+ }
+ ],
+ "name": "Sam P. Hil",
+ "contact": [
+ {
+ "name": {
+ "family": "Richard",
+ "given": [
+ "Paul"
+ ]
+ },
+ "telecom": [
+ {
+ "value": "254622222",
+ "system": "phone"
+ }
+ ]
+ }
+ ],
+ "telecom": [
+ {
+ "value": "555777888",
+ "system": "fax"
+ },
+ {
+ "system": "phone"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4829e288-ac03-22cc-c65e-922004275fd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777",
+ "identifier": [
+ {
+ "value": "HMO-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "NI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "National unique individual identifier"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.3"
+ },
+ {
+ "value": "1117",
+ "type": {
+ "coding": [
+ {
+ "code": "EI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Employee number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.4"
+ },
+ {
+ "value": "1118",
+ "type": {
+ "coding": [
+ {
+ "code": "BC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Bank Card Number"
+ }
+ ]
+ }
+ },
+ {
+ "value": "425-57-9745",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "display": "Social Security number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "SPS",
+ "display": "spouse",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "address": [
+ {
+ "line": [
+ "3857 Velvet Treasure Terrace"
+ ],
+ "city": "Midnight",
+ "state": "NC",
+ "postalCode": "27878",
+ "country": "US"
+ }
+ ],
+ "name": [
+ {
+ "family": "Doe",
+ "given": [
+ "Rosallie",
+ "John"
+ ],
+ "suffix": [
+ "III",
+ "Bachelors"
+ ],
+ "prefix": [
+ "Mrs."
+ ],
+ "use": "official"
+ }
+ ],
+ "gender": "female",
+ "birthDate": "1975-02-28",
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "telecom": [
+ {
+ "value": "0005245",
+ "use": "work",
+ "system": "email"
+ },
+ {
+ "system": "phone"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47"
+ }
+ ]
+ },
+ "preferred": true
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1fca4c8f-7562-b755-9a05-5f0f49096e5b",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "1fca4c8f-7562-b755-9a05-5f0f49096e5b",
+ "identifier": [
+ {
+ "value": "PM",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PM"
+ },
+ {
+ "value": "2.6.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/1fca4c8f-7562-b755-9a05-5f0f49096e5b"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json
similarity index 93%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-expected-2.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json
index 6461ef5d6..f24bef22f 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-expected-2.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-02-expected.json
@@ -58,13 +58,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:34:25.014Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.
"
+ "div": "Resource bundle generated on 2021-10-29T11:13:16.987Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -106,7 +106,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1155,6 +1155,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1179,6 +1180,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1203,6 +1205,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1224,6 +1227,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1248,6 +1252,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1272,6 +1277,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1293,6 +1299,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1317,6 +1324,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1341,6 +1349,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1362,6 +1371,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1409,6 +1419,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1433,6 +1444,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1457,6 +1469,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1478,6 +1491,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1499,6 +1513,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1520,6 +1535,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1569,7 +1585,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "active",
"identifier": [
{
"value": "EOC124",
@@ -1607,44 +1623,14 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "in-progress",
"location": [
{
- "status": "planned",
+ "status": "active",
"location": {
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1657,42 +1643,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -1705,42 +1655,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -1752,18 +1666,6 @@
"valueBoolean": true
}
]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
}
],
"type": [
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json
index d7045b8b2..c8a95a9a4 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-23-expected.json
@@ -46,13 +46,13 @@
}
},
{
- "fullUrl": "urn:uuid:fbc2f60d-f7f1-af9a-17ea-ff70b3f4d7ea",
+ "fullUrl": "urn:uuid:4e45fbdc-bab9-f433-dde6-a8adf26acf93",
"resource": {
"resourceType": "Provenance",
- "id": "fbc2f60d-f7f1-af9a-17ea-ff70b3f4d7ea",
+ "id": "4e45fbdc-bab9-f433-dde6-a8adf26acf93",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:39:33.152Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.
"
+ "div": "Resource bundle generated on 2021-10-29T11:19:18.321Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.
"
},
"occurredDateTime": "2005-01-10T04:55:04",
"recorded": "2005-01-10T04:55:04",
@@ -86,7 +86,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/fbc2f60d-f7f1-af9a-17ea-ff70b3f4d7ea"
+ "url": "Provenance/4e45fbdc-bab9-f433-dde6-a8adf26acf93"
}
},
{
@@ -452,6 +452,7 @@
"id": "eafc9bd8-6600-8232-f911-25b4ea83f641",
"name": "PREOP",
"mode": "instance",
+ "description": "PREOP--101--1--1--S",
"physicalType": {
"coding": [
{
@@ -476,6 +477,7 @@
},
"name": "101",
"mode": "instance",
+ "description": "PREOP--101--1--1--S",
"physicalType": {
"coding": [
{
@@ -500,6 +502,7 @@
},
"name": "1",
"mode": "instance",
+ "description": "PREOP--101--1--1--S",
"physicalType": {
"coding": [
{
@@ -528,6 +531,7 @@
},
"name": "S",
"mode": "instance",
+ "description": "PREOP--101--1--1--S",
"physicalType": {
"coding": [
{
@@ -559,30 +563,6 @@
"location": {
"reference": "Location/eafc9bd8-6600-8232-f911-25b4ea83f641"
}
- },
- {
- "status": "active",
- "location": {
- "reference": "Location/3ab35502-6cac-adb6-225e-1d28c3082bf5"
- }
- },
- {
- "status": "active",
- "location": {
- "reference": "Location/b2d5327c-354a-b91d-541d-c6b0fe91a841"
- }
- },
- {
- "status": "active",
- "location": {
- "reference": "Location/b2d5327c-354a-b91d-541d-c6b0fe91a841"
- }
- },
- {
- "status": "active",
- "location": {
- "reference": "Location/cb0cbfcd-bdcd-775d-ed89-65b953b8e1de"
- }
}
],
"type": [
@@ -837,9 +817,6 @@
]
},
"system": "http://www.examplehealthplan.com/fhir/policyidentifier"
- },
- {
- "value": "8291 "
}
],
"subscriberId": "8291 ",
@@ -1069,9 +1046,6 @@
]
},
"system": "http://www.examplehealthplan.com/fhir/policyidentifier"
- },
- {
- "value": "8291 "
}
],
"subscriberId": "8291 ",
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json
index d7294055c..94b45be45 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT01-28-expected.json
@@ -1,7 +1,7 @@
{
"resourceType": "Bundle",
"type": "batch",
- "timestamp": "1988-08-18T11:26:00",
+ "timestamp": "1988-10-18T11:26:00",
"identifier": {
"value": "MSG00001"
},
@@ -68,16 +68,16 @@
}
},
{
- "fullUrl": "urn:uuid:ae8c8e53-d120-6815-afb1-783160fb3e48",
+ "fullUrl": "urn:uuid:aaf37d11-5d66-af8d-c286-16b46b7f9ada",
"resource": {
"resourceType": "Provenance",
- "id": "ae8c8e53-d120-6815-afb1-783160fb3e48",
+ "id": "aaf37d11-5d66-af8d-c286-16b46b7f9ada",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:40:34.086Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.
"
+ "div": "Resource bundle generated on 2021-10-29T11:20:28.107Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.
"
},
- "occurredDateTime": "1988-08-18T11:26:00",
- "recorded": "1988-08-18T11:26:00",
+ "occurredDateTime": "1988-10-18T11:26:00",
+ "recorded": "1988-10-18T11:26:00",
"agent": [
{
"type": {
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/ae8c8e53-d120-6815-afb1-783160fb3e48"
+ "url": "Provenance/aaf37d11-5d66-af8d-c286-16b46b7f9ada"
}
},
{
@@ -262,7 +262,7 @@
"coding": [
{
"code": "NK",
- "display": "NK"
+ "display": "NEXT OF KIN"
}
]
}
@@ -339,6 +339,7 @@
"id": "55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2",
"name": "2000",
"mode": "instance",
+ "description": "2000--2012--01",
"physicalType": {
"coding": [
{
@@ -363,6 +364,7 @@
},
"name": "2012",
"mode": "instance",
+ "description": "2000--2012--01",
"physicalType": {
"coding": [
{
@@ -387,6 +389,7 @@
},
"name": "01",
"mode": "instance",
+ "description": "2000--2012--01",
"physicalType": {
"coding": [
{
@@ -418,18 +421,6 @@
"location": {
"reference": "Location/55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2"
}
- },
- {
- "status": "active",
- "location": {
- "reference": "Location/95fb96ed-bf64-1327-6204-e8e66a472eb6"
- }
- },
- {
- "status": "active",
- "location": {
- "reference": "Location/408220ee-3137-d895-e8a9-8937117bf0c1"
- }
}
],
"hospitalization": {
@@ -518,7 +509,7 @@
"coding": [
{
"code": "NK",
- "display": "NK"
+ "display": "NEXT OF KIN"
}
]
}
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json
similarity index 93%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json
index 1c8a51d08..1d5c92813 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-01-expected.json
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:44:55.028Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.
"
+ "div": "Resource bundle generated on 2021-10-29T11:26:30.302Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1363,6 +1363,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1387,6 +1388,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1411,6 +1413,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1432,6 +1435,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1456,6 +1460,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1480,6 +1485,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1501,6 +1507,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1525,6 +1532,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1549,6 +1557,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1570,6 +1579,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1617,6 +1627,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1641,6 +1652,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1665,6 +1677,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1686,6 +1699,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1707,6 +1721,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1728,6 +1743,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1755,6 +1771,7 @@
}
],
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1779,6 +1796,7 @@
},
"name": "BED1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1800,6 +1818,7 @@
"id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
"name": "FACILITY1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1824,6 +1843,7 @@
},
"name": "BUILDING1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1848,6 +1868,7 @@
},
"name": "FLOOR1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1897,7 +1918,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "active",
"identifier": [
{
"value": "EOC124",
@@ -1935,44 +1956,14 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "in-progress",
"location": [
{
- "status": "planned",
+ "status": "active",
"location": {
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1985,42 +1976,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2033,42 +1988,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -2081,18 +2000,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2104,54 +2011,6 @@
"valueBoolean": false
}
]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
}
],
"type": [
@@ -3003,6 +2862,9 @@
]
}
],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
"extension": [
{
"url": "http://example.com/v2-to-fhir-converter/Observation_Status",
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json
similarity index 93%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-expected-2.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json
index c6561eb8e..95a33a3f9 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-expected-2.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A02/ADT-A02-02-expected.json
@@ -58,13 +58,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:42:35.872Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.
"
+ "div": "Resource bundle generated on 2021-10-29T11:24:20.654Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A02.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -106,7 +106,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1155,6 +1155,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1179,6 +1180,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1203,6 +1205,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1224,6 +1227,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1248,6 +1252,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1272,6 +1277,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1293,6 +1299,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1317,6 +1324,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1341,6 +1349,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1362,6 +1371,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1409,6 +1419,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1433,6 +1444,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1457,6 +1469,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1478,6 +1491,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1499,6 +1513,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1520,6 +1535,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1569,7 +1585,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "active",
"identifier": [
{
"value": "EOC124",
@@ -1607,44 +1623,14 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "in-progress",
"location": [
{
- "status": "planned",
+ "status": "active",
"location": {
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1657,42 +1643,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -1705,42 +1655,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -1752,18 +1666,6 @@
"valueBoolean": true
}
]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
}
],
"type": [
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json
similarity index 95%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json
index 182a244ca..802736f13 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-01-expected.json
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:47:57.113Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.
"
+ "div": "Resource bundle generated on 2021-10-29T11:28:17.443Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1649,6 +1649,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1673,6 +1674,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1697,6 +1699,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1718,6 +1721,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1742,6 +1746,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1766,6 +1771,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1787,6 +1793,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1811,6 +1818,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1835,6 +1843,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1856,6 +1865,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1903,6 +1913,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1927,6 +1938,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1951,6 +1963,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1972,6 +1985,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1993,6 +2007,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2014,6 +2029,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2041,6 +2057,7 @@
}
],
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2065,6 +2082,7 @@
},
"name": "BED1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2086,6 +2104,7 @@
"id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
"name": "FACILITY1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2110,6 +2129,7 @@
},
"name": "BUILDING1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2134,6 +2154,7 @@
},
"name": "FLOOR1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2183,7 +2204,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "finished",
"identifier": [
{
"value": "EOC124",
@@ -2238,44 +2259,14 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "finished",
"location": [
{
- "status": "planned",
+ "status": "completed",
"location": {
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -2288,42 +2279,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2336,42 +2291,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -2384,18 +2303,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2407,54 +2314,6 @@
"valueBoolean": false
}
]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
}
],
"type": [
@@ -2673,7 +2532,8 @@
}
],
"period": {
- "start": "2015-02-08T15:54:19+05:30"
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
},
"reasonCode": [
{
@@ -3018,6 +2878,7 @@
"id": "a9c75502-d60a-d89b-5912-f046100cd47e",
"name": "OT",
"mode": "instance",
+ "description": "OT--201",
"physicalType": {
"coding": [
{
@@ -3032,6 +2893,31 @@
"url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
}
},
+ {
+ "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "partOf": {
+ "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
+ },
+ "name": "201",
+ "mode": "instance",
+ "description": "OT--201",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0"
+ }
+ },
{
"fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb",
"resource": {
@@ -3987,6 +3873,9 @@
]
}
],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
"extension": [
{
"url": "http://example.com/v2-to-fhir-converter/Observation_Status",
@@ -4356,19 +4245,6 @@
},
"system": "http://www.examplehealthplan.com/fhir/policyidentifier"
},
- {
- "value": "HMO-12345",
- "type": {
- "coding": [
- {
- "code": "NI",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "National unique individual identifier"
- }
- ]
- },
- "system": "urn:oid:2.16.840.1.113883.1.3"
- },
{
"value": "Medicare-12345",
"type": {
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json
similarity index 93%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-expected-2.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json
index 3f2b73bf2..a10e0bd8c 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-expected-2.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-02-expected.json
@@ -40,9 +40,9 @@
]
},
"eventCoding": {
- "code": "A04",
+ "code": "A03",
"system": "http://terminology.hl7.org/CodeSystem/v2-0003",
- "display": "ADT^A04^ADT_A04"
+ "display": "ADT^A03^ADT_A03"
},
"language": "en-US",
"sender": {
@@ -58,13 +58,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:48:40.101Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.
"
+ "div": "Resource bundle generated on 2021-10-29T11:27:35.836Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -86,7 +86,7 @@
"activity": {
"coding": [
{
- "display": "ADT^A04^ADT_A04"
+ "display": "ADT^A03^ADT_A03"
}
]
},
@@ -106,7 +106,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1155,6 +1155,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1179,6 +1180,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1203,6 +1205,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1224,6 +1227,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1248,6 +1252,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1272,6 +1277,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1293,6 +1299,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1317,6 +1324,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1341,6 +1349,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1362,6 +1371,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1409,6 +1419,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1433,6 +1444,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1457,6 +1469,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1478,6 +1491,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1499,6 +1513,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1520,6 +1535,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1569,7 +1585,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "finished",
"identifier": [
{
"value": "EOC124",
@@ -1607,44 +1623,14 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "finished",
"location": [
{
- "status": "planned",
+ "status": "completed",
"location": {
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1657,42 +1643,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -1705,42 +1655,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -1752,18 +1666,6 @@
"valueBoolean": true
}
]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
}
],
"type": [
@@ -1966,7 +1868,8 @@
}
],
"period": {
- "start": "2015-02-08T15:54:19+05:30"
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
},
"text": {
"status": "generated",
@@ -2007,7 +1910,7 @@
}
],
"activity": {
- "text": "ADT^A04^ADT_A04"
+ "text": "ADT^A03^ADT_A03"
},
"location": {
"reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json
similarity index 95%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json
index ea8a4e526..13f82adb5 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-01-expected.json
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:50:12.142Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.
"
+ "div": "Resource bundle generated on 2021-10-29T11:30:18.389Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1649,6 +1649,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1673,6 +1674,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1697,6 +1699,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1718,6 +1721,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1742,6 +1746,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1766,6 +1771,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1787,6 +1793,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1811,6 +1818,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1835,6 +1843,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1856,6 +1865,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1903,6 +1913,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1927,6 +1938,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1951,6 +1963,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1972,6 +1985,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1993,6 +2007,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2014,6 +2029,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2041,6 +2057,7 @@
}
],
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2065,6 +2082,7 @@
},
"name": "BED1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2086,6 +2104,7 @@
"id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
"name": "FACILITY1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2110,6 +2129,7 @@
},
"name": "BUILDING1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2134,6 +2154,7 @@
},
"name": "FLOOR1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2183,7 +2204,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "active",
"identifier": [
{
"value": "EOC124",
@@ -2238,44 +2259,14 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "in-progress",
"location": [
{
- "status": "planned",
+ "status": "active",
"location": {
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -2288,42 +2279,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2336,42 +2291,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -2384,18 +2303,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2407,54 +2314,6 @@
"valueBoolean": false
}
]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
}
],
"type": [
@@ -2673,7 +2532,8 @@
}
],
"period": {
- "start": "2015-02-08T15:54:19+05:30"
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
},
"reasonCode": [
{
@@ -3018,6 +2878,7 @@
"id": "a9c75502-d60a-d89b-5912-f046100cd47e",
"name": "OT",
"mode": "instance",
+ "description": "OT--201",
"physicalType": {
"coding": [
{
@@ -3032,6 +2893,31 @@
"url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
}
},
+ {
+ "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "partOf": {
+ "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
+ },
+ "name": "201",
+ "mode": "instance",
+ "description": "OT--201",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0"
+ }
+ },
{
"fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb",
"resource": {
@@ -3987,6 +3873,9 @@
]
}
],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
"extension": [
{
"url": "http://example.com/v2-to-fhir-converter/Observation_Status",
@@ -4356,19 +4245,6 @@
},
"system": "http://www.examplehealthplan.com/fhir/policyidentifier"
},
- {
- "value": "HMO-12345",
- "type": {
- "coding": [
- {
- "code": "NI",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "National unique individual identifier"
- }
- ]
- },
- "system": "urn:oid:2.16.840.1.113883.1.3"
- },
{
"value": "Medicare-12345",
"type": {
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json
new file mode 100644
index 000000000..95a539321
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT-A04-02-expected.json
@@ -0,0 +1,2312 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A04",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A04^ADT_A04"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T11:29:35.836Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A04^ADT_A04"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "84634858-74aa-5cdb-4547-60ec27339ac6",
+ "name": "POC",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "partOf": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "name": "Room-2",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "35353f20-6254-e794-98ed-8007490447e3",
+ "partOf": {
+ "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ },
+ "name": "Bed-103",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/35353f20-6254-e794-98ed-8007490447e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55",
+ "resource": {
+ "resourceType": "Location",
+ "id": "055e10f1-222e-df73-2325-0e4396db1a55",
+ "name": "Greenland",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "active",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "period": {
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A04^ADT_A04"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json
index f8747cfea..0e04e628b 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-23-expected.json
@@ -62,13 +62,13 @@
}
},
{
- "fullUrl": "urn:uuid:2f736e70-b192-155c-b224-66a1c8102fac",
+ "fullUrl": "urn:uuid:b8bf5f81-bc6a-5fda-5fb2-fd273ac267a8",
"resource": {
"resourceType": "Provenance",
- "id": "2f736e70-b192-155c-b224-66a1c8102fac",
+ "id": "b8bf5f81-bc6a-5fda-5fb2-fd273ac267a8",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:50:51.504Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.
"
+ "div": "Resource bundle generated on 2021-10-29T11:30:59.573Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.
"
},
"occurredDateTime": "2001-01-01T00:00:00",
"recorded": "2001-01-01T00:00:00",
@@ -102,7 +102,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/2f736e70-b192-155c-b224-66a1c8102fac"
+ "url": "Provenance/b8bf5f81-bc6a-5fda-5fb2-fd273ac267a8"
}
},
{
@@ -386,6 +386,7 @@
"id": "a0f6171b-0f81-c7fd-61da-2c2db32aafc9",
"name": "ABCD",
"mode": "instance",
+ "description": "ABCD--EFGH",
"physicalType": {
"coding": [
{
@@ -410,6 +411,7 @@
},
"name": "EFGH",
"mode": "instance",
+ "description": "ABCD--EFGH",
"physicalType": {
"coding": [
{
@@ -441,9 +443,6 @@
"location": {
"reference": "Location/a0f6171b-0f81-c7fd-61da-2c2db32aafc9"
}
- },
- {
- "status": "active"
}
],
"participant": [
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json
index 12d5c751f..a46beccac 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-251-expected.json
@@ -46,13 +46,13 @@
}
},
{
- "fullUrl": "urn:uuid:2f44b60d-43f6-3deb-3f3d-3a1041aa219c",
+ "fullUrl": "urn:uuid:73105c01-0c83-840e-6dbb-9ef4928175f8",
"resource": {
"resourceType": "Provenance",
- "id": "2f44b60d-43f6-3deb-3f3d-3a1041aa219c",
+ "id": "73105c01-0c83-840e-6dbb-9ef4928175f8",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:52:28.121Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.
"
+ "div": "Resource bundle generated on 2021-10-29T11:32:25.221Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.
"
},
"occurredDateTime": "2019-05-04T18:12:05",
"recorded": "2019-05-04T18:12:05",
@@ -86,7 +86,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/2f44b60d-43f6-3deb-3f3d-3a1041aa219c"
+ "url": "Provenance/73105c01-0c83-840e-6dbb-9ef4928175f8"
}
},
{
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json
index 778f6a010..c7f4ea65d 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A04/ADT04-28-expected.json
@@ -46,13 +46,13 @@
}
},
{
- "fullUrl": "urn:uuid:2c3f6df7-9434-e16e-8340-f505268b140b",
+ "fullUrl": "urn:uuid:312fba25-b9c6-151e-8c0c-45a36f66ed03",
"resource": {
"resourceType": "Provenance",
- "id": "2c3f6df7-9434-e16e-8340-f505268b140b",
+ "id": "312fba25-b9c6-151e-8c0c-45a36f66ed03",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:51:46.188Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.
"
+ "div": "Resource bundle generated on 2021-10-29T11:31:38.533Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A04.
"
},
"occurredDateTime": "2019-05-04T18:12:05",
"recorded": "2019-05-04T18:12:05",
@@ -86,7 +86,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/2c3f6df7-9434-e16e-8340-f505268b140b"
+ "url": "Provenance/312fba25-b9c6-151e-8c0c-45a36f66ed03"
}
},
{
@@ -346,6 +346,7 @@
"id": "1d17bd3e-c217-b488-dd0a-b87c0652a3f1",
"name": "3N",
"mode": "instance",
+ "description": "3N--136--B--RES General Hospital--Inpatient",
"physicalType": {
"coding": [
{
@@ -370,6 +371,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "3N--136--B--RES General Hospital--Inpatient",
"physicalType": {
"coding": [
{
@@ -394,6 +396,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "3N--136--B--RES General Hospital--Inpatient",
"physicalType": {
"coding": [
{
@@ -415,6 +418,7 @@
"id": "9e9deb57-14b7-3c6a-e9da-3874ac02bb5f",
"name": "RES General Hospital",
"mode": "instance",
+ "description": "3N--136--B--RES General Hospital--Inpatient",
"physicalType": {
"coding": [
{
@@ -446,24 +450,6 @@
"location": {
"reference": "Location/1d17bd3e-c217-b488-dd0a-b87c0652a3f1"
}
- },
- {
- "status": "active",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- }
- },
- {
- "status": "active",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- }
- },
- {
- "status": "active",
- "location": {
- "reference": "Location/9e9deb57-14b7-3c6a-e9da-3874ac02bb5f"
- }
}
],
"participant": [
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json
similarity index 95%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json
index f1da6eb9b..0ad6fc2ea 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-01-expected.json
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:00:57.179Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.
"
+ "div": "Resource bundle generated on 2021-10-29T11:33:56.296Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1649,6 +1649,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1673,6 +1674,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1697,6 +1699,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1718,6 +1721,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1742,6 +1746,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1766,6 +1771,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1787,6 +1793,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1811,6 +1818,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1835,6 +1843,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1856,6 +1865,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1903,6 +1913,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1927,6 +1938,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1951,6 +1963,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1972,6 +1985,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1993,6 +2007,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2014,6 +2029,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2041,6 +2057,7 @@
}
],
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2065,6 +2082,7 @@
},
"name": "BED1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2086,6 +2104,7 @@
"id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
"name": "FACILITY1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2110,6 +2129,7 @@
},
"name": "BUILDING1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2134,6 +2154,7 @@
},
"name": "FLOOR1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2246,36 +2267,6 @@
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -2288,42 +2279,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2336,42 +2291,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -2384,18 +2303,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2407,54 +2314,6 @@
"valueBoolean": false
}
]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
}
],
"type": [
@@ -2673,7 +2532,8 @@
}
],
"period": {
- "start": "2015-02-08T15:54:19+05:30"
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
},
"reasonCode": [
{
@@ -3018,6 +2878,7 @@
"id": "a9c75502-d60a-d89b-5912-f046100cd47e",
"name": "OT",
"mode": "instance",
+ "description": "OT--201",
"physicalType": {
"coding": [
{
@@ -3032,6 +2893,31 @@
"url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
}
},
+ {
+ "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "partOf": {
+ "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
+ },
+ "name": "201",
+ "mode": "instance",
+ "description": "OT--201",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0"
+ }
+ },
{
"fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb",
"resource": {
@@ -3987,6 +3873,9 @@
]
}
],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
"extension": [
{
"url": "http://example.com/v2-to-fhir-converter/Observation_Status",
@@ -4356,19 +4245,6 @@
},
"system": "http://www.examplehealthplan.com/fhir/policyidentifier"
},
- {
- "value": "HMO-12345",
- "type": {
- "coding": [
- {
- "code": "NI",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "National unique individual identifier"
- }
- ]
- },
- "system": "urn:oid:2.16.840.1.113883.1.3"
- },
{
"value": "Medicare-12345",
"type": {
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json
new file mode 100644
index 000000000..4925f7dcf
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-02-expected.json
@@ -0,0 +1,2312 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A05",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A05^ADT_A05"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T11:33:19.244Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A05^ADT_A05"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "84634858-74aa-5cdb-4547-60ec27339ac6",
+ "name": "POC",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "partOf": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "name": "Room-2",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "35353f20-6254-e794-98ed-8007490447e3",
+ "partOf": {
+ "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ },
+ "name": "Bed-103",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/35353f20-6254-e794-98ed-8007490447e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55",
+ "resource": {
+ "resourceType": "Location",
+ "id": "055e10f1-222e-df73-2325-0e4396db1a55",
+ "name": "Greenland",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "planned",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "planned",
+ "location": [
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "period": {
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A05^ADT_A05"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json
similarity index 95%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json
index 0e5ab8b05..5b184c455 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-01-expected.json
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:17:21.058Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.
"
+ "div": "Resource bundle generated on 2021-10-29T11:36:54.894Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1649,6 +1649,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1673,6 +1674,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1697,6 +1699,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1718,6 +1721,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1742,6 +1746,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1766,6 +1771,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1787,6 +1793,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1811,6 +1818,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1835,6 +1843,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1856,6 +1865,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1903,6 +1913,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1927,6 +1938,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1951,6 +1963,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1972,6 +1985,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1993,6 +2007,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2014,6 +2029,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2041,6 +2057,7 @@
}
],
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2065,6 +2082,7 @@
},
"name": "BED1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2086,6 +2104,7 @@
"id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
"name": "FACILITY1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2110,6 +2129,7 @@
},
"name": "BUILDING1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2134,6 +2154,7 @@
},
"name": "FLOOR1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2183,7 +2204,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "finished",
"identifier": [
{
"value": "EOC124",
@@ -2238,7 +2259,7 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "finished",
"location": [
{
"status": "planned",
@@ -2246,36 +2267,6 @@
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -2288,42 +2279,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2336,42 +2291,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -2384,18 +2303,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2407,54 +2314,6 @@
"valueBoolean": false
}
]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
}
],
"type": [
@@ -2673,7 +2532,8 @@
}
],
"period": {
- "start": "2015-02-08T15:54:19+05:30"
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
},
"reasonCode": [
{
@@ -3018,6 +2878,7 @@
"id": "a9c75502-d60a-d89b-5912-f046100cd47e",
"name": "OT",
"mode": "instance",
+ "description": "OT--201",
"physicalType": {
"coding": [
{
@@ -3032,6 +2893,31 @@
"url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
}
},
+ {
+ "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "partOf": {
+ "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
+ },
+ "name": "201",
+ "mode": "instance",
+ "description": "OT--201",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0"
+ }
+ },
{
"fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb",
"resource": {
@@ -3987,6 +3873,9 @@
]
}
],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
"extension": [
{
"url": "http://example.com/v2-to-fhir-converter/Observation_Status",
@@ -4356,19 +4245,6 @@
},
"system": "http://www.examplehealthplan.com/fhir/policyidentifier"
},
- {
- "value": "HMO-12345",
- "type": {
- "coding": [
- {
- "code": "NI",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "National unique individual identifier"
- }
- ]
- },
- "system": "urn:oid:2.16.840.1.113883.1.3"
- },
{
"value": "Medicare-12345",
"type": {
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json
similarity index 93%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-expected-2.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json
index 77526fb11..0c69fe14e 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-expected-2.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A08/ADT-A08-02-expected.json
@@ -58,13 +58,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:01:37.828Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.
"
+ "div": "Resource bundle generated on 2021-10-29T11:35:16.349Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A08.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -106,7 +106,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1155,6 +1155,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1179,6 +1180,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1203,6 +1205,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1224,6 +1227,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1248,6 +1252,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1272,6 +1277,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1293,6 +1299,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1317,6 +1324,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1341,6 +1349,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1362,6 +1371,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1409,6 +1419,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1433,6 +1444,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1457,6 +1469,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1478,6 +1491,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1499,6 +1513,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1520,6 +1535,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1615,36 +1631,6 @@
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1657,42 +1643,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -1705,42 +1655,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -1752,18 +1666,6 @@
"valueBoolean": true
}
]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
}
],
"type": [
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json
new file mode 100644
index 000000000..00efa420c
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-01-expected.json
@@ -0,0 +1,2886 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20",
+ "version": "2.4.3.52854",
+ "software": "Rhapsody"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A11",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A11^ADT_A11"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T11:39:19.01Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A11^ADT_A11"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "resource": {
+ "resourceType": "Device",
+ "id": "4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "manufacturer": "Orion",
+ "deviceName": [
+ {
+ "name": "Rhapsody",
+ "type": "manufacturer-name"
+ }
+ ],
+ "version": [
+ {
+ "value": "2.4.3.52854"
+ }
+ ],
+ "modelNumber": "2.4.3",
+ "note": [
+ {
+ "text": "Testactivity"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ },
+ {
+ "value": "DB123",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:1.12",
+ "assigner": {
+ "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "generalPractitioner": [
+ {
+ "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11"
+ },
+ {
+ "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d"
+ }
+ ],
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation",
+ "valueString": "Methodist Church"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator",
+ "valueBoolean": true
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod",
+ "valuePeriod": {
+ "start": "2021-08-30",
+ "end": "2021-09-30"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11",
+ "name": "LINDAS TEST ORGANIZATION",
+ "identifier": [
+ {
+ "value": "SIISCLIENT818"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d",
+ "identifier": [
+ {
+ "value": "88",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE",
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippo",
+ "given": [
+ "rold",
+ "H"
+ ],
+ "suffix": [
+ "V",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "84634858-74aa-5cdb-4547-60ec27339ac6",
+ "name": "POC",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "partOf": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "name": "Room-2",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "35353f20-6254-e794-98ed-8007490447e3",
+ "partOf": {
+ "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ },
+ "name": "Bed-103",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/35353f20-6254-e794-98ed-8007490447e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55",
+ "resource": {
+ "resourceType": "Location",
+ "id": "055e10f1-222e-df73-2325-0e4396db1a55",
+ "name": "Greenland",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "cancelled",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "cancelled",
+ "location": [
+ {
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "location": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ },
+ {
+ "location": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "period": {
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A11^ADT_A11"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "identifier": [
+ {
+ "value": "PERSt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "identifier": [
+ {
+ "value": "1134",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Aly",
+ "given": [
+ "Zafar",
+ "Mahendra"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "identifier": [
+ {
+ "value": "2234"
+ }
+ ],
+ "name": [
+ {
+ "family": "Pauly",
+ "given": [
+ "Berrie",
+ "Raud"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "resource": {
+ "resourceType": "Device",
+ "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "identifier": [
+ {
+ "value": "EI12.3",
+ "system": "urn:uuid:UI2",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ },
+ {
+ "system": "urn:oid:UI1",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "identifier": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "MD-25"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "LabMedicalDirector",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ },
+ "organization": {
+ "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25",
+ "name": "FairOaks Hspital",
+ "address": [
+ {
+ "line": [
+ "Research Park",
+ "Fairfax"
+ ],
+ "city": "VA",
+ "state": "22031",
+ "postalCode": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "identifier": [
+ {
+ "value": "EI21",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII"
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "FILL"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "unknown",
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "component": [
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 60,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ]
+ },
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 120,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ]
+ }
+ ],
+ "effectiveDateTime": "1999-07-02",
+ "method": {
+ "coding": [
+ {
+ "code": "OBS",
+ "display": "This is test method",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4"
+ }
+ ]
+ },
+ "device": {
+ "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BU",
+ "display": "Observation site",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5"
+ }
+ ]
+ },
+ "performer": [
+ {
+ "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ },
+ {
+ "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ },
+ {
+ "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "A",
+ "display": "Abnormal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "B",
+ "display": "Better",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "S",
+ "display": "Partial",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Partial"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "urn:oid:1.12",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json
new file mode 100644
index 000000000..05198fcb5
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A11/ADT-A11-02-expected.json
@@ -0,0 +1,2307 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A11",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A11^ADT_A11"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T11:38:42.01Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A11.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A11^ADT_A11"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "84634858-74aa-5cdb-4547-60ec27339ac6",
+ "name": "POC",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "partOf": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "name": "Room-2",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "35353f20-6254-e794-98ed-8007490447e3",
+ "partOf": {
+ "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ },
+ "name": "Bed-103",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/35353f20-6254-e794-98ed-8007490447e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55",
+ "resource": {
+ "resourceType": "Location",
+ "id": "055e10f1-222e-df73-2325-0e4396db1a55",
+ "name": "Greenland",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "cancelled",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "cancelled",
+ "location": [
+ {
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "location": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ },
+ {
+ "location": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "period": {
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A11^ADT_A11"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json
similarity index 95%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json
index 4045aa673..8b7844d5f 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A01/ADT-A01-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-01-expected.json
@@ -42,9 +42,9 @@
]
},
"eventCoding": {
- "code": "A01",
+ "code": "A13",
"system": "http://terminology.hl7.org/CodeSystem/v2-0003",
- "display": "ADT^A01^ADT_A01"
+ "display": "ADT^A13^ADT_A13"
},
"language": "en-US",
"sender": {
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:37:12.345Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A01.
"
+ "div": "Resource bundle generated on 2021-10-29T11:42:14.552Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -88,7 +88,7 @@
"activity": {
"coding": [
{
- "display": "ADT^A01^ADT_A01"
+ "display": "ADT^A13^ADT_A13"
}
]
},
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1649,6 +1649,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1673,6 +1674,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1697,6 +1699,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1718,6 +1721,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1742,6 +1746,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1766,6 +1771,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1787,6 +1793,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1811,6 +1818,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1835,6 +1843,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1856,6 +1865,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1903,6 +1913,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1927,6 +1938,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1951,6 +1963,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1972,6 +1985,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1993,6 +2007,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2014,6 +2029,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2041,6 +2057,7 @@
}
],
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2065,6 +2082,7 @@
},
"name": "BED1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2086,6 +2104,7 @@
"id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
"name": "FACILITY1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2110,6 +2129,7 @@
},
"name": "BUILDING1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2134,6 +2154,7 @@
},
"name": "FLOOR1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2183,7 +2204,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "active",
"identifier": [
{
"value": "EOC124",
@@ -2238,44 +2259,14 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "in-progress",
"location": [
{
- "status": "planned",
+ "status": "active",
"location": {
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -2288,42 +2279,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2336,42 +2291,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -2384,18 +2303,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2407,54 +2314,6 @@
"valueBoolean": false
}
]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
}
],
"type": [
@@ -2782,7 +2641,7 @@
}
],
"activity": {
- "text": "ADT^A01^ADT_A01"
+ "text": "ADT^A13^ADT_A13"
},
"location": {
"reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
@@ -3018,6 +2877,7 @@
"id": "a9c75502-d60a-d89b-5912-f046100cd47e",
"name": "OT",
"mode": "instance",
+ "description": "OT--201",
"physicalType": {
"coding": [
{
@@ -3032,6 +2892,31 @@
"url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
}
},
+ {
+ "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "partOf": {
+ "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
+ },
+ "name": "201",
+ "mode": "instance",
+ "description": "OT--201",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0"
+ }
+ },
{
"fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb",
"resource": {
@@ -3987,6 +3872,9 @@
]
}
],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
"extension": [
{
"url": "http://example.com/v2-to-fhir-converter/Observation_Status",
@@ -4356,19 +4244,6 @@
},
"system": "http://www.examplehealthplan.com/fhir/policyidentifier"
},
- {
- "value": "HMO-12345",
- "type": {
- "coding": [
- {
- "code": "NI",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "National unique individual identifier"
- }
- ]
- },
- "system": "urn:oid:2.16.840.1.113883.1.3"
- },
{
"value": "Medicare-12345",
"type": {
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json
new file mode 100644
index 000000000..a3e81e57e
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A13/ADT-A13-02-expected.json
@@ -0,0 +1,2311 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A13",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A13^ADT_A13"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T11:41:02.113Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A13.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A13^ADT_A13"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "84634858-74aa-5cdb-4547-60ec27339ac6",
+ "name": "POC",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "partOf": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "name": "Room-2",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "35353f20-6254-e794-98ed-8007490447e3",
+ "partOf": {
+ "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ },
+ "name": "Bed-103",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/35353f20-6254-e794-98ed-8007490447e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55",
+ "resource": {
+ "resourceType": "Location",
+ "id": "055e10f1-222e-df73-2325-0e4396db1a55",
+ "name": "Greenland",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "active",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "period": {
+ "start": "2015-02-08T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A13^ADT_A13"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json
similarity index 95%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json
index 68860068c..53c63b0ba 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-01-expected.json
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:22:27.454Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.
"
+ "div": "Resource bundle generated on 2021-10-29T11:43:58.205Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1649,6 +1649,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1673,6 +1674,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1697,6 +1699,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1718,6 +1721,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1742,6 +1746,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1766,6 +1771,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1787,6 +1793,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1811,6 +1818,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1835,6 +1843,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1856,6 +1865,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1903,6 +1913,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1927,6 +1938,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1951,6 +1963,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1972,6 +1985,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1993,6 +2007,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2014,6 +2029,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2041,6 +2057,7 @@
}
],
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2065,6 +2082,7 @@
},
"name": "BED1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2086,6 +2104,7 @@
"id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
"name": "FACILITY1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2110,6 +2129,7 @@
},
"name": "BUILDING1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2134,6 +2154,7 @@
},
"name": "FLOOR1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2246,36 +2267,6 @@
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -2288,42 +2279,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2336,42 +2291,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -2384,18 +2303,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2407,54 +2314,6 @@
"valueBoolean": false
}
]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
}
],
"type": [
@@ -2673,7 +2532,8 @@
}
],
"period": {
- "start": "2015-02-08T15:54:19+05:30"
+ "start": "2015-02-08T11:34:19",
+ "end": "2015-02-09T11:34:19"
},
"reasonCode": [
{
@@ -3018,6 +2878,7 @@
"id": "a9c75502-d60a-d89b-5912-f046100cd47e",
"name": "OT",
"mode": "instance",
+ "description": "OT--201",
"physicalType": {
"coding": [
{
@@ -3032,6 +2893,31 @@
"url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
}
},
+ {
+ "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "partOf": {
+ "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
+ },
+ "name": "201",
+ "mode": "instance",
+ "description": "OT--201",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0"
+ }
+ },
{
"fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb",
"resource": {
@@ -3987,6 +3873,9 @@
]
}
],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
"extension": [
{
"url": "http://example.com/v2-to-fhir-converter/Observation_Status",
@@ -4356,19 +4245,6 @@
},
"system": "http://www.examplehealthplan.com/fhir/policyidentifier"
},
- {
- "value": "HMO-12345",
- "type": {
- "coding": [
- {
- "code": "NI",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "National unique individual identifier"
- }
- ]
- },
- "system": "urn:oid:2.16.840.1.113883.1.3"
- },
{
"value": "Medicare-12345",
"type": {
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json
similarity index 87%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-expected-2.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json
index 1a9090266..78574d69c 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-expected-2.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A14/ADT-A14-02-expected.json
@@ -58,13 +58,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:23:27.131Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.
"
+ "div": "Resource bundle generated on 2021-10-29T11:43:25.443Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A14.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -106,7 +106,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1139,6 +1139,81 @@
"url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
}
},
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
{
"fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
"resource": {
@@ -1155,6 +1230,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1179,6 +1255,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1203,6 +1280,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1224,6 +1302,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1248,6 +1327,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1272,6 +1352,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1293,6 +1374,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1317,6 +1399,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1341,6 +1424,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1362,6 +1446,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1409,6 +1494,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1433,6 +1519,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1457,6 +1544,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1478,6 +1566,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1499,6 +1588,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1520,6 +1610,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1534,6 +1625,131 @@
"url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
}
},
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
{
"fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
"resource": {
@@ -1615,36 +1831,6 @@
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1657,42 +1843,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -1705,42 +1855,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -1754,14 +1868,14 @@
]
},
{
- "status": "completed",
+ "status": "planned",
"location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
},
"extension": [
{
"url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
+ "valueBoolean": false
}
]
}
@@ -1922,6 +2036,22 @@
"individual": {
"reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
}
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
}
],
"serviceType": {
@@ -1966,15 +2096,67 @@
}
],
"period": {
- "start": "2015-02-08T15:54:19+05:30"
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
},
"text": {
"status": "generated",
- "div": ""
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
},
"subject": {
"reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
- }
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
},
"request": {
"method": "PUT",
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json
similarity index 93%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json
index d92012579..0a0068d4d 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-01-expected.json
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:28:37.319Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.
"
+ "div": "Resource bundle generated on 2021-10-29T11:45:27.133Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1363,6 +1363,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1387,6 +1388,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1411,6 +1413,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1432,6 +1435,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1456,6 +1460,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1480,6 +1485,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1501,6 +1507,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1525,6 +1532,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1549,6 +1557,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1570,6 +1579,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1617,6 +1627,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1641,6 +1652,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1665,6 +1677,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1686,6 +1699,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1707,6 +1721,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1728,6 +1743,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1755,6 +1771,7 @@
}
],
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1779,6 +1796,7 @@
},
"name": "BED1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1800,6 +1818,7 @@
"id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
"name": "FACILITY1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1824,6 +1843,7 @@
},
"name": "BUILDING1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1848,6 +1868,7 @@
},
"name": "FLOOR1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1897,7 +1918,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "active",
"identifier": [
{
"value": "EOC124",
@@ -1935,44 +1956,14 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "in-progress",
"location": [
{
- "status": "planned",
+ "status": "active",
"location": {
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1985,42 +1976,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2033,42 +1988,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -2081,18 +2000,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2104,54 +2011,6 @@
"valueBoolean": false
}
]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
}
],
"type": [
@@ -2369,9 +2228,6 @@
}
}
],
- "period": {
- "start": "2015-02-08T15:54:19+05:30"
- },
"reasonCode": [
{
"coding": [
@@ -2973,6 +2829,9 @@
]
}
],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
"extension": [
{
"url": "http://example.com/v2-to-fhir-converter/Observation_Status",
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json
similarity index 93%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-expected-2.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json
index 79e6d4be3..29df87fa2 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-expected-2.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A15/ADT-A15-02-expected.json
@@ -58,13 +58,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:28:03.014Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.
"
+ "div": "Resource bundle generated on 2021-10-29T11:44:56.071Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A15.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -106,7 +106,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1155,6 +1155,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1179,6 +1180,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1203,6 +1205,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1224,6 +1227,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1248,6 +1252,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1272,6 +1277,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1293,6 +1299,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1317,6 +1324,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1341,6 +1349,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1362,6 +1371,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1409,6 +1419,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1433,6 +1444,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1457,6 +1469,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1478,6 +1491,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1499,6 +1513,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1520,6 +1535,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1569,7 +1585,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "active",
"identifier": [
{
"value": "EOC124",
@@ -1607,44 +1623,14 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "in-progress",
"location": [
{
- "status": "planned",
+ "status": "active",
"location": {
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1657,42 +1643,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -1705,42 +1655,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -1752,18 +1666,6 @@
"valueBoolean": true
}
]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
}
],
"type": [
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json
similarity index 95%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json
index c9e2ea7f2..29b453513 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-01-expected.json
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:31:29.335Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.
"
+ "div": "Resource bundle generated on 2021-10-29T09:49:54.877Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1649,6 +1649,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1673,6 +1674,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1697,6 +1699,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1718,6 +1721,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1742,6 +1746,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1766,6 +1771,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1787,6 +1793,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1811,6 +1818,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1835,6 +1843,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1856,6 +1865,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1903,6 +1913,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1927,6 +1938,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1951,6 +1963,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1972,6 +1985,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1993,6 +2007,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2014,6 +2029,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2041,6 +2057,7 @@
}
],
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2065,6 +2082,7 @@
},
"name": "BED1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2086,6 +2104,7 @@
"id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
"name": "FACILITY1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2110,6 +2129,7 @@
},
"name": "BUILDING1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2134,6 +2154,7 @@
},
"name": "FLOOR1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2183,7 +2204,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "active",
"identifier": [
{
"value": "EOC124",
@@ -2238,44 +2259,14 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "in-progress",
"location": [
{
- "status": "planned",
+ "status": "active",
"location": {
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -2288,42 +2279,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2336,42 +2291,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -2384,18 +2303,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2407,54 +2314,6 @@
"valueBoolean": false
}
]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
}
],
"type": [
@@ -2673,7 +2532,8 @@
}
],
"period": {
- "start": "2015-02-08T15:54:19+05:30"
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-10T15:54:19+05:30"
},
"reasonCode": [
{
@@ -3018,6 +2878,7 @@
"id": "a9c75502-d60a-d89b-5912-f046100cd47e",
"name": "OT",
"mode": "instance",
+ "description": "OT--201",
"physicalType": {
"coding": [
{
@@ -3032,6 +2893,31 @@
"url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
}
},
+ {
+ "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "partOf": {
+ "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
+ },
+ "name": "201",
+ "mode": "instance",
+ "description": "OT--201",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0"
+ }
+ },
{
"fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb",
"resource": {
@@ -3987,6 +3873,9 @@
]
}
],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
"extension": [
{
"url": "http://example.com/v2-to-fhir-converter/Observation_Status",
@@ -4356,19 +4245,6 @@
},
"system": "http://www.examplehealthplan.com/fhir/policyidentifier"
},
- {
- "value": "HMO-12345",
- "type": {
- "coding": [
- {
- "code": "NI",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "National unique individual identifier"
- }
- ]
- },
- "system": "urn:oid:2.16.840.1.113883.1.3"
- },
{
"value": "Medicare-12345",
"type": {
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json
similarity index 87%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-expected-2.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json
index b1ef585e5..850c9d99d 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-expected-2.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A16/ADT-A16-02-expected.json
@@ -58,13 +58,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:30:29.013Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.
"
+ "div": "Resource bundle generated on 2021-10-29T10:00:57.265Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A16.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -106,7 +106,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1139,6 +1139,81 @@
"url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
}
},
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
{
"fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
"resource": {
@@ -1155,6 +1230,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1179,6 +1255,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1203,6 +1280,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1224,6 +1302,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1248,6 +1327,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1272,6 +1352,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1293,6 +1374,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1317,6 +1399,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1341,6 +1424,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1362,6 +1446,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1409,6 +1494,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1433,6 +1519,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1457,6 +1544,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1478,6 +1566,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1499,6 +1588,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1520,6 +1610,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1534,6 +1625,131 @@
"url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
}
},
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
{
"fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
"resource": {
@@ -1569,7 +1785,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "active",
"identifier": [
{
"value": "EOC124",
@@ -1607,44 +1823,14 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "in-progress",
"location": [
{
- "status": "planned",
+ "status": "active",
"location": {
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1657,42 +1843,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -1705,42 +1855,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -1754,14 +1868,14 @@
]
},
{
- "status": "completed",
+ "status": "planned",
"location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
},
"extension": [
{
"url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
+ "valueBoolean": false
}
]
}
@@ -1922,6 +2036,22 @@
"individual": {
"reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
}
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
}
],
"serviceType": {
@@ -1966,15 +2096,67 @@
}
],
"period": {
- "start": "2015-02-08T15:54:19+05:30"
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-10T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
},
"text": {
"status": "generated",
- "div": ""
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
},
"subject": {
"reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
- }
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
},
"request": {
"method": "PUT",
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json
new file mode 100644
index 000000000..2663a6b38
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-01-expected.json
@@ -0,0 +1,2890 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20",
+ "version": "2.4.3.52854",
+ "software": "Rhapsody"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A25",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A25^ADT_A25"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T10:08:15.356Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A25^ADT_A25"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "resource": {
+ "resourceType": "Device",
+ "id": "4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "manufacturer": "Orion",
+ "deviceName": [
+ {
+ "name": "Rhapsody",
+ "type": "manufacturer-name"
+ }
+ ],
+ "version": [
+ {
+ "value": "2.4.3.52854"
+ }
+ ],
+ "modelNumber": "2.4.3",
+ "note": [
+ {
+ "text": "Testactivity"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ },
+ {
+ "value": "DB123",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:1.12",
+ "assigner": {
+ "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "generalPractitioner": [
+ {
+ "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11"
+ },
+ {
+ "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d"
+ }
+ ],
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation",
+ "valueString": "Methodist Church"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator",
+ "valueBoolean": true
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod",
+ "valuePeriod": {
+ "start": "2021-08-30",
+ "end": "2021-09-30"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11",
+ "name": "LINDAS TEST ORGANIZATION",
+ "identifier": [
+ {
+ "value": "SIISCLIENT818"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d",
+ "identifier": [
+ {
+ "value": "88",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE",
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippo",
+ "given": [
+ "rold",
+ "H"
+ ],
+ "suffix": [
+ "V",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "84634858-74aa-5cdb-4547-60ec27339ac6",
+ "name": "POC",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "partOf": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "name": "Room-2",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "35353f20-6254-e794-98ed-8007490447e3",
+ "partOf": {
+ "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ },
+ "name": "Bed-103",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/35353f20-6254-e794-98ed-8007490447e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55",
+ "resource": {
+ "resourceType": "Location",
+ "id": "055e10f1-222e-df73-2325-0e4396db1a55",
+ "name": "Greenland",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "active",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "period": {
+ "start": "2015-02-08T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A25^ADT_A25"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "urn:oid:1.12",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "identifier": [
+ {
+ "value": "PERSt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "identifier": [
+ {
+ "value": "1134",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Aly",
+ "given": [
+ "Zafar",
+ "Mahendra"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "identifier": [
+ {
+ "value": "2234"
+ }
+ ],
+ "name": [
+ {
+ "family": "Pauly",
+ "given": [
+ "Berrie",
+ "Raud"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "resource": {
+ "resourceType": "Device",
+ "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "identifier": [
+ {
+ "value": "EI12.3",
+ "system": "urn:uuid:UI2",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ },
+ {
+ "system": "urn:oid:UI1",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "identifier": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "MD-25"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "LabMedicalDirector",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ },
+ "organization": {
+ "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25",
+ "name": "FairOaks Hspital",
+ "address": [
+ {
+ "line": [
+ "Research Park",
+ "Fairfax"
+ ],
+ "city": "VA",
+ "state": "22031",
+ "postalCode": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "identifier": [
+ {
+ "value": "EI21",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII"
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "FILL"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "unknown",
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "component": [
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 60,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ]
+ },
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 120,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ]
+ }
+ ],
+ "effectiveDateTime": "1999-07-02",
+ "method": {
+ "coding": [
+ {
+ "code": "OBS",
+ "display": "This is test method",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4"
+ }
+ ]
+ },
+ "device": {
+ "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BU",
+ "display": "Observation site",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5"
+ }
+ ]
+ },
+ "performer": [
+ {
+ "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ },
+ {
+ "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ },
+ {
+ "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "A",
+ "display": "Abnormal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "B",
+ "display": "Better",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "S",
+ "display": "Partial",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Partial"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json
new file mode 100644
index 000000000..820279490
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A25/ADT-A25-02-expected.json
@@ -0,0 +1,2311 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A25",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A25^ADT_A25"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T10:13:12.393Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A25.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A25^ADT_A25"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "84634858-74aa-5cdb-4547-60ec27339ac6",
+ "name": "POC",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "partOf": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "name": "Room-2",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "35353f20-6254-e794-98ed-8007490447e3",
+ "partOf": {
+ "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ },
+ "name": "Bed-103",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/35353f20-6254-e794-98ed-8007490447e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55",
+ "resource": {
+ "resourceType": "Location",
+ "id": "055e10f1-222e-df73-2325-0e4396db1a55",
+ "name": "Greenland",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "active",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "period": {
+ "start": "2015-02-08T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A25^ADT_A25"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json
new file mode 100644
index 000000000..62b532207
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-01-expected.json
@@ -0,0 +1,2644 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20",
+ "version": "2.4.3.52854",
+ "software": "Rhapsody"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A26",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A26^ADT_A26"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T10:14:07.714Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A26^ADT_A26"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "resource": {
+ "resourceType": "Device",
+ "id": "4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "manufacturer": "Orion",
+ "deviceName": [
+ {
+ "name": "Rhapsody",
+ "type": "manufacturer-name"
+ }
+ ],
+ "version": [
+ {
+ "value": "2.4.3.52854"
+ }
+ ],
+ "modelNumber": "2.4.3",
+ "note": [
+ {
+ "text": "Testactivity"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ },
+ {
+ "value": "DB123",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:1.12",
+ "assigner": {
+ "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "generalPractitioner": [
+ {
+ "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11"
+ },
+ {
+ "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d"
+ }
+ ],
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation",
+ "valueString": "Methodist Church"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator",
+ "valueBoolean": true
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod",
+ "valuePeriod": {
+ "start": "2021-08-30",
+ "end": "2021-09-30"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11",
+ "name": "LINDAS TEST ORGANIZATION",
+ "identifier": [
+ {
+ "value": "SIISCLIENT818"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d",
+ "identifier": [
+ {
+ "value": "88",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE",
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippo",
+ "given": [
+ "rold",
+ "H"
+ ],
+ "suffix": [
+ "V",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "active",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A26^ADT_A26"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "urn:oid:1.12",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "identifier": [
+ {
+ "value": "PERSt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "identifier": [
+ {
+ "value": "1134",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Aly",
+ "given": [
+ "Zafar",
+ "Mahendra"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "identifier": [
+ {
+ "value": "2234"
+ }
+ ],
+ "name": [
+ {
+ "family": "Pauly",
+ "given": [
+ "Berrie",
+ "Raud"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "resource": {
+ "resourceType": "Device",
+ "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "identifier": [
+ {
+ "value": "EI12.3",
+ "system": "urn:uuid:UI2",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ },
+ {
+ "system": "urn:oid:UI1",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "identifier": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "MD-25"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "LabMedicalDirector",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ },
+ "organization": {
+ "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25",
+ "name": "FairOaks Hspital",
+ "address": [
+ {
+ "line": [
+ "Research Park",
+ "Fairfax"
+ ],
+ "city": "VA",
+ "state": "22031",
+ "postalCode": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "identifier": [
+ {
+ "value": "EI21",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII"
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "FILL"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "unknown",
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "component": [
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 60,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ]
+ },
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 120,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ]
+ }
+ ],
+ "effectiveDateTime": "1999-07-02",
+ "method": {
+ "coding": [
+ {
+ "code": "OBS",
+ "display": "This is test method",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4"
+ }
+ ]
+ },
+ "device": {
+ "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BU",
+ "display": "Observation site",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5"
+ }
+ ]
+ },
+ "performer": [
+ {
+ "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ },
+ {
+ "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ },
+ {
+ "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "A",
+ "display": "Abnormal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "B",
+ "display": "Better",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "S",
+ "display": "Partial",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Partial"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json
new file mode 100644
index 000000000..c46310fc3
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A26/ADT-A26-02-expected.json
@@ -0,0 +1,1926 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A26",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A26^ADT_A26"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T10:14:50.627Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A26.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A26^ADT_A26"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "active",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "period": {
+ "start": "2015-02-08T15:54:19+05:30"
+ },
+ "text": {
+ "status": "generated",
+ "div": ""
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A26^ADT_A26"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json
new file mode 100644
index 000000000..7dec6d11d
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-01-expected.json
@@ -0,0 +1,2886 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20",
+ "version": "2.4.3.52854",
+ "software": "Rhapsody"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A27",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A27^ADT_A27"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T10:35:13.183Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A27^ADT_A27"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "resource": {
+ "resourceType": "Device",
+ "id": "4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "manufacturer": "Orion",
+ "deviceName": [
+ {
+ "name": "Rhapsody",
+ "type": "manufacturer-name"
+ }
+ ],
+ "version": [
+ {
+ "value": "2.4.3.52854"
+ }
+ ],
+ "modelNumber": "2.4.3",
+ "note": [
+ {
+ "text": "Testactivity"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ },
+ {
+ "value": "DB123",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:1.12",
+ "assigner": {
+ "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "generalPractitioner": [
+ {
+ "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11"
+ },
+ {
+ "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d"
+ }
+ ],
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation",
+ "valueString": "Methodist Church"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator",
+ "valueBoolean": true
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod",
+ "valuePeriod": {
+ "start": "2021-08-30",
+ "end": "2021-09-30"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11",
+ "name": "LINDAS TEST ORGANIZATION",
+ "identifier": [
+ {
+ "value": "SIISCLIENT818"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d",
+ "identifier": [
+ {
+ "value": "88",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE",
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippo",
+ "given": [
+ "rold",
+ "H"
+ ],
+ "suffix": [
+ "V",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "84634858-74aa-5cdb-4547-60ec27339ac6",
+ "name": "POC",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "partOf": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "name": "Room-2",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "35353f20-6254-e794-98ed-8007490447e3",
+ "partOf": {
+ "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ },
+ "name": "Bed-103",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/35353f20-6254-e794-98ed-8007490447e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55",
+ "resource": {
+ "resourceType": "Location",
+ "id": "055e10f1-222e-df73-2325-0e4396db1a55",
+ "name": "Greenland",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "cancelled",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "cancelled",
+ "location": [
+ {
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "location": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ },
+ {
+ "location": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "period": {
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A27^ADT_A27"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "urn:oid:1.12",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "identifier": [
+ {
+ "value": "PERSt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "identifier": [
+ {
+ "value": "1134",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Aly",
+ "given": [
+ "Zafar",
+ "Mahendra"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "identifier": [
+ {
+ "value": "2234"
+ }
+ ],
+ "name": [
+ {
+ "family": "Pauly",
+ "given": [
+ "Berrie",
+ "Raud"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "resource": {
+ "resourceType": "Device",
+ "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "identifier": [
+ {
+ "value": "EI12.3",
+ "system": "urn:uuid:UI2",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ },
+ {
+ "system": "urn:oid:UI1",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "identifier": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "MD-25"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "LabMedicalDirector",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ },
+ "organization": {
+ "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25",
+ "name": "FairOaks Hspital",
+ "address": [
+ {
+ "line": [
+ "Research Park",
+ "Fairfax"
+ ],
+ "city": "VA",
+ "state": "22031",
+ "postalCode": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "identifier": [
+ {
+ "value": "EI21",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII"
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "FILL"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "unknown",
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "component": [
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 60,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ]
+ },
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 120,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ]
+ }
+ ],
+ "effectiveDateTime": "1999-07-02",
+ "method": {
+ "coding": [
+ {
+ "code": "OBS",
+ "display": "This is test method",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4"
+ }
+ ]
+ },
+ "device": {
+ "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BU",
+ "display": "Observation site",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5"
+ }
+ ]
+ },
+ "performer": [
+ {
+ "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ },
+ {
+ "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ },
+ {
+ "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "A",
+ "display": "Abnormal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "B",
+ "display": "Better",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "S",
+ "display": "Partial",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Partial"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json
new file mode 100644
index 000000000..3c8f3ce5a
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A27/ADT-A27-02-expected.json
@@ -0,0 +1,2307 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A27",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A27^ADT_A27"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T10:35:48.22Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A27.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A27^ADT_A27"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "84634858-74aa-5cdb-4547-60ec27339ac6",
+ "name": "POC",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "partOf": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "name": "Room-2",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "35353f20-6254-e794-98ed-8007490447e3",
+ "partOf": {
+ "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ },
+ "name": "Bed-103",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/35353f20-6254-e794-98ed-8007490447e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55",
+ "resource": {
+ "resourceType": "Location",
+ "id": "055e10f1-222e-df73-2325-0e4396db1a55",
+ "name": "Greenland",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "cancelled",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "cancelled",
+ "location": [
+ {
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "location": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ },
+ {
+ "location": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "period": {
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A27^ADT_A27"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json
similarity index 95%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json
index a6a18fd90..75d35d2c5 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-01-expected.json
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:33:25.099Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.
"
+ "div": "Resource bundle generated on 2021-10-29T10:36:37.507Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1649,6 +1649,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1673,6 +1674,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1697,6 +1699,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1718,6 +1721,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1742,6 +1746,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1766,6 +1771,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1787,6 +1793,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1811,6 +1818,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1835,6 +1843,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1856,6 +1865,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1903,6 +1913,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1927,6 +1938,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1951,6 +1963,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1972,6 +1985,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1993,6 +2007,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2014,6 +2029,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2041,6 +2057,7 @@
}
],
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2065,6 +2082,7 @@
},
"name": "BED1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2086,6 +2104,7 @@
"id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
"name": "FACILITY1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2110,6 +2129,7 @@
},
"name": "BUILDING1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2134,6 +2154,7 @@
},
"name": "FLOOR1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2183,7 +2204,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "finished",
"identifier": [
{
"value": "EOC124",
@@ -2238,7 +2259,7 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "finished",
"location": [
{
"status": "planned",
@@ -2246,36 +2267,6 @@
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -2288,42 +2279,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2336,42 +2291,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -2384,18 +2303,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2407,54 +2314,6 @@
"valueBoolean": false
}
]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
}
],
"type": [
@@ -2673,7 +2532,8 @@
}
],
"period": {
- "start": "2015-02-08T15:54:19+05:30"
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
},
"reasonCode": [
{
@@ -3018,6 +2878,7 @@
"id": "a9c75502-d60a-d89b-5912-f046100cd47e",
"name": "OT",
"mode": "instance",
+ "description": "OT--201",
"physicalType": {
"coding": [
{
@@ -3032,6 +2893,31 @@
"url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
}
},
+ {
+ "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "partOf": {
+ "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
+ },
+ "name": "201",
+ "mode": "instance",
+ "description": "OT--201",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0"
+ }
+ },
{
"fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb",
"resource": {
@@ -3987,6 +3873,9 @@
]
}
],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
"extension": [
{
"url": "http://example.com/v2-to-fhir-converter/Observation_Status",
@@ -4356,19 +4245,6 @@
},
"system": "http://www.examplehealthplan.com/fhir/policyidentifier"
},
- {
- "value": "HMO-12345",
- "type": {
- "coding": [
- {
- "code": "NI",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "National unique individual identifier"
- }
- ]
- },
- "system": "urn:oid:2.16.840.1.113883.1.3"
- },
{
"value": "Medicare-12345",
"type": {
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json
similarity index 93%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-expected-2.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json
index c71493f8e..d2bdb8001 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A03/ADT-A03-expected-2.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-02-expected.json
@@ -40,9 +40,9 @@
]
},
"eventCoding": {
- "code": "A03",
+ "code": "A28",
"system": "http://terminology.hl7.org/CodeSystem/v2-0003",
- "display": "ADT^A03^ADT_A03"
+ "display": "ADT^A28^ADT_A28"
},
"language": "en-US",
"sender": {
@@ -58,13 +58,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:46:08.88Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A03.
"
+ "div": "Resource bundle generated on 2021-10-29T10:37:09.88Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -86,7 +86,7 @@
"activity": {
"coding": [
{
- "display": "ADT^A03^ADT_A03"
+ "display": "ADT^A28^ADT_A28"
}
]
},
@@ -106,7 +106,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1155,6 +1155,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1179,6 +1180,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1203,6 +1205,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1224,6 +1227,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1248,6 +1252,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1272,6 +1277,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1293,6 +1299,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1317,6 +1324,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1341,6 +1349,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1362,6 +1371,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1409,6 +1419,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1433,6 +1444,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1457,6 +1469,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1478,6 +1491,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1499,6 +1513,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1520,6 +1535,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1615,36 +1631,6 @@
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1657,42 +1643,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -1705,42 +1655,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -1752,18 +1666,6 @@
"valueBoolean": true
}
]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
}
],
"type": [
@@ -2007,7 +1909,7 @@
}
],
"activity": {
- "text": "ADT^A03^ADT_A03"
+ "text": "ADT^A28^ADT_A28"
},
"location": {
"reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-expected-2.json
deleted file mode 100644
index e671dfd68..000000000
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A28/ADT-A28-expected-2.json
+++ /dev/null
@@ -1,2130 +0,0 @@
-{
- "resourceType": "Bundle",
- "type": "batch",
- "timestamp": "1989-08-18T14:41:00+05:30",
- "identifier": {
- "value": "MSG00001"
- },
- "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
- "entry": [
- {
- "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
- "resource": {
- "resourceType": "MessageHeader",
- "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
- "source": {
- "name": "24GHH",
- "endpoint": "urn:oid:2.16.840.1.114884.10.20"
- },
- "destination": [
- {
- "name": "25GHH",
- "endpoint": "urn:oid:2.16.840.1.114884.10.23",
- "receiver": {
- "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
- }
- }
- ],
- "meta": {
- "security": [
- {
- "display": "SECURITY",
- "system": "http://example.com/v2-to-fhirconverter/security-label"
- }
- ],
- "tag": [
- {
- "code": "P",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
- }
- ]
- },
- "eventCoding": {
- "code": "A28",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
- "display": "ADT^A28^ADT_A28"
- },
- "language": "en-US",
- "sender": {
- "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
- },
- "responsible": {
- "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
- }
- },
- "request": {
- "method": "PUT",
- "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
- }
- },
- {
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
- "resource": {
- "resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
- "text": {
- "status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:32:14.385Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A28.
"
- },
- "occurredDateTime": "1989-08-18T14:41:00+05:30",
- "recorded": "1989-08-18T14:41:00+05:30",
- "agent": [
- {
- "type": {
- "coding": [
- {
- "code": "author",
- "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
- }
- ]
- },
- "who": {
- "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
- }
- }
- ],
- "activity": {
- "coding": [
- {
- "display": "ADT^A28^ADT_A28"
- }
- ]
- },
- "entity": [
- {
- "role": "source",
- "what": {
- "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
- }
- }
- ],
- "target": [
- {
- "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
- }
- },
- {
- "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
- "resource": {
- "resourceType": "Organization",
- "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
- "identifier": [
- {
- "value": "GHHSFacility",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
- },
- {
- "value": "urn:oid:2.16.840.1.122848.1.30",
- "system": "urn:ietf:rfc:3986",
- "type": {
- "coding": [
- {
- "code": "ISO",
- "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- }
- ],
- "partOf": {
- "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
- },
- "address": [
- {
- "country": "USA"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
- }
- },
- {
- "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
- "resource": {
- "resourceType": "Organization",
- "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
- "identifier": [
- {
- "value": "GHHRFacility",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
- },
- {
- "value": "urn:oid:2.16.840.1.1122848.1.32",
- "system": "urn:ietf:rfc:3986",
- "type": {
- "coding": [
- {
- "code": "ISO",
- "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- }
- ],
- "partOf": {
- "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
- },
- "address": [
- {
- "country": "USA"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
- }
- },
- {
- "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
- "resource": {
- "resourceType": "Organization",
- "id": "33532a82-d220-4c0d-1abe-53e48951c201",
- "name": "22 GHH Inc."
- },
- "request": {
- "method": "PUT",
- "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
- }
- },
- {
- "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
- "resource": {
- "resourceType": "Organization",
- "id": "527280c1-34d1-c639-e9ba-61986d28e266",
- "name": "23 GHH Inc."
- },
- "request": {
- "method": "PUT",
- "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
- }
- },
- {
- "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
- "resource": {
- "resourceType": "Device",
- "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
- "identifier": [
- {
- "value": "ADTApp"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
- }
- },
- {
- "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
- "resource": {
- "resourceType": "Patient",
- "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
- "identifier": [
- {
- "value": "1234567",
- "type": {
- "coding": [
- {
- "code": "MR",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "Medical record number"
- }
- ]
- },
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
- "period": {
- "start": "1924-10-11",
- "end": "1924-10-12"
- }
- },
- {
- "value": "PATID1234",
- "type": {
- "coding": [
- {
- "code": "MR",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "Medical record number"
- }
- ]
- },
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "assigner": {
- "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
- }
- },
- {
- "value": "123456789",
- "type": {
- "coding": [
- {
- "code": "SS",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "Social Security number"
- }
- ]
- },
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
- },
- {
- "value": "PATID567",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
- },
- {
- "value": "PSSN123121234",
- "type": {
- "coding": [
- {
- "code": "SB",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
- }
- ]
- },
- "system": "http://hl7.org/fhir/sid/us-ssn"
- },
- {
- "value": "DLN-123",
- "type": {
- "coding": [
- {
- "code": "DL"
- }
- ]
- },
- "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
- "period": {
- "end": "2001-01-23"
- }
- }
- ],
- "name": [
- {
- "family": "EVERYMAN",
- "given": [
- "ADAM",
- "A",
- "Addsm"
- ],
- "suffix": [
- "III",
- "MD",
- "PF"
- ],
- "prefix": [
- "Dr."
- ],
- "use": "usual",
- "period": {
- "start": "1924-10-12"
- }
- },
- {
- "family": "Josh",
- "given": [
- "stanley"
- ],
- "use": "official",
- "period": {
- "start": "1924-10-10",
- "end": "1924-10-15"
- }
- },
- {
- "family": "elbert",
- "given": [
- "Son"
- ]
- }
- ],
- "birthDate": "1988-08-18",
- "_birthDate": {
- "extension": [
- {
- "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
- "valueDateTime": "1988-08-18T14:41:00+05:30"
- }
- ]
- },
- "gender": "male",
- "address": [
- {
- "line": [
- "1000",
- "Hospital Lane",
- "Ste. 123",
- "Near Highway"
- ],
- "city": "Ann Arbor ",
- "state": "MI",
- "postalCode": "99999",
- "country": "USA",
- "type": "postal",
- "district": "W",
- "period": {
- "start": "2000-01-10",
- "end": "2000-01-20"
- }
- }
- ],
- "telecom": [
- {
- "value": "2222",
- "system": "phone",
- "period": {
- "start": "2001-01-10",
- "end": "2002-01-10"
- },
- "rank": 18,
- "use": "home"
- },
- {
- "value": "12121212",
- "system": "phone",
- "use": "home"
- },
- {
- "value": "7777",
- "system": "phone",
- "use": "work"
- },
- {
- "value": "1111",
- "system": "other",
- "use": "work"
- },
- {
- "value": "89898989",
- "use": "work",
- "system": "email"
- }
- ],
- "communication": [
- {
- "language": {
- "coding": [
- {
- "code": "ar",
- "display": "Arabic",
- "system": "urn:ietf:bcp:47",
- "version": "v2"
- },
- {
- "code": "en",
- "display": "English",
- "system": "urn:ietf:bcp:47",
- "version": "v2.1"
- }
- ],
- "text": "TextInEnglish"
- },
- "preferred": true
- }
- ],
- "maritalStatus": {
- "coding": [
- {
- "code": "M",
- "display": "Married",
- "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
- }
- ]
- },
- "multipleBirthInteger": 2,
- "deceasedDateTime": "2008-08-25T15:31:30+05:30",
- "meta": {
- "lastUpdated": "2005-01-10T04:05:14+05:30"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
- "extension": [
- {
- "url": "ombCategory",
- "valueCoding": {
- "code": "2106-3",
- "display": "White",
- "system": "urn:oid:2.16.840.1.113883.6.238"
- }
- },
- {
- "url": "ombCategory",
- "valueCoding": {
- "code": "2028-9",
- "display": "Asian",
- "system": "urn:oid:2.16.840.1.113883.6.238"
- }
- },
- {
- "url": "text",
- "valueString": "White+Asian"
- }
- ]
- },
- {
- "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
- "valueString": "SMITH--Angela--L"
- },
- {
- "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
- "valueAddress": {
- "text": "St. Francis Community Hospital of Lower South Side"
- }
- },
- {
- "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
- "valueCodeableConcept": {
- "coding": [
- {
- "code": "1002",
- "display": "African Religions",
- "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
- }
- ]
- }
- },
- {
- "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
- "extension": [
- {
- "url": "ombCategory",
- "valueCoding": {
- "code": "2186-5",
- "display": "Non Hispanic or Latino",
- "system": "urn:oid:2.16.840.1.113883.6.238"
- }
- },
- {
- "url": "text",
- "valueString": "Non Hispanic or Latino"
- }
- ]
- },
- {
- "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
- "valueCodeableConcept": {
- "coding": [
- {
- "code": "Vet123",
- "display": "retired",
- "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
- }
- ],
- "text": "retired"
- }
- },
- {
- "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
- "extension": [
- {
- "url": "species",
- "valueCodeableConcept": {
- "coding": [
- {
- "code": "125097000",
- "display": "Goat",
- "system": "http://snomed.info/sct"
- }
- ],
- "text": "Goat"
- }
- },
- {
- "url": "breed",
- "valueCodeableConcept": {
- "coding": [
- {
- "code": "4880003",
- "display": "Beagle",
- "system": "http://snomed.info/sct"
- }
- ],
- "text": "Beagle"
- }
- }
- ]
- },
- {
- "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
- "extension": [
- {
- "url": "code",
- "valueCodeableConcept": {
- "coding": [
- {
- "code": "US",
- "display": "United States of America",
- "system": "urn:iso:std:iso:3166"
- }
- ],
- "text": "United States of America"
- }
- }
- ]
- },
- {
- "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
- "extension": [
- {
- "url": "code",
- "valueCodeableConcept": {
- "coding": [
- {
- "code": "CA",
- "display": "Canada",
- "system": "urn:iso:std:iso:3166"
- }
- ],
- "text": "Canada"
- }
- }
- ]
- },
- {
- "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
- "extension": [
- {
- "url": "code",
- "valueCodeableConcept": {
- "coding": [
- {
- "code": "BT",
- "display": "Bhutan",
- "system": "urn:iso:std:iso:3166"
- }
- ],
- "text": "Bhutan"
- }
- }
- ]
- },
- {
- "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
- "valueCodeableConcept": {
- "coding": [
- {
- "code": "VIP",
- "display": "Very Important Person",
- "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
- "version": "v1.1"
- },
- {
- "code": "IMP",
- "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
- "version": "v1.2"
- }
- ],
- "text": "Inportant Person"
- }
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
- }
- },
- {
- "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
- "resource": {
- "resourceType": "Account",
- "id": "78295402-9b84-4829-b945-502ab3402de5",
- "identifier": [
- {
- "value": "4000776",
- "type": {
- "coding": [
- {
- "code": "VN",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "Visit number"
- }
- ]
- },
- "system": "urn:oid:2.4",
- "assigner": {
- "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
- },
- "period": {
- "start": "1924-10-11",
- "end": "1924-10-12"
- }
- }
- ],
- "status": "active",
- "subject": [
- {
- "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
- }
- },
- {
- "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
- "resource": {
- "resourceType": "Organization",
- "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
- "identifier": [
- {
- "value": "AccMgr",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
- },
- {
- "value": "urn:oid:2.4",
- "system": "urn:ietf:rfc:3986",
- "type": {
- "coding": [
- {
- "code": "ISO",
- "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
- }
- },
- {
- "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
- "resource": {
- "resourceType": "Organization",
- "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
- "identifier": [
- {
- "value": "test1",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
- },
- {
- "value": "2.16.1",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "type": {
- "coding": [
- {
- "code": "HCD",
- "display": "The CEN Healthcare Coding Scheme Designator",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
- }
- },
- {
- "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
- "resource": {
- "resourceType": "Organization",
- "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
- "identifier": [
- {
- "value": "NTH",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
- },
- {
- "value": "rt23",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "type": {
- "coding": [
- {
- "code": "HCD",
- "display": "The CEN Healthcare Coding Scheme Designator",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
- }
- },
- {
- "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
- "resource": {
- "resourceType": "RelatedPerson",
- "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
- "identifier": [
- {
- "value": "1212121",
- "type": {
- "coding": [
- {
- "code": "AND",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "Account number debitor"
- }
- ]
- },
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "assigner": {
- "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
- },
- "period": {
- "start": "1924-10-11",
- "end": "1924-10-12"
- }
- }
- ],
- "relationship": [
- {
- "coding": [
- {
- "code": "MTH",
- "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
- }
- ]
- }
- ],
- "patient": {
- "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
- }
- },
- "request": {
- "method": "PUT",
- "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
- }
- },
- {
- "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
- "resource": {
- "resourceType": "Organization",
- "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
- "identifier": [
- {
- "value": "t",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
- },
- {
- "value": "2.16.840.1.113883.19",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "type": {
- "coding": [
- {
- "code": "HCD",
- "display": "The CEN Healthcare Coding Scheme Designator",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
- }
- },
- {
- "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
- "resource": {
- "resourceType": "Organization",
- "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
- "identifier": [
- {
- "value": "AccMng",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
- },
- {
- "value": "1.2",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "type": {
- "coding": [
- {
- "code": "HCD",
- "display": "The CEN Healthcare Coding Scheme Designator",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
- }
- },
- {
- "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
- "resource": {
- "resourceType": "Organization",
- "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
- "identifier": [
- {
- "value": "PERSONNELt",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
- },
- {
- "value": "1.23",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "type": {
- "coding": [
- {
- "code": "HCD",
- "display": "The CEN Healthcare Coding Scheme Designator",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
- }
- },
- {
- "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
- "resource": {
- "resourceType": "Practitioner",
- "id": "f6775f99-5279-be04-bf81-0906c81f7443",
- "identifier": [
- {
- "value": "1122334",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "assigner": {
- "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
- },
- "type": {
- "coding": [
- {
- "code": "BR",
- "display": "Birth registry number",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
- }
- ]
- }
- }
- ],
- "name": [
- {
- "family": "Alaz",
- "given": [
- "Mohammed",
- "Mahi"
- ],
- "suffix": [
- "JR",
- "MD",
- "Al"
- ],
- "prefix": [
- "Dr."
- ],
- "period": {
- "start": "1924-10-10",
- "end": "1924-10-15"
- }
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
- }
- },
- {
- "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
- "resource": {
- "resourceType": "Organization",
- "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
- "identifier": [
- {
- "value": "TEST",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
- },
- {
- "value": "23.2",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "type": {
- "coding": [
- {
- "code": "HCD",
- "display": "The CEN Healthcare Coding Scheme Designator",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
- }
- },
- {
- "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
- "resource": {
- "resourceType": "Practitioner",
- "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
- "identifier": [
- {
- "value": "C006",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "assigner": {
- "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
- },
- "type": {
- "coding": [
- {
- "code": "BA",
- "display": "Bank Account Number",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
- }
- ]
- }
- }
- ],
- "name": [
- {
- "family": "Woolfson",
- "given": [
- "Kathleen"
- ],
- "prefix": [
- "Dr"
- ],
- "use": "anonymous"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
- }
- },
- {
- "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
- "resource": {
- "resourceType": "Practitioner",
- "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
- "identifier": [
- {
- "value": "C008",
- "system": "urn:oid:2.8",
- "type": {
- "coding": [
- {
- "code": "BR",
- "display": "Birth registry number",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
- }
- ]
- }
- }
- ],
- "name": [
- {
- "family": "Condoc",
- "given": [
- "leen"
- ],
- "prefix": [
- "Dr"
- ],
- "use": "temp"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
- }
- },
- {
- "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
- "resource": {
- "resourceType": "Practitioner",
- "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
- "identifier": [
- {
- "value": "37",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
- "type": {
- "coding": [
- {
- "code": "ANC",
- "display": "Account number Creditor",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
- }
- ]
- }
- }
- ],
- "name": [
- {
- "family": "DISNEY",
- "given": [
- "WALT"
- ]
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
- }
- },
- {
- "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
- "resource": {
- "resourceType": "Organization",
- "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
- "identifier": [
- {
- "value": "T123",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
- },
- {
- "value": "urn:oid:r2.3",
- "system": "urn:ietf:rfc:3986",
- "type": {
- "coding": [
- {
- "code": "ISO",
- "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
- }
- },
- {
- "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
- "resource": {
- "resourceType": "Practitioner",
- "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
- "identifier": [
- {
- "value": "Othhel",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
- }
- },
- {
- "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
- "resource": {
- "resourceType": "Location",
- "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
- "partOf": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- },
- "name": "HUH AE OMU",
- "identifier": [
- {
- "value": "urn:oid:9.8",
- "system": "urn:ietf:rfc:3986"
- }
- ],
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "lvl"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
- }
- },
- {
- "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
- "resource": {
- "resourceType": "Location",
- "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
- "partOf": {
- "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
- },
- "name": "OMU B",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "ro"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
- "resource": {
- "resourceType": "Location",
- "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
- "partOf": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- },
- "name": "Bed 03",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "bd"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
- "resource": {
- "resourceType": "Location",
- "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
- "name": "HOMERTON UNIVER",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "si"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
- "resource": {
- "resourceType": "Location",
- "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
- "partOf": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- },
- "name": "Homerton UH",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "bu"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
- "resource": {
- "resourceType": "Location",
- "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
- "partOf": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- },
- "name": "Floor5",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "lvl"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
- {
- "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
- "resource": {
- "resourceType": "Location",
- "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
- "name": "4 East, room 136, bed B 4E",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "lvl"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
- }
- },
- {
- "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
- "resource": {
- "resourceType": "Location",
- "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
- "partOf": {
- "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
- },
- "name": "136",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "ro"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- }
- },
- {
- "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
- "resource": {
- "resourceType": "Location",
- "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
- "partOf": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "name": "B",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "bd"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- }
- },
- {
- "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
- "resource": {
- "resourceType": "Location",
- "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
- "name": "CommunityHospital",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "si"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- }
- },
- {
- "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
- "resource": {
- "resourceType": "Location",
- "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
- "name": "Homes",
- "identifier": [
- {
- "value": "22",
- "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
- }
- ],
- "physicalType": {
- "coding": [
- {
- "code": "si",
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
- }
- },
- {
- "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6",
- "resource": {
- "resourceType": "Location",
- "id": "84634858-74aa-5cdb-4547-60ec27339ac6",
- "name": "POC",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "lvl"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
- }
- },
- {
- "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
- "resource": {
- "resourceType": "Location",
- "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
- "partOf": {
- "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
- },
- "name": "Room-2",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "ro"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- }
- },
- {
- "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3",
- "resource": {
- "resourceType": "Location",
- "id": "35353f20-6254-e794-98ed-8007490447e3",
- "partOf": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "name": "Bed-103",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "bd"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/35353f20-6254-e794-98ed-8007490447e3"
- }
- },
- {
- "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55",
- "resource": {
- "resourceType": "Location",
- "id": "055e10f1-222e-df73-2325-0e4396db1a55",
- "name": "Greenland",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "bu"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- }
- },
- {
- "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
- "resource": {
- "resourceType": "Location",
- "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
- "name": "Nursing home",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "lvl"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
- }
- },
- {
- "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
- "resource": {
- "resourceType": "Location",
- "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
- "name": "Rosewood",
- "mode": "instance",
- "physicalType": {
- "coding": [
- {
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
- "code": "bu"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- }
- },
- {
- "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
- "resource": {
- "resourceType": "Organization",
- "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
- "identifier": [
- {
- "value": "Etest",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
- },
- {
- "value": "2.16.1",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "type": {
- "coding": [
- {
- "code": "HCD",
- "display": "The CEN Healthcare Coding Scheme Designator",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
- }
- },
- {
- "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "resource": {
- "resourceType": "EpisodeOfCare",
- "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
- "identifier": [
- {
- "value": "EOC124",
- "type": {
- "coding": [
- {
- "code": "MR",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "Medical record number"
- }
- ]
- },
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "assigner": {
- "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
- }
- }
- ],
- "patient": {
- "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
- }
- },
- "request": {
- "method": "PUT",
- "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
- }
- },
- {
- "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
- "resource": {
- "resourceType": "Encounter",
- "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
- "class": {
- "code": "PRENC",
- "display": "pre-admission",
- "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
- },
- "status": "planned",
- "location": [
- {
- "status": "planned",
- "location": {
- "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- }
- ],
- "type": [
- {
- "coding": [
- {
- "code": "E",
- "display": "Emergency",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
- }
- ]
- }
- ],
- "hospitalization": {
- "preAdmissionIdentifier": {
- "value": "1234567",
- "type": {
- "coding": [
- {
- "code": "ANON",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "Anonymous identifier"
- }
- ]
- },
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "assigner": {
- "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
- },
- "period": {
- "start": "1924-10-11",
- "end": "1924-10-12"
- }
- },
- "reAdmission": {
- "coding": [
- {
- "code": "R",
- "display": "Re-admission",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
- }
- ]
- },
- "admitSource": {
- "coding": [
- {
- "code": "NHS Provider-General (inc.A&E-this Hosp)"
- }
- ]
- },
- "dischargeDisposition": {
- "coding": [
- {
- "code": "Admitted as Inpatient",
- "display": "Sample",
- "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
- }
- ]
- },
- "dietPreference": [
- {
- "coding": [
- {
- "code": "Vegan",
- "display": "Vegetarian"
- }
- ]
- }
- ],
- "destination": {
- "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
- }
- },
- "episodeOfCare": [
- {
- "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
- }
- ],
- "participant": [
- {
- "type": [
- {
- "coding": [
- {
- "code": "ATND",
- "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
- "display": "attender"
- }
- ]
- }
- ],
- "individual": {
- "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
- }
- },
- {
- "type": [
- {
- "coding": [
- {
- "code": "REF",
- "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
- }
- ],
- "text": "referrer"
- }
- ],
- "individual": {
- "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
- }
- },
- {
- "type": [
- {
- "coding": [
- {
- "code": "CON",
- "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
- }
- ],
- "text": "consultant"
- }
- ],
- "individual": {
- "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
- }
- },
- {
- "type": [
- {
- "coding": [
- {
- "code": "ADM",
- "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
- }
- ],
- "text": "admitter"
- }
- ],
- "individual": {
- "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
- }
- },
- {
- "type": [
- {
- "coding": [
- {
- "code": "PART",
- "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
- }
- ],
- "text": "Participation"
- }
- ],
- "individual": {
- "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
- }
- }
- ],
- "serviceType": {
- "coding": [
- {
- "code": "SUR"
- }
- ]
- },
- "identifier": [
- {
- "value": "40007716",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
- "assigner": {
- "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
- },
- "type": {
- "coding": [
- {
- "code": "VN",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
- }
- ],
- "text": "visit number"
- }
- },
- {
- "value": "50",
- "type": {
- "coding": [
- {
- "code": "MR",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "Medical record number"
- }
- ]
- },
- "system": "urn:oid:r2.3",
- "assigner": {
- "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
- }
- }
- ],
- "period": {
- "start": "2015-02-08T15:54:19+05:30"
- },
- "text": {
- "status": "generated",
- "div": ""
- },
- "subject": {
- "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
- }
- },
- "request": {
- "method": "PUT",
- "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
- }
- },
- {
- "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
- "resource": {
- "resourceType": "Provenance",
- "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
- "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
- "recorded": "2029-08-01T11:21:24+05:30",
- "reason": [
- {
- "coding": [
- {
- "code": "PATRQT",
- "display": "patient requested",
- "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
- }
- ]
- }
- ],
- "agent": [
- {
- "who": {
- "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
- }
- }
- ],
- "activity": {
- "text": "ADT^A28^ADT_A28"
- },
- "location": {
- "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
- },
- "target": [
- {
- "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
- }
- },
- {
- "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
- "resource": {
- "resourceType": "Organization",
- "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
- "identifier": [
- {
- "value": "DRNBR",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
- },
- {
- "value": "urn:oid:W1.2",
- "system": "urn:ietf:rfc:3986",
- "type": {
- "coding": [
- {
- "code": "ISO",
- "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
- }
- },
- {
- "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
- "resource": {
- "resourceType": "Practitioner",
- "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
- "identifier": [
- {
- "value": "C08",
- "system": "urn:oid:W1.2",
- "assigner": {
- "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
- },
- "type": {
- "coding": [
- {
- "code": "ANON",
- "display": "Anonymous identifier",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
- }
- ]
- }
- }
- ],
- "name": [
- {
- "family": "Woolfson",
- "given": [
- "Kathleen",
- "2ndname"
- ],
- "suffix": [
- "Jr",
- "MD"
- ],
- "prefix": [
- "Dr"
- ],
- "use": "official"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
- }
- },
- {
- "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
- "resource": {
- "resourceType": "Location",
- "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
- "name": "Cona_Health",
- "identifier": [
- {
- "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
- "system": "urn:ietf:rfc:3986"
- }
- ],
- "physicalType": {
- "coding": [
- {
- "code": "si",
- "display": "site",
- "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
- }
- ]
- }
- },
- "request": {
- "method": "PUT",
- "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
- }
- }
- ]
-}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json
new file mode 100644
index 000000000..afce2ef53
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-01-expected.json
@@ -0,0 +1,2890 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00001"
+ },
+ "id": "513a3d06-5e87-6fbc-ad1b-170ab430499f",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "b4ca189b-51ae-33df-cbe2-559b4423a321",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20",
+ "version": "2.4.3.52854",
+ "software": "Rhapsody"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "A29",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ADT^A29^ADT_A29"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T10:37:54.011Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ADT^A29^ADT_A29"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:503eb873-22fb-8199-ae28-3604ad59fe13",
+ "resource": {
+ "resourceType": "Device",
+ "id": "503eb873-22fb-8199-ae28-3604ad59fe13",
+ "identifier": [
+ {
+ "value": "ADTApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "resource": {
+ "resourceType": "Device",
+ "id": "4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "manufacturer": "Orion",
+ "deviceName": [
+ {
+ "name": "Rhapsody",
+ "type": "manufacturer-name"
+ }
+ ],
+ "version": [
+ {
+ "value": "2.4.3.52854"
+ }
+ ],
+ "modelNumber": "2.4.3",
+ "note": [
+ {
+ "text": "Testactivity"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ },
+ {
+ "value": "DB123",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:1.12",
+ "assigner": {
+ "reference": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "generalPractitioner": [
+ {
+ "reference": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11"
+ },
+ {
+ "reference": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d"
+ }
+ ],
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/VeteranMilitaryStatus",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "Vet123",
+ "display": "retired",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ART"
+ }
+ ],
+ "text": "retired"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension": [
+ {
+ "url": "species",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "125097000",
+ "display": "Goat",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Goat"
+ }
+ },
+ {
+ "url": "breed",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "4880003",
+ "display": "Beagle",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Beagle"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "BT",
+ "display": "Bhutan",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Bhutan"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation",
+ "valueString": "Methodist Church"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-importance",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "VIP",
+ "display": "Very Important Person",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "v1.1"
+ },
+ {
+ "code": "IMP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM",
+ "version": "v1.2"
+ }
+ ],
+ "text": "Inportant Person"
+ }
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/patient-disabilityIndicator",
+ "valueBoolean": true
+ },
+ {
+ "url": "http://example.com/v2-to-fhir-converter/StructureDefinition/DisabilityPeriod",
+ "valuePeriod": {
+ "start": "2021-08-30",
+ "end": "2021-09-30"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11",
+ "name": "LINDAS TEST ORGANIZATION",
+ "identifier": [
+ {
+ "value": "SIISCLIENT818"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/4d8d5b11-b84d-f4a3-f55a-cedc2ab2bc11"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:76aaad38-1077-6a5c-0c5c-102ec160a60d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "76aaad38-1077-6a5c-0c5c-102ec160a60d",
+ "identifier": [
+ {
+ "value": "88",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE",
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippo",
+ "given": [
+ "rold",
+ "H"
+ ],
+ "suffix": [
+ "V",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Practitioner/76aaad38-1077-6a5c-0c5c-102ec160a60d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "11967e28-8dd4-a112-0fdc-377866bf12a0",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "2.16.840.1.113883.19",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "7452d91f-ae92-d8ce-5b4a-148be5b6538e",
+ "identifier": [
+ {
+ "value": "AccMng",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMng"
+ },
+ {
+ "value": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0ccb76ca-b97e-1c86-4617-912a6d65c1f9",
+ "identifier": [
+ {
+ "value": "PERSONNELt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSONNELt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f6775f99-5279-be04-bf81-0906c81f7443",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f6775f99-5279-be04-bf81-0906c81f7443",
+ "identifier": [
+ {
+ "value": "1122334",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Alaz",
+ "given": [
+ "Mohammed",
+ "Mahi"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c613d7b2-525f-8c08-a7ac-b2b91486e257",
+ "identifier": [
+ {
+ "value": "TEST",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TEST"
+ },
+ {
+ "value": "23.2",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "04f8cfc8-62ca-12df-63ce-6304ef577d44",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BA",
+ "display": "Bank Account Number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "anonymous"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "99edcabd-fbeb-7e25-f823-11da8d8ed342",
+ "identifier": [
+ {
+ "value": "C008",
+ "system": "urn:oid:2.8",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Condoc",
+ "given": [
+ "leen"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "temp"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "b065b233-8738-f1ec-1314-d61e4aac2c9e",
+ "identifier": [
+ {
+ "value": "37",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "ANC",
+ "display": "Account number Creditor",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "DISNEY",
+ "given": [
+ "WALT"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9f974d4f-47e8-21a6-e549-4de4599c3764",
+ "identifier": [
+ {
+ "value": "T123",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-T123"
+ },
+ {
+ "value": "urn:oid:r2.3",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "84aa3f43-eefe-c16a-90e0-8ebf2306a77d",
+ "identifier": [
+ {
+ "value": "Othhel",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "24d4bddf-a1c3-4dc8-049b-1dda7e5112b6",
+ "identifier": [
+ {
+ "value": "TE",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-TE"
+ },
+ {
+ "value": "Provider Master.Community Health and Hospitals",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "type": {
+ "coding": [
+ {
+ "code": "DNS",
+ "display": "An Internet host name, in accordance with RFC 1035; or an IP address. Either in ASCII or as integers, with periods between components (“dotted” notation).",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "36e3aaa4-569a-7d9d-037f-27235ed05701",
+ "identifier": [
+ {
+ "value": "12188",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-DNS",
+ "assigner": {
+ "reference": "Organization/24d4bddf-a1c3-4dc8-049b-1dda7e5112b6"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "DN",
+ "display": "Doctor number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Hippocrates",
+ "given": [
+ "Harold",
+ "H"
+ ],
+ "suffix": [
+ "IV",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9172e4a0-1ca5-646d-2183-b179f4daa737",
+ "partOf": {
+ "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ },
+ "name": "HUH AE OMU",
+ "identifier": [
+ {
+ "value": "urn:oid:9.8",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3913ec4d-6576-5e1a-ac31-e8280583371c",
+ "partOf": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ },
+ "name": "OMU B",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b",
+ "partOf": {
+ "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
+ },
+ "name": "Bed 03",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
+ "name": "HOMERTON UNIVER",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c",
+ "partOf": {
+ "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
+ },
+ "name": "Homerton UH",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "7e38808c-44a8-cb0c-4709-9d6092abc32c",
+ "partOf": {
+ "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
+ },
+ "name": "Floor5",
+ "mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
+ "name": "4 East, room 136, bed B 4E",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e",
+ "partOf": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "name": "136",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5783dafa-c6c0-e673-cca4-42087ee1831b",
+ "partOf": {
+ "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
+ },
+ "name": "B",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
+ "name": "CommunityHospital",
+ "mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "resource": {
+ "resourceType": "Location",
+ "id": "42b81572-ebb4-3f14-7a91-e1f9a9c70460",
+ "name": "Homes",
+ "identifier": [
+ {
+ "value": "22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/FDK"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:84634858-74aa-5cdb-4547-60ec27339ac6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "84634858-74aa-5cdb-4547-60ec27339ac6",
+ "name": "POC",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42",
+ "partOf": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "name": "Room-2",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:35353f20-6254-e794-98ed-8007490447e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "35353f20-6254-e794-98ed-8007490447e3",
+ "partOf": {
+ "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
+ },
+ "name": "Bed-103",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/35353f20-6254-e794-98ed-8007490447e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:055e10f1-222e-df73-2325-0e4396db1a55",
+ "resource": {
+ "resourceType": "Location",
+ "id": "055e10f1-222e-df73-2325-0e4396db1a55",
+ "name": "Greenland",
+ "mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
+ "name": "Nursing home",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "resource": {
+ "resourceType": "Location",
+ "id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
+ "name": "Rosewood",
+ "mode": "instance",
+ "description": "Nursing home--Rosewood",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6f159848-5f01-01b3-9594-80fbbe9ab510",
+ "partOf": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "name": "BED1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08314073-410a-3dc7-512c-0f2d206fb59d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08314073-410a-3dc7-512c-0f2d206fb59d",
+ "identifier": [
+ {
+ "value": "Etest",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-Etest"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "resource": {
+ "resourceType": "EpisodeOfCare",
+ "id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
+ "status": "planned",
+ "identifier": [
+ {
+ "value": "EOC124",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
+ }
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "4b192760-03d2-aec4-b0a6-fde323912e1e",
+ "class": {
+ "code": "PRENC",
+ "display": "pre-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "planned",
+ "location": [
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": true
+ }
+ ]
+ },
+ {
+ "status": "planned",
+ "location": {
+ "reference": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "E",
+ "display": "Emergency",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0007"
+ }
+ ]
+ }
+ ],
+ "hospitalization": {
+ "preAdmissionIdentifier": {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Anonymous identifier"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ "reAdmission": {
+ "coding": [
+ {
+ "code": "R",
+ "display": "Re-admission",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0092"
+ }
+ ]
+ },
+ "admitSource": {
+ "coding": [
+ {
+ "code": "NHS Provider-General (inc.A&E-this Hosp)"
+ }
+ ]
+ },
+ "dischargeDisposition": {
+ "coding": [
+ {
+ "code": "Admitted as Inpatient",
+ "display": "Sample",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ACR"
+ }
+ ]
+ },
+ "dietPreference": [
+ {
+ "coding": [
+ {
+ "code": "Vegan",
+ "display": "Vegetarian"
+ }
+ ]
+ }
+ ],
+ "destination": {
+ "reference": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
+ }
+ },
+ "episodeOfCare": [
+ {
+ "reference": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "PART",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "Participation"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/36e3aaa4-569a-7d9d-037f-27235ed05701"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "SUR"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "40007716",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ },
+ {
+ "value": "50",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "urn:oid:r2.3",
+ "assigner": {
+ "reference": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
+ }
+ }
+ ],
+ "period": {
+ "start": "2015-02-08T15:54:19+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "140004",
+ "display": "Chronic pharyngitis",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "length": {
+ "value": 2,
+ "unit": "d",
+ "system": "http://unitsofmeasure.org/"
+ },
+ "meta": {
+ "security": [
+ {
+ "code": "N",
+ "display": "normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": "Visit Description: Health Checkup
"
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.2"
+ },
+ {
+ "code": "EL",
+ "display": "elective",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
+ "version": "V1.3"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "C",
+ "display": "Car",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c",
+ "occurredDateTime": "2021-08-17T18:49:43.004+05:30",
+ "recorded": "2029-08-01T11:21:24+05:30",
+ "reason": [
+ {
+ "coding": [
+ {
+ "code": "PATRQT",
+ "display": "patient requested",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
+ }
+ ]
+ }
+ ],
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ }
+ ],
+ "activity": {
+ "text": "ADT^A29^ADT_A29"
+ },
+ "location": {
+ "reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ },
+ "target": [
+ {
+ "reference": "Bundle/513a3d06-5e87-6fbc-ad1b-170ab430499f"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ef39f581-5e8f-3917-35a9-3443303d9eee",
+ "identifier": [
+ {
+ "value": "DRNBR",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR"
+ },
+ {
+ "value": "urn:oid:W1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "95aea53b-8d49-d57f-d16f-4d14b914f992",
+ "identifier": [
+ {
+ "value": "C08",
+ "system": "urn:oid:W1.2",
+ "assigner": {
+ "reference": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "ANON",
+ "display": "Anonymous identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen",
+ "2ndname"
+ ],
+ "suffix": [
+ "Jr",
+ "MD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59d5e519-0108-5dd8-adfa-1eef5658009e",
+ "name": "Cona_Health",
+ "identifier": [
+ {
+ "value": "urn:oid:1.3.6.1.4.1.44750.1.4",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "code": "si",
+ "display": "site",
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4e68b44e-c053-02b1-6d6d-fe816f9fdfec",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4e68b44e-c053-02b1-6d6d-fe816f9fdfec",
+ "identifier": [
+ {
+ "value": "t",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-t"
+ },
+ {
+ "value": "urn:oid:1.12",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/4e68b44e-c053-02b1-6d6d-fe816f9fdfec"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "identifier": [
+ {
+ "value": "PERSt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "identifier": [
+ {
+ "value": "1134",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Aly",
+ "given": [
+ "Zafar",
+ "Mahendra"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "identifier": [
+ {
+ "value": "2234"
+ }
+ ],
+ "name": [
+ {
+ "family": "Pauly",
+ "given": [
+ "Berrie",
+ "Raud"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "resource": {
+ "resourceType": "Device",
+ "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "identifier": [
+ {
+ "value": "EI12.3",
+ "system": "urn:uuid:UI2",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ },
+ {
+ "system": "urn:oid:UI1",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "identifier": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "MD-25"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "LabMedicalDirector",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ },
+ "organization": {
+ "reference": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25"
+ }
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:056aa7c7-6b75-3c67-63c5-cf9604f16d25",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "056aa7c7-6b75-3c67-63c5-cf9604f16d25",
+ "name": "FairOaks Hspital",
+ "address": [
+ {
+ "line": [
+ "Research Park",
+ "Fairfax"
+ ],
+ "city": "VA",
+ "state": "22031",
+ "postalCode": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Organization/056aa7c7-6b75-3c67-63c5-cf9604f16d25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "identifier": [
+ {
+ "value": "EI21",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII"
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "FILL"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "unknown",
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "component": [
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 60,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ]
+ },
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 120,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ]
+ }
+ ],
+ "effectiveDateTime": "1999-07-02",
+ "method": {
+ "coding": [
+ {
+ "code": "OBS",
+ "display": "This is test method",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AS4"
+ }
+ ]
+ },
+ "device": {
+ "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BU",
+ "display": "Observation site",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5"
+ }
+ ]
+ },
+ "performer": [
+ {
+ "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ },
+ {
+ "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ },
+ {
+ "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "A",
+ "display": "Abnormal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "B",
+ "display": "Better",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "S",
+ "display": "Partial",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Partial"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "DELETE",
+ "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json
similarity index 91%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-expected-2.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json
index a5c546212..b68900756 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A05/ADT-A05-expected-2.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A29/ADT-A29-02-expected.json
@@ -40,9 +40,9 @@
]
},
"eventCoding": {
- "code": "A05",
+ "code": "A29",
"system": "http://terminology.hl7.org/CodeSystem/v2-0003",
- "display": "ADT^A05^ADT_A05"
+ "display": "ADT^A29^ADT_A29"
},
"language": "en-US",
"sender": {
@@ -53,18 +53,18 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "MessageHeader/b4ca189b-51ae-33df-cbe2-559b4423a321"
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T12:59:26.319Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A05.
"
+ "div": "Resource bundle generated on 2021-10-29T10:38:29.719Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A29.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -86,7 +86,7 @@
"activity": {
"coding": [
{
- "display": "ADT^A05^ADT_A05"
+ "display": "ADT^A29^ADT_A29"
}
]
},
@@ -105,8 +105,8 @@
]
},
"request": {
- "method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "method": "DELETE",
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -143,7 +143,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
}
},
@@ -181,7 +181,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
}
},
@@ -193,7 +193,7 @@
"name": "22 GHH Inc."
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
}
},
@@ -205,7 +205,7 @@
"name": "23 GHH Inc."
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
}
},
@@ -221,7 +221,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Device/503eb873-22fb-8199-ae28-3604ad59fe13"
}
},
@@ -630,7 +630,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
}
},
@@ -669,7 +669,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Account/78295402-9b84-4829-b945-502ab3402de5"
}
},
@@ -699,7 +699,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
}
},
@@ -729,7 +729,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
}
},
@@ -759,7 +759,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
}
},
@@ -805,7 +805,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
}
},
@@ -835,7 +835,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/11967e28-8dd4-a112-0fdc-377866bf12a0"
}
},
@@ -865,7 +865,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/7452d91f-ae92-d8ce-5b4a-148be5b6538e"
}
},
@@ -895,7 +895,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/0ccb76ca-b97e-1c86-4617-912a6d65c1f9"
}
},
@@ -945,7 +945,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Practitioner/f6775f99-5279-be04-bf81-0906c81f7443"
}
},
@@ -975,7 +975,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/c613d7b2-525f-8c08-a7ac-b2b91486e257"
}
},
@@ -1016,7 +1016,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Practitioner/04f8cfc8-62ca-12df-63ce-6304ef577d44"
}
},
@@ -1054,7 +1054,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Practitioner/99edcabd-fbeb-7e25-f823-11da8d8ed342"
}
},
@@ -1088,7 +1088,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Practitioner/b065b233-8738-f1ec-1314-d61e4aac2c9e"
}
},
@@ -1118,7 +1118,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/9f974d4f-47e8-21a6-e549-4de4599c3764"
}
},
@@ -1135,7 +1135,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Practitioner/84aa3f43-eefe-c16a-90e0-8ebf2306a77d"
}
},
@@ -1155,6 +1155,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1165,7 +1166,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
@@ -1179,6 +1180,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1189,7 +1191,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
}
},
@@ -1203,6 +1205,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1213,7 +1216,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
}
},
@@ -1224,6 +1227,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1234,7 +1238,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
}
},
@@ -1248,6 +1252,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1258,7 +1263,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
}
},
@@ -1272,6 +1277,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1282,7 +1288,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
}
},
@@ -1293,6 +1299,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1303,7 +1310,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/59de4aa7-44c6-860a-88ad-53ae51ef49e8"
}
},
@@ -1317,6 +1324,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1327,7 +1335,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
}
},
@@ -1341,6 +1349,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1351,7 +1360,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
}
},
@@ -1362,6 +1371,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1372,7 +1382,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
}
},
@@ -1398,7 +1408,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/42b81572-ebb4-3f14-7a91-e1f9a9c70460"
}
},
@@ -1409,6 +1419,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1419,7 +1430,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/84634858-74aa-5cdb-4547-60ec27339ac6"
}
},
@@ -1433,6 +1444,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1443,7 +1455,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
}
},
@@ -1457,6 +1469,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1467,7 +1480,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/35353f20-6254-e794-98ed-8007490447e3"
}
},
@@ -1478,6 +1491,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1488,7 +1502,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
}
},
@@ -1499,6 +1513,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1509,7 +1524,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/1154e6b2-b022-b3be-7dce-2b940ab5376d"
}
},
@@ -1520,6 +1535,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1530,7 +1546,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
}
},
@@ -1560,7 +1576,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/08314073-410a-3dc7-512c-0f2d206fb59d"
}
},
@@ -1593,7 +1609,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "EpisodeOfCare/919a86bd-c9a1-86a7-2c9d-e34ae2559ffb"
}
},
@@ -1615,36 +1631,6 @@
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1657,42 +1643,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -1705,42 +1655,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -1752,18 +1666,6 @@
"valueBoolean": true
}
]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
}
],
"type": [
@@ -1977,7 +1879,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Encounter/4b192760-03d2-aec4-b0a6-fde323912e1e"
}
},
@@ -2007,7 +1909,7 @@
}
],
"activity": {
- "text": "ADT^A05^ADT_A05"
+ "text": "ADT^A29^ADT_A29"
},
"location": {
"reference": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
@@ -2019,7 +1921,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Provenance/9f6be243-c2fa-f8c8-0a7a-d168e98bdd4c"
}
},
@@ -2049,7 +1951,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Organization/ef39f581-5e8f-3917-35a9-3443303d9eee"
}
},
@@ -2095,7 +1997,7 @@
]
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Practitioner/95aea53b-8d49-d57f-d16f-4d14b914f992"
}
},
@@ -2122,7 +2024,7 @@
}
},
"request": {
- "method": "PUT",
+ "method": "DELETE",
"url": "Location/59d5e519-0108-5dd8-adfa-1eef5658009e"
}
}
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json
similarity index 95%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json
index 7cc3b4ad4..e6daf4f2c 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-01-expected.json
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:35:27.489Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.
"
+ "div": "Resource bundle generated on 2021-10-29T10:39:28.104Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1649,6 +1649,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1673,6 +1674,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1697,6 +1699,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1718,6 +1721,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1742,6 +1746,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1766,6 +1771,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1787,6 +1793,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1811,6 +1818,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1835,6 +1843,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1856,6 +1865,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1903,6 +1913,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1927,6 +1938,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1951,6 +1963,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1972,6 +1985,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1993,6 +2007,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2014,6 +2029,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -2041,6 +2057,7 @@
}
],
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2065,6 +2082,7 @@
},
"name": "BED1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2086,6 +2104,7 @@
"id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
"name": "FACILITY1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2110,6 +2129,7 @@
},
"name": "BUILDING1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2134,6 +2154,7 @@
},
"name": "FLOOR1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -2183,7 +2204,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "finished",
"identifier": [
{
"value": "EOC124",
@@ -2238,7 +2259,7 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "finished",
"location": [
{
"status": "planned",
@@ -2246,36 +2267,6 @@
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -2288,42 +2279,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2336,42 +2291,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -2384,18 +2303,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2407,54 +2314,6 @@
"valueBoolean": false
}
]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
}
],
"type": [
@@ -2673,7 +2532,8 @@
}
],
"period": {
- "start": "2015-02-08T15:54:19+05:30"
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
},
"reasonCode": [
{
@@ -3018,6 +2878,7 @@
"id": "a9c75502-d60a-d89b-5912-f046100cd47e",
"name": "OT",
"mode": "instance",
+ "description": "OT--201",
"physicalType": {
"coding": [
{
@@ -3032,6 +2893,31 @@
"url": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
}
},
+ {
+ "fullUrl": "urn:uuid:55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55f70355-863d-579a-b4aa-81fcaf3e1fb0",
+ "partOf": {
+ "reference": "Location/a9c75502-d60a-d89b-5912-f046100cd47e"
+ },
+ "name": "201",
+ "mode": "instance",
+ "description": "OT--201",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55f70355-863d-579a-b4aa-81fcaf3e1fb0"
+ }
+ },
{
"fullUrl": "urn:uuid:2e2e33a1-60f8-7e38-c827-fe070237c3fb",
"resource": {
@@ -3987,6 +3873,9 @@
]
}
],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
"extension": [
{
"url": "http://example.com/v2-to-fhir-converter/Observation_Status",
@@ -4356,19 +4245,6 @@
},
"system": "http://www.examplehealthplan.com/fhir/policyidentifier"
},
- {
- "value": "HMO-12345",
- "type": {
- "coding": [
- {
- "code": "NI",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
- "display": "National unique individual identifier"
- }
- ]
- },
- "system": "urn:oid:2.16.840.1.113883.1.3"
- },
{
"value": "Medicare-12345",
"type": {
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json
similarity index 93%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-expected-2.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json
index 7ee03f6c5..86934d692 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-expected-2.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A31/ADT-A31-02-expected.json
@@ -58,13 +58,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:34:28.183Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.
"
+ "div": "Resource bundle generated on 2021-10-29T10:40:08.921Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A31.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -106,7 +106,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1155,6 +1155,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1179,6 +1180,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1203,6 +1205,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1224,6 +1227,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1248,6 +1252,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1272,6 +1277,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1293,6 +1299,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1317,6 +1324,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1341,6 +1349,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1362,6 +1371,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1409,6 +1419,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1433,6 +1444,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1457,6 +1469,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1478,6 +1491,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1499,6 +1513,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1520,6 +1535,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1615,36 +1631,6 @@
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1657,42 +1643,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -1705,42 +1655,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -1752,18 +1666,6 @@
"valueBoolean": true
}
]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
}
],
"type": [
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json
similarity index 99%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json
index 94fc085b7..5fb4e7d51 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-01-expected.json
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:36:45.495Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.
"
+ "div": "Resource bundle generated on 2021-10-29T10:43:14.216Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json
similarity index 99%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-expected-2.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json
index 51634859b..9c25e84ad 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-expected-2.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A47/ADT-A47-02-expected.json
@@ -58,13 +58,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:36:10.646Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.
"
+ "div": "Resource bundle generated on 2021-10-29T10:46:15.345Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A47.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -106,7 +106,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json
similarity index 93%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-expected.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json
index 41db51003..f592f413d 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-01-expected.json
@@ -60,13 +60,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:38:14.075Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.
"
+ "div": "Resource bundle generated on 2021-10-29T10:46:47.034Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -108,7 +108,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
@@ -1261,6 +1261,7 @@
}
],
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1285,6 +1286,7 @@
},
"name": "OMU B",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1309,6 +1311,7 @@
},
"name": "Bed 03",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1330,6 +1333,7 @@
"id": "c043880b-0fab-1cb8-14f7-0475282c4d0e",
"name": "HOMERTON UNIVER",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1354,6 +1358,7 @@
},
"name": "Homerton UH",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1378,6 +1383,7 @@
},
"name": "Floor5",
"mode": "instance",
+ "description": "HUH AE OMU--9.8--ISO--OMU B--Bed 03--HOMERTON UNIVER--C--Homerton UH--Floor5",
"physicalType": {
"coding": [
{
@@ -1399,6 +1405,7 @@
"id": "59de4aa7-44c6-860a-88ad-53ae51ef49e8",
"name": "4 East, room 136, bed B 4E",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1423,6 +1430,7 @@
},
"name": "136",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1447,6 +1455,7 @@
},
"name": "B",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1468,6 +1477,7 @@
"id": "8b39e6e5-78cd-63ab-2441-f43ca5554096",
"name": "CommunityHospital",
"mode": "instance",
+ "description": "4 East, room 136, bed B 4E--136--B--CommunityHospital--N",
"physicalType": {
"coding": [
{
@@ -1515,6 +1525,7 @@
"id": "84634858-74aa-5cdb-4547-60ec27339ac6",
"name": "POC",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1539,6 +1550,7 @@
},
"name": "Room-2",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1563,6 +1575,7 @@
},
"name": "Bed-103",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1584,6 +1597,7 @@
"id": "055e10f1-222e-df73-2325-0e4396db1a55",
"name": "Greenland",
"mode": "instance",
+ "description": "POC--Room-2--Bed-103--C--Greenland",
"physicalType": {
"coding": [
{
@@ -1605,6 +1619,7 @@
"id": "1154e6b2-b022-b3be-7dce-2b940ab5376d",
"name": "Nursing home",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1626,6 +1641,7 @@
"id": "08b7f694-ec03-e35a-d0b0-2fae5940fe37",
"name": "Rosewood",
"mode": "instance",
+ "description": "Nursing home--Rosewood",
"physicalType": {
"coding": [
{
@@ -1653,6 +1669,7 @@
}
],
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1677,6 +1694,7 @@
},
"name": "BED1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1698,6 +1716,7 @@
"id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
"name": "FACILITY1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1722,6 +1741,7 @@
},
"name": "BUILDING1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1746,6 +1766,7 @@
},
"name": "FLOOR1",
"mode": "instance",
+ "description": "ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--BED1--FACILITY1--BUILDING1--FLOOR1",
"physicalType": {
"coding": [
{
@@ -1795,7 +1816,7 @@
"resource": {
"resourceType": "EpisodeOfCare",
"id": "919a86bd-c9a1-86a7-2c9d-e34ae2559ffb",
- "status": "planned",
+ "status": "finished",
"identifier": [
{
"value": "EOC124",
@@ -1833,7 +1854,7 @@
"display": "pre-admission",
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
},
- "status": "planned",
+ "status": "finished",
"location": [
{
"status": "planned",
@@ -1841,36 +1862,6 @@
"reference": "Location/9172e4a0-1ca5-646d-2183-b179f4daa737"
}
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/3913ec4d-6576-5e1a-ac31-e8280583371c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/804a03f1-4eb5-d01d-82f9-0d4b52a9ea3b"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/c043880b-0fab-1cb8-14f7-0475282c4d0e"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/f7ef3d02-a5d5-a361-e9d9-b316ba1ff78c"
- }
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/7e38808c-44a8-cb0c-4709-9d6092abc32c"
- }
- },
{
"status": "completed",
"location": {
@@ -1883,42 +1874,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/d5dd2e32-efbc-854a-cf3c-2bd6a7ff075e"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/5783dafa-c6c0-e673-cca4-42087ee1831b"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "completed",
- "location": {
- "reference": "Location/8b39e6e5-78cd-63ab-2441-f43ca5554096"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -1931,42 +1886,6 @@
}
]
},
- {
- "status": "planned",
- "location": {
- "reference": "Location/9bbd3aa6-8cb1-1abe-2b2a-9f320c263b42"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/35353f20-6254-e794-98ed-8007490447e3"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/055e10f1-222e-df73-2325-0e4396db1a55"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
{
"status": "completed",
"location": {
@@ -1979,18 +1898,6 @@
}
]
},
- {
- "status": "completed",
- "location": {
- "reference": "Location/08b7f694-ec03-e35a-d0b0-2fae5940fe37"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": true
- }
- ]
- },
{
"status": "planned",
"location": {
@@ -2002,54 +1909,6 @@
"valueBoolean": false
}
]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/6f159848-5f01-01b3-9594-80fbbe9ab510"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
- },
- {
- "status": "planned",
- "location": {
- "reference": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
- },
- "extension": [
- {
- "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
- "valueBoolean": false
- }
- ]
}
],
"type": [
@@ -2268,7 +2127,8 @@
}
],
"period": {
- "start": "2015-02-08T15:54:19+05:30"
+ "start": "2015-02-08T15:54:19+05:30",
+ "end": "2015-02-09T15:54:19+05:30"
},
"reasonCode": [
{
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-expected-2.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json
similarity index 99%
rename from src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-expected-2.json
rename to src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json
index 5956c616a..48a9962fd 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-expected-2.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ADT_A60/ADT-A60-02-expected.json
@@ -58,13 +58,13 @@
}
},
{
- "fullUrl": "urn:uuid:f65d2168-02c8-1897-210d-361176172856",
+ "fullUrl": "urn:uuid:0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"resource": {
"resourceType": "Provenance",
- "id": "f65d2168-02c8-1897-210d-361176172856",
+ "id": "0a7545d7-202f-96e5-31e9-bb7d27ade3c2",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:37:39.013Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.
"
+ "div": "Resource bundle generated on 2021-10-29T10:47:28.446Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ADT_A60.
"
},
"occurredDateTime": "1989-08-18T14:41:00+05:30",
"recorded": "1989-08-18T14:41:00+05:30",
@@ -106,7 +106,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/f65d2168-02c8-1897-210d-361176172856"
+ "url": "Provenance/0a7545d7-202f-96e5-31e9-bb7d27ade3c2"
}
},
{
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json
new file mode 100644
index 000000000..117382a80
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-01-expected.json
@@ -0,0 +1,825 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2008-01-31T19:15:00+05:30",
+ "identifier": {
+ "value": "PS1-20080131160038"
+ },
+ "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "f6276090-3778-3e87-dab9-2c9dae838d1a",
+ "source": {
+ "name": "PROSOLV",
+ "_endpoint": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ }
+ ]
+ },
+ "version": "2.4.3.52854",
+ "software": "Rhapsody"
+ },
+ "destination": [
+ {
+ "name": "SYSTEM",
+ "_endpoint": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ }
+ ]
+ },
+ "receiver": {
+ "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ }
+ ],
+ "meta": {
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "T02",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "MDM^T02"
+ },
+ "sender": {
+ "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "62e243a9-2299-8d17-3755-2ea9dcea5246",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T09:01:41.469Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.
"
+ },
+ "occurredDateTime": "2008-01-31T19:15:00+05:30",
+ "recorded": "2008-01-31T19:15:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "MDM^T02^"
+ }
+ ]
+ },
+ "target": [
+ {
+ "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a546f42b-2f91-c12a-4596-67ce49a595d9",
+ "identifier": [
+ {
+ "value": "XYZHOSPITAL",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "resource": {
+ "resourceType": "Device",
+ "id": "4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "manufacturer": "Orion",
+ "deviceName": [
+ {
+ "name": "Rhapsody",
+ "type": "manufacturer-name"
+ }
+ ],
+ "version": [
+ {
+ "value": "2.4.3.52854"
+ }
+ ],
+ "modelNumber": "2.4.3",
+ "note": [
+ {
+ "text": "Testactivity"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "63520aa7-562e-9367-0c96-f8f720c3a418",
+ "recorded": "2008-01-31T19:15:00+05:30",
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf"
+ }
+ }
+ ],
+ "activity": {
+ "text": "MDM^T02"
+ },
+ "target": [
+ {
+ "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "983f747a-cf80-25e8-0431-719272f56adf",
+ "identifier": [
+ {
+ "value": "C08"
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "073b77fa-7722-30cf-cd8f-218a179da613",
+ "identifier": [
+ {
+ "value": "987654321"
+ },
+ {
+ "value": "987654321"
+ },
+ {
+ "value": "111-22-3333",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ }
+ ],
+ "name": [
+ {
+ "family": "PROSOLV",
+ "given": [
+ "SAMPLE"
+ ]
+ }
+ ],
+ "birthDate": "1972-12-01",
+ "gender": "male"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b",
+ "resource": {
+ "resourceType": "Account",
+ "id": "53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b",
+ "identifier": [
+ {
+ "value": "10000001"
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f91b9450-5b30-513c-e992-770d60ebccca",
+ "identifier": [
+ {
+ "value": "1234"
+ }
+ ],
+ "name": [
+ {
+ "family": "HIPPOCRATES",
+ "given": [
+ "KOS"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16",
+ "identifier": [
+ {
+ "value": "9099"
+ }
+ ],
+ "name": [
+ {
+ "family": "KEVORKIAN",
+ "given": [
+ "JACK"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62",
+ "identifier": [
+ {
+ "value": "8888"
+ }
+ ],
+ "name": [
+ {
+ "family": "HOUSE",
+ "given": [
+ "GREGORY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b4c8d42e-dbcb-9290-7593-7586f4b5d0c9",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b4c8d42e-dbcb-9290-7593-7586f4b5d0c9",
+ "name": "CCU",
+ "mode": "instance",
+ "description": "CCU--2003--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2",
+ "partOf": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ },
+ "name": "2000",
+ "mode": "instance",
+ "description": "CCU--2000--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b2d5327c-354a-b91d-541d-c6b0fe91a841",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b2d5327c-354a-b91d-541d-c6b0fe91a841",
+ "partOf": {
+ "reference": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177"
+ },
+ "name": "1",
+ "mode": "instance",
+ "description": "CCU--2003--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b2d5327c-354a-b91d-541d-c6b0fe91a841"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:66fd3f3f-1ed8-35f5-002d-40ca03271177",
+ "resource": {
+ "resourceType": "Location",
+ "id": "66fd3f3f-1ed8-35f5-002d-40ca03271177",
+ "partOf": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ },
+ "name": "2003",
+ "mode": "instance",
+ "description": "CCU--2003--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6",
+ "class": {
+ "code": "IMP",
+ "display": "inpatient encounter",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62"
+ }
+ }
+ ],
+ "identifier": [
+ {
+ "value": "10000001",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ }
+ ],
+ "text": {
+ "status": "generated",
+ "div": ""
+ },
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758",
+ "resource": {
+ "resourceType": "DocumentReference",
+ "id": "0bd32673-66cf-0e3e-61df-803590588758",
+ "type": {
+ "coding": [
+ {
+ "code": "DI"
+ }
+ ]
+ },
+ "context": {
+ "period": {
+ "start": "2008-01-31T19:10:00+05:30"
+ }
+ },
+ "content": [
+ {
+ "attachment": {
+ "creation": "2008-01-31T19:15:00+05:30"
+ }
+ }
+ ],
+ "author": [
+ {
+ "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38"
+ }
+ ],
+ "masterIdentifier": {
+ "value": "1.2.840.317.5947431.51.20080131160038"
+ },
+ "relatesTo": [
+ {
+ "code": "appends",
+ "target": {
+ "identifier": {
+ "value": "1.2.840.317.5947431.51.20080131155715"
+ }
+ }
+ }
+ ],
+ "docStatus": "preliminary",
+ "status": "current"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489",
+ "identifier": [
+ {
+ "value": "IvanDoctorovich"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38",
+ "practitioner": {
+ "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:759e7d81-3fa3-111c-8580-9c4c71176dc2",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "759e7d81-3fa3-111c-8580-9c4c71176dc2",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "00012345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1-1",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "02585",
+ "display": "TransthoracicEcho",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4"
+ }
+ ]
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "796.4",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "786.09",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "414.8",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ },
+ "reasonReference": [
+ {
+ "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758"
+ }
+ ],
+ "specimen": [
+ {
+ "reference": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760"
+ }
+ ],
+ "note": [
+ {
+ "text": "No Antibodies Detected",
+ "time": "2020-10-10T18:15:00+05:30",
+ "authorReference": {
+ "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "text": "Please follow the text instructions"
+ }
+ ],
+ "asNeededCodeableConcept": {
+ "text": "This is condition text"
+ },
+ "quantityQuantity": {
+ "value": 54,
+ "unit": "lbs"
+ },
+ "occurrenceTiming": {
+ "code": {
+ "coding": [
+ {
+ "code": "ACM",
+ "display": "Before Breakfast",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL7xxx"
+ }
+ ]
+ },
+ "repeat": {
+ "period": 12,
+ "periodUnit": "min",
+ "when": [
+ "ACM"
+ ],
+ "offset": 2,
+ "boundsPeriod": {
+ "start": "2021-10-10T05:30:00+05:30",
+ "end": "2021-11-10T05:30:00+05:30"
+ },
+ "duration": 2,
+ "durationUnit": "h",
+ "count": 5
+ }
+ },
+ "priority": "asap"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/759e7d81-3fa3-111c-8580-9c4c71176dc2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "identifier": [
+ {
+ "value": "MLEE"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ],
+ "suffix": [
+ "MD"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:465cc454-0c8c-9470-e96a-75c3d662e760",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "465cc454-0c8c-9470-e96a-75c3d662e760",
+ "collection": {
+ "collectedDateTime": "2008-01-31T19:10:00+05:30"
+ },
+ "identifier": [
+ {
+ "value": "00012345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1-1",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/465cc454-0c8c-9470-e96a-75c3d662e760"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json
new file mode 100644
index 000000000..4350324f2
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T01/MDM-T01-02-expected.json
@@ -0,0 +1,948 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2008-01-31T19:15:00+05:30",
+ "identifier": {
+ "value": "PS1-20080131160038"
+ },
+ "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "f6276090-3778-3e87-dab9-2c9dae838d1a",
+ "source": {
+ "name": "PROSOLV",
+ "_endpoint": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ }
+ ]
+ },
+ "version": "2.4.3.52854",
+ "software": "Rhapsody"
+ },
+ "destination": [
+ {
+ "name": "SYSTEM",
+ "_endpoint": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ }
+ ]
+ },
+ "receiver": {
+ "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ }
+ ],
+ "meta": {
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "T01",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "MDM^T01^MDM_T01"
+ },
+ "sender": {
+ "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "62e243a9-2299-8d17-3755-2ea9dcea5246",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T09:21:28.605Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T01.
"
+ },
+ "occurredDateTime": "2008-01-31T19:15:00+05:30",
+ "recorded": "2008-01-31T19:15:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "MDM^T01^MDM_T01"
+ }
+ ]
+ },
+ "target": [
+ {
+ "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a546f42b-2f91-c12a-4596-67ce49a595d9",
+ "identifier": [
+ {
+ "value": "XYZHOSPITAL",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "resource": {
+ "resourceType": "Device",
+ "id": "4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "manufacturer": "Orion",
+ "deviceName": [
+ {
+ "name": "Rhapsody",
+ "type": "manufacturer-name"
+ }
+ ],
+ "version": [
+ {
+ "value": "2.4.3.52854"
+ }
+ ],
+ "modelNumber": "2.4.3",
+ "note": [
+ {
+ "text": "Testactivity"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "63520aa7-562e-9367-0c96-f8f720c3a418",
+ "recorded": "2008-01-31T19:15:00+05:30",
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf"
+ }
+ }
+ ],
+ "activity": {
+ "text": "MDM^T01^MDM_T01"
+ },
+ "target": [
+ {
+ "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "983f747a-cf80-25e8-0431-719272f56adf",
+ "identifier": [
+ {
+ "value": "C08"
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "073b77fa-7722-30cf-cd8f-218a179da613",
+ "identifier": [
+ {
+ "value": "987654321"
+ },
+ {
+ "value": "987654321"
+ },
+ {
+ "value": "111-22-3333",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ }
+ ],
+ "name": [
+ {
+ "family": "PROSOLV",
+ "given": [
+ "SAMPLE"
+ ]
+ }
+ ],
+ "birthDate": "1972-12-01",
+ "gender": "male"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b",
+ "resource": {
+ "resourceType": "Account",
+ "id": "53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b",
+ "identifier": [
+ {
+ "value": "10000001"
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f91b9450-5b30-513c-e992-770d60ebccca",
+ "identifier": [
+ {
+ "value": "1234"
+ }
+ ],
+ "name": [
+ {
+ "family": "HIPPOCRATES",
+ "given": [
+ "KOS"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16",
+ "identifier": [
+ {
+ "value": "9099"
+ }
+ ],
+ "name": [
+ {
+ "family": "KEVORKIAN",
+ "given": [
+ "JACK"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62",
+ "identifier": [
+ {
+ "value": "8888"
+ }
+ ],
+ "name": [
+ {
+ "family": "HOUSE",
+ "given": [
+ "GREGORY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b4c8d42e-dbcb-9290-7593-7586f4b5d0c9",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b4c8d42e-dbcb-9290-7593-7586f4b5d0c9",
+ "name": "CCU",
+ "mode": "instance",
+ "description": "CCU--2003--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2",
+ "partOf": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ },
+ "name": "2000",
+ "mode": "instance",
+ "description": "CCU--2000--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b2d5327c-354a-b91d-541d-c6b0fe91a841",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b2d5327c-354a-b91d-541d-c6b0fe91a841",
+ "partOf": {
+ "reference": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177"
+ },
+ "name": "1",
+ "mode": "instance",
+ "description": "CCU--2003--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b2d5327c-354a-b91d-541d-c6b0fe91a841"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:66fd3f3f-1ed8-35f5-002d-40ca03271177",
+ "resource": {
+ "resourceType": "Location",
+ "id": "66fd3f3f-1ed8-35f5-002d-40ca03271177",
+ "partOf": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ },
+ "name": "2003",
+ "mode": "instance",
+ "description": "CCU--2003--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6",
+ "class": {
+ "code": "IMP",
+ "display": "inpatient encounter",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62"
+ }
+ }
+ ],
+ "identifier": [
+ {
+ "value": "10000001",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ }
+ ],
+ "text": {
+ "status": "generated",
+ "div": ""
+ },
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758",
+ "resource": {
+ "resourceType": "DocumentReference",
+ "id": "0bd32673-66cf-0e3e-61df-803590588758",
+ "type": {
+ "coding": [
+ {
+ "code": "DI"
+ }
+ ]
+ },
+ "context": {
+ "period": {
+ "start": "2008-01-31T19:10:00+05:30"
+ }
+ },
+ "content": [
+ {
+ "attachment": {
+ "creation": "2008-01-31T19:15:00+05:30"
+ }
+ }
+ ],
+ "author": [
+ {
+ "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38"
+ }
+ ],
+ "masterIdentifier": {
+ "value": "1.2.840.317.5947431.51.20080131160038"
+ },
+ "relatesTo": [
+ {
+ "code": "appends",
+ "target": {
+ "identifier": {
+ "value": "1.2.840.317.5947431.51.20080131155715"
+ }
+ }
+ }
+ ],
+ "docStatus": "preliminary",
+ "status": "current"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489",
+ "identifier": [
+ {
+ "value": "IvanDoctorovich"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38",
+ "practitioner": {
+ "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:01cd87ac-cb24-4ae6-239f-a3c355aafd49",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "01cd87ac-cb24-4ae6-239f-a3c355aafd49",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "00012345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1-1",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "02585",
+ "display": "TransthoracicEcho",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4"
+ }
+ ]
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "796.4",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "786.09",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "414.8",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ },
+ "reasonReference": [
+ {
+ "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758"
+ }
+ ],
+ "specimen": [
+ {
+ "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363"
+ }
+ ],
+ "note": [
+ {
+ "text": "No Antibodies Detected",
+ "time": "2020-10-10T18:15:00+05:30",
+ "authorReference": {
+ "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "text": "Please follow the text instructions"
+ }
+ ],
+ "asNeededCodeableConcept": {
+ "text": "This is condition text"
+ },
+ "quantityQuantity": {
+ "value": 54,
+ "unit": "lbs"
+ },
+ "occurrenceTiming": {
+ "code": {
+ "coding": [
+ {
+ "code": "ACM",
+ "display": "Before Breakfast",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL7xxx"
+ }
+ ]
+ },
+ "repeat": {
+ "period": 12,
+ "periodUnit": "min",
+ "when": [
+ "ACM"
+ ],
+ "offset": 2,
+ "boundsPeriod": {
+ "start": "2021-10-10T05:30:00+05:30",
+ "end": "2021-11-10T05:30:00+05:30"
+ },
+ "duration": 2,
+ "durationUnit": "h",
+ "count": 5
+ }
+ },
+ "priority": "asap"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/01cd87ac-cb24-4ae6-239f-a3c355aafd49"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "identifier": [
+ {
+ "value": "MLEE"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ],
+ "suffix": [
+ "MD"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363",
+ "collection": {
+ "collectedDateTime": "2008-01-31T19:10:00+05:30"
+ },
+ "identifier": [
+ {
+ "value": "00012345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1-1",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ad3dd95e-23fb-17ca-7fa9-259b0939a4f4",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "ad3dd95e-23fb-17ca-7fa9-259b0939a4f4",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "00012367",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1-1",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "02588",
+ "display": "3D echo cardigram",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4"
+ }
+ ]
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "796.4",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "786.09",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "414.8",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ },
+ "reasonReference": [
+ {
+ "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758"
+ }
+ ],
+ "specimen": [
+ {
+ "reference": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/ad3dd95e-23fb-17ca-7fa9-259b0939a4f4"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8544aeea-6c95-cc4e-9d21-19aa26595386",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "8544aeea-6c95-cc4e-9d21-19aa26595386",
+ "collection": {
+ "collectedDateTime": "2008-01-31T20:00:00+05:30"
+ },
+ "identifier": [
+ {
+ "value": "00012367",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1-1",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/8544aeea-6c95-cc4e-9d21-19aa26595386"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json
new file mode 100644
index 000000000..fcf7e4c54
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-01-expected.json
@@ -0,0 +1,871 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2008-01-31T19:15:00+05:30",
+ "identifier": {
+ "value": "PS1-20080131160038"
+ },
+ "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "f6276090-3778-3e87-dab9-2c9dae838d1a",
+ "source": {
+ "name": "PROSOLV",
+ "_endpoint": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ }
+ ]
+ }
+ },
+ "destination": [
+ {
+ "name": "SYSTEM",
+ "_endpoint": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ }
+ ]
+ },
+ "receiver": {
+ "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ }
+ ],
+ "meta": {
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "T02",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "MDM^T02^MDM_T02"
+ },
+ "sender": {
+ "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "62e243a9-2299-8d17-3755-2ea9dcea5246",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T09:22:01.635Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.
"
+ },
+ "occurredDateTime": "2008-01-31T19:15:00+05:30",
+ "recorded": "2008-01-31T19:15:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "MDM^T02^MDM_T02"
+ }
+ ]
+ },
+ "target": [
+ {
+ "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a546f42b-2f91-c12a-4596-67ce49a595d9",
+ "identifier": [
+ {
+ "value": "XYZHOSPITAL",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "63520aa7-562e-9367-0c96-f8f720c3a418",
+ "recorded": "2008-01-31T19:15:00+05:30",
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf"
+ }
+ }
+ ],
+ "activity": {
+ "text": "MDM^T02^MDM_T02"
+ },
+ "target": [
+ {
+ "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "983f747a-cf80-25e8-0431-719272f56adf",
+ "identifier": [
+ {
+ "value": "C08"
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "073b77fa-7722-30cf-cd8f-218a179da613",
+ "identifier": [
+ {
+ "value": "987654321"
+ },
+ {
+ "value": "987654321"
+ },
+ {
+ "value": "111-22-3333",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ }
+ ],
+ "name": [
+ {
+ "family": "PROSOLV",
+ "given": [
+ "SAMPLE"
+ ]
+ }
+ ],
+ "birthDate": "1972-12-01",
+ "gender": "male"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b",
+ "resource": {
+ "resourceType": "Account",
+ "id": "53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b",
+ "identifier": [
+ {
+ "value": "10000001"
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f91b9450-5b30-513c-e992-770d60ebccca",
+ "identifier": [
+ {
+ "value": "1234"
+ }
+ ],
+ "name": [
+ {
+ "family": "HIPPOCRATES",
+ "given": [
+ "KOS"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16",
+ "identifier": [
+ {
+ "value": "9099"
+ }
+ ],
+ "name": [
+ {
+ "family": "KEVORKIAN",
+ "given": [
+ "JACK"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62",
+ "identifier": [
+ {
+ "value": "8888"
+ }
+ ],
+ "name": [
+ {
+ "family": "HOUSE",
+ "given": [
+ "GREGORY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b4c8d42e-dbcb-9290-7593-7586f4b5d0c9",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b4c8d42e-dbcb-9290-7593-7586f4b5d0c9",
+ "name": "CCU",
+ "mode": "instance",
+ "description": "CCU--2003--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2",
+ "partOf": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ },
+ "name": "2000",
+ "mode": "instance",
+ "description": "CCU--2000--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b2d5327c-354a-b91d-541d-c6b0fe91a841",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b2d5327c-354a-b91d-541d-c6b0fe91a841",
+ "partOf": {
+ "reference": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177"
+ },
+ "name": "1",
+ "mode": "instance",
+ "description": "CCU--2003--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b2d5327c-354a-b91d-541d-c6b0fe91a841"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:66fd3f3f-1ed8-35f5-002d-40ca03271177",
+ "resource": {
+ "resourceType": "Location",
+ "id": "66fd3f3f-1ed8-35f5-002d-40ca03271177",
+ "partOf": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ },
+ "name": "2003",
+ "mode": "instance",
+ "description": "CCU--2003--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6",
+ "class": {
+ "code": "IMP",
+ "display": "inpatient encounter",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62"
+ }
+ }
+ ],
+ "identifier": [
+ {
+ "value": "10000001",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ }
+ ],
+ "text": {
+ "status": "generated",
+ "div": ""
+ },
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758",
+ "resource": {
+ "resourceType": "DocumentReference",
+ "id": "0bd32673-66cf-0e3e-61df-803590588758",
+ "type": {
+ "coding": [
+ {
+ "code": "DI"
+ }
+ ]
+ },
+ "context": {
+ "period": {
+ "start": "2008-01-31T19:10:00+05:30"
+ }
+ },
+ "content": [
+ {
+ "attachment": {
+ "creation": "2008-01-31T19:15:00+05:30"
+ }
+ }
+ ],
+ "author": [
+ {
+ "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38"
+ }
+ ],
+ "masterIdentifier": {
+ "value": "1.2.840.317.5947431.51.20080131160038"
+ },
+ "relatesTo": [
+ {
+ "code": "appends",
+ "target": {
+ "identifier": {
+ "value": "1.2.840.317.5947431.51.20080131155715"
+ }
+ }
+ }
+ ],
+ "docStatus": "preliminary",
+ "status": "current"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489",
+ "identifier": [
+ {
+ "value": "IvanDoctorovich"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38",
+ "practitioner": {
+ "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:46cd7f69-a39b-fcb3-d2bd-2085cc2464cf",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "46cd7f69-a39b-fcb3-d2bd-2085cc2464cf",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "00012345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1-1",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "02585",
+ "display": "TransthoracicEcho",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4"
+ }
+ ]
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "796.4",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "786.09",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "414.8",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ },
+ "reasonReference": [
+ {
+ "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758"
+ }
+ ],
+ "specimen": [
+ {
+ "reference": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c"
+ }
+ ],
+ "note": [
+ {
+ "text": "No Antibodies Detected",
+ "time": "2020-10-10T18:15:00+05:30",
+ "authorReference": {
+ "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "text": "Please follow the text instructions"
+ }
+ ],
+ "asNeededCodeableConcept": {
+ "text": "This is condition text"
+ },
+ "quantityQuantity": {
+ "value": 54,
+ "unit": "lbs"
+ },
+ "occurrenceTiming": {
+ "code": {
+ "coding": [
+ {
+ "code": "ACM",
+ "display": "Before Breakfast",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL7xxx"
+ }
+ ]
+ },
+ "repeat": {
+ "period": 12,
+ "periodUnit": "min",
+ "when": [
+ "ACM"
+ ],
+ "offset": 2,
+ "boundsPeriod": {
+ "start": "2021-10-10T05:30:00+05:30",
+ "end": "2021-11-10T05:30:00+05:30"
+ },
+ "duration": 2,
+ "durationUnit": "h",
+ "count": 5
+ }
+ },
+ "priority": "asap"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/46cd7f69-a39b-fcb3-d2bd-2085cc2464cf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "identifier": [
+ {
+ "value": "MLEE"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ],
+ "suffix": [
+ "MD"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3edc5abd-8555-96fa-587b-9be9f1c7014c",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "3edc5abd-8555-96fa-587b-9be9f1c7014c",
+ "collection": {
+ "collectedDateTime": "2008-01-31T19:10:00+05:30"
+ },
+ "identifier": [
+ {
+ "value": "00012345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1-1",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/3edc5abd-8555-96fa-587b-9be9f1c7014c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0f41f515-1c27-f9b4-2fcf-13ee831aeae1",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "0f41f515-1c27-f9b4-2fcf-13ee831aeae1",
+ "status": "unknown",
+ "code": {
+ "coding": [
+ {
+ "code": "113014",
+ "display": "DICOM Study",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/DCM"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "O",
+ "display": "Order Detail",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Order Detail"
+ }
+ }
+ ],
+ "note": [
+ {
+ "text": "Antibodies Detected",
+ "time": "2020-10-10T18:15:00+05:30",
+ "authorReference": {
+ "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/0f41f515-1c27-f9b4-2fcf-13ee831aeae1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f4a5fc23-084d-c558-a3e2-63fbe9d216d7",
+ "resource": {
+ "resourceType": "DiagnosticReport",
+ "id": "f4a5fc23-084d-c558-a3e2-63fbe9d216d7",
+ "code": {
+ "coding": [
+ {
+ "code": "02585",
+ "display": "TransthoracicEcho",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4"
+ }
+ ]
+ },
+ "status": "unknown",
+ "presentedForm": [
+ {
+ "contentType": "application/pdf"
+ }
+ ],
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DiagnosticReport/f4a5fc23-084d-c558-a3e2-63fbe9d216d7"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json
new file mode 100644
index 000000000..d41a283b5
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-02-expected.json
@@ -0,0 +1,1029 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2008-01-31T19:15:00+05:30",
+ "identifier": {
+ "value": "PS1-20080131160038"
+ },
+ "id": "c1cfc1cf-5772-3713-5eb2-0ffdca6df60b",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:f6276090-3778-3e87-dab9-2c9dae838d1a",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "f6276090-3778-3e87-dab9-2c9dae838d1a",
+ "source": {
+ "name": "PROSOLV",
+ "_endpoint": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ }
+ ]
+ },
+ "version": "2.4.3.52854",
+ "software": "Rhapsody"
+ },
+ "destination": [
+ {
+ "name": "SYSTEM",
+ "_endpoint": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ }
+ ]
+ },
+ "receiver": {
+ "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ }
+ ],
+ "meta": {
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "T02",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "MDM^T02^MDM_T02"
+ },
+ "sender": {
+ "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/f6276090-3778-3e87-dab9-2c9dae838d1a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62e243a9-2299-8d17-3755-2ea9dcea5246",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "62e243a9-2299-8d17-3755-2ea9dcea5246",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T09:22:23.425Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.
"
+ },
+ "occurredDateTime": "2008-01-31T19:15:00+05:30",
+ "recorded": "2008-01-31T19:15:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "MDM^T02^MDM_T02"
+ }
+ ]
+ },
+ "target": [
+ {
+ "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/62e243a9-2299-8d17-3755-2ea9dcea5246"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a546f42b-2f91-c12a-4596-67ce49a595d9",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "a546f42b-2f91-c12a-4596-67ce49a595d9",
+ "identifier": [
+ {
+ "value": "XYZHOSPITAL",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-XYZHOSPITAL"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/a546f42b-2f91-c12a-4596-67ce49a595d9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "resource": {
+ "resourceType": "Device",
+ "id": "4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "manufacturer": "Orion",
+ "deviceName": [
+ {
+ "name": "Rhapsody",
+ "type": "manufacturer-name"
+ }
+ ],
+ "version": [
+ {
+ "value": "2.4.3.52854"
+ }
+ ],
+ "modelNumber": "2.4.3",
+ "note": [
+ {
+ "text": "Testactivity"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:63520aa7-562e-9367-0c96-f8f720c3a418",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "63520aa7-562e-9367-0c96-f8f720c3a418",
+ "recorded": "2008-01-31T19:15:00+05:30",
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf"
+ }
+ }
+ ],
+ "activity": {
+ "text": "MDM^T02^MDM_T02"
+ },
+ "target": [
+ {
+ "reference": "Bundle/c1cfc1cf-5772-3713-5eb2-0ffdca6df60b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/63520aa7-562e-9367-0c96-f8f720c3a418"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:983f747a-cf80-25e8-0431-719272f56adf",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "983f747a-cf80-25e8-0431-719272f56adf",
+ "identifier": [
+ {
+ "value": "C08"
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/983f747a-cf80-25e8-0431-719272f56adf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:073b77fa-7722-30cf-cd8f-218a179da613",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "073b77fa-7722-30cf-cd8f-218a179da613",
+ "identifier": [
+ {
+ "value": "987654321"
+ },
+ {
+ "value": "987654321"
+ },
+ {
+ "value": "111-22-3333",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ }
+ ],
+ "name": [
+ {
+ "family": "PROSOLV",
+ "given": [
+ "SAMPLE"
+ ]
+ }
+ ],
+ "birthDate": "1972-12-01",
+ "gender": "male"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b",
+ "resource": {
+ "resourceType": "Account",
+ "id": "53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b",
+ "identifier": [
+ {
+ "value": "10000001"
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/53abf53e-4d5f-9ac3-01fc-1c57fbc8ff1b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f91b9450-5b30-513c-e992-770d60ebccca",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "f91b9450-5b30-513c-e992-770d60ebccca",
+ "identifier": [
+ {
+ "value": "1234"
+ }
+ ],
+ "name": [
+ {
+ "family": "HIPPOCRATES",
+ "given": [
+ "KOS"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3ff52588-4f70-e5f9-bd2e-3ff770b6bc16",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3ff52588-4f70-e5f9-bd2e-3ff770b6bc16",
+ "identifier": [
+ {
+ "value": "9099"
+ }
+ ],
+ "name": [
+ {
+ "family": "KEVORKIAN",
+ "given": [
+ "JACK"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:39dfc508-b0aa-36f2-de51-5ff7aee0bc62",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "39dfc508-b0aa-36f2-de51-5ff7aee0bc62",
+ "identifier": [
+ {
+ "value": "8888"
+ }
+ ],
+ "name": [
+ {
+ "family": "HOUSE",
+ "given": [
+ "GREGORY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b4c8d42e-dbcb-9290-7593-7586f4b5d0c9",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b4c8d42e-dbcb-9290-7593-7586f4b5d0c9",
+ "name": "CCU",
+ "mode": "instance",
+ "description": "CCU--2003--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2",
+ "resource": {
+ "resourceType": "Location",
+ "id": "55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2",
+ "partOf": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ },
+ "name": "2000",
+ "mode": "instance",
+ "description": "CCU--2000--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/55fb6bcf-59d7-2cc4-2ddc-d38ba31ff1d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b2d5327c-354a-b91d-541d-c6b0fe91a841",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b2d5327c-354a-b91d-541d-c6b0fe91a841",
+ "partOf": {
+ "reference": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177"
+ },
+ "name": "1",
+ "mode": "instance",
+ "description": "CCU--2003--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b2d5327c-354a-b91d-541d-c6b0fe91a841"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:66fd3f3f-1ed8-35f5-002d-40ca03271177",
+ "resource": {
+ "resourceType": "Location",
+ "id": "66fd3f3f-1ed8-35f5-002d-40ca03271177",
+ "partOf": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ },
+ "name": "2003",
+ "mode": "instance",
+ "description": "CCU--2003--1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/66fd3f3f-1ed8-35f5-002d-40ca03271177"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8bc99636-4bdf-d4be-5661-f77f4f3a7ff6",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "8bc99636-4bdf-d4be-5661-f77f4f3a7ff6",
+ "class": {
+ "code": "IMP",
+ "display": "inpatient encounter",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/b4c8d42e-dbcb-9290-7593-7586f4b5d0c9"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/f91b9450-5b30-513c-e992-770d60ebccca"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/3ff52588-4f70-e5f9-bd2e-3ff770b6bc16"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "CON",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "consultant"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/39dfc508-b0aa-36f2-de51-5ff7aee0bc62"
+ }
+ }
+ ],
+ "identifier": [
+ {
+ "value": "10000001",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ }
+ ],
+ "text": {
+ "status": "generated",
+ "div": ""
+ },
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/8bc99636-4bdf-d4be-5661-f77f4f3a7ff6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0bd32673-66cf-0e3e-61df-803590588758",
+ "resource": {
+ "resourceType": "DocumentReference",
+ "id": "0bd32673-66cf-0e3e-61df-803590588758",
+ "type": {
+ "coding": [
+ {
+ "code": "DI"
+ }
+ ]
+ },
+ "context": {
+ "period": {
+ "start": "2008-01-31T19:10:00+05:30"
+ }
+ },
+ "content": [
+ {
+ "attachment": {
+ "creation": "2008-01-31T19:15:00+05:30"
+ }
+ }
+ ],
+ "author": [
+ {
+ "reference": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38"
+ }
+ ],
+ "masterIdentifier": {
+ "value": "1.2.840.317.5947431.51.20080131160038"
+ },
+ "relatesTo": [
+ {
+ "code": "appends",
+ "target": {
+ "identifier": {
+ "value": "1.2.840.317.5947431.51.20080131155715"
+ }
+ }
+ }
+ ],
+ "docStatus": "preliminary",
+ "status": "current"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b1a16a4-4caa-c86f-791b-56cd3dcd5489",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "4b1a16a4-4caa-c86f-791b-56cd3dcd5489",
+ "identifier": [
+ {
+ "value": "IvanDoctorovich"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5b91be6c-bce1-d67a-0ac5-3b0d36640a38",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "5b91be6c-bce1-d67a-0ac5-3b0d36640a38",
+ "practitioner": {
+ "reference": "Practitioner/4b1a16a4-4caa-c86f-791b-56cd3dcd5489"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/5b91be6c-bce1-d67a-0ac5-3b0d36640a38"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:01cd87ac-cb24-4ae6-239f-a3c355aafd49",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "01cd87ac-cb24-4ae6-239f-a3c355aafd49",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "00012345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1-1",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "02585",
+ "display": "TransthoracicEcho",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4"
+ }
+ ]
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "796.4",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "786.09",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "414.8",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ },
+ "reasonReference": [
+ {
+ "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758"
+ }
+ ],
+ "specimen": [
+ {
+ "reference": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363"
+ }
+ ],
+ "note": [
+ {
+ "text": "No Antibodies Detected",
+ "time": "2020-10-10T18:15:00+05:30",
+ "authorReference": {
+ "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "text": "Please follow the text instructions"
+ }
+ ],
+ "asNeededCodeableConcept": {
+ "text": "This is condition text"
+ },
+ "quantityQuantity": {
+ "value": 54,
+ "unit": "lbs"
+ },
+ "occurrenceTiming": {
+ "code": {
+ "coding": [
+ {
+ "code": "ACM",
+ "display": "Before Breakfast",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL7xxx"
+ }
+ ]
+ },
+ "repeat": {
+ "period": 12,
+ "periodUnit": "min",
+ "when": [
+ "ACM"
+ ],
+ "offset": 2,
+ "boundsPeriod": {
+ "start": "2021-10-10T05:30:00+05:30",
+ "end": "2021-11-10T05:30:00+05:30"
+ },
+ "duration": 2,
+ "durationUnit": "h",
+ "count": 5
+ }
+ },
+ "priority": "asap"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/01cd87ac-cb24-4ae6-239f-a3c355aafd49"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "identifier": [
+ {
+ "value": "MLEE"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ],
+ "suffix": [
+ "MD"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c4e417ca-4a99-cb34-3d98-3f3ab1ae7363",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "c4e417ca-4a99-cb34-3d98-3f3ab1ae7363",
+ "collection": {
+ "collectedDateTime": "2008-01-31T19:10:00+05:30"
+ },
+ "identifier": [
+ {
+ "value": "00012345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1-1",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/c4e417ca-4a99-cb34-3d98-3f3ab1ae7363"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7b7dd544-782a-d161-1dfe-f5045df43351",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "7b7dd544-782a-d161-1dfe-f5045df43351",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "00012367",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1-1",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "02588",
+ "display": "3D echo cardigram",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/PCV4"
+ }
+ ]
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "796.4",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "786.09",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "414.8",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/I9M"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ },
+ "reasonReference": [
+ {
+ "reference": "DocumentReference/0bd32673-66cf-0e3e-61df-803590588758"
+ }
+ ],
+ "specimen": [
+ {
+ "reference": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302"
+ }
+ ],
+ "occurrenceDateTime": "2006-01-31T20:00:00+05:30"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/7b7dd544-782a-d161-1dfe-f5045df43351"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1d8f51a2-c6cd-d6e0-de4f-c0158d668302",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "1d8f51a2-c6cd-d6e0-de4f-c0158d668302",
+ "collection": {
+ "collectedDateTime": "2008-01-31T20:00:00+05:30"
+ },
+ "identifier": [
+ {
+ "value": "00012367",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1-1",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/1d8f51a2-c6cd-d6e0-de4f-c0158d668302"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Toilet cylinder crackers model step-mother visor opening communication",
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/6ffcb8b5-5f1d-5d1f-8c4f-26b23a7dfd69"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:66fb85aa-6c70-58f5-fadc-c8d270c76ead",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "66fb85aa-6c70-58f5-fadc-c8d270c76ead",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Columnist draft inn brown income ikebana circulation prince",
+ "subject": {
+ "reference": "Patient/073b77fa-7722-30cf-cd8f-218a179da613"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/66fb85aa-6c70-58f5-fadc-c8d270c76ead"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json
new file mode 100644
index 000000000..8d47eb3c0
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/MDM_T02/MDM-T02-03-expected.json
@@ -0,0 +1,1989 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-08-01T12:21:42+05:30",
+ "identifier": {
+ "value": "112"
+ },
+ "id": "b37272c1-881a-0cf2-1120-5ab37ceaf698",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27",
+ "source": {
+ "name": "SIMHOSP",
+ "_endpoint": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ }
+ ]
+ }
+ },
+ "destination": [
+ {
+ "name": "RAPP",
+ "_endpoint": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode": "unknown"
+ }
+ ]
+ },
+ "receiver": {
+ "reference": "Organization/ab0676d9-fa24-ffd3-327d-f5b4c26ae628"
+ }
+ }
+ ],
+ "meta": {
+ "tag": [
+ {
+ "code": "T",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "T02",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "MDM^T02^MDM_T02"
+ },
+ "sender": {
+ "reference": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/0bd7a2a5-cdc4-50f4-5b85-da3c58cfba27"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ff198209-2ee9-a32c-124f-d63637240f8d",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "ff198209-2ee9-a32c-124f-d63637240f8d",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T09:22:44.962Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: MDM_T02.
"
+ },
+ "occurredDateTime": "2021-08-01T12:21:42+05:30",
+ "recorded": "2021-08-01T12:21:42+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "MDM^T02^MDM_T02"
+ }
+ ]
+ },
+ "target": [
+ {
+ "reference": "Bundle/b37272c1-881a-0cf2-1120-5ab37ceaf698"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/ff198209-2ee9-a32c-124f-d63637240f8d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33e23f3e-47b2-9c1b-c1f0-f964c2d28946",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33e23f3e-47b2-9c1b-c1f0-f964c2d28946",
+ "identifier": [
+ {
+ "value": "SFAC",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-SFAC"
+ }
+ ],
+ "address": [
+ {
+ "country": "44"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33e23f3e-47b2-9c1b-c1f0-f964c2d28946"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ab0676d9-fa24-ffd3-327d-f5b4c26ae628",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "ab0676d9-fa24-ffd3-327d-f5b4c26ae628",
+ "identifier": [
+ {
+ "value": "RFAC",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-RFAC"
+ }
+ ],
+ "address": [
+ {
+ "country": "44"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/ab0676d9-fa24-ffd3-327d-f5b4c26ae628"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e7af414f-7873-8d60-ad37-fd7560092849",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "e7af414f-7873-8d60-ad37-fd7560092849",
+ "recorded": "2021-08-01T12:21:42+05:30",
+ "agent": [
+ {
+ "who": {
+ "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b"
+ }
+ }
+ ],
+ "activity": {
+ "text": "MDM^T02^MDM_T02"
+ },
+ "target": [
+ {
+ "reference": "Bundle/b37272c1-881a-0cf2-1120-5ab37ceaf698"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/e7af414f-7873-8d60-ad37-fd7560092849"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3a4c8c23-ae16-bb6c-7a8c-897b3043248b",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3a4c8c23-ae16-bb6c-7a8c-897b3043248b",
+ "identifier": [
+ {
+ "value": "C006",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-DRNBR",
+ "type": {
+ "coding": [
+ {
+ "code": "ORGDR",
+ "display": "ORGDR"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Woolfson",
+ "given": [
+ "Kathleen"
+ ],
+ "prefix": [
+ "Dr"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e",
+ "identifier": [
+ {
+ "value": "3196695816",
+ "type": {
+ "coding": [
+ {
+ "code": "MRN",
+ "display": "MRN"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-SIMULATOR-MRN"
+ },
+ {
+ "value": "3196695816",
+ "type": {
+ "coding": [
+ {
+ "code": "MRN",
+ "display": "MRN"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-SIMULATOR-MRN"
+ },
+ {
+ "value": "6597923189",
+ "type": {
+ "coding": [
+ {
+ "code": "NHSNMBR",
+ "display": "NHSNMBR"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NHSNBR"
+ }
+ ],
+ "name": [
+ {
+ "family": "Clark",
+ "given": [
+ "Frederick"
+ ],
+ "prefix": [
+ "Mr"
+ ]
+ }
+ ],
+ "birthDate": "1930-01-22",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1930-01-22T03:15:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "19 Blocker House",
+ "Restaurant Square"
+ ],
+ "city": "Ilford",
+ "postalCode": "WI3 7KU",
+ "country": "GBR"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "073 0075 3040",
+ "system": "phone"
+ }
+ ],
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "A",
+ "display": "White - British"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "A"
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:635008fa-3d98-895d-90b3-ec0d2efa5f0f",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "635008fa-3d98-895d-90b3-ec0d2efa5f0f",
+ "class": {
+ "code": "AMB",
+ "display": "ambulatory",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "28b",
+ "display": "28b"
+ }
+ ]
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b"
+ }
+ }
+ ],
+ "serviceType": {
+ "coding": [
+ {
+ "code": "MED"
+ }
+ ]
+ },
+ "text": {
+ "status": "generated",
+ "div": ""
+ },
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/635008fa-3d98-895d-90b3-ec0d2efa5f0f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ba02f303-e848-5771-d742-0de5371b5be4",
+ "resource": {
+ "resourceType": "DocumentReference",
+ "id": "ba02f303-e848-5771-d742-0de5371b5be4",
+ "type": {
+ "coding": [
+ {
+ "code": "DS"
+ }
+ ]
+ },
+ "context": {
+ "period": {
+ "start": "2021-08-01T12:21:42+05:30"
+ },
+ "related": [
+ {
+ "reference": "Practitioner/3a4c8c23-ae16-bb6c-7a8c-897b3043248b"
+ }
+ ]
+ },
+ "content": [
+ {
+ "attachment": {
+ "creation": "2021-08-03T03:15:00+05:30"
+ }
+ }
+ ],
+ "meta": {
+ "lastUpdated": "2021-08-01T12:21:42+05:30"
+ },
+ "masterIdentifier": {
+ "value": "2RWRVAJ627408"
+ },
+ "docStatus": "preliminary",
+ "status": "current"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DocumentReference/ba02f303-e848-5771-d742-0de5371b5be4"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:cb755da5-d1d4-2d4f-0f4d-363679151ac4",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "cb755da5-d1d4-2d4f-0f4d-363679151ac4",
+ "status": "active",
+ "intent": "reflex-order",
+ "orderDetail": [
+ {
+ "coding": [
+ {
+ "code": "PSS-46",
+ "display": "Placer service",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "FSS-47",
+ "display": "Filler service",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "identifier": [
+ {
+ "value": "845439",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "986",
+ "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "PGN-04",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "APON-53",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "authoredOn": "2020-09-10T20:15:00+05:30",
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/29acd79b-adef-1dc7-6103-c65783a04bbb"
+ }
+ ],
+ "locationCode": [
+ {
+ "coding": [
+ {
+ "code": "BLB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0074"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "OF",
+ "display": "Outpatient facility",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "note": [
+ {
+ "text": "Placer 1",
+ "authorString": "Placer Field 1"
+ },
+ {
+ "text": "Placer 2",
+ "authorString": "Placer Field 2"
+ },
+ {
+ "text": "Filler 1",
+ "authorString": "Filler Field 1"
+ },
+ {
+ "text": "Filler 2",
+ "authorString": "Filler Field 2"
+ }
+ ],
+ "priority": "routine",
+ "code": {
+ "coding": [
+ {
+ "code": "625-4",
+ "display": "Bacteria identified in Stool by Culture",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ",
+ "version": "2.33"
+ }
+ ],
+ "text": "Enteric Culture"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "444",
+ "display": "HIPPOCRATES",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HOWARD-H",
+ "version": "MD"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "reasonReference": [
+ {
+ "reference": "DocumentReference/ba02f303-e848-5771-d742-0de5371b5be4"
+ }
+ ],
+ "requester": {
+ "reference": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/2cb11a40-e62b-7255-c309-1dd5b722b803"
+ }
+ ],
+ "occurrenceDateTime": "2020-10-10T20:15:00+05:30"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/cb755da5-d1d4-2d4f-0f4d-363679151ac4"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd",
+ "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY",
+ "address": [
+ {
+ "line": [
+ "307 W MCCARTY ST"
+ ],
+ "city": "JEFFERSON CITY",
+ "state": "MO",
+ "postalCode": "65101",
+ "country": "USA",
+ "use": "work"
+ }
+ ],
+ "contact": [
+ {
+ "telecom": [
+ {
+ "use": "work",
+ "system": "phone"
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:beeb9a6e-29ec-7926-4f50-287c7ce3a1f5",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "beeb9a6e-29ec-7926-4f50-287c7ce3a1f5",
+ "organization": {
+ "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:29acd79b-adef-1dc7-6103-c65783a04bbb",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "29acd79b-adef-1dc7-6103-c65783a04bbb",
+ "identifier": [
+ {
+ "value": "PAI-29",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "50",
+ "display": "11.22",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AR"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "active",
+ "intent": "reflex-order",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/29acd79b-adef-1dc7-6103-c65783a04bbb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2cb11a40-e62b-7255-c309-1dd5b722b803",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "2cb11a40-e62b-7255-c309-1dd5b722b803",
+ "collection": {
+ "quantity": {
+ "value": 150,
+ "unit": "lb"
+ },
+ "collector": {
+ "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BN",
+ "display": "223.3",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ "method": {
+ "text": "Collection Method"
+ },
+ "collectedDateTime": "2002-02-15T10:45:00+05:30"
+ },
+ "receivedTime": "2002-02-12T10:45:00+05:30",
+ "identifier": [
+ {
+ "value": "845439",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "986",
+ "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "APON-53",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "coding": [
+ {
+ "code": "SP15",
+ "display": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ "container": [
+ {
+ "additiveCodeableConcept": {
+ "coding": [
+ {
+ "code": "ACDA"
+ }
+ ]
+ }
+ }
+ ],
+ "note": [
+ {
+ "text": "Collector's comment"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/2cb11a40-e62b-7255-c309-1dd5b722b803"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e",
+ "identifier": [
+ {
+ "value": "10535",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "display": "Medical record number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "van Beethoven",
+ "given": [
+ "Ludwig",
+ "A"
+ ],
+ "suffix": [
+ "III",
+ "PHD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1",
+ "practitioner": {
+ "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:83cf5a63-9c84-2fa8-884b-1886e9526fd8",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "83cf5a63-9c84-2fa8-884b-1886e9526fd8",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Toilet cylinder crackers model step-mother visor opening communication",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/83cf5a63-9c84-2fa8-884b-1886e9526fd8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8485edc6-008c-2b01-b26f-a2af596d30b5",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "8485edc6-008c-2b01-b26f-a2af596d30b5",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Columnist draft inn brown income ikebana circulation prince",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/8485edc6-008c-2b01-b26f-a2af596d30b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c6a42129-232f-3242-4739-73141d3e0c22",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "c6a42129-232f-3242-4739-73141d3e0c22",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Taxicab creator film therapist shelter",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/c6a42129-232f-3242-4739-73141d3e0c22"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1cd484ad-c654-fbaf-1242-d5c6addb1285",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "1cd484ad-c654-fbaf-1242-d5c6addb1285",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Naming grandmother ruth",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/1cd484ad-c654-fbaf-1242-d5c6addb1285"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:68e0f79f-ad85-113d-c23d-58fec16ee5d9",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "68e0f79f-ad85-113d-c23d-58fec16ee5d9",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Cesspool dress crystallography processing sphynx conspirator plate tool",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/68e0f79f-ad85-113d-c23d-58fec16ee5d9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6ba400df-3c94-dccd-275f-87f7bef8cece",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "6ba400df-3c94-dccd-275f-87f7bef8cece",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Let nothing neuropathologist grass",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/6ba400df-3c94-dccd-275f-87f7bef8cece"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a93e88a9-4706-27a0-e24d-ca7b71a9d5a0",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "a93e88a9-4706-27a0-e24d-ca7b71a9d5a0",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "James flavor source sweats perfume spasm",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/a93e88a9-4706-27a0-e24d-ca7b71a9d5a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b6655c58-2580-31ca-89fa-f71589186f5f",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "b6655c58-2580-31ca-89fa-f71589186f5f",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Stopsign",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/b6655c58-2580-31ca-89fa-f71589186f5f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6c24608d-f759-4c1e-75f1-7b530ba5810a",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "6c24608d-f759-4c1e-75f1-7b530ba5810a",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Neat rugby sound evening hostel curio chastity pulley wallet xylophone",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/6c24608d-f759-4c1e-75f1-7b530ba5810a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Tomorrow survey raffle epee cash herb hovel frame",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/8bdf4549-5339-7eb4-dfa3-c7c8ef981ceb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ee71fea8-96b6-a46c-579e-dc5367127579",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "ee71fea8-96b6-a46c-579e-dc5367127579",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Wish orangutan caddy mayor knowledge guilt tight criteria",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/ee71fea8-96b6-a46c-579e-dc5367127579"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a9f6136e-3718-d3a7-6b0c-089337325264",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "a9f6136e-3718-d3a7-6b0c-089337325264",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Thong",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/a9f6136e-3718-d3a7-6b0c-089337325264"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1729d3a6-8428-d4df-ad09-54ba86fbe34f",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "1729d3a6-8428-d4df-ad09-54ba86fbe34f",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Scimitar gall-bladder economy orange trade sing town",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/1729d3a6-8428-d4df-ad09-54ba86fbe34f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0689f0ef-6812-c40c-7c5b-8da95fcbc61d",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "0689f0ef-6812-c40c-7c5b-8da95fcbc61d",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Vinyl people junk skiing north irony sing scorn cameo",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/0689f0ef-6812-c40c-7c5b-8da95fcbc61d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Math pimp wave leather national nurture responsibility suppression",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/73ca4d9e-6996-d09d-13fc-a0c6bb1a0dd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6b7a5ccb-3e27-58ec-85e2-faae9175191e",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "6b7a5ccb-3e27-58ec-85e2-faae9175191e",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Sash area",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/6b7a5ccb-3e27-58ec-85e2-faae9175191e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ae8f0749-b387-eeb6-9455-060899157001",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "ae8f0749-b387-eeb6-9455-060899157001",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Search eyelids",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/ae8f0749-b387-eeb6-9455-060899157001"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:dad4437d-d5a0-2a1f-95a5-adf4cca9ee81",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "dad4437d-d5a0-2a1f-95a5-adf4cca9ee81",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Suffocation face convert soup cricket",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/dad4437d-d5a0-2a1f-95a5-adf4cca9ee81"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:737a80e8-e1f6-3f78-98bf-f051b176be60",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "737a80e8-e1f6-3f78-98bf-f051b176be60",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Step-Grandmother",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/737a80e8-e1f6-3f78-98bf-f051b176be60"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:141338ad-2acf-f6f3-4c96-9db178a297db",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "141338ad-2acf-f6f3-4c96-9db178a297db",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Pheasant shot disembodiment",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/141338ad-2acf-f6f3-4c96-9db178a297db"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e207d6a-254c-199e-ace3-73028bbf61e2",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "9e207d6a-254c-199e-ace3-73028bbf61e2",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "White feature",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/9e207d6a-254c-199e-ace3-73028bbf61e2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7ece5490-60d5-9c13-80d7-e316eb0f8e11",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "7ece5490-60d5-9c13-80d7-e316eb0f8e11",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Duster",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/7ece5490-60d5-9c13-80d7-e316eb0f8e11"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e8265970-6279-10e5-e7f2-5c293bfe01be",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "e8265970-6279-10e5-e7f2-5c293bfe01be",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Science cycle demand",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/e8265970-6279-10e5-e7f2-5c293bfe01be"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:447cfa11-4719-8b8c-5d7f-698fe7f2d492",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "447cfa11-4719-8b8c-5d7f-698fe7f2d492",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Charm official",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/447cfa11-4719-8b8c-5d7f-698fe7f2d492"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:11738ca9-487e-3484-ff4d-5d0e04b52681",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "11738ca9-487e-3484-ff4d-5d0e04b52681",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Airport manservant",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/11738ca9-487e-3484-ff4d-5d0e04b52681"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a7307ba2-a39d-7fac-8333-416851242799",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "a7307ba2-a39d-7fac-8333-416851242799",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Lanai flute unique plain feature parking pressure",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/a7307ba2-a39d-7fac-8333-416851242799"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a0a317c7-fc88-8e06-1481-20dd212e9dc8",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "a0a317c7-fc88-8e06-1481-20dd212e9dc8",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Instance buggy colt route pier menorah ingrate garb",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/a0a317c7-fc88-8e06-1481-20dd212e9dc8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9914967a-1c3e-c037-30f2-362b2135b21b",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "9914967a-1c3e-c037-30f2-362b2135b21b",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Character press mini comic",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/9914967a-1c3e-c037-30f2-362b2135b21b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a43d8206-d6e6-95a5-2c99-aa86046ba477",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "a43d8206-d6e6-95a5-2c99-aa86046ba477",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "obs-id",
+ "display": "obs-text",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/coding-system"
+ }
+ ]
+ },
+ "valueString": "Reminder shofar congo vibration mother-in-law bondsman suspect",
+ "subject": {
+ "reference": "Patient/a6ea438d-b20e-d59e-c9bf-e31dd88f7e4e"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/a43d8206-d6e6-95a5-2c99-aa86046ba477"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json
index 9cc659b9a..6a7579a4b 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-1-expected.json
@@ -5,6 +5,7 @@
"identifier": {
"value": "TC09SAPartAIG030101AA"
},
+ "id": "b56f609b-5811-993c-e8ce-2ed8e3dbde53",
"entry": [
{
"fullUrl": "urn:uuid:6eda7d2f-32f8-a6c7-5125-d59f65a25c97",
@@ -53,6 +54,97 @@
"url": "MessageHeader/6eda7d2f-32f8-a6c7-5125-d59f65a25c97"
}
},
+ {
+ "fullUrl": "urn:uuid:a8f237a8-b330-c901-c5c0-5f847b8ecd91",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "a8f237a8-b330-c901-c5c0-5f847b8ecd91",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:53:15.699Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.
"
+ },
+ "occurredDateTime": "2016-03-09T04:34:05+05:30",
+ "recorded": "2016-03-09T04:34:05+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "OML^O21^OML_O21"
+ }
+ ]
+ },
+ "target": [
+ {
+ "reference": "Bundle/b56f609b-5811-993c-e8ce-2ed8e3dbde53"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/a8f237a8-b330-c901-c5c0-5f847b8ecd91"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3ec1a91c-4720-6f8c-d861-4fa35aff66a7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3ec1a91c-4720-6f8c-d861-4fa35aff66a7",
+ "identifier": [
+ {
+ "value": "MDHHS",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d6043a57-a50e-abc1-6fcf-96fff9d1bfb0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d6043a57-a50e-abc1-6fcf-96fff9d1bfb0",
+ "identifier": [
+ {
+ "value": "MDHHS",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.114222.4.3.2.2.3.161.1",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0"
+ }
+ },
{
"fullUrl": "urn:uuid:97997f4d-5259-b974-5a44-1b7450c2f4ab",
"resource": {
@@ -145,43 +237,6 @@
}
]
}
- ],
- "contact": [
- {
- "name": {
- "family": "Shine",
- "given": [
- "Sarah"
- ]
- },
- "address": {
- "line": [
- "123 Main Street",
- "Apartment 3-C"
- ],
- "city": "Oldtown",
- "state": "MI",
- "postalCode": "48917",
- "country": "USA"
- },
- "telecom": [
- {
- "use": "home",
- "system": "phone"
- }
- ],
- "relationship": [
- {
- "coding": [
- {
- "code": "E",
- "display": "Employer",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0131"
- }
- ]
- }
- ]
- }
]
},
"request": {
@@ -190,136 +245,128 @@
}
},
{
- "fullUrl": "urn:uuid:",
- "resource": {
- "resourceType": "Practitioner"
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/"
- }
- },
- {
- "fullUrl": "urn:uuid:",
+ "fullUrl": "urn:uuid:b4494dc0-e11b-658a-8cce-5241ed1ccdc0",
"resource": {
- "resourceType": "Location"
- },
- "request": {
- "method": "PUT",
- "url": "Location/"
- }
- },
- {
- "fullUrl": "urn:uuid:1bf1c1fb-5a57-2c41-d065-7740bdefa1b2",
- "resource": {
- "resourceType": "Provenance",
- "id": "1bf1c1fb-5a57-2c41-d065-7740bdefa1b2",
- "text": {
- "status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:40:34.155Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.
"
- },
- "occurredDateTime": "2016-03-09T04:34:05+05:30",
- "recorded": "2016-03-09T04:34:05+05:30",
- "agent": [
+ "resourceType": "Coverage",
+ "id": "b4494dc0-e11b-658a-8cce-5241ed1ccdc0",
+ "class": [
{
+ "value": "NA",
"type": {
"coding": [
{
- "code": "author",
- "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
+ "code": "plan",
+ "display": "Plan"
+ }
+ ]
+ }
+ },
+ {
+ "value": "IG030101",
+ "type": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
+ "code": "group",
+ "display": "Group"
}
]
- },
- "who": {
- "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7"
}
}
],
- "activity": {
- "coding": [
- {
- "display": "OML^O21^OML_O21"
- }
- ]
+ "period": {
+ "end": "2017-10-08T01:34:05+05:30"
},
- "target": [
+ "identifier": [
{
- "reference": "Bundle/"
+ "value": "TC09SA-PartA",
+ "type": {
+ "coding": [
+ {
+ "code": "PLN",
+ "display": "Policy Number",
+ "system": "http://example.com/CodeSystem/additional-identifier"
+ }
+ ]
+ },
+ "system": "http://www.examplehealthplan.com/fhir/policyidentifier"
}
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Provenance/1bf1c1fb-5a57-2c41-d065-7740bdefa1b2"
- }
- },
- {
- "fullUrl": "urn:uuid:d26a5004-0934-26f5-0201-4e302d6163c4",
- "resource": {
- "resourceType": "Account",
- "id": "d26a5004-0934-26f5-0201-4e302d6163c4",
+ ],
"status": "active",
- "subject": [
+ "beneficiary": {
+ "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab"
+ },
+ "payor": [
{
- "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab"
+ "reference": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350"
}
- ]
+ ],
+ "policyHolder": {
+ "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1"
+ },
+ "subscriber": {
+ "reference": "RelatedPerson/fed1892c-d5ce-3318-bc7c-692fa1cc5093"
+ }
},
"request": {
"method": "PUT",
- "url": "Account/d26a5004-0934-26f5-0201-4e302d6163c4"
+ "url": "Coverage/b4494dc0-e11b-658a-8cce-5241ed1ccdc0"
}
},
{
- "fullUrl": "urn:uuid:",
+ "fullUrl": "urn:uuid:c30aa783-68cc-9ce0-504f-9e4b50183350",
"resource": {
- "resourceType": "Encounter",
- "text": {
- "status": "generated",
- "div": ""
- },
- "subject": {
- "reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab"
- }
+ "resourceType": "Organization",
+ "id": "c30aa783-68cc-9ce0-504f-9e4b50183350",
+ "address": [
+ {
+ "line": [
+ "30555"
+ ],
+ "city": "Lansing",
+ "state": "MI",
+ "postalCode": "48933"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "LHC"
+ }
+ ],
+ "name": "Lansing Health Care"
},
"request": {
"method": "PUT",
- "url": "Encounter/"
+ "url": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350"
}
},
{
- "fullUrl": "urn:uuid:",
+ "fullUrl": "urn:uuid:0c8a9af0-2231-f818-ed7c-40bdb2aea2d1",
"resource": {
- "resourceType": "Organization"
+ "resourceType": "Organization",
+ "id": "0c8a9af0-2231-f818-ed7c-40bdb2aea2d1",
+ "name": "Walmart"
},
"request": {
"method": "PUT",
- "url": "Organization/"
+ "url": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1"
}
},
{
- "fullUrl": "urn:uuid:39780c38-eef5-37af-195d-4a60184c0354",
+ "fullUrl": "urn:uuid:fed1892c-d5ce-3318-bc7c-692fa1cc5093",
"resource": {
"resourceType": "RelatedPerson",
- "id": "39780c38-eef5-37af-195d-4a60184c0354",
+ "id": "fed1892c-d5ce-3318-bc7c-692fa1cc5093",
"relationship": [
{
"coding": [
{
- "code": "MTH",
- "display": "mother",
+ "code": "CHILD",
+ "display": "child",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
}
]
- },
- {
- "coding": [
- {
- "code": "E",
- "display": "Employer",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0131"
- }
- ]
}
],
"address": [
@@ -334,12 +381,6 @@
"country": "USA"
}
],
- "telecom": [
- {
- "use": "home",
- "system": "phone"
- }
- ],
"name": [
{
"family": "Shine",
@@ -348,13 +389,14 @@
]
}
],
+ "birthDate": "1975-06-27",
"patient": {
"reference": "Patient/97997f4d-5259-b974-5a44-1b7450c2f4ab"
}
},
"request": {
"method": "PUT",
- "url": "RelatedPerson/39780c38-eef5-37af-195d-4a60184c0354"
+ "url": "RelatedPerson/fed1892c-d5ce-3318-bc7c-692fa1cc5093"
}
}
]
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json
index f14a72369..9de9c05dc 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/MDHHS-OML-O21-2-expected.json
@@ -5,6 +5,7 @@
"identifier": {
"value": "TC14IG030107AA"
},
+ "id": "65e80ae9-58dc-500c-8ad4-ab62c0bb6898",
"entry": [
{
"fullUrl": "urn:uuid:f651f710-5269-afaa-f743-57b7a501b0c6",
@@ -53,6 +54,97 @@
"url": "MessageHeader/f651f710-5269-afaa-f743-57b7a501b0c6"
}
},
+ {
+ "fullUrl": "urn:uuid:2f0f2d7d-7f93-e624-fa21-11d1c490897f",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "2f0f2d7d-7f93-e624-fa21-11d1c490897f",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:53:34.627Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.
"
+ },
+ "occurredDateTime": "2016-03-09T21:02:05+05:30",
+ "recorded": "2016-03-09T21:02:05+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "OML^O21^OML_O21"
+ }
+ ]
+ },
+ "target": [
+ {
+ "reference": "Bundle/65e80ae9-58dc-500c-8ad4-ab62c0bb6898"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/2f0f2d7d-7f93-e624-fa21-11d1c490897f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3ec1a91c-4720-6f8c-d861-4fa35aff66a7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "3ec1a91c-4720-6f8c-d861-4fa35aff66a7",
+ "identifier": [
+ {
+ "value": "MDHHS",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d6043a57-a50e-abc1-6fcf-96fff9d1bfb0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "d6043a57-a50e-abc1-6fcf-96fff9d1bfb0",
+ "identifier": [
+ {
+ "value": "MDHHS",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-MDHHS"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.114222.4.3.2.2.3.161.1",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/d6043a57-a50e-abc1-6fcf-96fff9d1bfb0"
+ }
+ },
{
"fullUrl": "urn:uuid:daed9284-6d12-ca12-4260-9aad09e1f201",
"resource": {
@@ -145,43 +237,6 @@
}
]
}
- ],
- "contact": [
- {
- "name": {
- "family": "Shonal",
- "given": [
- "Old"
- ]
- },
- "address": {
- "line": [
- "123 Main Street",
- "Apartment 3-C"
- ],
- "city": "Oldtown",
- "state": "MI",
- "postalCode": "48917",
- "country": "USA"
- },
- "telecom": [
- {
- "use": "home",
- "system": "phone"
- }
- ],
- "relationship": [
- {
- "coding": [
- {
- "code": "E",
- "display": "Employer",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0131"
- }
- ]
- }
- ]
- }
]
},
"request": {
@@ -190,223 +245,128 @@
}
},
{
- "fullUrl": "urn:uuid:",
- "resource": {
- "resourceType": "Practitioner",
- "identifier": [
- {
- "value": "8075000001",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPI"
- }
- ],
- "name": [
- {
- "family": "Smiles",
- "given": [
- "Minnie"
- ],
- "suffix": [
- "DR"
- ]
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/"
- }
- },
- {
- "fullUrl": "urn:uuid:0ac4aa7e-de74-bd40-3b64-97a1c0f3a414",
+ "fullUrl": "urn:uuid:2839c7cc-58ca-f08d-1358-a15fa18660d3",
"resource": {
- "resourceType": "Practitioner",
- "id": "0ac4aa7e-de74-bd40-3b64-97a1c0f3a414",
- "identifier": [
+ "resourceType": "Coverage",
+ "id": "2839c7cc-58ca-f08d-1358-a15fa18660d3",
+ "class": [
{
- "value": "8075000001",
- "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPI"
- }
- ],
- "name": [
- {
- "family": "Smiles",
- "given": [
- "Minnie"
- ],
- "suffix": [
- "DR"
- ]
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414"
- }
- },
- {
- "fullUrl": "urn:uuid:8d21e8ca-50c4-05e7-edb8-9f74c624369e",
- "resource": {
- "resourceType": "Location",
- "id": "8d21e8ca-50c4-05e7-edb8-9f74c624369e",
- "name": "Detroit City Hospital",
- "identifier": [
+ "value": "NA",
+ "type": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
+ "code": "plan",
+ "display": "Plan"
+ }
+ ]
+ }
+ },
{
- "value": "8175000005"
+ "value": "FR080901",
+ "type": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
+ "code": "group",
+ "display": "Group"
+ }
+ ]
+ }
}
],
- "address": {
- "line": [
- "2405 Garden St"
- ],
- "city": "Detroit",
- "state": "MI",
- "postalCode": "48201",
- "country": "USA"
+ "period": {
+ "end": "2017-10-08T01:34:05+05:30"
},
- "telecom": [
- {
- "use": "work",
- "system": "phone"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Location/8d21e8ca-50c4-05e7-edb8-9f74c624369e"
- }
- },
- {
- "fullUrl": "urn:uuid:a0ade8a7-09f2-7ce2-46bf-2ab7facb9e9d",
- "resource": {
- "resourceType": "Provenance",
- "id": "a0ade8a7-09f2-7ce2-46bf-2ab7facb9e9d",
- "text": {
- "status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:57:06.13Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.
"
- },
- "occurredDateTime": "2016-03-09T21:02:05+05:30",
- "recorded": "2016-03-09T21:02:05+05:30",
- "agent": [
+ "identifier": [
{
+ "value": "TC05SA",
"type": {
"coding": [
{
- "code": "author",
- "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ "code": "PLN",
+ "display": "Policy Number",
+ "system": "http://example.com/CodeSystem/additional-identifier"
}
]
},
- "who": {
- "reference": "Organization/3ec1a91c-4720-6f8c-d861-4fa35aff66a7"
- }
+ "system": "http://www.examplehealthplan.com/fhir/policyidentifier"
}
],
- "activity": {
- "coding": [
- {
- "display": "OML^O21^OML_O21"
- }
- ]
- },
- "location": {
- "reference": "Location/8d21e8ca-50c4-05e7-edb8-9f74c624369e"
- },
- "target": [
- {
- "reference": "Bundle/"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Provenance/a0ade8a7-09f2-7ce2-46bf-2ab7facb9e9d"
- }
- },
- {
- "fullUrl": "urn:uuid:6143ab70-4f28-7863-6edf-704abf375c8d",
- "resource": {
- "resourceType": "Account",
- "id": "6143ab70-4f28-7863-6edf-704abf375c8d",
"status": "active",
- "subject": [
+ "beneficiary": {
+ "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201"
+ },
+ "payor": [
{
- "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201"
+ "reference": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350"
}
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Account/6143ab70-4f28-7863-6edf-704abf375c8d"
- }
- },
- {
- "fullUrl": "urn:uuid:",
- "resource": {
- "resourceType": "Encounter",
- "text": {
- "status": "generated",
- "div": ""
+ ],
+ "policyHolder": {
+ "reference": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1"
},
- "subject": {
- "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201"
+ "subscriber": {
+ "reference": "RelatedPerson/ff1b880e-468e-7a2f-41cb-8b6e204901f3"
}
},
"request": {
"method": "PUT",
- "url": "Encounter/"
+ "url": "Coverage/2839c7cc-58ca-f08d-1358-a15fa18660d3"
}
},
{
- "fullUrl": "urn:uuid:",
+ "fullUrl": "urn:uuid:c30aa783-68cc-9ce0-504f-9e4b50183350",
"resource": {
"resourceType": "Organization",
+ "id": "c30aa783-68cc-9ce0-504f-9e4b50183350",
"address": [
{
"line": [
- "2405 Garden St"
+ "30555"
],
- "city": "Detroit",
+ "city": "Lansing",
"state": "MI",
- "postalCode": "48201",
- "country": "USA"
+ "postalCode": "48933"
}
],
- "telecom": [
+ "identifier": [
{
- "use": "work",
- "system": "phone"
+ "value": "LHC"
}
- ]
+ ],
+ "name": "Lansing Health Care"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c30aa783-68cc-9ce0-504f-9e4b50183350"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0c8a9af0-2231-f818-ed7c-40bdb2aea2d1",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0c8a9af0-2231-f818-ed7c-40bdb2aea2d1",
+ "name": "Walmart"
},
"request": {
"method": "PUT",
- "url": "Organization/"
+ "url": "Organization/0c8a9af0-2231-f818-ed7c-40bdb2aea2d1"
}
},
{
- "fullUrl": "urn:uuid:0f9b5688-7b42-3a39-344c-59b068f35f16",
+ "fullUrl": "urn:uuid:ff1b880e-468e-7a2f-41cb-8b6e204901f3",
"resource": {
"resourceType": "RelatedPerson",
- "id": "0f9b5688-7b42-3a39-344c-59b068f35f16",
+ "id": "ff1b880e-468e-7a2f-41cb-8b6e204901f3",
"relationship": [
{
"coding": [
{
- "code": "MTH",
- "display": "mother",
+ "code": "CHILD",
+ "display": "child",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
}
]
- },
- {
- "coding": [
- {
- "code": "E",
- "display": "Employer",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0131"
- }
- ]
}
],
"address": [
@@ -421,12 +381,6 @@
"country": "USA"
}
],
- "telecom": [
- {
- "use": "home",
- "system": "phone"
- }
- ],
"name": [
{
"family": "Shonal",
@@ -435,41 +389,14 @@
]
}
],
+ "birthDate": "1975-06-27",
"patient": {
"reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201"
}
},
"request": {
"method": "PUT",
- "url": "RelatedPerson/0f9b5688-7b42-3a39-344c-59b068f35f16"
- }
- },
- {
- "fullUrl": "urn:uuid:a07e0fa5-e133-7049-7e66-15c22f36bfbf",
- "resource": {
- "resourceType": "Organization",
- "id": "a07e0fa5-e133-7049-7e66-15c22f36bfbf",
- "address": [
- {
- "line": [
- "2405 Garden St"
- ],
- "city": "Detroit",
- "state": "MI",
- "postalCode": "48201",
- "country": "USA"
- }
- ],
- "telecom": [
- {
- "use": "work",
- "system": "phone"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Organization/a07e0fa5-e133-7049-7e66-15c22f36bfbf"
+ "url": "RelatedPerson/ff1b880e-468e-7a2f-41cb-8b6e204901f3"
}
},
{
@@ -477,33 +404,24 @@
"resource": {
"resourceType": "ServiceRequest",
"id": "bafe469c-5cc7-f800-feae-81b33cf36940",
+ "status": "active",
"intent": "order",
"identifier": [
{
- "value": "R783274",
- "system": "urn:oid:2.16.840.1.113883.3.72.5.25",
- "type": {
- "coding": [
- {
- "code": "FILL",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
- }
- ]
- }
- },
- {
- "value": "GORD874211",
+ "value": "ORD723222",
"system": "urn:oid:2.16.840.1.113883.3.72.5.24",
"type": {
"coding": [
{
- "code": "PGN",
+ "code": "PLAC",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203"
}
]
}
},
{
+ "value": "R-783274",
+ "system": "urn:oid:2.16.840.1.113883.3.72.5.25",
"type": {
"coding": [
{
@@ -514,117 +432,134 @@
}
},
{
- "value": "ORD723222",
+ "value": "GORD874211",
"system": "urn:oid:2.16.840.1.113883.3.72.5.24",
"type": {
"coding": [
{
- "code": "ISO",
- "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
- }
- ]
- }
- },
- {
- "value": "R-783274",
- "system": "urn:oid:2.16.840.1.113883.3.72.5.25",
- "type": {
- "coding": [
- {
- "code": "ISO",
- "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
}
]
}
}
],
"authoredOn": "2016-02-23T20:07:05+05:30",
- "occurrenceDateTime": "2016-02-23T20:17:05+05:30",
- "requester": {
- "reference": "Organization/a07e0fa5-e133-7049-7e66-15c22f36bfbf"
- },
- "subject": {
- "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201"
- },
"code": {
"coding": [
{
"code": "1320",
"display": "HIV Ag/Ab - Serum",
"system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
- },
- {
- "code": "1680",
- "display": "Syphilis (USR test)(1)",
- "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
}
]
},
- "reasonCode": [
+ "subject": {
+ "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201"
+ },
+ "requester": {
+ "reference": "PractitionerRole/9996be7d-26c8-997e-2f57-9ce40fe59181"
+ },
+ "specimen": [
{
- "coding": [
- {
- "code": "RFS01",
- "display": "Diagnosis",
- "system": "http://example.com/v2-to-fhir-converter/CodeSystem/BOL_0001"
- }
- ]
+ "reference": "Specimen/29fb3250-9864-4dad-e590-4126768684d4"
}
],
- "supportingInfo": [
+ "note": [
{
- "reference": "Observation/c55789d4-78ae-5836-21d4-48191c4763a7"
+ "text": "the sky is blue"
}
],
- "specimen": [
+ "occurrenceDateTime": "2016-02-23T20:17:05+05:30"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/bafe469c-5cc7-f800-feae-81b33cf36940"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0ac4aa7e-de74-bd40-3b64-97a1c0f3a414",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "0ac4aa7e-de74-bd40-3b64-97a1c0f3a414",
+ "identifier": [
{
- "reference": "Specimen/92af9b9a-bcfc-b6f6-ce19-bf5bc7b28707"
+ "value": "8075000001",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPI"
+ }
+ ],
+ "name": [
+ {
+ "family": "Smiles",
+ "given": [
+ "Minnie"
+ ],
+ "suffix": [
+ "DR"
+ ]
}
]
},
"request": {
"method": "PUT",
- "url": "ServiceRequest/bafe469c-5cc7-f800-feae-81b33cf36940"
+ "url": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414"
}
},
{
- "fullUrl": "urn:uuid:",
+ "fullUrl": "urn:uuid:9996be7d-26c8-997e-2f57-9ce40fe59181",
"resource": {
- "resourceType": "Provenance",
- "recorded": "2016-02-23T20:07:05+05:30",
- "occurredDateTime": "2016-02-23T20:07:05+05:30",
- "agent": [
+ "resourceType": "PractitionerRole",
+ "id": "9996be7d-26c8-997e-2f57-9ce40fe59181",
+ "practitioner": {
+ "reference": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/9996be7d-26c8-997e-2f57-9ce40fe59181"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:29fb3250-9864-4dad-e590-4126768684d4",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "29fb3250-9864-4dad-e590-4126768684d4",
+ "collection": {
+ "collectedPeriod": {
+ "start": "2016-03-08T21:02:05+05:30",
+ "end": "2016-03-08T21:02:05+05:30"
+ }
+ },
+ "identifier": [
{
+ "value": "ORD723222",
+ "system": "urn:oid:2.16.840.1.113883.3.72.5.24",
"type": {
"coding": [
{
- "code": "author",
- "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
}
]
- },
- "who": {
- "reference": "Practitioner/0ac4aa7e-de74-bd40-3b64-97a1c0f3a414"
}
- }
- ],
- "location": {
- "reference": "Location/8d21e8ca-50c4-05e7-edb8-9f74c624369e"
- },
- "target": [
- {
- "reference": "Bundle/"
},
{
- "reference": "ServiceRequest/bafe469c-5cc7-f800-feae-81b33cf36940"
+ "value": "R-783274",
+ "system": "urn:oid:2.16.840.1.113883.3.72.5.25",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
}
]
},
"request": {
"method": "PUT",
- "url": "Provenance/"
+ "url": "Specimen/29fb3250-9864-4dad-e590-4126768684d4"
}
},
{
@@ -642,8 +577,31 @@
}
]
},
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/bafe469c-5cc7-f800-feae-81b33cf36940"
+ }
+ ],
"valueString": "NO",
- "effectiveDateTime": "2016-03-08T21:02:05+05:30"
+ "effectiveDateTime": "2016-03-08T21:02:05+05:30",
+ "subject": {
+ "reference": "Patient/daed9284-6d12-ca12-4260-9aad09e1f201"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "O",
+ "display": "Order Detail",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Order Detail"
+ }
+ }
+ ]
},
"request": {
"method": "PUT",
@@ -663,7 +621,7 @@
{
"code": "119339001",
"display": "Stool Specimen (Specimen)",
- "system": "http://snomed.info/sct"
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0487"
}
]
},
@@ -672,11 +630,17 @@
"additiveCodeableConcept": {
"coding": [
{
- "code": "NONE"
+ "code": "NONE",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0371"
}
]
}
}
+ ],
+ "request": [
+ {
+ "reference": "ServiceRequest/bafe469c-5cc7-f800-feae-81b33cf36940"
+ }
]
},
"request": {
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json
new file mode 100644
index 000000000..23f9d2541
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-01-expected.json
@@ -0,0 +1,2681 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-10-20T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00019"
+ },
+ "id": "850fa16f-dec7-80c7-978f-7276e0f16e62",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "85946184-5877-2309-6765-683c677d000d",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "O21",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "OML^O21^OML_O21"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "58988e57-a45e-285b-5942-4480980652df",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:52:34.631Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.
"
+ },
+ "occurredDateTime": "2021-10-20T14:41:00+05:30",
+ "recorded": "2021-10-20T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "OML^O21^OML_O21"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/58988e57-a45e-285b-5942-4480980652df"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69",
+ "resource": {
+ "resourceType": "Device",
+ "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69",
+ "identifier": [
+ {
+ "value": "ORDApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ },
+ {
+ "value": "Medicare-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MC",
+ "display": "Patient's Medicare number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-medicare"
+ },
+ {
+ "value": "MI-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MI",
+ "display": "Military ID number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/identifier-military"
+ },
+ {
+ "value": "MB-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Member Number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.5"
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ],
+ "contact": [
+ {
+ "name": {
+ "family": "Abbot",
+ "given": [
+ "Adam",
+ "A"
+ ],
+ "suffix": [
+ "III",
+ "PHD"
+ ],
+ "prefix": [
+ "DR"
+ ],
+ "use": "official"
+ },
+ "address": {
+ "line": [
+ "1000 Hospital Lane",
+ "Ste.123"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "use": "work"
+ },
+ "telecom": [
+ {
+ "value": "(626)555-1234",
+ "use": "work",
+ "system": "phone"
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Emergency Contact",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0131"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ],
+ "guarantor": [
+ {
+ "party": {
+ "reference": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98"
+ },
+ "onHold": false,
+ "period": {
+ "start": "2016-01-01"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e42e5df9-fef2-9072-3b17-3f2475927f98",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "e42e5df9-fef2-9072-3b17-3f2475927f98",
+ "identifier": [
+ {
+ "value": "1516",
+ "type": {
+ "coding": [
+ {
+ "code": "LN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "License number"
+ }
+ ]
+ }
+ },
+ {
+ "value": "19290207",
+ "type": {
+ "coding": [
+ {
+ "code": "EI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Employee number"
+ }
+ ]
+ }
+ },
+ {
+ "value": "2245367687",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "display": "mother",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "address": [
+ {
+ "line": [
+ "1619 SOUTH UNIVERSITY"
+ ],
+ "city": "MADISON",
+ "state": "WI",
+ "postalCode": "53703",
+ "country": "US"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)251-7777",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "(608)2517777",
+ "system": "phone",
+ "use": "work"
+ }
+ ],
+ "name": [
+ {
+ "family": "RADIANT",
+ "given": [
+ "LUCY"
+ ]
+ }
+ ],
+ "gender": "female",
+ "birthDate": "2001-04-12",
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1",
+ "identifier": [
+ {
+ "value": "0210"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9",
+ "identifier": [
+ {
+ "value": "0310"
+ }
+ ],
+ "name": [
+ {
+ "family": "REFER",
+ "given": [
+ "LINDA",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6c138e7c-e841-af07-8948-d01692bd2739",
+ "identifier": [
+ {
+ "value": "03410"
+ }
+ ],
+ "name": [
+ {
+ "family": "ADMIT",
+ "given": [
+ "LINDA",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ed401da2-2b32-f3d0-d128-9766ac20c0ad",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ed401da2-2b32-f3d0-d128-9766ac20c0ad",
+ "name": "LABUnit01",
+ "mode": "instance",
+ "description": "LABUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ee586d80-706a-5933-8500-a8026c48fb27",
+ "partOf": {
+ "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad"
+ },
+ "name": "Room01",
+ "mode": "instance",
+ "description": "LABUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821",
+ "name": "GHH",
+ "mode": "instance",
+ "description": "LABUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5357a3e3-2c50-7c10-6b22-00b646c8b396",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5357a3e3-2c50-7c10-6b22-00b646c8b396",
+ "name": "TraumaCentre",
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "partOf": {
+ "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ },
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e9bd830d-8f94-01b9-7562-854da22940d3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "e9bd830d-8f94-01b9-7562-854da22940d3",
+ "name": "GHH1",
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/e9bd830d-8f94-01b9-7562-854da22940d3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995",
+ "class": {
+ "code": "AMB",
+ "display": "ambulatory",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739"
+ }
+ }
+ ],
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ }
+ ],
+ "period": {
+ "start": "2021-10-20T14:41:00+05:30"
+ },
+ "text": {
+ "status": "generated",
+ "div": ""
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "diagnosis": [
+ {
+ "condition": {
+ "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322"
+ },
+ "use": {
+ "coding": [
+ {
+ "code": "DD",
+ "display": "Discharge Diagnosis",
+ "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role"
+ }
+ ]
+ },
+ "rank": 1
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6415af3e-e19f-4ebe-e028-68273aa308ff",
+ "resource": {
+ "resourceType": "AllergyIntolerance",
+ "id": "6415af3e-e19f-4ebe-e028-68273aa308ff",
+ "category": [
+ "food"
+ ],
+ "type": "allergy",
+ "code": {
+ "coding": [
+ {
+ "code": "12345",
+ "display": "Peanut Allergy",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ "reaction": [
+ {
+ "manifestation": [
+ {
+ "text": "moderate"
+ }
+ ],
+ "onset": "2021-01-21"
+ }
+ ],
+ "criticality": "low",
+ "clinicalStatus": {
+ "coding": [
+ {
+ "code": "active",
+ "display": "Active",
+ "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"
+ }
+ ]
+ },
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "AllergyIntolerance/6415af3e-e19f-4ebe-e028-68273aa308ff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4",
+ "resource": {
+ "resourceType": "Coverage",
+ "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4",
+ "class": [
+ {
+ "value": "BAV",
+ "name": "Blue Advantage HMO",
+ "type": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
+ "code": "plan",
+ "display": "Plan"
+ }
+ ]
+ }
+ },
+ {
+ "value": "Grp-12345",
+ "name": "BCBS HMO",
+ "type": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
+ "code": "group",
+ "display": "Group"
+ }
+ ]
+ }
+ }
+ ],
+ "network": "Blue Advantage HMO",
+ "period": {
+ "start": "1998-11-01"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "HMO",
+ "display": "health maintenance organization policy",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "548851236L",
+ "type": {
+ "coding": [
+ {
+ "code": "PLN",
+ "display": "Policy Number",
+ "system": "http://example.com/CodeSystem/additional-identifier"
+ }
+ ]
+ },
+ "system": "http://www.examplehealthplan.com/fhir/policyidentifier"
+ },
+ {
+ "value": "Medicare-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MC",
+ "display": "Patient's Medicare number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-medicare"
+ },
+ {
+ "value": "MB-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Member Number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.5"
+ }
+ ],
+ "costToBeneficiary": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "DC",
+ "display": "direct unit cost",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0205"
+ }
+ ]
+ },
+ "valueMoney": {
+ "value": 150,
+ "currency": "USD"
+ }
+ }
+ ],
+ "subscriberId": "HMO-12345",
+ "status": "active",
+ "beneficiary": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "payor": [
+ {
+ "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889"
+ }
+ ],
+ "policyHolder": {
+ "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42"
+ },
+ "subscriber": {
+ "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777"
+ },
+ "relationship": {
+ "coding": [
+ {
+ "code": "spouse",
+ "display": "Spouse",
+ "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "04a2a5f2-c971-1e42-e788-250ea487a889",
+ "address": [
+ {
+ "line": [
+ "1979 MILKY WAY"
+ ],
+ "city": "VERONA",
+ "state": "WI",
+ "postalCode": "53593",
+ "country": "US"
+ }
+ ],
+ "contact": [
+ {
+ "name": {
+ "family": "Roger",
+ "given": [
+ "Dann"
+ ]
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(555)555-5555",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "Org-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "NIIP",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "National Insurance Payor Identifier (Payor)"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.1"
+ }
+ ],
+ "name": "Blue Cross Blue Shield of Texas"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0f21af2c-9880-54cb-14a5-5493a766da42",
+ "address": [
+ {
+ "line": [
+ "2000 MILKY WAY"
+ ],
+ "city": "VERONA",
+ "state": "WI",
+ "postalCode": "53593",
+ "country": "US"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "Tel-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "EN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Employer number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.2"
+ }
+ ],
+ "name": "Telstra",
+ "contact": [
+ {
+ "name": {
+ "family": "Richard",
+ "given": [
+ "Paul"
+ ]
+ },
+ "telecom": [
+ {
+ "value": "(555)555-1234",
+ "system": "phone"
+ }
+ ]
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(555)123-5678",
+ "system": "phone"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777",
+ "identifier": [
+ {
+ "value": "HMO-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "NI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "National unique individual identifier"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.3"
+ },
+ {
+ "value": "EI-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "EI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Employee number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.4"
+ },
+ {
+ "value": "425-57-9745",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "display": "Social Security number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "SPS",
+ "display": "spouse",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "address": [
+ {
+ "line": [
+ "3857 Velvet Treasure Terrace"
+ ],
+ "city": "Midnight",
+ "state": "NC",
+ "postalCode": "27878",
+ "country": "US"
+ }
+ ],
+ "name": [
+ {
+ "family": "Doe",
+ "given": [
+ "Rosallie",
+ "John"
+ ],
+ "suffix": [
+ "III",
+ "Bachelors"
+ ],
+ "prefix": [
+ "Mrs."
+ ],
+ "use": "official"
+ }
+ ],
+ "gender": "female",
+ "birthDate": "1975-02-28",
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "telecom": [
+ {
+ "value": "(555)123-1234",
+ "system": "phone"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "en",
+ "display": "English"
+ }
+ ]
+ },
+ "preferred": true
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3622230f-85a9-b313-e26b-eabfc755e34f",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "3622230f-85a9-b313-e26b-eabfc755e34f",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "1101",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1201",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "authoredOn": "2021-10-20T14:41:00+05:30",
+ "locationCode": [
+ {
+ "coding": [
+ {
+ "code": "OF",
+ "display": "Outpatient facility",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "57698-3",
+ "display": "Lipid panel with direct LDL - Serum or Plasma",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "requester": {
+ "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a"
+ }
+ ],
+ "note": [
+ {
+ "text": "Urgent"
+ },
+ {
+ "text": "Fasting Sugar"
+ }
+ ],
+ "reasonReference": [
+ {
+ "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322"
+ }
+ ],
+ "asNeededCodeableConcept": {
+ "text": "Pain"
+ },
+ "quantityQuantity": {
+ "value": 1
+ },
+ "occurrenceTiming": {
+ "code": {
+ "coding": [
+ {
+ "code": "Once"
+ }
+ ]
+ },
+ "repeat": {
+ "period": 1,
+ "periodUnit": "d",
+ "when": [
+ "AC"
+ ],
+ "offset": 60,
+ "boundsDuration": {
+ "value": 1,
+ "unit": "Day",
+ "code": "d",
+ "system": "http://unitsofmeasure.org"
+ },
+ "duration": 15,
+ "durationUnit": "min",
+ "count": 1
+ }
+ },
+ "priority": "routine"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "8af87360-4a75-1531-6192-9bdbb1b0351c",
+ "identifier": [
+ {
+ "value": "005454"
+ }
+ ],
+ "name": [
+ {
+ "family": "LAB",
+ "given": [
+ "ROBIN",
+ "B"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649",
+ "practitioner": {
+ "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a",
+ "collection": {
+ "collectedDateTime": "2021-10-20T15:15:00+05:30"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e06055fc-0230-24ef-7d66-7ae83cafb322",
+ "resource": {
+ "resourceType": "Condition",
+ "id": "e06055fc-0230-24ef-7d66-7ae83cafb322",
+ "code": {
+ "coding": [
+ {
+ "code": "E10.9",
+ "display": "Diabetes Mellitus Type 1",
+ "system": "http://hl7.org/fhir/sid/icd-10"
+ }
+ ],
+ "text": "Diabetes"
+ },
+ "onsetDateTime": "2020-05-01T15:45:09+05:30",
+ "identifier": [
+ {
+ "value": "DG1002"
+ }
+ ],
+ "asserter": {
+ "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c"
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate",
+ "valueDateTime": "2020-05-01T16:45:15+05:30"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "identifier": [
+ {
+ "value": "PERSt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "identifier": [
+ {
+ "value": "1134",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Aly",
+ "given": [
+ "Zafar",
+ "Mahendra"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "resource": {
+ "resourceType": "Device",
+ "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "identifier": [
+ {
+ "value": "EI12.3",
+ "system": "urn:uuid:UI2",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ },
+ {
+ "system": "urn:oid:UI1",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "identifier": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "MD-25"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "LabMedicalDirector",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ },
+ "organization": {
+ "reference": "Organization/08c155be-912e-af06-d464-5b6bb63d660f"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08c155be-912e-af06-d464-5b6bb63d660f",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08c155be-912e-af06-d464-5b6bb63d660f",
+ "name": "State Hygienic Laboratory",
+ "identifier": [
+ {
+ "value": "16D0648109",
+ "type": {
+ "coding": [
+ {
+ "code": "FI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "address": [
+ {
+ "line": [
+ "State Hygienic Laboratory",
+ "UI Research Park -Coralville"
+ ],
+ "city": "Iowa City",
+ "state": "IA",
+ "postalCode": "52242-5002",
+ "country": "USA",
+ "use": "work"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08c155be-912e-af06-d464-5b6bb63d660f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "identifier": [
+ {
+ "value": "EI21",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII"
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "FILL"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "preliminary",
+ "code": {
+ "coding": [
+ {
+ "code": "625-4",
+ "display": "Bacteria identified in Stool by Culture",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f"
+ }
+ ],
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "27268008",
+ "display": "Salmonella",
+ "system": "http://snomed.info/sct",
+ "version": "20090731"
+ }
+ ],
+ "text": "Salmonella species"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ],
+ "effectiveDateTime": "2012-03-01",
+ "method": {
+ "text": "Bacterial Culture"
+ },
+ "device": {
+ "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BU",
+ "display": "Observation site",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5"
+ }
+ ]
+ },
+ "performer": [
+ {
+ "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ },
+ {
+ "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "A",
+ "display": "Abnormal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
+ "version": "2.5"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "Preliminary",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Preliminary"
+ }
+ }
+ ],
+ "note": [
+ {
+ "text": "No Antibodies Detected",
+ "time": "2020-10-10T18:15:00+05:30",
+ "authorReference": {
+ "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "identifier": [
+ {
+ "value": "MLEE"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ],
+ "suffix": [
+ "MD"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68",
+ "resource": {
+ "resourceType": "DiagnosticReport",
+ "id": "257786a3-0c2e-44c7-69ea-3456e7152e68",
+ "code": {
+ "coding": [
+ {
+ "code": "1063-7",
+ "display": "Serum or Plasma",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f"
+ }
+ ],
+ "status": "unknown",
+ "presentedForm": [
+ {
+ "contentType": "image/pict",
+ "url": "https://testurl.com"
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5dccf96a-1490-c206-c930-bded2f3d05fe",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "5dccf96a-1490-c206-c930-bded2f3d05fe",
+ "collection": {
+ "quantity": {
+ "value": 40,
+ "unit": "lbs"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BAP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488"
+ }
+ ],
+ "text": "Specimen source site"
+ },
+ "method": {
+ "coding": [
+ {
+ "code": "BCAE",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0488"
+ }
+ ]
+ },
+ "collectedPeriod": {
+ "start": "2011-01-04T04:04:28+05:30",
+ "end": "2011-11-04T04:04:28+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "AMB",
+ "display": "Ambient Temperature",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0376"
+ },
+ {
+ "code": "DRY",
+ "display": "dry",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0376"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "receivedTime": "2012-03-01",
+ "identifier": [
+ {
+ "value": "2012545",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "2012999999",
+ "type": {
+ "coding": [
+ {
+ "code": "FGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "OSI-31",
+ "type": {
+ "coding": [
+ {
+ "code": "PI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Patient internal identifier"
+ }
+ ]
+ },
+ "system": "urn:uuid:2.16.840.1.114222",
+ "assigner": {
+ "reference": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca"
+ }
+ },
+ {
+ "value": "ShipID-32",
+ "system": "urn:oid:SID-32",
+ "type": {
+ "coding": [
+ {
+ "code": "SHIP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "coding": [
+ {
+ "code": "ASERU",
+ "display": "Serum",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0487"
+ },
+ {
+ "code": "FUR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0487"
+ }
+ ],
+ "text": "Blood"
+ },
+ "container": [
+ {
+ "additiveCodeableConcept": {
+ "coding": [
+ {
+ "code": "STUTM",
+ "display": "Stuart transport medium",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0371",
+ "version": "20"
+ },
+ {
+ "code": "PHENOL",
+ "display": "Stool",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0371"
+ }
+ ]
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "T-container",
+ "display": "ContainerType",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "available",
+ "condition": [
+ {
+ "coding": [
+ {
+ "code": "AUT",
+ "display": "Autolyzed",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0493"
+ },
+ {
+ "code": "CLOT",
+ "display": "CLOT",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0493"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "HEM",
+ "display": "HEM",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0493"
+ }
+ ]
+ }
+ ],
+ "accessionIdentifier": {
+ "value": "AI-30",
+ "type": {
+ "coding": [
+ {
+ "code": "PI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Patient internal identifier"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.114222",
+ "assigner": {
+ "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96"
+ }
+ },
+ "note": [
+ {
+ "text": "This is a specimen resource"
+ }
+ ],
+ "request": [
+ {
+ "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f"
+ }
+ ],
+ "parent": [
+ {
+ "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/5dccf96a-1490-c206-c930-bded2f3d05fe"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "0755f744-dafd-776b-bff7-2d023e54406e",
+ "identifier": [
+ {
+ "value": "PAI12",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96",
+ "identifier": [
+ {
+ "value": "IA PHIMS Stage",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.114222",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:322ca8cf-e43e-973c-3149-9e499675ddca",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "322ca8cf-e43e-973c-3149-9e499675ddca",
+ "identifier": [
+ {
+ "value": "IPHIMS Stage",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage"
+ },
+ {
+ "value": "urn:uuid:2.16.840.1.114222",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4355ddc5-5edc-38ea-65e6-cd3479bcd9f5",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "4355ddc5-5edc-38ea-65e6-cd3479bcd9f5",
+ "status": "unknown",
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "Bacteria identified",
+ "system": "http://loinc.org",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "component": [
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "Bacteria identified",
+ "system": "http://loinc.org",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "valueQuantity": {
+ "value": 27
+ }
+ },
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "Bacteria identified",
+ "system": "http://loinc.org",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "valueQuantity": {
+ "value": 25
+ }
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "specimen": {
+ "reference": "Specimen/5dccf96a-1490-c206-c930-bded2f3d05fe"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "I",
+ "display": "In Process",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "In Process"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/4355ddc5-5edc-38ea-65e6-cd3479bcd9f5"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json
new file mode 100644
index 000000000..feef96c85
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/OML_O21/OML-O21-02-expected.json
@@ -0,0 +1,2480 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-10-20T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00018"
+ },
+ "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "O01",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ORM^O01^ORM_O01"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "58988e57-a45e-285b-5942-4480980652df",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:52:56.946Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: OML_O21.
"
+ },
+ "occurredDateTime": "2021-10-20T14:41:00+05:30",
+ "recorded": "2021-10-20T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ORM^O01^ORM_O01"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/58988e57-a45e-285b-5942-4480980652df"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69",
+ "resource": {
+ "resourceType": "Device",
+ "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69",
+ "identifier": [
+ {
+ "value": "ORDApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ],
+ "contact": [
+ {
+ "name": {
+ "family": "Abbot",
+ "given": [
+ "Adam",
+ "A"
+ ],
+ "suffix": [
+ "III",
+ "PHD"
+ ],
+ "prefix": [
+ "DR"
+ ],
+ "use": "official"
+ },
+ "address": {
+ "line": [
+ "1000 Hospital Lane",
+ "Ste.123"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "use": "work"
+ },
+ "telecom": [
+ {
+ "value": "(626)555-1234",
+ "use": "work",
+ "system": "phone"
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Emergency Contact",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0131"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1",
+ "identifier": [
+ {
+ "value": "0210"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9",
+ "identifier": [
+ {
+ "value": "0310"
+ }
+ ],
+ "name": [
+ {
+ "family": "REFER",
+ "given": [
+ "LINDA",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6c138e7c-e841-af07-8948-d01692bd2739",
+ "identifier": [
+ {
+ "value": "03410"
+ }
+ ],
+ "name": [
+ {
+ "family": "ADMIT",
+ "given": [
+ "LINDA",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ed401da2-2b32-f3d0-d128-9766ac20c0ad",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ed401da2-2b32-f3d0-d128-9766ac20c0ad",
+ "name": "LABUnit01",
+ "mode": "instance",
+ "description": "LABUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ee586d80-706a-5933-8500-a8026c48fb27",
+ "partOf": {
+ "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad"
+ },
+ "name": "Room01",
+ "mode": "instance",
+ "description": "LABUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821",
+ "name": "GHH",
+ "mode": "instance",
+ "description": "LABUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5357a3e3-2c50-7c10-6b22-00b646c8b396",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5357a3e3-2c50-7c10-6b22-00b646c8b396",
+ "name": "TraumaCentre",
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "partOf": {
+ "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ },
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e9bd830d-8f94-01b9-7562-854da22940d3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "e9bd830d-8f94-01b9-7562-854da22940d3",
+ "name": "GHH1",
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/e9bd830d-8f94-01b9-7562-854da22940d3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995",
+ "class": {
+ "code": "AMB",
+ "display": "ambulatory",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/ed401da2-2b32-f3d0-d128-9766ac20c0ad"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739"
+ }
+ }
+ ],
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ }
+ ],
+ "period": {
+ "start": "2021-10-20T14:41:00+05:30"
+ },
+ "text": {
+ "status": "generated",
+ "div": ""
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "diagnosis": [
+ {
+ "condition": {
+ "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322"
+ },
+ "use": {
+ "coding": [
+ {
+ "code": "DD",
+ "display": "Discharge Diagnosis",
+ "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role"
+ }
+ ]
+ },
+ "rank": 1
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3622230f-85a9-b313-e26b-eabfc755e34f",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "3622230f-85a9-b313-e26b-eabfc755e34f",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "1101",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1201",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "authoredOn": "2021-10-20T14:41:00+05:30",
+ "locationCode": [
+ {
+ "coding": [
+ {
+ "code": "OF",
+ "display": "Outpatient facility",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "57698-3",
+ "display": "Lipid panel with direct LDL - Serum or Plasma",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "requester": {
+ "reference": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a"
+ }
+ ],
+ "note": [
+ {
+ "text": "Urgent"
+ },
+ {
+ "text": "Fasting Sugar"
+ }
+ ],
+ "reasonReference": [
+ {
+ "reference": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322"
+ }
+ ],
+ "asNeededCodeableConcept": {
+ "text": "Pain"
+ },
+ "quantityQuantity": {
+ "value": 1
+ },
+ "occurrenceTiming": {
+ "code": {
+ "coding": [
+ {
+ "code": "Once"
+ }
+ ]
+ },
+ "repeat": {
+ "period": 1,
+ "periodUnit": "d",
+ "when": [
+ "AC"
+ ],
+ "offset": 60,
+ "boundsDuration": {
+ "value": 1,
+ "unit": "Day",
+ "code": "d",
+ "system": "http://unitsofmeasure.org"
+ },
+ "duration": 15,
+ "durationUnit": "min",
+ "count": 1
+ }
+ },
+ "priority": "routine"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8af87360-4a75-1531-6192-9bdbb1b0351c",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "8af87360-4a75-1531-6192-9bdbb1b0351c",
+ "identifier": [
+ {
+ "value": "005454"
+ }
+ ],
+ "name": [
+ {
+ "family": "LAB",
+ "given": [
+ "ROBIN",
+ "B"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d4536528-5e14-2c7a-8d87-c0dcd7311649",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "d4536528-5e14-2c7a-8d87-c0dcd7311649",
+ "practitioner": {
+ "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/d4536528-5e14-2c7a-8d87-c0dcd7311649"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3a1bcae-087f-966b-7cfd-fc61a168d02a",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "b3a1bcae-087f-966b-7cfd-fc61a168d02a",
+ "collection": {
+ "collectedDateTime": "2021-10-20T15:15:00+05:30"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/b3a1bcae-087f-966b-7cfd-fc61a168d02a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e06055fc-0230-24ef-7d66-7ae83cafb322",
+ "resource": {
+ "resourceType": "Condition",
+ "id": "e06055fc-0230-24ef-7d66-7ae83cafb322",
+ "code": {
+ "coding": [
+ {
+ "code": "E10.9",
+ "display": "Diabetes Mellitus Type 1",
+ "system": "http://hl7.org/fhir/sid/icd-10"
+ }
+ ],
+ "text": "Diabetes"
+ },
+ "onsetDateTime": "2020-05-01T15:45:09+05:30",
+ "identifier": [
+ {
+ "value": "DG1002"
+ }
+ ],
+ "asserter": {
+ "reference": "Practitioner/8af87360-4a75-1531-6192-9bdbb1b0351c"
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate",
+ "valueDateTime": "2020-05-01T16:45:15+05:30"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Condition/e06055fc-0230-24ef-7d66-7ae83cafb322"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "identifier": [
+ {
+ "value": "PERSt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "identifier": [
+ {
+ "value": "1134",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Aly",
+ "given": [
+ "Zafar",
+ "Mahendra"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "resource": {
+ "resourceType": "Device",
+ "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "identifier": [
+ {
+ "value": "EI12.3",
+ "system": "urn:uuid:UI2",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ },
+ {
+ "system": "urn:oid:UI1",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "identifier": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "MD-25"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "LabMedicalDirector",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ },
+ "organization": {
+ "reference": "Organization/08c155be-912e-af06-d464-5b6bb63d660f"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08c155be-912e-af06-d464-5b6bb63d660f",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08c155be-912e-af06-d464-5b6bb63d660f",
+ "name": "State Hygienic Laboratory",
+ "identifier": [
+ {
+ "value": "16D0648109",
+ "type": {
+ "coding": [
+ {
+ "code": "FI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "address": [
+ {
+ "line": [
+ "State Hygienic Laboratory",
+ "UI Research Park -Coralville"
+ ],
+ "city": "Iowa City",
+ "state": "IA",
+ "postalCode": "52242-5002",
+ "country": "USA",
+ "use": "work"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08c155be-912e-af06-d464-5b6bb63d660f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "identifier": [
+ {
+ "value": "EI21",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII"
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "FILL"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "preliminary",
+ "code": {
+ "coding": [
+ {
+ "code": "625-4",
+ "display": "Bacteria identified in Stool by Culture",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f"
+ }
+ ],
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "27268008",
+ "display": "Salmonella",
+ "system": "http://snomed.info/sct",
+ "version": "20090731"
+ }
+ ],
+ "text": "Salmonella species"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ],
+ "effectiveDateTime": "2012-03-01",
+ "method": {
+ "text": "Bacterial Culture"
+ },
+ "device": {
+ "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BU",
+ "display": "Observation site",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5"
+ }
+ ]
+ },
+ "performer": [
+ {
+ "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ },
+ {
+ "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "A",
+ "display": "Abnormal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
+ "version": "2.5"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "Preliminary",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Preliminary"
+ }
+ }
+ ],
+ "note": [
+ {
+ "text": "Submission of serum",
+ "time": "2020-10-10T19:15:00+05:30",
+ "authorReference": {
+ "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "identifier": [
+ {
+ "value": "MLEE"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ],
+ "suffix": [
+ "MD"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:10189bc7-6ef6-44fc-e74d-a24678a00fc2",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "10189bc7-6ef6-44fc-e74d-a24678a00fc2",
+ "collection": {
+ "quantity": {
+ "value": 40,
+ "unit": "lbs"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BAP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488"
+ }
+ ],
+ "text": "Specimen source site"
+ },
+ "method": {
+ "coding": [
+ {
+ "code": "BCAE",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0488"
+ }
+ ]
+ },
+ "collectedPeriod": {
+ "start": "2011-01-04T04:04:28+05:30",
+ "end": "2011-11-04T04:04:28+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "AMB",
+ "display": "Ambient Temperature",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0376"
+ },
+ {
+ "code": "DRY",
+ "display": "dry",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0376"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "receivedTime": "2012-03-01",
+ "identifier": [
+ {
+ "value": "2545",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "2012999999",
+ "type": {
+ "coding": [
+ {
+ "code": "FGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "OSI-31",
+ "type": {
+ "coding": [
+ {
+ "code": "PI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Patient internal identifier"
+ }
+ ]
+ },
+ "system": "urn:uuid:2.16.840.1.114222",
+ "assigner": {
+ "reference": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca"
+ }
+ },
+ {
+ "value": "ShipID-32",
+ "system": "urn:oid:SID-32",
+ "type": {
+ "coding": [
+ {
+ "code": "SHIP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "coding": [
+ {
+ "code": "ASERU",
+ "display": "Serum",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0487"
+ },
+ {
+ "code": "FUR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0487"
+ }
+ ],
+ "text": "Blood"
+ },
+ "container": [
+ {
+ "additiveCodeableConcept": {
+ "coding": [
+ {
+ "code": "STUTM",
+ "display": "Stuart transport medium",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0371",
+ "version": "20"
+ },
+ {
+ "code": "PHENOL",
+ "display": "Stool",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0371"
+ }
+ ]
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "T-container",
+ "display": "ContainerType",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "available",
+ "condition": [
+ {
+ "coding": [
+ {
+ "code": "AUT",
+ "display": "Autolyzed",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0493"
+ },
+ {
+ "code": "CLOT",
+ "display": "CLOT",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0493"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "HEM",
+ "display": "HEM",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0493"
+ }
+ ]
+ }
+ ],
+ "accessionIdentifier": {
+ "value": "AI-30",
+ "type": {
+ "coding": [
+ {
+ "code": "PI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Patient internal identifier"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.114222",
+ "assigner": {
+ "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96"
+ }
+ },
+ "note": [
+ {
+ "text": "This is a specimen resource"
+ }
+ ],
+ "request": [
+ {
+ "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f"
+ }
+ ],
+ "parent": [
+ {
+ "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/10189bc7-6ef6-44fc-e74d-a24678a00fc2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "0755f744-dafd-776b-bff7-2d023e54406e",
+ "identifier": [
+ {
+ "value": "PAI12",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96",
+ "identifier": [
+ {
+ "value": "IA PHIMS Stage",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.114222",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:322ca8cf-e43e-973c-3149-9e499675ddca",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "322ca8cf-e43e-973c-3149-9e499675ddca",
+ "identifier": [
+ {
+ "value": "IPHIMS Stage",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage"
+ },
+ {
+ "value": "urn:uuid:2.16.840.1.114222",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68",
+ "resource": {
+ "resourceType": "DiagnosticReport",
+ "id": "257786a3-0c2e-44c7-69ea-3456e7152e68",
+ "code": {
+ "coding": [
+ {
+ "code": "1063-7",
+ "display": "Serum or Plasma",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "status": "unknown",
+ "presentedForm": [
+ {
+ "contentType": "image/pict",
+ "url": "https://testurl.com"
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/10189bc7-6ef6-44fc-e74d-a24678a00fc2"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/a003235d-4049-0bbd-9cac-d9dee4a90908"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a003235d-4049-0bbd-9cac-d9dee4a90908",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "a003235d-4049-0bbd-9cac-d9dee4a90908",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "2203",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "2301",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "authoredOn": "2021-10-20T14:41:00+05:30",
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/e7554134-0706-cbec-4d30-016ba0bf5d74"
+ }
+ ],
+ "locationCode": [
+ {
+ "coding": [
+ {
+ "code": "OF",
+ "display": "Outpatient facility",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "quantityQuantity": {
+ "value": 1
+ },
+ "occurrenceTiming": {
+ "repeat": {
+ "boundsPeriod": {
+ "start": "2021-10-20T16:15:00+05:30"
+ }
+ }
+ },
+ "code": {
+ "coding": [
+ {
+ "code": "24590-2",
+ "display": "MR Brain",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "requester": {
+ "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/27d3f840-ef8c-5086-ea3a-4217ca3dca3f"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/a003235d-4049-0bbd-9cac-d9dee4a90908"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "98f6382a-649f-0339-4fa8-982d9760cf42",
+ "identifier": [
+ {
+ "value": "005454"
+ }
+ ],
+ "name": [
+ {
+ "family": "RAD",
+ "given": [
+ "ROBIN",
+ "B"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737",
+ "practitioner": {
+ "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e7554134-0706-cbec-4d30-016ba0bf5d74",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "e7554134-0706-cbec-4d30-016ba0bf5d74",
+ "identifier": [
+ {
+ "value": "PAI-291",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "FAI-292",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "test50"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "active",
+ "intent": "order",
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/e7554134-0706-cbec-4d30-016ba0bf5d74"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:27d3f840-ef8c-5086-ea3a-4217ca3dca3f",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "27d3f840-ef8c-5086-ea3a-4217ca3dca3f",
+ "collection": {
+ "collectedDateTime": "2021-10-20T16:15:00+05:30"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/27d3f840-ef8c-5086-ea3a-4217ca3dca3f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5dccf96a-1490-c206-c930-bded2f3d05fe",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "5dccf96a-1490-c206-c930-bded2f3d05fe",
+ "collection": {
+ "quantity": {
+ "value": 40,
+ "unit": "lbs"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BAP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488"
+ }
+ ],
+ "text": "Specimen source site"
+ },
+ "method": {
+ "coding": [
+ {
+ "code": "BCAE",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0488"
+ }
+ ]
+ },
+ "collectedPeriod": {
+ "start": "2011-01-04T04:04:28+05:30",
+ "end": "2011-11-04T04:04:28+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "AMB",
+ "display": "Ambient Temperature",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0376"
+ },
+ {
+ "code": "DRY",
+ "display": "dry",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0376"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "receivedTime": "2012-03-01",
+ "identifier": [
+ {
+ "value": "2012545",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "2012999999",
+ "type": {
+ "coding": [
+ {
+ "code": "FGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "OSI-31",
+ "type": {
+ "coding": [
+ {
+ "code": "PI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Patient internal identifier"
+ }
+ ]
+ },
+ "system": "urn:uuid:2.16.840.1.114222",
+ "assigner": {
+ "reference": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca"
+ }
+ },
+ {
+ "value": "ShipID-32",
+ "system": "urn:oid:SID-32",
+ "type": {
+ "coding": [
+ {
+ "code": "SHIP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "coding": [
+ {
+ "code": "ASERU",
+ "display": "Serum",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0487"
+ },
+ {
+ "code": "FUR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0487"
+ }
+ ],
+ "text": "Blood"
+ },
+ "container": [
+ {
+ "additiveCodeableConcept": {
+ "coding": [
+ {
+ "code": "STUTM",
+ "display": "Stuart transport medium",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0371",
+ "version": "20"
+ },
+ {
+ "code": "PHENOL",
+ "display": "Stool",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0371"
+ }
+ ]
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "T-container",
+ "display": "ContainerType",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "available",
+ "condition": [
+ {
+ "coding": [
+ {
+ "code": "AUT",
+ "display": "Autolyzed",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0493"
+ },
+ {
+ "code": "CLOT",
+ "display": "CLOT",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0493"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "HEM",
+ "display": "HEM",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0493"
+ }
+ ]
+ }
+ ],
+ "accessionIdentifier": {
+ "value": "AI-30",
+ "type": {
+ "coding": [
+ {
+ "code": "PI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Patient internal identifier"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.114222",
+ "assigner": {
+ "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96"
+ }
+ },
+ "note": [
+ {
+ "text": "This is a specimen resource"
+ }
+ ],
+ "request": [
+ {
+ "reference": "ServiceRequest/a003235d-4049-0bbd-9cac-d9dee4a90908"
+ }
+ ],
+ "parent": [
+ {
+ "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/5dccf96a-1490-c206-c930-bded2f3d05fe"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4355ddc5-5edc-38ea-65e6-cd3479bcd9f5",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "4355ddc5-5edc-38ea-65e6-cd3479bcd9f5",
+ "status": "unknown",
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "Bacteria identified",
+ "system": "http://loinc.org",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "component": [
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "Bacteria identified",
+ "system": "http://loinc.org",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "valueQuantity": {
+ "value": 27
+ }
+ },
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "Bacteria identified",
+ "system": "http://loinc.org",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "valueQuantity": {
+ "value": 25
+ }
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "specimen": {
+ "reference": "Specimen/5dccf96a-1490-c206-c930-bded2f3d05fe"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "I",
+ "display": "In Process",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "In Process"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/4355ddc5-5edc-38ea-65e6-cd3479bcd9f5"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json
new file mode 100644
index 000000000..26296caf2
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-01-expected.json
@@ -0,0 +1,1362 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-10-20T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00018"
+ },
+ "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "O01",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ORM^O01^ORM_O01"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "58988e57-a45e-285b-5942-4480980652df",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:51:19.004Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.
"
+ },
+ "occurredDateTime": "2021-10-20T14:41:00+05:30",
+ "recorded": "2021-10-20T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ORM^O01^ORM_O01"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/58988e57-a45e-285b-5942-4480980652df"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69",
+ "resource": {
+ "resourceType": "Device",
+ "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69",
+ "identifier": [
+ {
+ "value": "ORDApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ],
+ "contact": [
+ {
+ "name": {
+ "family": "Doe",
+ "given": [
+ "Rosallie"
+ ]
+ },
+ "address": {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ },
+ "telecom": [
+ {
+ "value": "(608)271-9001",
+ "use": "work",
+ "system": "phone"
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Emergency Contact",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0131"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1",
+ "identifier": [
+ {
+ "value": "0210"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9",
+ "identifier": [
+ {
+ "value": "0310"
+ }
+ ],
+ "name": [
+ {
+ "family": "REFER",
+ "given": [
+ "LINDA",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6c138e7c-e841-af07-8948-d01692bd2739",
+ "identifier": [
+ {
+ "value": "03410"
+ }
+ ],
+ "name": [
+ {
+ "family": "ADMIT",
+ "given": [
+ "LINDA",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b9b31f37-678e-aade-7d5d-1375a513f673",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b9b31f37-678e-aade-7d5d-1375a513f673",
+ "name": "RADUnit01",
+ "mode": "instance",
+ "description": "RADUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b9b31f37-678e-aade-7d5d-1375a513f673"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ee586d80-706a-5933-8500-a8026c48fb27",
+ "partOf": {
+ "reference": "Location/b9b31f37-678e-aade-7d5d-1375a513f673"
+ },
+ "name": "Room01",
+ "mode": "instance",
+ "description": "RADUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821",
+ "name": "GHH",
+ "mode": "instance",
+ "description": "RADUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5357a3e3-2c50-7c10-6b22-00b646c8b396",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5357a3e3-2c50-7c10-6b22-00b646c8b396",
+ "name": "TraumaCentre",
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "partOf": {
+ "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ },
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e9bd830d-8f94-01b9-7562-854da22940d3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "e9bd830d-8f94-01b9-7562-854da22940d3",
+ "name": "GHH1",
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/e9bd830d-8f94-01b9-7562-854da22940d3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995",
+ "class": {
+ "code": "AMB",
+ "display": "ambulatory",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/b9b31f37-678e-aade-7d5d-1375a513f673"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739"
+ }
+ }
+ ],
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ }
+ ],
+ "period": {
+ "start": "2021-10-20T15:15:00+05:30"
+ },
+ "text": {
+ "status": "generated",
+ "div": ""
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "diagnosis": [
+ {
+ "condition": {
+ "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec"
+ },
+ "use": {
+ "coding": [
+ {
+ "code": "DD",
+ "display": "Discharge Diagnosis",
+ "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role"
+ }
+ ]
+ },
+ "rank": 1
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a0adcda8-0b28-d089-1955-c04308d5fe28",
+ "resource": {
+ "resourceType": "AllergyIntolerance",
+ "id": "a0adcda8-0b28-d089-1955-c04308d5fe28",
+ "category": [
+ "environment"
+ ],
+ "type": "allergy",
+ "code": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "PENICILLIN",
+ "system": "http://terminology.hl7.org/CodeSystem/icd-o"
+ }
+ ]
+ },
+ "reaction": [
+ {
+ "manifestation": [
+ {
+ "text": "CODE16"
+ }
+ ],
+ "onset": "2021-08-24"
+ }
+ ],
+ "criticality": "low",
+ "clinicalStatus": {
+ "coding": [
+ {
+ "code": "active",
+ "display": "Active",
+ "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"
+ }
+ ]
+ },
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "AllergyIntolerance/a0adcda8-0b28-d089-1955-c04308d5fe28"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3622230f-85a9-b313-e26b-eabfc755e34f",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "3622230f-85a9-b313-e26b-eabfc755e34f",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "1101",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1201",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "authoredOn": "2021-10-20T14:41:00+05:30",
+ "locationCode": [
+ {
+ "coding": [
+ {
+ "code": "OF",
+ "display": "Outpatient facility",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "note": [
+ {
+ "text": "Annotation text"
+ }
+ ],
+ "quantityQuantity": {
+ "value": 12,
+ "unit": "lb"
+ },
+ "occurrenceTiming": {
+ "code": {
+ "coding": [
+ {
+ "code": "BID"
+ }
+ ]
+ },
+ "repeat": {
+ "durationUnit": "s",
+ "duration": 50,
+ "count": 21,
+ "timeOfDay": [
+ "12:30:05"
+ ],
+ "boundsPeriod": {
+ "start": "2002-03-15",
+ "end": "2003-03-15"
+ }
+ }
+ },
+ "code": {
+ "coding": [
+ {
+ "code": "24725-4",
+ "display": "CT Head",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "requester": {
+ "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/5c78ccc8-7800-aa68-7da7-7985254fafc3"
+ }
+ ],
+ "reasonReference": [
+ {
+ "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "98f6382a-649f-0339-4fa8-982d9760cf42",
+ "identifier": [
+ {
+ "value": "005454"
+ }
+ ],
+ "name": [
+ {
+ "family": "RAD",
+ "given": [
+ "ROBIN",
+ "B"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737",
+ "practitioner": {
+ "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c78ccc8-7800-aa68-7da7-7985254fafc3",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "5c78ccc8-7800-aa68-7da7-7985254fafc3",
+ "collection": {
+ "collectedDateTime": "2021-10-20T15:15:00+05:30"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/5c78ccc8-7800-aa68-7da7-7985254fafc3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec",
+ "resource": {
+ "resourceType": "Condition",
+ "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec",
+ "code": {
+ "coding": [
+ {
+ "code": "S06.9",
+ "display": "TBI(traumatic brain injury",
+ "system": "http://hl7.org/fhir/sid/icd-10"
+ }
+ ],
+ "text": "Traumatic brain injury"
+ },
+ "onsetDateTime": "2020-05-01T15:45:09+05:30",
+ "identifier": [
+ {
+ "value": "DG1002"
+ }
+ ],
+ "asserter": {
+ "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42"
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate",
+ "valueDateTime": "2020-05-01T16:45:15+05:30"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json
new file mode 100644
index 000000000..3071181fd
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-02-expected.json
@@ -0,0 +1,2263 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-10-20T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00019"
+ },
+ "id": "850fa16f-dec7-80c7-978f-7276e0f16e62",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:85946184-5877-2309-6765-683c677d000d",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "85946184-5877-2309-6765-683c677d000d",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "O01",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ORM^O01^ORM_O01"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/85946184-5877-2309-6765-683c677d000d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "58988e57-a45e-285b-5942-4480980652df",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:51:39.847Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.
"
+ },
+ "occurredDateTime": "2021-10-20T14:41:00+05:30",
+ "recorded": "2021-10-20T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ORM^O01^ORM_O01"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/850fa16f-dec7-80c7-978f-7276e0f16e62"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/58988e57-a45e-285b-5942-4480980652df"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69",
+ "resource": {
+ "resourceType": "Device",
+ "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69",
+ "identifier": [
+ {
+ "value": "ORDApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ },
+ {
+ "value": "Medicare-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MC",
+ "display": "Patient's Medicare number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-medicare"
+ },
+ {
+ "value": "MI-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MI",
+ "display": "Military ID number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/identifier-military"
+ },
+ {
+ "value": "MB-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Member Number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.5"
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ],
+ "contact": [
+ {
+ "name": {
+ "family": "Abbot",
+ "given": [
+ "Adam",
+ "A"
+ ],
+ "suffix": [
+ "III",
+ "PHD"
+ ],
+ "prefix": [
+ "DR"
+ ],
+ "use": "official"
+ },
+ "address": {
+ "line": [
+ "1000 Hospital Lane",
+ "Ste.123"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "use": "work"
+ },
+ "telecom": [
+ {
+ "value": "(626)555-1234",
+ "use": "work",
+ "system": "phone"
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Emergency Contact",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0131"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ],
+ "guarantor": [
+ {
+ "party": {
+ "reference": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98"
+ },
+ "onHold": false,
+ "period": {
+ "start": "2016-01-01"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e42e5df9-fef2-9072-3b17-3f2475927f98",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "e42e5df9-fef2-9072-3b17-3f2475927f98",
+ "identifier": [
+ {
+ "value": "1516"
+ },
+ {
+ "value": "19290207"
+ },
+ {
+ "value": "2245367687",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MOT",
+ "display": "MOT"
+ }
+ ]
+ }
+ ],
+ "address": [
+ {
+ "line": [
+ "1619 SOUTH UNIVERSITY"
+ ],
+ "city": "MADISON",
+ "state": "WI",
+ "postalCode": "53703",
+ "country": "US"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)251-7777",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "(608)2517777",
+ "system": "phone",
+ "use": "work"
+ }
+ ],
+ "name": [
+ {
+ "family": "RADIANT",
+ "given": [
+ "LUCY"
+ ]
+ }
+ ],
+ "gender": "female",
+ "birthDate": "2001-04-12",
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/e42e5df9-fef2-9072-3b17-3f2475927f98"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1",
+ "identifier": [
+ {
+ "value": "0210"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9",
+ "identifier": [
+ {
+ "value": "0310"
+ }
+ ],
+ "name": [
+ {
+ "family": "REFER",
+ "given": [
+ "LINDA",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6c138e7c-e841-af07-8948-d01692bd2739",
+ "identifier": [
+ {
+ "value": "03410"
+ }
+ ],
+ "name": [
+ {
+ "family": "ADMIT",
+ "given": [
+ "LINDA",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b9b31f37-678e-aade-7d5d-1375a513f673",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b9b31f37-678e-aade-7d5d-1375a513f673",
+ "name": "RADUnit01",
+ "mode": "instance",
+ "description": "RADUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b9b31f37-678e-aade-7d5d-1375a513f673"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ee586d80-706a-5933-8500-a8026c48fb27",
+ "partOf": {
+ "reference": "Location/b9b31f37-678e-aade-7d5d-1375a513f673"
+ },
+ "name": "Room01",
+ "mode": "instance",
+ "description": "RADUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821",
+ "name": "GHH",
+ "mode": "instance",
+ "description": "RADUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5357a3e3-2c50-7c10-6b22-00b646c8b396",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5357a3e3-2c50-7c10-6b22-00b646c8b396",
+ "name": "TraumaCentre",
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "partOf": {
+ "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ },
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e9bd830d-8f94-01b9-7562-854da22940d3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "e9bd830d-8f94-01b9-7562-854da22940d3",
+ "name": "GHH1",
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/e9bd830d-8f94-01b9-7562-854da22940d3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995",
+ "class": {
+ "code": "AMB",
+ "display": "ambulatory",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/b9b31f37-678e-aade-7d5d-1375a513f673"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739"
+ }
+ }
+ ],
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ }
+ ],
+ "period": {
+ "start": "2021-10-20T15:15:00+05:30"
+ },
+ "text": {
+ "status": "generated",
+ "div": ""
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "diagnosis": [
+ {
+ "condition": {
+ "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec"
+ },
+ "use": {
+ "coding": [
+ {
+ "code": "DD",
+ "display": "Discharge Diagnosis",
+ "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role"
+ }
+ ]
+ },
+ "rank": 1
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:dfab6985-a691-c4f5-d2b2-6481fdfd59e4",
+ "resource": {
+ "resourceType": "Coverage",
+ "id": "dfab6985-a691-c4f5-d2b2-6481fdfd59e4",
+ "class": [
+ {
+ "value": "BAV",
+ "name": "Blue Advantage HMO",
+ "type": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
+ "code": "plan",
+ "display": "Plan"
+ }
+ ]
+ }
+ },
+ {
+ "value": "Grp-12345",
+ "name": "BCBS HMO",
+ "type": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
+ "code": "group",
+ "display": "Group"
+ }
+ ]
+ }
+ }
+ ],
+ "network": "Blue Advantage HMO",
+ "period": {
+ "start": "1998-11-01"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "HMO",
+ "display": "health maintenance organization policy",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ }
+ ]
+ },
+ "identifier": [
+ {
+ "value": "548851236L",
+ "type": {
+ "coding": [
+ {
+ "code": "PLN",
+ "display": "Policy Number",
+ "system": "http://example.com/CodeSystem/additional-identifier"
+ }
+ ]
+ },
+ "system": "http://www.examplehealthplan.com/fhir/policyidentifier"
+ },
+ {
+ "value": "Medicare-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MC",
+ "display": "Patient's Medicare number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-medicare"
+ },
+ {
+ "value": "MB-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "MB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Member Number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.5"
+ }
+ ],
+ "costToBeneficiary": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "DC",
+ "display": "direct unit cost",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0205"
+ }
+ ]
+ },
+ "valueMoney": {
+ "value": 150,
+ "currency": "USD"
+ }
+ }
+ ],
+ "subscriberId": "HMO-12345",
+ "status": "active",
+ "beneficiary": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "payor": [
+ {
+ "reference": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889"
+ }
+ ],
+ "policyHolder": {
+ "reference": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42"
+ },
+ "subscriber": {
+ "reference": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777"
+ },
+ "relationship": {
+ "coding": [
+ {
+ "code": "spouse",
+ "display": "Spouse",
+ "system": "http://terminology.hl7.org/CodeSystem/subscriber-relationship"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Coverage/dfab6985-a691-c4f5-d2b2-6481fdfd59e4"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:04a2a5f2-c971-1e42-e788-250ea487a889",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "04a2a5f2-c971-1e42-e788-250ea487a889",
+ "address": [
+ {
+ "line": [
+ "1979 MILKY WAY"
+ ],
+ "city": "VERONA",
+ "state": "WI",
+ "postalCode": "53593",
+ "country": "US"
+ }
+ ],
+ "contact": [
+ {
+ "name": {
+ "family": "Roger",
+ "given": [
+ "Dann"
+ ]
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(555)555-5555",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "Org-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "NIIP",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "National Insurance Payor Identifier (Payor)"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.1"
+ }
+ ],
+ "name": "Blue Cross Blue Shield of Texas"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/04a2a5f2-c971-1e42-e788-250ea487a889"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0f21af2c-9880-54cb-14a5-5493a766da42",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "0f21af2c-9880-54cb-14a5-5493a766da42",
+ "address": [
+ {
+ "line": [
+ "2000 MILKY WAY"
+ ],
+ "city": "VERONA",
+ "state": "WI",
+ "postalCode": "53593",
+ "country": "US"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "Tel-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "EN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Employer number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.2"
+ }
+ ],
+ "name": "Telstra",
+ "contact": [
+ {
+ "name": {
+ "family": "Richard",
+ "given": [
+ "Paul"
+ ]
+ },
+ "telecom": [
+ {
+ "value": "(555)555-1234",
+ "system": "phone"
+ }
+ ]
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(555)123-5678",
+ "system": "phone"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/0f21af2c-9880-54cb-14a5-5493a766da42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fd1eed45-4ccb-bb7c-d157-58eb0366d777",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "fd1eed45-4ccb-bb7c-d157-58eb0366d777",
+ "identifier": [
+ {
+ "value": "HMO-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "NI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "National unique individual identifier"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.3"
+ },
+ {
+ "value": "EI-12345",
+ "type": {
+ "coding": [
+ {
+ "code": "EI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Employee number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.113883.1.4"
+ },
+ {
+ "value": "425-57-9745",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "display": "Social Security number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "SPS",
+ "display": "spouse",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "address": [
+ {
+ "line": [
+ "3857 Velvet Treasure Terrace"
+ ],
+ "city": "Midnight",
+ "state": "NC",
+ "postalCode": "27878",
+ "country": "US"
+ }
+ ],
+ "name": [
+ {
+ "family": "Doe",
+ "given": [
+ "Rosallie",
+ "John"
+ ],
+ "suffix": [
+ "III",
+ "Bachelors"
+ ],
+ "prefix": [
+ "Mrs."
+ ],
+ "use": "official"
+ }
+ ],
+ "gender": "female",
+ "birthDate": "1975-02-28",
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "telecom": [
+ {
+ "value": "(555)123-1234",
+ "system": "phone"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "en",
+ "display": "English"
+ }
+ ]
+ },
+ "preferred": true
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/fd1eed45-4ccb-bb7c-d157-58eb0366d777"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:094b7010-27ec-6a4f-5089-1b2433b7824d",
+ "resource": {
+ "resourceType": "AllergyIntolerance",
+ "id": "094b7010-27ec-6a4f-5089-1b2433b7824d",
+ "category": [
+ "medication"
+ ],
+ "type": "allergy",
+ "code": {
+ "coding": [
+ {
+ "code": "XYZallergen"
+ }
+ ]
+ },
+ "reaction": [
+ {
+ "manifestation": [
+ {
+ "text": "moderate"
+ }
+ ],
+ "onset": "2021-01-21"
+ }
+ ],
+ "criticality": "low",
+ "clinicalStatus": {
+ "coding": [
+ {
+ "code": "active",
+ "display": "Active",
+ "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"
+ }
+ ]
+ },
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "AllergyIntolerance/094b7010-27ec-6a4f-5089-1b2433b7824d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3622230f-85a9-b313-e26b-eabfc755e34f",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "3622230f-85a9-b313-e26b-eabfc755e34f",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "1101",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1201",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "authoredOn": "2021-10-20T14:41:00+05:30",
+ "locationCode": [
+ {
+ "coding": [
+ {
+ "code": "OF",
+ "display": "Outpatient facility",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "quantityQuantity": {
+ "value": 1
+ },
+ "occurrenceTiming": {
+ "repeat": {
+ "boundsPeriod": {
+ "start": "2021-10-20T14:41:00+05:30"
+ }
+ }
+ },
+ "code": {
+ "coding": [
+ {
+ "code": "24725-4",
+ "display": "CT Head",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "requester": {
+ "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850"
+ }
+ ],
+ "note": [
+ {
+ "text": "CT Scan to be done urgent"
+ }
+ ],
+ "reasonReference": [
+ {
+ "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "98f6382a-649f-0339-4fa8-982d9760cf42",
+ "identifier": [
+ {
+ "value": "005454"
+ }
+ ],
+ "name": [
+ {
+ "family": "RAD",
+ "given": [
+ "ROBIN",
+ "B"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737",
+ "practitioner": {
+ "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c3574395-5ad6-bf2a-9907-c1a7caa8c850",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "c3574395-5ad6-bf2a-9907-c1a7caa8c850",
+ "collection": {
+ "collectedDateTime": "2021-10-20T15:15:00+05:30"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec",
+ "resource": {
+ "resourceType": "Condition",
+ "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec",
+ "code": {
+ "coding": [
+ {
+ "code": "S06.9",
+ "display": "TBI(traumatic brain injury",
+ "system": "http://hl7.org/fhir/sid/icd-10"
+ }
+ ],
+ "text": "Traumatic brain injury"
+ },
+ "onsetDateTime": "2020-05-01T15:45:09+05:30",
+ "identifier": [
+ {
+ "value": "DG1002"
+ }
+ ],
+ "asserter": {
+ "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42"
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate",
+ "valueDateTime": "2020-05-01T16:45:15+05:30"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "identifier": [
+ {
+ "value": "PERSt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "identifier": [
+ {
+ "value": "1134",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Aly",
+ "given": [
+ "Zafar",
+ "Mahendra"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "resource": {
+ "resourceType": "Device",
+ "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "identifier": [
+ {
+ "value": "EI12.3",
+ "system": "urn:uuid:UI2",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ },
+ {
+ "system": "urn:oid:UI1",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "identifier": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "MD-25"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "LabMedicalDirector",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ },
+ "organization": {
+ "reference": "Organization/08c155be-912e-af06-d464-5b6bb63d660f"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08c155be-912e-af06-d464-5b6bb63d660f",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08c155be-912e-af06-d464-5b6bb63d660f",
+ "name": "State Hygienic Laboratory",
+ "identifier": [
+ {
+ "value": "16D0648109",
+ "type": {
+ "coding": [
+ {
+ "code": "FI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "address": [
+ {
+ "line": [
+ "State Hygienic Laboratory",
+ "UI Research Park -Coralville"
+ ],
+ "city": "Iowa City",
+ "state": "IA",
+ "postalCode": "52242-5002",
+ "country": "USA",
+ "use": "work"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08c155be-912e-af06-d464-5b6bb63d660f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "07fd2dd3-dbd6-5bb1-cfda-02226795d9a0",
+ "identifier": [
+ {
+ "value": "EI21",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII"
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "FILL"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "preliminary",
+ "code": {
+ "coding": [
+ {
+ "code": "625-4",
+ "display": "Bacteria identified in Stool by Culture",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f"
+ }
+ ],
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "27268008",
+ "display": "Salmonella",
+ "system": "http://snomed.info/sct",
+ "version": "20090731"
+ }
+ ],
+ "text": "Salmonella species"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ],
+ "effectiveDateTime": "2012-03-01",
+ "method": {
+ "text": "Bacterial Culture"
+ },
+ "device": {
+ "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BU",
+ "display": "Observation site",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5"
+ }
+ ]
+ },
+ "performer": [
+ {
+ "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ },
+ {
+ "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "A",
+ "display": "Abnormal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
+ "version": "2.5"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "Preliminary",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Preliminary"
+ }
+ }
+ ],
+ "note": [
+ {
+ "text": "No Antibodies Detected",
+ "time": "2020-10-10T18:15:00+05:30",
+ "authorReference": {
+ "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/07fd2dd3-dbd6-5bb1-cfda-02226795d9a0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "identifier": [
+ {
+ "value": "MLEE"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ],
+ "suffix": [
+ "MD"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68",
+ "resource": {
+ "resourceType": "DiagnosticReport",
+ "id": "257786a3-0c2e-44c7-69ea-3456e7152e68",
+ "code": {
+ "coding": [
+ {
+ "code": "1063-7",
+ "display": "Serum or Plasma",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f"
+ }
+ ],
+ "status": "unknown",
+ "presentedForm": [
+ {
+ "contentType": "image/pict",
+ "url": "https://testurl.com"
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json
new file mode 100644
index 000000000..6e56ae40a
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORM_O01/ORM-O01-03-expected.json
@@ -0,0 +1,1369 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-10-20T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00018"
+ },
+ "id": "4d03cb6d-610f-5d9e-b9ac-f14883a17462",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:4f80efdd-5499-39ca-474f-6dca4b4f9a22",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "4f80efdd-5499-39ca-474f-6dca4b4f9a22",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "O01",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ORM^O01^ORM_O01"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/4f80efdd-5499-39ca-474f-6dca4b4f9a22"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:58988e57-a45e-285b-5942-4480980652df",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "58988e57-a45e-285b-5942-4480980652df",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:51:55.798Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORM_O01.
"
+ },
+ "occurredDateTime": "2021-10-20T14:41:00+05:30",
+ "recorded": "2021-10-20T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ORM^O01^ORM_O01"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/4d03cb6d-610f-5d9e-b9ac-f14883a17462"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/58988e57-a45e-285b-5942-4480980652df"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ad64f1d1-3e5b-a041-c1b3-3e157882ed69",
+ "resource": {
+ "resourceType": "Device",
+ "id": "ad64f1d1-3e5b-a041-c1b3-3e157882ed69",
+ "identifier": [
+ {
+ "value": "ORDApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/ad64f1d1-3e5b-a041-c1b3-3e157882ed69"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1",
+ "identifier": [
+ {
+ "value": "0210"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9",
+ "identifier": [
+ {
+ "value": "0310"
+ }
+ ],
+ "name": [
+ {
+ "family": "REFER",
+ "given": [
+ "LINDA",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6c138e7c-e841-af07-8948-d01692bd2739",
+ "identifier": [
+ {
+ "value": "03410"
+ }
+ ],
+ "name": [
+ {
+ "family": "ADMIT",
+ "given": [
+ "LINDA",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b9b31f37-678e-aade-7d5d-1375a513f673",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b9b31f37-678e-aade-7d5d-1375a513f673",
+ "name": "RADUnit01",
+ "mode": "instance",
+ "description": "RADUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b9b31f37-678e-aade-7d5d-1375a513f673"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ee586d80-706a-5933-8500-a8026c48fb27",
+ "partOf": {
+ "reference": "Location/b9b31f37-678e-aade-7d5d-1375a513f673"
+ },
+ "name": "Room01",
+ "mode": "instance",
+ "description": "RADUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3ffd504f-44ae-ce29-6fc0-6baf5bc0a821",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3ffd504f-44ae-ce29-6fc0-6baf5bc0a821",
+ "name": "GHH",
+ "mode": "instance",
+ "description": "RADUnit01--Room01--GHH",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3ffd504f-44ae-ce29-6fc0-6baf5bc0a821"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5357a3e3-2c50-7c10-6b22-00b646c8b396",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5357a3e3-2c50-7c10-6b22-00b646c8b396",
+ "name": "TraumaCentre",
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "partOf": {
+ "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ },
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e9bd830d-8f94-01b9-7562-854da22940d3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "e9bd830d-8f94-01b9-7562-854da22940d3",
+ "name": "GHH1",
+ "mode": "instance",
+ "description": "TraumaCentre--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--GHH1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/e9bd830d-8f94-01b9-7562-854da22940d3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995",
+ "class": {
+ "code": "AMB",
+ "display": "ambulatory",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/b9b31f37-678e-aade-7d5d-1375a513f673"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/5357a3e3-2c50-7c10-6b22-00b646c8b396"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739"
+ }
+ }
+ ],
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ }
+ ],
+ "period": {
+ "start": "2021-10-20T15:15:00+05:30"
+ },
+ "text": {
+ "status": "generated",
+ "div": ""
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "diagnosis": [
+ {
+ "condition": {
+ "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec"
+ },
+ "use": {
+ "coding": [
+ {
+ "code": "DD",
+ "display": "Discharge Diagnosis",
+ "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role"
+ }
+ ]
+ },
+ "rank": 1
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3622230f-85a9-b313-e26b-eabfc755e34f",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "3622230f-85a9-b313-e26b-eabfc755e34f",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "1101",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1201",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "authoredOn": "2021-10-20T14:41:00+05:30",
+ "locationCode": [
+ {
+ "coding": [
+ {
+ "code": "OF",
+ "display": "Outpatient facility",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "quantityQuantity": {
+ "value": 1
+ },
+ "occurrenceTiming": {
+ "repeat": {
+ "boundsPeriod": {
+ "start": "2021-10-20T14:41:00+05:30"
+ }
+ }
+ },
+ "code": {
+ "coding": [
+ {
+ "code": "24725-4",
+ "display": "CT Head",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "requester": {
+ "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850"
+ }
+ ],
+ "reasonReference": [
+ {
+ "reference": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/3622230f-85a9-b313-e26b-eabfc755e34f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:98f6382a-649f-0339-4fa8-982d9760cf42",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "98f6382a-649f-0339-4fa8-982d9760cf42",
+ "identifier": [
+ {
+ "value": "005454"
+ }
+ ],
+ "name": [
+ {
+ "family": "RAD",
+ "given": [
+ "ROBIN",
+ "B"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d47a42cd-ee8d-858a-81ba-093cd6c2b737",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "d47a42cd-ee8d-858a-81ba-093cd6c2b737",
+ "practitioner": {
+ "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c3574395-5ad6-bf2a-9907-c1a7caa8c850",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "c3574395-5ad6-bf2a-9907-c1a7caa8c850",
+ "collection": {
+ "collectedDateTime": "2021-10-20T15:15:00+05:30"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/c3574395-5ad6-bf2a-9907-c1a7caa8c850"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:97303ad2-9731-b8ac-465e-560ad9ac67ec",
+ "resource": {
+ "resourceType": "Condition",
+ "id": "97303ad2-9731-b8ac-465e-560ad9ac67ec",
+ "code": {
+ "coding": [
+ {
+ "code": "S06.9",
+ "display": "TBI(traumatic brain injury",
+ "system": "http://hl7.org/fhir/sid/icd-10"
+ }
+ ],
+ "text": "Traumatic brain injury"
+ },
+ "onsetDateTime": "2020-05-01T15:45:09+05:30",
+ "identifier": [
+ {
+ "value": "DG1002"
+ }
+ ],
+ "asserter": {
+ "reference": "Practitioner/98f6382a-649f-0339-4fa8-982d9760cf42"
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate",
+ "valueDateTime": "2020-05-01T16:45:15+05:30"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Condition/97303ad2-9731-b8ac-465e-560ad9ac67ec"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a003235d-4049-0bbd-9cac-d9dee4a90908",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "a003235d-4049-0bbd-9cac-d9dee4a90908",
+ "status": "active",
+ "intent": "order",
+ "identifier": [
+ {
+ "value": "2203",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHPlacer",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "2301",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHHFiller",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "authoredOn": "2021-10-20T14:41:00+05:30",
+ "basedOn": [
+ {
+ "type": "ServiceRequest",
+ "identifier": {
+ "value": "PAI-291",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "locationCode": [
+ {
+ "coding": [
+ {
+ "code": "OF",
+ "display": "Outpatient facility",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "quantityQuantity": {
+ "value": 1
+ },
+ "occurrenceTiming": {
+ "repeat": {
+ "boundsPeriod": {
+ "start": "2021-10-20T16:15:00+05:30"
+ }
+ }
+ },
+ "code": {
+ "coding": [
+ {
+ "code": "24590-2",
+ "display": "MR Brain",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "requester": {
+ "reference": "PractitionerRole/d47a42cd-ee8d-858a-81ba-093cd6c2b737"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/8849ee55-3313-2d6a-bfbe-be22941a5a2a"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/a003235d-4049-0bbd-9cac-d9dee4a90908"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8849ee55-3313-2d6a-bfbe-be22941a5a2a",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "8849ee55-3313-2d6a-bfbe-be22941a5a2a",
+ "collection": {
+ "collectedDateTime": "2021-10-20T16:15:00+05:30"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/8849ee55-3313-2d6a-bfbe-be22941a5a2a"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json
index 3f1641946..66f1a3105 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-1-expected.json
@@ -5,6 +5,7 @@
"identifier": {
"value": "182"
},
+ "id": "4d7652e0-2e87-c4b4-72d8-614f50d75e88",
"entry": [
{
"fullUrl": "urn:uuid:f1f46d90-0473-6ea2-ae7f-b3165305d99f",
@@ -54,6 +55,47 @@
"url": "MessageHeader/f1f46d90-0473-6ea2-ae7f-b3165305d99f"
}
},
+ {
+ "fullUrl": "urn:uuid:9f79a1ce-a1d5-c6dd-a0d6-3bc75109716c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f79a1ce-a1d5-c6dd-a0d6-3bc75109716c",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:49:16.824Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.
"
+ },
+ "occurredDateTime": "2014-10-06T06:45:00",
+ "recorded": "2014-10-06T06:45:00",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ORU^R01^"
+ }
+ ]
+ },
+ "target": [
+ {
+ "reference": "Bundle/4d7652e0-2e87-c4b4-72d8-614f50d75e88"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f79a1ce-a1d5-c6dd-a0d6-3bc75109716c"
+ }
+ },
{
"fullUrl": "urn:uuid:bab5ca58-f272-4c06-4b3f-f9661e45a22b",
"resource": {
@@ -167,66 +209,6 @@
"url": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
}
},
- {
- "fullUrl": "urn:uuid:",
- "resource": {
- "resourceType": "Practitioner"
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/"
- }
- },
- {
- "fullUrl": "urn:uuid:",
- "resource": {
- "resourceType": "Location"
- },
- "request": {
- "method": "PUT",
- "url": "Location/"
- }
- },
- {
- "fullUrl": "urn:uuid:",
- "resource": {
- "resourceType": "Provenance",
- "text": {
- "status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:58:01.423Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.
"
- },
- "occurredDateTime": "2014-10-06T06:45:00",
- "recorded": "2014-10-06T06:45:00",
- "agent": [
- {
- "type": {
- "coding": [
- {
- "code": "author",
- "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
- }
- ]
- }
- }
- ],
- "activity": {
- "coding": [
- {
- "display": "ORU^R01^"
- }
- ]
- },
- "target": [
- {
- "reference": "Bundle/"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Provenance/"
- }
- },
{
"fullUrl": "urn:uuid:f70a39cb-cf13-6f75-885d-cf691752c711",
"resource": {
@@ -260,113 +242,44 @@
}
},
{
- "fullUrl": "urn:uuid:",
- "resource": {
- "resourceType": "Encounter",
- "text": {
- "status": "generated",
- "div": ""
- },
- "subject": {
- "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
- }
- },
- "request": {
- "method": "PUT",
- "url": "Encounter/"
- }
- },
- {
- "fullUrl": "urn:uuid:da437276-fd7c-eb21-1885-4041aa59c483",
- "resource": {
- "resourceType": "Practitioner",
- "id": "da437276-fd7c-eb21-1885-4041aa59c483"
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/da437276-fd7c-eb21-1885-4041aa59c483"
- }
- },
- {
- "fullUrl": "urn:uuid:abc9f629-6e71-5ca8-488e-283e73338943",
+ "fullUrl": "urn:uuid:f736fbb2-aafc-4e52-abb9-20d77d01d302",
"resource": {
- "resourceType": "DiagnosticReport",
- "id": "abc9f629-6e71-5ca8-488e-283e73338943",
- "identifier": [
- {
- "type": {
- "coding": [
- {
- "code": "FILL",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
- }
- ]
- }
- },
- {
- "value": "88502218"
- },
- {
- "value": "82503246"
- }
- ],
+ "resourceType": "Observation",
+ "id": "f736fbb2-aafc-4e52-abb9-20d77d01d302",
+ "status": "unknown",
"code": {
"coding": [
{
- "code": "24317-0",
- "display": "Hemogram and platelet count, automated",
+ "code": "11156-7",
+ "display": "LEUKOCYTES",
"system": "http://loinc.org"
}
]
},
- "status": "final",
- "specimen": [
- {
- "reference": "Practitioner/da437276-fd7c-eb21-1885-4041aa59c483"
- },
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "extension": [
{
- "reference": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663"
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "I",
+ "display": "In Process",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "In Process"
+ }
}
],
- "result": [
- {
- "reference": "Observation/f736fbb2-aafc-4e52-abb9-20d77d01d302"
- },
- {
- "reference": "Observation/1ef60c39-1161-0129-a263-b693d23f90c3"
- },
- {
- "reference": "Observation/fa77427d-7606-99a5-ae91-f316de160668"
- },
+ "basedOn": [
{
- "reference": "Observation/2f7b51cf-44f5-547d-2815-747fd4ec7a88"
- },
- {
- "reference": "Observation/73bdfe72-5f9f-31fc-ad22-90e1ccf2d7fe"
+ "reference": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af"
}
]
},
- "request": {
- "method": "PUT",
- "url": "DiagnosticReport/abc9f629-6e71-5ca8-488e-283e73338943"
- }
- },
- {
- "fullUrl": "urn:uuid:f736fbb2-aafc-4e52-abb9-20d77d01d302",
- "resource": {
- "resourceType": "Observation",
- "id": "f736fbb2-aafc-4e52-abb9-20d77d01d302",
- "status": "unknown",
- "code": {
- "coding": [
- {
- "code": "11156-7",
- "display": "LEUKOCYTES",
- "system": "http://loinc.org"
- }
- ]
- }
- },
"request": {
"method": "PUT",
"url": "Observation/f736fbb2-aafc-4e52-abb9-20d77d01d302"
@@ -402,6 +315,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "Preliminary",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Preliminary"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af"
+ }
]
},
"request": {
@@ -423,7 +359,30 @@
"system": "http://loinc.org"
}
]
- }
+ },
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "I",
+ "display": "In Process",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "In Process"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af"
+ }
+ ]
},
"request": {
"method": "PUT",
@@ -460,6 +419,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "Preliminary",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Preliminary"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af"
+ }
]
},
"request": {
@@ -497,6 +479,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af"
+ }
]
},
"request": {
@@ -505,17 +510,15 @@
}
},
{
- "fullUrl": "urn:uuid:7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663",
+ "fullUrl": "urn:uuid:0c653f12-916b-8b2a-511a-96b2fb03e3af",
"resource": {
- "resourceType": "Specimen",
- "id": "7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663",
- "collection": {
- "collectedDateTime": "2014-10-06T05:35:00"
- },
- "receivedTime": "2014-10-06T08:21:00",
+ "resourceType": "ServiceRequest",
+ "id": "0c653f12-916b-8b2a-511a-96b2fb03e3af",
+ "status": "active",
+ "intent": "filler-order",
"identifier": [
{
- "value": "SpecimenID",
+ "value": "88502218",
"type": {
"coding": [
{
@@ -524,83 +527,261 @@
}
]
}
- }
- ],
- "type": {
- "coding": [
- {
- "code": "BLD"
- }
- ]
- },
- "status": "available"
+ },
+ {
+ "value": "82503246",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "24317-0",
+ "display": "Hemogram and platelet count, automated",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "requester": {
+ "reference": "PractitionerRole/907170a0-a8af-89c5-5a30-6b78cdb227c5"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/1385d82a-b545-84d8-803a-e65c038399c8"
+ }
+ ]
},
"request": {
"method": "PUT",
- "url": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663"
+ "url": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:15decf11-00dc-6867-9c35-ffd79977d5b9",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "15decf11-00dc-6867-9c35-ffd79977d5b9",
+ "name": [
+ {
+ "family": "URO",
+ "prefix": [
+ "DR"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/15decf11-00dc-6867-9c35-ffd79977d5b9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:907170a0-a8af-89c5-5a30-6b78cdb227c5",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "907170a0-a8af-89c5-5a30-6b78cdb227c5",
+ "practitioner": {
+ "reference": "Practitioner/15decf11-00dc-6867-9c35-ffd79977d5b9"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/907170a0-a8af-89c5-5a30-6b78cdb227c5"
}
},
{
- "fullUrl": "urn:uuid:c3c41c66-630e-8d1b-2fad-cffb0957da29",
+ "fullUrl": "urn:uuid:6bb755e5-a74c-c3f0-e18b-a92b568c4b19",
"resource": {
"resourceType": "DiagnosticReport",
- "id": "c3c41c66-630e-8d1b-2fad-cffb0957da29",
+ "id": "6bb755e5-a74c-c3f0-e18b-a92b568c4b19",
"identifier": [
{
+ "value": "88502218",
"type": {
"coding": [
{
- "code": "FILL",
+ "code": "PLAC",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203"
}
]
}
},
{
- "value": "855238581"
- },
- {
- "value": "890775544"
+ "value": "82503246",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
}
],
"code": {
"coding": [
{
- "code": "26464-8",
- "display": "Differential WBC Count, buffy coat",
+ "code": "24317-0",
+ "display": "Hemogram and platelet count, automated",
"system": "http://loinc.org"
}
]
},
- "specimen": [
+ "status": "final",
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "basedOn": [
{
- "reference": "Practitioner/da437276-fd7c-eb21-1885-4041aa59c483"
- },
+ "reference": "ServiceRequest/0c653f12-916b-8b2a-511a-96b2fb03e3af"
+ }
+ ],
+ "specimen": [
{
- "reference": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663"
+ "reference": "Specimen/1385d82a-b545-84d8-803a-e65c038399c8"
}
],
"result": [
{
- "reference": "Observation/f3f13545-5a9c-5279-e1a3-6faff5d56778"
+ "reference": "Observation/f736fbb2-aafc-4e52-abb9-20d77d01d302"
},
{
- "reference": "Observation/690c7dfd-8d22-ac69-0f11-bf58da18db99"
+ "reference": "Observation/1ef60c39-1161-0129-a263-b693d23f90c3"
},
{
- "reference": "Observation/4bb79fc0-148e-6d5b-b111-6e09c39ec56e"
+ "reference": "Observation/fa77427d-7606-99a5-ae91-f316de160668"
},
{
- "reference": "Observation/5597ddac-19fb-6893-705d-65097d31b66b"
+ "reference": "Observation/2f7b51cf-44f5-547d-2815-747fd4ec7a88"
},
{
- "reference": "Observation/e4412677-d1c2-f97d-b765-5bdfb16cdac5"
+ "reference": "Observation/73bdfe72-5f9f-31fc-ad22-90e1ccf2d7fe"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DiagnosticReport/6bb755e5-a74c-c3f0-e18b-a92b568c4b19"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:1385d82a-b545-84d8-803a-e65c038399c8",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "1385d82a-b545-84d8-803a-e65c038399c8",
+ "collection": {
+ "collector": {
+ "reference": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8"
+ }
+ },
+ "identifier": [
+ {
+ "value": "88502218",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "82503246",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/1385d82a-b545-84d8-803a-e65c038399c8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:da437276-fd7c-eb21-1885-4041aa59c483",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "da437276-fd7c-eb21-1885-4041aa59c483",
+ "name": [
+ {
+ "family": "COLLECT",
+ "given": [
+ "JOHN"
+ ]
}
]
},
"request": {
"method": "PUT",
- "url": "DiagnosticReport/c3c41c66-630e-8d1b-2fad-cffb0957da29"
+ "url": "Practitioner/da437276-fd7c-eb21-1885-4041aa59c483"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:be571888-010e-9a32-e87f-f1ee1bd631a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "be571888-010e-9a32-e87f-f1ee1bd631a8",
+ "practitioner": {
+ "reference": "Practitioner/da437276-fd7c-eb21-1885-4041aa59c483"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663",
+ "collection": {
+ "collectedDateTime": "2014-10-06T05:35:00"
+ },
+ "receivedTime": "2014-10-06T08:21:00",
+ "identifier": [
+ {
+ "value": "SpecimenID",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "coding": [
+ {
+ "code": "BLD",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0487"
+ }
+ ]
+ },
+ "status": "available"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663"
}
},
{
@@ -633,6 +814,32 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "specimen": {
+ "reference": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "Preliminary",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Preliminary"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
]
},
"request": {
@@ -670,6 +877,32 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "specimen": {
+ "reference": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "Preliminary",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Preliminary"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
]
},
"request": {
@@ -707,6 +940,32 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "specimen": {
+ "reference": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "Preliminary",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Preliminary"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
]
},
"request": {
@@ -744,6 +1003,32 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "specimen": {
+ "reference": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "Preliminary",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Preliminary"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
]
},
"request": {
@@ -781,12 +1066,210 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "specimen": {
+ "reference": "Specimen/7c7cbbd6-4a47-b606-9d5b-dc2d6a03e663"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "Preliminary",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Preliminary"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
]
},
"request": {
"method": "PUT",
"url": "Observation/e4412677-d1c2-f97d-b765-5bdfb16cdac5"
}
+ },
+ {
+ "fullUrl": "urn:uuid:99bb45ed-8d61-675b-dec1-6ee32bfa054a",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "99bb45ed-8d61-675b-dec1-6ee32bfa054a",
+ "status": "active",
+ "intent": "filler-order",
+ "identifier": [
+ {
+ "value": "855238581",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "890775544",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "26464-8",
+ "display": "Differential WBC Count, buffy coat",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "requester": {
+ "reference": "PractitionerRole/907170a0-a8af-89c5-5a30-6b78cdb227c5"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/e8c2bedc-f247-6e63-2c6f-a58e26f24c33"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bd4fd761-3a3c-6084-6bb0-5b21c024b208",
+ "resource": {
+ "resourceType": "DiagnosticReport",
+ "id": "bd4fd761-3a3c-6084-6bb0-5b21c024b208",
+ "identifier": [
+ {
+ "value": "855238581",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "890775544",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "26464-8",
+ "display": "Differential WBC Count, buffy coat",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "status": "unknown",
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
+ ],
+ "specimen": [
+ {
+ "reference": "Specimen/e8c2bedc-f247-6e63-2c6f-a58e26f24c33"
+ }
+ ],
+ "result": [
+ {
+ "reference": "Observation/f3f13545-5a9c-5279-e1a3-6faff5d56778"
+ },
+ {
+ "reference": "Observation/690c7dfd-8d22-ac69-0f11-bf58da18db99"
+ },
+ {
+ "reference": "Observation/4bb79fc0-148e-6d5b-b111-6e09c39ec56e"
+ },
+ {
+ "reference": "Observation/5597ddac-19fb-6893-705d-65097d31b66b"
+ },
+ {
+ "reference": "Observation/e4412677-d1c2-f97d-b765-5bdfb16cdac5"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DiagnosticReport/bd4fd761-3a3c-6084-6bb0-5b21c024b208"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e8c2bedc-f247-6e63-2c6f-a58e26f24c33",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "e8c2bedc-f247-6e63-2c6f-a58e26f24c33",
+ "collection": {
+ "collector": {
+ "reference": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8"
+ }
+ },
+ "identifier": [
+ {
+ "value": "855238581",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "890775544",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/e8c2bedc-f247-6e63-2c6f-a58e26f24c33"
+ }
}
]
}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json
index c82f2354d..e5adea959 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LAB-ORU-2-expected.json
@@ -5,6 +5,7 @@
"identifier": {
"value": "ControlID"
},
+ "id": "1621d98e-0f06-6ff5-bfed-87e7a90a41b6",
"entry": [
{
"fullUrl": "urn:uuid:35c86567-5347-8c97-4810-b39dedb9f855",
@@ -55,6 +56,47 @@
"url": "MessageHeader/35c86567-5347-8c97-4810-b39dedb9f855"
}
},
+ {
+ "fullUrl": "urn:uuid:9f79a1ce-a1d5-c6dd-a0d6-3bc75109716c",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "9f79a1ce-a1d5-c6dd-a0d6-3bc75109716c",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:49:47.115Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.
"
+ },
+ "occurredDateTime": "2014-10-06T09:31:00",
+ "recorded": "2014-10-06T09:31:00",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ORU^R01^"
+ }
+ ]
+ },
+ "target": [
+ {
+ "reference": "Bundle/1621d98e-0f06-6ff5-bfed-87e7a90a41b6"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/9f79a1ce-a1d5-c6dd-a0d6-3bc75109716c"
+ }
+ },
{
"fullUrl": "urn:uuid:bab5ca58-f272-4c06-4b3f-f9661e45a22b",
"resource": {
@@ -168,66 +210,6 @@
"url": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
}
},
- {
- "fullUrl": "urn:uuid:",
- "resource": {
- "resourceType": "Practitioner"
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/"
- }
- },
- {
- "fullUrl": "urn:uuid:",
- "resource": {
- "resourceType": "Location"
- },
- "request": {
- "method": "PUT",
- "url": "Location/"
- }
- },
- {
- "fullUrl": "urn:uuid:",
- "resource": {
- "resourceType": "Provenance",
- "text": {
- "status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:58:35.885Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.
"
- },
- "occurredDateTime": "2014-10-06T09:31:00",
- "recorded": "2014-10-06T09:31:00",
- "agent": [
- {
- "type": {
- "coding": [
- {
- "code": "author",
- "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
- }
- ]
- }
- }
- ],
- "activity": {
- "coding": [
- {
- "display": "ORU^R01^"
- }
- ]
- },
- "target": [
- {
- "reference": "Bundle/"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Provenance/"
- }
- },
{
"fullUrl": "urn:uuid:f70a39cb-cf13-6f75-885d-cf691752c711",
"resource": {
@@ -260,97 +242,6 @@
"url": "Account/f70a39cb-cf13-6f75-885d-cf691752c711"
}
},
- {
- "fullUrl": "urn:uuid:",
- "resource": {
- "resourceType": "Encounter",
- "text": {
- "status": "generated",
- "div": ""
- },
- "subject": {
- "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
- }
- },
- "request": {
- "method": "PUT",
- "url": "Encounter/"
- }
- },
- {
- "fullUrl": "urn:uuid:da437276-fd7c-eb21-1885-4041aa59c483",
- "resource": {
- "resourceType": "Practitioner",
- "id": "da437276-fd7c-eb21-1885-4041aa59c483"
- },
- "request": {
- "method": "PUT",
- "url": "Practitioner/da437276-fd7c-eb21-1885-4041aa59c483"
- }
- },
- {
- "fullUrl": "urn:uuid:c3c41c66-630e-8d1b-2fad-cffb0957da29",
- "resource": {
- "resourceType": "DiagnosticReport",
- "id": "c3c41c66-630e-8d1b-2fad-cffb0957da29",
- "identifier": [
- {
- "type": {
- "coding": [
- {
- "code": "FILL",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
- }
- ]
- }
- },
- {
- "value": "855238581"
- },
- {
- "value": "890775544"
- }
- ],
- "code": {
- "coding": [
- {
- "code": "26464-8",
- "display": "Differential WBC Count, buffy coat",
- "system": "http://loinc.org"
- }
- ]
- },
- "specimen": [
- {
- "reference": "Practitioner/da437276-fd7c-eb21-1885-4041aa59c483"
- },
- {
- "reference": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527"
- }
- ],
- "result": [
- {
- "reference": "Observation/24b96f9a-359e-fc62-bf8a-45e4f1b4c6e9"
- },
- {
- "reference": "Observation/1b81a0d2-b102-41aa-421b-ac645e962ce4"
- },
- {
- "reference": "Observation/26534e50-b8b4-2ec3-7f8d-c33d4c7792f1"
- },
- {
- "reference": "Observation/7878e0ad-8700-5b8b-47d9-7acff0e1eb34"
- },
- {
- "reference": "Observation/437fa03d-5559-9f37-42ed-482f65dd47ce"
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "DiagnosticReport/c3c41c66-630e-8d1b-2fad-cffb0957da29"
- }
- },
{
"fullUrl": "urn:uuid:24b96f9a-359e-fc62-bf8a-45e4f1b4c6e9",
"resource": {
@@ -381,6 +272,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
]
},
"request": {
@@ -418,6 +332,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
]
},
"request": {
@@ -455,6 +392,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
]
},
"request": {
@@ -492,6 +452,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
]
},
"request": {
@@ -529,6 +512,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
]
},
"request": {
@@ -537,17 +543,15 @@
}
},
{
- "fullUrl": "urn:uuid:6006d57e-e0a3-d90e-7d9b-546ed575c527",
+ "fullUrl": "urn:uuid:99bb45ed-8d61-675b-dec1-6ee32bfa054a",
"resource": {
- "resourceType": "Specimen",
- "id": "6006d57e-e0a3-d90e-7d9b-546ed575c527",
- "collection": {
- "collectedDateTime": "2014-10-06T05:35:00"
- },
- "receivedTime": "2014-10-06T06:21:00",
+ "resourceType": "ServiceRequest",
+ "id": "99bb45ed-8d61-675b-dec1-6ee32bfa054a",
+ "status": "active",
+ "intent": "filler-order",
"identifier": [
{
- "value": "SpecimenID",
+ "value": "855238581",
"type": {
"coding": [
{
@@ -556,83 +560,261 @@
}
]
}
+ },
+ {
+ "value": "890775544",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
}
],
- "type": {
+ "code": {
"coding": [
{
- "code": "BLD"
+ "code": "26464-8",
+ "display": "Differential WBC Count, buffy coat",
+ "system": "http://loinc.org"
}
]
},
- "status": "available"
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "requester": {
+ "reference": "PractitionerRole/907170a0-a8af-89c5-5a30-6b78cdb227c5"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/e8c2bedc-f247-6e63-2c6f-a58e26f24c33"
+ }
+ ]
},
"request": {
"method": "PUT",
- "url": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527"
+ "url": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:15decf11-00dc-6867-9c35-ffd79977d5b9",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "15decf11-00dc-6867-9c35-ffd79977d5b9",
+ "name": [
+ {
+ "family": "URO",
+ "prefix": [
+ "DR"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/15decf11-00dc-6867-9c35-ffd79977d5b9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:907170a0-a8af-89c5-5a30-6b78cdb227c5",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "907170a0-a8af-89c5-5a30-6b78cdb227c5",
+ "practitioner": {
+ "reference": "Practitioner/15decf11-00dc-6867-9c35-ffd79977d5b9"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/907170a0-a8af-89c5-5a30-6b78cdb227c5"
}
},
{
- "fullUrl": "urn:uuid:5207c1fc-b68c-7398-6585-264869affbff",
+ "fullUrl": "urn:uuid:bd4fd761-3a3c-6084-6bb0-5b21c024b208",
"resource": {
"resourceType": "DiagnosticReport",
- "id": "5207c1fc-b68c-7398-6585-264869affbff",
+ "id": "bd4fd761-3a3c-6084-6bb0-5b21c024b208",
"identifier": [
{
+ "value": "855238581",
"type": {
"coding": [
{
- "code": "FILL",
+ "code": "PLAC",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203"
}
]
}
},
{
- "value": "88502218"
- },
- {
- "value": "82503246"
+ "value": "890775544",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
}
],
"code": {
"coding": [
{
- "code": "24317-0",
- "display": "Hemogram and platelet count, automated",
+ "code": "26464-8",
+ "display": "Differential WBC Count, buffy coat",
"system": "http://loinc.org"
}
]
},
- "specimen": [
+ "status": "unknown",
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "basedOn": [
{
- "reference": "Practitioner/da437276-fd7c-eb21-1885-4041aa59c483"
- },
+ "reference": "ServiceRequest/99bb45ed-8d61-675b-dec1-6ee32bfa054a"
+ }
+ ],
+ "specimen": [
{
- "reference": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527"
+ "reference": "Specimen/e8c2bedc-f247-6e63-2c6f-a58e26f24c33"
}
],
"result": [
{
- "reference": "Observation/8c207e70-3fd2-2bf4-df75-256240c60258"
+ "reference": "Observation/24b96f9a-359e-fc62-bf8a-45e4f1b4c6e9"
},
{
- "reference": "Observation/874ee31e-885c-d582-b76d-e145e99a2945"
+ "reference": "Observation/1b81a0d2-b102-41aa-421b-ac645e962ce4"
},
{
- "reference": "Observation/be4f90a2-a433-fb21-0f23-70e43de46be5"
+ "reference": "Observation/26534e50-b8b4-2ec3-7f8d-c33d4c7792f1"
},
{
- "reference": "Observation/146f1ba0-2940-de97-93af-6c0dc64e54b2"
+ "reference": "Observation/7878e0ad-8700-5b8b-47d9-7acff0e1eb34"
},
{
- "reference": "Observation/30282793-eed9-7f34-ea78-c9465ef05757"
+ "reference": "Observation/437fa03d-5559-9f37-42ed-482f65dd47ce"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DiagnosticReport/bd4fd761-3a3c-6084-6bb0-5b21c024b208"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e8c2bedc-f247-6e63-2c6f-a58e26f24c33",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "e8c2bedc-f247-6e63-2c6f-a58e26f24c33",
+ "collection": {
+ "collector": {
+ "reference": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8"
+ }
+ },
+ "identifier": [
+ {
+ "value": "855238581",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "890775544",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/e8c2bedc-f247-6e63-2c6f-a58e26f24c33"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:da437276-fd7c-eb21-1885-4041aa59c483",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "da437276-fd7c-eb21-1885-4041aa59c483",
+ "name": [
+ {
+ "family": "COLLECT",
+ "given": [
+ "JOHN"
+ ]
}
]
},
"request": {
"method": "PUT",
- "url": "DiagnosticReport/5207c1fc-b68c-7398-6585-264869affbff"
+ "url": "Practitioner/da437276-fd7c-eb21-1885-4041aa59c483"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:be571888-010e-9a32-e87f-f1ee1bd631a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "be571888-010e-9a32-e87f-f1ee1bd631a8",
+ "practitioner": {
+ "reference": "Practitioner/da437276-fd7c-eb21-1885-4041aa59c483"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6006d57e-e0a3-d90e-7d9b-546ed575c527",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "6006d57e-e0a3-d90e-7d9b-546ed575c527",
+ "collection": {
+ "collectedDateTime": "2014-10-06T05:35:00"
+ },
+ "receivedTime": "2014-10-06T06:21:00",
+ "identifier": [
+ {
+ "value": "SpecimenID",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "coding": [
+ {
+ "code": "BLD",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0487"
+ }
+ ]
+ },
+ "status": "available"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527"
}
},
{
@@ -665,6 +847,32 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "specimen": {
+ "reference": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e"
+ }
]
},
"request": {
@@ -702,6 +910,32 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "specimen": {
+ "reference": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e"
+ }
]
},
"request": {
@@ -739,6 +973,32 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "specimen": {
+ "reference": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e"
+ }
]
},
"request": {
@@ -776,6 +1036,32 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "specimen": {
+ "reference": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e"
+ }
]
},
"request": {
@@ -813,12 +1099,210 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "specimen": {
+ "reference": "Specimen/6006d57e-e0a3-d90e-7d9b-546ed575c527"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e"
+ }
]
},
"request": {
"method": "PUT",
"url": "Observation/30282793-eed9-7f34-ea78-c9465ef05757"
}
+ },
+ {
+ "fullUrl": "urn:uuid:b1410115-e911-9d20-3570-fc3c1e5c347e",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "b1410115-e911-9d20-3570-fc3c1e5c347e",
+ "status": "active",
+ "intent": "filler-order",
+ "identifier": [
+ {
+ "value": "88502218",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "82503246",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "24317-0",
+ "display": "Hemogram and platelet count, automated",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "requester": {
+ "reference": "PractitionerRole/907170a0-a8af-89c5-5a30-6b78cdb227c5"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/f59e2ae9-1b51-5e9f-9ef1-2f05d070db75"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:43054c97-ac1f-e627-4559-c8ae945117bd",
+ "resource": {
+ "resourceType": "DiagnosticReport",
+ "id": "43054c97-ac1f-e627-4559-c8ae945117bd",
+ "identifier": [
+ {
+ "value": "88502218",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "82503246",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "24317-0",
+ "display": "Hemogram and platelet count, automated",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "status": "unknown",
+ "subject": {
+ "reference": "Patient/bab5ca58-f272-4c06-4b3f-f9661e45a22b"
+ },
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b1410115-e911-9d20-3570-fc3c1e5c347e"
+ }
+ ],
+ "specimen": [
+ {
+ "reference": "Specimen/f59e2ae9-1b51-5e9f-9ef1-2f05d070db75"
+ }
+ ],
+ "result": [
+ {
+ "reference": "Observation/8c207e70-3fd2-2bf4-df75-256240c60258"
+ },
+ {
+ "reference": "Observation/874ee31e-885c-d582-b76d-e145e99a2945"
+ },
+ {
+ "reference": "Observation/be4f90a2-a433-fb21-0f23-70e43de46be5"
+ },
+ {
+ "reference": "Observation/146f1ba0-2940-de97-93af-6c0dc64e54b2"
+ },
+ {
+ "reference": "Observation/30282793-eed9-7f34-ea78-c9465ef05757"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DiagnosticReport/43054c97-ac1f-e627-4559-c8ae945117bd"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f59e2ae9-1b51-5e9f-9ef1-2f05d070db75",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "f59e2ae9-1b51-5e9f-9ef1-2f05d070db75",
+ "collection": {
+ "collector": {
+ "reference": "PractitionerRole/be571888-010e-9a32-e87f-f1ee1bd631a8"
+ }
+ },
+ "identifier": [
+ {
+ "value": "88502218",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "82503246",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/f59e2ae9-1b51-5e9f-9ef1-2f05d070db75"
+ }
}
]
}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json
index 82507ee8b..cba9fe7e0 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/LRI_2.0-NG_CBC_Typ_Message-expected.json
@@ -5,6 +5,7 @@
"identifier": {
"value": "NIST-LRI-NG-002.00"
},
+ "id": "7cbc05b1-9589-f624-6bb7-edea632acfeb",
"entry": [
{
"fullUrl": "urn:uuid:15cde54f-eadb-4bee-fe4c-0e8dbe4f4959",
@@ -59,6 +60,84 @@
"url": "MessageHeader/15cde54f-eadb-4bee-fe4c-0e8dbe4f4959"
}
},
+ {
+ "fullUrl": "urn:uuid:69d21cff-2d4e-b89f-1109-5fb744517c1f",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "69d21cff-2d4e-b89f-1109-5fb744517c1f",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:50:36.744Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.
"
+ },
+ "occurredDateTime": "2011-06-01T00:35:51+05:30",
+ "recorded": "2011-06-01T00:35:51+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ORU^R01^ORU_R01"
+ }
+ ]
+ },
+ "target": [
+ {
+ "reference": "Bundle/7cbc05b1-9589-f624-6bb7-edea632acfeb"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/69d21cff-2d4e-b89f-1109-5fb744517c1f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:aa0cf9ae-78b3-73ec-0ef7-234369f8a10c",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "aa0cf9ae-78b3-73ec-0ef7-234369f8a10c",
+ "identifier": [
+ {
+ "value": "NIST Lab Facility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-Lab-Facility"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c828b9d8-dc07-4b58-af67-705a38d1fa4d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "c828b9d8-dc07-4b58-af67-705a38d1fa4d",
+ "identifier": [
+ {
+ "value": "NIST EHR Facility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-EHR-Facility"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/c828b9d8-dc07-4b58-af67-705a38d1fa4d"
+ }
+ },
{
"fullUrl": "urn:uuid:397de93b-65e0-b3b6-7a79-d7869d57a8aa",
"resource": {
@@ -116,310 +195,334 @@
}
},
{
- "fullUrl": "urn:uuid:",
+ "fullUrl": "urn:uuid:9f988649-6c25-7f5f-f25c-65f3042e23b6",
"resource": {
- "resourceType": "Practitioner"
+ "resourceType": "Practitioner",
+ "id": "9f988649-6c25-7f5f-f25c-65f3042e23b6",
+ "identifier": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "2343242"
+ }
+ ]
+ }
+ }
+ ]
},
"request": {
"method": "PUT",
- "url": "Practitioner/"
+ "url": "Practitioner/9f988649-6c25-7f5f-f25c-65f3042e23b6"
}
},
{
- "fullUrl": "urn:uuid:",
+ "fullUrl": "urn:uuid:fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8",
"resource": {
- "resourceType": "Location"
+ "resourceType": "PractitionerRole",
+ "id": "fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "LabMedicalDirector",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/9f988649-6c25-7f5f-f25c-65f3042e23b6"
+ },
+ "organization": {
+ "reference": "Organization/c8cd57a5-13a6-54d1-7dcd-d0a6b637c660"
+ }
},
"request": {
"method": "PUT",
- "url": "Location/"
+ "url": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8"
}
},
{
- "fullUrl": "urn:uuid:1f2725f5-0c29-68dd-b124-7e4f4eba2a32",
+ "fullUrl": "urn:uuid:c8cd57a5-13a6-54d1-7dcd-d0a6b637c660",
"resource": {
- "resourceType": "Provenance",
- "id": "1f2725f5-0c29-68dd-b124-7e4f4eba2a32",
- "text": {
- "status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:59:20.123Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.
"
- },
- "occurredDateTime": "2011-06-01T00:35:51+05:30",
- "recorded": "2011-06-01T00:35:51+05:30",
- "agent": [
+ "resourceType": "Organization",
+ "id": "c8cd57a5-13a6-54d1-7dcd-d0a6b637c660",
+ "name": "Century Hospital",
+ "identifier": [
{
+ "value": "987",
"type": {
"coding": [
{
- "code": "author",
- "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ "code": "XX",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
}
]
- },
- "who": {
- "reference": "Organization/aa0cf9ae-78b3-73ec-0ef7-234369f8a10c"
}
}
],
- "activity": {
- "coding": [
- {
- "display": "ORU^R01^ORU_R01"
- }
- ]
- },
- "target": [
+ "address": [
{
- "reference": "Bundle/"
+ "line": [
+ "2070 Test Park"
+ ],
+ "city": "Los Angeles",
+ "state": "CA",
+ "postalCode": "90067",
+ "use": "work"
}
]
},
"request": {
"method": "PUT",
- "url": "Provenance/1f2725f5-0c29-68dd-b124-7e4f4eba2a32"
+ "url": "Organization/c8cd57a5-13a6-54d1-7dcd-d0a6b637c660"
}
},
{
- "fullUrl": "urn:uuid:d89caeaa-3e83-1bc6-de48-869aade1d077",
+ "fullUrl": "urn:uuid:b9018883-1320-3dfb-e157-cb46bb7a6679",
"resource": {
- "resourceType": "Account",
- "id": "d89caeaa-3e83-1bc6-de48-869aade1d077",
- "status": "active",
- "subject": [
+ "resourceType": "Observation",
+ "id": "b9018883-1320-3dfb-e157-cb46bb7a6679",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "26453-1",
+ "display": "Erythrocytes [#/volume] in Blood",
+ "system": "http://loinc.org"
+ }
+ ],
+ "text": "Erythrocytes [#/volume] in Blood"
+ },
+ "valueQuantity": {
+ "value": 4.41,
+ "code": "10*6/uL",
+ "unit": "million per microliter",
+ "system": "http://unitsofmeasure.org"
+ },
+ "referenceRange": [
+ {
+ "text": "4.3 to 6.2"
+ }
+ ],
+ "effectiveDateTime": "2011-01-04T04:04:28+05:30",
+ "performer": [
+ {
+ "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "N",
+ "display": "Normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
{
- "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
}
]
},
"request": {
"method": "PUT",
- "url": "Account/d89caeaa-3e83-1bc6-de48-869aade1d077"
+ "url": "Observation/b9018883-1320-3dfb-e157-cb46bb7a6679"
}
},
{
- "fullUrl": "urn:uuid:",
+ "fullUrl": "urn:uuid:becb609f-f513-876c-973a-98f4a3e25295",
"resource": {
- "resourceType": "Encounter",
- "text": {
- "status": "generated",
- "div": ""
+ "resourceType": "Observation",
+ "id": "becb609f-f513-876c-973a-98f4a3e25295",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "718-7",
+ "display": "Hemoglobin [Mass/volume] in Blood",
+ "system": "http://loinc.org"
+ }
+ ],
+ "text": "Hemoglobin [Mass/volume] in Blood"
+ },
+ "valueQuantity": {
+ "value": 12.5,
+ "code": "g/mL",
+ "unit": "grams per milliliter",
+ "system": "http://unitsofmeasure.org"
},
+ "referenceRange": [
+ {
+ "text": "13 to 18"
+ }
+ ],
+ "effectiveDateTime": "2011-01-04T04:04:28+05:30",
+ "performer": [
+ {
+ "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "L",
+ "display": "Low",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ }
+ ],
"subject": {
"reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
- }
- },
- "request": {
- "method": "PUT",
- "url": "Encounter/"
- }
- },
- {
- "fullUrl": "urn:uuid:e5528a59-da05-4148-e016-5b99bdb33924",
- "resource": {
- "resourceType": "DiagnosticReport",
- "id": "e5528a59-da05-4148-e016-5b99bdb33924",
- "identifier": [
+ },
+ "extension": [
{
- "type": {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
"coding": [
{
- "code": "FILL",
- "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
}
- ]
+ ],
+ "text": "Final"
}
- },
- {
- "value": "ORD666555",
- "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST EHR"
- },
- {
- "value": "R-991133",
- "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST Lab Filler"
}
],
- "effectiveDateTime": "2011-01-04T04:04:28+05:30",
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/becb609f-f513-876c-973a-98f4a3e25295"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:418e1d5b-7cf8-4f97-2f20-064f064073bf",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "418e1d5b-7cf8-4f97-2f20-064f064073bf",
+ "status": "final",
"code": {
"coding": [
{
- "code": "57021-8",
- "display": "CBC W Auto Differential panel in Blood",
+ "code": "20570-8",
+ "display": "Hematocrit [Volume Fraction] of Blood",
"system": "http://loinc.org"
- },
- {
- "code": "4456544",
- "display": "CBC",
- "system": "http://example.com/v2-to-fhir-converter/CodeSystem/99USI"
}
],
- "text": "CBC W Auto Differential panel in Blood"
+ "text": "Hematocrit [Volume Fraction] of Blood"
},
- "issued": "2011-01-05T06:30:28+05:30",
- "status": "final",
- "result": [
- {
- "reference": "Observation/b9018883-1320-3dfb-e157-cb46bb7a6679"
- },
- {
- "reference": "Observation/becb609f-f513-876c-973a-98f4a3e25295"
- },
- {
- "reference": "Observation/418e1d5b-7cf8-4f97-2f20-064f064073bf"
- },
- {
- "reference": "Observation/63ebf56e-13b3-032c-04f0-0b0ae2596154"
- },
- {
- "reference": "Observation/2fecfbb4-8bfc-33df-cc06-46079a214417"
- },
- {
- "reference": "Observation/d88298c6-5018-0e69-8bff-bb2e57479ede"
- },
- {
- "reference": "Observation/4f08fab4-ea01-aeb4-20a3-50d7c4df2d1e"
- },
- {
- "reference": "Observation/b1082ae5-5936-88dc-f6ab-906231b9c7f1"
- },
- {
- "reference": "Observation/61c65289-d3f6-bd40-9fa1-33856ad2288f"
- },
- {
- "reference": "Observation/69a93e5e-128e-1cd9-b510-a781f1af141a"
- },
- {
- "reference": "Observation/95277a83-6195-ad8c-9492-f3489b45732b"
- },
- {
- "reference": "Observation/4cd993fb-7522-ee9f-69de-3d12d06960a7"
- },
- {
- "reference": "Observation/15122490-e5b2-954f-3960-d7c8f3f62632"
- },
- {
- "reference": "Observation/612d5b88-0687-46f9-3ada-0fc9ba9b5fe0"
- },
- {
- "reference": "Observation/0f40b9a3-8c63-ca5d-cc60-859cfa8a6660"
- },
- {
- "reference": "Observation/d9a5816e-5c0e-15fe-cd9d-417f8abd7abb"
- },
- {
- "reference": "Observation/db00b811-6280-5dad-bf61-07314b205438"
- },
- {
- "reference": "Observation/0b77694d-87ce-5da4-90c4-4d451437d2d9"
- },
- {
- "reference": "Observation/4c96bb15-0280-fea1-1715-e3f424cf55cc"
- },
- {
- "reference": "Observation/19124803-ebc8-8a88-2acc-f5b890f8c5c5"
- },
- {
- "reference": "Observation/6074e0a6-0ba6-b905-c957-13b2899a4dbe"
- },
- {
- "reference": "Observation/700cce12-7f39-bbb0-94f3-689107732835"
- },
- {
- "reference": "Observation/d198666f-2eae-1c28-ee17-d525a7a3ec85"
- },
- {
- "reference": "Observation/db250a50-54ff-eacd-ef4f-8f05b79aecad"
- },
- {
- "reference": "Observation/90c2203d-56d6-be20-2be4-9b879d3647a5"
- },
- {
- "reference": "Observation/3260b2c2-a8f9-1a32-d09f-556192b37dcd"
- },
+ "valueQuantity": {
+ "value": 41,
+ "code": "%",
+ "unit": "percent",
+ "system": "http://unitsofmeasure.org"
+ },
+ "referenceRange": [
{
- "reference": "Observation/ff76c538-2861-d8cf-7fc6-418d7f0688ef"
- },
+ "text": "40 to 52"
+ }
+ ],
+ "effectiveDateTime": "2011-01-04T04:04:28+05:30",
+ "performer": [
{
- "reference": "Observation/7cb9f3da-bf77-1317-12a2-d70c8577ca71"
+ "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8"
}
],
- "specimen": [
+ "interpretation": [
{
- "reference": "Specimen/a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963"
+ "coding": [
+ {
+ "code": "N",
+ "display": "Normal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
}
- ]
- },
- "request": {
- "method": "PUT",
- "url": "DiagnosticReport/e5528a59-da05-4148-e016-5b99bdb33924"
- }
- },
- {
- "fullUrl": "urn:uuid:c8cd57a5-13a6-54d1-7dcd-d0a6b637c660",
- "resource": {
- "resourceType": "Organization",
- "id": "c8cd57a5-13a6-54d1-7dcd-d0a6b637c660",
- "address": [
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
{
- "line": [
- "2070 Test Park"
- ],
- "city": "Los Angeles",
- "state": "CA",
- "postalCode": "90067",
- "use": "work"
- },
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
{
- "line": [
- "2070 Test Park"
- ],
- "city": "Los Angeles",
- "state": "CA",
- "postalCode": "90067",
- "use": "work"
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
}
]
},
"request": {
"method": "PUT",
- "url": "Organization/c8cd57a5-13a6-54d1-7dcd-d0a6b637c660"
- }
- },
- {
- "fullUrl": "urn:uuid:fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8",
- "resource": {
- "resourceType": "PractitionerRole",
- "id": "fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8"
- },
- "request": {
- "method": "PUT",
- "url": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8"
+ "url": "Observation/418e1d5b-7cf8-4f97-2f20-064f064073bf"
}
},
{
- "fullUrl": "urn:uuid:b9018883-1320-3dfb-e157-cb46bb7a6679",
+ "fullUrl": "urn:uuid:63ebf56e-13b3-032c-04f0-0b0ae2596154",
"resource": {
"resourceType": "Observation",
- "id": "b9018883-1320-3dfb-e157-cb46bb7a6679",
+ "id": "63ebf56e-13b3-032c-04f0-0b0ae2596154",
"status": "final",
"code": {
"coding": [
{
- "code": "26453-1",
- "display": "Erythrocytes [#/volume] in Blood",
+ "code": "26464-8",
+ "display": "Leukocytes [#/volume] in Blood",
"system": "http://loinc.org"
}
],
- "text": "Erythrocytes [#/volume] in Blood"
+ "text": "Leukocytes [#/volume] in Blood"
},
"valueQuantity": {
- "value": 4.41,
- "code": "10*6/uL",
- "unit": "million per microliter",
+ "value": 105600,
+ "code": "{cells}/uL",
+ "unit": "cells per microliter",
"system": "http://unitsofmeasure.org"
},
"referenceRange": [
{
- "text": "4.3 to 6.2"
+ "text": "4300 to 10800"
}
],
"effectiveDateTime": "2011-01-04T04:04:28+05:30",
@@ -432,44 +535,67 @@
{
"coding": [
{
- "code": "N",
- "display": "Normal",
+ "code": "HH",
+ "display": "Critical high",
"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
"method": "PUT",
- "url": "Observation/b9018883-1320-3dfb-e157-cb46bb7a6679"
+ "url": "Observation/63ebf56e-13b3-032c-04f0-0b0ae2596154"
}
},
{
- "fullUrl": "urn:uuid:becb609f-f513-876c-973a-98f4a3e25295",
+ "fullUrl": "urn:uuid:2fecfbb4-8bfc-33df-cc06-46079a214417",
"resource": {
"resourceType": "Observation",
- "id": "becb609f-f513-876c-973a-98f4a3e25295",
+ "id": "2fecfbb4-8bfc-33df-cc06-46079a214417",
"status": "final",
"code": {
"coding": [
{
- "code": "718-7",
- "display": "Hemoglobin [Mass/volume] in Blood",
+ "code": "26515-7",
+ "display": "Platelets [#/volume] in Blood",
"system": "http://loinc.org"
}
],
- "text": "Hemoglobin [Mass/volume] in Blood"
+ "text": "Platelets [#/volume] in Blood"
},
"valueQuantity": {
- "value": 12.5,
- "code": "g/mL",
- "unit": "grams per milliliter",
+ "value": 210000,
+ "code": "{cells}/uL",
+ "unit": "cells per microliter",
"system": "http://unitsofmeasure.org"
},
"referenceRange": [
{
- "text": "13 to 18"
+ "text": "150000 to 350000"
}
],
"effectiveDateTime": "2011-01-04T04:04:28+05:30",
@@ -482,44 +608,67 @@
{
"coding": [
{
- "code": "L",
- "display": "Low",
+ "code": "N",
+ "display": "Normal",
"system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
"method": "PUT",
- "url": "Observation/becb609f-f513-876c-973a-98f4a3e25295"
+ "url": "Observation/2fecfbb4-8bfc-33df-cc06-46079a214417"
}
},
{
- "fullUrl": "urn:uuid:418e1d5b-7cf8-4f97-2f20-064f064073bf",
+ "fullUrl": "urn:uuid:d88298c6-5018-0e69-8bff-bb2e57479ede",
"resource": {
"resourceType": "Observation",
- "id": "418e1d5b-7cf8-4f97-2f20-064f064073bf",
+ "id": "d88298c6-5018-0e69-8bff-bb2e57479ede",
"status": "final",
"code": {
"coding": [
{
- "code": "20570-8",
- "display": "Hematocrit [Volume Fraction] of Blood",
+ "code": "30428-7",
+ "display": "Erythrocyte mean corpuscular volume [Entitic volume]",
"system": "http://loinc.org"
}
],
- "text": "Hematocrit [Volume Fraction] of Blood"
+ "text": "Erythrocyte mean corpuscular volume [Entitic volume]"
},
"valueQuantity": {
- "value": 41,
- "code": "%",
- "unit": "percent",
- "system": "http://unitsofmeasure.org"
+ "value": 91,
+ "code": "fL",
+ "unit": "femtoliter",
+ "system": "http://unitsofmeasure.org"
},
"referenceRange": [
{
- "text": "40 to 52"
+ "text": "80 to 95"
}
],
"effectiveDateTime": "2011-01-04T04:04:28+05:30",
@@ -538,155 +687,28 @@
}
]
}
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Observation/418e1d5b-7cf8-4f97-2f20-064f064073bf"
- }
- },
- {
- "fullUrl": "urn:uuid:63ebf56e-13b3-032c-04f0-0b0ae2596154",
- "resource": {
- "resourceType": "Observation",
- "id": "63ebf56e-13b3-032c-04f0-0b0ae2596154",
- "status": "final",
- "code": {
- "coding": [
- {
- "code": "26464-8",
- "display": "Leukocytes [#/volume] in Blood",
- "system": "http://loinc.org"
- }
- ],
- "text": "Leukocytes [#/volume] in Blood"
- },
- "valueQuantity": {
- "value": 105600,
- "code": "{cells}/uL",
- "unit": "cells per microliter",
- "system": "http://unitsofmeasure.org"
- },
- "referenceRange": [
- {
- "text": "4300 to 10800"
- }
- ],
- "effectiveDateTime": "2011-01-04T04:04:28+05:30",
- "performer": [
- {
- "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8"
- }
],
- "interpretation": [
- {
- "coding": [
- {
- "code": "HH",
- "display": "Critical high",
- "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
- }
- ]
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Observation/63ebf56e-13b3-032c-04f0-0b0ae2596154"
- }
- },
- {
- "fullUrl": "urn:uuid:2fecfbb4-8bfc-33df-cc06-46079a214417",
- "resource": {
- "resourceType": "Observation",
- "id": "2fecfbb4-8bfc-33df-cc06-46079a214417",
- "status": "final",
- "code": {
- "coding": [
- {
- "code": "26515-7",
- "display": "Platelets [#/volume] in Blood",
- "system": "http://loinc.org"
- }
- ],
- "text": "Platelets [#/volume] in Blood"
- },
- "valueQuantity": {
- "value": 210000,
- "code": "{cells}/uL",
- "unit": "cells per microliter",
- "system": "http://unitsofmeasure.org"
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
},
- "referenceRange": [
- {
- "text": "150000 to 350000"
- }
- ],
- "effectiveDateTime": "2011-01-04T04:04:28+05:30",
- "performer": [
- {
- "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8"
- }
- ],
- "interpretation": [
+ "extension": [
{
- "coding": [
- {
- "code": "N",
- "display": "Normal",
- "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
- }
- ]
- }
- ]
- },
- "request": {
- "method": "PUT",
- "url": "Observation/2fecfbb4-8bfc-33df-cc06-46079a214417"
- }
- },
- {
- "fullUrl": "urn:uuid:d88298c6-5018-0e69-8bff-bb2e57479ede",
- "resource": {
- "resourceType": "Observation",
- "id": "d88298c6-5018-0e69-8bff-bb2e57479ede",
- "status": "final",
- "code": {
- "coding": [
- {
- "code": "30428-7",
- "display": "Erythrocyte mean corpuscular volume [Entitic volume]",
- "system": "http://loinc.org"
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
}
- ],
- "text": "Erythrocyte mean corpuscular volume [Entitic volume]"
- },
- "valueQuantity": {
- "value": 91,
- "code": "fL",
- "unit": "femtoliter",
- "system": "http://unitsofmeasure.org"
- },
- "referenceRange": [
- {
- "text": "80 to 95"
- }
- ],
- "effectiveDateTime": "2011-01-04T04:04:28+05:30",
- "performer": [
- {
- "reference": "PractitionerRole/fbbaa96a-8a5d-f670-0fcf-838b21d4c6a8"
}
],
- "interpretation": [
+ "basedOn": [
{
- "coding": [
- {
- "code": "N",
- "display": "Normal",
- "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
- }
- ]
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
}
]
},
@@ -738,6 +760,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -788,6 +833,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -838,6 +906,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -888,6 +979,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -938,6 +1052,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -988,6 +1125,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1038,6 +1198,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1088,10 +1271,33 @@
}
]
}
- ]
- },
- "request": {
- "method": "PUT",
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
"url": "Observation/612d5b88-0687-46f9-3ada-0fc9ba9b5fe0"
}
},
@@ -1138,6 +1344,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1188,6 +1417,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1238,6 +1490,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1288,6 +1563,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1338,6 +1636,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1387,6 +1708,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1436,6 +1780,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1485,6 +1852,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1534,6 +1924,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1583,6 +1996,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1632,6 +2068,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1672,6 +2131,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1712,6 +2194,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1752,6 +2257,29 @@
}
]
}
+ ],
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
]
},
"request": {
@@ -1759,6 +2287,338 @@
"url": "Observation/7cb9f3da-bf77-1317-12a2-d70c8577ca71"
}
},
+ {
+ "fullUrl": "urn:uuid:b0ecf708-4aeb-a32d-0074-a3ea5b591203",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "b0ecf708-4aeb-a32d-0074-a3ea5b591203",
+ "status": "active",
+ "intent": "filler-order",
+ "identifier": [
+ {
+ "value": "ORD666555",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "R-991133",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-Lab-Filler",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "GORD874233",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "57021-8",
+ "display": "CBC W Auto Differential panel in Blood",
+ "system": "http://loinc.org"
+ },
+ {
+ "code": "4456544",
+ "display": "CBC",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/99USI"
+ }
+ ],
+ "text": "CBC W Auto Differential panel in Blood"
+ },
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "requester": {
+ "reference": "PractitionerRole/3abddc6b-7cdf-a483-2997-914e226aa033"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b",
+ "identifier": [
+ {
+ "value": "57422",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NIST-AA-1",
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Radon",
+ "given": [
+ "Nicholas"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3abddc6b-7cdf-a483-2997-914e226aa033",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "3abddc6b-7cdf-a483-2997-914e226aa033",
+ "practitioner": {
+ "reference": "Practitioner/cdc6a323-66a4-19cb-ff4e-a5c9a5f5fd1b"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/3abddc6b-7cdf-a483-2997-914e226aa033"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:617a0645-a45a-07a5-77e4-f40de55f8c42",
+ "resource": {
+ "resourceType": "DiagnosticReport",
+ "id": "617a0645-a45a-07a5-77e4-f40de55f8c42",
+ "identifier": [
+ {
+ "value": "ORD666555",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "R-991133",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-Lab-Filler",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "GORD874233",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "effectiveDateTime": "2011-01-04T04:04:28+05:30",
+ "code": {
+ "coding": [
+ {
+ "code": "57021-8",
+ "display": "CBC W Auto Differential panel in Blood",
+ "system": "http://loinc.org"
+ },
+ {
+ "code": "4456544",
+ "display": "CBC",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/99USI"
+ }
+ ],
+ "text": "CBC W Auto Differential panel in Blood"
+ },
+ "issued": "2011-01-05T06:30:28+05:30",
+ "status": "final",
+ "subject": {
+ "reference": "Patient/397de93b-65e0-b3b6-7a79-d7869d57a8aa"
+ },
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/b0ecf708-4aeb-a32d-0074-a3ea5b591203"
+ }
+ ],
+ "specimen": [
+ {
+ "reference": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79"
+ }
+ ],
+ "result": [
+ {
+ "reference": "Observation/b9018883-1320-3dfb-e157-cb46bb7a6679"
+ },
+ {
+ "reference": "Observation/becb609f-f513-876c-973a-98f4a3e25295"
+ },
+ {
+ "reference": "Observation/418e1d5b-7cf8-4f97-2f20-064f064073bf"
+ },
+ {
+ "reference": "Observation/63ebf56e-13b3-032c-04f0-0b0ae2596154"
+ },
+ {
+ "reference": "Observation/2fecfbb4-8bfc-33df-cc06-46079a214417"
+ },
+ {
+ "reference": "Observation/d88298c6-5018-0e69-8bff-bb2e57479ede"
+ },
+ {
+ "reference": "Observation/4f08fab4-ea01-aeb4-20a3-50d7c4df2d1e"
+ },
+ {
+ "reference": "Observation/b1082ae5-5936-88dc-f6ab-906231b9c7f1"
+ },
+ {
+ "reference": "Observation/61c65289-d3f6-bd40-9fa1-33856ad2288f"
+ },
+ {
+ "reference": "Observation/69a93e5e-128e-1cd9-b510-a781f1af141a"
+ },
+ {
+ "reference": "Observation/95277a83-6195-ad8c-9492-f3489b45732b"
+ },
+ {
+ "reference": "Observation/4cd993fb-7522-ee9f-69de-3d12d06960a7"
+ },
+ {
+ "reference": "Observation/15122490-e5b2-954f-3960-d7c8f3f62632"
+ },
+ {
+ "reference": "Observation/612d5b88-0687-46f9-3ada-0fc9ba9b5fe0"
+ },
+ {
+ "reference": "Observation/0f40b9a3-8c63-ca5d-cc60-859cfa8a6660"
+ },
+ {
+ "reference": "Observation/d9a5816e-5c0e-15fe-cd9d-417f8abd7abb"
+ },
+ {
+ "reference": "Observation/db00b811-6280-5dad-bf61-07314b205438"
+ },
+ {
+ "reference": "Observation/0b77694d-87ce-5da4-90c4-4d451437d2d9"
+ },
+ {
+ "reference": "Observation/4c96bb15-0280-fea1-1715-e3f424cf55cc"
+ },
+ {
+ "reference": "Observation/19124803-ebc8-8a88-2acc-f5b890f8c5c5"
+ },
+ {
+ "reference": "Observation/6074e0a6-0ba6-b905-c957-13b2899a4dbe"
+ },
+ {
+ "reference": "Observation/700cce12-7f39-bbb0-94f3-689107732835"
+ },
+ {
+ "reference": "Observation/d198666f-2eae-1c28-ee17-d525a7a3ec85"
+ },
+ {
+ "reference": "Observation/db250a50-54ff-eacd-ef4f-8f05b79aecad"
+ },
+ {
+ "reference": "Observation/90c2203d-56d6-be20-2be4-9b879d3647a5"
+ },
+ {
+ "reference": "Observation/3260b2c2-a8f9-1a32-d09f-556192b37dcd"
+ },
+ {
+ "reference": "Observation/ff76c538-2861-d8cf-7fc6-418d7f0688ef"
+ },
+ {
+ "reference": "Observation/7cb9f3da-bf77-1317-12a2-d70c8577ca71"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DiagnosticReport/617a0645-a45a-07a5-77e4-f40de55f8c42"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:aa90eecf-8084-cda9-f937-6932c6bb4f79",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "aa90eecf-8084-cda9-f937-6932c6bb4f79",
+ "collection": {
+ "collectedDateTime": "2011-01-04T04:04:28+05:30"
+ },
+ "identifier": [
+ {
+ "value": "ORD666555",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-EHR",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "R-991133",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-NIST-Lab-Filler",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/aa90eecf-8084-cda9-f937-6932c6bb4f79"
+ }
+ },
{
"fullUrl": "urn:uuid:a1b19bd0-91c3-dbfa-4f1e-fdeb0eeb6963",
"resource": {
@@ -1772,7 +2632,7 @@
{
"code": "119297000",
"display": "BLD",
- "system": "http://snomed.info/sct"
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0487"
}
],
"text": "Blood"
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json
new file mode 100644
index 000000000..fade60740
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-01-expected.json
@@ -0,0 +1,2602 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2012-03-14T20:44:00+05:30",
+ "identifier": {
+ "value": "2.16.840.1.114222.4.3.3.5.1.2-20120314235954.325"
+ },
+ "id": "3294d4fe-4d33-61e3-310f-3078b6bb0264",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:bb2c62d5-a5ee-37cf-332d-bd928e8586f4",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "bb2c62d5-a5ee-37cf-332d-bd928e8586f4",
+ "source": {
+ "name": "IA PHIMS Stage",
+ "endpoint": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2",
+ "version": "2.4.3.52854",
+ "software": "Rhapsody"
+ },
+ "destination": [
+ {
+ "name": "IA.DOH.IDSS",
+ "endpoint": "urn:oid:2.16.840.1.114222.4.3.3.19",
+ "receiver": {
+ "reference": "Organization/6930f42d-f2d4-5b0d-9cf8-a2108c0a4811"
+ }
+ }
+ ],
+ "meta": {
+ "tag": [
+ {
+ "code": "T",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "R01",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "ORU^R01^ORU_R01"
+ },
+ "sender": {
+ "reference": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/bb2c62d5-a5ee-37cf-332d-bd928e8586f4"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b8e3786-de8b-c12f-345b-3c83fc1c4a0d",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "4b8e3786-de8b-c12f-345b-3c83fc1c4a0d",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:48:50.118Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.
"
+ },
+ "occurredDateTime": "2012-03-14T20:44:00+05:30",
+ "recorded": "2012-03-14T20:44:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ORU^R01^ORU_R01"
+ }
+ ]
+ },
+ "target": [
+ {
+ "reference": "Bundle/3294d4fe-4d33-61e3-310f-3078b6bb0264"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/4b8e3786-de8b-c12f-345b-3c83fc1c4a0d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:353c3718-dc57-7a15-8660-7aeed24b4f7e",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "353c3718-dc57-7a15-8660-7aeed24b4f7e",
+ "identifier": [
+ {
+ "value": "IA Public Health Lab",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-Public-Health-Lab"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.114222.4.1.10411",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/353c3718-dc57-7a15-8660-7aeed24b4f7e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6930f42d-f2d4-5b0d-9cf8-a2108c0a4811",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6930f42d-f2d4-5b0d-9cf8-a2108c0a4811",
+ "identifier": [
+ {
+ "value": "IA DOH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-DOH"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.114222.4.1.3650",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/6930f42d-f2d4-5b0d-9cf8-a2108c0a4811"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "resource": {
+ "resourceType": "Device",
+ "id": "4b549918-a84d-cdaf-e150-c773a5d306e5",
+ "manufacturer": "Orion Health",
+ "deviceName": [
+ {
+ "name": "Rhapsody",
+ "type": "manufacturer-name"
+ }
+ ],
+ "version": [
+ {
+ "value": "2.4.3.52854"
+ }
+ ],
+ "modelNumber": "2.4.3.52854"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/4b549918-a84d-cdaf-e150-c773a5d306e5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:389b3d01-dc6f-2c15-38c5-8c4e86a515c8",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "389b3d01-dc6f-2c15-38c5-8c4e86a515c8",
+ "identifier": [
+ {
+ "value": "14",
+ "type": {
+ "coding": [
+ {
+ "code": "PI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Patient internal identifier"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2",
+ "assigner": {
+ "reference": "Organization/5263bd4f-69ed-d465-3e10-e79f2010bf12"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Finn",
+ "given": [
+ "Huckleberry"
+ ],
+ "use": "official"
+ }
+ ],
+ "birthDate": "1963-08-15",
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "721 SPRING STREET"
+ ],
+ "city": "GRINNELL",
+ "state": "IA",
+ "postalCode": "50112",
+ "country": "USA",
+ "use": "home"
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus",
+ "version": "2.5.1"
+ }
+ ]
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238",
+ "version": "04/24/2007"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "1002-5",
+ "display": "American Indian or Alaska Native",
+ "system": "urn:oid:2.16.840.1.113883.6.238",
+ "version": "04/24/2007"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+American Indian or Alaska Native"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2135-2",
+ "display": "Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238",
+ "version": "2.5.1"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Hispanic or Latino"
+ }
+ ]
+ }
+ ],
+ "contact": [
+ {
+ "name": {
+ "family": "Doe",
+ "given": [
+ "Rosallie"
+ ]
+ },
+ "address": {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ },
+ "telecom": [
+ {
+ "value": "(608)271-9001",
+ "use": "work",
+ "system": "phone"
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Emergency Contact",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0131"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5263bd4f-69ed-d465-3e10-e79f2010bf12",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "5263bd4f-69ed-d465-3e10-e79f2010bf12",
+ "identifier": [
+ {
+ "value": "IA PHIMS Stage",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/5263bd4f-69ed-d465-3e10-e79f2010bf12"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2110f421-a2a2-e702-115a-490a55c8ce3f",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "2110f421-a2a2-e702-115a-490a55c8ce3f",
+ "identifier": [
+ {
+ "value": "1111",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERLt",
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "given": [
+ "Zafar",
+ "Mahen"
+ ],
+ "suffix": [
+ "JR",
+ "MD"
+ ],
+ "prefix": [
+ "Dr."
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/2110f421-a2a2-e702-115a-490a55c8ce3f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:505c291e-5ae6-8346-bfe0-2587065e410e",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "505c291e-5ae6-8346-bfe0-2587065e410e",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/2110f421-a2a2-e702-115a-490a55c8ce3f"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/505c291e-5ae6-8346-bfe0-2587065e410e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e2f9615a-8a86-7a34-07b8-e75842da37f0",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e2f9615a-8a86-7a34-07b8-e75842da37f0",
+ "name": "ABC Hospital",
+ "address": [
+ {
+ "line": [
+ "A city",
+ "Florida"
+ ],
+ "city": "VA",
+ "state": "22031",
+ "postalCode": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/e2f9615a-8a86-7a34-07b8-e75842da37f0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c4c46dc5-e54b-dccd-4e40-c3c13c4a537b",
+ "resource": {
+ "resourceType": "DiagnosticReport",
+ "id": "c4c46dc5-e54b-dccd-4e40-c3c13c4a537b",
+ "identifier": [
+ {
+ "value": "EI21obx1",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII"
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "FILL"
+ }
+ ]
+ }
+ }
+ ],
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "heartrate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "effectiveDateTime": "1999-07-02",
+ "status": "unknown",
+ "performer": [
+ {
+ "reference": "PractitionerRole/505c291e-5ae6-8346-bfe0-2587065e410e"
+ },
+ {
+ "reference": "Organization/e2f9615a-8a86-7a34-07b8-e75842da37f0"
+ }
+ ],
+ "presentedForm": [
+ {
+ "contentType": "image/pict",
+ "url": "https://testurl.com"
+ }
+ ],
+ "subject": {
+ "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DiagnosticReport/c4c46dc5-e54b-dccd-4e40-c3c13c4a537b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c9562bfa-117f-9b25-6657-9b7cff7e1674",
+ "resource": {
+ "resourceType": "DocumentReference",
+ "id": "c9562bfa-117f-9b25-6657-9b7cff7e1674",
+ "type": {
+ "coding": [
+ {
+ "code": "DIS"
+ }
+ ]
+ },
+ "context": {
+ "period": {
+ "start": "2010-11-10T21:33:00+05:30"
+ },
+ "related": [
+ {
+ "reference": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca"
+ }
+ ]
+ },
+ "content": [
+ {
+ "attachment": {
+ "creation": "2010-11-03T03:15:00+05:30",
+ "contentType": "image/jpeg"
+ }
+ }
+ ],
+ "meta": {
+ "lastUpdated": "2010-11-03T17:01:00+05:30"
+ },
+ "author": [
+ {
+ "reference": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534"
+ }
+ ],
+ "authenticator": {
+ "reference": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce"
+ },
+ "masterIdentifier": {
+ "value": "018840"
+ },
+ "identifier": [
+ {
+ "value": "54302-DEX",
+ "type": {
+ "coding": [
+ {
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifertype",
+ "code": "DOCI",
+ "display": "Document unique identifier"
+ }
+ ],
+ "text": "Document unique file name"
+ }
+ }
+ ],
+ "relatesTo": [
+ {
+ "code": "appends",
+ "target": {
+ "identifier": {
+ "value": "1307506",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-test"
+ }
+ }
+ }
+ ],
+ "docStatus": "preliminary",
+ "securityLabel": [
+ {
+ "coding": [
+ {
+ "code": "R",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
+ }
+ ]
+ }
+ ],
+ "status": "current",
+ "category": [
+ {
+ "coding": [
+ {
+ "code": "radiology report"
+ }
+ ]
+ }
+ ],
+ "description": "string ofCharacters"
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:947f0d75-9af8-89a8-95bd-ff52ff01c0ca",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "947f0d75-9af8-89a8-95bd-ff52ff01c0ca",
+ "identifier": [
+ {
+ "value": "John Smith"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/947f0d75-9af8-89a8-95bd-ff52ff01c0ca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a0aa5af5-861a-b4eb-7cdf-7e307438caac",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a0aa5af5-861a-b4eb-7cdf-7e307438caac",
+ "identifier": [
+ {
+ "value": "Chris Rock"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ad4f4bb2-0d02-6ca5-aa3b-ec7536350534",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "ad4f4bb2-0d02-6ca5-aa3b-ec7536350534",
+ "practitioner": {
+ "reference": "Practitioner/a0aa5af5-861a-b4eb-7cdf-7e307438caac"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/ad4f4bb2-0d02-6ca5-aa3b-ec7536350534"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d7921b9f-42a0-6e35-cc6e-ca15c5af36bb",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d7921b9f-42a0-6e35-cc6e-ca15c5af36bb",
+ "identifier": [
+ {
+ "value": "Emma Watson"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d584ea61-be76-cc13-dd34-14aacfeec6ce",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "d584ea61-be76-cc13-dd34-14aacfeec6ce",
+ "practitioner": {
+ "reference": "Practitioner/d7921b9f-42a0-6e35-cc6e-ca15c5af36bb"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/d584ea61-be76-cc13-dd34-14aacfeec6ce"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8877e882-e573-a85d-7172-b48e78842771",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "8877e882-e573-a85d-7172-b48e78842771",
+ "identifier": [
+ {
+ "value": "PAI-8.1",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "FAI-8.2",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "PUSI",
+ "display": "parent Identifier",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/AR"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "completed",
+ "intent": "filler-order",
+ "subject": {
+ "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/8877e882-e573-a85d-7172-b48e78842771"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e3f8a0a0-4237-82ce-d31d-1529c13ad523",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "e3f8a0a0-4237-82ce-d31d-1529c13ad523",
+ "status": "completed",
+ "intent": "filler-order",
+ "orderDetail": [
+ {
+ "coding": [
+ {
+ "code": "PSS-46",
+ "display": "Placer service",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "FSS-47",
+ "display": "Filler service",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "identifier": [
+ {
+ "value": "845439",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "986",
+ "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "PGN-04",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "APON-53",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "authoredOn": "2020-09-10T20:15:00+05:30",
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/8877e882-e573-a85d-7172-b48e78842771"
+ }
+ ],
+ "locationCode": [
+ {
+ "coding": [
+ {
+ "code": "BLB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0074"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "OF",
+ "display": "Outpatient facility",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "note": [
+ {
+ "text": "Placer 1",
+ "authorString": "Placer Field 1"
+ },
+ {
+ "text": "Placer 2",
+ "authorString": "Placer Field 2"
+ },
+ {
+ "text": "Filler 1",
+ "authorString": "Filler Field 1"
+ },
+ {
+ "text": "Filler 2",
+ "authorString": "Filler Field 2"
+ },
+ {
+ "text": "Enteric culture includes testing for Salmonella, Shigella, Campylobacter, Yersinia, E.coli O157:H7 & other STECs, and Aeromonas"
+ },
+ {
+ "text": "Allergy to peanuts observed.",
+ "time": "2020-10-10T19:15:00+05:30",
+ "authorReference": {
+ "reference": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a"
+ }
+ },
+ {
+ "text": "Please follow the text instructions"
+ }
+ ],
+ "priority": "asap",
+ "code": {
+ "coding": [
+ {
+ "code": "625-4",
+ "display": "Bacteria identified in Stool by Culture",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ",
+ "version": "2.33"
+ }
+ ],
+ "text": "Enteric Culture"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "444",
+ "display": "Reason for study",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L",
+ "version": "MD"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8"
+ },
+ "reasonReference": [
+ {
+ "reference": "DocumentReference/c9562bfa-117f-9b25-6657-9b7cff7e1674"
+ }
+ ],
+ "requester": {
+ "reference": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489"
+ }
+ ],
+ "asNeededCodeableConcept": {
+ "text": "This is condition text"
+ },
+ "quantityQuantity": {
+ "value": 54,
+ "unit": "lbs"
+ },
+ "occurrenceTiming": {
+ "code": {
+ "coding": [
+ {
+ "code": "ACM",
+ "display": "Before Breakfast",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL7xxx"
+ }
+ ]
+ },
+ "repeat": {
+ "period": 12,
+ "periodUnit": "min",
+ "when": [
+ "ACM"
+ ],
+ "offset": 2,
+ "boundsPeriod": {
+ "start": "2021-10-10T05:30:00+05:30",
+ "end": "2021-11-10T05:30:00+05:30"
+ },
+ "duration": 2,
+ "durationUnit": "h",
+ "count": 5
+ }
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/e3f8a0a0-4237-82ce-d31d-1529c13ad523"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:58e7269f-6c76-d387-8454-ff4b18a7fccd",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "58e7269f-6c76-d387-8454-ff4b18a7fccd",
+ "name": "MISSOURI DEPARTMENT OF HEALTH LABORATORY - MISSOURI DEPARTMENT OF HEALTH LABORATORY",
+ "address": [
+ {
+ "line": [
+ "307 W MCCARTY ST"
+ ],
+ "city": "JEFFERSON CITY",
+ "state": "MO",
+ "postalCode": "65101",
+ "country": "USA",
+ "use": "work"
+ }
+ ],
+ "contact": [
+ {
+ "telecom": [
+ {
+ "use": "work",
+ "system": "phone"
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:beeb9a6e-29ec-7926-4f50-287c7ce3a1f5",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "beeb9a6e-29ec-7926-4f50-287c7ce3a1f5",
+ "organization": {
+ "reference": "Organization/58e7269f-6c76-d387-8454-ff4b18a7fccd"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/beeb9a6e-29ec-7926-4f50-287c7ce3a1f5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a",
+ "identifier": [
+ {
+ "value": "9941339108",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6c9ea0f5-1b45-04f9-e07d-bae5096b7a4a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb",
+ "identifier": [
+ {
+ "value": "Harry"
+ }
+ ],
+ "name": [
+ {
+ "family": "Raud",
+ "given": [
+ "Geny"
+ ],
+ "suffix": [
+ "Mr."
+ ],
+ "prefix": [
+ "Dr."
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8182cb21-0236-09c6-937c-c04615216e29",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "8182cb21-0236-09c6-937c-c04615216e29",
+ "location": [
+ {
+ "reference": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/dbcb1b2a-6b6c-3b26-2bd9-20dde24f9cdb"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/8182cb21-0236-09c6-937c-c04615216e29"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f120dcaf-8a79-00e0-4045-9383d82935b6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f120dcaf-8a79-00e0-4045-9383d82935b6",
+ "partOf": {
+ "reference": "Location/f7028223-0ee3-7152-e027-07bb5b0224ac"
+ },
+ "name": "Poc-32",
+ "mode": "instance",
+ "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2732e881-cd1e-fe71-a03e-521f112a1e7d",
+ "resource": {
+ "resourceType": "Location",
+ "id": "2732e881-cd1e-fe71-a03e-521f112a1e7d",
+ "partOf": {
+ "reference": "Location/f120dcaf-8a79-00e0-4045-9383d82935b6"
+ },
+ "name": "Room-4",
+ "mode": "instance",
+ "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/2732e881-cd1e-fe71-a03e-521f112a1e7d"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:faa87bc6-7206-7406-fe54-24bab9877eb3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "faa87bc6-7206-7406-fe54-24bab9877eb3",
+ "partOf": {
+ "reference": "Location/2732e881-cd1e-fe71-a03e-521f112a1e7d"
+ },
+ "name": "Bed3",
+ "mode": "instance",
+ "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/faa87bc6-7206-7406-fe54-24bab9877eb3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:739b2979-f712-b0f4-daad-acefae9b4feb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "739b2979-f712-b0f4-daad-acefae9b4feb",
+ "name": "Facility-3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.2",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/739b2979-f712-b0f4-daad-acefae9b4feb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8f787230-6d25-6e0e-db3d-96fd13a2d66c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "8f787230-6d25-6e0e-db3d-96fd13a2d66c",
+ "partOf": {
+ "reference": "Location/739b2979-f712-b0f4-daad-acefae9b4feb"
+ },
+ "name": "Building-4",
+ "mode": "instance",
+ "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/8f787230-6d25-6e0e-db3d-96fd13a2d66c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f7028223-0ee3-7152-e027-07bb5b0224ac",
+ "resource": {
+ "resourceType": "Location",
+ "id": "f7028223-0ee3-7152-e027-07bb5b0224ac",
+ "partOf": {
+ "reference": "Location/8f787230-6d25-6e0e-db3d-96fd13a2d66c"
+ },
+ "name": "FL-2",
+ "mode": "instance",
+ "description": "Harry--Raud--Geny--Mr.--Dr.--Poc-32--Room-4--Bed3--Facility-3--1.2--ISO--Building-4--FL-2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/f7028223-0ee3-7152-e027-07bb5b0224ac"
+ }
+ },
+ {
+ "resource": {
+ "resourceType": "DiagnosticReport",
+ "id": "3c202c0c-e3eb-2262-23c1-e1f328a0bbe4",
+ "resultsInterpreter": [
+ {
+ "reference": "PractitionerRole/8182cb21-0236-09c6-937c-c04615216e29"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "845439",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "986",
+ "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "PGN-04",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "effectiveDateTime": "2002-02-15T10:45:00+05:30",
+ "code": {
+ "coding": [
+ {
+ "code": "625-4",
+ "display": "Bacteria identified in Stool by Culture",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ",
+ "version": "2.33"
+ }
+ ],
+ "text": "Enteric Culture"
+ },
+ "issued": "2002-03-15T10:45:00+05:30",
+ "category": [
+ {
+ "coding": [
+ {
+ "code": "BLB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0074"
+ }
+ ]
+ }
+ ],
+ "status": "final",
+ "performer": [
+ {
+ "reference": "PractitionerRole/6f4104a9-6928-bcaf-7719-2fb47f0c2df5"
+ },
+ {
+ "reference": "PractitionerRole/f035eb01-dd52-98c8-42f4-08d3a63e5aa2"
+ }
+ ],
+ "subject": {
+ "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8"
+ },
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/e3f8a0a0-4237-82ce-d31d-1529c13ad523"
+ }
+ ],
+ "specimen": [
+ {
+ "reference": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489"
+ }
+ ],
+ "result": [
+ {
+ "reference": "Observation/700b7d4e-2516-cae2-2f83-a0a85eab1025"
+ }
+ ]
+ },
+ "fullUrl": "urn:uuid:3c202c0c-e3eb-2262-23c1-e1f328a0bbe4",
+ "request": {
+ "method": "PUT",
+ "url": "DiagnosticReport/3c202c0c-e3eb-2262-23c1-e1f328a0bbe4"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8c441677-2d13-b04b-260c-45f02d79bc0e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "8c441677-2d13-b04b-260c-45f02d79bc0e",
+ "identifier": [
+ {
+ "value": "Richa"
+ }
+ ],
+ "name": [
+ {
+ "suffix": [
+ "Mr."
+ ],
+ "prefix": [
+ "Md."
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/8c441677-2d13-b04b-260c-45f02d79bc0e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f4104a9-6928-bcaf-7719-2fb47f0c2df5",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "6f4104a9-6928-bcaf-7719-2fb47f0c2df5",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "TECH"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/8c441677-2d13-b04b-260c-45f02d79bc0e"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/6f4104a9-6928-bcaf-7719-2fb47f0c2df5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:59b00d6f-7e90-a8a3-eec1-19d7f88514ea",
+ "resource": {
+ "resourceType": "Location",
+ "id": "59b00d6f-7e90-a8a3-eec1-19d7f88514ea",
+ "partOf": {
+ "reference": "Location/419f9823-93d6-9783-fc89-e37418b9f4cb"
+ },
+ "name": "Poc-34",
+ "mode": "instance",
+ "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c5fb4a94-3953-175e-8c5f-af620ce4dab3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c5fb4a94-3953-175e-8c5f-af620ce4dab3",
+ "partOf": {
+ "reference": "Location/59b00d6f-7e90-a8a3-eec1-19d7f88514ea"
+ },
+ "name": "Rm-4",
+ "mode": "instance",
+ "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c5fb4a94-3953-175e-8c5f-af620ce4dab3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb",
+ "partOf": {
+ "reference": "Location/c5fb4a94-3953-175e-8c5f-af620ce4dab3"
+ },
+ "name": "Bed2",
+ "mode": "instance",
+ "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bd"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/a66a65b5-fb3e-d5cc-deaa-2c7dd809fedb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6bfb18a9-f219-312a-ee80-9e291ef76221",
+ "resource": {
+ "resourceType": "Location",
+ "id": "6bfb18a9-f219-312a-ee80-9e291ef76221",
+ "name": "Facility-4",
+ "identifier": [
+ {
+ "value": "urn:oid:1.22",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/6bfb18a9-f219-312a-ee80-9e291ef76221"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d82ce59-bb51-650a-f3fa-c6497491502f",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d82ce59-bb51-650a-f3fa-c6497491502f",
+ "partOf": {
+ "reference": "Location/6bfb18a9-f219-312a-ee80-9e291ef76221"
+ },
+ "name": "Building-3",
+ "mode": "instance",
+ "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d82ce59-bb51-650a-f3fa-c6497491502f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:419f9823-93d6-9783-fc89-e37418b9f4cb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "419f9823-93d6-9783-fc89-e37418b9f4cb",
+ "partOf": {
+ "reference": "Location/0d82ce59-bb51-650a-f3fa-c6497491502f"
+ },
+ "name": "FL-3",
+ "mode": "instance",
+ "description": "Richa--Mr.--Md.--Poc-34--Rm-4--Bed2--Facility-4--1.22--ISO--Building-3--FL-3",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/419f9823-93d6-9783-fc89-e37418b9f4cb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c6073275-8b6b-8315-211c-f96e9700b6ae",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "c6073275-8b6b-8315-211c-f96e9700b6ae",
+ "identifier": [
+ {
+ "value": "35"
+ }
+ ],
+ "name": [
+ {
+ "family": "Samuel"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/c6073275-8b6b-8315-211c-f96e9700b6ae"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f035eb01-dd52-98c8-42f4-08d3a63e5aa2",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f035eb01-dd52-98c8-42f4-08d3a63e5aa2",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "TRANS"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2002-11-11",
+ "end": "2002-11-12"
+ },
+ "location": [
+ {
+ "reference": "Location/ce40a46d-eaed-b5a4-ef6e-463cae637157"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/c6073275-8b6b-8315-211c-f96e9700b6ae"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f035eb01-dd52-98c8-42f4-08d3a63e5aa2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ce40a46d-eaed-b5a4-ef6e-463cae637157",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ce40a46d-eaed-b5a4-ef6e-463cae637157",
+ "name": "Area23",
+ "mode": "instance",
+ "description": "35--Samuel--20021111--20021112--Area23",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ce40a46d-eaed-b5a4-ef6e-463cae637157"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:95c9f253-3bac-cf73-202b-907e4e997489",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "95c9f253-3bac-cf73-202b-907e4e997489",
+ "collection": {
+ "quantity": {
+ "value": 150,
+ "unit": "lb"
+ },
+ "collector": {
+ "reference": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BN",
+ "display": "223.3",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ "method": {
+ "text": "Collection Method"
+ },
+ "collectedDateTime": "2002-02-15T10:45:00+05:30"
+ },
+ "receivedTime": "2002-02-12T10:45:00+05:30",
+ "identifier": [
+ {
+ "value": "845439",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "986",
+ "system": "urn:oid:2.16.840.1.114222.4.3.3.5.1.2",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "APON-53",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "coding": [
+ {
+ "code": "SP15",
+ "display": "1.2",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ "container": [
+ {
+ "additiveCodeableConcept": {
+ "coding": [
+ {
+ "code": "ACDA"
+ }
+ ]
+ }
+ }
+ ],
+ "note": [
+ {
+ "text": "Collector's comment"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/95c9f253-3bac-cf73-202b-907e4e997489"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ae62dffe-1a0f-c68b-e7a3-e33cfce7761e",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ae62dffe-1a0f-c68b-e7a3-e33cfce7761e",
+ "identifier": [
+ {
+ "value": "10535",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-L",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "display": "Medical record number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "van Beethoven",
+ "given": [
+ "Ludwig",
+ "A"
+ ],
+ "suffix": [
+ "III",
+ "PHD"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1",
+ "practitioner": {
+ "reference": "Practitioner/ae62dffe-1a0f-c68b-e7a3-e33cfce7761e"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/9f64bd3b-d5e9-678b-2f14-b0d756a4e7f1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "identifier": [
+ {
+ "value": "PERSt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "identifier": [
+ {
+ "value": "1134",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Aly",
+ "given": [
+ "Zafar",
+ "Mahendra"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "resource": {
+ "resourceType": "Device",
+ "id": "fe0adb86-ebe9-6479-0055-9db8dc1ff99a",
+ "identifier": [
+ {
+ "value": "EI12.3",
+ "system": "urn:uuid:UI2",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ },
+ {
+ "system": "urn:oid:UI1",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "45f65e47-46c4-1a54-f9fb-1321258e79b2",
+ "identifier": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "MD-25"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "LabMedicalDirector",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/45f65e47-46c4-1a54-f9fb-1321258e79b2"
+ },
+ "organization": {
+ "reference": "Organization/08c155be-912e-af06-d464-5b6bb63d660f"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:08c155be-912e-af06-d464-5b6bb63d660f",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "08c155be-912e-af06-d464-5b6bb63d660f",
+ "name": "State Hygienic Laboratory",
+ "identifier": [
+ {
+ "value": "16D0648109",
+ "type": {
+ "coding": [
+ {
+ "code": "FI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "address": [
+ {
+ "line": [
+ "State Hygienic Laboratory",
+ "UI Research Park -Coralville"
+ ],
+ "city": "Iowa City",
+ "state": "IA",
+ "postalCode": "52242-5002",
+ "country": "USA",
+ "use": "work"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/08c155be-912e-af06-d464-5b6bb63d660f"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:700b7d4e-2516-cae2-2f83-a0a85eab1025",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "700b7d4e-2516-cae2-2f83-a0a85eab1025",
+ "identifier": [
+ {
+ "value": "EI21",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-OII"
+ },
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "FILL"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "preliminary",
+ "code": {
+ "coding": [
+ {
+ "code": "625-4",
+ "display": "Bacteria identified in Stool by Culture",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "27268008",
+ "display": "Salmonella",
+ "system": "http://snomed.info/sct",
+ "version": "20090731"
+ }
+ ],
+ "text": "Salmonella species"
+ },
+ "referenceRange": [
+ {
+ "text": "70-80"
+ }
+ ],
+ "effectiveDateTime": "2012-03-01",
+ "method": {
+ "text": "Bacterial Culture"
+ },
+ "device": {
+ "reference": "Device/fe0adb86-ebe9-6479-0055-9db8dc1ff99a"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BU",
+ "display": "Observation site",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/E5"
+ }
+ ]
+ },
+ "performer": [
+ {
+ "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ },
+ {
+ "reference": "PractitionerRole/090ea2e4-0a3a-eb7f-8f9f-16dd7d13f7f3"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "A",
+ "display": "Abnormal",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
+ "version": "2.5"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8"
+ },
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/e3f8a0a0-4237-82ce-d31d-1529c13ad523"
+ }
+ ],
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "P",
+ "display": "Preliminary",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Preliminary"
+ }
+ }
+ ],
+ "note": [
+ {
+ "text": "Submission of serum",
+ "time": "2020-10-10T19:15:00+05:30",
+ "authorReference": {
+ "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "text": "No Antibodies Detected",
+ "time": "2020-10-10T18:15:00+05:30",
+ "authorReference": {
+ "reference": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/700b7d4e-2516-cae2-2f83-a0a85eab1025"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2",
+ "identifier": [
+ {
+ "value": "MLEE"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ],
+ "suffix": [
+ "MD"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ca6d10cc-e8a7-9d21-bd61-ec6d1db557c2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ea6d5bd5-5c2e-227c-c792-f3f8eb46691b",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "ea6d5bd5-5c2e-227c-c792-f3f8eb46691b",
+ "collection": {
+ "quantity": {
+ "value": 40,
+ "unit": "lbs"
+ },
+ "bodySite": {
+ "coding": [
+ {
+ "code": "BAP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HL70488"
+ }
+ ],
+ "text": "Specimen source site"
+ },
+ "method": {
+ "coding": [
+ {
+ "code": "BCAE",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0488"
+ }
+ ]
+ },
+ "collectedPeriod": {
+ "start": "2011-01-04T04:04:28+05:30",
+ "end": "2011-11-04T04:04:28+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "AMB",
+ "display": "Ambient Temperature",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0376"
+ },
+ {
+ "code": "DRY",
+ "display": "dry",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0376"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "receivedTime": "2012-03-01",
+ "identifier": [
+ {
+ "value": "2012545",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "2012999999",
+ "type": {
+ "coding": [
+ {
+ "code": "FGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "OSI-31",
+ "type": {
+ "coding": [
+ {
+ "code": "PI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Patient internal identifier"
+ }
+ ]
+ },
+ "system": "urn:uuid:2.16.840.1.114222",
+ "assigner": {
+ "reference": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca"
+ }
+ },
+ {
+ "value": "ShipID-32",
+ "system": "urn:oid:SID-32",
+ "type": {
+ "coding": [
+ {
+ "code": "SHIP",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-identifierType"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "coding": [
+ {
+ "code": "ASERU",
+ "display": "Serum",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0487"
+ },
+ {
+ "code": "FUR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0487"
+ }
+ ],
+ "text": "Blood"
+ },
+ "container": [
+ {
+ "additiveCodeableConcept": {
+ "coding": [
+ {
+ "code": "STUTM",
+ "display": "Stuart transport medium",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0371",
+ "version": "20"
+ },
+ {
+ "code": "PHENOL",
+ "display": "Stool",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0371"
+ }
+ ]
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "T-container",
+ "display": "ContainerType",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/ABC"
+ }
+ ]
+ }
+ }
+ ],
+ "status": "available",
+ "condition": [
+ {
+ "coding": [
+ {
+ "code": "AUT",
+ "display": "Autolyzed",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0493"
+ },
+ {
+ "code": "CLOT",
+ "display": "CLOT",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0493"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "HEM",
+ "display": "HEM",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0493"
+ }
+ ]
+ }
+ ],
+ "accessionIdentifier": {
+ "value": "AI-30",
+ "type": {
+ "coding": [
+ {
+ "code": "PI",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Patient internal identifier"
+ }
+ ]
+ },
+ "system": "urn:oid:2.16.840.1.114222",
+ "assigner": {
+ "reference": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96"
+ }
+ },
+ "note": [
+ {
+ "text": "This is a specimen resource"
+ }
+ ],
+ "parent": [
+ {
+ "reference": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/ea6d5bd5-5c2e-227c-c792-f3f8eb46691b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0755f744-dafd-776b-bff7-2d023e54406e",
+ "resource": {
+ "resourceType": "Specimen",
+ "id": "0755f744-dafd-776b-bff7-2d023e54406e",
+ "identifier": [
+ {
+ "value": "PAI12",
+ "type": {
+ "coding": [
+ {
+ "code": "PGN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Specimen/0755f744-dafd-776b-bff7-2d023e54406e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f210e7e3-f1e7-297a-9d54-9db2d312cb96",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f210e7e3-f1e7-297a-9d54-9db2d312cb96",
+ "identifier": [
+ {
+ "value": "IA PHIMS Stage",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IA-PHIMS-Stage"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.114222",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f210e7e3-f1e7-297a-9d54-9db2d312cb96"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:322ca8cf-e43e-973c-3149-9e499675ddca",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "322ca8cf-e43e-973c-3149-9e499675ddca",
+ "identifier": [
+ {
+ "value": "IPHIMS Stage",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-IPHIMS-Stage"
+ },
+ {
+ "value": "urn:uuid:2.16.840.1.114222",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "GUID",
+ "display": "Same as UUID.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/322ca8cf-e43e-973c-3149-9e499675ddca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:257786a3-0c2e-44c7-69ea-3456e7152e68",
+ "resource": {
+ "resourceType": "DiagnosticReport",
+ "id": "257786a3-0c2e-44c7-69ea-3456e7152e68",
+ "code": {
+ "coding": [
+ {
+ "code": "1063-7",
+ "display": "Serum or Plasma",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/XYZ",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "status": "unknown",
+ "presentedForm": [
+ {
+ "contentType": "image/pict",
+ "url": "https://testurl.com"
+ }
+ ],
+ "subject": {
+ "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/ea6d5bd5-5c2e-227c-c792-f3f8eb46691b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "DiagnosticReport/257786a3-0c2e-44c7-69ea-3456e7152e68"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d7eed34-b8fe-1a79-d3da-092a4d5f8775",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "9d7eed34-b8fe-1a79-d3da-092a4d5f8775",
+ "status": "unknown",
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "Bacteria identified",
+ "system": "http://loinc.org",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "component": [
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "Bacteria identified",
+ "system": "http://loinc.org",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "valueQuantity": {
+ "value": 27
+ }
+ },
+ {
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "Bacteria identified",
+ "system": "http://loinc.org",
+ "version": "2.33"
+ }
+ ],
+ "text": "result1"
+ },
+ "valueQuantity": {
+ "value": 25
+ }
+ }
+ ],
+ "subject": {
+ "reference": "Patient/389b3d01-dc6f-2c15-38c5-8c4e86a515c8"
+ },
+ "specimen": {
+ "reference": "Specimen/ea6d5bd5-5c2e-227c-c792-f3f8eb46691b"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "I",
+ "display": "In Process",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "In Process"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/9d7eed34-b8fe-1a79-d3da-092a4d5f8775"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json
index 84516178e..b38b0f206 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/ORU_R01/ORU-R01-RMGEAD-expected.json
@@ -5,6 +5,7 @@
"identifier": {
"value": "CNTRL-3456"
},
+ "id": "f4c2fce1-9221-9f62-2d08-4a865f73b29c",
"entry": [
{
"fullUrl": "urn:uuid:59137ac2-b595-49c0-863e-df25b62bf2cd",
@@ -60,6 +61,84 @@
"url": "MessageHeader/59137ac2-b595-49c0-863e-df25b62bf2cd"
}
},
+ {
+ "fullUrl": "urn:uuid:1af3c547-cdab-c300-08bf-cc3836b6381a",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "1af3c547-cdab-c300-08bf-cc3836b6381a",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:50:13.765Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.
"
+ },
+ "occurredDateTime": "2002-02-15T09:30:00",
+ "recorded": "2002-02-15T09:30:00",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/6ab73577-5e9f-5084-a3aa-5402773d5fbd"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "ORU^R01^"
+ }
+ ]
+ },
+ "target": [
+ {
+ "reference": "Bundle/f4c2fce1-9221-9f62-2d08-4a865f73b29c"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/1af3c547-cdab-c300-08bf-cc3836b6381a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6ab73577-5e9f-5084-a3aa-5402773d5fbd",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "6ab73577-5e9f-5084-a3aa-5402773d5fbd",
+ "identifier": [
+ {
+ "value": "ELAB-3",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-ELAB-3"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/6ab73577-5e9f-5084-a3aa-5402773d5fbd"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fe717593-882d-d154-271e-e93d5b114a0d",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "fe717593-882d-d154-271e-e93d5b114a0d",
+ "identifier": [
+ {
+ "value": "BLDG4",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-BLDG4"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/fe717593-882d-d154-271e-e93d5b114a0d"
+ }
+ },
{
"fullUrl": "urn:uuid:92bee074-a5c5-3c79-1905-2ed380528150",
"resource": {
@@ -129,131 +208,231 @@
}
},
{
- "fullUrl": "urn:uuid:",
+ "fullUrl": "urn:uuid:4af7a7fb-e594-e5b3-43b9-969188e0c692",
"resource": {
- "resourceType": "Practitioner"
+ "resourceType": "Account",
+ "id": "4af7a7fb-e594-e5b3-43b9-969188e0c692",
+ "identifier": [
+ {
+ "value": "AC555444444"
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/92bee074-a5c5-3c79-1905-2ed380528150"
+ }
+ ]
},
"request": {
"method": "PUT",
- "url": "Practitioner/"
+ "url": "Account/4af7a7fb-e594-e5b3-43b9-969188e0c692"
}
},
{
- "fullUrl": "urn:uuid:",
+ "fullUrl": "urn:uuid:209c8566-dafa-22b6-31f6-e4c00e649c61",
"resource": {
- "resourceType": "Location"
+ "resourceType": "Observation",
+ "id": "209c8566-dafa-22b6-31f6-e4c00e649c61",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "1554-5",
+ "display": "GLUCOSE",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/POST-12H-CFST:MCNC:PT:SER/PLAS:QN"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 182,
+ "unit": "mg/dl"
+ },
+ "referenceRange": [
+ {
+ "text": "70_105"
+ }
+ ],
+ "interpretation": [
+ {
+ "coding": [
+ {
+ "code": "H",
+ "display": "High",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/92bee074-a5c5-3c79-1905-2ed380528150"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/0cb8d4a6-2451-4d5c-b48f-1f7ca62b5369"
+ }
+ ]
},
"request": {
"method": "PUT",
- "url": "Location/"
+ "url": "Observation/209c8566-dafa-22b6-31f6-e4c00e649c61"
}
},
{
- "fullUrl": "urn:uuid:98cfa049-8565-6edd-d53e-b98ee8bcf59d",
+ "fullUrl": "urn:uuid:0cb8d4a6-2451-4d5c-b48f-1f7ca62b5369",
"resource": {
- "resourceType": "Provenance",
- "id": "98cfa049-8565-6edd-d53e-b98ee8bcf59d",
- "text": {
- "status": "generated",
- "div": "Resource bundle generated on 2021-10-07T13:59:56.336Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: ORU_R01.
"
- },
- "occurredDateTime": "2002-02-15T09:30:00",
- "recorded": "2002-02-15T09:30:00",
- "agent": [
+ "resourceType": "ServiceRequest",
+ "id": "0cb8d4a6-2451-4d5c-b48f-1f7ca62b5369",
+ "status": "active",
+ "intent": "filler-order",
+ "identifier": [
{
+ "value": "845439",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE",
"type": {
"coding": [
{
- "code": "author",
- "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "1045813",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-LAB",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
}
]
- },
- "who": {
- "reference": "Organization/6ab73577-5e9f-5084-a3aa-5402773d5fbd"
}
}
],
- "activity": {
+ "code": {
"coding": [
{
- "display": "ORU^R01^"
+ "code": "15545",
+ "display": "GLUCOSE"
}
]
},
- "target": [
+ "reasonCode": [
{
- "reference": "Bundle/"
+ "coding": [
+ {
+ "code": "444-44-4444",
+ "display": "HIPPOCRATES",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/HOWARD-H",
+ "version": "MD"
+ }
+ ]
+ }
+ ],
+ "subject": {
+ "reference": "Patient/92bee074-a5c5-3c79-1905-2ed380528150"
+ },
+ "requester": {
+ "reference": "PractitionerRole/4fe9acb3-89ca-75f6-471d-59fdad148a9d"
+ },
+ "specimen": [
+ {
+ "reference": "Specimen/03cf7725-1dd2-d3e3-65da-f7aa7b36e632"
}
]
},
"request": {
"method": "PUT",
- "url": "Provenance/98cfa049-8565-6edd-d53e-b98ee8bcf59d"
+ "url": "ServiceRequest/0cb8d4a6-2451-4d5c-b48f-1f7ca62b5369"
}
},
{
- "fullUrl": "urn:uuid:4af7a7fb-e594-e5b3-43b9-969188e0c692",
+ "fullUrl": "urn:uuid:cb12815d-2663-5dcf-5f10-0f9e57083be1",
"resource": {
- "resourceType": "Account",
- "id": "4af7a7fb-e594-e5b3-43b9-969188e0c692",
+ "resourceType": "Practitioner",
+ "id": "cb12815d-2663-5dcf-5f10-0f9e57083be1",
"identifier": [
{
- "value": "AC555444444"
+ "value": "555-55-5555"
}
],
- "status": "active",
- "subject": [
+ "name": [
{
- "reference": "Patient/92bee074-a5c5-3c79-1905-2ed380528150"
+ "family": "PRIMARY",
+ "given": [
+ "PATRICIA P"
+ ],
+ "suffix": [
+ "MD"
+ ]
}
]
},
"request": {
"method": "PUT",
- "url": "Account/4af7a7fb-e594-e5b3-43b9-969188e0c692"
+ "url": "Practitioner/cb12815d-2663-5dcf-5f10-0f9e57083be1"
}
},
{
- "fullUrl": "urn:uuid:",
+ "fullUrl": "urn:uuid:4fe9acb3-89ca-75f6-471d-59fdad148a9d",
"resource": {
- "resourceType": "Encounter",
- "text": {
- "status": "generated",
- "div": ""
- },
- "subject": {
- "reference": "Patient/92bee074-a5c5-3c79-1905-2ed380528150"
+ "resourceType": "PractitionerRole",
+ "id": "4fe9acb3-89ca-75f6-471d-59fdad148a9d",
+ "practitioner": {
+ "reference": "Practitioner/cb12815d-2663-5dcf-5f10-0f9e57083be1"
}
},
"request": {
"method": "PUT",
- "url": "Encounter/"
+ "url": "PractitionerRole/4fe9acb3-89ca-75f6-471d-59fdad148a9d"
}
},
{
- "fullUrl": "urn:uuid:0ca81c8f-6cb0-10b0-91e8-7528b98f5691",
+ "fullUrl": "urn:uuid:3c202c0c-e3eb-2262-23c1-e1f328a0bbe4",
"resource": {
"resourceType": "DiagnosticReport",
- "id": "0ca81c8f-6cb0-10b0-91e8-7528b98f5691",
+ "id": "3c202c0c-e3eb-2262-23c1-e1f328a0bbe4",
"identifier": [
{
+ "value": "845439",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE",
"type": {
"coding": [
{
- "code": "FILL",
+ "code": "PLAC",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203"
}
]
}
},
- {
- "value": "845439",
- "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH OE"
- },
{
"value": "1045813",
- "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH LAB"
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-LAB",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
}
],
"effectiveDateTime": "2002-02-15T07:30:00",
@@ -266,6 +445,19 @@
]
},
"status": "final",
+ "subject": {
+ "reference": "Patient/92bee074-a5c5-3c79-1905-2ed380528150"
+ },
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/0cb8d4a6-2451-4d5c-b48f-1f7ca62b5369"
+ }
+ ],
+ "specimen": [
+ {
+ "reference": "Specimen/03cf7725-1dd2-d3e3-65da-f7aa7b36e632"
+ }
+ ],
"result": [
{
"reference": "Observation/209c8566-dafa-22b6-31f6-e4c00e649c61"
@@ -274,48 +466,47 @@
},
"request": {
"method": "PUT",
- "url": "DiagnosticReport/0ca81c8f-6cb0-10b0-91e8-7528b98f5691"
+ "url": "DiagnosticReport/3c202c0c-e3eb-2262-23c1-e1f328a0bbe4"
}
},
{
- "fullUrl": "urn:uuid:209c8566-dafa-22b6-31f6-e4c00e649c61",
+ "fullUrl": "urn:uuid:03cf7725-1dd2-d3e3-65da-f7aa7b36e632",
"resource": {
- "resourceType": "Observation",
- "id": "209c8566-dafa-22b6-31f6-e4c00e649c61",
- "status": "final",
- "code": {
- "coding": [
- {
- "code": "1554-5",
- "display": "GLUCOSE",
- "system": "http://example.com/v2-to-fhir-converter/CodeSystem/POST 12H CFST:MCNC:PT:SER/PLAS:QN"
- }
- ]
- },
- "valueQuantity": {
- "value": 182,
- "unit": "mg/dl"
+ "resourceType": "Specimen",
+ "id": "03cf7725-1dd2-d3e3-65da-f7aa7b36e632",
+ "collection": {
+ "collectedDateTime": "2002-02-15T07:30:00"
},
- "referenceRange": [
+ "identifier": [
{
- "text": "70_105"
- }
- ],
- "interpretation": [
+ "value": "845439",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-OE",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
{
- "coding": [
- {
- "code": "H",
- "display": "High",
- "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
- }
- ]
+ "value": "1045813",
+ "system": "http://example.com/v2-to-fhir-converter/local-entity-identifier-GHH-LAB",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
}
]
},
"request": {
"method": "PUT",
- "url": "Observation/209c8566-dafa-22b6-31f6-e4c00e649c61"
+ "url": "Specimen/03cf7725-1dd2-d3e3-65da-f7aa7b36e632"
}
}
]
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json
new file mode 100644
index 000000000..006c08e55
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-01-expected.json
@@ -0,0 +1,2077 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-09-14T14:35:00+05:30",
+ "identifier": {
+ "value": "MSG00012"
+ },
+ "id": "40a1916e-f6ff-36b1-dc5f-f94ad8ccb715",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:84fede5c-45a5-87f6-e613-122c708147b1",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "84fede5c-45a5-87f6-e613-122c708147b1",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S12",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S12^SIU_S12"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/84fede5c-45a5-87f6-e613-122c708147b1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:39:05.598Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.
"
+ },
+ "occurredDateTime": "2021-09-14T14:35:00+05:30",
+ "recorded": "2021-09-14T14:35:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S12^SIU_S12"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/40a1916e-f6ff-36b1-dc5f-f94ad8ccb715"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "EMERGENCY",
+ "display": "Emergency appointment",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-09-24T12:45:00+05:30",
+ "end": "2021-09-24T13:35:00+05:30",
+ "minutesDuration": 1,
+ "status": "booked",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "comment": "Appointment booked for emergency procedure",
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "101",
+ "display": "Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "010",
+ "display": "Gastroenterologist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "accepted"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d00df304-17fa-8d9a-bd02-3276b1781ea1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "d00df304-17fa-8d9a-bd02-3276b1781ea1",
+ "identifier": [
+ {
+ "value": "0210"
+ }
+ ],
+ "name": [
+ {
+ "family": "ATTEND",
+ "given": [
+ "AARON",
+ "A"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9",
+ "identifier": [
+ {
+ "value": "0310"
+ }
+ ],
+ "name": [
+ {
+ "family": "REFER",
+ "given": [
+ "LINDA",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6c138e7c-e841-af07-8948-d01692bd2739",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6c138e7c-e841-af07-8948-d01692bd2739",
+ "identifier": [
+ {
+ "value": "03410"
+ }
+ ],
+ "name": [
+ {
+ "family": "ADMIT",
+ "given": [
+ "LINDA",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "name": "055",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "alias": [
+ "Location ready and disinfected before procedure"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ee586d80-706a-5933-8500-a8026c48fb27",
+ "partOf": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "name": "Room01",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "alias": [
+ "Location ready and disinfected before procedure"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "name": "GH Clinic",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "alias": [
+ "Location ready and disinfected before procedure"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:919b83dc-2853-4a8d-c96a-bdecb51f1fcc",
+ "resource": {
+ "resourceType": "Location",
+ "id": "919b83dc-2853-4a8d-c96a-bdecb51f1fcc",
+ "name": "GENOPD",
+ "mode": "instance",
+ "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/919b83dc-2853-4a8d-c96a-bdecb51f1fcc"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "resource": {
+ "resourceType": "Location",
+ "id": "c7f1b9ec-ffd8-321e-ad87-abafc1c1a333",
+ "partOf": {
+ "reference": "Location/919b83dc-2853-4a8d-c96a-bdecb51f1fcc"
+ },
+ "name": "ROOM1",
+ "identifier": [
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.642.1.1108",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/c7f1b9ec-ffd8-321e-ad87-abafc1c1a333"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4bca6ba2-be65-ef37-3911-03b70a00a3a6",
+ "name": "FACILITY1",
+ "mode": "instance",
+ "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3b0911cb-4361-cd8d-b188-463af033c699",
+ "resource": {
+ "resourceType": "Location",
+ "id": "3b0911cb-4361-cd8d-b188-463af033c699",
+ "partOf": {
+ "reference": "Location/4bca6ba2-be65-ef37-3911-03b70a00a3a6"
+ },
+ "name": "BUILDING1",
+ "mode": "instance",
+ "description": "GENOPD--ROOM1--2.16.840.1.113883.4.642.1.1108--ISO--FACILITY1--BUILDING1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/3b0911cb-4361-cd8d-b188-463af033c699"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:da6f322f-ef5e-4f2c-c1f8-6e38dffbf995",
+ "resource": {
+ "resourceType": "Encounter",
+ "id": "da6f322f-ef5e-4f2c-c1f8-6e38dffbf995",
+ "class": {
+ "code": "AMB",
+ "display": "ambulatory",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
+ },
+ "status": "in-progress",
+ "location": [
+ {
+ "status": "active",
+ "location": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ },
+ {
+ "status": "completed",
+ "location": {
+ "reference": "Location/919b83dc-2853-4a8d-c96a-bdecb51f1fcc"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/temporary-location",
+ "valueBoolean": false
+ }
+ ]
+ }
+ ],
+ "participant": [
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ATND",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "display": "attender"
+ }
+ ]
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/d00df304-17fa-8d9a-bd02-3276b1781ea1"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "REF",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "referrer"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/21d5ab8b-8f3d-4fd9-f1c4-6f32568b0ae9"
+ }
+ },
+ {
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "ADM",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
+ }
+ ],
+ "text": "admitter"
+ }
+ ],
+ "individual": {
+ "reference": "Practitioner/6c138e7c-e841-af07-8948-d01692bd2739"
+ }
+ }
+ ],
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ],
+ "text": "visit number"
+ }
+ }
+ ],
+ "period": {
+ "start": "2021-01-15T19:15:10+05:30"
+ },
+ "reasonCode": [
+ {
+ "coding": [
+ {
+ "code": "116290004",
+ "display": "Acute abdominal pain",
+ "system": "http://snomed.info/sct"
+ }
+ ]
+ }
+ ],
+ "text": {
+ "status": "generated",
+ "div": ""
+ },
+ "priority": {
+ "coding": [
+ {
+ "code": "UR",
+ "display": "urgent",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding": {
+ "code": "A",
+ "display": "Ambulance",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0430"
+ }
+ }
+ ],
+ "diagnosis": [
+ {
+ "condition": {
+ "reference": "Condition/ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb"
+ },
+ "use": {
+ "coding": [
+ {
+ "code": "AD",
+ "display": "Admission Diagnosis",
+ "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role"
+ }
+ ]
+ },
+ "rank": 1
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "e82402a9-b2d1-2a28-3250-c099d5a77bf7",
+ "identifier": [
+ {
+ "value": "PERSt",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-PERSt"
+ },
+ {
+ "value": "1.23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "ce70e6c3-c190-121d-c251-e4bae5cde6a1",
+ "identifier": [
+ {
+ "value": "1134",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/e82402a9-b2d1-2a28-3250-c099d5a77bf7"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "BR",
+ "display": "Birth registry number",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Aly",
+ "given": [
+ "Zafar",
+ "Mahendra"
+ ],
+ "suffix": [
+ "JR",
+ "MD",
+ "Al"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "88a53755-c972-6904-b4ce-8884b84ddc2e",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/ce70e6c3-c190-121d-c251-e4bae5cde6a1"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "3e0952c6-eea0-8938-96f8-07c224bf1577",
+ "identifier": [
+ {
+ "value": "2234"
+ }
+ ],
+ "name": [
+ {
+ "family": "Pauly",
+ "given": [
+ "Berrie",
+ "Raud"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "bc78e290-ec67-c238-1e05-aefb6b252b0c",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "ResponsibleObserver",
+ "system": "http://example.com/v2-to-fhir-converter/PractitionerRole"
+ }
+ ]
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/3e0952c6-eea0-8938-96f8-07c224bf1577"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:053a101a-4c1b-a99a-7a2b-2adf7dd1b55e",
+ "resource": {
+ "resourceType": "Observation",
+ "id": "053a101a-4c1b-a99a-7a2b-2adf7dd1b55e",
+ "status": "final",
+ "code": {
+ "coding": [
+ {
+ "code": "8867-4",
+ "display": "Heart rate",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "valueQuantity": {
+ "value": 72,
+ "code": "beats/min",
+ "unit": "beats/min",
+ "system": "urn:iso:std:iso:3986"
+ },
+ "referenceRange": [
+ {
+ "text": "60-120"
+ }
+ ],
+ "effectiveDateTime": "2021-09-14",
+ "performer": [
+ {
+ "reference": "PractitionerRole/88a53755-c972-6904-b4ce-8884b84ddc2e"
+ },
+ {
+ "reference": "PractitionerRole/bc78e290-ec67-c238-1e05-aefb6b252b0c"
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://example.com/v2-to-fhir-converter/Observation_Status",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "F",
+ "display": "Final",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0085"
+ }
+ ],
+ "text": "Final"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Observation/053a101a-4c1b-a99a-7a2b-2adf7dd1b55e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:14493a95-7780-ead5-89cc-ad6c3bc31d51",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "14493a95-7780-ead5-89cc-ad6c3bc31d51",
+ "identifier": [
+ {
+ "value": "005454"
+ }
+ ],
+ "name": [
+ {
+ "family": "DIAG",
+ "given": [
+ "ROBIN",
+ "B"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb",
+ "resource": {
+ "resourceType": "Condition",
+ "id": "ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb",
+ "code": {
+ "coding": [
+ {
+ "code": "64766004",
+ "display": "Ulcerative colitis(disorder)",
+ "system": "http://snomed.info/sct"
+ }
+ ],
+ "text": "Ulcerative Colitis"
+ },
+ "onsetDateTime": "2021-08-25T12:50:25+05:30",
+ "identifier": [
+ {
+ "value": "DI20",
+ "system": "urn:oid:DTUI",
+ "type": {
+ "coding": [
+ {
+ "code": "CLIP",
+ "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "asserter": {
+ "reference": "Practitioner/14493a95-7780-ead5-89cc-ad6c3bc31d51"
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate",
+ "valueDateTime": "2020-05-01T16:45:15+05:30"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/condition-dueTo",
+ "valueReference": {
+ "reference": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Condition/ac4c8e5d-ba4c-33b6-28f4-2f60bf978cfb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:98e2ecfc-6e04-bc30-6624-4f3686214b22",
+ "resource": {
+ "resourceType": "Condition",
+ "id": "98e2ecfc-6e04-bc30-6624-4f3686214b22",
+ "identifier": [
+ {
+ "system": "urn:oid:UI",
+ "type": {
+ "coding": [
+ {
+ "code": "CLIP",
+ "display": "Clinical laboratory Improvement Program. Allows for the ability to designate organization identifier as a “CLIP” assigned number (for labs). Used by US Department of Defense.",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Condition/98e2ecfc-6e04-bc30-6624-4f3686214b22"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "status": "active",
+ "intent": "filler-order",
+ "orderDetail": [
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "occurrencePeriod": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "code": {
+ "coding": [
+ {
+ "code": "76164006",
+ "display": "Biopsy of colon (procedure)",
+ "system": "http://snomed.info/sct"
+ },
+ {
+ "code": "1212",
+ "display": "Biopsy"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "encounter": {
+ "reference": "Encounter/da6f322f-ef5e-4f2c-c1f8-6e38dffbf995"
+ },
+ "note": [
+ {
+ "text": "Nursing staff instructions - Patient bowel preparation for the procedure"
+ },
+ {
+ "text": "Patient instructions - light meal or liquid diet a day before procedure"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "resource": {
+ "resourceType": "Device",
+ "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ },
+ {
+ "value": "5002"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "EVIS X12 Video Colonoscope",
+ "type": "model-name"
+ }
+ ],
+ "status": "active",
+ "note": [
+ {
+ "text": "Check if this particular equipment is available"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "identifier": [
+ {
+ "value": "1210"
+ }
+ ],
+ "name": [
+ {
+ "family": "GE",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json
new file mode 100644
index 000000000..1557678d8
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S12/SIU-S12-02-expected.json
@@ -0,0 +1,1639 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-08-10T14:45:00+05:30",
+ "identifier": {
+ "value": "MSG00012"
+ },
+ "id": "40a1916e-f6ff-36b1-dc5f-f94ad8ccb715",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:84fede5c-45a5-87f6-e613-122c708147b1",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "84fede5c-45a5-87f6-e613-122c708147b1",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S12",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S12^SIU_S12"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/84fede5c-45a5-87f6-e613-122c708147b1"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:39:40.333Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S12.
"
+ },
+ "occurredDateTime": "2021-08-10T14:45:00+05:30",
+ "recorded": "2021-08-10T14:45:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S12^SIU_S12"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/40a1916e-f6ff-36b1-dc5f-f94ad8ccb715"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "CHECKUP",
+ "display": "A routine check-up, such as an annual physical",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-08-18T14:45:00+05:30",
+ "end": "2021-08-18T15:45:00+05:30",
+ "minutesDuration": 70,
+ "status": "booked",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "comment": "Appointment for annual checkup",
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "Lab Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "019",
+ "display": "Phlebotomist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "015",
+ "display": "Imaging Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "021",
+ "display": "Radiology Technician",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "General Practitioner",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ },
+ {
+ "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "status": "active",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "58410-2",
+ "display": "CBC Panel-Blood by Automated Count",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Fasting for Blood sugar before appointment"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca",
+ "resource": {
+ "resourceType": "Device",
+ "id": "dd77839c-6623-a021-29ef-c04fd35460ca",
+ "identifier": [
+ {
+ "value": "123",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "ABC Cell Counter",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment booked for lab test"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc5a0b18-cce5-ddbc-8e45-a09c736af725",
+ "resource": {
+ "resourceType": "Location",
+ "id": "bc5a0b18-cce5-ddbc-8e45-a09c736af725",
+ "name": "LabUnit101",
+ "mode": "instance",
+ "description": "LabUnit101--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "resource": {
+ "resourceType": "Location",
+ "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "partOf": {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ },
+ "name": "Lab Room 01",
+ "mode": "instance",
+ "description": "LabUnit101--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "name": "GHH Hospital",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test",
+ "Location available for imaging",
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "identifier": [
+ {
+ "value": "400"
+ }
+ ],
+ "name": [
+ {
+ "family": "PB",
+ "given": [
+ "Tim",
+ "G"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "2b1743c0-089d-d354-0cbe-e548478fd580",
+ "status": "active",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "42272-5",
+ "display": "XR Chest PA and Lateral",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "resource": {
+ "resourceType": "Device",
+ "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "identifier": [
+ {
+ "value": "1001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "XYZ X-Ray Machine",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment booked for imaging"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "name": "DiagnosticUnit201",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "resource": {
+ "resourceType": "Location",
+ "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "partOf": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "name": "Imaging Room 01",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "89f153f4-91d2-b658-0242-612129d35f06",
+ "identifier": [
+ {
+ "value": "500"
+ }
+ ],
+ "name": [
+ {
+ "family": "RT",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "name": "OPD12",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "928bc54e-abd5-e128-504a-f02faf5598e6",
+ "partOf": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "name": "Room 55",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "identifier": [
+ {
+ "value": "600"
+ }
+ ],
+ "name": [
+ {
+ "family": "GP",
+ "given": [
+ "Linda",
+ "R"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json
new file mode 100644
index 000000000..af3fa2275
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-01-expected.json
@@ -0,0 +1,1419 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-09-20T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00013"
+ },
+ "id": "3fa01fde-f1f9-271b-cd78-622b69fcca15",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:6075682b-c1ce-410b-b538-cb7bf0d16c6c",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "6075682b-c1ce-410b-b538-cb7bf0d16c6c",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S13",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S13^SIU_S13"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/6075682b-c1ce-410b-b538-cb7bf0d16c6c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:40:21.421Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.
"
+ },
+ "occurredDateTime": "2021-09-20T14:41:00+05:30",
+ "recorded": "2021-09-20T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S13^SIU_S13"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/3fa01fde-f1f9-271b-cd78-622b69fcca15"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "EMERGENCY",
+ "display": "Emergency appointment",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-09-24T12:45:00+05:30",
+ "end": "2021-09-24T13:35:00+05:30",
+ "minutesDuration": 1,
+ "status": "booked",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "101",
+ "display": "Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "010",
+ "display": "Gastroenterologist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "accepted"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "status": "active",
+ "intent": "filler-order",
+ "orderDetail": [
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "occurrencePeriod": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "code": {
+ "coding": [
+ {
+ "code": "76164006",
+ "display": "Biopsy of colon (procedure)",
+ "system": "http://snomed.info/sct"
+ },
+ {
+ "code": "1212",
+ "display": "Biopsy"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Nursing staff instructions - Patient bowel preparation for the procedure"
+ },
+ {
+ "text": "Patient instructions - light meal or liquid diet a day before procedure"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "resource": {
+ "resourceType": "Device",
+ "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ },
+ {
+ "value": "5002"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "EVIS X12 Video Colonoscope",
+ "type": "model-name"
+ }
+ ],
+ "status": "active",
+ "note": [
+ {
+ "text": "Check if this particular equipment is available"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "name": "055",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location ready and disinfected before procedure"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ee586d80-706a-5933-8500-a8026c48fb27",
+ "partOf": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "name": "Room01",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location ready and disinfected before procedure"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "name": "GH Clinic",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location ready and disinfected before procedure"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "identifier": [
+ {
+ "value": "1210"
+ }
+ ],
+ "name": [
+ {
+ "family": "GE",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json
new file mode 100644
index 000000000..dd38f2c02
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S13/SIU-S13-02-expected.json
@@ -0,0 +1,1639 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-08-18T14:45:00+05:30",
+ "identifier": {
+ "value": "MSG00013"
+ },
+ "id": "3fa01fde-f1f9-271b-cd78-622b69fcca15",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:6075682b-c1ce-410b-b538-cb7bf0d16c6c",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "6075682b-c1ce-410b-b538-cb7bf0d16c6c",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S13",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S13^SIU_S13"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/6075682b-c1ce-410b-b538-cb7bf0d16c6c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:40:48.961Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S13.
"
+ },
+ "occurredDateTime": "2021-08-18T14:45:00+05:30",
+ "recorded": "2021-08-18T14:45:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S13^SIU_S13"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/3fa01fde-f1f9-271b-cd78-622b69fcca15"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "CHECKUP",
+ "display": "A routine check-up, such as an annual physical",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-08-20T14:45:00+05:30",
+ "end": "2021-08-20T15:45:00+05:30",
+ "minutesDuration": 70,
+ "status": "booked",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "comment": "Appointment rescheduled for annual checkup on Aug 20 instead of Aug 18 as per patient's request.",
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "Lab Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "019",
+ "display": "Phlebotomist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "015",
+ "display": "Imaging Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "021",
+ "display": "Radiology Technician",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "General Practitioner",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ },
+ {
+ "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "status": "active",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "58410-2",
+ "display": "CBC Panel-Blood by Automated Count",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Fasting for Blood sugar before appointment"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca",
+ "resource": {
+ "resourceType": "Device",
+ "id": "dd77839c-6623-a021-29ef-c04fd35460ca",
+ "identifier": [
+ {
+ "value": "123",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "ABC Cell Counter",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment booked for lab test"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc5a0b18-cce5-ddbc-8e45-a09c736af725",
+ "resource": {
+ "resourceType": "Location",
+ "id": "bc5a0b18-cce5-ddbc-8e45-a09c736af725",
+ "name": "LabUnit101",
+ "mode": "instance",
+ "description": "LabUnit101--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "resource": {
+ "resourceType": "Location",
+ "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "partOf": {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ },
+ "name": "Lab Room 01",
+ "mode": "instance",
+ "description": "LabUnit101--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "name": "GHH Hospital",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test",
+ "Location available for imaging",
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "identifier": [
+ {
+ "value": "400"
+ }
+ ],
+ "name": [
+ {
+ "family": "PB",
+ "given": [
+ "Tim",
+ "G"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "2b1743c0-089d-d354-0cbe-e548478fd580",
+ "status": "active",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "42272-5",
+ "display": "XR Chest PA and Lateral",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "resource": {
+ "resourceType": "Device",
+ "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "identifier": [
+ {
+ "value": "1001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "XYZ X-Ray Machine",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment booked for imaging"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "name": "DiagnosticUnit201",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "resource": {
+ "resourceType": "Location",
+ "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "partOf": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "name": "Imaging Room 01",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "89f153f4-91d2-b658-0242-612129d35f06",
+ "identifier": [
+ {
+ "value": "500"
+ }
+ ],
+ "name": [
+ {
+ "family": "RT",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "name": "OPD12",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "928bc54e-abd5-e128-504a-f02faf5598e6",
+ "partOf": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "name": "Room 55",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "identifier": [
+ {
+ "value": "600"
+ }
+ ],
+ "name": [
+ {
+ "family": "GP",
+ "given": [
+ "Linda",
+ "R"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json
new file mode 100644
index 000000000..f73d594e6
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-01-expected.json
@@ -0,0 +1,1419 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-09-20T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00014"
+ },
+ "id": "9ded1d35-26d3-a326-1f41-9ed7b458bc51",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:77ae10cf-00a1-f576-c389-7388a8cf6cf4",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "77ae10cf-00a1-f576-c389-7388a8cf6cf4",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S14",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S14^SIU_S14"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/77ae10cf-00a1-f576-c389-7388a8cf6cf4"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:41:34.023Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.
"
+ },
+ "occurredDateTime": "2021-09-20T14:41:00+05:30",
+ "recorded": "2021-09-20T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S14^SIU_S14"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/9ded1d35-26d3-a326-1f41-9ed7b458bc51"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "EMERGENCY",
+ "display": "Emergency appointment",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-09-24T12:45:00+05:30",
+ "end": "2021-09-24T13:35:00+05:30",
+ "minutesDuration": 1,
+ "status": "booked",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "101",
+ "display": "Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "010",
+ "display": "Gastroenterologist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "accepted"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "status": "active",
+ "intent": "filler-order",
+ "orderDetail": [
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "occurrencePeriod": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "code": {
+ "coding": [
+ {
+ "code": "76164006",
+ "display": "Biopsy of colon (procedure)",
+ "system": "http://snomed.info/sct"
+ },
+ {
+ "code": "1212",
+ "display": "Biopsy"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Nursing staff instructions - Patient bowel preparation for the procedure"
+ },
+ {
+ "text": "Patient instructions - light meal or liquid diet a day before procedure"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "resource": {
+ "resourceType": "Device",
+ "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ },
+ {
+ "value": "5002"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "EVIS X12 Video Colonoscope",
+ "type": "model-name"
+ }
+ ],
+ "status": "active",
+ "note": [
+ {
+ "text": "Check if this particular equipment is available"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "name": "055",
+ "mode": "instance",
+ "description": "055--Room02--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location ready and disinfected before procedure"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d60a0eea-ecdf-5600-5240-cea2c87a23ba",
+ "resource": {
+ "resourceType": "Location",
+ "id": "d60a0eea-ecdf-5600-5240-cea2c87a23ba",
+ "partOf": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "name": "Room02",
+ "mode": "instance",
+ "description": "055--Room02--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location ready and disinfected before procedure"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/d60a0eea-ecdf-5600-5240-cea2c87a23ba"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "name": "GH Clinic",
+ "mode": "instance",
+ "description": "055--Room02--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location ready and disinfected before procedure"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "identifier": [
+ {
+ "value": "1210"
+ }
+ ],
+ "name": [
+ {
+ "family": "GE",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json
new file mode 100644
index 000000000..ad49d45a4
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S14/SIU-S14-02-expected.json
@@ -0,0 +1,1639 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-08-17T14:45:00+05:30",
+ "identifier": {
+ "value": "MSG00014"
+ },
+ "id": "9ded1d35-26d3-a326-1f41-9ed7b458bc51",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:77ae10cf-00a1-f576-c389-7388a8cf6cf4",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "77ae10cf-00a1-f576-c389-7388a8cf6cf4",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S14",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S14^SIU_S14"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/77ae10cf-00a1-f576-c389-7388a8cf6cf4"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:42:05.307Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S14.
"
+ },
+ "occurredDateTime": "2021-08-17T14:45:00+05:30",
+ "recorded": "2021-08-17T14:45:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S14^SIU_S14"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/9ded1d35-26d3-a326-1f41-9ed7b458bc51"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "CHECKUP",
+ "display": "A routine check-up, such as an annual physical",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-08-18T14:45:00+05:30",
+ "end": "2021-08-18T15:45:00+05:30",
+ "minutesDuration": 70,
+ "status": "booked",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "comment": "Appointment for annual checkup modified by filler application for change in location from LabUnit101 to LabUnit102",
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "Lab Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/49df5da3-db7b-385e-1b05-81bb68f542e3"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "019",
+ "display": "Phlebotomist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "015",
+ "display": "Imaging Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "021",
+ "display": "Radiology Technician",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "General Practitioner",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ },
+ {
+ "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "status": "active",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "58410-2",
+ "display": "CBC Panel-Blood by Automated Count",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Fasting for Blood sugar before appointment"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/49df5da3-db7b-385e-1b05-81bb68f542e3"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca",
+ "resource": {
+ "resourceType": "Device",
+ "id": "dd77839c-6623-a021-29ef-c04fd35460ca",
+ "identifier": [
+ {
+ "value": "123",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "ABC Cell Counter",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment booked for lab test"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:49df5da3-db7b-385e-1b05-81bb68f542e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "49df5da3-db7b-385e-1b05-81bb68f542e3",
+ "name": "LabUnit102",
+ "mode": "instance",
+ "description": "LabUnit102--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/49df5da3-db7b-385e-1b05-81bb68f542e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "resource": {
+ "resourceType": "Location",
+ "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "partOf": {
+ "reference": "Location/49df5da3-db7b-385e-1b05-81bb68f542e3"
+ },
+ "name": "Lab Room 01",
+ "mode": "instance",
+ "description": "LabUnit102--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "name": "GHH Hospital",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test",
+ "Location available for imaging",
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "identifier": [
+ {
+ "value": "400"
+ }
+ ],
+ "name": [
+ {
+ "family": "PB",
+ "given": [
+ "Tim",
+ "G"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "2b1743c0-089d-d354-0cbe-e548478fd580",
+ "status": "active",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "42272-5",
+ "display": "XR Chest PA and Lateral",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "resource": {
+ "resourceType": "Device",
+ "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "identifier": [
+ {
+ "value": "1001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "XYZ X-Ray Machine",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment booked for imaging"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "name": "DiagnosticUnit201",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "resource": {
+ "resourceType": "Location",
+ "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "partOf": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "name": "Imaging Room 01",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "89f153f4-91d2-b658-0242-612129d35f06",
+ "identifier": [
+ {
+ "value": "500"
+ }
+ ],
+ "name": [
+ {
+ "family": "RT",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "name": "OPD12",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "928bc54e-abd5-e128-504a-f02faf5598e6",
+ "partOf": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "name": "Room 55",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "identifier": [
+ {
+ "value": "600"
+ }
+ ],
+ "name": [
+ {
+ "family": "GP",
+ "given": [
+ "Linda",
+ "R"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json
new file mode 100644
index 000000000..921264796
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-01-expected.json
@@ -0,0 +1,1419 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-09-23T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00015"
+ },
+ "id": "d7447df6-4738-6328-ce18-4b3764840611",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:9c92bbf4-5a47-76e9-3773-94cf525eaf67",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "9c92bbf4-5a47-76e9-3773-94cf525eaf67",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S15",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S15^SIU_S15"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/9c92bbf4-5a47-76e9-3773-94cf525eaf67"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:42:52.655Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.
"
+ },
+ "occurredDateTime": "2021-09-23T14:41:00+05:30",
+ "recorded": "2021-09-23T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S15^SIU_S15"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/d7447df6-4738-6328-ce18-4b3764840611"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "EMERGENCY",
+ "display": "Emergency appointment",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-09-24T12:45:00+05:30",
+ "end": "2021-09-24T13:35:00+05:30",
+ "minutesDuration": 1,
+ "status": "cancelled",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "101",
+ "display": "Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "declined"
+ },
+ {
+ "actor": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "declined"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "010",
+ "display": "Gastroenterologist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "declined"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "status": "revoked",
+ "intent": "filler-order",
+ "orderDetail": [
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "occurrencePeriod": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "code": {
+ "coding": [
+ {
+ "code": "76164006",
+ "display": "Biopsy of colon (procedure)",
+ "system": "http://snomed.info/sct"
+ },
+ {
+ "code": "1212",
+ "display": "Biopsy"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Nursing staff instructions - Appointment cancelled"
+ },
+ {
+ "text": "Patient instructions - Appointment cancelled"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "resource": {
+ "resourceType": "Device",
+ "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ },
+ {
+ "value": "5002"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "EVIS X12 Video Colonoscope",
+ "type": "model-name"
+ }
+ ],
+ "status": "active",
+ "note": [
+ {
+ "text": "Equipment is available for other Practitioner as the appointment is cancelled"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "name": "055",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available as appointment is cancelled"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ee586d80-706a-5933-8500-a8026c48fb27",
+ "partOf": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "name": "Room01",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available as appointment is cancelled"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "name": "GH Clinic",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location available as appointment is cancelled"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "identifier": [
+ {
+ "value": "1210"
+ }
+ ],
+ "name": [
+ {
+ "family": "GE",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json
new file mode 100644
index 000000000..1b4e075bf
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S15/SIU-S15-02-expected.json
@@ -0,0 +1,1639 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-08-18T13:45:00+05:30",
+ "identifier": {
+ "value": "MSG00015"
+ },
+ "id": "d7447df6-4738-6328-ce18-4b3764840611",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:9c92bbf4-5a47-76e9-3773-94cf525eaf67",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "9c92bbf4-5a47-76e9-3773-94cf525eaf67",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S15",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S15^SIU_S15"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/9c92bbf4-5a47-76e9-3773-94cf525eaf67"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:43:28.077Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S15.
"
+ },
+ "occurredDateTime": "2021-08-18T13:45:00+05:30",
+ "recorded": "2021-08-18T13:45:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S15^SIU_S15"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/d7447df6-4738-6328-ce18-4b3764840611"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "CHECKUP",
+ "display": "A routine check-up, such as an annual physical",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-08-18T14:45:00+05:30",
+ "end": "2021-08-18T15:45:00+05:30",
+ "minutesDuration": 70,
+ "status": "cancelled",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "comment": "Appointment for annual checkup cancelled as GP is not available on Aug 18.",
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "Lab Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "019",
+ "display": "Phlebotomist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "015",
+ "display": "Imaging Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "021",
+ "display": "Radiology Technician",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "General Practitioner",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ },
+ {
+ "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "status": "draft",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "58410-2",
+ "display": "CBC Panel-Blood by Automated Count",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Fasting for Blood sugar before appointment"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca",
+ "resource": {
+ "resourceType": "Device",
+ "id": "dd77839c-6623-a021-29ef-c04fd35460ca",
+ "identifier": [
+ {
+ "value": "123",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "ABC Cell Counter",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment booked for lab test"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc5a0b18-cce5-ddbc-8e45-a09c736af725",
+ "resource": {
+ "resourceType": "Location",
+ "id": "bc5a0b18-cce5-ddbc-8e45-a09c736af725",
+ "name": "LabUnit101",
+ "mode": "instance",
+ "description": "LabUnit101--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "resource": {
+ "resourceType": "Location",
+ "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "partOf": {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ },
+ "name": "Lab Room 01",
+ "mode": "instance",
+ "description": "LabUnit101--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "name": "GHH Hospital",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test",
+ "Location available for imaging",
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "identifier": [
+ {
+ "value": "400"
+ }
+ ],
+ "name": [
+ {
+ "family": "PB",
+ "given": [
+ "Tim",
+ "G"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "2b1743c0-089d-d354-0cbe-e548478fd580",
+ "status": "draft",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "42272-5",
+ "display": "XR Chest PA and Lateral",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "resource": {
+ "resourceType": "Device",
+ "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "identifier": [
+ {
+ "value": "1001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "XYZ X-Ray Machine",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment booked for imaging"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "name": "DiagnosticUnit201",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "resource": {
+ "resourceType": "Location",
+ "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "partOf": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "name": "Imaging Room 01",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "89f153f4-91d2-b658-0242-612129d35f06",
+ "identifier": [
+ {
+ "value": "500"
+ }
+ ],
+ "name": [
+ {
+ "family": "RT",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "name": "OPD12",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "928bc54e-abd5-e128-504a-f02faf5598e6",
+ "partOf": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "name": "Room 55",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "identifier": [
+ {
+ "value": "600"
+ }
+ ],
+ "name": [
+ {
+ "family": "GP",
+ "given": [
+ "Linda",
+ "R"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json
new file mode 100644
index 000000000..3e41b68fb
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-01-expected.json
@@ -0,0 +1,1419 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "1989-08-18T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00016"
+ },
+ "id": "30435f80-02b6-8e6a-011f-03792aa30b3e",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:01f8408f-d203-67a6-59cb-836f0c2f0114",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "01f8408f-d203-67a6-59cb-836f0c2f0114",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S16",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S16^SIU_S16"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/01f8408f-d203-67a6-59cb-836f0c2f0114"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:44:06.903Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.
"
+ },
+ "occurredDateTime": "1989-08-18T14:41:00+05:30",
+ "recorded": "1989-08-18T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S16^SIU_S16"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/30435f80-02b6-8e6a-011f-03792aa30b3e"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "EMERGENCY",
+ "display": "Emergency appointment",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-09-24T12:45:00+05:30",
+ "end": "2021-09-24T13:35:00+05:30",
+ "minutesDuration": 1,
+ "status": "cancelled",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "101",
+ "display": "Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "declined"
+ },
+ {
+ "actor": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "declined"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "010",
+ "display": "Gastroenterologist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "declined"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "status": "revoked",
+ "intent": "filler-order",
+ "orderDetail": [
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "occurrencePeriod": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "code": {
+ "coding": [
+ {
+ "code": "76164006",
+ "display": "Biopsy of colon (procedure)",
+ "system": "http://snomed.info/sct"
+ },
+ {
+ "code": "1212",
+ "display": "Biopsy"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Nursing staff instructions - Appointment discontinued due to equipment malfunction"
+ },
+ {
+ "text": "Patient instructions - Appointment discontinued due to equipment malfunction"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "resource": {
+ "resourceType": "Device",
+ "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ },
+ {
+ "value": "5002"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "EVIS X12 Video Colonoscope",
+ "type": "model-name"
+ }
+ ],
+ "status": "active",
+ "note": [
+ {
+ "text": "Equipment malfunction"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "name": "055",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for next slot as appointment is discontinued"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ee586d80-706a-5933-8500-a8026c48fb27",
+ "partOf": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "name": "Room01",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for next slot as appointment is discontinued"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "name": "GH Clinic",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for next slot as appointment is discontinued"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "identifier": [
+ {
+ "value": "1210"
+ }
+ ],
+ "name": [
+ {
+ "family": "GE",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json
new file mode 100644
index 000000000..3ebd03c82
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S16/SIU-S16-02-expected.json
@@ -0,0 +1,1639 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-08-10T15:15:00+05:30",
+ "identifier": {
+ "value": "MSG00016"
+ },
+ "id": "30435f80-02b6-8e6a-011f-03792aa30b3e",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:01f8408f-d203-67a6-59cb-836f0c2f0114",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "01f8408f-d203-67a6-59cb-836f0c2f0114",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S16",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S16^SIU_S16"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/01f8408f-d203-67a6-59cb-836f0c2f0114"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:44:32.016Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S16.
"
+ },
+ "occurredDateTime": "2021-08-10T15:15:00+05:30",
+ "recorded": "2021-08-10T15:15:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S16^SIU_S16"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/30435f80-02b6-8e6a-011f-03792aa30b3e"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "CHECKUP",
+ "display": "A routine check-up, such as an annual physical",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-08-18T14:45:00+05:30",
+ "end": "2021-08-18T15:45:00+05:30",
+ "minutesDuration": 70,
+ "status": "cancelled",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "comment": "Appointment for annual checkup discontinued due to power failure at the facility.",
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "Lab Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "019",
+ "display": "Phlebotomist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "015",
+ "display": "Imaging Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "021",
+ "display": "Radiology Technician",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "General Practitioner",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ },
+ {
+ "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "status": "revoked",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "58410-2",
+ "display": "CBC Panel-Blood by Automated Count",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Fasting for Blood sugar before appointment"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca",
+ "resource": {
+ "resourceType": "Device",
+ "id": "dd77839c-6623-a021-29ef-c04fd35460ca",
+ "identifier": [
+ {
+ "value": "123",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "ABC Cell Counter",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment booked for lab test"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc5a0b18-cce5-ddbc-8e45-a09c736af725",
+ "resource": {
+ "resourceType": "Location",
+ "id": "bc5a0b18-cce5-ddbc-8e45-a09c736af725",
+ "name": "LabUnit101",
+ "mode": "instance",
+ "description": "LabUnit101--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "resource": {
+ "resourceType": "Location",
+ "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "partOf": {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ },
+ "name": "Lab Room 01",
+ "mode": "instance",
+ "description": "LabUnit101--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "name": "GHH Hospital",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test",
+ "Location available for imaging",
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "identifier": [
+ {
+ "value": "400"
+ }
+ ],
+ "name": [
+ {
+ "family": "PB",
+ "given": [
+ "Tim",
+ "G"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "2b1743c0-089d-d354-0cbe-e548478fd580",
+ "status": "revoked",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "42272-5",
+ "display": "XR Chest PA and Lateral",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "resource": {
+ "resourceType": "Device",
+ "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "identifier": [
+ {
+ "value": "1001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "XYZ X-Ray Machine",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment booked for imaging"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "name": "DiagnosticUnit201",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "resource": {
+ "resourceType": "Location",
+ "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "partOf": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "name": "Imaging Room 01",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "89f153f4-91d2-b658-0242-612129d35f06",
+ "identifier": [
+ {
+ "value": "500"
+ }
+ ],
+ "name": [
+ {
+ "family": "RT",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "name": "OPD12",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "928bc54e-abd5-e128-504a-f02faf5598e6",
+ "partOf": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "name": "Room 55",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "identifier": [
+ {
+ "value": "600"
+ }
+ ],
+ "name": [
+ {
+ "family": "GP",
+ "given": [
+ "Linda",
+ "R"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json
new file mode 100644
index 000000000..5404fa40b
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-01-expected.json
@@ -0,0 +1,1419 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-09-23T14:41:00+05:30",
+ "identifier": {
+ "value": "MSG00017"
+ },
+ "id": "93cae168-bbbd-0e21-74a8-0ae7f1136194",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:7f71e432-b4da-bdfa-b9c5-d85ff83c74e7",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "7f71e432-b4da-bdfa-b9c5-d85ff83c74e7",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S17",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S17^SIU_S17"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/7f71e432-b4da-bdfa-b9c5-d85ff83c74e7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:45:32.192Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.
"
+ },
+ "occurredDateTime": "2021-09-23T14:41:00+05:30",
+ "recorded": "2021-09-23T14:41:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S17^SIU_S17"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/93cae168-bbbd-0e21-74a8-0ae7f1136194"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "EMERGENCY",
+ "display": "Emergency appointment",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-09-24T12:45:00+05:30",
+ "end": "2021-09-24T13:35:00+05:30",
+ "minutesDuration": 1,
+ "status": "entered-in-error",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "101",
+ "display": "Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "declined"
+ },
+ {
+ "actor": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "declined"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "010",
+ "display": "Gastroenterologist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "declined"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "status": "entered-in-error",
+ "intent": "filler-order",
+ "orderDetail": [
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "occurrencePeriod": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "code": {
+ "coding": [
+ {
+ "code": "76164006",
+ "display": "Biopsy of colon (procedure)",
+ "system": "http://snomed.info/sct"
+ },
+ {
+ "code": "1212",
+ "display": "Biopsy"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Nursing staff instructions - Appointment deleted"
+ },
+ {
+ "text": "Patient instructions - Appointment deleted"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "resource": {
+ "resourceType": "Device",
+ "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ },
+ {
+ "value": "5002"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "EVIS X12 Video Colonoscope",
+ "type": "model-name"
+ }
+ ],
+ "status": "active",
+ "note": [
+ {
+ "text": "Equipment available"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "name": "055",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for next slot as appointment is deleted"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ee586d80-706a-5933-8500-a8026c48fb27",
+ "partOf": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "name": "Room01",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for next slot as appointment is deleted"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "name": "GH Clinic",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for next slot as appointment is deleted"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "identifier": [
+ {
+ "value": "1210"
+ }
+ ],
+ "name": [
+ {
+ "family": "GE",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json
new file mode 100644
index 000000000..28bb2671c
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S17/SIU-S17-02-expected.json
@@ -0,0 +1,1639 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-08-10T13:45:00+05:30",
+ "identifier": {
+ "value": "MSG00017"
+ },
+ "id": "93cae168-bbbd-0e21-74a8-0ae7f1136194",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:7f71e432-b4da-bdfa-b9c5-d85ff83c74e7",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "7f71e432-b4da-bdfa-b9c5-d85ff83c74e7",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S17",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S17^SIU_S17"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/7f71e432-b4da-bdfa-b9c5-d85ff83c74e7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:45:54.523Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S17.
"
+ },
+ "occurredDateTime": "2021-08-10T13:45:00+05:30",
+ "recorded": "2021-08-10T13:45:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S17^SIU_S17"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/93cae168-bbbd-0e21-74a8-0ae7f1136194"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "CHECKUP",
+ "display": "A routine check-up, such as an annual physical",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-08-18T14:45:00+05:30",
+ "end": "2021-08-18T15:45:00+05:30",
+ "minutesDuration": 70,
+ "status": "entered-in-error",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "comment": "Appointment for annual checkup deleted as it was assigned to wrong patient.",
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "Lab Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "019",
+ "display": "Phlebotomist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "015",
+ "display": "Imaging Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "021",
+ "display": "Radiology Technician",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "General Practitioner",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ },
+ {
+ "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID566",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "status": "entered-in-error",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "58410-2",
+ "display": "CBC Panel-Blood by Automated Count",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Fasting for Blood sugar before appointment"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca",
+ "resource": {
+ "resourceType": "Device",
+ "id": "dd77839c-6623-a021-29ef-c04fd35460ca",
+ "identifier": [
+ {
+ "value": "123",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "ABC Cell Counter",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment booked for lab test"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc5a0b18-cce5-ddbc-8e45-a09c736af725",
+ "resource": {
+ "resourceType": "Location",
+ "id": "bc5a0b18-cce5-ddbc-8e45-a09c736af725",
+ "name": "LabUnit101",
+ "mode": "instance",
+ "description": "LabUnit101--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "resource": {
+ "resourceType": "Location",
+ "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "partOf": {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ },
+ "name": "Lab Room 01",
+ "mode": "instance",
+ "description": "LabUnit101--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "name": "GHH Hospital",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test",
+ "Location available for imaging",
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "identifier": [
+ {
+ "value": "400"
+ }
+ ],
+ "name": [
+ {
+ "family": "PB",
+ "given": [
+ "Tim",
+ "G"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "2b1743c0-089d-d354-0cbe-e548478fd580",
+ "status": "entered-in-error",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "42272-5",
+ "display": "XR Chest PA and Lateral",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Patient Instructions - wear loose comfortable clothes,keep metallic objects away and leave jewellery at home"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "resource": {
+ "resourceType": "Device",
+ "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "identifier": [
+ {
+ "value": "1001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "XYZ X-Ray Machine",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment booked for imaging"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "name": "DiagnosticUnit201",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "resource": {
+ "resourceType": "Location",
+ "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "partOf": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "name": "Imaging Room 01",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "89f153f4-91d2-b658-0242-612129d35f06",
+ "identifier": [
+ {
+ "value": "500"
+ }
+ ],
+ "name": [
+ {
+ "family": "RT",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "name": "OPD12",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "928bc54e-abd5-e128-504a-f02faf5598e6",
+ "partOf": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "name": "Room 55",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "identifier": [
+ {
+ "value": "600"
+ }
+ ],
+ "name": [
+ {
+ "family": "GP",
+ "given": [
+ "Linda",
+ "R"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json
new file mode 100644
index 000000000..5cb07b512
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-01-expected.json
@@ -0,0 +1,1416 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-09-24T13:15:00+05:30",
+ "identifier": {
+ "value": "MSG00026"
+ },
+ "id": "6ce25f29-49da-3ad9-7d58-d4983ccbe1a5",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:cc96c578-5ef7-dd2d-a102-7f7a843c3ee9",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "cc96c578-5ef7-dd2d-a102-7f7a843c3ee9",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S26",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S26^SIU_S26"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/cc96c578-5ef7-dd2d-a102-7f7a843c3ee9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:46:35.241Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.
"
+ },
+ "occurredDateTime": "2021-09-24T13:15:00+05:30",
+ "recorded": "2021-09-24T13:15:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S26^SIU_S26"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/6ce25f29-49da-3ad9-7d58-d4983ccbe1a5"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "EMERGENCY",
+ "display": "Emergency appointment",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-09-24T12:45:00+05:30",
+ "end": "2021-09-24T13:35:00+05:30",
+ "minutesDuration": 1,
+ "status": "noshow",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "101",
+ "display": "Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "declined"
+ },
+ {
+ "actor": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "declined"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "010",
+ "display": "Gastroenterologist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "period": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "status": "declined"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "377d8e6d-3ee4-7509-6f8b-6279da04eb6b",
+ "status": "revoked",
+ "intent": "filler-order",
+ "orderDetail": [
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "5001",
+ "display": "EVIS X12 Video Colonoscope",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "occurrencePeriod": {
+ "start": "2021-09-24T12:45:00+05:30"
+ },
+ "code": {
+ "coding": [
+ {
+ "code": "76164006",
+ "display": "Biopsy of colon (procedure)",
+ "system": "http://snomed.info/sct"
+ },
+ {
+ "code": "1212",
+ "display": "Biopsy"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Nursing staff instructions - Patient did not show up for the appointment"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ },
+ {
+ "reference": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/377d8e6d-3ee4-7509-6f8b-6279da04eb6b"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "resource": {
+ "resourceType": "Device",
+ "id": "0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00",
+ "identifier": [
+ {
+ "value": "5001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ },
+ {
+ "value": "5002"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "EVIS X12 Video Colonoscope",
+ "type": "model-name"
+ }
+ ],
+ "status": "active",
+ "note": [
+ {
+ "text": "Equipment available"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/0434a8f4-6ef0-5dc7-d1a1-91ad4b080b00"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "resource": {
+ "resourceType": "Location",
+ "id": "b13417bd-d0fb-e50f-b65a-cd07396a0608",
+ "name": "055",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available as patient did not show up"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:ee586d80-706a-5933-8500-a8026c48fb27",
+ "resource": {
+ "resourceType": "Location",
+ "id": "ee586d80-706a-5933-8500-a8026c48fb27",
+ "partOf": {
+ "reference": "Location/b13417bd-d0fb-e50f-b65a-cd07396a0608"
+ },
+ "name": "Room01",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available as patient did not show up"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/ee586d80-706a-5933-8500-a8026c48fb27"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4b6f7358-191b-8623-f2f4-806a8a0babcf",
+ "name": "GH Clinic",
+ "mode": "instance",
+ "description": "055--Room01--GH Clinic",
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "C",
+ "display": "Clinic",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-LocationRoleType"
+ }
+ ]
+ }
+ ],
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location available as patient did not show up"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4b6f7358-191b-8623-f2f4-806a8a0babcf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb",
+ "identifier": [
+ {
+ "value": "1210"
+ }
+ ],
+ "name": [
+ {
+ "family": "GE",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/cf8dbd4d-8d1c-57fc-1609-c069ee81b4cb"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json
new file mode 100644
index 000000000..9a6378ef3
--- /dev/null
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/SIU_S26/SIU-S26-02-expected.json
@@ -0,0 +1,1639 @@
+{
+ "resourceType": "Bundle",
+ "type": "batch",
+ "timestamp": "2021-08-18T14:45:00+05:30",
+ "identifier": {
+ "value": "MSG00026"
+ },
+ "id": "6ce25f29-49da-3ad9-7d58-d4983ccbe1a5",
+ "entry": [
+ {
+ "fullUrl": "urn:uuid:cc96c578-5ef7-dd2d-a102-7f7a843c3ee9",
+ "resource": {
+ "resourceType": "MessageHeader",
+ "id": "cc96c578-5ef7-dd2d-a102-7f7a843c3ee9",
+ "source": {
+ "name": "24GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.20"
+ },
+ "destination": [
+ {
+ "name": "25GHH",
+ "endpoint": "urn:oid:2.16.840.1.114884.10.23",
+ "receiver": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ }
+ ],
+ "meta": {
+ "security": [
+ {
+ "display": "SECURITY",
+ "system": "http://example.com/v2-to-fhirconverter/security-label"
+ }
+ ],
+ "tag": [
+ {
+ "code": "P",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0103"
+ }
+ ]
+ },
+ "eventCoding": {
+ "code": "S26",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "display": "SIU^S26^SIU_S26"
+ },
+ "language": "en-US",
+ "sender": {
+ "reference": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ },
+ "responsible": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "MessageHeader/cc96c578-5ef7-dd2d-a102-7f7a843c3ee9"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "resource": {
+ "resourceType": "Provenance",
+ "id": "09e54df1-8856-96ca-cdbf-4bdbd94a26a3",
+ "text": {
+ "status": "generated",
+ "div": "Resource bundle generated on 2021-10-29T08:46:53.449Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: SIU_S26.
"
+ },
+ "occurredDateTime": "2021-08-18T14:45:00+05:30",
+ "recorded": "2021-08-18T14:45:00+05:30",
+ "agent": [
+ {
+ "type": {
+ "coding": [
+ {
+ "code": "author",
+ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
+ }
+ ]
+ },
+ "who": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ }
+ ],
+ "activity": {
+ "coding": [
+ {
+ "display": "SIU^S26^SIU_S26"
+ }
+ ]
+ },
+ "entity": [
+ {
+ "role": "source",
+ "what": {
+ "reference": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ }
+ ],
+ "target": [
+ {
+ "reference": "Bundle/6ce25f29-49da-3ad9-7d58-d4983ccbe1a5"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Provenance/09e54df1-8856-96ca-cdbf-4bdbd94a26a3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4356fb81-6ecd-2d70-57b1-47812638e785",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "4356fb81-6ecd-2d70-57b1-47812638e785",
+ "identifier": [
+ {
+ "value": "GHHSFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHSFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.122848.1.30",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/4356fb81-6ecd-2d70-57b1-47812638e785"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "62781ad6-3896-cb63-0178-ead0c4a432b5",
+ "identifier": [
+ {
+ "value": "GHHRFacility",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-GHHRFacility"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.1122848.1.32",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ],
+ "partOf": {
+ "reference": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ },
+ "address": [
+ {
+ "country": "USA"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/62781ad6-3896-cb63-0178-ead0c4a432b5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:33532a82-d220-4c0d-1abe-53e48951c201",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "33532a82-d220-4c0d-1abe-53e48951c201",
+ "name": "22 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/33532a82-d220-4c0d-1abe-53e48951c201"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:527280c1-34d1-c639-e9ba-61986d28e266",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "527280c1-34d1-c639-e9ba-61986d28e266",
+ "name": "23 GHH Inc."
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/527280c1-34d1-c639-e9ba-61986d28e266"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:12428005-5692-7537-f572-e47a16418f26",
+ "resource": {
+ "resourceType": "Device",
+ "id": "12428005-5692-7537-f572-e47a16418f26",
+ "identifier": [
+ {
+ "value": "SCHApp"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/12428005-5692-7537-f572-e47a16418f26"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "resource": {
+ "resourceType": "Appointment",
+ "id": "b7121f46-cf50-5cec-7cfb-5de8e42b82d2",
+ "identifier": [
+ {
+ "value": "12345",
+ "type": {
+ "coding": [
+ {
+ "code": "PLAC",
+ "display": "Placer Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ },
+ {
+ "value": "36996",
+ "type": {
+ "coding": [
+ {
+ "code": "FILL",
+ "display": "Filler Identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "appointmentType": {
+ "coding": [
+ {
+ "code": "CHECKUP",
+ "display": "A routine check-up, such as an annual physical",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0276"
+ }
+ ]
+ },
+ "priority": 2,
+ "start": "2021-08-18T14:45:00+05:30",
+ "end": "2021-08-18T15:45:00+05:30",
+ "minutesDuration": 70,
+ "status": "noshow",
+ "supportingInformation": [
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ },
+ {
+ "reference": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ ],
+ "comment": "Patient did not show up for the annual checkup ",
+ "participant": [
+ {
+ "actor": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "status": "accepted"
+ },
+ {
+ "actor": {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "Lab Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "019",
+ "display": "Phlebotomist",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "015",
+ "display": "Imaging Equipment",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "021",
+ "display": "Radiology Technician",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "status": "tentative"
+ },
+ {
+ "actor": {
+ "reference": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ },
+ "type": [
+ {
+ "coding": [
+ {
+ "code": "011",
+ "display": "General Practitioner",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ]
+ }
+ ],
+ "status": "tentative"
+ }
+ ],
+ "basedOn": [
+ {
+ "reference": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ },
+ {
+ "reference": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Appointment/b7121f46-cf50-5cec-7cfb-5de8e42b82d2"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:df03b003-6818-1abd-209e-0889025aad16",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "df03b003-6818-1abd-209e-0889025aad16",
+ "identifier": [
+ {
+ "value": "NPIID",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NPIID"
+ },
+ {
+ "value": "urn:oid:2.16.840.1.113883.4.6",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "6f540060-4f9a-5d13-45b3-da6a76e207a7",
+ "address": [
+ {
+ "line": [
+ "115 MAINSTREET"
+ ],
+ "city": "GOODTOWN",
+ "state": "KY",
+ "postalCode": "42010",
+ "country": "USA"
+ }
+ ],
+ "telecom": [
+ {
+ "value": "(608)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9941339109",
+ "system": "urn:oid:2.16.840.1.113883.4.6",
+ "assigner": {
+ "reference": "Organization/df03b003-6818-1abd-209e-0889025aad16"
+ },
+ "type": {
+ "coding": [
+ {
+ "code": "NPI",
+ "display": "National provider identifier",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "Smith",
+ "given": [
+ "Adam",
+ "Mellie"
+ ],
+ "suffix": [
+ "Jr",
+ "MD",
+ "GP"
+ ],
+ "prefix": [
+ "Dr"
+ ],
+ "use": "official",
+ "period": {
+ "start": "2010-01-15",
+ "end": "2020-01-15"
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:36effb10-f605-f388-c06c-90d22b315bd0",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "36effb10-f605-f388-c06c-90d22b315bd0",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "placer-contact",
+ "display": "Placer Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ },
+ {
+ "coding": [
+ {
+ "code": "filler-contact",
+ "display": "Filler Contact",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/6f540060-4f9a-5d13-45b3-da6a76e207a7"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/36effb10-f605-f388-c06c-90d22b315bd0"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "resource": {
+ "resourceType": "Location",
+ "id": "92a004c0-d02e-68e3-bde6-bc78f980b3bb",
+ "name": "FACILITY2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/92a004c0-d02e-68e3-bde6-bc78f980b3bb"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "resource": {
+ "resourceType": "Location",
+ "id": "4204399b-1a0b-7fb2-91ec-9705ef5886e3",
+ "partOf": {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ },
+ "name": "BUILDING2",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "bu"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "resource": {
+ "resourceType": "Location",
+ "id": "81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR2",
+ "mode": "instance",
+ "description": "FACILITY2--BUILDING2--FLOOR2",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/81e28943-22c3-d0f9-8b2b-9fd4a3c86cdf"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "fb95e0b1-227c-8068-3e51-86c2df312f25",
+ "telecom": [
+ {
+ "value": "(610)271-9000",
+ "system": "phone"
+ }
+ ],
+ "identifier": [
+ {
+ "value": "9"
+ }
+ ],
+ "name": [
+ {
+ "family": "DENT",
+ "given": [
+ "COREY"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3c93626-c639-1507-76f0-945d762c11a8",
+ "resource": {
+ "resourceType": "PractitionerRole",
+ "id": "f3c93626-c639-1507-76f0-945d762c11a8",
+ "code": [
+ {
+ "coding": [
+ {
+ "code": "enterer",
+ "display": "Enterer",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/additional-practitioner-role"
+ }
+ ]
+ }
+ ],
+ "location": [
+ {
+ "reference": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ ],
+ "practitioner": {
+ "reference": "Practitioner/fb95e0b1-227c-8068-3e51-86c2df312f25"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "PractitionerRole/f3c93626-c639-1507-76f0-945d762c11a8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "resource": {
+ "resourceType": "Location",
+ "id": "5c36a4d3-74e3-6ef9-4be8-215a47dd229e",
+ "name": "FACILITY3",
+ "identifier": [
+ {
+ "value": "urn:oid:1.23",
+ "system": "urn:ietf:rfc:3986"
+ }
+ ],
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/5c36a4d3-74e3-6ef9-4be8-215a47dd229e"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "resource": {
+ "resourceType": "Location",
+ "id": "0d9c3424-329f-4c95-ee30-ac2da4a35bff",
+ "partOf": {
+ "reference": "Location/4204399b-1a0b-7fb2-91ec-9705ef5886e3"
+ },
+ "name": "FLOOR1",
+ "mode": "instance",
+ "description": "FACILITY3--1.23--ISO--BUILDING2--FLOOR1",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/0d9c3424-329f-4c95-ee30-ac2da4a35bff"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9e909e52-61a1-be50-1878-a12ef8c36346",
+ "resource": {
+ "resourceType": "Patient",
+ "id": "9e909e52-61a1-be50-1878-a12ef8c36346",
+ "identifier": [
+ {
+ "value": "1234567",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test",
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ },
+ {
+ "value": "PATID1234",
+ "type": {
+ "coding": [
+ {
+ "code": "MR",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Medical record number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "value": "123456789",
+ "type": {
+ "coding": [
+ {
+ "code": "SS",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Social Security number"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-USSSA"
+ },
+ {
+ "value": "PATID567",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test2"
+ },
+ {
+ "value": "PSSN123121234",
+ "type": {
+ "coding": [
+ {
+ "code": "SB",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
+ }
+ ]
+ },
+ "system": "http://hl7.org/fhir/sid/us-ssn"
+ },
+ {
+ "value": "DLN-123",
+ "type": {
+ "coding": [
+ {
+ "code": "DL"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/US",
+ "period": {
+ "end": "2001-01-23"
+ }
+ }
+ ],
+ "name": [
+ {
+ "family": "EVERYMAN",
+ "given": [
+ "ADAM",
+ "A",
+ "Addsm"
+ ],
+ "suffix": [
+ "III",
+ "MD",
+ "PF"
+ ],
+ "prefix": [
+ "Dr."
+ ],
+ "use": "usual",
+ "period": {
+ "start": "1924-10-12"
+ }
+ },
+ {
+ "family": "Josh",
+ "given": [
+ "stanley"
+ ],
+ "use": "official",
+ "period": {
+ "start": "1924-10-10",
+ "end": "1924-10-15"
+ }
+ },
+ {
+ "family": "elbert",
+ "given": [
+ "Son"
+ ]
+ }
+ ],
+ "birthDate": "1988-08-18",
+ "_birthDate": {
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime": "1988-08-18T14:41:00+05:30"
+ }
+ ]
+ },
+ "gender": "male",
+ "address": [
+ {
+ "line": [
+ "1000",
+ "Hospital Lane",
+ "Ste. 123",
+ "Near Highway"
+ ],
+ "city": "Ann Arbor ",
+ "state": "MI",
+ "postalCode": "99999",
+ "country": "USA",
+ "type": "postal",
+ "district": "W",
+ "period": {
+ "start": "2000-01-10",
+ "end": "2000-01-20"
+ }
+ }
+ ],
+ "telecom": [
+ {
+ "value": "2222",
+ "system": "phone",
+ "period": {
+ "start": "2001-01-10",
+ "end": "2002-01-10"
+ },
+ "rank": 18,
+ "use": "home"
+ },
+ {
+ "value": "12121212",
+ "system": "phone",
+ "use": "home"
+ },
+ {
+ "value": "7777",
+ "system": "phone",
+ "use": "work"
+ },
+ {
+ "value": "1111",
+ "system": "other",
+ "use": "work"
+ },
+ {
+ "value": "89898989",
+ "use": "work",
+ "system": "email"
+ }
+ ],
+ "communication": [
+ {
+ "language": {
+ "coding": [
+ {
+ "code": "ar",
+ "display": "Arabic",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2"
+ },
+ {
+ "code": "en",
+ "display": "English",
+ "system": "urn:ietf:bcp:47",
+ "version": "v2.1"
+ }
+ ],
+ "text": "TextInEnglish"
+ },
+ "preferred": true
+ }
+ ],
+ "maritalStatus": {
+ "coding": [
+ {
+ "code": "M",
+ "display": "Married",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"
+ }
+ ]
+ },
+ "multipleBirthInteger": 2,
+ "deceasedDateTime": "2008-08-25T15:31:30+05:30",
+ "meta": {
+ "lastUpdated": "2005-01-10T04:05:14+05:30"
+ },
+ "extension": [
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2106-3",
+ "display": "White",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2028-9",
+ "display": "Asian",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "White+Asian"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueString": "SMITH--Angela--L"
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress": {
+ "text": "St. Francis Community Hospital of Lower South Side"
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "1002",
+ "display": "African Religions",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-ReligiousAffiliation"
+ }
+ ]
+ }
+ },
+ {
+ "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity",
+ "extension": [
+ {
+ "url": "ombCategory",
+ "valueCoding": {
+ "code": "2186-5",
+ "display": "Non Hispanic or Latino",
+ "system": "urn:oid:2.16.840.1.113883.6.238"
+ }
+ },
+ {
+ "url": "text",
+ "valueString": "Non Hispanic or Latino"
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "US",
+ "display": "United States of America",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "United States of America"
+ }
+ }
+ ]
+ },
+ {
+ "url": "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension": [
+ {
+ "url": "code",
+ "valueCodeableConcept": {
+ "coding": [
+ {
+ "code": "CA",
+ "display": "Canada",
+ "system": "urn:iso:std:iso:3166"
+ }
+ ],
+ "text": "Canada"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:78295402-9b84-4829-b945-502ab3402de5",
+ "resource": {
+ "resourceType": "Account",
+ "id": "78295402-9b84-4829-b945-502ab3402de5",
+ "identifier": [
+ {
+ "value": "4000776",
+ "type": {
+ "coding": [
+ {
+ "code": "VN",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Visit number"
+ }
+ ]
+ },
+ "system": "urn:oid:2.4",
+ "assigner": {
+ "reference": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "status": "active",
+ "subject": [
+ {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Account/78295402-9b84-4829-b945-502ab3402de5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d4c8327-8a28-8152-1898-8251baa707b7",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "9d4c8327-8a28-8152-1898-8251baa707b7",
+ "identifier": [
+ {
+ "value": "AccMgr",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-AccMgr"
+ },
+ {
+ "value": "urn:oid:2.4",
+ "system": "urn:ietf:rfc:3986",
+ "type": {
+ "coding": [
+ {
+ "code": "ISO",
+ "display": "An International Standards Organization Object Identifier (OID), in accordance with ISO/IEC 8824. Formatted as decimal digits separated by periods; recommended limit of 64 characters",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/9d4c8327-8a28-8152-1898-8251baa707b7"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "b3ad3a9f-d4f6-4638-0a09-2da771733488",
+ "identifier": [
+ {
+ "value": "test1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-test1"
+ },
+ {
+ "value": "2.16.1",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/b3ad3a9f-d4f6-4638-0a09-2da771733488"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "resource": {
+ "resourceType": "Organization",
+ "id": "f3954ae4-dec6-f114-1b9e-3a8a85d93f99",
+ "identifier": [
+ {
+ "value": "NTH",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-local-system-NTH"
+ },
+ {
+ "value": "rt23",
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "type": {
+ "coding": [
+ {
+ "code": "HCD",
+ "display": "The CEN Healthcare Coding Scheme Designator",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0301"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "resource": {
+ "resourceType": "RelatedPerson",
+ "id": "62b2e1ee-a272-4ffe-692e-a1fbfd49af6a",
+ "identifier": [
+ {
+ "value": "1212121",
+ "type": {
+ "coding": [
+ {
+ "code": "AND",
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "display": "Account number debitor"
+ }
+ ]
+ },
+ "system": "http://example.com/v2-to-fhir-converter/assigning-authority-universal-system-HCD",
+ "assigner": {
+ "reference": "Organization/f3954ae4-dec6-f114-1b9e-3a8a85d93f99"
+ },
+ "period": {
+ "start": "1924-10-11",
+ "end": "1924-10-12"
+ }
+ }
+ ],
+ "relationship": [
+ {
+ "coding": [
+ {
+ "code": "MTH",
+ "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
+ }
+ ]
+ }
+ ],
+ "patient": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ }
+ },
+ "request": {
+ "method": "PUT",
+ "url": "RelatedPerson/62b2e1ee-a272-4ffe-692e-a1fbfd49af6a"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "8ad3476e-03c9-158e-12d8-20de3070fce5",
+ "status": "revoked",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "58410-2",
+ "display": "CBC Panel-Blood by Automated Count",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Lab Staff Instructions - Patient did not show up"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ },
+ {
+ "reference": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/8ad3476e-03c9-158e-12d8-20de3070fce5"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:dd77839c-6623-a021-29ef-c04fd35460ca",
+ "resource": {
+ "resourceType": "Device",
+ "id": "dd77839c-6623-a021-29ef-c04fd35460ca",
+ "identifier": [
+ {
+ "value": "123",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "ABC Cell Counter",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment available for lab test"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/dd77839c-6623-a021-29ef-c04fd35460ca"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:bc5a0b18-cce5-ddbc-8e45-a09c736af725",
+ "resource": {
+ "resourceType": "Location",
+ "id": "bc5a0b18-cce5-ddbc-8e45-a09c736af725",
+ "name": "LabUnit101",
+ "mode": "instance",
+ "description": "LabUnit101--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "resource": {
+ "resourceType": "Location",
+ "id": "a86368de-48ac-12e3-05e4-6b2da7fa4853",
+ "partOf": {
+ "reference": "Location/bc5a0b18-cce5-ddbc-8e45-a09c736af725"
+ },
+ "name": "Lab Room 01",
+ "mode": "instance",
+ "description": "LabUnit101--Lab Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/a86368de-48ac-12e3-05e4-6b2da7fa4853"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "resource": {
+ "resourceType": "Location",
+ "id": "9d04f983-a391-647a-07a8-e8bf59f77de8",
+ "name": "GHH Hospital",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "si"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for lab test",
+ "Location available for imaging",
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/9d04f983-a391-647a-07a8-e8bf59f77de8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "9d928c63-6d1e-7fb7-fed9-b97b625dc5f8",
+ "identifier": [
+ {
+ "value": "400"
+ }
+ ],
+ "name": [
+ {
+ "family": "PB",
+ "given": [
+ "Tim",
+ "G"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/9d928c63-6d1e-7fb7-fed9-b97b625dc5f8"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b1743c0-089d-d354-0cbe-e548478fd580",
+ "resource": {
+ "resourceType": "ServiceRequest",
+ "id": "2b1743c0-089d-d354-0cbe-e548478fd580",
+ "status": "revoked",
+ "intent": "filler-order",
+ "code": {
+ "coding": [
+ {
+ "code": "42272-5",
+ "display": "XR Chest PA and Lateral",
+ "system": "http://loinc.org"
+ }
+ ]
+ },
+ "subject": {
+ "reference": "Patient/9e909e52-61a1-be50-1878-a12ef8c36346"
+ },
+ "note": [
+ {
+ "text": "Radiology Staff Instructions - Patient did not show up"
+ }
+ ],
+ "performer": [
+ {
+ "reference": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ },
+ {
+ "reference": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ ],
+ "locationReference": [
+ {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "ServiceRequest/2b1743c0-089d-d354-0cbe-e548478fd580"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "resource": {
+ "resourceType": "Device",
+ "id": "d8709d49-8f55-d198-44e8-2cf5ee983e90",
+ "identifier": [
+ {
+ "value": "1001",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/L"
+ }
+ ],
+ "deviceName": [
+ {
+ "name": "XYZ X-Ray Machine",
+ "type": "model-name"
+ }
+ ],
+ "note": [
+ {
+ "text": "Equipment available for imaging"
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Device/d8709d49-8f55-d198-44e8-2cf5ee983e90"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "2b9be76c-a0f5-72ea-b684-51adaf2d95f6",
+ "name": "DiagnosticUnit201",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "resource": {
+ "resourceType": "Location",
+ "id": "e36c1c9d-9008-4267-0e0f-e8b36ec2f208",
+ "partOf": {
+ "reference": "Location/2b9be76c-a0f5-72ea-b684-51adaf2d95f6"
+ },
+ "name": "Imaging Room 01",
+ "mode": "instance",
+ "description": "DiagnosticUnit201--Imaging Room 01--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for imaging"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/e36c1c9d-9008-4267-0e0f-e8b36ec2f208"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:89f153f4-91d2-b658-0242-612129d35f06",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "89f153f4-91d2-b658-0242-612129d35f06",
+ "identifier": [
+ {
+ "value": "500"
+ }
+ ],
+ "name": [
+ {
+ "family": "RT",
+ "given": [
+ "Robert",
+ "C"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/89f153f4-91d2-b658-0242-612129d35f06"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "resource": {
+ "resourceType": "Location",
+ "id": "82709fdd-4012-9faa-5ec3-cf75fd57a34c",
+ "name": "OPD12",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "lvl"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:928bc54e-abd5-e128-504a-f02faf5598e6",
+ "resource": {
+ "resourceType": "Location",
+ "id": "928bc54e-abd5-e128-504a-f02faf5598e6",
+ "partOf": {
+ "reference": "Location/82709fdd-4012-9faa-5ec3-cf75fd57a34c"
+ },
+ "name": "Room 55",
+ "mode": "instance",
+ "description": "OPD12--Room 55--GHH Hospital",
+ "physicalType": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code": "ro"
+ }
+ ]
+ },
+ "alias": [
+ "Location available for checkup"
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Location/928bc54e-abd5-e128-504a-f02faf5598e6"
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "resource": {
+ "resourceType": "Practitioner",
+ "id": "a4177c1c-eb53-edd4-a0ee-1a55b986ea3b",
+ "identifier": [
+ {
+ "value": "600"
+ }
+ ],
+ "name": [
+ {
+ "family": "GP",
+ "given": [
+ "Linda",
+ "R"
+ ]
+ }
+ ]
+ },
+ "request": {
+ "method": "PUT",
+ "url": "Practitioner/a4177c1c-eb53-edd4-a0ee-1a55b986ea3b"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json
index 11110fa16..f88f4571b 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/IZ_1_1.1_Admin_Child_Max_Message-expected.json
@@ -138,7 +138,8 @@
"url": "ombCategory",
"valueCoding": {
"code": "2186-5",
- "display": "2186-5"
+ "display": "non Hispanic or Latino",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCREC"
}
},
{
@@ -268,13 +269,13 @@
}
},
{
- "fullUrl": "urn:uuid:6f2bb641-ec94-319f-da95-e6ed7262b018",
+ "fullUrl": "urn:uuid:cab498e7-22e3-614e-b9ff-079c8535c9d8",
"resource": {
"resourceType": "Provenance",
- "id": "6f2bb641-ec94-319f-da95-e6ed7262b018",
+ "id": "cab498e7-22e3-614e-b9ff-079c8535c9d8",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T14:01:13.556Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.
"
+ "div": "Resource bundle generated on 2021-10-29T08:47:48.697Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.
"
},
"occurredDateTime": "2012-07-01T08:22:00",
"recorded": "2012-07-01T08:22:00",
@@ -308,7 +309,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/6f2bb641-ec94-319f-da95-e6ed7262b018"
+ "url": "Provenance/cab498e7-22e3-614e-b9ff-079c8535c9d8"
}
},
{
@@ -556,6 +557,9 @@
}
]
},
+ "subject": {
+ "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b"
+ },
"partOf": [
{
"reference": "Immunization/9d7483ec-3273-a9d9-0d6c-da4895472607"
@@ -591,6 +595,9 @@
}
]
},
+ "subject": {
+ "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b"
+ },
"partOf": [
{
"reference": "Immunization/9d7483ec-3273-a9d9-0d6c-da4895472607"
@@ -617,6 +624,9 @@
}
]
},
+ "subject": {
+ "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b"
+ },
"partOf": [
{
"reference": "Immunization/9d7483ec-3273-a9d9-0d6c-da4895472607"
@@ -643,6 +653,9 @@
}
]
},
+ "subject": {
+ "reference": "Patient/1b2dce0f-93ae-fae4-cc64-b90257c96f1b"
+ },
"partOf": [
{
"reference": "Immunization/9d7483ec-3273-a9d9-0d6c-da4895472607"
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json
index cbcee7948..78b45d002 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Hl7v2/VXU_V04/VXU-expected.json
@@ -139,7 +139,8 @@
"url": "ombCategory",
"valueCoding": {
"code": "2186-5",
- "display": "2186-5"
+ "display": "Not Hispanic or Latino",
+ "system": "http://example.com/v2-to-fhir-converter/CodeSystem/CDCREC"
}
},
{
@@ -315,13 +316,13 @@
}
},
{
- "fullUrl": "urn:uuid:e07c0451-5793-a1b1-e817-578764a7cc5b",
+ "fullUrl": "urn:uuid:87847f45-4a99-9d88-c439-65574d8fd20b",
"resource": {
"resourceType": "Provenance",
- "id": "e07c0451-5793-a1b1-e817-578764a7cc5b",
+ "id": "87847f45-4a99-9d88-c439-65574d8fd20b",
"text": {
"status": "generated",
- "div": "Resource bundle generated on 2021-10-07T14:01:51.579Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.
"
+ "div": "Resource bundle generated on 2021-10-29T08:47:17.095Z using Microsoft FHIR Converter.Template Version: TEMPLATE_VERSION_PLACEHOLDER.Template URL: https://github.com/microsoft/FHIR-Converter/releases/download/vTEMPLATE_VERSION_PLACEHOLDER/Hl7v2DefaultTemplates.tar.gz.Root template: VXU_V04.
"
},
"occurredDateTime": "2015-06-24T19:17:27.655+05:30",
"recorded": "2015-06-24T19:17:27.655+05:30",
@@ -355,7 +356,7 @@
},
"request": {
"method": "PUT",
- "url": "Provenance/e07c0451-5793-a1b1-e817-578764a7cc5b"
+ "url": "Provenance/87847f45-4a99-9d88-c439-65574d8fd20b"
}
},
{
@@ -519,6 +520,9 @@
]
},
"effectiveDateTime": "2015-06-24",
+ "subject": {
+ "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe"
+ },
"partOf": [
{
"reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db"
@@ -564,6 +568,9 @@
}
]
},
+ "subject": {
+ "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe"
+ },
"partOf": [
{
"reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db"
@@ -600,6 +607,9 @@
]
},
"effectiveDateTime": "2015-06-24",
+ "subject": {
+ "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe"
+ },
"partOf": [
{
"reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db"
@@ -628,6 +638,9 @@
},
"valueDateTime": "2015-06-24",
"effectiveDateTime": "2015-06-24",
+ "subject": {
+ "reference": "Patient/8dc947ee-0db3-5fa2-04bb-16fd7680cfbe"
+ },
"partOf": [
{
"reference": "Immunization/c0f2ddcb-f061-279f-d5e1-7b54b437e9db"
diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Filters/DateFiltersTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Filters/DateFiltersTests.cs
index cdb5d195a..8f2013466 100644
--- a/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Filters/DateFiltersTests.cs
+++ b/src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Filters/DateFiltersTests.cs
@@ -15,12 +15,45 @@ public class DateFiltersTests
{
public static IEnumerable