ediverse Explore the platform

Spotlight PEPPOL BIS Billing 3.0 The EU e-invoicing mandate is here — France Sept 2026, Belgium Jan 2026, Germany 2025.

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: UPD or REP.
  • 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:

plaintext mfn-m05-example.hl7
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.
CodeTrigger eventDescription
M05Patient Location Master FileThis page.
M01Master File Not Otherwise SpecifiedGeneric.
M02Staff Practitioner Master FilePractitioner registry.
M04Patient Charge Description Master FileProcedures/rates reference.
M06Clinic Location Master FileExternal consultation reference.

See also: MFN^M01, MFN^M02, MFN^M04.