HL7 RSP_K25 Personnel Information Response
RSP_K25 is the response to a personnel information query. Where patient query responses return PID groups, RSP_K25 returns staff groups. It is useful when an ordering, scheduling, credentialing, or integration workflow needs current provider/staff metadata from a directory-like source.
The response starts with the usual query-response status segments and then repeats a staff group. That group can carry STF for staff identity, PRA for practitioner details, ORG for organizational placement, plus AFF, LAN, EDU, and CER where the profile needs them.
A small RSP K25 example
What systems do with it
A requester might use RSP_K25 to confirm that an ordering provider is active, populate scheduling resources, map local provider identifiers, or enrich outbound messages with credential and organization details. The response is especially useful when the staff directory, EHR, and ancillary systems do not share a single provider master.
QAK still controls the query outcome. The staff group is the result payload. If multiple staff records return, the requester needs a deterministic matching rule or a human review step.
How to read the structure
MSA acknowledges the original query message, QAK reports query status, and QPD echoes the question. RCP can be echoed to show the response limits that were applied. The required repeating STAFF group carries the actual personnel data.
STF is the anchor segment for the person. PRA, ORG, AFF, LAN, EDU, and CER add professional, organizational, language, education, and certification detail. Many production interfaces only populate a subset, so profile the fields that receivers actually use.
Implementation traps
Do not let an old cached response make authorization decisions by itself. Personnel status, privileges, and credentialing can change, and different systems may update at different speeds.
Also avoid mapping provider names as keys. Names are display data. Use stable identifiers with assigning authorities wherever the staff directory provides them.
Reference notes
HL7 v2.5.1 query listings pair Q25 personnel queries with K25 personnel responses and show the staff-oriented response group. See the public query chapter mirror at VICO HL7 v2.5.1 queries.