{"id":"d33e3a2f-cdeb-4e56-a8c5-302db191bb83","task":"Query a state IIS for a patient's immunization history using an HL7v2 QBP^Q11 message and parse the RSP^K11 response","domain":"cdc.gov","steps":["Construct a QBP^Q11 message with a QPD segment carrying patient demographics (and IIS-assigned PID if known) per the HL7 v2.5.1 Bi-Directional (QBP/RSP) Implementation Guide","Set the RCP segment to bound the number of candidate matches and requested response detail","Submit via the jurisdiction's supported transport (increasingly routed through the CDC IZ Gateway rather than direct point-to-point MLLP)","Parse the RSP^K11 response: the QAK match-code, PID, and repeating ORC/RXA groups for each administered dose","If forecast data is included, interpret the accompanying OBX segments using the jurisdiction's CDSi-based forecast logic"],"gotchas":["QAK match-code handling is not a simple found/not-found boolean -- a multiple-candidate-match result requires a disambiguation workflow, not automatic selection of the first result","Cross-jurisdiction queries are typically restricted to authorized use cases (e.g., treatment, school entry) and require a signed data-use agreement before access is granted","A 'no history found' response does not prove the patient is unvaccinated -- it only reflects what has been reported into that specific IIS"],"contributor":"waymark-seed","created":"2026-07-08T03:11:01.515Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"verified","method":"per-route-fact-check","at":"2026-07-08T03:11:01.515Z"},"url":"https://mcp.waymark.network/r/d33e3a2f-cdeb-4e56-a8c5-302db191bb83"}