HL7 ADR_A19 Patient Query Response
ADR_A19 is the response to a QRY_A19 patient query. It wraps query status and the original criteria around one or more patient-style groups, so the requester can receive demographics, visit context, insurance, diagnoses, and other ADT-flavored information.
In a legacy interface, ADR_A19 is often the bridge between an older departmental system and a patient administration source. The response can be rich, but that richness means receivers need to know which optional groups they actually support.
A small ADR A19 example
What systems do with it
The receiver of ADR_A19 usually uses the response to display demographics, select a patient, create a local shell record, or verify encounter context before another transaction happens. The sender of ADR_A19 is the patient administration source or an integration layer acting on its behalf.
The response begins with MSA, optional ERR, QAK, echoed QRD, and QRF. The repeating patient group can include PID, PD1, ROL, NK1, PV1, OBX, and many other ADT-related segments depending on the version and profile.
How to read the structure
First read the status. MSA and QAK tell you whether the original query was accepted and whether the query itself found data. Then read QRD and QRF to confirm which request this response belongs to.
PID is usually the most important returned segment. PV1 becomes important when the query is visit-specific or when the requester needs current location, patient class, or attending-provider context.
Implementation traps
Do not assume ADR_A19 contains only one patient. The structure can repeat patient response groups, and older searches can return candidates. Automated consumers need a clear rule for zero, one, and many results.
Also watch optional ADT groups. Insurance, guarantor, diagnosis, allergy, and observation segments can appear, but many receivers are not prepared to consume all of them from a query response. Decide whether to ignore, store, or reject unsupported groups.
Reference notes
HL7 v2.3.1 A19 material describes the patient query and response pair, and reference definitions show ADR_A19 as the patient query response structure. See HL7 v2.3.1 A19.