HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

MFR: Master files response

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

Recognising MFR messages

MFR announces itself in MSH-9 like this:

MSH-9MFR^M04^MFR_M04
  1. MSH-9.1MFRmessage code: what kind of message this is
  2. MSH-9.2M04trigger event: what happened in the real world: charge description master file message
  3. MSH-9.3MFR_M04message 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

MFR takes 5 structures. The first 4 are shown in full; the rest are listed below.

MFR_M01: Master File Notification

No trigger event in the standard names this structure.

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

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
MSAR1..1
ERRO0..*
QAKO0..1
QRDR1..1
QRFO0..1
MFIR1..1
MF_QUERYa group of 2 segments, repeated togetherR1..*
MFER1..1
anyHL7SegmentR1..1
DSCO0..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_QUERY.

MFR_M04: Charge Description Master File Message

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

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

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
MSAR1..1
ERRO0..*
QAKO0..1
QRDR1..1
QRFO0..1
MFIR1..1
MF_QUERYa group of 3 segments, repeated togetherR1..*
MFER1..1
CDMR1..1
PRCO0..*
DSCO0..1

MFR_M05: Patient Location Master File Message

Sent when one thing happens: M05: Patient Location Master File Message.

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

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
MSAR1..1
ERRO0..*
QAKO0..1
QRDR1..1
QRFO0..1
MFIR1..1
MF_QUERYa group of 7 segments, repeated togetherR1..*
MFER1..1
LOCR1..1
LCHO0..*
LRLO0..*
LDPR1..*
LCHO0..*
LCCO0..*
DSCO0..1

MFR_M06

Sent when one thing happens: M06: M06.

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

SegmentNameOPTCardinality
MSHR1..1
SFTO0..*
MSAR1..1
ERRO0..*
QAKO0..1
QRDR1..1
QRFO0..1
MFIR1..1
MF_QUERYa group of 4 segments, repeated togetherR1..*
MFER1..1
CM0R1..1
CM1O0..*
CM2O0..*
DSCO0..1

Other MFR structures

StructureNameEvents
MFR_M07M07

Trigger events

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

EventNameStructure
M01Master File Notification
M04Charge Description Master File MessageMFR_M04
M05Patient Location Master File MessageMFR_M05
M06M06MFR_M06
M07M07MFR_M07