FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: ConceptMap/message-orm-o01-to-bundle

Packagehl7.fhir.uv.v2mappings
Resource TypeConceptMap
Idmessage-orm-o01-to-bundle
FHIR VersionR4
Sourcehttp://hl7.org/fhir/uv/v2mappings/https://build.fhir.org/ig/HL7/v2-to-fhir/ConceptMap-message-orm-o01-to-bundle.html
URLhttp://hl7.org/fhir/uv/v2mappings/ConceptMap/message-orm-o01-to-bundle
Version1.0.0
Statusactive
Date2025-07-23
NameMessageORM_O01ToBundle
TitleMessage ORM_O01 to Bundle Map
Realmuv
Authorityhl7
DescriptionThis ConceptMap represents a mapping from the HL7 V2 Message ORM_O01 to the FHIR Message Bundle.
CopyrightCopyright (c) 2025, HL7 International, Inc., All Rights Reserved.

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: ConceptMap message-orm-o01-to-bundle

Mapping from (not specified) to (not specified)


Group 1 Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsComment
Codes from NarrativeConditionComputableFHIRPathComputableANTLRCodes from
ORM_O01.MSHMessage Headeris equivalent toBundleBundle
ORM_O01.MSHMessage Headeris equivalent toMessageHeader[1]MessageHeader[1]Processing of the MSH segment results in the creation of a new MessageHeader resource
ORM_O01.MSHMessage HeaderIf there is a source in MSH-4, or known based on the configuration.is equivalent toProvenance[1]Provenance[1]If the FHIR transformation does not yield a FHIR message, but only a set of resource (APIs, repository, etc.) than one should consider attaching this Provenance resource instance to the relevant FHIR resources generated.
ORM_O01.MSHMessage Headeris equivalent toProvenance[2]Provenance[2]If the FHIR transformation does not yield a FHIR Bunlde, but only a set of resource (APIs, repository, etc.) than one should consider attaching this Provenance resource instance to the relevant FHIR resources generated.
ORM_O01.PATIENT.PIDPatient Identificationis equivalent toPatient[1]Patient[1]Processing of the PID segment results in the creation of a new Patient resource
ORM_O01.PATIENT.PIDPatient IdentificationOne may drop PID-33 from the condition if PID-34 Last Update Facility is still sufficient without a date.IF PID-33 AND PID-34 VALUEDis equivalent toProvenance[4]Provenance[4]
ORM_O01.PATIENT.PD1Additional Demographicsis equivalent toPatient[1]Patient[1]Incorporate PD1 content into the Patient created from the PID segment.
ORM_O01.PATIENT.PD1Additional DemographicsIF PD1-7 VALUEDis equivalent toObservation[2]Observation[2]
ORM_O01.PATIENT.VISIT.PV1Patient Visitis equivalent toEncounter[1]Encounter[1]Processing of the PV1 segment results in the creation of a new Encounter resource
ORM_O01.PATIENT.VISIT.PV1Patient VisitIF PV1-43 VALUEDis equivalent toBasicBasic
ORM_O01.PATIENT.VISIT.PV1Patient Visitis equivalent toPatient[1]Patient[1]
ORM_O01.PATIENT.VISIT.PV1Patient VisitIF PV1-20 VALUEis equivalent toCoverage[1]Coverage[1]
ORM_O01.PATIENT.VISIT.PV2Patient Visit- Additional Infois equivalent toEncounter[1]Encounter[1]Incorporate PV2 content into the Encounter created from the PV1 segment.
ORM_O01.PATIENT.INSURANCE.IN1Insuranceis equivalent toCoverage[1]Coverage[1]Processing of the IN1 segment results in the creation of a new Coverage resource
ORM_O01.PATIENT.INSURANCE.IN2Insurance Additional Infois equivalent toCoverage[1]Coverage[1]Incorporate IN2 content into the Coverage created from the IN1 segment.
ORM_O01.PATIENT.INSURANCE.IN3Insurance Add'l Info – Cert.is equivalent toCoverage[1]Coverage[1]Incorporate IN3 content into the Coverage created from the IN1 segment.
ORM_O01.PATIENT.AL1Allergy Informationis equivalent toAllergyIntoleranceAllergyIntoleranceProcessing of the AL1 segment results in the creation of a new AllergyIntolerance resource
ORM_O01.ORDER.ORCCommon Orderis equivalent toServiceRequest[1]ServiceRequest[1]Processing of each ORC segment results in the creation of a new ServiceRequest resource
ORM_O01.ORDER.ORCCommon Orderhis equivalent toTask[1]Task[1]Processing of each ORC segment results in the creation of a new Task resource which is linked back to the ServiceRequest created for the same ORC segment. =*= The creation of a Task resource and its inclusion in the FHIR bundle should only happen when the receiving system is responsible for fulfillment of the ServiceRequest. Other systems may receive notification of the order, but should not receive a Task Resource if they are not the intended filler system. =*= The actual value of the ORC-1 Order Control Code will yield different population of the Task resource.
ORM_O01.ORDER.ORCCommon Orderis equivalent toProvenance[2]Provenance[2]
ORM_O01.ORDER_DETAIL.CHOICE.OBROrder Detail Segment OBR, etc.IF PID VALUEDis equivalent toServiceRequest[1]ServiceRequest[1]Incorporate OBR content into the ServiceRequest created from the ORC segment in the same segment group.
ORM_O01.ORDER_DETAIL.CHOICE.OBROrder Detail Segment OBR, etc.IF PID NOT VALUEDis equivalent toSupplyRequest[1]SupplyRequest[1]
ORM_O01.ORDER_DETAIL.CHOICE.RXOPharmacy/Treatment Orderis equivalent toMedicationRequestMedicationRequest
ORM_O01.ORDER_DETAIL.CHOICE.ODSDietary Orders, Supplements, and PreferencesIF PID NOT VALUEDis equivalent toSupplyRequest[2]SupplyRequest[2]
ORM_O01.ORDER_DETAIL.NTENotes and Comments (for Detail)is equivalent toServiceRequest[1].noteServiceRequest[1].note
ORM_O01.ORDER_DETAIL.DG1Diagnosisis equivalent toServiceRequest[1].reasonReference(Condition)ServiceRequest[1].reasonReference(Condition)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
ORM_O01.ORDER_DETAIL.OBSERVATION.OBXObservation/ResultIF OBX-5 LST.count LESS THAN OR EQUALS 1 OR OBX-2 IS "NA"is equivalent toObservation[1]Observation[1]
ORM_O01.ORDER_DETAIL.OBSERVATION.OBXObservation/ResultIF OBX-5 LST.count GREATER THAN 1 AND OBX-2 IS NOT "NA"is equivalent toObservation[1]Observation[1]

Source

{
  "resourceType": "ConceptMap",
  "id": "message-orm-o01-to-bundle",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "extension": [
        {
          "url": "type",
          "valueCode": "derived-from"
        },
        {
          "url": "label",
          "valueString": "Message ORM:O01 to Bundle.fsh"
        },
        {
          "url": "url",
          "valueUri": "https://docs.google.com/spreadsheets/d/19C2jjzXZ8D7Um1iB-e6NmLfZVPvyZNkgwU8IxCJiwGs/edit#gid=0"
        }
      ],
      "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "oo"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "informative",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/uv/v2mappings/ConceptMap/message-orm-o01-to-bundle",
  "version": "1.0.0",
  "name": "MessageORM_O01ToBundle",
  "title": "Message ORM_O01 to Bundle Map",
  "status": "active",
  "experimental": true,
  "date": "2025-07-23",
  "publisher": "HL7 International / Orders and Observations",
  "contact": [
    {
      "name": "HL7 Orders and Observations Workgroup",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/orders"
        }
      ]
    }
  ],
  "description": "This ConceptMap represents a mapping from the HL7 V2 Message ORM_O01 to the FHIR Message Bundle.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "copyright": "Copyright (c) 2025, HL7 International, Inc., All Rights Reserved.",
  "group": [
    {
      "element": [
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.MSH",
          "display": "Message Header",
          "target": [
            {
              "code": "Bundle",
              "display": "Bundle",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.MSH",
          "display": "Message Header",
          "target": [
            {
              "code": "MessageHeader[1]",
              "display": "MessageHeader[1]",
              "equivalence": "equivalent",
              "comment": "Processing of the MSH segment results in the creation of a new MessageHeader resource"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.MSH",
          "display": "Message Header",
          "target": [
            {
              "code": "Provenance[1]",
              "display": "Provenance[1]",
              "equivalence": "equivalent",
              "comment": "If the FHIR transformation does not yield a FHIR message, but only a set of resource (APIs, repository, etc.) than one should consider attaching this Provenance resource instance to the relevant FHIR resources generated.",
              "dependsOn": [
                {
                  "property": "Narrative-Condition",
                  "value": "If there is a source in MSH-4, or known based on the configuration."
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.MSH",
          "display": "Message Header",
          "target": [
            {
              "code": "Provenance[2]",
              "display": "Provenance[2]",
              "equivalence": "equivalent",
              "comment": "If the FHIR transformation does not yield a FHIR Bunlde, but only a set of resource (APIs, repository, etc.) than one should consider attaching this Provenance resource instance to the relevant FHIR resources generated."
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.PID",
          "display": "Patient Identification",
          "target": [
            {
              "code": "Patient[1]",
              "display": "Patient[1]",
              "equivalence": "equivalent",
              "comment": "Processing of the PID segment results in the creation of a new Patient resource"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.PID",
          "display": "Patient Identification",
          "target": [
            {
              "code": "Provenance[4]",
              "display": "Provenance[4]",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF PID-33 AND PID-34 VALUED"
                },
                {
                  "property": "Narrative-Condition",
                  "value": "One  may drop PID-33 from the condition if PID-34 Last Update Facility is still sufficient without a date."
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.PD1",
          "display": "Additional Demographics",
          "target": [
            {
              "code": "Patient[1]",
              "display": "Patient[1]",
              "equivalence": "equivalent",
              "comment": "Incorporate PD1 content into the Patient created from the PID segment."
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.PD1",
          "display": "Additional Demographics",
          "target": [
            {
              "code": "Observation[2]",
              "display": "Observation[2]",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF PD1-7 VALUED"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.VISIT.PV1",
          "display": "Patient Visit",
          "target": [
            {
              "code": "Encounter[1]",
              "display": "Encounter[1]",
              "equivalence": "equivalent",
              "comment": "Processing of the PV1 segment results in the creation of a new Encounter resource"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.VISIT.PV1",
          "display": "Patient Visit",
          "target": [
            {
              "code": "Basic",
              "display": "Basic",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF PV1-43 VALUED"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.VISIT.PV1",
          "display": "Patient Visit",
          "target": [
            {
              "code": "Patient[1]",
              "display": "Patient[1]",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.VISIT.PV1",
          "display": "Patient Visit",
          "target": [
            {
              "code": "Coverage[1]",
              "display": "Coverage[1]",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF PV1-20 VALUE"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.VISIT.PV2",
          "display": "Patient Visit- Additional Info",
          "target": [
            {
              "code": "Encounter[1]",
              "display": "Encounter[1]",
              "equivalence": "equivalent",
              "comment": "Incorporate PV2 content into the Encounter created from the PV1 segment."
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.INSURANCE.IN1",
          "display": "Insurance",
          "target": [
            {
              "code": "Coverage[1]",
              "display": "Coverage[1]",
              "equivalence": "equivalent",
              "comment": "Processing of the IN1 segment results in the creation of a new Coverage resource"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.INSURANCE.IN2",
          "display": "Insurance Additional Info",
          "target": [
            {
              "code": "Coverage[1]",
              "display": "Coverage[1]",
              "equivalence": "equivalent",
              "comment": "Incorporate IN2 content into the Coverage created from the IN1 segment."
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.INSURANCE.IN3",
          "display": "Insurance Add'l Info – Cert.",
          "target": [
            {
              "code": "Coverage[1]",
              "display": "Coverage[1]",
              "equivalence": "equivalent",
              "comment": "Incorporate IN3 content into the Coverage created from the IN1 segment."
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": -1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.PATIENT.AL1",
          "display": "Allergy Information",
          "target": [
            {
              "code": "AllergyIntolerance",
              "display": "AllergyIntolerance",
              "equivalence": "equivalent",
              "comment": "Processing of the AL1 segment results in the creation of a new AllergyIntolerance resource"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.ORDER.ORC",
          "display": "Common Order",
          "target": [
            {
              "code": "ServiceRequest[1]",
              "display": "ServiceRequest[1]",
              "equivalence": "equivalent",
              "comment": "Processing of each ORC segment results in the creation of a new ServiceRequest resource"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.ORDER.ORC",
          "display": "Common Order",
          "target": [
            {
              "code": "Task[1]",
              "display": "Task[1]",
              "equivalence": "equivalent",
              "comment": "Processing of each ORC segment results in the creation of a new Task resource which is linked back to the ServiceRequest created for the same ORC segment. =*= The creation of a Task resource and its inclusion in the FHIR bundle should only happen when the receiving system is responsible for fulfillment of the ServiceRequest. Other systems may receive notification of the order, but should not receive a Task Resource if they are not the intended filler system. =*= The actual value of the ORC-1 Order Control Code will yield different population of the Task resource.",
              "dependsOn": [
                {
                  "property": "Computable-FHIRPath",
                  "value": "h"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.ORDER.ORC",
          "display": "Common Order",
          "target": [
            {
              "code": "Provenance[2]",
              "display": "Provenance[2]",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.ORDER_DETAIL.CHOICE.OBR",
          "display": "Order Detail Segment OBR, etc.",
          "target": [
            {
              "code": "ServiceRequest[1]",
              "display": "ServiceRequest[1]",
              "equivalence": "equivalent",
              "comment": "Incorporate OBR content into the ServiceRequest created from the ORC segment in the same segment group.",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF PID VALUED"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.ORDER_DETAIL.CHOICE.OBR",
          "display": "Order Detail Segment OBR, etc.",
          "target": [
            {
              "code": "SupplyRequest[1]",
              "display": "SupplyRequest[1]",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF PID NOT VALUED"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.ORDER_DETAIL.CHOICE.RXO",
          "display": "Pharmacy/Treatment Order",
          "target": [
            {
              "code": "MedicationRequest",
              "display": "MedicationRequest",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.ORDER_DETAIL.CHOICE.ODS",
          "display": "Dietary Orders, Supplements, and Preferences",
          "target": [
            {
              "code": "SupplyRequest[2]",
              "display": "SupplyRequest[2]",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF PID NOT VALUED"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": -1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.ORDER_DETAIL.NTE",
          "display": "Notes and Comments (for Detail)",
          "target": [
            {
              "code": "ServiceRequest[1].note",
              "display": "ServiceRequest[1].note",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": -1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.ORDER_DETAIL.DG1",
          "display": "Diagnosis",
          "target": [
            {
              "code": "ServiceRequest[1].reasonReference(Condition)",
              "display": "ServiceRequest[1].reasonReference(Condition)",
              "equivalence": "equivalent",
              "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"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.ORDER_DETAIL.OBSERVATION.OBX",
          "display": "Observation/Result",
          "target": [
            {
              "code": "Observation[1]",
              "display": "Observation[1]",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF OBX-5 LST.count LESS THAN OR EQUALS 1 OR OBX-2 IS \"NA\""
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "ORM_O01.ORDER_DETAIL.OBSERVATION.OBX",
          "display": "Observation/Result",
          "target": [
            {
              "code": "Observation[1]",
              "display": "Observation[1]",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF  OBX-5 LST.count GREATER THAN 1 AND OBX-2 IS NOT \"NA\""
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}