HL7 Version 2 to FHIR
0.1.0 - STU1 Ballot

This page is part of the HL7 Version 2 to FHIR (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Datatype TQ to MedicationRequest Map - XML Representation

Raw xml | Download


<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="datatype-tq-to-medicationrequest"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>DatatypeTQtoMedicationRequest (http://hl7.org/fhir/uv/v2mappings/datatype-tq-to-medicationrequest)</h2><p>Mapping from TQ to <a href="http://hl7.org/fhir/R4/medicationrequest.html">MedicationRequest</a></p><p>ACTIVE (not intended for production usage). Published on 2020-08-12 by HL7 International (HL7 Orders and Observations Workgroup: <a href="http://hl7.org/Special/committees/orders/index.cfm">http://hl7.org/Special/committ...</a>, Keith W. Boone: <a href="mailto:kboone@ainq.com">kboone@ainq.com</a>). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.</p><div><p>This ConceptMap represents a mapping from the HL7 V2 Datatype TQ to the FHIR MedicationRequest Resource.</p>
</div><br/><table class="grid"><tr><td colspan="5"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="3"><b>Destination Concept Details</b></td></tr><tr><td colspan="2"><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td><td/><td colspan="2"><b>Code</b> from </td><td><b>Code</b> from </td></tr><tr><td style="border-right-width: 0px">TQ.1</td><td style="border-left-width: 0px"></td><td>CQ[Quantity]</td><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">dosageInstruction.doseAndRate.doseQuantity</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">TQ.2</td><td style="border-left-width: 0px"></td><td>RI[Timing]</td><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">dosageInstruction.doseAndRate.timing</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">TQ.3</td><td style="border-left-width: 0px"></td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">dosageInstruction.doseAndRate.timing.repeat.duration</td><td style="border-left-width: 0px"></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></tr><tr><td style="border-right-width: 0px">TQ.3</td><td style="border-left-width: 0px"></td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">occurenceTiming.repeat.boundsDuration.unit</td><td style="border-left-width: 0px"></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></tr><tr><td style="border-right-width: 0px">TQ.3</td><td style="border-left-width: 0px"></td><td/><td/><td>&quot;UCUM&quot;</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">occurenceTiming.repeat.boundsDuration.system</td><td style="border-left-width: 0px"></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></tr><tr><td style="border-right-width: 0px">TQ.4</td><td style="border-left-width: 0px"></td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">occurrenceTiming.repeat.boundsPeriod.start</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">TQ.5</td><td style="border-left-width: 0px"></td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">occurrenceTiming.repeat.boundsPeriod.end</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">TQ.6</td><td style="border-left-width: 0px"></td><td/><td>Priority</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">priority</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">TQ.8</td><td style="border-left-width: 0px"></td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">note(Annotation.text)</td><td style="border-left-width: 0px"></td><td/></tr><tr><td style="border-right-width: 0px">TQ.12</td><td style="border-left-width: 0px"></td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent">is equivalent to</a></td><td style="border-right-width: 0px">occurrenceTiming.repeat.count</td><td style="border-left-width: 0px"></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>
  <url
       value="http://hl7.org/fhir/uv/v2mappings/datatype-tq-to-medicationrequest"/>
  <version value="0.1.0"/>
  <name value="DatatypeTQtoMedicationRequest"/>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2020-08-12"/>
  <publisher value="HL7 International"/>
  <contact>
    <name value="HL7 Orders and Observations Workgroup"/>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/Special/committees/orders/index.cfm"/>
    </telecom>
  </contact>
  <contact>
    <name value="Keith W. Boone"/>
    <telecom>
      <system value="email"/>
      <value value="kboone@ainq.com"/>
    </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) 2020, HL7 International, Inc., All Rights Reserved."/>
  <sourceUri value="TQ"/>
  <targetUri value="MedicationRequest"/>
  <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"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="CQ[Quantity]"/>
        </dependsOn>
      </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"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="RI[Timing]"/>
        </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="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"/>
        <product>
          <property value="narrative"/>
          <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."/>
        </product>
      </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"/>
        <product>
          <property value="narrative"/>
          <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."/>
        </product>
      </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>
        <code value="occurenceTiming.repeat.boundsDuration.system"/>
        <display value="occurenceTiming.repeat.boundsDuration.system"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="&quot;UCUM&quot;"/>
        </dependsOn>
        <product>
          <property value="narrative"/>
          <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."/>
        </product>
      </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>
        <code value="priority"/>
        <display value="priority"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="vocabulary-map"/>
          <value value="Priority"/>
        </dependsOn>
      </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>