MFN^M05 — Patient Location Master File
Broadcast of an update to the locations and care units reference set (rooms, beds, imaging platforms, OR theaters) from source HIS to consuming systems (LIS, RIS, EAI). Prevents location divergences between patient/equipment apps.
Purpose
M05 broadcasts the locations reference set: rooms, beds, imaging platforms, OR theaters, ICU bays. The LOC, LCH (Location Characteristic), LCC (Location Charge Code), LDP (Location Department), LRL (Location Relationship) segments carry naming, capacity, pricing, department attachment, and hierarchical relationships.
Segment structure
Structure MFN_M05: MSH, MFI, { MFE, LOC, [LCH], {LRL}, [LCC], [LDP] } (1..* groups).
MFI-3— File-Level Event Code:UPDorREP.MFE-1— Record-Level Event Code:MAD(add),MDL(delete),MUP(update),MUC(correction).LOC-1— Primary Key Value (unique location identifier).LOC-5— Location Type:C(Census Tract),R(Room),O(Office)…LCC-3— Location Type Charge Code (pricing code).LDP-3— Specialty (HL7 table 0265).
Real-world example
Adding new room 201 in Cardiology B3 unit:
MSH|^~\&|HIS|HOSP01|EHR|HOSP01|20260519180000||MFN^M05^MFN_M05|MFNM05001|P|2.5.1|||AL|NE
MFI|LOC^Location Master File^HL70175|HIS|UPD|20260519180000|20260519180000|AL
MFE|MAD|LOC-CARDIO-B3-201|20260519180000|CARDIO-B3-201^Cardiology B3 Room 201^L|CWE
LOC|1|CARDIO-B3-201^Cardiology B3 Room 201|HOSP01^Central Hospital^L||C|CARDIO^Cardiology|||TEL: +33 1 42 00 00 00
LCC|1|TARIF_CHR^Room rate^L|CHR_STD^Standard room^L|||60.00 Common errors
- LOC-1 inconsistent with prior PV1-3: if a room is renamed while a patient is admitted there, the admission PV1-3 becomes orphan.
- MFE-1 = MDL on an occupied room: some HIS refuse; others orphan the admissions.
- LCC missing: billing impossible on this bed. Always broadcast an LCC, even at 0.00.
- No parent LRL: the room has no attached service — occupancy reports by service explode.
Related master files
| Code | Trigger event | Description |
|---|---|---|
| M05 | Patient Location Master File | This page. |
| M01 | Master File Not Otherwise Specified | Generic. |
| M02 | Staff Practitioner Master File | Practitioner registry. |
| M04 | Patient Charge Description Master File | Procedures/rates reference. |
| M06 | Clinic Location Master File | External consultation reference. |