Data type TQ in FHIR
How the components of data type TQ (Timing Quantity) become FHIR R4 elements, from the HL7 Version 2 to FHIR guide.
- HL7 v2 definition
- Definition of TQ in HL7 v2 2.7
- Maps
- Task (ExecutionPeriod)Task (Priority)AppointmentMedicationRequestServiceRequest
To TaskExecutionPeriod2 rows
| HL7 v2 source | v2 type | FHIR element | FHIR type | Conditions and notes |
|---|---|---|---|---|
TQ.4 | TS | executionPeriod.start | dateTime | |
TQ.5 | TS | executionPeriod.end | dateTime |
To TaskPriority1 rows
| HL7 v2 source | v2 type | FHIR element | FHIR type | Conditions and notes |
|---|---|---|---|---|
TQ.6 | ST | priority | code | Code map request-priority |
To Appointment2 rows
To MedicationRequest10 rows
| HL7 v2 source | v2 type | FHIR element | FHIR type | Conditions and notes |
|---|---|---|---|---|
TQ.1 | CQ | dosageInstruction.doseAndRate.doseQuantity | simpleQuantity | |
TQ.2 | RI | dosageInstruction.doseAndRate.timing | Timing | |
TQ.3 | ST | dosageInstruction.doseAndRate.timing.repeat.duration | decimal | 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. |
TQ.3 | ST | occurenceTiming.repeat.boundsDuration.unit | string | 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. |
TQ.3 | ST | occurenceTiming.repeat.boundsDuration.system | 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.Value "UCUM" | |
TQ.4 | TS | occurrenceTiming.repeat.boundsPeriod.start | dateTime | |
TQ.5 | TS | occurrenceTiming.repeat.boundsPeriod.end | dateTime | |
TQ.6 | ST | priority | code | Code map request-priority |
TQ.8 | TX | note(Annotation.text) | Reference(Annotation) | |
TQ.12 | NM | occurrenceTiming.repeat.count | positiveInt |
To ServiceRequest10 rows
| HL7 v2 source | v2 type | FHIR element | FHIR type | Conditions and notes |
|---|---|---|---|---|
TQ.1 | CQ | quantityQuantity | Quantity | |
TQ.2 | RI | occurrenceTiming | Timing | |
TQ.3 | ST | occurenceTiming.repeat.boundsDuration.value | decimal | 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. |
TQ.3 | ST | occurenceTiming.repeat.boundsDuration.unit | string | 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. |
TQ.3 | ST | occurenceTiming.repeat.boundsDuration.system | 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.Value "UCUM" | |
TQ.4 | TS | occurrenceTiming.repeat.boundsPeriod.start | dateTime | |
TQ.5 | TS | occurrenceTiming.repeat.boundsPeriod.end | dateTime | |
TQ.6 | ST | priority | code | Code map request-priority |
TQ.8 | TX | note(Annotation.text) | Reference(Annotation) | |
TQ.12 | NM | occurrenceTiming.repeat.count | positiveInt |
