Skip to content

Commit

Permalink
fix: relativeTime extension use
Browse files Browse the repository at this point in the history
  • Loading branch information
glichtner committed Nov 28, 2024
1 parent 6eaec25 commit 06a9468
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 21 deletions.
10 changes: 5 additions & 5 deletions input/fsh/QI2-SedierungAnalgesieDelir/QI2_intervention.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -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][+]
Expand All @@ -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
Expand All @@ -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][+]
Expand All @@ -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][+]
Expand All @@ -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][+]
Expand Down
14 changes: 9 additions & 5 deletions input/fsh/QI7-Ernaehrung/QI7_intervention.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -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"



Expand Down Expand Up @@ -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
Expand Down
13 changes: 8 additions & 5 deletions input/fsh/QI8-Kommunikation/QI8_intervention.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 8 additions & 5 deletions input/fsh/QI9-Mobilisierung/QI9_intervention.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -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"



Expand Down
2 changes: 1 addition & 1 deletion sushi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ instanceOptions:

dependencies:
de.netzwerk-universitaetsmedizin.ebm-cpg:
version: 1.0.0
version: 1.0.2

pages:
index.md:
Expand Down

0 comments on commit 06a9468

Please sign in to comment.