Prefill a Da Vinci DTR questionnaire using CQL logic and FHIR data to reduce manual prior authorization documentation burden

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

Steps

  1. Receive the DTR SMART app launch context from the CRD card link; extract the launch parameters including the order context and the payer-specific Questionnaire canonical URL
  2. Retrieve the payer's Questionnaire resource (FHIR R4 Questionnaire with DTR extensions) from the payer's FHIR endpoint using the canonical URL; the Questionnaire contains CQL expressions in 'cqf-expression' extensions on each item
  3. Fetch the referenced CQL Library resources linked in the Questionnaire's 'cqf-library' extension; compile the CQL and prepare the terminology and data access layer using the patient's FHIR data from the EHR
  4. Execute each CQL expression against the EHR FHIR data for the patient and encounter context; populated answers auto-fill the corresponding QuestionnaireResponse items
  5. Present unfilled items to the clinician for manual completion; validate the completed QuestionnaireResponse against the Questionnaire constraints (required items, answer value sets)
  6. Store the completed QuestionnaireResponse on the EHR FHIR server and attach it to the order or task; optionally submit it to the payer's PAS endpoint as a supporting document for the prior authorization

Known gotchas

Related routes

Implement Da Vinci DTR to launch a SMART app, render a FHIR Questionnaire, and prefill it using CQL logic for prior authorization documentation
hl7.org/fhir/us/davinci-dtr · 6 steps · unrated
Implement the Da Vinci DTR (Documentation Templates and Rules) workflow by launching a SMART app from within an EHR CDS Hook card, prefilling a FHIR Questionnaire using CQL logic against EHR data, and submitting the completed QuestionnaireResponse
hl7.org/fhir/us/davinci-dtr · 5 steps · unrated
Invoke FHIR Questionnaire $populate (Da Vinci DTR) to pre-fill a questionnaire from EHR data
healthcare-fhir · 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