Page tree
Skip to end of metadata
Go to start of metadata

In HL7 V2.4 there are two table types, reflecting content ownership: HL7 defined and User-defined. Local implementation may further constrain these table types.

User-defined Tables 

A user-defined table is a set of values that are locally or site defined.

HL7 Tables

An HL7 table is a set of values defined and published by HL7. They are a part of the HL7 Standard because they affect the interpretation of the messages that contain them. These values may not be redefined locally; however, the table itself may be extended to accommodate locally defined values. HL7 tables can be thought of as universally used tables.

Quick links to HL7 and User-Defined code Tables

Following are quick links to HL7 and User defined tables described in the chapters that are commonly used in Australian messaging.

Quick links:

User-defined Table 0001 - Administrative sex  

HL7 Table 0002 - Martial status  

User-defined Table 0004 - Patient class  

User-defined Table 0006 - Religion

User-defined Table 0007 - Admission type

HL7 Table 0008 - Acknowledgment code 

User-defined Table 0009 - Ambulatory status

User-defined Table 0010 - Physician ID

User-defined Table 0018 - Patient type

User-defined Table 0021 - Bad debt agency code  

User-defined Table 0023 - Admit source

User-defined Table 0032 - Charge/price indicator

HL7 Table 0038 - Order status

User-defined Table 0044 - Contract code

User-defined Table 0045 - Courtesy code

User-defined Table 0046 - Credit rating

HL7 Table 0048 - What subject filter

HL7 Table 0061 - Check digit scheme 

User defined Table 0063 - Relationship

User-defined Table 0064 - Financial class

HL7 Table 0065 - Specimen Action Code

User-defined Table 0069 - Hospital service

User-defined Table 0073 - Interest rate code

HL7 Table 0074 - Diagnostic service section ID

User-defined Table 0078 - Abnormal flags

HL7 Table 0080 - Nature of abnormal testing

HL7 Table 0085 - Observation result status codes interpretation

User-defined Table 0087 - Pre-admit test indicator

User-defined Table 0088 - Procedure code

HL7 Table 0091 - Query priority

User-defined Table 0092 - Re-admission indicator

User-defined Table 0099 - VIP indicator

HL7 Table 0102 - Delayed acknowledgment type

HL7 Table 0103 - Processing ID

HL7 Table 0104 - Version ID  

HL7 Table 0106 - Query/response format code

HL7 Table 0107 - Deferred response type

HL7 Table 0108 - Query results level

User-defined Table 0110 - Transfer to bad debt code  

User-defined Table 0111 - Delete account code

User-defined Table 0112 - Discharge disposition

User-defined Table 0113 - Discharged to location

User-defined Table 0114 - Diet type

User-defined Table 0115 - Servicing facility

User-defined Table 0116 - Bed status

User-defined Table 0117 - Account status

HL7 Table 0119 - Order control codes

HL7 Table 0121 - Response flag

HL7 Table 0123 - Result status

HL7 Table 0124 - Transportation mode

HL7 Table 0125 - Value type

HL7 Table 0126 - Quantity limited request

User-defined Table 0127 - Allergen type

User-defined Table 0128 - Allergy severity

User-defined Table 0129 - Accommodation code

User-defined Table 0130 - Visit user code 

HL7 Table 0136 - Yes/No Indicator

HL7 Table 0155 - Accept/application acknowledgment conditions 

HL7 Table 0156 - Which date/time qualifier

HL7 Table 0157 - Which date/time status qualifier

HL7 Table 0158 - Date/time selection qualifier

HL7 Table 0163 – Body site

User-defined Table 0171 - Citizenship 

HL7 Table 0190 - Address Type

HL7 Table 0191 - Type of referenced data

HL7 Table 0200 - Name type  

HL7 Table 0201 - Telecommunication use code  

HL7 Table 0202 - Telecommunication equipment type

HL7 Table 0203 - Identifier Type

User-defined Table 0204 - Organizational name type 

HL7 Table 0207 - Processing mode  

HL7 Table 0211 - Alternate character sets  

User-defined Table 0112 - Discharge disposition

User-defined Table 0213 - Purge status code

User-defined Table 0214 - Special program codes

User-defined Table 0215 - Publicity code

User-defined Table 0216 - Patient status

User-defined Table 0217 - Visit priority code

User-defined Table 0219 - Recurring service

HL7 Table 0224 - Transport arranged

HL7 Table 0225 - Escort required

HL7 Table 0260 - Patient Location Type

User-defined Table 0288 - Census tract

User-defined Table 0289 - County/parish

HL7 Table 0290 - MIME base64 encoding characters

HL7 Table 0291 - Subtype of referenced data

User-defined Table 0296 - Primary language  

User-defined Table 0297 – CN ID source

HL7 Table 0299 - Encoding

User-defined Table 0300 - Namespace ID

HL7 Table 0301 - Universal ID type

User-defined Table 0302 - Point of care

User-defined Table 0303 - Room

User-defined Table 0305 - Person location type

User-defined Table 0306 - Location status

User-defined Table 0307 - Building

User-defined Table 0308 - Floor

User-defined Table 0315 - Living will code  

User-defined Table 0316 - Organ donor code  

User-defined Table 0326 - Visit indicator 

User-defined Table 0335 - Repeat pattern

User-defined Table 0339 - Advanced beneficiary notice code

HL7 Table 0353 - CWE statuses

HL7 Table 0356 - Alternate character set handling scheme  

HL7 Table 0357 - Message error condition codes  

User-defined Table 0360 - Degree

User-defined Table 0361 - Sending/receiving application

User-defined Table 0362 - Sending/receiving facility

User-defined Table 0363 - Assigning Authority

User defined Table 0396 - Coding System

HL7 Table 0398 - Continuation style code 

HL7 Table 0399 - Country code  

User-defined Table 0411 - Supplemental service information values

User-defined Table 0429 - Production class Code

User-defined Table 0430 - Mode of arrival code

User-defined Table 0431 - Recreational drug use code

User-defined Table 0432 - Admission level of care code

User-defined Table 0433 - Precaution code

User-defined Table 0434 - Patient condition code

User-defined Table 0435 - Advance directive code  

HL7 Table 0444 – Name assembly  

User-defined Table 0445 - Identity Reliability Code 

User-defined Table 0446 - Species Code

User-defined Table 0447 - Breed Code

User-defined Table 0448 – Name context

HL7 Table 0449 - Conformance statements  

HL7 table 0465 – Name/address representation

HL7 table 0472 - TQ Conjunction ID 


 

User defined Table 0063 - Relationship 

Example field: NK1-3 Relationship 

ValueDescription
BRBrother
DCDependent child
ECEmergency contact
EMEmployer
FAFather
FRFriend
MOMother
SISister
SPSpouse

HL7 Table 0260 - Patient Location Type 

Example field: used in the 9th field of OBR-32 Principal result interpreter 

ValueDescription
EEmergency
IInpatient
OOutpatient
SSame day surgery

 

HL7 Table 0119 - Order control codes

Value1Event/Message TypeDescriptionOriginator2Field Note3
NWORM^O01New order/servicePl
 OML^O21   
 OMD^O03   
 OMS^O05   
 OMN^O07   
 OMP^O09   
OKORR^O02Order/service accepted & OKFl
 ORG^O20   
 ORD^O04   
 ORS^O06   
 ORN^O08   
 ORP^O10   
 RRE^O12   
 RRD^O14    
 RRG^O16    
 RRA^O18   
UAORR^O02Unable to accept order/serviceFn
 ORG^O20   
 ORD^O04   
 ORS^O06   
 ORN^O08   
 ORP^O10   
 RRE^O12   
 RRD^O14   
UARRG^O16Unable to accept order/serviceFn
 RRA^O18   
PRORM^O01Previous Results with new order/servicePv
 OML^O21   
CAORM^O01Cancel order/service requestPa
 OML^O21   
 OMD^O03   
 OMS^O05   
 OMN^O07   
 OMP^O09   
OCORM^O01Order/service canceledF 
 OML^O21   
 OMS^O05   
 OMN^O07   
 RDE^O11   
 RDS^O13   
 RGV^O15   
 RAS^O01   
CRORR^O02Canceled as requestedF 
 ORG^O20   
 ORD^O04   
 ORS^O06   
 ORN^O08   
 ORP^O10   
UCORR^O02Unable to cancelFb
 ORG^O20   
UCORD^O04Unable to cancelFb
 ORS^O06   
 ORN^O08   
 ORP^O10   
DCORM^O01Discontinue order/service requestPc
 OML^O21   
 OMD^O03   
 OMS^O05   
 OMN^O07   
 OMP^O09    
OD ORM^O01 Order/service discontinued F 
 OML^O21    
 OMS^O05    
 OMN^O07    
 RDE^O11    
 RDS^O13    
 RGV^O15   
 RAS^O01   
DR ORR^O02 Discontinued as requested  
 ORG^O20    
 ORD^O04   
 ORS^O06   
 ORN^O08   
 ORP^O10   
UDORR^O02Unable to discontinueF 
 ORG^O20   
UDORD^O04Unable to discontinueF 
 ORS^O06   
 ORN^O08   
 ORP^O10   
HDORM^O01Hold order requestP 
 OML^O21   
 OMD^O03   
 OMP^O09   
OHORM^O01Order/service heldF 
 OML^O21   
 OMS^O05   
 OMS^O05   
 OMN^O07   
 OMN^O07   
 RDE^O11   
 RDS^O13   
 RGV^O15   
 RAS^O01   
UHORR^O02Unable to put on holdF 
 ORG^O20   
 ORD^O04   
 ORS^O06   
 ORN^O08   
 ORP^O10   
HRORR^O02On hold as requestedF 
 ORG^O20   
HRORD^O04On hold as requestedF 
 ORS^O06   
 ORN^O08   
 ORP^O10   
RLORM^O01Release previous holdP 
 OML^O21   
 OMD^O03   
 OMS^O05    
 OMN^O07   
 OMP^O09   
OEORM^O01Order/service releasedF 
 OML^O21   
 OMS^O05   
 OMN^O07   
 RDE^O11   
 RDS^O13   
 RGV^O15   
 RAS^O01   
ORORR^O02Released as requestedF 
 ORG^O20   
 ORD^O04   
 ORS^O06   
 ORN^O08   
 ORP^O10   
URORR^O02Unable to releaseF 
 ORG^O20   
URORD^O04Unable to releaseF 
 ORS^O06   
 ORN^O08   
 ORP^O10   
RPORM^O01Order/service replace requestP "e,d"
 OML^O21   
 OMS^O05   
 OMN^O07   
 OMP^O09   
RUORM^O01Replaced unsolicitedF"f,d"
 OML^O21   
 OMS^O05   
 OMN^O07   
 RDE^O11   
ROORM^O01Replacement order"P,F""g,d"
 OML^O21   
 OMS^O05   
 OMN^O07   
 OMP^O09   
 RDE^O11   
RQORR^O02Replaced as requestedF"d,e"
 ORG^O20   
 ORS^O06   
 ORN^O08   
 ORP^O10   
UMORR^O02Unable to replaceF 
UMORG^O20Unable to replaceF 
 ORS^O06   
 ORN^O08   
 ORP^O10   
PAORM^O01Parent order/serviceFI
 OML^O21   
 OMS^O05   
 OMS^O05   
 OMP^O09   
 RDE^O11   
 RGV^O15   
 RAS^O01   
 ORU^R01   
CHORM^O01Child order/service"F,P"I
 OML^O21   
 OMS^O05   
 OMS^O05   
 RDE^O11   
 RGV^O15   
 RAS^O01   
 ORU^R01   
XOORM^O01Change order/service requestP 
 OML^O21   
 OMD^O03   
 OMS^O05   
 OMS^O05   
XOOMP^O09 Change order/service requestP 
XXORM^O01"Order/service changed, unsol."F 
 OML^O21   
 OMS^O05   
 OMS^O05   
 RDE^O11   
 RDS^O13   
 RDS^O13   
 RGV^O15   
 RAS^O01   
 RAS^O01   
UXORR^O02Unable to changeF 
 ORG^O20   
 ORD^O04   
 ORS^O06   
 ORN^O08   
 ORP^O10   
XRORR^O02Changed as requestedF 
 ORG^O20   
 ORD^O04   
 ORS^O06   
 ORN^O08   
 ORP^O10   
DEORM^O01Data errors"P,F" 
 ORR^O02   
 ORG^O20   
DEORS^O06Data errors"P,F" 
 ORN^O08   
 ORP^O10   
 RRE^O12   
 RRD^O14   
 RRG^O16   
 RRA^O18   
REORM^O01Observations/Performed Service to follow"P,F" j
 OML^O21   
 RDE^O11   
 RDS^O13   
 RGV^O15   
 RAS^O01   
 ORU^R01   
 REF^I12   
RRORR^O02Request received"P,F"k
SRORR^O02Response to send order/service status requestF 
 OSR^Q06   
SSORM^O01Send order/service status request P 
 OML^O21   
SCORM^O01Status changed"F,P" 
 OML^O21   
SNORM^O01Send order/service numberFl
 OML^O21   
 OMS^O05   
 OMS^O05   
 RDE^O11   
NAORR^O02Number assignedPl
 ORG^O20   
 ORS^O06   
 ORN^O08   
 RRE^O12   
CNORU^R01 Combined result F m
RFORM^O01Refill order/service request "F, "o
 OMP^O09   
 RDE^O11   
AFORR^O02Order/service refill request approvalPp
 RRE^O12   
DFORR^O02Order/service refill request deniedPq
 ORP^O10   
 RRE^O12   
FUORM^O01"Order/service refilled, unsolicited"Fr
 RDE^O11   
OFORR^O02Order/service refilled as requestedFs
 ORP^O10   
UFORR^O02Unable to refillFt
 ORP^O10   
LIORM^O01Link order/service to patient care problem or goal u
 OML^O21   
 OMS^O05   
 OMS^O05   
LIOMP^O09Link order/service to patient care problem or goal u
 RDE^O11   
 RDS^O13   
 RAS^O01   
UNORM^O01Unlink order/service from patient care problem or goal u
 OML^O21   
 OMS^O05   
 OMN^O07   
 OMP^O09   
 RDE^O11   
 RDS^O13   
 RAS^O01   

   

Notes:
1 The order control value field
2 “F”: Values originate from the filler and are not restricted to be sent only to the placer. “P”: Values originate from
the placer or other application with placer privileges (as agreed in interface negotiation).
3 See table notes below for explanation of codes.


HL7 Table 0136 - Yes/No indicator

ValueDescription
YYes
NNo
  • No labels

6 Comments

  1. Table 0396 needs to have AUSPDI defined as it is used in CE (OBX-3). Is the description "Australian Pathology Display Interface" (aka Display Segment)?

  2. Perhaps we could supply these tables in a more friendly format. eg. CSV

    I try to copy and paste the cells from these tables and it doesn't work.

    eg. The paste text I get for the first table: User-defined Table 0001 Administrative sex

    FFemale

    M

    MaleOOtherUUnknownAAmbiguousNNot applicable

    1. If we decide to provide a CSV version, it might be good to put into the file names a version number for each table, and also display the current version in the text of the page (just to help keep things in sync).

  3. Removed 'N' from User-defined Table 0001 Administrative sex. 

  4. I cannot create inline comments on this page. Confluence bug that others have also reported?