{ "description": "This ConceptMap represents a mapping from the HL7 V2 Message ADT_A04 to the FHIR Message Bundle.", "_filename": "example/ConceptMap-message-adt-a04-to-bundle.json", "package_name": "hl7.fhir.uv.v2mappings", "date": "2020-08-12", "targetUri": "Bundle", "group": [ { "element": [ { "code": "ADT_A04.MSH", "target": [ { "code": "Bundle", "display": "Bundle", "dependsOn": [ { "value": "MSH[Bundle]", "property": "segment-map" } ], "equivalence": "equivalent" } ], "display": "Message Header", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.MSH", "target": [ { "code": "MessageHeader[1]", "display": "MessageHeader[1]", "dependsOn": [ { "value": "MSH[MessageHeader]", "property": "segment-map" } ], "equivalence": "equivalent" } ], "display": "Message Header", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.MSH", "target": [ { "code": "Provenance[1]", "display": "Provenance[1]", "dependsOn": [ { "value": "MSH[Provenance]", "property": "segment-map" }, { "value": "Provenance.target=Bundle; Provenance.target=MessageHeader[MSH]", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Message Header", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.SFT", "target": [ { "code": "MessageHeader[1]", "display": "MessageHeader[1]", "dependsOn": [ { "value": "SFT[MessageHeader]", "property": "segment-map" } ], "equivalence": "equivalent" } ], "display": "Software Segment", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": -1 } ] } ] }, { "code": "ADT_A04.EVN", "target": [ { "code": "Provenance[3]", "display": "Provenance[3]", "dependsOn": [ { "value": "EVN[Provenance]", "property": "segment-map" }, { "value": "Provenance.target=Bundle; Provenance.target=MessageHeader[MSH]", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Event Type", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.PID", "target": [ { "code": "Patient[1]", "display": "Patient[1]", "dependsOn": [ { "value": "PID[Patient]", "property": "segment-map" } ], "equivalence": "equivalent" } ], "display": "Patient Identification", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.PD1", "target": [ { "code": "Patient[1]", "display": "Patient[1]", "dependsOn": [ { "value": "PD1[Patient]", "property": "segment-map" } ], "equivalence": "equivalent" } ], "display": "Additional Demographics", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04:follow:PID.ARV", "target": [ { "code": "Patient[1]", "display": "Patient[1]", "product": [ { "value": "IF ARV-1 IN (\"PID\", \"PD1\") AND ARV-3 NOT VALUED", "property": "antlr" } ], "dependsOn": [ { "value": "ARV[Patient]", "property": "segment-map" }, { "value": "Resource=Patient[1]", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Access Restrictions", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": -1 } ] } ] }, { "code": "ADT_A04:follow:PID.ROL", "target": [ { "code": "Patient[1]", "display": "Patient[1]", "product": [ { "value": "IF ROL-3.1 EQUALS \"PP\" AND ROL-3.3 EQUALS \"HL70443\"", "property": "antlr" }, { "value": "(element(\"3.1\")=\"PP\")and(element(\"3.3\")=\"HL70443\")", "property": "fhirpath" } ], "dependsOn": [ { "value": "ROL[Patient-PractitionerRole]", "property": "segment-map" } ], "equivalence": "equivalent" } ], "display": "Role", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": -1 } ] } ] }, { "code": "ADT_A04:follow:PID.ROL", "target": [ { "code": "RelatedPerson[1]", "display": "RelatedPerson[1]", "product": [ { "value": "IF ROL-3.1 NOT EQUALS \"PP\" OR ROL-3.3 NOT EQUALS \"HL70443\"", "property": "antlr" }, { "value": "(element(\"3.1\")!=\"PP\")or(element(\"3.3\")!=\"HL70443\")", "property": "fhirpath" }, { "value": "While most likely all other HL70443 values go to RelatedPerson, the implementation needs to determine whether that is fully accurate.", "property": "narrative" } ], "dependsOn": [ { "value": "ROL[RelatedPerson]", "property": "segment-map" }, { "value": "RelatedPerson[1].patient.reference=Patient[1].id", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Role", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": -1 } ] } ] }, { "code": "ADT_A04.NEXT_OF_KIN.NK1", "target": [ { "code": "RelatedPerson[2]", "display": "RelatedPerson[2]", "product": [ { "value": "The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin data", "property": "narrative" } ], "dependsOn": [ { "value": "NK1[RelatedPerson]", "property": "segment-map" }, { "value": "RelatedPerson[2].patient.reference=Patient[1].id", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Next of Kin / Associated Parties", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.NEXT_OF_KIN.NK1", "target": [ { "code": "Patient[1]", "display": "Patient[1]", "product": [ { "value": "The FHIR location will depend on the nature of the data being exchanged and how the systems use next of kin data", "property": "narrative" } ], "dependsOn": [ { "value": "NK1[Patient]", "property": "segment-map" } ], "equivalence": "equivalent" } ], "display": "Next of Kin / Associated Parties", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.PV1", "target": [ { "code": "Encounter[1]", "display": "Encounter[1]", "dependsOn": [ { "value": "PV1[Encounter]", "property": "segment-map" }, { "value": "Encounter[1].subject.reference=Patient[1].id", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Patient Visit", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.PV1", "target": [ { "code": "Patient[1]", "display": "Patient[1]", "dependsOn": [ { "value": "PV1[Patient]", "property": "segment-map" } ], "equivalence": "equivalent" } ], "display": "Patient Visit", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.PV2", "target": [ { "code": "Encounter[1]", "display": "Encounter[1]", "dependsOn": [ { "value": "PV2[Encounter]", "property": "segment-map" } ], "equivalence": "equivalent" } ], "display": "Patient Visit - Additional Info.", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04:follow:PV1.ARV", "target": [ { "code": "Encounter[1]", "display": "Encounter[1]", "product": [ { "value": "IF ARV-1 IN (\"PV1\", \"PV2\") AND ARV-3 NOT VALUED", "property": "antlr" } ], "dependsOn": [ { "value": "ARV[Encounter]", "property": "segment-map" }, { "value": "Resource=Encounter[1]", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Access Restrictions", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": -1 } ] } ] }, { "code": "ADT_A04.ROL", "target": [ { "code": "Encounter[1]", "display": "Encounter[1]", "dependsOn": [ { "value": "ROL[Encounter-PractitionerRole]", "property": "segment-map" } ], "equivalence": "equivalent" } ], "display": "Role", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": -1 } ] } ] }, { "code": "ADT_A04.OBSERVATIONADT_A04.OBX", "target": [ { "code": "Observation", "display": "Observation", "dependsOn": [ { "value": "OBX[Observation]", "property": "segment-map" }, { "value": "Observation.subject.reference=Patient[1].id", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Observation/Result", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.OBSERVATIONADT_A04.OBX", "target": [ { "code": "Observation", "display": "Observation", "dependsOn": [ { "value": "OBX[Observation-Component]", "property": "segment-map" }, { "value": "Observation.subject.reference=Patient[1].id", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Observation/Result", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.AL1", "target": [ { "code": "AllergyIntolerance", "display": "AllergyIntolerance", "dependsOn": [ { "value": "AL1[AllergyIntolerance]", "property": "segment-map" }, { "value": "AllergyIntolerance.patient.reference=Patient[1].id", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Allergy Information", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": -1 } ] } ] }, { "code": "ADT_A04.DG1", "target": [ { "code": "Condition", "display": "Condition", "product": [ { "value": "If in context of the patient", "property": "narrative" } ], "dependsOn": [ { "value": "DG1[Condition]", "property": "segment-map" }, { "value": "Condition.subject.reference=Patient[1].id", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Diagnosis Information", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": -1 } ] } ] }, { "code": "ADT_A04.DG1", "target": [ { "code": "Encounter[1]", "display": "Encounter[1]", "product": [ { "value": "IF DG1-6 EQUALS \"admitting\"", "property": "antlr" } ], "dependsOn": [ { "value": "DG1[Encounter]", "property": "segment-map" }, { "value": "Encounter[1].diagnosis.reference=Condition[1].id", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Diagnosis Information", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": -1 } ] } ] }, { "code": "ADT_A04.DG1", "target": [ { "code": "Encounter[1]", "display": "Encounter[1]", "product": [ { "value": "If in context of an encounter", "property": "narrative" } ], "dependsOn": [ { "value": "DG1[Encounter]", "property": "segment-map" }, { "value": "Encounter[1].diagnosis.reference=Condition[1].id", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Diagnosis Information", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": -1 } ] } ] }, { "code": "ADT_A04.DG1", "target": [ { "code": "EpisodeOfCare[1]", "display": "EpisodeOfCare[1]", "product": [ { "value": "If in context of a episode of care", "property": "narrative" } ], "dependsOn": [ { "value": "DG1[EpisodeOfCare]", "property": "segment-map" }, { "value": "EpisodeOfCare.diagnosis.reference=Condition[1].id", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Diagnosis Information", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": -1 } ] } ] }, { "code": "ADT_A04.PROCEDUREADT_A04.PR1", "target": [ { "code": "Procedure", "display": "Procedure", "dependsOn": [ { "value": "PR1[Procedure]", "property": "segment-map" }, { "value": "Procedure.subject.reference=Patient[1].id", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Procedures", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.INSURANCEADT_A04.IN1", "target": [ { "code": "Coverage[1]", "display": "Coverage[1]", "dependsOn": [ { "value": "IN1[Coverage]", "property": "segment-map" }, { "value": "Coverage.subscriber.reference=Patient[1].id", "property": "references" } ], "equivalence": "equivalent" } ], "display": "Insurance", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 1 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.INSURANCEADT_A04.IN2", "target": [ { "code": "Coverage[1]", "display": "Coverage[1]", "dependsOn": [ { "value": "IN2[Coverage]", "property": "segment-map" } ], "equivalence": "equivalent" } ], "display": "Insurance Additional Info.", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": 1 } ] } ] }, { "code": "ADT_A04.INSURANCEADT_A04.IN3", "target": [ { "code": "Coverage[1]", "display": "Coverage[1]", "dependsOn": [ { "value": "IN3[Coverage]", "property": "segment-map" } ], "equivalence": "equivalent" } ], "display": "Insurance Additional Info - Cert.", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo", "extension": [ { "url": "cardinalityMin", "valueInteger": 0 }, { "url": "cardinalityMax", "valueInteger": -1 } ] } ] } ] } ], "publisher": "HL7 International", "jurisdiction": [ { "coding": [ { "code": "001", "system": "http://unstats.un.org/unsd/methods/m49/m49.htm" } ] } ], "name": "MessageADT_A04toBundle", "copyright": "Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.", "type": null, "experimental": "true", "resourceType": "ConceptMap", "title": null, "package_version": "0.1.0", "extension": [ { "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact", "extension": [ { "url": "type", "valueCode": "derived-from" }, { "url": "label", "valueString": "Message ADT:A04 to Bundle.fsh" }, { "url": "url", "valueUri": "https://docs.google.com/spreadsheets/d/10l9wnuBkQPqoYf1XXzyfgF11a1UlamNWqUnapC0hsOY/edit#gid=0" } ] } ], "status": "active", "id": "322355b8-9ec7-4fbf-8797-23aa898983da", "kind": null, "sourceUri": "ADT_A04", "url": "http://hl7.org/fhir/uv/v2mappings/message-adt-a04-to-bundle", "version": "0.1.0", "contact": [ { "name": "HL7 Orders and Observations Workgroup", "telecom": [ { "value": "http://hl7.org/Special/committees/orders/index.cfm", "system": "url" } ] }, { "name": "Keith W. Boone", "telecom": [ { "value": "kboone@ainq.com", "system": "email" } ] } ] }