From 06a9468c63750ce418c4765a37ef285bae195f0c Mon Sep 17 00:00:00 2001 From: Gregor Lichtner Date: Thu, 28 Nov 2024 10:24:01 +0100 Subject: [PATCH] fix: relativeTime extension use --- .../QI2_intervention.fsh | 10 +++++----- input/fsh/QI7-Ernaehrung/QI7_intervention.fsh | 14 +++++++++----- input/fsh/QI8-Kommunikation/QI8_intervention.fsh | 13 ++++++++----- input/fsh/QI9-Mobilisierung/QI9_intervention.fsh | 13 ++++++++----- sushi-config.yaml | 2 +- 5 files changed, 31 insertions(+), 21 deletions(-) diff --git a/input/fsh/QI2-SedierungAnalgesieDelir/QI2_intervention.fsh b/input/fsh/QI2-SedierungAnalgesieDelir/QI2_intervention.fsh index 3a3355e..1f2e67b 100644 --- a/input/fsh/QI2-SedierungAnalgesieDelir/QI2_intervention.fsh +++ b/input/fsh/QI2-SedierungAnalgesieDelir/QI2_intervention.fsh @@ -239,7 +239,7 @@ Description: "Sedation Level, Analgesia Level and Delirium Status should be in a * measure = $sct-us#457441000124102 "Richmond agitation-sedation scale" * detailRange * low = -1 '' "" - * high = 1 '' ""// todo: check if this is correct + * high = 1 '' "" // todo: check if this is correct // Define Goal for Analgesia Assessment per NRS * goal[assessmentScale][+] @@ -249,7 +249,7 @@ Description: "Sedation Level, Analgesia Level and Delirium Status should be in a * target[+] * measure = $sct-int#1284852002 "Numeric Pain Rating Scale" * detailRange - * low = 0 '' ""// todo: check if this is correct + * low = 0 '' "" // todo: check if this is correct * high = 3 '' "" // Define Goal for Analgesia Assessment per VAS @@ -261,7 +261,7 @@ Description: "Sedation Level, Analgesia Level and Delirium Status should be in a * measure = $sct#273904000 "Visual analog pain scale" * detailRange * low = 0 '' "" - * high = 3 '' ""// todo: check if this is correct + * high = 3 '' "" // todo: check if this is correct // Define Goal for Analgesia Assessment per BPS * goal[assessmentScale][+] @@ -272,7 +272,7 @@ Description: "Sedation Level, Analgesia Level and Delirium Status should be in a * measure = $divi-qi-s#BPS "Behavioral Pain Scale" * detailRange * low = 0 '' "" - * high = 3 '' ""// todo: check if this is correct + * high = 3 '' "" // todo: check if this is correct // Define Goal for Delirium Assessment per CAM-ICU * goal[assessmentScale][+] @@ -283,7 +283,7 @@ Description: "Sedation Level, Analgesia Level and Delirium Status should be in a * measure = $divi-qi-s#CAM-ICU "CAM-ICU" * detailRange * low = 0 '' "" - * high = 0 '' ""// todo: check if this is correct + * high = 0 '' "" // todo: check if this is correct // Define Goal for Delirium Assessment per ICDSC * goal[assessmentScale][+] diff --git a/input/fsh/QI7-Ernaehrung/QI7_intervention.fsh b/input/fsh/QI7-Ernaehrung/QI7_intervention.fsh index 763be75..11f6a49 100644 --- a/input/fsh/QI7-Ernaehrung/QI7_intervention.fsh +++ b/input/fsh/QI7-Ernaehrung/QI7_intervention.fsh @@ -34,11 +34,14 @@ Description: "First Enteral Feeding occurs within 24 hours after Admission to In * status = #active * code = $sct#229912004 "Enteral Feeding" * kind = $cs-fhir-types#NutritionOrder "NutritionOrder" -* extension[relativeTime] - * extension[contextCode].valueCodeableConcept = $sct#305351004 "Admission to Intensive Care Unit" - * extension[offset].valueRange - * low = 0 'h' "hours" - * high = 24 'h' "hours" +* timingTiming + * repeat + * count = 1 + * extension[relativeTime] + * extension[contextCode].valueCodeableConcept = $sct#305351004 "Admission to Intensive Care Unit" + * extension[offset].valueRange + * low = 0 'h' "hours" + * high = 24 'h' "hours" @@ -77,6 +80,7 @@ Description: "The daily amount of calories matches the individual requirements." * insert publisher-experimental-version(7.0) * status = #active * code = $sct#787787004 "Calorie Intake" // + $sct#769397007 "Sufficient Amount" // TODO: "is sufficient" is missing +* kind = $cs-fhir-types#NutritionOrder "NutritionOrder" // TODO: es gibt ein kalorienziel -> kann man das als variable verwenden? zb input in PlanDefinition? "wenn der wert des einen codes den wert des anderen codes erreicht hat"? * timingTiming * repeat diff --git a/input/fsh/QI8-Kommunikation/QI8_intervention.fsh b/input/fsh/QI8-Kommunikation/QI8_intervention.fsh index 9e08c78..0a1286c 100644 --- a/input/fsh/QI8-Kommunikation/QI8_intervention.fsh +++ b/input/fsh/QI8-Kommunikation/QI8_intervention.fsh @@ -34,11 +34,14 @@ Description: "An initial structured communication with the Patients and/or their * status = #active * code = $sct#225330006 "Client Participation" * kind = $cs-fhir-types#Task "Task" -* extension[relativeTime] - * extension[contextCode].valueCodeableConcept = $sct#305351004 "Admission to Intensive Care Unit" - * extension[offset].valueRange - * low = 0 'h' "hours" - * high = 72 'h' "hours" +* timingTiming + * repeat + * count = 1 + * extension[relativeTime] + * extension[contextCode].valueCodeableConcept = $sct#305351004 "Admission to Intensive Care Unit" + * extension[offset].valueRange + * low = 0 'h' "hours" + * high = 72 'h' "hours" Instance: PeriodicCommunicationPatientsRelatives diff --git a/input/fsh/QI9-Mobilisierung/QI9_intervention.fsh b/input/fsh/QI9-Mobilisierung/QI9_intervention.fsh index b91b02b..a2ba63a 100644 --- a/input/fsh/QI9-Mobilisierung/QI9_intervention.fsh +++ b/input/fsh/QI9-Mobilisierung/QI9_intervention.fsh @@ -34,11 +34,14 @@ Description: "First Mobilization occurs within 24 hours after Admission to Inten * status = #active * code = $sct#74923002 "Mobilization" * kind = $cs-fhir-types#ServiceRequest "ServiceRequest" -* extension[relativeTime] - * extension[contextCode].valueCodeableConcept = $sct#305351004 "Admission to Intensive Care Unit" - * extension[offset].valueRange - * low = 0 'h' "hours" - * high = 24 'h' "hours" +* timingTiming + * repeat + * count = 1 + * extension[relativeTime] + * extension[contextCode].valueCodeableConcept = $sct#305351004 "Admission to Intensive Care Unit" + * extension[offset].valueRange + * low = 0 'h' "hours" + * high = 24 'h' "hours" diff --git a/sushi-config.yaml b/sushi-config.yaml index 2add151..6f5b0d7 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -16,7 +16,7 @@ instanceOptions: dependencies: de.netzwerk-universitaetsmedizin.ebm-cpg: - version: 1.0.0 + version: 1.0.2 pages: index.md: