HL7 Version 2 to FHIR
1.0.0 - STU 1

HL7 Version 2 to FHIR - Downloaded Version 1.0.0 See the Directory of published versions

## : Datatype TQ to MedicationRequest Map - XML Representation

Page standards status: Informative

Raw xml | Download

    <ConceptMap xmlns="http://hl7.org/fhir">
      <id value="datatype-tq-to-medicationrequest"/>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap datatype-tq-to-medicationrequest</b></p><a name="datatype-tq-to-medicationrequest"> </a><a name="hcdatatype-tq-to-medicationrequest"> </a><p>Mapping from (not specified) to (not specified)</p><br/><p><b>Group 1 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class="grid"><tr><td colspan="3"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="2"><b>Target Concept Details</b></td><td><b>Comment</b></td></tr><tr><td colspan="2"><b>Codes</b> from </td><td><b>NarrativeCondition</b></td><td/><td colspan="2"><b>Codes</b> from </td><td/></tr><tr><td style="border-right-width: 0px">TQ.1</td><td style="border-left-width: 0px">Quantity</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">dosageInstruction.doseAndRate.doseQuantity</td><td style="border-left-width: 0px">dosageInstruction.doseAndRate.doseQuantity</td><td/></tr><tr><td style="border-right-width: 0px">TQ.2</td><td style="border-left-width: 0px">Interval</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">dosageInstruction.doseAndRate.timing</td><td style="border-left-width: 0px">dosageInstruction.doseAndRate.timing</td><td/></tr><tr><td style="border-right-width: 0px">TQ.3</td><td style="border-left-width: 0px">Duration</td><td>If the value and unit in TQ.3 can be unambiguously parsed where the unit is translatable into UCUM and the field contains nothing else.</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">dosageInstruction.doseAndRate.timing.repeat.duration</td><td style="border-left-width: 0px">dosageInstruction.doseAndRate.timing.repeat.duration</td><td/></tr><tr><td style="border-right-width: 0px">TQ.3</td><td style="border-left-width: 0px">Duration</td><td>If the value and unit in TQ.3 can be unambiguously parsed where the unit is translatable into UCUM and the field contains nothing else.</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">occurenceTiming.repeat.boundsDuration.unit</td><td style="border-left-width: 0px">occurenceTiming.repeat.boundsDuration.unit</td><td/></tr><tr><td style="border-right-width: 0px">TQ.3</td><td style="border-left-width: 0px">Duration</td><td>If the value and unit in TQ.3 can be unambiguously parsed where the unit is translatable into UCUM and the field contains nothing else.</td><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">occurenceTiming.repeat.boundsDuration.system</td><td style="border-left-width: 0px">occurenceTiming.repeat.boundsDuration.system</td><td/></tr><tr><td style="border-right-width: 0px">TQ.4</td><td style="border-left-width: 0px">Start Date/Time</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">occurrenceTiming.repeat.boundsPeriod.start</td><td style="border-left-width: 0px">occurrenceTiming.repeat.boundsPeriod.start</td><td/></tr><tr><td style="border-right-width: 0px">TQ.5</td><td style="border-left-width: 0px">End Date/Time</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">occurrenceTiming.repeat.boundsPeriod.end</td><td style="border-left-width: 0px">occurrenceTiming.repeat.boundsPeriod.end</td><td/></tr><tr><td style="border-right-width: 0px">TQ.6</td><td style="border-left-width: 0px">Priority</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">priority</td><td style="border-left-width: 0px">priority</td><td>A translation from the text priority in the v2 message to a coded value in the request-priority value set will be required.</td></tr><tr><td style="border-right-width: 0px">TQ.8</td><td style="border-left-width: 0px">Text</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">note(Annotation.text)</td><td style="border-left-width: 0px">note(Annotation.text)</td><td/></tr><tr><td style="border-right-width: 0px">TQ.12</td><td style="border-left-width: 0px">Total Occurrences</td><td/><td><a href="http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">occurrenceTiming.repeat.count</td><td style="border-left-width: 0px">occurrenceTiming.repeat.count</td><td/></tr></table></div>
      </text>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact">
        <extension url="type">
          <valueCode value="derived-from"/>
        </extension>
        <extension url="label">
          <valueString value="Datatype TQ to MedicationRequest.fsh"/>
        </extension>
        <extension url="url">
          <valueUri
                    value="https://docs.google.com/spreadsheets/d/1lAit5IsCkpdWAJarDdkr2obW-dnabpOPwYos72ac8FY/edit#gid=0"/>
        </extension>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
        <valueCode value="oo"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="informative">
          <extension
                     url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
            <valueCanonical
                            value="http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"/>
          </extension>
        </valueCode>
      </extension>
      <url
           value="http://hl7.org/fhir/uv/v2mappings/ConceptMap/datatype-tq-to-medicationrequest"/>
      <version value="1.0.0"/>
      <name value="DatatypeTQToMedicationRequest"/>
      <title value="Datatype TQ to MedicationRequest Map"/>
      <status value="active"/>
      <experimental value="true"/>
      <date value="2025-08-25"/>
      <publisher value="HL7 International / Orders and Observations"/>
      <contact>
        <name value="HL7 Orders and Observations Workgroup"/>
        <telecom>
          <system value="url"/>
          <value value="http://www.hl7.org/Special/committees/orders"/>
        </telecom>
      </contact>
      <description
                   value="This ConceptMap represents a mapping from the HL7 V2 Datatype TQ to the FHIR MedicationRequest Resource."/>
      <jurisdiction>
        <coding>
          <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
          <code value="001"/>
        </coding>
      </jurisdiction>
      <copyright
                 value="Copyright (c) 2025, HL7 International, Inc., All Rights Reserved."/>
      <group>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="CQ"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="0"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="TQ.1"/>
          <display value="Quantity"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="simpleQuantity"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="dosageInstruction.doseAndRate.doseQuantity"/>
            <display value="dosageInstruction.doseAndRate.doseQuantity"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="RI"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="0"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="TQ.2"/>
          <display value="Interval"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="Timing"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="dosageInstruction.doseAndRate.timing"/>
            <display value="dosageInstruction.doseAndRate.timing"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ST"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="0"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="TQ.3"/>
          <display value="Duration"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="decimal"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="dosageInstruction.doseAndRate.timing.repeat.duration"/>
            <display
                     value="dosageInstruction.doseAndRate.timing.repeat.duration"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Narrative-Condition"/>
              <value
                     value="If the value and unit in TQ.3 can be unambiguously parsed where the unit is translatable into UCUM and the field contains nothing else."/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ST"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="0"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="TQ.3"/>
          <display value="Duration"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="string"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="occurenceTiming.repeat.boundsDuration.unit"/>
            <display value="occurenceTiming.repeat.boundsDuration.unit"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Narrative-Condition"/>
              <value
                     value="If the value and unit in TQ.3 can be unambiguously parsed where the unit is translatable into UCUM and the field contains nothing else."/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ST"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="0"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="TQ.3"/>
          <display value="Duration"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="assignment">
                <valueString value="&quot;UCUM&quot;"/>
              </extension>
            </extension>
            <code value="occurenceTiming.repeat.boundsDuration.system"/>
            <display value="occurenceTiming.repeat.boundsDuration.system"/>
            <equivalence value="equivalent"/>
            <dependsOn>
              <property value="Narrative-Condition"/>
              <value
                     value="If the value and unit in TQ.3 can be unambiguously parsed where the unit is translatable into UCUM and the field contains nothing else."/>
            </dependsOn>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="TS"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="0"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="TQ.4"/>
          <display value="Start Date/Time"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="dateTime"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="occurrenceTiming.repeat.boundsPeriod.start"/>
            <display value="occurrenceTiming.repeat.boundsPeriod.start"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="TS"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="0"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="TQ.5"/>
          <display value="End Date/Time"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="dateTime"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="occurrenceTiming.repeat.boundsPeriod.end"/>
            <display value="occurrenceTiming.repeat.boundsPeriod.end"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="ST"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="0"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="TQ.6"/>
          <display value="Priority"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="code"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
              <extension url="mappedVia">
                <valueUrl value="ConceptMap/table-hl70485-to-request-priority"/>
              </extension>
            </extension>
            <code value="priority"/>
            <display value="priority"/>
            <equivalence value="equivalent"/>
            <comment
                     value="A translation from the text priority in the v2 message to a coded value in the request-priority value set will be required."/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="TX"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="0"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="TQ.8"/>
          <display value="Text"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="Reference(Annotation)"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="-1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="-1"/>
              </extension>
            </extension>
            <code value="note(Annotation.text)"/>
            <display value="note(Annotation.text)"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
        <element>
          <extension
                     url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
            <extension url="type">
              <valueCode value="NM"/>
            </extension>
            <extension url="cardinalityMin">
              <valueInteger value="0"/>
            </extension>
            <extension url="cardinalityMax">
              <valueInteger value="1"/>
            </extension>
          </extension>
          <code value="TQ.12"/>
          <display value="Total Occurrences"/>
          <target>
            <extension
                       url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
              <extension url="type">
                <valueCode value="positiveInt"/>
              </extension>
              <extension url="cardinalityMin">
                <valueInteger value="1"/>
              </extension>
              <extension url="cardinalityMax">
                <valueInteger value="1"/>
              </extension>
            </extension>
            <code value="occurrenceTiming.repeat.count"/>
            <display value="occurrenceTiming.repeat.count"/>
            <equivalence value="equivalent"/>
          </target>
        </element>
      </group>
    </ConceptMap>