PipeHat Open PipeHat
HL7 V2 | TABLE 0004

Table 0004: Patient Class

Table of codes used by systems to categorize patients by site in HL7 Version 2.x interfaces.

Type
User-defined (site-defined)
Codes
9
Introduced
HL7 v2.1
Used in
PV1-2
FHIR code system
http://terminology.hl7.org/CodeSystem/v3-ActCode
THO code system
http://terminology.hl7.org/CodeSystem/v2-0004
OID
2.16.840.1.113883.18.5

User-defined (site-defined): HL7 suggests these values, and each site may use its own. PipeHat notes codes outside this list as information, not errors.

Codes

CodeMeaningFHIR code
EEmergencyEMER
IInpatientIMP
OOutpatientAMB
PPreadmitPRENC
RRecurring patientR
BObstetricsB
CCommercial AccountC
NNot ApplicableN
UUnknownU

FHIR codes from the HL7 v2-to-FHIR concept map PatientClass (unconditional mappings only).

Where it's used

ElementNameFHIR (v2-to-FHIR mapping)
PV1-2Patient ClassEncounter.class Encounter.status

Elements with a dot (such as CX.5) are data type components, used wherever that data type appears.

Source: HL7 Terminology (THO) 7.4.0 and the HL7 v2-to-FHIR Implementation Guide 1.0.0, published by HL7 International under CC0. Check your trading partner's specification for the values they actually send.