HL7 MFN_M05 Patient Location Master File
MFN_M05 publishes the patient location master file. This is the catalog behind the places that show up later in PV1-3 Assigned Patient Location, transfer messages, scheduling, census views, bed boards, and billing rules.
It is not an admission, discharge, or transfer message. An ADT_A02 says a patient moved. MFN_M05 says the location itself exists, how it is described, how it relates to other locations, which departments use it, and sometimes how it is charged.
A small MFN M05 example
What workflow it represents
The sender is usually ADT administration, facilities, a bed-management application, or an enterprise location master. Receivers use the feed to validate locations, populate picklists, drive census displays, route orders, support encounter transfers, and map local locations to downstream systems.
Clean location reference data makes later ADT traffic calmer. A transfer to a location code nobody has loaded can break routing, create manual work queues, or leave a bed-board view looking wrong even when the ADT event itself is well formed.
How to read the structure
MSH, MFI, and MFE do the usual master-file work: message identity, file identity, and record identity.
LOC is the required location record. LCH adds location characteristics, and LRL describes relationships to other locations or organizations.
The nested MF_LOC_DEPT group is required in the local v2.5.1 structure. LDP ties the location to a department or service. LCH can appear again under LDP for department-specific characteristics, and LCC can attach charge codes to that location/department combination.
Implementation traps
The biggest trap is mixing physical identity with current use. LOC describes the location itself, not which patient is there today. Current occupancy belongs in ADT and bed-management workflows.
Another trap is losing hierarchy. A receiver may need to know that a bed belongs to a room, the room belongs to a nursing unit, and the nursing unit rolls up to a facility. If the feed only sends display labels, downstream routing and reporting become guesswork.
Pay attention to where LCH appears. A characteristic directly after LOC applies to the location generally; a characteristic after LDP can be department-specific. That distinction matters when one physical room is used differently by different services.
Reference notes
HL7 v2+ describes MFN_M05 as the patient location master-file event and notes that MFI-1 should identify the LOC master file. Its structure places required LOC detail after MFE, followed by optional location characteristics and relationships, then required department detail.