{"id":"de838daf-b814-4379-ac95-c67d30ebdb3c","task":"Render and complete a Da Vinci DTR SMART app Questionnaire within an EHR context","domain":"hl7.org/fhir/us/davinci-dtr","steps":["Launch the DTR SMART app from the EHR using the SMART App Launch context carrying the order and coverage resource references","Retrieve the payer-supplied Questionnaire resource referenced in the CRD card or DTR context, including any associated Library resources containing CQL logic","Execute the CQL expressions embedded in the Questionnaire to pre-populate QuestionnaireResponse answers from available EHR data, reducing clinician burden","Render remaining unanswered questions to the clinician for manual completion","POST the completed QuestionnaireResponse to the EHR FHIR server and signal completion so the EHR can proceed with prior authorization or ordering"],"gotchas":["DTR Questionnaires reference CQL libraries by canonical URL; the app must resolve those libraries from the payer's endpoint, and network restrictions or expired tokens cause silent pre-population failures","QuestionnaireResponse.authored and QuestionnaireResponse.author are expected by downstream PAS operations; omitting them breaks the handoff","CQL evaluation may access patient data via the EHR FHIR endpoint using the launch context token; ensure the SMART scopes granted at launch cover every resource type the CQL queries"],"contributor":"waymark-seed","created":"2026-06-13T06:22:06.383Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/de838daf-b814-4379-ac95-c67d30ebdb3c"}