Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISS guidelines v2 , assessment archetype v0 and test fixture v2 #958

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions archetypes/openEHR-EHR-EVALUATION.injury_severity_score.v0.adl
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
archetype (adl_version=1.4; uid=b7e81827-d0bb-4b29-bdaa-da5295d06b11)
openEHR-EHR-EVALUATION.injury_severity_score.v0

concept
[at0000] -- injury severity score (ISS)
language
original_language = <[ISO_639-1::en]>
description
original_author = <
["name"] = <"Mouna Ghannam">
["email"] = <"[email protected]">
["organisation"] = <"Cambio CDS">
["date"] = <"2021-08-03">
>
details = <
["en"] = <
language = <[ISO_639-1::en]>
purpose = <"To record the assessment of the score of the severity of injury following trauma to mutiple body regions.">
use = <"Use to record the assessment of the score of the severity of injury following trauma to mutiple body regions.">
keywords = <"ISS", "injury", "severity", "score", "multiple", "trauma">
misuse = <"">
copyright = <"©Cambio CDS">
>
>
lifecycle_state = <"NotSet">
other_contributors = <>
other_details = <
["original_publisher"] = <"openEHR Foundation">
["build_uid"] = <"31f1195f-565a-37c6-a955-7ffc02bd829b">
["original_namespace"] = <"org.openehr">
["licence"] = <"This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/.">
["references"] = <"Thomas A, Gennarelli EW. The Abbreviated Injury Scale 2005. Update 2008. American Association for Automotive Medicine (AAAM), Des Plaines, IL 2008.

Copes WS, Champion HR, Sacco WJ, Lawnick MM, Keast SL, Bain LW. The injury severity score revisited. Journal of Trauma and Acute Care Surgery. 1988 Jan 1;28(1):69-77.

Baker SP, o'Neill B, Haddon Jr W, Long WB. The injury severity score: a method for describing patients with multiple injuries and evaluating emergency care. Journal of Trauma and Acute Care Surgery. 1974 Mar 1;14(3):187-96.">
["MD5-CAM-1.0.1"] = <"08218D359E5B3DFCED5451A7C57606A0">
["custodian_namespace"] = <"org.openehr">
["custodian_organisation"] = <"openEHR Foundation">
>

definition
EVALUATION[at0000] matches { -- injury severity score (ISS)
data matches {
ITEM_TREE[at0001] matches { -- Item tree
items cardinality matches {0..*; unordered} matches {
ELEMENT[at0002] occurrences matches {0..1} matches { -- Assessment of most severe injury
value matches {
DV_TEXT matches {*}
}
}
}
}
}
protocol matches {
ITEM_TREE[at0003] matches { -- Item tree
items cardinality matches {0..*; unordered} matches {
allow_archetype CLUSTER[at0004] occurrences matches {0..*} matches { -- Extension
include
archetype_id/value matches {/.*/}
}
}
}
}
}

ontology
term_definitions = <
["en"] = <
items = <
["at0000"] = <
text = <"injury severity score (ISS)">
description = <"Anatomical based scoring system for numerical description of the severity of injury following trauma to mutiple body regions.">
comment = <"Original version, c 1974">
>
["at0001"] = <
text = <"Item tree">
description = <"@ internal @">
>
["at0002"] = <
text = <"Assessment of most severe injury">
description = <"*">
>
["at0003"] = <
text = <"Item tree">
description = <"@ internal @">
>
["at0004"] = <
text = <"Extension">
description = <"Additional information required to extend the model with local content or to align with other reference models or formalisms.">
comment = <"For example: local information requirements; or additional metadata to align with FHIR.">
>
>
>
>
224 changes: 224 additions & 0 deletions gdl2/ISS.v2.gdl2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
{
"id": "ISS.v2",
"gdl_version": "2.0",
"concept": "gt0001",
"language": {
"original_language": "ISO_639-1::en"
},
"description": {
"original_author": {
"date": "2021-08-03",
"name": "Mouna Ghannam",
"organisation": "Cambio CDS",
"email": "[email protected]"
},
"other_contributors": [
"Dennis Forslund",
"Jimmy Axelsson",
"Linda Guttormsdottir",
"Eneimi Allwell-Brown"
],
"lifecycle_state": "Author draft",
"details": {
"sv": {
"id": "sv",
"purpose": "Att beräkna Injury Severity Score, vilket är ett anatomiskt baserat klassifikationssystem som används för att beskriva svårighetsgrad vid multipla skador.",
"keywords": [
"injury severity score",
"ISS",
"AIS",
"NISS",
"trauma"
],
"use": "Använd för att beräkna resultat genererade i enlighet med Injury Severity Score (ISS), vilken tar hänsyn till de tre mest skadade områdena på kroppen. ISS summerar svårighetsgraden av skadorna, och bygger på en formel enligt:\n\nISS = A*A + B*B + C*C, där samtliga faktorer hämtas från Abbreviated Injury Scale (AIS) vilken delar upp kroppen i nio områden och graderar aktuella skadorna på en skala 0-6. Endast de tre mest skadade områdena graderas, från 0 = ingen skada till 6 = inte förenlig med liv. Detta genererar en ISS-poäng om 0-75p. ISS har visats ha linjär korrelation med vårdtid, morbiditet och mortalitet hos traumapatienter.\n\nEn AIS-gradering om 6 genererar automatiskt en ISS-poäng om 75p, vilket innebär att skadorna är icke förenliga med liv. Mer information kring AIS återfinns i separat arketyp.\n",
"misuse": "Ej avsedd att användas för triage. Bedömning ska inte baseras på preliminär diagnos (misstänkt, möjlig, sannolik etc), och inte heller på komplikationer eller konsekvenser till följd av skadan. Ej applicerbar på icke trauma-patienter.",
"copyright": "Cambio Healthcare Systems"
},
"en": {
"id": "en",
"purpose": "To calculates the Injury Severity Score which describes severity of injury in persons with multiple trauma.",
"keywords": [
"injury severity",
"ISS",
"anatomical scoring system",
"multiple injury assessment",
"multiple trauma assessment",
"AIS score",
"NISS"
],
"use": "To be used to calculate the injury severity score (ISS) which is the sum of the squares of the highest abbreviated injury scale (AIS) score in each of the three most severely injured body regions. Injury severity score (ISS) summarizes injury severity and correlates well with survival following multiple injury. It also demonstrates the effects of additional injuries on mortality.\n\nISS = A*A + B*B + C*C, where A, B and C are the AIS scores assigned to the most severe injuries in the three most severely injured body regions. Possible AIS scores range from 0 = no injury to 5 = critical injury, while possible ISS ranges from 0 - 75. An unsurvivable injury (AIS score of 6) in any body region results in the individual automatically assigned an ISS of 75, as further medical care is thought to be futile in such cases.\nMore detail about scoring of the AIS is provided in the openEHR-EHR-OBSERVATION.abbreviated_injury_scale.v1 archetype.",
"misuse": "Not be based on preliminary diagnoses (suspected, possible, probable, rule out etc.).\nNot be based on complications, consequences or outcomes of the injury.\nNot to be applied to non-traumatic injury.",
"copyright": "Cambio Healthcare Systems"
}
},
"other_details": {
"references": "Thomas A, Gennarelli EW. The Abbreviated Injury Scale 2005. Update 2008. American Association for Automotive Medicine (AAAM), Des Plaines, IL 2008.\n\nCopes WS, Champion HR, Sacco WJ, Lawnick MM, Keast SL, Bain LW. The injury severity score revisited. Journal of Trauma and Acute Care Surgery. 1988 Jan 1;28(1):69-77.\n\nBaker SP, o'Neill B, Haddon Jr W, Long WB. The injury severity score: a method for describing patients with multiple injuries and evaluating emergency care. Journal of Trauma and Acute Care Surgery. 1974 Mar 1;14(3):187-96."
}
},
"definition": {
"data_bindings": {
"gt0003": {
"id": "gt0003",
"model_id": "openEHR-EHR-OBSERVATION.injury_severity_score.v1",
"template_id": "openEHR-EHR-OBSERVATION.injury_severity_score.v1",
"type": "OUTPUT",
"elements": {
"gt0004": {
"id": "gt0004",
"path": "/data[at0001]/events[at0002]/data[at0003]/items[at0004]"
}
}
},
"gt0008": {
"id": "gt0008",
"model_id": "openEHR-EHR-OBSERVATION.injury_severity_score.v1",
"template_id": "openEHR-EHR-OBSERVATION.injury_severity_score.v1",
"type": "INPUT",
"elements": {
"gt0009": {
"id": "gt0009",
"path": "/data[at0001]/events[at0002]/data[at0003]/items[at0006]"
},
"gt0010": {
"id": "gt0010",
"path": "/data[at0001]/events[at0002]/data[at0003]/items[at0007]"
},
"gt0011": {
"id": "gt0011",
"path": "/data[at0001]/events[at0002]/data[at0003]/items[at0008]"
}
}
},
"gt0020": {
"id": "gt0020",
"model_id": "openEHR-EHR-EVALUATION.injury_severity_score.v0",
"template_id": "openEHR-EHR-EVALUATION.injury_severity_score.v0",
"type": "OUTPUT",
"elements": {
"gt0021": {
"id": "gt0021",
"path": "/data[at0001]/items[at0002]"
}
}
}
},
"rules": {
"gt0002": {
"id": "gt0002",
"priority": 2,
"when": [
"$gt0004|Injury severity score|==null",
"$gt0009|AIS score of most severely injured region|!=null",
"$gt0010|AIS score of 2nd most severely injured region|!=null",
"$gt0011|AIS score of 3rd most severely injured region|!=null"
],
"then": [
"$gt0004|Injury severity score|.magnitude=$gt0009.value^2+$gt0010.value^2+$gt0011.value^2"
]
},
"gt0015": {
"id": "gt0015",
"priority": 1,
"when": [
"($gt0009|AIS score of most severely injured region|==6|local::at0015|Unsurvivable injury|)||(($gt0010|AIS score of 2nd most severely injured region|==6|local::at0022|Unsurvivable injury|)||($gt0011|AIS score of 3rd most severely injured region|==6|local::at0029|Unsurvivable injury|))"
],
"then": [
"$gt0004|Injury severity score|=75",
"$gt0021|Assessment of most severe injury|='Unsurvivable injury (AIS 6) detected.'"
]
}
}
},
"ontology": {
"term_definitions": {
"sv": {
"id": "sv",
"terms": {
"gt0001": {
"id": "gt0001",
"text": "Injury Severity Score",
"description": "Injury Severity Score (ISS) är ett anatomiskt baserat klassifikationssystem som används för att beskriva svårighetsgrad vid multipla skador. ISS = A*A + B*B + C*C, där samtliga faktorer hämtas från Abbreviated Injury Scale (AIS) vilken delar upp kroppen i nio områden och graderar aktuella skadorna på en skala 0-6. Endast de tre mest skadade områdena graderas, från 0 = ingen skada till 6 = inte förenlig med liv. Detta genererar en ISS-poäng om 0-75p. ISS har visats ha linjär korrelation med vårdtid, morbiditet och mortalitet hos traumapatienter."
},
"gt0002": {
"id": "gt0002",
"text": "Beräkna injury severity score",
"description": "*(en) Contains the expression logic for calculating injurity severity score (ISS)."
},
"gt0004": {
"id": "gt0004",
"text": "Injury severity score",
"description": "*(en) Calculated injury severity score. This is the sum of squares of the highest AIS scores in the three most severely injured body regions. "
},
"gt0009": {
"id": "gt0009",
"text": "AIS första region",
"description": "*(en) Abbreviated injury scale score of the most severely injured body region."
},
"gt0010": {
"id": "gt0010",
"text": "AIS andra region",
"description": "*(en) Abbreviated injury scale score of the second most severely injured body region."
},
"gt0011": {
"id": "gt0011",
"text": "AIS tredje region",
"description": "*(en) Abbreviated injury scale score of the third most severely injured body region."
},
"gt0015": {
"id": "gt0015",
"text": "Skada icke förenlig med liv"
},
"gt0021": {
"id": "gt0021",
"text": "*(en) Assessment of most severe injury",
"description": "*(en) *"
}
}
},
"en": {
"id": "en",
"terms": {
"gt0001": {
"id": "gt0001",
"text": "injury severity score (ISS)",
"description": "Anatomical based scoring system for numerical description of the severity of injury in persons who have sustained trauma to mutiple body regions. ISS = A*A + B*B + C*C, where A, B and C are the AIS (abbreviated injury scale) scores assigned to the most severe injuries in the three most severely injured body regions (head/neck, face, chest, abdomen, extremities and skin). Possible AIS scores range from 0 = no injury to 5 = critical injury, while possible ISS ranges from 0 - 75. An unsurvivable injury (AIS score of 6) in any body region results in the individual automatically assigned an ISS of 75 - an injury incompatible with life. ISS shows linear correlation with hospitalisation, morbidity and mortality following trauma."
},
"gt0002": {
"id": "gt0002",
"text": "Calculate injury severity score",
"description": "Contains the expression logic for calculating injurity severity score (ISS)."
},
"gt0004": {
"id": "gt0004",
"text": "Injury severity score",
"description": "Calculated injury severity score. This is the sum of squares of the highest AIS scores in the three most severely injured body regions. "
},
"gt0009": {
"id": "gt0009",
"text": "AIS score of most severely injured region",
"description": "Abbreviated injury scale score of the most severely injured body region."
},
"gt0010": {
"id": "gt0010",
"text": "AIS score of 2nd most severely injured region",
"description": "Abbreviated injury scale score of the second most severely injured body region."
},
"gt0011": {
"id": "gt0011",
"text": "AIS score of 3rd most severely injured region",
"description": "Abbreviated injury scale score of the third most severely injured body region."
},
"gt0015": {
"id": "gt0015",
"text": "Unsurvivable injury"
},
"gt0021": {
"id": "gt0021",
"text": "Assessment of most severe injury",
"description": "*"
}
}
}
}
}
}
58 changes: 58 additions & 0 deletions gdl2/ISS.v2.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
guidelines:
1: ISS.v2
test_cases:
- id: score<75
input:
1:
gt0009|AIS score of most severely injured region: 1|local::at0010|Minor injury|
gt0010|AIS score of 2nd most severely injured region: 2|local::at0018|Moderate injury|
gt0011|AIS score of 3rd most severely injured region: 3|local::at0026|Serious injury|
expected_output:
1:
gt0004|Injury severity score: 14
- id: score >= 75
input:
1:
gt0009|AIS score of most severely injured region: 6|local::at0015|Unsurvivable injury|
gt0010|AIS score of 2nd most severely injured region: 2|local::at0018|Moderate injury|
gt0011|AIS score of 3rd most severely injured region: 3|local::at0026|Serious injury|
expected_output:
1:
gt0004|Injury severity score: 75
gt0021|Assessment of most severe injury: Unsurvivable injury (AIS 6) detected.
- id: missing input
input:
1:
gt0010|AIS score of 2nd most severely injured region: 2|local::at0018|Moderate injury|
gt0011|AIS score of 3rd most severely injured region: 3|local::at0026|Serious injury|
expected_output:
1: {}
- id: No/Mild/Mild injury=ISS 2
input:
1:
gt0009|AIS score of most severely injured region: 0|local::at0009|No injury|
gt0010|AIS score of 2nd most severely injured region: 1|local::at0017|Mild injury|
gt0011|AIS score of 3rd most severely injured region: 1|local::at0024|Mild injury|
expected_output:
1:
gt0004|Injury severity score: 2
- id: No/Unsurvivable/Mild injury ISS=75
input:
1:
gt0009|AIS score of most severely injured region: 0|local::at0009|No injury|
gt0010|AIS score of 2nd most severely injured region: 6|local::at0022|Unsurvivable injury|
gt0011|AIS score of 3rd most severely injured region: 1|local::at0024|Mild injury|
expected_output:
1:
gt0004|Injury severity score: 75
gt0021|Assessment of most severe injury: Unsurvivable injury (AIS 6) detected.
- id: Serious/Unsurvivable/Unsurvivable injury =75
input:
1:
gt0009|AIS score of most severely injured region: 3|local::at0012|Serious injury|
gt0010|AIS score of 2nd most severely injured region: 6|local::at0022|Unsurvivable injury|
gt0011|AIS score of 3rd most severely injured region: 6|local::at0029|Unsurvivable injury|
expected_output:
1:
gt0004|Injury severity score: 75
gt0021|Assessment of most severe injury: Unsurvivable injury (AIS 6) detected.