clinical-reasoning icon indicating copy to clipboard operation
clinical-reasoning copied to clipboard

ImmunizationRecommendation in ActivityDefinition doesn't produce output in $apply

Open lukeaduncan opened this issue 1 year ago • 1 comments

I'm using the attached ActivityDefinition/IMMZ.DT.01.BCG.01.json with PlanDefinition/IMMZ.DT.01.BCG.json. When I access $apply on the PlanDefinition the ImmunizationRecommendation resource is blank.

IMMZ.DT.01.BCG.01.txt IMMZ.DT.01.BCG.txt

This is the output from the latest cqf-ruler docker image:

{ "resourceType": "CarePlan", "contained": [ { "resourceType": "RequestGroup", "id": "bfca898b-b255-4ed2-a45c-00d6bbd78aa7", "status": "draft", "intent": "proposal", "action": [ { "resource": { "reference": "#b91bd12b-bbe3-4603-9f4c-f29d7c936f61" } } ] }, { "resourceType": "ImmunizationRecommendation", "id": "b91bd12b-bbe3-4603-9f4c-f29d7c936f61" } ], "status": "draft", "activity": [ { "reference": { "reference": "#bfca898b-b255-4ed2-a45c-00d6bbd78aa7" } } ] }

These are the test files I'm using for testing: tests-Observation-bundle.txt tests-Patient-bundle.txt

lukeaduncan avatar Mar 20 '23 16:03 lukeaduncan

The Library files can be found here: https://github.com/WorldHealthOrganization/smart-immunizations/tree/main/input/resources/library

lukeaduncan avatar Mar 20 '23 16:03 lukeaduncan