Reference
HL7 v2 field reference
The fields you'll map most often, with positions, meanings and their FHIR targets.
| Field |
Name |
Example |
Notes |
| MSH-3 / MSH-4 |
Sending application / facility |
FHIRLAB / SYNTHEA |
Route and audit on these |
| MSH-5 / MSH-6 |
Receiving application / facility |
OIE / LAB |
|
| MSH-7 |
Message date/time |
20261126101500 |
|
| MSH-9 |
Message type |
ADT^A04^ADT_A01 |
type ^ event ^ structure |
| MSH-10 |
Control id |
MSG2026... |
Echoed in MSA-2 |
| MSH-11 |
Processing id |
P |
P production, T training, D debug |
| MSH-12 |
Version |
2.5 |
AU pathology is usually 2.4 |
PID: patient identification#
| Field |
Name |
FHIR Patient |
| PID-3 |
Identifier list (id^^^authority^type) |
identifier[] (type → identifier.type) |
| PID-5 |
Name (family^given^middle^suffix^prefix) |
name[] |
| PID-7 |
Date of birth |
birthDate |
| PID-8 |
Administrative sex (M/F/O/U/A/N) |
gender (A and N → other/unknown) |
| PID-10 |
Race |
AU: Indigenous status usually comes from a local field or extension |
| PID-11 |
Address (street^other^city^state^postcode^country^type) |
address[] |
| PID-13 / PID-14 |
Phone (home / business) |
telecom[] |
| PID-19 |
SSN |
Don't map in AU |
| PID-29 / PID-30 |
Death date / indicator |
deceasedDateTime / deceasedBoolean |
PV1: patient visit#
| Field |
Name |
FHIR Encounter |
| PV1-2 |
Patient class (I/O/E/P) |
class (IMP / AMB / EMER / PRENC) |
| PV1-3 |
Assigned location |
location[].location |
| PV1-7 |
Attending doctor |
participant[] (type ATND) |
| PV1-10 |
Hospital service |
serviceType |
| PV1-19 |
Visit number |
identifier[] (type VN) |
| PV1-44 / PV1-45 |
Admit / discharge date-time |
period.start / period.end |
OBX: observation (results)#
| Field |
Name |
FHIR Observation |
| OBX-2 |
Value type (NM, ST, CE/CWE, TX, ED) |
Chooses the value[x] type |
| OBX-3 |
Observation identifier |
code (LOINC) |
| OBX-5 |
Value |
valueQuantity / valueString / valueCodeableConcept |
| OBX-6 |
Units |
valueQuantity.unit / code (UCUM) |
| OBX-7 |
Reference range (3.5-5.0) |
referenceRange |
| OBX-8 |
Abnormal flag (H, L, HH, LL, N) |
interpretation |
| OBX-11 |
Result status (F, P, C, X) |
status (final, preliminary, corrected, cancelled) |
| OBX-14 |
Observation date-time |
effectiveDateTime |
v2 dates#
YYYY[MM[DD[HH[MM[SS[.S[S[S[S]]]]]]]]][+/-ZZZZ]. Keep the precision you were given: 198703 is a month, and becomes FHIR 1987-03.