FHIR Chat · Using 'Contained' resource in 'PlanDefinition' resource · cds hooks

Stream: cds hooks

Topic: Using 'Contained' resource in 'PlanDefinition' resource


view this post on Zulip Tushar Nair (Aug 05 2019 at 21:31):

We are trying to use CDS Hooks for the for solutioning a CDSS use case. One of the requirements is to provide the proof/justification that the elements satisfying the rule that triggered the alert have to be conveyed back in the CDS Hooks response. To do this we intend using a 'contained' resource which shall act as a bucket to showcase the resources that triggered the alert. e.g. If the patient is suffering from Diabetes for the past 10 years and and is above 50 yrs then trigger an alert for something. So while conveying the alert in CDS Hooks I want to show case the resources that triggered this alert which might be 'Condition containing Diabetes code and Condition-onset date along with Patient resource containing the age of the patient. We intend using the 'Contained' resource in the 'Plan Definition' so that CQL when executed brings back a list of resources against a given expression as an output which can be placed in the 'contained' resource. In order to do this, I am assuming we'll have to add it as an extension on the Plan Definition. Is that the correct approach to be taken, or there's a better way to do that.

view this post on Zulip Lloyd McKenzie (Aug 05 2019 at 22:40):

@Tushar Nair Please don't raise the same issue on multiple streams. My responses here: https://chat.fhir.org/#narrow/stream/179219-analytics-on.20FHIR/topic/using.20'contained'.20resource.20in.20plan.20definition


Last updated: Apr 12 2022 at 19:14 UTC