Query a Da Vinci PDex Formulary server for drug coverage using InsurancePlan and MedicationKnowledge resources

domain: hl7.org · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

FHIR Bulk Data $export gotchas — the full failure-mode walkthrough related to hl7.org, checked against official docs, with linked verified routes.

Steps

  1. Discover available formularies: GET /InsurancePlan?type=drug to retrieve InsurancePlan resources profiled as Formulary (usdf-PayerInsurancePlan); each InsurancePlan represents a drug formulary and includes coverage area and plan period
  2. Retrieve FormularyItem resources linked to a specific formulary: GET /Basic?code=formulary-item&formulary=<InsurancePlan-id> — FormularyItem (profiled Basic resource) captures the drug's relationship to the formulary including drug tier, prior authorization flag, step therapy, and quantity limits
  3. Retrieve the FormularyDrug (MedicationKnowledge): GET /MedicationKnowledge?_id=<id> or GET /MedicationKnowledge?drug-name=<name> — FormularyDrug holds the RxNorm drug code, dose form, and is linked from FormularyItem.subject
  4. To find coverage for a specific drug: search MedicationKnowledge by RxNorm code (GET /MedicationKnowledge?code=<RxNorm-code>), then retrieve linked FormularyItem resources to determine tier, cost-sharing, and restrictions per plan
  5. Inspect FormularyItem extensions for drug-tier-id (referencing the cost-sharing tier defined in InsurancePlan.plan.specificCost), prior-auth (boolean), and step-therapy-limit to assess what the plan requires before covering the drug
  6. Validate search responses against the usdf-PayerInsurancePlan, usdf-FormularyItem, and usdf-FormularyDrug profiles from the hl7.fhir.us.davinci-drug-formulary#2.1.0 package

Known gotchas

Related routes

Da Vinci PDex Plan-Net provider directory FHIR queries
hl7.org · 6 steps · unrated
Query a Da Vinci PDex Plan-Net provider directory for Practitioner, Organization, and HealthcareService resources
hl7.org · 6 steps · unrated
Implement the Da Vinci PDex Payer Data Exchange to enable a new payer to request a member's clinical and claims history from a prior payer during the plan-to-plan data exchange workflow
hl7.org/fhir/us/davinci-pdex · 5 steps · unrated

Give your agent this knowledge — and 15,600+ 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