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

ConceptMap: Segment TQ1 to MedicationRequest Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/segment-tq1-to-medicationrequest Version: 1.0.0-ballot
Active as of 2023-12-19 Computable Name: SegmentTQ1ToMedicationRequest

Copyright/Legal: Copyright (c) 2020, 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 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierNameData TypeCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativeFHIR AttributeExtensionData TypeCardinality - MinCardinality - MaxData Type MappingAssignmentVocabulary Mapping
(IS, ID, CE, CEN, CWE)
1TQ1-1Set ID - TQ1SI01
2TQ1-2QuantityCQ01MedicationRequest.dosageInstruction.doseAndRate.doseQuantityMedicationRequest.simpleQuantity01CQ[Quantity]
3TQ1-3Repeat PatternRPT0-1MedicationRequest.dosageInstruction.timingMedicationRequest.CodeableConcept01RPT[Timing]
4TQ1-4Explicit TimeTM0-1MedicationRequest.dosageInstruction.timing.eventMedicationRequest.dateTime01
5TQ1-5Relative Time and UnitsCQ0-1IF TQ1-3.9 IS EMPTYMedicationRequest.dosageInstruction.timing.repeat.offsetMedicationRequest.unsignedInt01CQ[UnsignedInt]
6TQ1-6Service DurationCQ01IF TQ1-7 AND TQ1-8 NOT VALUEDMedicationRequest.occurrenceTiming.boundsDurationMedicationRequest.SimplyQuantity01CQ[Quantity]
6TQ1-6Service DurationCQ01IF TQ1-7 VALUED AND TQ1-8 NOT VALUEDMedicationRequest.occurrenceTiming.boundsPeriod.endMedicationRequest.dateTime01occurrenceTiming.boundPeriod.start + TQ1-6
6TQ1-6Service DurationCQ01IF TQ1-7 NOT VALUED AND TQ1-8 VALUEDMedicationRequest.occurneceTiming.boundsPeriod.startMedicationRequest.dateTime01occurrenceTiming.boundPeriod.end - TQ1-6
7TQ1-7Start date/timeDTM01MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod.startMedicationRequest.dateTime01
8TQ1-8End date/timeDTM01MedicationRequest.dosageInstruction.timing.repeat.boundsPeriod.endMedicationRequest.dateTime01
9TQ1-9PriorityCWE0-1MedicationRequest.priorityMedicationRequest.code01Priority
10TQ1-10Condition textTX01MedicationRequest.dosageInstruction.additionalInstruction.textMedicationRequest.string0-1
11TQ1-11Text instructionTX01MedicationRequest.textMedicationRequest.string01
12TQ1-12ConjunctionID01extension??-conjunction
13TQ1-13Occurrence durationCQ01MedicationRequest.dosageInstruction.timing.repeat.durationMedicationRequest.decimal01CQ[Decimal]
13TQ1-13Occurrence durationCQ01MedicationRequest.dosageInstruction.timing.repeat.durationUnitMedicationRequest.code01CQ[Code]
14TQ1-14Total occurrencesNM01MedicationRequest.dosageInstruction.timing.repeat.countMaxMedicationRequest.positiveInt01NM[PositiveInt]

Mapping from TQ1 to MedicationRequest

ACTIVE (not intended for production usage). Published on 2023-12-19 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: http://www.hl7.org/Special/com..., Keith W. Boone: kboone@ainq.com, Rob Hausam: rrhausam@gmail.com). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Segment TQ1 to the FHIR MedicationRequest Resource.


Group 1Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsProperties
Codes from vocabularymapdatatypemapvalueCodes from antlr
TQ1-2QuantityCQ[Quantity]is equivalent todosageInstruction.doseAndRate.doseQuantitydosageInstruction.doseAndRate.doseQuantity
TQ1-3Repeat PatternRPT[Timing]is equivalent todosageInstruction.timingdosageInstruction.timing
TQ1-4Explicit Timeis equivalent todosageInstruction.timing.eventdosageInstruction.timing.event
TQ1-5Relative Time and UnitsCQ[UnsignedInt]is equivalent todosageInstruction.timing.repeat.offsetdosageInstruction.timing.repeat.offsetIF TQ1-3.9 IS EMPTY
TQ1-6Service DurationCQ[Quantity]is equivalent tooccurrenceTiming.boundsDurationoccurrenceTiming.boundsDurationIF TQ1-7 AND TQ1-8 NOT VALUED
TQ1-6Service DurationoccurrenceTiming.boundPeriod.start + TQ1-6is equivalent tooccurrenceTiming.boundsPeriod.endoccurrenceTiming.boundsPeriod.endIF TQ1-7 VALUED AND TQ1-8 NOT VALUED
TQ1-6Service DurationoccurrenceTiming.boundPeriod.end - TQ1-6is equivalent tooccurneceTiming.boundsPeriod.startoccurneceTiming.boundsPeriod.startIF TQ1-7 NOT VALUED AND TQ1-8 VALUED
TQ1-7Start date/timeis equivalent todosageInstruction.timing.repeat.boundsPeriod.startdosageInstruction.timing.repeat.boundsPeriod.start
TQ1-8End date/timeis equivalent todosageInstruction.timing.repeat.boundsPeriod.enddosageInstruction.timing.repeat.boundsPeriod.end
TQ1-9PriorityPriorityis equivalent toprioritypriority
TQ1-10Condition textis equivalent todosageInstruction.additionalInstruction.textdosageInstruction.additionalInstruction.text
TQ1-11Text instructionis equivalent totexttext
TQ1-13Occurrence durationCQ[Decimal]is equivalent todosageInstruction.timing.repeat.durationdosageInstruction.timing.repeat.duration
TQ1-13Occurrence durationCQ[Code]is equivalent todosageInstruction.timing.repeat.durationUnitdosageInstruction.timing.repeat.durationUnit
TQ1-14Total occurrencesNM[PositiveInt]is equivalent todosageInstruction.timing.repeat.countMaxdosageInstruction.timing.repeat.countMax

Notes: