From 2a227708060d1601abaff8160769c0b84abf0924 Mon Sep 17 00:00:00 2001 From: Liu Date: Fri, 25 Feb 2022 14:22:03 -0500 Subject: [PATCH 1/5] add embedded CQL to questionnaire --- .../Questionnaire-R4-HomeOxygenTherapy.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/CRD-DTR/HomeOxygenTherapy/R4/resources/Questionnaire-R4-HomeOxygenTherapy.json b/CRD-DTR/HomeOxygenTherapy/R4/resources/Questionnaire-R4-HomeOxygenTherapy.json index b888825..3793207 100644 --- a/CRD-DTR/HomeOxygenTherapy/R4/resources/Questionnaire-R4-HomeOxygenTherapy.json +++ b/CRD-DTR/HomeOxygenTherapy/R4/resources/Questionnaire-R4-HomeOxygenTherapy.json @@ -263,7 +263,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql", - "expression": "\"HomeOxygenTherapyPrepopulation\".Today" + "expression": "Today()" } } ] @@ -628,6 +628,20 @@ ], "type": "display", "text": "This is a placeholder for Provider Signature" + }, + { + "linkId": "7", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/cql", + "expression": "Today() + 14 day" + } + } + ], + "type": "date", + "text": "Form expiration date" } ] } From bb0f2a608f3779e7fb474231adc5ade3f6f69a74 Mon Sep 17 00:00:00 2001 From: Liu Date: Fri, 25 Feb 2022 14:24:45 -0500 Subject: [PATCH 2/5] update text --- .../R4/resources/Questionnaire-R4-HomeOxygenTherapy.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRD-DTR/HomeOxygenTherapy/R4/resources/Questionnaire-R4-HomeOxygenTherapy.json b/CRD-DTR/HomeOxygenTherapy/R4/resources/Questionnaire-R4-HomeOxygenTherapy.json index 3793207..ff1148e 100644 --- a/CRD-DTR/HomeOxygenTherapy/R4/resources/Questionnaire-R4-HomeOxygenTherapy.json +++ b/CRD-DTR/HomeOxygenTherapy/R4/resources/Questionnaire-R4-HomeOxygenTherapy.json @@ -641,7 +641,7 @@ } ], "type": "date", - "text": "Form expiration date" + "text": "Form Expiration Date" } ] } From 739b0cbc9939d9a50eb9953b68d6ce0b7639aeb9 Mon Sep 17 00:00:00 2001 From: Liu Date: Tue, 1 Mar 2022 13:41:23 -0500 Subject: [PATCH 3/5] add embedded CQL --- ...s-HomeOxygenTherapyAdditionalAdaptive.json | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/CRD-DTR/HomeOxygenTherapy/R4/files/Questions-HomeOxygenTherapyAdditionalAdaptive.json b/CRD-DTR/HomeOxygenTherapy/R4/files/Questions-HomeOxygenTherapyAdditionalAdaptive.json index 93503d1..1a20d81 100644 --- a/CRD-DTR/HomeOxygenTherapy/R4/files/Questions-HomeOxygenTherapyAdditionalAdaptive.json +++ b/CRD-DTR/HomeOxygenTherapy/R4/files/Questions-HomeOxygenTherapyAdditionalAdaptive.json @@ -105,6 +105,20 @@ } ] }, + { + "linkId": "SQ-1.c", + "text": "SQ-1.c: Form Expiration Date", + "type": "date", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/cql", + "expression": "Today() + 14 day" + } + } + ] + }, { "linkId": "1.1", "type": "display", @@ -272,6 +286,20 @@ } } ] + }, + { + "linkId": "SQ-1.4.3.2.c", + "text": "SQ-1.4.3.2.c: Form Expiration Date", + "type": "date", + "extension": [ + { + "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", + "valueExpression": { + "language": "text/cql", + "expression": "Today() + 14 day" + } + } + ] } ] }, From 9d1b9804542cee78e6a20b10613a6ed8cccee0ad Mon Sep 17 00:00:00 2001 From: Liu Date: Thu, 3 Mar 2022 15:23:21 -0500 Subject: [PATCH 4/5] cleanup --- ...stions-HomeOxygenTherapyAdditionalAdaptive.json | 14 -------------- .../Questionnaire-R4-HomeOxygenTherapy.json | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/CRD-DTR/HomeOxygenTherapy/R4/files/Questions-HomeOxygenTherapyAdditionalAdaptive.json b/CRD-DTR/HomeOxygenTherapy/R4/files/Questions-HomeOxygenTherapyAdditionalAdaptive.json index 1a20d81..2316742 100644 --- a/CRD-DTR/HomeOxygenTherapy/R4/files/Questions-HomeOxygenTherapyAdditionalAdaptive.json +++ b/CRD-DTR/HomeOxygenTherapy/R4/files/Questions-HomeOxygenTherapyAdditionalAdaptive.json @@ -286,20 +286,6 @@ } } ] - }, - { - "linkId": "SQ-1.4.3.2.c", - "text": "SQ-1.4.3.2.c: Form Expiration Date", - "type": "date", - "extension": [ - { - "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", - "valueExpression": { - "language": "text/cql", - "expression": "Today() + 14 day" - } - } - ] } ] }, diff --git a/CRD-DTR/HomeOxygenTherapy/R4/resources/Questionnaire-R4-HomeOxygenTherapy.json b/CRD-DTR/HomeOxygenTherapy/R4/resources/Questionnaire-R4-HomeOxygenTherapy.json index ff1148e..dbe9835 100644 --- a/CRD-DTR/HomeOxygenTherapy/R4/resources/Questionnaire-R4-HomeOxygenTherapy.json +++ b/CRD-DTR/HomeOxygenTherapy/R4/resources/Questionnaire-R4-HomeOxygenTherapy.json @@ -263,7 +263,7 @@ "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression", "valueExpression": { "language": "text/cql", - "expression": "Today()" + "expression": "\"HomeOxygenTherapyPrepopulation\".Today" } } ] From e3db021b5a3595f4a4c6cf3b4e60546cdfa55ab0 Mon Sep 17 00:00:00 2001 From: Robert Scalfani Date: Tue, 13 Sep 2022 16:40:12 -0400 Subject: [PATCH 5/5] Added CQL Rule for coverage checking to HOT (#92) --- .../HomeOxygenTherapy/R4/files/HomeOxygenTherapyRule-0.1.0.cql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRD-DTR/HomeOxygenTherapy/R4/files/HomeOxygenTherapyRule-0.1.0.cql b/CRD-DTR/HomeOxygenTherapy/R4/files/HomeOxygenTherapyRule-0.1.0.cql index 9da2fbb..ada1b97 100644 --- a/CRD-DTR/HomeOxygenTherapy/R4/files/HomeOxygenTherapyRule-0.1.0.cql +++ b/CRD-DTR/HomeOxygenTherapy/R4/files/HomeOxygenTherapyRule-0.1.0.cql @@ -4,12 +4,13 @@ include FHIRHelpers version '4.0.0' called FHIRHelpers parameter Patient Patient parameter device_request DeviceRequest +parameter Coverage Coverage define "Age": AgeInYears() define RULE_APPLIES: - "Age" > 0 + "Age" > 0 and Coverage.class.value = 'Medicare Part A' define PRIORAUTH_REQUIRED: false