HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

This page is part of the HL7 Version 2 to FHIR (v1.0.0-ballot: STU1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions

: Datatype TQ to MedicationRequest Map - XML Representation

Active as of 2023-12-19

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"><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 2023-12-19 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: <a href="http://www.hl7.org/Special/committees/orders">http://www.hl7.org/Special/com...</a>, Keith W. Boone: <a href="mailto:kboone@ainq.com">kboone@ainq.com</a>, Rob Hausam: <a href="mailto:rrhausam@gmail.com">rrhausam@gmail.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/><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="5"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="3"><b>Target Concept Details</b></td><td colspan="3"><b>Properties</b></td></tr><tr><td colspan="2"><b>Codes</b> from </td><td><b>vocabularymap</b></td><td><b>datatypemap</b></td><td><b>value</b></td><td/><td colspan="2"><b>Codes</b> from </td><td><b>narrative</b></td></tr><tr><td style="border-right-width: 0px">TQ.1</td><td style="border-left-width: 0px">Quantity</td><td/><td>CQ[Quantity]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.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>RI[Timing]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.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/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.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>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">Duration</td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.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>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">Duration</td><td/><td/><td>&quot;UCUM&quot;</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.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>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">Start Date/Time</td><td/><td>TS[DateTime]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.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>TS[DateTime]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.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>Priority</td><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.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/></tr><tr><td style="border-right-width: 0px">TQ.8</td><td style="border-left-width: 0px">Text</td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.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/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.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>
  <url
       value="http://hl7.org/fhir/uv/v2mappings/datatype-tq-to-medicationrequest"/>
  <version value="1.0.0-ballot"/>
  <name value="DatatypeTQToMedicationRequest"/>
  <title value="Datatype TQ to MedicationRequest Map"/>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2023-12-19"/>
  <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>
  <contact>
    <name value="Keith W. Boone"/>
    <telecom>
      <system value="email"/>
      <value value="kboone@ainq.com"/>
    </telecom>
  </contact>
  <contact>
    <name value="Rob Hausam"/>
    <telecom>
      <system value="email"/>
      <value value="rrhausam@gmail.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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="occurrenceTiming.repeat.boundsPeriod.start"/>
        <display value="occurrenceTiming.repeat.boundsPeriod.start"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="TS[DateTime]"/>
        </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.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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="occurrenceTiming.repeat.boundsPeriod.end"/>
        <display value="occurrenceTiming.repeat.boundsPeriod.end"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="TS[DateTime]"/>
        </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.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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <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>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="occurrenceTiming.repeat.count"/>
        <display value="occurrenceTiming.repeat.count"/>
        <equivalence value="equivalent"/>
      </target>
    </element>
  </group>
</ConceptMap>