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

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-ballot 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

ConceptMap: Datatype TQnull to MedicationRequest Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/datatype-tq-to-medicationrequest Version: 1.0.0-ballot
Active as of 2024-07-28 Computable Name: DatatypeTQToMedicationRequest

Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Datatype TQ to the FHIR MedicationRequest Resource.

This ConceptMap represents the mapping from the HL7 V2 TQ Data Type 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 AttributeProposed ExtensionData TypeCardinality - MinCardinality - MaxData Type MappingVocabularyAssignment
1TQ.1QuantityCQ01MedicationRequest.dosageInstruction.doseAndRate.doseQuantityMedicationRequest.simpleQuantity01CQ[Quantity]
2TQ.2IntervalRI01MedicationRequest.dosageInstruction.doseAndRate.timingMedicationRequest.Timing01RI[Timing]
3TQ.3DurationST01If the value and unit in TQ.3 can be unambiguously parsed where the unit is translatable into UCUM and the field contains nothing else.MedicationRequest.dosageInstruction.doseAndRate.timing.repeat.durationMedicationRequest.decimal01
3TQ.3DurationST01If the value and unit in TQ.3 can be unambiguously parsed where the unit is translatable into UCUM and the field contains nothing else.MedicationRequest.occurenceTiming.repeat.boundsDuration.unitMedicationRequest.string01
3TQ.3DurationST01If the value and unit in TQ.3 can be unambiguously parsed where the unit is translatable into UCUM and the field contains nothing else.MedicationRequest.occurenceTiming.repeat.boundsDuration.system01"UCUM"
3TQ.3DurationST01If TQ.3 cannot be parsed/translated into the duration datatypeoccurrenceTiming.repeat.extension??-durationMedicationRequest.string01
4TQ.4Start Date/TimeTS01MedicationRequest.occurrenceTiming.repeat.boundsPeriod.startMedicationRequest.dateTime01TS[DateTime]
5TQ.5End Date/TimeTS01MedicationRequest.occurrenceTiming.repeat.boundsPeriod.endMedicationRequest.dateTime01TS[DateTime]
6TQ.6PriorityST01MedicationRequest.priorityMedicationRequest.code01PriorityA translation from the text priority in the v2 message to a coded value in the request-priority value set will be required.
7TQ.7ConditionST01extension??-conditionMedicationRequest.string01
8TQ.8TextTX01MedicationRequest.note(MedicationRequest.Annotation.text)Reference(MedicationRequest.Annotation)0-1
9TQ.9ConjunctionID01
10TQ.10Order SequencingOSD01
11TQ.11Occurrence DurationCE01
12TQ.12Total OccurrencesNM01MedicationRequest.occurrenceTiming.repeat.countMedicationRequest.positiveInt01

Generated Narrative: ConceptMap datatype-tq-to-medicationrequest

Mapping from TQ to MedicationRequest


Group 1 Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsCommentProperties
Codes from vocabularymapdatatypemapvalueCodes from narrative
TQ.1QuantityCQ[Quantity]is equivalent todosageInstruction.doseAndRate.doseQuantitydosageInstruction.doseAndRate.doseQuantity
TQ.2IntervalRI[Timing]is equivalent todosageInstruction.doseAndRate.timingdosageInstruction.doseAndRate.timing
TQ.3Durationis equivalent todosageInstruction.doseAndRate.timing.repeat.durationdosageInstruction.doseAndRate.timing.repeat.durationIf the value and unit in TQ.3 can be unambiguously parsed where the unit is translatable into UCUM and the field contains nothing else.
TQ.3Durationis equivalent tooccurenceTiming.repeat.boundsDuration.unitoccurenceTiming.repeat.boundsDuration.unitIf the value and unit in TQ.3 can be unambiguously parsed where the unit is translatable into UCUM and the field contains nothing else.
TQ.3Duration"UCUM"is equivalent tooccurenceTiming.repeat.boundsDuration.systemoccurenceTiming.repeat.boundsDuration.systemIf the value and unit in TQ.3 can be unambiguously parsed where the unit is translatable into UCUM and the field contains nothing else.
TQ.4Start Date/TimeTS[DateTime]is equivalent tooccurrenceTiming.repeat.boundsPeriod.startoccurrenceTiming.repeat.boundsPeriod.start
TQ.5End Date/TimeTS[DateTime]is equivalent tooccurrenceTiming.repeat.boundsPeriod.endoccurrenceTiming.repeat.boundsPeriod.end
TQ.6PriorityPriorityis equivalent toprioritypriorityA translation from the text priority in the v2 message to a coded value in the request-priority value set will be required.
TQ.8Textis equivalent tonote(Annotation.text)note(Annotation.text)
TQ.12Total Occurrencesis equivalent tooccurrenceTiming.repeat.countoccurrenceTiming.repeat.count

Notes: