HL7 MFR_M06 Clinical Study with Phases and Schedules Response
MFR_M06 returns clinical study master records for studies that have phases and schedules. It is the query-response companion to MFN_M06.
This message is reference-data plumbing, not patient enrollment. It helps a receiver ask, "what is the study definition and schedule I should know about?" before patient-specific research workflows depend on that setup.
A small MFR M06 example
What workflow it represents
A consuming system queries for a study definition. The owner responds with the study, phase records, and scheduled time points that the receiver should use for validation, display, or downstream research workflows.
This can be useful when a receiver only needs certain studies, or when it has to refresh a study definition after a local cache miss.
How to read the structure
The response envelope acknowledges and echoes the query with MSA, optional ERR, optional QAK, required QRD, and optional QRF.
MFI identifies the clinical study master file. Each MF_QUERY group returns MFE, required CM0, optional repeating CM1 phase records, and optional repeating CM2 schedule records. DSC supports multi-page responses.
Implementation traps
Do not flatten phases away if they matter to protocol behavior. A receiver that stores only visit labels may not be able to apply amendments cleanly.
Also define how a response should refresh existing data. Does the receiver replace the study schedule with what came back, or merge only the returned rows? That rule should be explicit.
If you use continuation, keep all pages under the same query context. Mixing pages from different study queries can corrupt a local study cache very quietly.
Reference notes
HL7 master-file query material defines MFR as the response to an MFQ query for master-file records. MFR_M06 returns clinical study records with CM0 plus phase and schedule details in CM1 and CM2.