Skip to content

Commit

Permalink
refactored complication into slicing
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasDeBe committed Jan 5, 2024
1 parent f0c2ca6 commit 593599f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
16 changes: 3 additions & 13 deletions input/fsh/oBDS/13_OP/mii-cs-onko-operation-komplikation.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@ Description: "oBDS-spezifisches Codesystem für Klassifikation von Komplikatione
* ^caseSensitive = true
* ^valueSet = "https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/ValueSet/mii-vs-onko-operation-komplikation"
* ^content = #complete
* #0 "primär erworbene Melanose ohne zelluläre Atypien" "(nur beim malignen Melanom der Konjunktiva)"
* #1 "gut differenziert"
* #2 "mäßig differenziert"
* #3 "schlecht differenziert"
* #4 "undifferenziert"
* #5 "nur für C61, TNM8"
* #X "nicht bestimmbar"
* #L "low grade (G1 oder G2)"
* #M "intermediate grade (G2 oder G3)"
* #H "high grade (G3 oder G4)"
* #B "Borderline"
* #U "unbekannt"
* #T "trifft nicht zu"
* #ABD 'Abszess in einem Drainagekanal'
* #ABS 'Abszess, intraabdominaler oder intrathorakaler'
* #ASF 'Abszess, subfaszialer'
18 changes: 16 additions & 2 deletions input/fsh/oBDS/13_OP/mii-pr-onko-operation.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,22 @@ Description: "Operation nach OPS inklusive Intention, Datum und Komplikationen:"
* performed[performedDateTime] MS // required?
* code MS // eventuell doppelt weil in MII Prozedur schon definiert
* code.coding[ops] 1..1 MS
* complication MS

* complication MS
* //complication from $mii-vs-onko-operation-komplikation // quatsch, weil wir slices machen müssen
* complication ^slicing.discriminator.type = #pattern
* complication ^slicing.discriminator.path = "$this"
* complication ^slicing.rules = #open
* complication contains
compl_obds 0..*
//and
//compl_icd10 0..*
* complication[compl_obds] MS
* complication[compl_obds].coding from $mii-vs-onko-operation-komplikation
* complication[compl_obds].system = $mii-cs-onko-operation-komplikation
* complication[compl_obds].code 1.. MS
//* code.coding[compl_icd10] from
//* code.coding[compl_icd10].system = $ICD10GM
//* code.coding[compl_icd10].code 1..
//Mapping: FHIR-to-oBDS Operation
//Id:

Expand Down

0 comments on commit 593599f

Please sign in to comment.