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:
MFN^M01^MFN_M01- MSH-9.1
MFNmessage code: what kind of message this is - MSH-9.2
M01trigger event: what happened in the real world: master file notification - MSH-9.3
MFN_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.
| Segment | Name | OPT | Cardinality |
|---|---|---|---|
| MSH | R | 1..1 | |
| SFT | O | 0..* | |
| MFI | R | 1..1 | |
| MF | a group of 2 segments, repeated together | R | 1..* |
| MFE | R | 1..1 | |
| anyHL7Segment | O | 0..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.
| Segment | Name | OPT | Cardinality |
|---|---|---|---|
| MSH | R | 1..1 | |
| SFT | O | 0..* | |
| MFI | R | 1..1 | |
| MF_STAFF | a group of 9 segments, repeated together | R | 1..* |
| MFE | R | 1..1 | |
| STF | R | 1..1 | |
| PRA | O | 0..* | |
| ORG | O | 0..* | |
| AFF | O | 0..* | |
| LAN | O | 0..* | |
| EDU | O | 0..* | |
| CER | O | 0..* | |
| NTE | O | 0..* |
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.
| Segment | Name | OPT | Cardinality |
|---|---|---|---|
| MSH | R | 1..1 | |
| SFT | O | 0..* | |
| MFI | R | 1..1 | |
| MF_TEST | a group of 3 segments, repeated together | R | 1..* |
| MFE | R | 1..1 | |
| OM1 | R | 1..1 | |
| anyHL7Segment | R | 1..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.
| Segment | Name | OPT | Cardinality |
|---|---|---|---|
| MSH | R | 1..1 | |
| SFT | O | 0..* | |
| MFI | R | 1..1 | |
| MF_CDM | a group of 3 segments, repeated together | R | 1..* |
| MFE | R | 1..1 | |
| CDM | R | 1..1 | |
| PRC | O | 0..* |
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
| Structure | Name | Events |
|---|---|---|
| MFN_M05 | Patient Location Master File Message | M05 |
| MFN_M06 | M06 | |
| MFN_M07 | M07 | |
| MFN_M08 | Master File Notification - Test/Observation (Numeric) | M08 |
| MFN_M09 | M09 | |
| MFN_M10 | Master File Notification - Test/Observation Batteries | M10 |
| MFN_M11 | Master File Notification - Test/Calculated Observations | M11 |
| MFN_M12 | M12 | |
| MFN_M13 | Master File Notification - General | M13 |
| MFN_M15 | Inventory Item Master File Message | M15 |
| MFN_Znn |
Trigger events
The trigger event is the real-world thing that made the message get sent. MFN defines 14.
| Event | Name | Structure |
|---|---|---|
| M01 | Master File Notification | MFN_M01 |
| M02 | Staff/Practitioner Master File Message | MFN_M02 |
| M03 | Master File Notification - Test/Observation | MFN_M03 |
| M04 | Charge Description Master File Message | MFN_M04 |
| M05 | Patient Location Master File Message | MFN_M05 |
| M06 | M06 | MFN_M06 |
| M07 | M07 | MFN_M07 |
| M08 | Master File Notification - Test/Observation (Numeric) | MFN_M08 |
| M09 | M09 | MFN_M09 |
| M10 | Master File Notification - Test/Observation Batteries | MFN_M10 |
| M11 | Master File Notification - Test/Calculated Observations | MFN_M11 |
| M12 | M12 | MFN_M12 |
| M13 | Master File Notification - General | MFN_M13 |
| M15 | Inventory Item Master File Message | MFN_M15 |