Segment TQ1 in FHIR
How segment TQ1 (Timing/quantity) becomes FHIR R4 resources, from the HL7 Version 2 to FHIR guide.
- HL7 v2 definition
- Definition of TQ1 in HL7 v2 2.8
- Maps
- MedicationRequestServiceRequest
- Used in messages
- MDM_T02OML_O21
To MedicationRequest15 rows
| HL7 v2 source | v2 type | FHIR element | FHIR type | Conditions and notes |
|---|---|---|---|---|
TQ1-2Quantity | CQ | dosageInstruction.doseAndRate.doseQuantity | simpleQuantity | |
TQ1-3Repeat Pattern | RPT | dosageInstruction.timing | CodeableConcept | |
TQ1-4Explicit Time | TM | dosageInstruction.timing.event | dateTime | |
TQ1-5Relative Time And Units | CQ | dosageInstruction.timing.repeat.offset | unsignedInt | If IF TQ1-3.9 IS EMPTY |
TQ1-6Service Duration | CQ | occurrenceTiming.boundsDuration | SimpleQuantity | If IF TQ1-7 AND TQ1-8 NOT VALUED |
TQ1-6Service Duration | CQ | occurrenceTiming.boundsPeriod.end | dateTime | If IF TQ1-7 VALUED AND TQ1-8 NOT VALUEDValue occurrenceTiming.boundPeriod.start + TQ1-6 |
TQ1-6Service Duration | CQ | occurneceTiming.boundsPeriod.start | dateTime | If IF TQ1-7 NOT VALUED AND TQ1-8 VALUEDValue occurrenceTiming.boundPeriod.end - TQ1-6 |
TQ1-7Start Date/Time | DTM | dosageInstruction.timing.repeat.boundsPeriod.start | dateTime | |
TQ1-8End Date/Time | DTM | dosageInstruction.timing.repeat.boundsPeriod.end | dateTime | |
TQ1-9Priority | CWE | priority | code | Code map request-priority |
TQ1-10Condition Text | TX | dosageInstruction.additionalInstruction.text | string | |
TQ1-11Text Instruction | TX | text | string | |
TQ1-13Occurrence Duration | CQ | dosageInstruction.timing.repeat.duration | decimal | |
TQ1-13Occurrence Duration | CQ | dosageInstruction.timing.repeat.durationUnit | code | |
TQ1-14Total Occurrences | NM | dosageInstruction.timing.repeat.countMax | positiveInt |
To ServiceRequest14 rows
| HL7 v2 source | v2 type | FHIR element | FHIR type | Conditions and notes |
|---|---|---|---|---|
TQ1-2Quantity | CQ | quantityQuantity | Quantity | |
TQ1-3Repeat Pattern | RPT | occurrenceTiming | BackboneElement | |
TQ1-4Explicit Time | TM | occurrenceTiming.repeat.timeOfDay | time | |
TQ1-5Relative Time And Units | CQ | occurrenceTIming.repeat.offset | unsignedInt | If IF TQ1-3.9 IS EMPTY |
TQ1-6Service Duration | CQ | occurrenceTiming.boundsDuration | SimpleQuantity | If IF TQ1-7 AND TQ1-8 NOT VALUED |
TQ1-6Service Duration | CQ | occurrenceTiming.boundsPeriod.end | dateTime | If IF TQ1-7 VALUED AND TQ1-8 NOT VALUEDValue occurrenceTiming.boundPeriod.start + TQ1-6 |
TQ1-6Service Duration | CQ | occurrenceTiming.boundsPeriod.start | dateTime | If IF TQ1-7 NOT VALUED AND TQ1-8 VALUEDValue occurrenceTiming.boundPeriod.end - TQ1-6 |
TQ1-7Start Date/Time | DTM | occurrenceTiming.repeat.boundsPeriod.start | dateTime | |
TQ1-8End Date/Time | DTM | occurrenceTiming.repeat.boundsPeriod.end | dateTime | If IF TQ1-6 NOT VAlUED |
TQ1-9Priority | CWE | priority | code | Code map request-priority |
TQ1-11Text Instruction | TX | note(Annotation.text) | Reference(Annotation) | |
TQ1-13Occurrence Duration | CQ | occurrenceTiming.duration | decimal | |
TQ1-13Occurrence Duration | CQ | occurrenceTiming.durationUnit | code | |
TQ1-14Total Occurrences | NM | occurrenceTiming.repeat.countMax | positiveInt |
