HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

MFN: Master files notification

This page lists the structures and trigger events MFN defines, taken from the standard. The written commentary that theADT page carries has not been written for MFN.

Recognising MFN messages

MFN announces itself in MSH-9 like this:

MSH-9MFN^M01^MFN_M01
  1. MSH-9.1MFNmessage code: what kind of message this is
  2. MSH-9.2M01trigger event: what happened in the real world: master file notification
  3. MSH-9.3MFN_M01message structure: which segments to expect, and in what order

How to use these specifications explains MSH-9 in full, with a worked example.

Message structures

MFN takes 15 structures. The first 4 are shown in full; the rest are listed below.

MFN_M01: Master File Notification

Sent when one thing happens: M01: Master File Notification.

You must always send: MSH, MFI, MFE. Everything else is optional, or required only inside a group you chose to send.

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
MFIR1..1
MFa group of 2 segments, repeated togetherR1..*
MFER1..1
anyHL7SegmentO0..1

R inside a group means required of that group. Send the group and you must include that segment; leave the group out and it never appears. This structure has 1 such group: MF.

MFN_M02: Staff/Practitioner Master File Message

Sent when one thing happens: M02: Staff/Practitioner Master File Message.

You must always send: MSH, MFI, MFE, STF. Everything else is optional, or required only inside a group you chose to send.

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
MFIR1..1
MF_STAFFa group of 9 segments, repeated togetherR1..*
MFER1..1
STFR1..1
PRAO0..*
ORGO0..*
AFFO0..*
LANO0..*
EDUO0..*
CERO0..*
NTEO0..*

R inside a group means required of that group. Send the group and you must include that segment; leave the group out and it never appears. This structure has 1 such group: MF_STAFF.

MFN_M03: Master File Notification - Test/Observation

Sent when one thing happens: M03: Master File Notification - Test/Observation.

You must always send: MSH, MFI, MFE, OM1, anyHL7Segment. Everything else is optional, or required only inside a group you chose to send.

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
MFIR1..1
MF_TESTa group of 3 segments, repeated togetherR1..*
MFER1..1
OM1R1..1
anyHL7SegmentR1..1

R inside a group means required of that group. Send the group and you must include that segment; leave the group out and it never appears. This structure has 1 such group: MF_TEST.

MFN_M04: Charge Description Master File Message

Sent when one thing happens: M04: Charge Description Master File Message.

You must always send: MSH, MFI, MFE, CDM. Everything else is optional, or required only inside a group you chose to send.

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
MFIR1..1
MF_CDMa group of 3 segments, repeated togetherR1..*
MFER1..1
CDMR1..1
PRCO0..*

R inside a group means required of that group. Send the group and you must include that segment; leave the group out and it never appears. This structure has 1 such group: MF_CDM.

Other MFN structures

StructureNameEvents
MFN_M05Patient Location Master File MessageM05
MFN_M06M06
MFN_M07M07
MFN_M08Master File Notification - Test/Observation (Numeric)M08
MFN_M09M09
MFN_M10Master File Notification - Test/Observation BatteriesM10
MFN_M11Master File Notification - Test/Calculated ObservationsM11
MFN_M12M12
MFN_M13Master File Notification - GeneralM13
MFN_M15Inventory Item Master File MessageM15
MFN_Znn

Trigger events

The trigger event is the real-world thing that made the message get sent. MFN defines 14.

EventNameStructure
M01Master File NotificationMFN_M01
M02Staff/Practitioner Master File MessageMFN_M02
M03Master File Notification - Test/ObservationMFN_M03
M04Charge Description Master File MessageMFN_M04
M05Patient Location Master File MessageMFN_M05
M06M06MFN_M06
M07M07MFN_M07
M08Master File Notification - Test/Observation (Numeric)MFN_M08
M09M09MFN_M09
M10Master File Notification - Test/Observation BatteriesMFN_M10
M11Master File Notification - Test/Calculated ObservationsMFN_M11
M12M12MFN_M12
M13Master File Notification - GeneralMFN_M13
M15Inventory Item Master File MessageMFN_M15