HL7 v2 2.1

Code tables of version 2.1. HL7-defined tables are fixed by the standard; user-defined tables list the suggested values. Tables with a FHIR code map link to it.

Version2.12.22.32.3.12.42.52.5.12.62.72.7.12.8

0001SEXHL7-defined, FHIR4 codes
CodeDescription
FFemale
MMale
OOther
UUnknown
0002MARITAL STATUSHL7-defined, FHIR5 codes
CodeDescription
ASeparated
DDivorced
MMarried
SSingle
WWidowed
0003EVENT TYPE CODEHL7-defined, FHIR34 codes
CodeDescription
A01Admit a patient
A02Transfer a Patient
A03Discharge a Patient
A04Register a Patient
A05Pre-admit a Patient
A06Transfer an outpatient to inpatient
A07Transfer an Inpatient to Outpatient
A08Update patient information
A09Patient departing
A10Patient arriving
A11Cancel admit
A12Cancel transfer
A13Cancel discharge
A14Pending admit
A15Pending transfer
A16Pending discharge
A17Swap Patients
A18Merge patient information
A19Patient query
A20Bed status updates
A21Leave of Absence - Out (leaving)
A22Leave of Absence - In (returning)
A23Delete a Patient Record
A24Link Patient Records
O01Order message
O02Order response
P01Add and update patient account
P02Purge Patient Accounts
P03Post detail financial transaction
P04Generate bills and A/R statements
Q01Immediate access
Q02Deferred Access
R01Unsolicited transmission of requested Observ.
R03Display oriented results, query/unsol. update
0004PATIENT CLASSHL7-defined, FHIR4 codes
CodeDescription
EEmergency
IInpatient
OOutpatient
PPreadmit
0005ETHNIC GROUPUser-defined4 codes
CodeDescription
BBlack
CCaucasian
HHispanic
ROriental
0006RELIGIONHL7-defined, FHIR9 codes
CodeDescription
AAtheist
BBaptist
CCatholic
EEpiscopalian
JJudaism
LLutheran
MChurch of Latter Day Saints (Mormon)
NHindu
PProtestant
0007ADMISSION TYPEHL7-defined, FHIR4 codes
CodeDescription
AAccident
EEmergency
LLabor and Delivery
RRoutine
0008ACKNOWLEDGMENT CODEHL7-defined3 codes
CodeDescription
AAApplication Accept
AEApplication Error
ARApplication Reject
0009AMBULATORY STATUSUser-defined15 codes
CodeDescription
A0No functional limitations
A1Ambulates with assistive device
A2Wheelchair/stretcher bound
A3Comatose; non-responsive
A4Disoriented
A5Vision impaired
A7Speech impaired
A8Non-English Speaking
A9Functional level unknown
B1Oxygen Therapy
B2Special Equipment (tunes, IV's, Catheters)
B3Amputee
B4Mastectomy
B5Paraplegic
B6Pregnant
0010PHYSICIAN IDUser-defined0 codes
0012STOCK LOCATIONUser-defined1 codes
CodeDescription
FLFilled from floor stock
0017TRANSACTION TYPEHL7-defined0 codes
0018PATIENT TYPEHL7-defined0 codes
0019ANESTHESIA CODEUser-defined0 codes
0021BAD DEBT AGENCY CODEUser-defined0 codes
0022BILLING STATUSUser-defined0 codes
0023ADMIT SOURCEUser-defined0 codes
0024FEE SCHEDULEUser-defined0 codes
0032CHARGE/PRICE INDICATORUser-defined0 codes
0033ROUTEHL7-defined28 codes
CodeDescription
APApply externally
CHChew
DUDust
EAEar
EYEye
IAIntro-arterial
IDIntra-dermal
IFInfiltrate
IHInhalation
IMIntra-muscular
INIntra-nasal
IRIrrigate
ISInserted
ITIntrathecal
IVIntravenous
NBNebulized
NGNathogasic
PAPeri-anally
PTPaint
PUIV push
RCRectally
SHShampoo
SLSublingual
SOSoak
SSIV soluset
TPTopically
WAWash
WIWipe
0034SITE ADMINISTEREDHL7-defined2 codes
CodeDescription
BButtock
LLeft arm
0036UNITS OF MEASURE - ISO528,1977HL7-defined10 codes
CodeDescription
BTBottle
EAEach
GMGrams
KGKilograms
MEQMilliequivalent
MGMilligrams
OZOunces
SCSquare centimeters
TBTablet
VLVial
0038ORDER STATUSHL7-defined7 codes
CodeDescription
CAOrder was canceled
CMOrder is completed
DCOrder was discontinued
ERError, order not found
HDOrder is on hold
IPIn process, unspecified
SCIn process, scheduled
0042INS. COMPANY PLAN CODEUser-defined0 codes
0043CONDITIONUser-defined0 codes
0044CONTRACT CODEUser-defined0 codes
0045COURTESY CODEUser-defined0 codes
0046CREDIT RATINGUser-defined0 codes
0047DANGER CODEUser-defined0 codes
0048WHAT SUBJECT FILTERHL7-defined11 codes
CodeDescription
ADVAdvice/Diagnosis
ANUNursing Unit Look up
APNPatient name look up
CANCancel. Used to cancel a query
DEMDemographics
MRIMost recent inpatient
MROMost recent outpatient
OTHOther
PROProcedure
RESResult
STAStatus
0049DEPARTMENT CODEUser-defined0 codes
0050ACCIDENT CODEHL7-defined0 codes
0051DIAGNOSIS CODEHL7-defined0 codes
0052DIAGNOSIS TYPEHL7-defined, FHIR0 codes
0053DIAGNOSIS CODING METHODHL7-defined1 codes
CodeDescription
I9ICD9
0055DRG CODEHL7-defined0 codes
0056DRG GROUPER REVIEW CODEHL7-defined0 codes
0057DRUG CODEUser-defined0 codes
0059CONSENT CODEHL7-defined0 codes
0060ERROR CODEUser-defined0 codes
0062EVENT REASONUser-defined, FHIR2 codes
CodeDescription
01Patient Request
02Physician Order
0063RELATIONSHIPHL7-defined, FHIR0 codes
0064FINANCIAL CLASSUser-defined0 codes
0065ACTION CODEHL7-defined7 codes
CodeDescription
AAdd ordered tests to the existing specimen
CCancel order for battery or tests named
GGenerated order
LLab to obtain specimen from patient.
OSpecimen obtained by service other than Lab
PPending specimen-Order sent prior to delivery
SSchedule the tests specified below
0066EMPLOYMENT STATUSUser-defined0 codes
0068GUARANTOR TYPEUser-defined0 codes
0069HOSPITAL SERVICEUser-defined, FHIR0 codes
0070SOURCE OF SPECIMENUser-defined29 codes
CodeDescription
BLDBlood
BONBone
BRNBurn
CNJTConjunctiva
CSFCerebral spinal fluid
CVXCervix
EAREar
FIBFibroblood
HARHair
MNAmniotic Fluid
NOSNose
OTHOther
PLASPlasma
PRTPeritoneal Fluid
RBCErythrocytes
SALSaliva
SEMSeminal Fluid
SERSerum
SKNSkin
SNVSynovial Fluid
STLStool
SWTSweat
THRTThroat
TISTissue
UMBUmbilical Blood
URUrine
URTHUrethra
WBCLeukocytes
WNDWound
0072INS. PLAN IDUser-defined0 codes
0073INTEREST RATE CODEUser-defined0 codes
0074DIAGNOSTIC SERVICE SECTION IDUser-defined, FHIR27 codes
CodeDescription
BGBlood gases
CHChemistry
CPCytopathology
CTCAT scan
CUSCardiac Ultrasound
ECElectrocardiac (e.g., EKG, EEC, Holter)
HMHematology
IMMImmunology
MBMicrobiology
MCBMycobacteriology
MYCMycology
NMRNuclear magnetic resonance
NMSNuclear medicine scan
NRSNursing service measures
OTOccupational Therapy
OTHOther
OUSOB Ultrasound
PHRPharmacy
PTPhysical Therapy
RCRespiratory Care
RTRadiation Therapy
RUSRadiology ultrasound
SPSurgical Pathology
SRSerology
TXToxicology
VUSVascular Ultrasound
XRCCineradiography
0076MESSAGE TYPEHL7-defined11 codes
CodeDescription
ACKGeneral Acknowledgment CNT II
ARDAncillary RPT (display) ANR VII
BARAdd/change billing account BLN VI
DSRDisplay response QRY V
MCFDelayed acknowledgment CNT II
ORFObserv. Result/record resp. ANR VII
ORMOrder ORD IV
ORROrder response message ORD IV
ORUObserv. result/unsolicited ANR VII
OSQOrder status query ORD IV
UDMUnsolicited display QRY V
0078ABNORMAL FLAGSHL7-defined, FHIR13 codes
CodeDescription
<Below absolute low-off instrument scale
AAbnormal (applies to non-numeric results)
AAVery abnormal
DSignificant change down
HAbove high normal
HHAbove upper panic limits
IInterval
LLBelow lower panic limits
MSModerately sensitive
RResists
SSensitive
USignificant change up
VSVery sensitive
0079LOCATIONUser-defined0 codes
0080NATURE OF ABNORMAL TESTINGHL7-defined, FHIR4 codes
CodeDescription
AAn aged based population
NNone - generic normal range
RA race based population
SA sexed based population
0081NOTICE OF ADMISSIONUser-defined0 codes
0083OUTLIER TYPEUser-defined0 codes
0084PERFORMED BY CODEUser-defined0 codes
0085OBSERVATION RESULT STATUSHL7-defined, FHIR5 codes
CodeDescription
DDelete previously transmitted observation
FComplete/final results (entered and verified)
ISpecimen in lab--results pending
RResults entered - not verified
SPartial results
0086INS. PLAN TYPEUser-defined0 codes
0087PRE-ADMIT TESTINGUser-defined0 codes
0088PROCEDURE CODEUser-defined0 codes
0089PROCEDURE CODING METHODUser-defined0 codes
0090PROCEDURE TYPEHL7-defined0 codes
0091QUERY PRIORITYHL7-defined2 codes
CodeDescription
DDeferred
IImmediate
0092RE-ADMISSION INDICATORUser-defined, FHIR0 codes
0093RELEASE OF INFORMATIONUser-defined0 codes
0094REPORT OF ELIGIBILITYUser-defined0 codes
0096FINANCIAL TRANSACTION CODEUser-defined0 codes
0098TYPE OF AGREEMENT CODEUser-defined0 codes
0099VIP INDICATORUser-defined0 codes
0100WHEN TO CHARGEHL7-defined4 codes
CodeDescription
DOn discharge
OOn receipt of order
RAt time service is completed
SAt time service is started
0102DELAYED ACKNOWLEDGMENT TYPEHL7-defined1 codes
CodeDescription
DMessage Received, stored for later processing
0103PROCESSING IDHL7-defined3 codes
CodeDescription
DDebugging
PProduction
TTraining
0104VERSION CONTROL TABLEHL7-defined3 codes
CodeDescription
2.0Release 2.0 September 1988
2.0DDemo 2.0 October 1988
2.1Release 2.1 March 1990
0105SOURCE OF COMMENTHL7-defined2 codes
CodeDescription
LAncillary department is source of comment
POrderer is source of comment
0106QUERY FORMAT CODEHL7-defined1 codes
CodeDescription
RResponse in Record-oriented format
0107DEFERRED RESPONSE TYPEHL7-defined1 codes
CodeDescription
LLater than the DATE/TIME specified
0108QUERY RESULTS LEVELHL7-defined3 codes
CodeDescription
OOrder plus order status
SStatus only
TFull Results
0109REPORT PRIORITYHL7-defined2 codes
CodeDescription
RRoutine
SStat
0110TRANSFER TO BAD DEBT CODEUser-defined0 codes
0111DELETE ACCOUNT CODEHL7-defined0 codes
0112DISCHARGED DISPOSITIONHL7-defined0 codes
0113DISCHARGED TO LOCATIONUser-defined0 codes
0114DIET TYPEUser-defined0 codes
0115SERVICING FACILITYUser-defined0 codes
0116BED STATUSUser-defined, FHIR3 codes
CodeDescription
CClosed
HHousekeeping
OOccupied
0117ACCOUNT STATUSUser-defined0 codes
0118MAJOR DIAGNOSTIC CATEGORYUser-defined0 codes
0119ORDER CONTROLHL7-defined, FHIR27 codes
CodeDescription
CACancel order request
CHChild order
CNCombined result
DCDiscontinue order request
DEData Errors
DRDiscontinued as requested
HDHold order request
HROn hold as requested
NANumber assigned T
NWNew order T
ODOrder discontinued
OKOrder accepted and OK
ORReleased as requested
PAParent order
REObservations to follow
ROReplacement order
RPOrder replace request
RRRequest received
RUReplaced unsolicited
SNSend filler number F I
SSSend order status request
UDUnable to discontinue
UHUnable to put on hold
URUnable to release
UXUnable to change
XRChanged as requested
XXOrder changed, unsolicited
0121RESPONSE FLAGHL7-defined3 codes
CodeDescription
EReport exceptions only.
FSame as D, plus confirmations explicitly.
NOnly the MSA segment is returned.
0122CHARGE TYPEHL7-defined8 codes
CodeDescription
CHCharge
COContract
CRCredit
DPDepartment
GRGrant
NCNo Charge
PCProfessional
RSResearch
0123RESULT STATUS - OBRHL7-defined, FHIR8 codes
CodeDescription
CCorrection of previously transmitted results
FFinal results - results stored & verified
ISpecimen in lab, not yet processed.
PPreliminary results
RResults stored - not yet verified
SProcedure scheduled, not done
YNo order on record for this test
ZNo record of this patient
0124TRANSPORTATION MODEHL7-defined3 codes
CodeDescription
PORTThe examining device goes to Patient's Loc.
WALKPatient walks to diagnostic service
WHLCWheelchair
0125VALUE TYPEUser-defined8 codes
CodeDescription
ADAddress
CKComposite ID with check digit
FTFormatted Text
PNPerson name
STString data. Used to transmit numerics.
TMTime
TSTime stamp
TXText
0126QUANTITY LIMITED REQUESTHL7-defined4 codes
CodeDescription
CHCharacters
LILines
PGPages
ZOLocally defined