From 108e10dce7ab27615b8a1e823c9194f8d1ab557c Mon Sep 17 00:00:00 2001 From: Luke Duncan Date: Fri, 29 Sep 2023 11:21:45 -0700 Subject: [PATCH] Fixed issue with DT08 cql for the scheduled due date and updated maps.http to use the output directory instead of fsh-generated for the questionnaire example. --- input/cql/IMMZDT08.cql | 2 +- tools/maps.http | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/input/cql/IMMZDT08.cql b/input/cql/IMMZDT08.cql index 43b11479b6..c044657a1c 100644 --- a/input/cql/IMMZDT08.cql +++ b/input/cql/IMMZDT08.cql @@ -37,7 +37,7 @@ define "Provision of the MCV dose": and IMMZCom."Current Patient Age In Years" < 15 define "Schedule Due Date for MCV dose": - if "Expected Due Date for MCV dose" > IMMZCom."Date of Latest Live Attenuated Vaccine" + 4 weeks + if IMMZCom."Date of Latest Live Attenuated Vaccine" is null or "Expected Due Date for MCV dose" > IMMZCom."Date of Latest Live Attenuated Vaccine" + 4 weeks then "Expected Due Date for MCV dose" else IMMZCom."Date of Latest Live Attenuated Vaccine" + 4 weeks diff --git a/tools/maps.http b/tools/maps.http index efa270bbbc..9aa3f2dacc 100644 --- a/tools/maps.http +++ b/tools/maps.http @@ -60,4 +60,4 @@ POST {{host}}/StructureMap/$transform?source=http://fhir.org/guides/who/smart-im Accept: application/fhir+json;fhirVersion=4.0 Content-Type: application/fhir+json;fhirVersion=4.0 -< ../fsh-generated/resources/QuestionnaireResponse-Example.IMMZ.C.QuestionnaireResponse.1.json \ No newline at end of file +< ../output/QuestionnaireResponse-Example.IMMZ.C.QuestionnaireResponse.1.json \ No newline at end of file