The Path
Module 3 · Message types·9 min
The rest of the family
Billing, master files, queries, vaccines: the messages you meet less often.
ADT, ORM, ORU, MDM, SIU: you now know the messages that keep a hospital running day to day. A few others remain, less frequent but very real. One day a specification will put one in front of you. Here is how to recognize them.
DFT: billing a procedure
When you meet it: whenever a department (lab, radiology, sleep lab) has to tell the billing system “this procedure was done, for this patient, on this date”. The DFT^P03 message (Detail Financial Transaction) carries one FT1 segment per procedure. The billing system then works out the price, the reimbursement and the invoice.
The sleep lab tells the billing system about the procedure performed for Marie Dubois on the night of June 26.
The fields to know: FT1-4, the procedure period (start and end, a night here); FT1-6, the transaction type (CG for a charge, CD for a credit, PY for a payment); FT1-7, the procedure code; FT1-10, the quantity.
Its cousin BAR manages the billing account itself: BAR^P01 creates it, BAR^P05 updates it. DFT adds lines, BAR keeps the file.
MFN: keeping master files in sync
When you meet it: when several applications must share the same reference list. The list of doctors, of rooms, of test codes. Instead of retyping everything everywhere, a master system broadcasts the changes with MFN (Master File Notification). The receiver answers with an MFK.
The patient record adds room 205 to the location master file. Every subscribed system will know it from July 1.
Two levels of action. MFI talks about the whole file: MFI-1 says which one (LOC for locations, PRA for practitioners), MFI-3 says whether you replace everything (REP) or update record by record (UPD). MFI-6 says whether the sender wants an MFK acknowledgment: AL, always. Then each MFE describes one record. For a location, the MFN_M05 structure also requires at least one LDP segment, which ties the room to its department.
| MFE-1 | Action |
|---|---|
MAD |
add |
MUP |
update |
MDC |
deactivate, without deleting |
MAC |
reactivate |
MDL |
delete |
The event names the master file: M02 for staff, M05 for locations, M08 for tests with numeric results.
QBP and RSP: asking a question
When you meet it: when a system needs a piece of information right now and asks for it. The most common case: looking up a patient in the central index before creating a duplicate. The requester sends a QBP (Query By Parameter), the queried system answers with an RSP.
The question, here “find me the patients DUBOIS Marie born on March 12, 1985” (Q22, Find Candidates). Click QPD-3: those are the criteria.
The sleep lab asks the patient record whether it already knows Marie Dubois.
And the answer:
The patient record answers the sleep lab: one patient matches, with her record number.
QPD-1 names the query, QPD-2 gives it a tag, QPD-3 holds the criteria. The reply copies the tag into QAK-1 so you know which question it answers. QAK-2 sums it up: OK (found), NF (nothing found), AE or AR (error or reject). The results follow, here one PID segment.
Look at MSH-9 too. The Q22 question travels in the QBP_Q21 structure, the K22 reply in RSP_K21: the best example of “the event is not the structure”. And always read two fields: MSA-1 says whether the question was understood, QAK-2 whether it found anything. An MSA|AA with a QAK at NF is normal: question received, no patient.
Every query is described by a published profile: its name, its parameters, the shape of its reply. Without that document, there is no way to guess what the system expects.
VXU: reporting a vaccination
When you meet it: when a clinical application sends a vaccination to an immunization registry. The VXU^V04 message (Unsolicited Vaccination Record Update) carries one RXA segment per dose.
The clinic reports to the regional registry a flu vaccine dose given to Marie Dubois.
The useful fields: RXA-3, the administration date; RXA-5, the vaccine; RXA-6 and RXA-7, the dose and unit; RXA-15, the lot number; RXA-20, the status (CP for complete, RE for refused).
For RXA-5, the standard points to table 0292, which is the US CVX list maintained by the CDC. Outside the US, the registry’s specification tells you which code to use. Here, a local code.
The others, in one line
| Message | When you meet it |
|---|---|
RDE^O11 |
the pharmacy receives an encoded medication order (RXE segment) |
RAS^O17 |
a nurse reports that a medication was given (RXA segment) |
BAR^P01 / P05 |
a patient’s billing account is created or updated |
MFK |
a receiver acknowledges a master file update |
OUL^R22 |
the lab sends results tied to a specimen (SPM segment) |
And in FHIR?
Each family has its counterpart: ChargeItem for a billing line, Location or Practitioner for a master file, a plain REST search (GET /Patient?family=DUBOIS) for a query, Immunization for a vaccination.
Check your understanding
1 of 4The sleep lab needs to bill Marie Dubois’s polysomnography. Which message does it send to the billing system?
+50 XPPass the quiz (3 correct answers) to complete the lesson.
Reviewed and checked on 27 September 2026