HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/fhir/uv/v2mappings/ConceptMap/segment-tq1-to-medicationrequest | Version: 1.0.0 | |||
Standards status: Informative | Computable Name: SegmentTQ1ToMedicationRequest | |||
Copyright/Legal: Copyright (c) 2025, HL7 International, Inc., All Rights Reserved. |
This ConceptMap represents a mapping from the HL7 V2 Segment TQ1 to the FHIR MedicationRequest Resource.
This ConceptMap represents the mapping from the HL7 V2 TQ1 Segment to the FHIR MedicationRequest Resource. See also the FHIR Shorthand or the CSV Source.
HL7 v2 | Condition (IF True, args) | HL7 FHIR | Comments | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sort Order | Identifier | Name | Data Type | Cardinality - Min | Cardinality - Max | Computable ANTLR | Computable FHIRPath | Narrative | FHIR Attribute | Extension | Data Type | Cardinality - Min | Cardinality - Max | Data Type Mapping | Vocabulary Mapping (IS, ID, CE, CEN, CWE) | Assignment | |
1 | TQ1-1 | Set ID - TQ1 | SI | 0 | 1 | ||||||||||||
2 | TQ1-2 | Quantity | CQ | 0 | 1 | MedicationRequest.dosageInstruction.doseAndRate.doseQuantity | SimpleQuantity | 0 | 1 | CQ[Quantity] | |||||||
3 | TQ1-3 | Repeat Pattern | RPT | 0 | -1 | MedicationRequest.dosageInstruction.timing | CodeableConcept | 0 | 1 | RPT[Timing] | |||||||
4 | TQ1-4 | Explicit Time | TM | 0 | -1 | MedicationRequest.dosageInstruction.timing.event | dateTime | 0 | 1 | ||||||||
5 | TQ1-5 | Relative Time and Units | CQ | 0 | -1 | IF TQ1-3.9 IS EMPTY | MedicationRequest.dosageInstruction.timing.repeat.offset | unsignedInt | 0 | 1 | CQ[UnsignedInt] | ||||||
6 | TQ1-6 | Service Duration | CQ | 0 | 1 | IF TQ1-7 AND TQ1-8 NOT VALUED | MedicationRequest.occurrenceTiming.boundsDuration | SimpleQuantity | 0 | 1 | CQ[Quantity] | The Duration data type is required to be an expression of time using UCUM units | |||||
6 | TQ1-6 | Service Duration | CQ | 0 | 1 | IF TQ1-7 VALUED AND TQ1-8 NOT VALUED | MedicationRequest.occurrenceTiming.boundsPeriod.end | dateTime | 0 | 1 | occurrenceTiming.boundPeriod.start + TQ1-6 | ||||||
6 | TQ1-6 | Service Duration | CQ | 0 | 1 | IF TQ1-7 NOT VALUED AND TQ1-8 VALUED | MedicationRequest.occurneceTiming.boundsPeriod.start | dateTime | 0 | 1 | occurrenceTiming.boundPeriod.end - TQ1-6 | ||||||
7 | TQ1-7 | Start date/time | DTM | 0 | 1 | MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod.start | dateTime | 0 | 1 | ||||||||
8 | TQ1-8 | End date/time | DTM | 0 | 1 | MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod.end | dateTime | 0 | 1 | ||||||||
9 | TQ1-9 | Priority | CWE | 0 | -1 | MedicationRequest.priority | code | 0 | 1 | ExtendedPriorityCodes | |||||||
10 | TQ1-10 | Condition text | TX | 0 | 1 | MedicationRequest.dosageInstruction.additionalInstruction.text | string | 0 | -1 | ||||||||
11 | TQ1-11 | Text instruction | TX | 0 | 1 | MedicationRequest.text | string | 0 | 1 | ||||||||
12 | TQ1-12 | Conjunction | ID | 0 | 1 | extension??-conjunction | |||||||||||
13 | TQ1-13 | Occurrence duration | CQ | 0 | 1 | MedicationRequest.dosageInstruction.timing.repeat.duration | decimal | 0 | 1 | CQ[Decimal] | |||||||
13 | TQ1-13 | Occurrence duration | CQ | 0 | 1 | MedicationRequest.dosageInstruction.timing.repeat.durationUnit | code | 0 | 1 | CQ[Code] | |||||||
14 | TQ1-14 | Total occurrences | NM | 0 | 1 | MedicationRequest.dosageInstruction.timing.repeat.countMax | positiveInt | 0 | 1 | NM[PositiveInt] |
Mapping from (not specified) to (not specified)
Group 1 Mapping from unspecified code system
to unspecified code system
Source Concept Details | Relationship | Target Concept Details | Comment | |||
Codes from | ComputableANTLR | Codes from | ||||
TQ1-2 | Quantity | is equivalent to | dosageInstruction.doseAndRate.doseQuantity | dosageInstruction.doseAndRate.doseQuantity | ||
TQ1-3 | Repeat Pattern | is equivalent to | dosageInstruction.timing | dosageInstruction.timing | ||
TQ1-4 | Explicit Time | is equivalent to | dosageInstruction.timing.event | dosageInstruction.timing.event | ||
TQ1-5 | Relative Time and Units | IF TQ1-3.9 IS EMPTY | is equivalent to | dosageInstruction.timing.repeat.offset | dosageInstruction.timing.repeat.offset | |
TQ1-6 | Service Duration | IF TQ1-7 AND TQ1-8 NOT VALUED | is equivalent to | occurrenceTiming.boundsDuration | occurrenceTiming.boundsDuration | The Duration data type is required to be an expression of time using UCUM units |
TQ1-6 | Service Duration | IF TQ1-7 VALUED AND TQ1-8 NOT VALUED | is equivalent to | occurrenceTiming.boundsPeriod.end | occurrenceTiming.boundsPeriod.end | |
TQ1-6 | Service Duration | IF TQ1-7 NOT VALUED AND TQ1-8 VALUED | is equivalent to | occurneceTiming.boundsPeriod.start | occurneceTiming.boundsPeriod.start | |
TQ1-7 | Start date/time | is equivalent to | dosageInstruction.timing.repeat.boundsPeriod.start | dosageInstruction.timing.repeat.boundsPeriod.start | ||
TQ1-8 | End date/time | is equivalent to | dosageInstruction.timing.repeat.boundsPeriod.end | dosageInstruction.timing.repeat.boundsPeriod.end | ||
TQ1-9 | Priority | is equivalent to | priority | priority | ||
TQ1-10 | Condition text | is equivalent to | dosageInstruction.additionalInstruction.text | dosageInstruction.additionalInstruction.text | ||
TQ1-11 | Text instruction | is equivalent to | text | text | ||
TQ1-13 | Occurrence duration | is equivalent to | dosageInstruction.timing.repeat.duration | dosageInstruction.timing.repeat.duration | ||
TQ1-13 | Occurrence duration | is equivalent to | dosageInstruction.timing.repeat.durationUnit | dosageInstruction.timing.repeat.durationUnit | ||
TQ1-14 | Total occurrences | is equivalent to | dosageInstruction.timing.repeat.countMax | dosageInstruction.timing.repeat.countMax |