Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: internalise hyperlink

Table of Contents

Anchor
2.1MessageControlSegments
2.1MessageControlSegments

...

If a value is the usual default for use in Australia it has been highlighted in blue.

Anchor
figure2-1
figure2-1

Figure 2-1. HL7 message segments 

Segment Name

HL7 Section Reference

BHS2.1.2
BTS2.1.3
DSC 2.1.4 
ERR2.1.5
FHS 2.1.6 
FTS 2.1.7 
MSA 2.1.8
MSH2.1.9

...

The BHS segment defines the start of a batch.

 

HL7 Attribute Table - BHS – Batch Header

SEQLENDTOPTRP/#TBL#ITEM #ELEMENT NAME
11ST R  00081Batch Field Separator
23STR  00082Batch Encoding Characters
315STO  00083Batch Sending Application
420STO  00084Batch Sending Facility
515STO  00085Batch Receiving Application
620STO  00086Batch Receiving Facility
726TSO  00087Batch Creation Date/Time
840STO  00088Batch Security
920STO  00089Batch Name/ID/Type
1080STO  00090Batch Comment
1120STO  00091Batch Control ID
12 20ST   00092 Reference Batch Control ID 

...

The BTS segment defines the end of a batch.

 

Anchor
BTS-fd
BTS-fd
2.1.3.0 BTS field definitions

HL7 Attribute Table - BTS – Batch Trailer

SEQLENDTOPTRP/#TBL#ITEM #ELEMENT NAME
110STO  00093Batch Message Count
280STO  00090Batch Comment
3100NM OY 00095Batch Totals

...

The DSC segment is used in the continuation protocol.

 

Anchor
DSC-fd
DSC-fd
2.1.4.0 DSC field definitions

...

SEQLENDTOPTRP/#TBL#ITEM #ELEMENT NAME
180 ST   00014Continuation Pointer
1ID  039801354 Continuation Style 

...

Definition: Indicates whether this is a fragmented message (see HL7 International Standard Section 2.15.2, "Continuation messages and segments"), or if it is part of an interactive continuation message (see HL7 International Standard Section 5.6.3, "Interactive continuation of response messages").

Refer to HL7 Table 0398 – Continuation style code for valid values.

Anchor
table0398
table0398

HL7 Table 0398 - Continuation style code

ValueDescription
FFragmentation
IInteractive Continuation

...

The ERR segment is used to add error comments to acknowledgment messages.

 

HL7 Attribute Table - ERR –Error

...

Definition: This field identifies an erroneous segment in another message. The second component is an index if there is more than one segment of type <segment ID>. For systems that do not use the HL7 Encoding Rules, the data item number may be used for the third component. The fourth component (which references HL7 Table 0357 - Message error condition codes, (as a CE data type) is restricted from having any subcomponents as the subcomponent separator is now the CE’s component separator.

...

The FHS segment is used to head a file as defined in Overview.

 

HL7 Attribute Table - FHS - File Header   

...

The FTS segment defines the end of a file.

 

HL7 Attribute Table - FTS - File Trailer

...

Definition: This field contains an acknowledgment code, see message processing rules. Refer to HL7 Table 0008 - Acknowledgment code for valid values.

Anchor
table0008
table0008

HL7 Table 0008 - Acknowledgment code

ValueDescription 
AAOriginal mode: Application Accept - Enhanced mode: Application acknowledgment: Accept 
AE Original mode: Application Error - Enhanced mode: Application acknowledgment: Error 
AROriginal mode: Application Reject - Enhanced mode: Application acknowledgment: Reject 
CA Enhanced mode: Accept acknowledgment: Commit Accept 
CEEnhanced mode: Accept acknowledgment: Commit Error 
CR Enhanced mode: Accept acknowledgment: Commit Reject 

...

Definition:  This field has been retained for backward compatibility.   This field is used only as described above, in the HL7 International Standard Section 2.13.2, “Application (level 7) processing rules, deferred processing two phase reply (original acknowledgment mode only).” Otherwise this field is not used.

Anchor
table0102
table0102

HL7 Table 0102 - Delayed acknowledgment type

ValueDescription
DMessage received, stored for later processing
Facknowledgment after processing

...

The Message Error Condition codes are defined by HL7 Table 0357 - Message error condition codes.

Anchor
table0357
table0357

HL7 Table 0357 - Message error condition codes

Error Condition CodeError Condition Text Description/Comment
Success  
0Message accepted

Success. Optional, as the AA conveys success. Used for systems that must always return a status code.

Errors  
100Segment sequence errorThe message segments were not in the proper order, or required segments are missing.
101Required field missingA required field is missing from a segment
102Data type errorThe field contained data of the wrong data type, e.g. an NM field contained "FOO".
103Table value not foundA field of data type ID or IS was compared against the corresponding table, and no match was found.
Rejection  
200Unsupported message typeThe Message Type is not supported.
201Unsupported event codeThe Event Code is not supported.
202Unsupported processing idThe Processing ID is not supported.
203Unsupported version idThe Version ID is not supported.
204Unknown key identifierThe ID of the patient, order, etc., was not found. Used for transactions other than additions, e.g. transfer of a non-existent patient.
205Duplicate key identifierThe ID of the patient, order, etc., already exists. Used in response to addition transactions (Admit, New Order, etc.).
206 Application record locked  The transaction could not be performed at the application storage level, e.g. database locked. 
207 Application internal error   A catchall for internal errors not explicitly covered by other codes.

...

The MSH segment defines the intent, source, destination, and some specifics of the syntax of a message.

 

HL7 Attribute Table - MSH - Message Header

...

Definition: This field uniquely identifies the sending application among all other applications within the network enterprise. The network enterprise consists of all those applications that participate in the exchange of HL7 messages within the enterprise. Entirely site-defined.

User-defined Table 0361-Sending/receiving application is used as the user-defined table of values for the first component.

Anchor
table0361
table0361

User-defined Table 0361 – Sending/receiving application

ValueDescription
MERIDIAN^MERIDIAN:3.1.4 (Build 6934) [win32-i386]^LExample application identifier
Best Practice 1.8.5.743Application identifier with only namespace ID valued
PRSLT^HL7PIT^LExample Lab Sending application

Note: By site agreement, implementors may continue to use User-defined Table 0300 - Namespace ID for the first component.

Anchor
MSH-4
MSH-4
2.1.9.4 MSH-4 Sending facility (HD) 00004

...

Definition: This field further describes the sending application, MSH-3-sending application . With the promotion of this field to an HD data type, the usage has been broadened to include not just the sending facility but other organizational entities such as a) the organizational entity responsible for sending application; b) the responsible unit; c) a product or vendor’s identifier, etc. Entirely site-defined.

User-defined Table 0362 - Sending/receiving facility is used as the HL7 identifier for the user-defined table of values for the first component.

Anchor
table0362
table0362

User-defined Table 0362 – Sending/receiving facility

ValueDescription
Buderim GE Centre^7C3E3681-91F6-11D2-8F2C-444553540000^GUIDExample sending facility identified with GUID
QML^2184^AUSNATALab example using AUSNATA as coding scheme

Note: By site agreement, implementers may continue to use User-defined Table 0300 - Namespace ID  for the first component.

...

Definition: This field is used to decide whether to process the message as defined in HL7 Application (level 7) Processing rules. The first component defines whether the message is part of a production, training, or debugging system (refer to HL7 Table 0103 - Processing ID for valid values). The second component defines whether the message is part of an archival process or an initial load (refer to HL7 Table 0207 - Processing mode for valid values). This allows different priorities to be given to different processing modes. The value used in normal usage is highlighted in blue.

Anchor
table0103
table0103

HL7 Table 0103 - Processing ID

ValueDescription
DDebugging
PProduction
TTraining

Anchor
table0207
table0207

HL7 Table 0207 - Processing mode

ValueDescription
AArchive
RRestore from archive
IInitial load
TCurrent processing, transmitted at intervals (scheduled or on demand)
Not presentNot present (the default, meaning current processing) 

...

Definition: This field is matched by the receiving system to its own version to be sure the message will be interpreted correctly. Beginning with Version 2.3.1, it has two additional “internationalization” components, for use by HL7 international affiliates. The <internationalization code> is CE data type (using the ISO country codes where appropriate) which represents the HL7 affiliate. The <internal version ID> is used if the HL7 Affiliate has more than a single ‘local’ version associated with a single US version. The <internal version ID> has a CE data type, since the table values vary for each HL7 Affiliate.

Anchor
table0104
table0104

HL7 Table 0104 —Version ID

ValueDescription 
2.0 Release 2.0 September 1988
2.0D Demo 2.0 October 1988
2.1 Release 2. 1 March 1990
2.2 Release 2.2 December 1994
2.3 Release 2.3 March 1997
2.3.1 Release 2.3.1 May 1999
2.4 Release 2.4 November 2000

...

These are identifiers and they are not intended to be parsed.

HL7 Table 01043—Internal Version ID

Internal version ID valueDescription of useProfile URI for use in FHIR Provider Directory
HL7AU-OO-ORM-201701ORM Order messages based on this specificationhttp://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-ORM-201701
HL7AU-OO-ORU-201701ORU messages based on this specificationhttp://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-ORU-201701
HL7AU-OO-ACK-201701

ACK^R01, ACK^O01 acknowledgement messages

ACK messages where the message type is ACK and structure is a generic ACK. The trigger event may vary.

http://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-ACK-201701
HL7AU-OO-ORR-201701Order Response messageshttp://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-ORR-201701
HL7AU-OO-ACK-READ-202001Application read acknowledgements (See 8.4 User Read Acknowledgements)http://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-ACK-READ-202001
HL7AU-OO-REF-SIMPLIFIED-201706-L1Simplified Referral Level 1 REF messages (See A8.2.1.1 Referral Level 1)http://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-REF-SIMPLIFIED-201706-L1
HL7AU-OO-REF-SIMPLIFIED-201706*Simplified Referral Level 2 REF messages (See A8.2.1.2 Referral Level 2)http://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-REF-SIMPLIFIED-201706
HL7AU-OO-REF-SIMPLIFIED-201706*For RRI message application acknowledgementshttp://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-REF-SIMPLIFIED-201706/RRI
HL7AU-OO-OSQ-202001Query for order status. See Section 5.3.http://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-OSQ-202001
HL7AU-OO-OSR-202001Query response for order status. See Section 5.3.http://ns.hl7.org.au/hl7v2/profiles/HL7AU-OO-OSR-202001

...

Definition: This field identifies the conditions under which accept acknowledgments are required to be returned in response to this message. Required for enhanced acknowledgment mode. Refer to HL7 Table 0155 - Accept/application acknowledgment conditions for valid values.

Note: In the Australian context acknowledgements must always be used and the value must be "AL".

...

The following table contains the possible values for MSH-15-accept acknowledgment type and MSH-16- application acknowledgment type:

Anchor
table0155
table0155

HL7 Table 0155 - Accept/application acknowledgment conditions

ValueDescription
ALAlways
NENever
ERError/reject conditions only
SUSuccessful completion only

...

2 Available from ISO 1 Rue de Varembe, Case Postale 56, CH 1211, Geneve, Switzerland

Refer to HL7 Table 0399 - Country code for the 3-character codes as defined by ISO 3166 table.

Anchor
table0399
table0399

HL7 Table 0399 – Country code 

ValueDescription
ABWARUBA
AFGAFGHANISTAN
AFTFRENCH SOUTHERN TERRITORIES
AGOANGOLA
AIAANGUILLA
ALBALBANIA
ANDANDORRA
ANTNETHERLANDS ANTILLES
AREUNITED ARAB EMIRATES
ARGARGENTINA
ARMARMENIA
ASMAMERICAN SAMOA
ATAANTARCTICA
ATGANTIGUA AND BARBUDA
AUSAUSTRALIA
AUTAUSTRIA
AZEAZERBAIJAN
BDIBURUNDI
BELBELGIUM
BEN BENIN 
BFA  BURKINA FASO
BGD BANGLADESH 
BGRBULGARIA 
BHR BAHRAIN 
BHS BAHAMAS 
BIH BOSNIA AND HERZEGOVINA 
BLR BELARUS 
BLZ BELIZE
BMU BERMUDA 
BOL BOLIVIA 
BRA BRAZIL
BRB BARBADOS 
BRN BRUNEI DARUSSALAM 
BTN BHUTAN 
BVTBOUVET ISLAND
BWA BOTSWANA 
CAFCENTRAL AFRICAN REPUBLIC 
CAN CANADA 
CCK COCOS (KEELING) ISLANDS 
CHE SWITZERLAND 
CHL CHILE
CHN CHINA 
CIV COTE D'VOIRE 
CMR CAMEROON 
COD CONGO, THE DEMOCRATIC REPUBLIC OF THE 
COG CONGO 
COK COOK ISLAND 
COL COLOMBIA 
COM COMOROS 
CPV CAPE VERDE 
CRI COSTA RICA 
CUB CUBA
CXR CHRISTMAS ISLAND 
CYM CAYMAN ISLANDS 
CYP CYPRUS 
CZE CZECH REPUBLIC 
DEU GERMANY 
DJIDJIBOUTI 
DMA DOMINICA 
DNK DENMARK 
DOM DOMINICAN REPUBLIC 
DZA ALGERIA 
ECU ECUADOR 
EGY EGYPT 
ERI  ERITREA 
ESH WESTERN SAHARA 
ESP SPAIN
EST ESTONIA 
ETH ETHIOPIA 
FIN FINLAND 
FJI FIJI 
FLK FALKLAND ISLANDS (MALVINAS) 
FRA FRANCE 
FRO FAROE ISLANDS 
FSMMICRONESIA, FEDERATED STATES OF 
GAB GABON 
GBR UNITED KINGDOM 
GEO GEORGIA 
GHA GHANA 
GIB GIBRALTAR 
GIN GUINEA 
GLP GUADELOUPE 
GMB GAMBIA 
GNB GUINEA-BISSAU 
GNQ EQUATORIAL GUINEA 
GRC GREECE 
GRD GRENADA 
GRLGREENLAND
GTM GUATEMALA 
GUF FRENCH GUIANA 
GUM GUAM 
GUY GUYANA 
HKG HONG KONG 
HMD HEARD ISLAND AND MCDONALD ISLANDS 
HND HONDURAS 
HRV CROATIA 
HTI HAITI 
HUN HUNGARY 
IDN INDONESIA 
IND INDIA 
IOT BRITISH INDIAN OCEAN TERRITORY 
IRL IRELAND 
IRN IRAN, ISLAMIC REPUBLIC OF 
IRQ IRAQ 
ISL ICELAND
ISR ISRAEL 
ITA ITALY 
JAM JAMAICA 
JOR JORDAN 
JPN  JAPAN
KAZ  KAZAKSTAN
KEN KENYA 
KGZ KYRGYZSTAN 
KHMCAMBODIA 
KIRKIRIBATI 
KNA SAINT KITTS AND NEVIS 
KOR KOREA, REPUBLIC OF 
KWT KUWAIT 
LAOLAO PEOPLE'S DEMOCRATIC REPUBLIC 
LBN LEBANNON 
LBR LIBERIA 
LBY LIBYAN ARAB JAMAHIRIYA 
LCA SAINT LUCIA 
LIE LIECHTENSTEIN 
LKA SRI LANKA 
LSO LESOTHO 
LTU LITHUANIA 
LUX LUXEMBOURG 
LVA LATIVA 
MAC MACAU 
MAR MOROCCO 
MCO MONACO 
MDA MOLDOVA, REPUBLIC OF 
MDG MADAGASCAR 
MDV MALDIVES 
MEX MEXICO 
MHL MARSHALL ISLANDS 
MKD MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF 
MLI MALI 
MLT MALTA 
MMR MYANMAR 
MNG MONGOLIA 
MNP NORTHERN MARIANA ISLANDS 
MOZ MOZAMBIQUE 
MRT MAURITANIA 
MSR MONTSERRAT 
MTQ MARTINIQUE 
MUS MAURITUS 
MWI MALAWI 
MYS MALAYSIA 
MYT MAYOTTE 
NAMNAMIBIA 
NCL NEW CALEDONIA 
NER NIGER 
NFK NORFOLK ISLAND 
NGA NIGERIA 
NIC NICARAGUA 
NIU NIUE 
NLD NETHERLANDS 
NOR NORWAY 
NPL NEPAL 
NRU NAURU 
NZL NEW ZEALAND 
OMN OMAN 
PAK PAKISTAN 
PAN PANAMA 
PCN PITCAIRN 
PER PERU 
PHL PHILIPPINES 
PLW PALAU 
PNG PAPUA NEW GUINEA 
POL POLAND 
PRI PUERTO RICO 
PRK KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF 
PRT PORTUGAL 
PRY PARAGUAY 
PYFFRENCH POLYNESIA 
QAT QATAR 
REUREUNION 
ROM ROMANIA 
RUS RUSSIAN FEDERATION 
RWA RWANDA 
SAU SAUDI ARABIA 
SDN SUDAN 
SEN SENEGAL
SGP SINGAPORE
SGS SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS 
SHN SAINT HELENA 
SJM SVALBARD AND JAN MAYEN 
SLB  SOLOMON ISLANDS 
SLE SIERRA LEONE 
SLV EL SALVADOR 
SMR SAN MARINO 
SOMSOMALIA 
SPM SAINT PIERRE AND MIQUELON 
STP SAO TOME AND PRINCIPE 
SUR SURINAME 
SVK SLOVAKIA 
SVN SLOVENIA 
SWESWEDEN 
SWZ SWAZILAND 
SYCSEYCHELLES 
SYRSYRIAN ARAB REPUBLIC 
TCATURKS AND CAICOS ISLANDS 
TCD CHAD 
TGO TOGO 
THA THAILAND 
TJK TAJIKISTAN 
TKL TOKELAU 
TKM TURKMENISTAN
TMP EAST TIMOR 
TON TONGA 
TTO TRINIDAD AND TOBAGO 
TUN TUNISIA 
TURTURKEY 
TUV TUVALU 
TWN TAIWAN, PROVINCE OF CHINA 
TZA TANZANIA, UNITED REPUBLIC OF 
UGA UGANDA 
UKR UKRAINE 
UMI UNITED STATES MINOR OUTLYING ISLANDS 
URY URUGUAY 
USA UNITED STATES 
UZB UZBEKISTAN 
VAT HOLY SEE (VATICAN CITY STATE) 
VCT SAINT VINCENT AND THE GRENADINES 
VEN VENEZUELA 
VGB VIRGIN ISLANDS, BRITISH 
VIR VIRGIN ISLANDS, U.S. 
VNM VIET NAM 
VUT VANUATU 
WLF WALLIS AND FUTUNA
WSM SAMOA
YEM YEMEN 
YUG YUGOSLAVIA 
ZAF SOUTH AFRICA 
ZMB ZAMBIA 
ZWE ZIMBABWE 

...

Definition: This field contains the character set for the entire message. Refer to HL7 Table 0211 - Alternate character sets for valid values.

In Australian usage only "ASCII" must be used (unvalued implies "ASCII").  "UNICODE UTF-8" and "8859/1" messages should only be used by specific agreement.

The International standard allows repeats of this field, but this standard has constrained it to a single character set for the entire message.

Anchor
table0211
table0211

HL7 Table 0211 - Alternate character sets

ValueDescriptionComment
ASCIIThe printable 7-bit ASCII character set.(This is the default if this field is omitted)
8859/1The printable characters from the ISO 8859/1 Character set 
8859/2The printable characters from the ISO 8859/2 Character set 
8859/3The printable characters from the ISO 8859/3 Character set 
8859/4The printable characters from the ISO 8859/4 Character set 
8859/5The printable characters from the ISO 8859/5 Character set 
8859/6The printable characters from the ISO 8859/6 Character set 
8859/7The printable characters from the ISO 8859/7 Character set 
8859/8The printable characters from the ISO 8859/8 Character set 
8859/9 The printable characters from the ISO 8859/9 Character set  
ISO IR14  Code for Information Exchange (one byte)(JIS X 0201-1976). Note that the code contains a space,i.e. "ISO IR14".  
ISO IR87  Code for the Japanese Graphic Character set for information interchange (JIS X 0208-1990), Note that the code contains a space, i.e. "ISO IR87".  
ISO IR159  Code of the supplementary Japanese Graphic Character set for information interchange (JIS X 0212-1990). Note that the code contains a space, i.e. "ISO IR159".  
UNICODE The world wide character standard from ISO/IEC 10646-1-19933 Deprecated in HL7v2.6. Retained for backward compatibility
only as v 2.5. Replaced by specific Unicode
encoding codes.
UNICODE UTF-8UCS Transformation Format, 8-bit form. UTF-8 is a variable-length encoding, each code
value is represented by 1,2 or 3 bytes, depending on
the code value. 7 bit ASCII is a proper subset of
UTF but not before and after the hyphen.

† "UNICODE UTF-8" was introduced in HL7v2.6 and has been back ported into this HL7v2.4 localisation to allow use of UTF-8 character encoding.

Note: The field separator character must still be chosen from the printable 7-bit ASCII character set.

...

The field MSH-18-character set is an optional, repeating field of data type ID, using IDs outlined in HL7 Table 0211 - Alternate character sets (or equivalents from "ISO 2375").

...

Definition: When any alternative character sets are used (as specified in the second or later components of MSH-18 character sets), and if any special handling scheme is needed, this component is to specify the scheme used, according to HL7 Table 0356- Alternate character set handling scheme as defined below:

Anchor
table0356
table0356

HL7 Table 0356 - Alternate character set handling scheme

ValueDescription
ISO 2022-1994This standard is titled "Information Technology - Character Code Structure and Extension Technique". This standard specifies an escape sequence from basic one byte character set to specified other character set, and vice versa. The escape sequence explicitly specifies what alternate character set to be evoked. Note that in this mode, the actual ASCII escape character is used as defined in the referenced ISO document. As noted in HL7 International Standard 1.6.1., escape sequences to/from alternate character set should occur within HL7 delimiters. In other words, HL7 delimiters are basic one byte characters only, and just before and just after delimiters, character encoding status should be the basic one byte set.
2.3The character set switching mode specified in HL7 2.3, HL7 International Standard sections 2.8.28.6.1, and 2.9.2. Note that the escape sequences used in this mode do not use the ASCII "esc" character. They are "HL7 escape sequences" as defined in HL7 2.3, sec. 2.9 as defined in ISO 2022-1994 (Also, note that HL7 International Standard sections 2.8.28.6.1and 2.9.2 in HL7 2.3 correspond to HL7 International Standard sections 2.8.31.6.1and 2.9.2 in HL7 2.4.)
<null>This is the default, indicating that there is no character set switching occurring in this message.

...

Values for HL7-standard conformance statements appear in HL7 Table 0449 - Conformance statements as defined below.

Anchor
table0449
table0449

HL7 Table 0449 - Conformance statements

ValueDescription
HL7AUSD-STD-OO-ADRM-2021.1Australian Diagnostics and Referral Messaging Localisation of HL7 Version 2.4 (2021.1)
HL7AUSD-STD-OO-ADRM-2018.1Australian Diagnostics and Referral Messaging Localisation of HL7 Version 2.4 (2018.1)
HL7AUSD-STD-OO-ADRM-2017.1Australian Pathology Messaging Localisation of HL7 Version 2.4 Standard (2017.1)
 Values here are by site negotiation.

...

With HL7 V2.3, the nomenclature for the fourth component of the patient identifiers was changed from "assigning facility ID" to "assigning authority".  While the identifier may be unique to a given healthcare facility (for example, a medical record assigned by facility A in Hospital XYZ), the identifier might also be assigned at a system level (for example a corporate person index or enterprise number spanning multiple facilities) or by a government entity, for example a nationally assigned unique individual identifier.  While a facility is usually an assigning authority, not all assigning authorities are facilities.  Therefore, the fourth component is referred to as an assigning authority, but retains backward compatibility using the construct of the HD data type (see the note in section 2.8.18).  Additionally, CX data types support the use of assigning facility (HD) as the sixth component.

 

HL7 Attribute Table – PID – Patient identification

...

Only the sender's identifier(s) and the receiver's identifier(s) should be transmitted to avoid inappropriate use and disclosure of patient information. Other organizations' identifiers should not be used by organisations or providers as their own identifiers. The Privacy Act 1998 (commonwealth) has the relevant state and territory legislation regarding person identifiers. 

Patient identifiers are not always unique.

Anchor
PID-4
PID-4
2.2.1.4 PID-4 Alternate patient ID - PID  (CX) 00107

...

Definition:  This field contains the names of the patient, the primary or legal name of the patient is reported first. Therefore, the name type code in this field should be "L - Legal". Refer to HL7 Table 0200 - Name type for valid values.  Repetition of this field is allowed for representing the same name in different character sets.  Note that "last name prefix" is synonymous to "own family name prefix" of previous versions of HL7, as is "second and further given names or initials thereof" to "middle initial or name". Multiple given names and/or initials are separated by spaces.

Anchor
table0200
table0200
HL7 Table 0200 - Name type

ValueDescription
AAlias Name
BName at Birth
CAdopted Name
DDisplay Name
ILicensing Name
LLegal Name
MMaiden Name
NNickname /"Call me" Name/Street Name
PName of Partner/Spouse (retained for backward compatibility only)
RRegistered Name (animals only)
SCoded Pseudo-Name to ensure anonymity
TIndigenous/Tribal/Community Name
U

Unspecified

...

Definition:  This field contains the mailing address of the patient.  Address type codes are defined by HL7 Table 0190 - Address type.  Multiple addresses for the same person may be sent in the following sequence: The primary mailing address must be sent first in the sequence (for backward compatibility); if the mailing address is not sent, then a repeat delimiter must be sent in the first sequence.

 

Anchor
table0190
table0190

HL7 Table 0190 - Address Type 

Example field: PID-11 Patient address

...

Definition:  This field contains the patient’s primary language.  HL7 recommends using ISO table 639 as the suggested values in User-defined Table 0296 - Primary Language.

Anchor
table0296
table0296

User-defined Table 0296 - Primary language

ValueDescription
 No suggested values defined

...

Definition:  This field contains the patient’s marital (civil) status. 

Refer to User-defined Table 0002 - Marital status for the HL7 values that are to be used in this data field.

...

Definition:  This field contains the patient’s religion, for example, Baptist, Catholic, Methodist, etc.  Refer to User-defined Table 0006 - Religion for suggested values.

Anchor
PID-18
PID-18
2.2.1.18 PID-18 Patient account number (CX) 00121

...

Definition:  This field contains the patient account number assigned by accounting to which all charges, payments, etc., are recorded.  It is used to identify the patient’s account.  Refer to HL7 Table 0061 - Check digit scheme for valid values.

Note: If an account number is used for patient identification, report in PID-3 with a patient identifier type code of 'AN'.

...

Anchor
PID-26
PID-26
2.2.1.26 PID-26 Citizenship (CE) 00129

Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (IS)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (IS)>

Definition: This field contains the patient’s country of citizenship. HL7 recommends using ISO table 3166 as the suggested values in User-defined Table 0171 - Citizenship.

In the Netherlands, this field is used for "Nationaliteit".

Anchor
table0171
table0171

User-defined Table 0171 - Citizenship 

ValueDescription
No suggested values defined

Anchor
PID-27
PID-27
2.2.1.27 PID-27 Veterans military status (CE) 00130

Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (IS)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (IS)>
Definition:  This field contains the military status assigned to a veteran.  Note: In the Australian context DVA file number is sent in PID-3.1 and the DVA card colour is no longer sent in this field (PID-3.5). 

Anchor
PID-28
PID-28
2.2.1.28 PID-28 Nationality (CE) 00739 

Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (IS)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (IS)>

Definition: From V2.4 onward, this field has been retained for backward compatibility only.  It is recommended to refer to PID-10 - Race, PID-22 - Ethnic group and PID-26 - Citizenship. This field contains a code that identifies the nation or national grouping to which the person belongs.  This information may be different from a person’s citizenship in countries in which multiple nationalities are recognized (for example, Spain: Basque, Catalan, etc.).

Anchor
PID-29
PID-29
2.2.1.29 PID-29 Patient death date and time (TS) 00740 

Definition:  This field contains the date and time at which the patient death occurred.

Refer to AS 4846-2014 Clause 5.4.2 'Date of Death' and Clause 5.4.3 'Date of Death Accuracy Indicator'.  Note: HL7 V2.4 does not accommodate AS 4846-2014 Clause 5.4.4 'Source of Death Notification'.

Anchor
PID-30
PID-30
2.2.1.30 
PID-30 Patient death indicator (ID) 00741 

Definition:  This field indicates whether the patient is deceased.  Suggested valid values:

Y             the patient is deceased

N             the patient is not deceased

...

Definition: This field contains a coded value used to communicate information regarding the reliability of patient/person identifying data transmitted via a transaction. Values could indicate that certain fields on a PID segment for a given patient/person are known to be false (e.g., use of default or system-generated values for Date of Birth or Social Security Number. Refer to User-defined Table 0445 - Identity reliability code for suggested values.

Anchor
table0445
table0445

User-defined Table 0445 - Identity Reliability Code 

ValueDescription
USUnknown/Default Social Security Number
UDUnknown/Default Date of Birth
UAUnknown/Default Address
ALPatient/Person Name is an Alias

...

Definition: The species of living organism. This may include the common or scientific name, based on the coding system(s) used. SNOMED is the recommended coding system. If this field is not valued, a human is assumed. Refer to User-defined Table 0446 - Species Code for suggested values.

Anchor
table0446
table0446
User-defined Table 0446 - Species Code

ValueDescription
 No suggested values defined

...


Definition: The specific breed of animal. This field, unlike Species and Strain is specific to animals and cannot be generally used for all living organisms. SNOMED is the recommended coding system. Refer to User-defined Table 0447 - Breed Code for suggested values.

Anchor
table0447
table0447

User-defined Table 0447 - Breed Code

ValueDescription
 No suggested values defined

...

...|DA^Dairy^L|...
...|MT^Meat^L|...
...|RA^Racing^L|...

Anchor
table0429
table0429

User-defined Table 0429 - Production class Code  

ValueDescription
BRBreeding/genetic stock
DADairy
DR Draft
DUDual Purpose
LYLayer, Includes Multiplier flocks
MTMeat
OTOther
PLPleasure
RARacing
SHShow
NANot Applicable
UUnknown

...

The facility ID, the optional fourth component of each patient location field, is a HD data type that is uniquely associated with the healthcare facility containing the location. A given institution, or group of intercommunicating institutions, should establish a list of facilities that may be potential assignors of patient locations. The list will be one of the institution’s master dictionary lists. Since third parties other than the assignors of patient locations may send or receive HL7 messages containing patient locations, the facility ID in the patient location may not be the same as that implied by the sending and receiving systems identified in the MSH. The facility ID must be unique across facilities at a given site. This field is required for HL7 implementations that have more than a single healthcare facility with bed locations, since the same <point of care> ^ <room> ^ <bed> combination may exist at more than one facility.

 

HL7 Attribute Table - PV1 – Patient visit

...

Definition: This field is used by systems to categorize patients by site. It does not have a consistent industry-wide definition. It is subject to site-specific variations. Refer to User-defined Table 0004 - Patient class for suggested values.

Anchor
table0004
table0004

User-defined Table 0004 - Patient class

ValueDescription
EEmergency
IInpatient
OOutpatient
PPreadmit
S†Same day patient
Y†Community client
RRecurring patient
BObstetrics
CCommercial Account
Not Applicable 
Unknown 

...

 Definition: This field indicates the circumstances under which the patient was or will be admitted. Refer  to User-defined Table 0007 - Admission type for suggested values. In the US, it is recommended to report the UB92 FL 19 "Type of Admission" in this field.

Anchor
table0007
table0007

User-defined Table 0007 - Admission type

ValueDescription
AAccident
Elective  
EEmergency
GGeriatric respite admission
LLabor and Delivery
Newborn (Birth in healthcare facility) 
RRoutine
SStatistical admission
Urgent 

...

Definition: This field contains the attending physician information. Multiple names and identifiers for the same physician may be sent. The field sequences are not used to indicate multiple attending doctors. The legal name must be sent in the first sequence. If the legal name is not sent, then a repeat delimiter must be sent in the first sequence. Depending on local agreements, either ID or the name may be absent in this field. Refer to User-defined Table 0010 - Physician ID for suggested values.

In the Australian context, where possible, this XCN data must be populated using the method described in A10.1.2.1 XCN Datatype.

Anchor
table0010
table0010

User-defined Table 0010 - Physician ID

ValueDescription
 No suggested values defined

...

Definition: This field contains the referring physician information. Multiple names and identifiers for the same physician may be sent. The field sequences are not used to indicate multiple referring doctors. The legal name must be sent in the first sequence. If the legal name is not sent, then a repeat delimiter must be sent in the first sequence. Depending on local agreements, either the ID or the name may be absent from this field. Refer to User-defined Table 0010 - Physician ID for suggested values.

In the Australian context, where possible, this XCN data must be populated using the method described in A10.1.2.1 XCN Datatype.

...

Definition: This field contains the treatment or type of surgery that the patient is scheduled to receive. It is a required field with trigger events A01 (admit/visit notification), A02 (transfer a patient), A14 (pending admit), A15 (pending transfer). Refer to User-defined Table 0069 - Hospital service for suggested values.

Anchor
table0069
table0069

User-defined Table 0069 - Hospital service

ValuesDescription
MEDMedical Service
SURSurgical Service
UROUrology Service
PULPulmonary Service 
CAR Cardiac Service

...

Definition: This field indicates whether the patient must have pre-admission testing done in order to be admitted. Refer to User-defined Table 0087 - Pre-admit test indicator for suggested values.

Anchor
table0087
table0087

User-defined Table 0087 - Pre-admit test indicator

ValueDescription
 No suggested values defined

...

Definition: This field indicates that a patient is being re-admitted to the healthcare facility and gives the circumstances. We suggest using "R" for readmission or else null. Refer to User-defined Table 0092 - Re-admission indicator for suggested values.

Anchor
table0092
table0092

User-defined Table 0092 - Re-admission indicator

ValueDescription
RRe-admission

...

Definition: This field indicates where the patient was admitted. Refer to User-defined Table 0023 - Admit source for suggested values. In the US, this field is used on UB92 FL20 "Source of Admission".

...

Note: The official title of UB is "National Uniform Billing Data Element Specifications." Most of the codes added came from the UB-92 specification, but some came from the UB-82.

Anchor
table0023
table0023

User-defined Table 0023 - Admit source

ValueDescription
1Physician referral
2Clinic referral
3HMO referral
4Transfer from a hospital
5Transfer from a skilled nursing facility
6Transfer from another health care facility
7Emergency room
8Court/law enforcement
Information not available

...

Definition: This field indicates any permanent or transient handicapped conditions. Refer to User defined Table 0009 - Ambulatory status for suggested entries.

Anchor
table0009
table0009

User-defined Table 0009 - Ambulatory status

ValueDescription
A0No functional limitations
A1Ambulates with assistive device
A2Wheelchair/stretcher bound
A3 Comatose; non-responsive 
A4 Disoriented 
A5 Vision impaired 
A6Hearing impaired 
A7 Speech impaired 
A8 Non-English speaking 
A9 Functional level unknown 
B1Oxygen therapy 
B2 Special equipment (tubes, IVs, catheters) 
B3 Amputee 
B4  Mastectomy 
B5 Paraplegic 
B6 Pregnant 

...

Definition: This field identifies the type of VIP. Refer to User-defined Table 0099 - VIP indicator for suggested values.

Anchor
table0099
table0099

User-defined Table 0099 - VIP indicator

ValueDescription
V1No suggested values defined

...

Definition: This field contains site-specific values that identify the patient type. Refer to User-defined Table 0018 - Patient type for suggested values.

Anchor
table0018
table0018

User-defined Table 0018 - Patient type

ValueDescription
 No suggested values defined

...

Definition: This field contains the financial class(es) assigned to the patient for the purpose of identifying sources of reimbursement. Refer to User-defined Table 0064 - Financial class for suggested values.

Anchor
table0064
table0064

User-defined Table 0064 - Financial class

METeOR 679815 ‘Funding source for hospital patients’ codes

Code

Definition

01

Health service budget (not covered elsewhere)

02

Health service budget (due to eligibility for Reciprocal Health Care Agreement)

03

Health service budget (no charge raised due to hospital decision)

04

Department of Veterans' Affairs

05

Department of Defence

06

Correctional facility

07

Medicare Benefits Scheme

08

Other hospital or public authority (contracted care)

09

Private health insurance

10

Worker's compensation

11

Motor vehicle third party personal claim

12

Other compensation (e.g. public liability, common law, medical negligence)

13

Self-funded

88

Other funding source

Supplementary values:

http://meteor.aihw.gov.au/ui/helpWindow.phtml?itemId=tag.helpMeteorItemOtherPermissibleValues

98

Not known

...

Definition: This field contains the code used to determine which price schedule is to be used for room and  bed charges. Refer to User-defined Table 0032 - Charge/price indicator

Anchor
table0032
table0032

User-defined Table 0032 - Charge/price indicator

ValueDescription
AUSM8585% of Medicare schedule fee        
AUSM7575% of Medicare schedule fee
AUSM100Medicare schedule fee
AUSAMA Australian Medical Association recommended fee

...

Definition: This field indicates whether the patient will be extended certain special courtesies. Refer to User-defined Table 0045 - Courtesy code for suggested values.

Anchor
table0045
table0045

User-defined Table 0045 - Courtesy code

In the Australian context the recommended values are:

...

Definition: This field contains the user-defined code to determine past credit experience. Refer to User defined Table 0046 - Credit rating for suggested values.

Anchor
table0046
table0046

User-defined Table 0046 - Credit rating

In the Australian context users may define their own table values:

...

Definition: This field identifies the type of contract entered into by the healthcare facility and the guarantor for the purpose of settling outstanding account balances. Refer to User-defined Table 0044 - Contract code for suggested values.

Anchor
table0044
table0044

User-defined Table 0044 - Contract code

In the Australian context use a two character code from METeOR 270114 Contract role and METeOR 270475 Contract type:

...

Definition: This field indicates the amount of interest that will be charged the guarantor on any outstanding amounts. Refer to User-defined Table 0073 - Interest rate code for suggested values.

Anchor
table0073
table0073

User-defined Table 0073 - Interest rate code

ValueDescription
 No suggested values defined

...

Definition: This field indicates that the account was transferred to bad debts and gives the reason. Refer to User-defined Table 0110 - Transfer to bad debt code for suggested values.

Anchor
table0110
table0110

User-defined Table 0110 - Transfer to bad debt code

In the Australian context reason for bad debt include:

...

Definition: This field can be used as a ST type for backward compatibility . This field uniquely identifies the bad debt agency to which the account was transferred. This code is site defined. One possible implementation would be to edit against a table such as User-defined Table 0021 - Bad debt agency code; however, this is not required.

Anchor
table0021
table0021

User-defined Table 0021 - Bad debt agency code

ValueDescription
 No suggested values defined

...

Definition: This field indicates that the account was deleted from the file and gives the reason. Refer to  User-defined Table 0111 - Delete account code for suggested values.

Anchor
table0111
table0111

User-defined Table 0111 - Delete account code

ValueDescription
 No suggested values defined

...

Definition: This field contains the disposition of the patient at time of discharge (i.e., discharged to home, expired, etc.). Refer to User-defined Table 0112 - Discharge disposition for suggested values. In the US, this field is used on UB92 FL22. The UB codes listed as examples are not an exhaustive or current list; refer to a UB specification for additional information.

Anchor
table0112
table0112

User-defined Table 0112 - Discharge disposition

ValueDescription
01Discharged to home or self care (routine discharge)
02Discharged/transferred to another short term general hospital for inpatient care
03Discharged/transferred to skilled nursing facility (SNF)
04Discharged/transferred to an intermediate care facility (ICF)
05Discharged/transferred to another type of institution for inpatient care or referred for outpatient services to another institution
06Discharged/transferred to home under care of organized home health service organization
07Left against medical advice or discontinued care
08Discharged/transferred to home under care of Home IV provider
09Admitted as an inpatient to this hospital
10 …19  Discharge to be defined at state level, if necessary 
20 Expired (i.e. dead) 
21 ... 29  Expired to be defined at state level, if necessary 
30 Still patient or expected to return for outpatient services (i.e. still a patient) 
31 …39  Still patient to be defined at state level, if necessary (i.e. still a patient) 
40 Expired (i.e. died) at home 
41 Expired (i.e. died) in a medical facility; e.g., hospital, SNF, ICF, or free standing hospice 
42 Expired (i.e. died) - place unknown 

...

Definition: This field indicates the healthcare facility to which the patient was discharged. Refer to User defined Table 0113 - Discharged to location for suggested values.

Anchor
table0113
table0113

User-defined Table 0113 - Discharged to location

ValueDescription
 No suggested values defined

...

Definition: This field indicates a special diet type for a patient. Refer to User-defined Table 0114 - Diet type for suggested values.

Anchor
table0114
table0114

User-defined Table 0114 - Diet type

ValueDescription
 No suggested values defined

...

Definition: This field is used in a multiple facility environment to indicate the healthcare facility with which this visit is associated. Refer to User-defined Table 0115 - Servicing facility for suggested values.

Anchor
table0115
table0115

User-defined Table 0115 - Servicing facility

ValueDescription
 No suggested values defined

...

Definition: This field has been retained for backward compatibility only. The information is now held in the fifth component of the PL datatype in PV1-3. This field contains the status of the bed. Refer to User-defined Table 0116 - Bed status for suggested values.

Anchor
table0116
table0116

User-defined Table 0116 - Bed status

ValueDescription
CClosed
HHousekeeping
OOccupied
Unoccupied 
Contaminated 
 Isolated

...

Definition: This field contains the account status. Refer to User-defined Table 0117 - Account status for suggested values.

Anchor
table0117
table0117

User-defined Table 0117 - Account status

ValueDescription
 No suggested values defined

...

Definition: This field specifies the level on which data are being sent. It is the indicator used to send data at two levels, visit and account. HL7 recommends sending an ‘A’ or no value when the data in the message are at the account level, or ‘V’ to indicate that the data sent in the message are at the visit level. Refer to User-defined Table 0326 - Visit indicator for suggested values.

The value of this element affects the context of data sent in PV1, PV2 and any associated hierarchical segments (e.g. DB1, AL1, DG1, etc.).

Anchor
table0326
table0326

User-defined Table 0326 - Visit indicator

ValueDescription
AAccount level (default)
VVisit level

...

The PV2 segment is a continuation of information contained on the PV1 segment.

HL7 Attribute Table - PV2 – Patient visit – additional information

SEQLENDTOPTRP/#TBL#ITEM#ELEMENT NAME
180PLC  00181Prior Pending Location
2250CEO 012900182Accommodation Code
3250CE  00183 Admit Reason
4250CEO  00184Transfer Reason
525STOY 00185Patient Valuables
625STO  00186Patient Valuables Location
72ISOY013000187Visit User Code
826TSO  00188Expected Admit Date/Time
926TSO  00189Expected Discharge Date/Time
103NMO  00711Estimated Length of Inpatient Stay
113NMO  00712Actual Length of Inpatient Stay
1250 ST   00713 Visit Description 
13250 XCN  † 00714 Referral Source Code 
14DT   00715 Previous Service Date 
15ID  0136 00716  Employment Illness Related Indicator 
16IS  0213 00717 Purge Status Code 
17DT   00718  Purge Status Date 
18IS  0214 00719 Special Program Code 
19ID  0136 00720  Retention Indicator 
20NM   00721  Expected Number of Insurance Plans 
21IS  0215  00722  Visit Publicity Code 
221ID 0136 00723  Visit Protection Indicator 
23250 XON  Y 00724 Clinic Organization Name 
24IS  0216 00725 Patient Status Code 
25IS  0217 00726 Visit Priority Code 
26DT   00727 Previous Treatment Date 
27IS  0112 00728  Expected Discharge Disposition 
28DT   00729 Signature on File Date
29DT  00730 First Similar Illness Date 
30250 CE 021800731 Patient Charge Adjustment Code 
31IS  0219 00732  Recurring Service Code 
32ID   0136 00733  Billing Media Code 
3326 TS   00734 Expected Surgery Date and Time 
34ID  0136 00735  Military Partnership Code 
35ID  013600736 Military Non-Availability Code 
36ID  0136   00737 Newborn Baby Indicator 
37 1ID  0136 00738Baby Detained Indicator 
38250 CE 0430 01543Mode of Arrival Code 
39250CE


Y043101544Recreational Drug Use Code
40250CEO
043201545Admission Level of Care Code
41250CEOY043301546Precaution Code
42250CEO
043401547Patient Condition Code
432ISO
031500759Living Will Code
442ISO
031600760Organ Donor Code
45250CEOY043501548Advance Directive Code
468DTO

01549Patient Status Effective Date
4726TSC

01550Expected LOA Return Date/Time

...

Definition: This field indicates the specific patient accommodations for this visit. Refer to User-defined Table 0129 - Accommodation code for suggested values.

Anchor
table0129
table0129

User-defined Table 0129 - Accommodation code

Value Description
 No suggested values defined

...

Definition: This field further categorizes a patient’s visit with respect to an individual institution’s needs, and is expected to be site-specific. Refer to User-defined Table 0130 - Visit user code for suggested values.

Anchor
table0130
table0130

User-defined Table 0130 - Visit user code

ValueDescription
TETeaching
HOHome
MOMobile Unit
PH Phone 

...

Definition: This field contains the purge status code for the account. It is used by the application program to determine purge processing. Refer to User-defined Table 0213 - Purge status code for suggested values.

Anchor
table0213
table0213

User-defined Table 0213 - Purge status code

ValueDescription
PMarked for purge. User is no longer able to update the visit.
DThe visit is marked for deletion and the user cannot enter new data against it.
IThe visit is marked inactive and the user cannot enter new data against it.

...

Definition: This field designates the specific health insurance program for a visit required for healthcare reimbursement. Examples include Child Health Assistance, Elective Surgery Program, Family Planning, etc. Refer to User-defined Table 0214 - Special program codes for suggested values.

Anchor
table0214
table0214

User-defined Table 0214 – Special program codes

ValueDescription
 No suggested values

...

Definition: This field contains a user-defined code indicating what level of publicity is allowed (e.g., No Publicity, Family Only) for a specific visit. Refer to User-defined Table 0215 - Publicity code for suggested values. Refer to PD1-11 - publicity code  for the patient level publicity code.

Anchor
table0215
table0215

User-defined Table 0215 - Publicity code

ValueDescription
 No suggested values

...

Definition: This field indicates the status of the episode of care: for instance, Active Inpatient, Discharged Inpatient. Refer to User-defined Table 0216 - Patient status for suggested values.  

Anchor
table0216
table0216

User-defined Table 0216 – Patient status

ValueDescription
 No suggested values defined

...

Definition: This field contains the priority of the visit. Refer to User-defined Table 0217 - Visit priority code for suggested values.

Anchor
table0217
table0217

User-defined Table 0217 - Visit priority code

ValueDescription
1Emergency
2Urgent
3Elective

...

Definition: This field describes what the patient’s disposition is expected to be at the end of the visit. Refer to User-defined Table 0112 - Discharge disposition for suggested values.

Anchor
table0112
table0112

User-defined Table 0112 - Discharge disposition 

ValueDescription
01Discharged to home or self care (routine discharge)
02 Discharged/transferred to another short term general hospital for inpatient care
03Discharged/transferred to skilled nursing facility (SNF)
04Discharged/transferred to an intermediate care facility (ICF)
05Discharged/transferred to another type of institution for inpatient care or referred for outpatient services to another institution
06 Discharged/transferred to home under care of organized home health service organization
07 Left against medical advice or discontinued care
08Discharged/transferred to home under care of Home IV provider
09Admitted as an inpatient to this hospital
10 …19Discharge to be defined at state level, if necessary
20Expired (i.e. dead)
21 ... 29Expired to be defined at state level, if necessary
30Still patient or expected to return for outpatient services (i.e. still a patient)
31 … 39Still patient to be defined at state level, if necessary (i.e. still a patient)
40 Expired (i.e. died) at home
41 Expired (i.e. died) in a medical facility; e.g., hospital, SNF, ICF, or free standing hospice
42Expired (i.e. died) - place unknown

...

Definition: This field contains a user-defined code that indicates which adjustments should be made to this patient’s charges. Refer to User-defined Table 0218 - Charge adjustment  for suggested values. This field is the same as GT1-26 - guarantor charge adjustment code .

...

Definition: This field indicates whether the treatment is continuous. Refer to User-defined Table 0219 - Recurring service for suggested values.

Anchor
table0219
table0219

User-defined Table 0219 – Recurring service

ValueDescription
 No selected values

...

Definition: Identifies how the patient was brought to the healthcare facility. Refer to User-defined Table 0430 - Mode of arrival code for suggested values.

Anchor
table0430
table0430

User-defined Table 0430 - Mode of arrival code

ValueDescription
AAmbulance
CCar
FOn foot
HHelicopter
PPublic Transport
O  Other 
Unknown 

...

Definition: This field indicates what recreational drugs the patient uses. It is used for the purpose of room assignment. Refer to User-defined Table 0431 - Recreational drug use codefor suggested values.

Anchor
table0431
table0431

User-defined Table 0431 - Recreational drug use code

ValueDescription
AAlcohol
KKava
MMarijuana
TTobacco - smoked
CTobacco - chewed
OOther
UUnknown

...

Definition: This field indicates the acuity level assigned to the patient at the time of admission. Refer to User-defined Table 0432 - Admission level of care code for suggested values.

Anchor
table0432
table0432

User-defined Table 0432 - Admission level of care code

ValueDescription
ACAcute
CHChronic
COComatose
CRCritical
IMImproved 
MO Moribund 

...

Definition: This field indicates non-clinical precautions that need to be taken with the patient. Refer to User-defined Table 0433 - Precaution code for suggested values.

Anchor
table0433
table0433

User-defined Table 0433 - Precaution code

ValueDescription
AAggressive
BBlind
CConfused
DDeaf
IOn IV
N"No-code" (i.e. Do not resuscitate)
PParaplegic
OOther
U  Unknown 

...

 Definition: This field indicates the patient’s current medical condition for the purpose of communicating to non-medical outside parties, e.g. family, employer, religious minister, media, etc,. Refer to User-defined Table 0434 - Patient condition codfor suggested values.

 

Anchor
table0434
table0434

 User-defined Table 0434 - Patient condition code

ValueDescription
ASatisfactory
CCritical
PPoor
SStable
Other 
Unknown 

...

 Definition: This field indicates whether or not the patient has a living will and, if so, whether a copy of the living will is on file at the healthcare facility. If the patient does not have a living will, the value of this field indicates whether the patient was provided information on living wills. Refer to User-defined Table 0315 - Living will code for suggested values. See also PD1-7 - Living will code.

Anchor
table0315
table0315

User-defined Table 0315 - Living will code

ValueDescription
YYes, patient has a living will
FYes, patient has a living will but it is not on file
NNo, patient does not have a living will and no information was provided
No, patient does not have a living will but information was provided 
Unknown 

...

Definition: This field indicate whether the patient wants to donate his/her organs and whether an organ donor card or similar documentation is on file with the healthcare organization. Refer to User-defined Table 0316 - Organ donor code for suggested values. See also PD1-8 - Organ donor.

Anchor
table0316
table0316

User-defined Table 0316 - Organ donor code

ValueDescription
YYes, patient is a documented donor and documentation is on file
FYes, patient is a documented donor, but documentation is not on file
NNo, patient has not agreed to be a donor
INo, patient is not a documented donor, but information was provided
RPatient leaves organ donation decision to relatives
PPatient leaves organ donation decision to a specific person
UUnknown 

...

Definition: This field indicates the patient’s instructions to the healthcare facility. Refer to User-defined Table 0435 - Advance directive code for suggested values. See also PD1-15 - Advance directive code.

Anchor
table0435
table0435

User-defined Table 0435 - Advance directive code

ValueDescription
DNRDo not resuscitate

...

The AL1 segment contains patient allergy information of various types. Most of this information will be derived from user-defined tables. Each AL1 segment describes a single patient allergy.

HL7 Attribute Table - AL1 – Patient allergy information

SEQLENDTOPTRP/#TBL#ITEM#ELEMENT NAME
14†SI †R  00203Set ID - AL1
2250CEO 012700204Allergen Type Code
3250CE  00205Allergen Code/Mnemonic/Description
4250CEO 012800206Allergy Severity Code
5250STOY 00207Allergy Reaction Code
6 8DT   00208Identification Date 

...

Definition: This field indicates a general allergy category (drug, food, pollen, etc.). Refer to User-defined Table 0127 - Allergen type for suggested values.

Anchor
table0127
table0127

User-defined Table 0127 - Allergen type

ValueDescription
DADrug allergy
FAFood allergy
MAMiscellaneous allergy
MCMiscellaneous contraindication
EAEnvironmental Allergy
AAAnimal Allergy
PAPlant Allergy
LA Pollen Allergy 
ADAdministrative Alert

...

Definition: This field indicates the general severity of the allergy. Refer to User-defined Table 0128 - Allergy severity for suggested values.

Anchor
table0128
table0128

User-defined Table 0128 - Allergy severity

ValueDescription
SVSevere
MOModerate
 MIMild 
 UUnknown 

...

The QRD segment is used to define a query.

HL7 Attribute Table – QRD - Original-Style Query Definition

SEQLENDTOPTRP/# TBL#ITEM #ELEMENT NAME
126TSR  00025Query Date/Time
21IDR 010600026Query Format Code
31IDR 009100027 Query Priority
410STR  00028 Query ID
5IDO  00030 Deferred Response Type
626TSO 010700029Deferred Response Date/Time
710CQR 012600031Quantity Limited Request
8250XCNR 00032 Who Subject Filter
9250CER004800033What Subject Filter
10250CERY 00034What Department Data Code
1120CMOY 00035 What Data Code Value Qual.
121IDO 010800036 Query Results Level

...

Definition: This field refers to HL7 Table 0106 - Query/response format code for valid values.

Anchor
table0106
table0106

HL7 Table 0106 - Query/response format code

ValueDescription
DResponse is in display format
RResponse is in record-oriented format
TResponse is in tabular format

...

Definition: This field contains the time frame in which the response is expected. Refer HL7 Table 0091 - Query priority for valid values. Table values and subsequent fields specify time frames for response.

Anchor
table0091
table0091

HL7 Table 0091 - Query priority

ValueDescription
DDeferred
IImmediate

...

Definition: This field refers to HL7 Table 0107 - Deferred response type for valid entries.
 

Anchor
table0107
table0107

HL7 Table 0107 - Deferred response type

ValueDescription
BBefore the Date/Time specified
LLater than the Date/Time specified

...

Components: <quantity (NM)> ^ <units (CE)>
Definition: This field contains the maximum length of the response that can be accepted by the requesting system. Valid responses are numerical values (in the first component) given in the units specified in the second component. Refer to HL7 Table 0126 - Quantity limited request for valid entries for the second component. Default is LI (lines).

Anchor
table0126
table0126

HL7 Table 0126 - Quantity limited request

ValueDescription
CH Characters
LILines
PGPages
RDRecords
ZOLocally defined

...

Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (IS)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (IS)>
Definition: This field describes the kind of information that is required to satisfy the request. Valid values define the type of transaction inquiry and may be extended locally during implementation.

Anchor
table0048
table0048

HL7 Table 0048 - What subject filter

ValueDescription
ADV Advice/diagnosis
ANUNursing unit lookup (returns patients in beds, excluding empty beds)
APN Patient name lookup
APPPhysician lookup
ARN Nursing unit lookup (returns patients in beds, including empty beds)
APMMedical record number query, returns visits for a medical record number
APAAccount number query, return matching visit
CAN Cancel. Used to cancel a query
DEMDemographics
FIN Financial
GIDGenerate new identifier
GOLGoals
MRIMost recent inpatient
MROMost recent outpatient
NCKNetwork clock
NSCNetwork status change
NSTNetwork statistic
ORDOrder
OTHOther
PRB Problems
PROProcedure
RES Result
RARPharmacy administration information
RERPharmacy encoded order information
RDRPharmacy dispense information
RGRPharmacy give information
RORPharmacy prescription information
SALAll schedule related information, including open slots, booked slots, blocked slots
SBKBooked slots on the identified schedule
SBL Blocked slots on the identified schedule
SOFFirst open slot on the identified schedule after the start date/time
SOPOpen slots on the identified schedule
SSATime slots available for a single appointment
SSRTime slots available for a recurring appointment
STAStatus
VXI Vaccine Information
XIDGet cross-referenced identifiers

...

Definition: This field is used to control level of detail in results. Refer to HL7 Table 0108 - Query results level for valid values. See section 4 and 5.

Anchor
table0108
table0108

HL7 Table 0108 - Query results level

ValueDescription
OOrder plus order status
RResults without bulk text
SStatus only
TFull results

...

The QRF segment is used with the QRD segment to further refine the content of an original style query.

HL7 Attribute Table – QRF – Original style query filter

SEQLENDTOPTRP/#TBL#ITEM #ELEMENT NAME
120 STR Y  00037 Where Subject Filter
226 TSB  00038When Data Start Date/Time
326TSB  00039When Data End Date/Time
460STOY 00040What User Qualifier
560STOY 00041Other QRY Subject Filter
612IDOY015600042 Which Date/Time Qualifier
712IDOY0157 00043 Which Date/Time Status Qualifier
812ID OY015800044 Date/Time Selection Qualifier
960TQ O  00694 When Quantity/Timing Qualifier
1010NMO  01442Search Confidence Threshold

...

Definition: This field specifies the type of date referred to in QRF-2-When data start date/time and QRF-3-When data end date/time.

Anchor
table0156
table0156

HL7 Table 0156 - Which date/time qualifier

ValueDescription
ANYAny date/time within a range
COLCollection date/time, equivalent to film or sample collection date/time
ORDOrder date/time
RCTSpecimen receipt date/time, receipt of specimen in filling ancillary (Lab)
REPReport date/time, report date/time at filing ancillary (i.e., Lab)
SCHEDSchedule date/time

...

Definition: This field specifies the status type of objects selected in date range defined by QRF-2-When data start date/time and QRF-3-When data end date/time.

Anchor
table0157
table0157

HL7 Table 0157 - Which date/time status qualifier

Value Description
ANYAny status
CFNCurrent final value, whether final or corrected
CORCorrected only (no final with corrections)
FINFinal only (no corrections)
PREPreliminary
REPReport completion date/time

...

Definition: This field allows the specification of certain types of values within the date/time range.

Anchor
table0158
table0158

HL7 Table 0158 - Date/time selection qualifier

Value Description
1STFirst value within range
ALLAll values within the range
LSTLast value within the range
REVAll values within the range returned in reverse chronological order (This is the default if not otherwise specified.)

...