HL7 TQ Timing Quantity

HL7 datatype components TQ components from HL7 v2.5.1 Hide components

These are the generated components for the version selected at the top of the page. The article stays practical, and this panel follows the chosen HL7 version.

Components

PosComponentNameTypeTableDescription
1 TQ.1 Quantity CQ Quantity; Type CQ.
2 TQ.2 Interval RI Interval; Type RI.
3 TQ.3 Duration ST Duration; Type ST.
4 TQ.4 Start Date/Time TS Start Date/Time; Type TS.
5 TQ.5 End Date/Time TS End Date/Time; Type TS.
6 TQ.6 Priority ST Priority; Type ST.
7 TQ.7 Condition ST Condition; Type ST.
8 TQ.8 Text TX Text; Type TX.
9 TQ.9 Conjunction ID 0472 Conjunction; Type ID; HL7 table 0472.
10 TQ.10 Order Sequencing OSD Order Sequencing; Type OSD.
11 TQ.11 Occurrence Duration CE Occurrence Duration; Type CE.
12 TQ.12 Total Occurrences NM Total Occurrences; Type NM.

TQ is the older timing/quantity datatype. You will still see it in older order fields, but newer messages often use TQ1 and RPT-style structures because they are easier to reason about.

In this guide, TQ appears in ECD.4, GOL.15, INV.14, OBR.27, ORC.7, QRF.9 and related fields. That used-by list is a good reality check: the datatype is only half the story, and the field that uses it tells you the workflow.

The component panel above is expanded by default because most datatype pages are used as quick lookup pages. Start there for the exact HL7 v2.5.1 shape, then use the notes below for the practical gotchas.

TQ-1 to TQ-12: Component Quick Read

The generated component panel above is the formal quick lookup. The short version is below so you can scan the shape without counting carets by eye.

The table-backed components here are TQ-9. Keep those values to the table or value set your implementation guide names, especially when the field is crossing organization boundaries.

  • TQ-1 Quantity - Quantity. Type CQ.
  • TQ-2 Interval - Interval. Type RI.
  • TQ-3 Duration - Duration. Type ST.
  • TQ-4 Start Date/Time - Start Date/Time. Type TS.
  • TQ-5 End Date/Time - End Date/Time. Type TS.
  • TQ-6 Priority - Priority. Type ST.
  • TQ-7 Condition - Condition. Type ST.
  • TQ-8 Text - Text. Type TX.
  • TQ-9 Conjunction - Conjunction. Type ID. Table 0472.
  • TQ-10 Order Sequencing - Order Sequencing. Type OSD.
  • TQ-11 Occurrence Duration - Occurrence Duration. Type CE.
  • TQ-12 Total Occurrences - Total Occurrences. Type NM.

Practical Notes

Date and time precision matters. If you only know the date, send the date. If you know the time and timezone, agree how that timezone should be represented. In Integration Soup, date helpers such as GetHL7Date and GetDateFromHL7Date are useful because they keep date formatting and parsing explicit instead of hand-built string slicing.

In HL7 Soup Web, click a field that uses TQ and the interpretation view will show which component you are sitting in and where that value lives in the raw message. That is especially handy with compact datatypes because one missing caret can move every value after it.

Official and Reference Notes

For formal reference, compare the generated HL7 v2.5.1 panel above with the HL7 v2.5.1 datatype list and the HL7 Terminology data type code system. Local implementation guides can narrow allowed values, tables, and component usage.

Related Datatypes

Related quick lookups: CQ, RI, ST, TS, TX, ID.