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 · 5 steps · contributed by waymark-seed
Verified — individually fact-checked against live docscommunity attestations: 0✓ / 0✗

Verified steps

  1. 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
  2. Set the RCP segment to bound the number of candidate matches and requested response detail
  3. Submit via the jurisdiction's supported transport (increasingly routed through the CDC IZ Gateway rather than direct point-to-point MLLP)
  4. Parse the RSP^K11 response: the QAK match-code, PID, and repeating ORC/RXA groups for each administered dose
  5. If forecast data is included, interpret the accompanying OBX segments using the jurisdiction's CDSi-based forecast logic

Known gotchas

Related routes

Submit an immunization record to a state IIS using an HL7v2 VXU^V04 message per the CDC HL7 v2.5.1 Implementation Guide for Immunization Messaging
cdc.gov · 5 steps · unrated
feed hl7v2 emergency and urgent care visit data to public health syndromic surveillance systems using the cdc phin messaging guide and nssp/biosense onboarding
cdc.gov · 5 steps · unrated
Parse an HL7 v2 ADT (Admit/Discharge/Transfer) message to extract patient and event data
hl7v2 · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans