PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.v2mappings@0.1.0
    http://hl7.org/fhir/uv/v2mappings/message-oml-o21-to-bundle
{
  "description": "This ConceptMap represents a mapping from the HL7 V2 Message OML_O21 to the FHIR Message Bundle.",
  "_filename": "example/ConceptMap-message-oml-o21-to-bundle.json",
  "package_name": "hl7.fhir.uv.v2mappings",
  "date": "2020-08-12",
  "targetUri": "Bundle",
  "group": [ {
    "element": [ {
      "code": "OML_O21.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": "OML_O21.MSH",
      "target": [ {
        "code": "MessageHeader[1]",
        "comment": "Processing of the MSH segment results in the creation of a new MessageHeader resource",
        "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": "OML_O21.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": "OML_O21.SFT",
      "target": [ {
        "code": "MessageHeader[1]",
        "comment": "Incorporate SFT content for each of the SFT instances into the MessageHeader created from the MSH segment.",
        "display": "MessageHeader[1]",
        "dependsOn": [ {
          "value": "SFT[MessageHeader]",
          "property": "segment-map"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Software",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.PATIENT.PID",
      "target": [ {
        "code": "Patient[1]",
        "comment": "Processing of the PID segment results in the creation of a new Patient resource",
        "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": "OML_O21.PATIENT.PD1",
      "target": [ {
        "code": "Patient[1]",
        "comment": "Incorporate PD1 content into the Patient created from the PID segment.",
        "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": "OML_O21.PATIENT.PRT",
      "target": [ {
        "code": "PractitionerRole[1]",
        "comment": "Incorporate PRT content into the Patient created from the PID segment when the PRT contains practitioner related data.",
        "display": "PractitionerRole[1]",
        "product": [ {
          "value": "IF PRT-4.1 EQUALS \"PP\" AND PRT-4.3 EQUALS \"HL70443\"",
          "property": "antlr"
        }, {
          "value": "(element(\"4.1\")=\"PP\")and(element(\"4.3\")=\"HL70443\")",
          "property": "fhirpath"
        } ],
        "dependsOn": [ {
          "value": "PRT[PractitionerRole]",
          "property": "segment-map"
        }, {
          "value": "Patient[1].generalPractitioner.reference=PractitionerRole[1].id",
          "property": "references"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Participation (for Patient)",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.PATIENT.PRT",
      "target": [ {
        "code": "RelatedPerson[1]",
        "display": "RelatedPerson[1]",
        "product": [ {
          "value": "IF PRT-4.1 NOT EQUALS \"PP\" OR PRT-4.3 NOT EQUALS \"HL70443\"",
          "property": "antlr"
        }, {
          "value": "(element(\"4.1\"!)=\"PP\")or(element(\"4.3\")!=\"HL70443\")",
          "property": "fhirpath"
        } ],
        "dependsOn": [ {
          "value": "PRT[RelatedPerson]",
          "property": "segment-map"
        }, {
          "value": "RelatedPerson[1].patient.reference=Patient[1].id",
          "property": "references"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Participation (for Patient)",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.PATIENT.NK1",
      "target": [ {
        "code": "RelatedPerson[2]",
        "comment": "Typically, each NK1 will be translated to either a new RelatedPerson resource or added as a new occurrence of Patient.contact, but it's possible to insert the NK1 data into both structures.",
        "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": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.PATIENT.NK1",
      "target": [ {
        "code": "Patient[1]",
        "comment": "Typically, each NK1 will be translated to either a new RelatedPerson resource or added as a new occurrence of Patient.contact, but it's possible to insert the NK1 data into both structures.",
        "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": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.PATIENT.PATIENT_VISIT.PV1",
      "target": [ {
        "code": "Encounter[1]",
        "comment": "Processing of the PV1 segment results in the creation of a new Encounter resource",
        "display": "Encounter[1]",
        "dependsOn": [ {
          "value": "PV1[Encounter]",
          "property": "segment-map"
        }, {
          "value": "Encounter.subject=Patient[PID]",
          "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": "OML_O21.PATIENT.PATIENT_VISIT.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": "OML_O21.PATIENT.PATIENT_VISIT.PV2",
      "target": [ {
        "code": "Encounter[1]",
        "comment": "Incorporate PV2 content into the Encounter created from the PV1 segment.",
        "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": "OML_O21.PATIENT.PATIENT_VISIT.PRT",
      "target": [ {
        "code": "PractitionerRole[2]",
        "comment": "Incorporate PRT content into the Encounter created from the PV1 segment.",
        "display": "PractitionerRole[2]",
        "dependsOn": [ {
          "value": "PRT[PractitionerRole]",
          "property": "segment-map"
        }, {
          "value": "Encounter[1].participant.individual.reference=PractitionerRole[2].id",
          "property": "references"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Participation (for Patient Visit)",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.PATIENT.INSURANCE.IN1",
      "target": [ {
        "code": "Coverage[1]",
        "comment": "Processing of the IN1 segment results in the creation of a new Coverage resource",
        "display": "Coverage[1]",
        "dependsOn": [ {
          "value": "IN1[Coverage]",
          "property": "segment-map"
        }, {
          "value": "Coverage.subscriber=Patient[PID]",
          "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": "OML_O21.PATIENT.INSURANCE.IN2",
      "target": [ {
        "code": "Coverage[1]",
        "comment": "Incorporate IN2 content into the Coverage created from the IN1 segment.",
        "display": "Coverage[1]",
        "dependsOn": [ {
          "value": "IN2[Coverage]",
          "property": "segment-map"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Insurance Additional Information",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "OML_O21.PATIENT.INSURANCE.IN3",
      "target": [ {
        "code": "Coverage[1]",
        "comment": "Incorporate IN3 content into the Coverage created from the IN1 segment.",
        "display": "Coverage[1]",
        "dependsOn": [ {
          "value": "IN3[Coverage]",
          "property": "segment-map"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Insurance Additional Information, Certification",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "OML_O21.PATIENT.AL1",
      "target": [ {
        "code": "AllergyIntolerance",
        "comment": "Processing of the AL1 segment results in the creation of a new AllergyIntolerance resource",
        "display": "AllergyIntolerance",
        "dependsOn": [ {
          "value": "AL1",
          "property": "segment-map"
        }, {
          "value": "AllergyIntolerance.patient=Patient[PID]",
          "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": "OML_O21.ORDER.ORC",
      "target": [ {
        "code": "ServiceRequest[1]",
        "comment": "Processing of each ORC segment results in the creation of a new ServiceRequest resource",
        "display": "ServiceRequest[1]",
        "dependsOn": [ {
          "value": "ORC[ServiceRequest]",
          "property": "segment-map"
        }, {
          "value": "ServiceRequest.subject=Patient[PID]",
          "property": "references"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Common Order",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.ORC",
      "target": [ {
        "code": "Provenance[3]",
        "comment": "Using Provenance is the preferred way, but a local implementation may decide to add extensions to the main resource.  As the use and guidance of Provenance matures we wil revisit this later.",
        "display": "Provenance[3]",
        "dependsOn": [ {
          "value": "ORC[Provenance]",
          "property": "segment-map"
        }, {
          "value": "Provenance.target=ServiceRequest[ORC]",
          "property": "references"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Common Order",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.PRT",
      "target": [ {
        "code": "PractitionerRole[3]",
        "display": "PractitionerRole[3]",
        "product": [ {
          "value": "IF PRT-4.1 EQUALS \"OP\" AND PRT-4.3 EQUALS \"HL70443\"",
          "property": "antlr"
        }, {
          "value": "(element(\"4.1\")=\"OP\")and(element(\"4.3\")=\"HL70443\")",
          "property": "fhirpath"
        } ],
        "dependsOn": [ {
          "value": "PRT[PractitionerRole]",
          "property": "segment-map"
        }, {
          "value": "ServiceRequest[1].requester.reference=PractitionerRole[3].id",
          "property": "references"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Participation (for Common Order)",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.TIMING.TQ1",
      "target": [ {
        "code": "ServiceRequest[1]",
        "display": "ServiceRequest[1]",
        "dependsOn": [ {
          "value": "TQ1[ServiceRequest]",
          "property": "segment-map"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Timing/Quantity",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.TIMING.TQ2",
      "target": [ {
        "code": "ServiceRequest[1]",
        "display": "ServiceRequest[1]",
        "dependsOn": [ {
          "value": "TQ2[ServiceRequest]",
          "property": "segment-map"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Timing/Quantity Order Sequence",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.OBSERVATION_REQUEST.OBR",
      "target": [ {
        "code": "ServiceRequest[1]",
        "comment": "Incorporate OBR content into the ServiceRequest created from the ORC segment in the same segment group.",
        "display": "ServiceRequest[1]",
        "dependsOn": [ {
          "value": "OBR[ServiceRequest]",
          "property": "segment-map"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Observation Request",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.OBSERVATION_REQUEST.NTE",
      "target": [ {
        "code": "ServiceRequest[1]",
        "display": "ServiceRequest[1]",
        "dependsOn": [ {
          "value": "NTE[ServiceRequest]",
          "property": "segment-map"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Notes and Comments (for Detail)",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.OBSERVATION_REQUEST.PRT",
      "target": [ {
        "code": "PractitionerRole[4]",
        "display": "PractitionerRole[4]",
        "product": [ {
          "value": "IF PRT-4.1 EQUALS \"SC\" AND PRT-4.3 EQUALS \"HL70443\"",
          "property": "antlr"
        }, {
          "value": "(element(\"4.1\")=\"SC\")and(element(\"4.3\")=\"HL70443\")",
          "property": "fhirpath"
        } ],
        "dependsOn": [ {
          "value": "PRT[PractitionerRole]",
          "property": "segment-map"
        }, {
          "value": "ServiceRequest[1].specimen[1](Specimen.collection.collector.reference)=PractitionerRole[4].id",
          "property": "references"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Participation (for Observation Request)",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.OBSERVATION_REQUEST.PRT",
      "target": [ {
        "code": "PractitionerRole[3]",
        "display": "PractitionerRole[3]",
        "product": [ {
          "value": "IF PRT-4.1 EQUALS \"OP\" AND PRT-4.3 EQUALS \"HL70443\"",
          "property": "antlr"
        }, {
          "value": "(element(\"4.1\")=\"OP\")and(element(\"4.3\")=\"HL70443\")",
          "property": "fhirpath"
        } ],
        "dependsOn": [ {
          "value": "PRT[PractitionerRole]",
          "property": "segment-map"
        }, {
          "value": "ServiceRequest[1].requester.reference=PractitionerRole[3].id",
          "property": "references"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Participation (for Observation Request)",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.OBSERVATION_REQUEST.DG1",
      "target": [ {
        "code": "Condition[1]",
        "comment": "Processing of the DG1 segment results in the creation of a new Condition resource which is referenced in the ServiceRequest created by the ORC segment",
        "display": "Condition[1]",
        "dependsOn": [ {
          "value": "DG1[Condition]",
          "property": "segment-map"
        }, {
          "value": "ServiceRequest[1].reasonReference.reference=Condition[1].id; Condition[1].subject.reference=Patient[1].id",
          "property": "references"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Diagnosis",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.OBX",
      "target": [ {
        "code": "Observation[1]",
        "display": "Observation[1]",
        "product": [ {
          "value": "IF OBX-29 IN (\"QST\", \"SCI\")",
          "property": "antlr"
        } ],
        "dependsOn": [ {
          "value": "OBX[Observation]",
          "property": "segment-map"
        }, {
          "value": "ServiceRequest[1].supportingInfo.reference=Observation[1].id; Observation[1].subject.id=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": "OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT",
      "target": [ {
        "code": "Device",
        "display": "Device",
        "product": [ {
          "value": "IF PRT-10 VALUED",
          "property": "antlr"
        } ],
        "dependsOn": [ {
          "value": "PRT[Device]",
          "property": "segment-map"
        }, {
          "value": "Observation[2].device.reference=Device.id",
          "property": "references"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Participation (for OBX)",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT",
      "target": [ {
        "code": "Observation[2]",
        "comment": "Incorporate PRT content into the Observation created from the OBX segment in the same segment group when it represents observation location information.",
        "display": "Observation[2]",
        "product": [ {
          "value": "IF PRT-9 VALUED OR IF PRT-14 VALUED",
          "property": "antlr"
        } ],
        "dependsOn": [ {
          "value": "PRT[Observation-Location]",
          "property": "segment-map"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Participation (for OBX)",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.PRT",
      "target": [ {
        "code": "PractitionerRole[7]",
        "comment": "Incorporate PRT content into the Observation created from the OBX segment in the same segment group when it represents observation practitioner information.",
        "display": "PractitionerRole[7]",
        "product": [ {
          "value": "IF PRT-5 VALUED",
          "property": "antlr"
        } ],
        "dependsOn": [ {
          "value": "PRT[PractitionerRole]",
          "property": "segment-map"
        }, {
          "value": "Observation[2].performer.reference=PractitionerRole[7].id",
          "property": "references"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Participation (for OBX)",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.OBSERVATION_REQUEST.OBSERVATION.NTE",
      "target": [ {
        "code": "Observation[1]",
        "display": "Observation[1]",
        "dependsOn": [ {
          "value": "NTE[Observation]",
          "property": "segment-map"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Notes and Comments (for Results)",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 0
        }, {
          "url": "cardinalityMax",
          "valueInteger": -1
        } ]
      } ]
    }, {
      "code": "OML_O21.ORDER.OBSERVATION_REQUEST.SPECIMEN.SPM",
      "target": [ {
        "code": "Specimen",
        "display": "Specimen",
        "dependsOn": [ {
          "value": "SPM[Specimen]",
          "property": "segment-map"
        }, {
          "value": "ServiceRequest[1].specimen.reference=Specimen[SPM].id",
          "property": "references"
        } ],
        "equivalence": "equivalent"
      } ],
      "display": "Specimen",
      "extension": [ {
        "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo",
        "extension": [ {
          "url": "cardinalityMin",
          "valueInteger": 1
        }, {
          "url": "cardinalityMax",
          "valueInteger": 1
        } ]
      } ]
    } ]
  } ],
  "publisher": "HL7 International",
  "jurisdiction": [ {
    "coding": [ {
      "code": "001",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
    } ]
  } ],
  "name": "MessageOML_O21toBundle",
  "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 OML:O21 to Bundle.fsh"
    }, {
      "url": "url",
      "valueUri": "https://docs.google.com/spreadsheets/d/1cSYLIXVfIjl7ib2DEGxD96LD9-YVJNQtKul5IwzJtts/edit#gid=0"
    } ]
  } ],
  "status": "active",
  "id": "2aabcdb4-dbac-43c7-9d91-46899833944c",
  "kind": null,
  "sourceUri": "OML_O21",
  "url": "http://hl7.org/fhir/uv/v2mappings/message-oml-o21-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"
    } ]
  } ]
}