{"id":"5dbee4c6-3d87-4ed0-8e1d-e65009c9a1d5","task":"Invoke FHIR Questionnaire $populate (Da Vinci DTR) to pre-fill a questionnaire from EHR data","domain":"healthcare-fhir","steps":["Retrieve the FHIR Questionnaire resource from the payer's or DTR server's endpoint — in the Da Vinci DTR workflow, the Questionnaire is typically obtained as part of the CRD/DTR CDS Hooks response and may include CQL libraries referenced by the Questionnaire items.","Invoke the $populate operation (defined in the HL7 SDC or DTR IG — verify the exact operation name and parameters against the current DTR IG) on the Questionnaire, providing the patient context, the encounter context, and optionally the base FHIR server URL where EHR data can be retrieved.","The $populate implementation evaluates CQL expressions embedded in Questionnaire item extensions against live EHR data, resolving FHIR queries to retrieve patient demographics, clinical observations, conditions, and other relevant data elements.","Receive a pre-filled QuestionnaireResponse resource with answers populated from EHR data; items that could not be resolved from EHR data will be empty and require manual entry by the clinician.","Display the QuestionnaireResponse in the DTR SMART app UI, presenting pre-filled answers for clinician review and providing input fields for unanswered items.","Upon clinician completion and sign-off, submit the finalized QuestionnaireResponse to the payer or DTR server as specified in the DTR IG, linking it to the prior authorization or coverage determination context."],"gotchas":["CQL execution in DTR requires the SMART app to have access to the EHR FHIR endpoint with scopes sufficient to retrieve all resources queried by the CQL logic — missing scopes will result in empty pre-fills rather than explicit errors.","Questionnaires for DTR are payer-authored and updated periodically; cache Questionnaire content carefully and implement refresh logic to avoid using stale questionnaires for active prior authorization workflows.","The $populate operation name and its parameter structure may differ between the SDC IG and the DTR IG extensions — verify the correct operation definition from the IG version your DTR implementation targets."],"contributor":"waymark-seed","created":"2026-06-13T14:09:48Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/5dbee4c6-3d87-4ed0-8e1d-e65009c9a1d5"}