Skip to content

Commit

Permalink
add MII Profile Atemfrequenz + diff comments
Browse files Browse the repository at this point in the history
  • Loading branch information
f-peverali committed Feb 13, 2024
1 parent 50b4343 commit 7ddd449
Show file tree
Hide file tree
Showing 6 changed files with 338 additions and 7 deletions.
12 changes: 10 additions & 2 deletions Resources/fsh-generated/fsh-index.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,20 @@
"startLine": 1,
"endLine": 17
},
{
"outputFile": "StructureDefinition-sd-mii-icu-atemfrequenz.json",
"fshName": "SD_MII_ICU_Atemfrequenz",
"fshType": "Profile",
"fshFile": "MII_ICU_Atemfrequenz.fsh",
"startLine": 7,
"endLine": 47
},
{
"outputFile": "StructureDefinition-sd-mii-icu-monitoring-und-vitaldaten.json",
"fshName": "SD_MII_ICU_Monitoring_Und_Vitaldaten",
"fshType": "Profile",
"fshFile": "MII-MonitoringVitaldaten.fsh",
"startLine": 10,
"endLine": 99
"startLine": 14,
"endLine": 104
}
]
3 changes: 2 additions & 1 deletion Resources/fsh-generated/fsh-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ StructureDefinition-ISiKKoerpergroesse.json ISiKKoe
StructureDefinition-ISiKKoerpertemperatur.json ISiKKoerpertemperatur Profile ISiK-Koerpertemperatur.fsh 1 - 17
StructureDefinition-ISiKKopfumfang.json ISiKKopfumfang Profile ISiK-Kopfumfang.fsh 1 - 17
StructureDefinition-ISiKSauerstoffsaettigung.json ISiKSauerstoffsaettigung Profile ISiK-Sauerstoffsaettigung.fsh 1 - 17
StructureDefinition-sd-mii-icu-monitoring-und-vitaldaten.json SD_MII_ICU_Monitoring_Und_Vitaldaten Profile MII-MonitoringVitaldaten.fsh 10 - 99
StructureDefinition-sd-mii-icu-atemfrequenz.json SD_MII_ICU_Atemfrequenz Profile MII_ICU_Atemfrequenz.fsh 7 - 47
StructureDefinition-sd-mii-icu-monitoring-und-vitaldaten.json SD_MII_ICU_Monitoring_Und_Vitaldaten Profile MII-MonitoringVitaldaten.fsh 14 - 104
Original file line number Diff line number Diff line change
@@ -0,0 +1,239 @@
{
"resourceType": "StructureDefinition",
"id": "sd-mii-icu-atemfrequenz",
"url": "https://gematik.de/fhir/isik/v3/VitalparameterUndKoerpermasze/StructureDefinition/sd-mii-icu-atemfrequenz",
"name": "SD_MII_ICU_Atemfrequenz",
"title": "SD MII ICU Atemfrequenz",
"status": "draft",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "workflow",
"uri": "http://hl7.org/fhir/workflow",
"name": "Workflow Pattern"
},
{
"identity": "sct-concept",
"uri": "http://snomed.info/conceptdomain",
"name": "SNOMED CT Concept Domain Binding"
},
{
"identity": "v2",
"uri": "http://hl7.org/v2",
"name": "HL7 v2 Mapping"
},
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
},
{
"identity": "w5",
"uri": "http://hl7.org/fhir/fivews",
"name": "FiveWs Pattern Mapping"
},
{
"identity": "sct-attr",
"uri": "http://snomed.org/attributebinding",
"name": "SNOMED CT Attribute Binding"
}
],
"kind": "resource",
"abstract": false,
"type": "Observation",
"baseDefinition": "http://fhir.de/StructureDefinition/observation-de-vitalsign-atemfrequenz",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Observation.id",
"path": "Observation.id",
"mustSupport": true
},
{
"id": "Observation.meta",
"path": "Observation.meta",
"mustSupport": true
},
{
"id": "Observation.identifier",
"path": "Observation.identifier",
"mustSupport": true
},
{
"id": "Observation.status",
"path": "Observation.status",
"mustSupport": true
},
{
"id": "Observation.category",
"path": "Observation.category",
"mustSupport": true
},
{
"id": "Observation.category:vs-cat",
"path": "Observation.category",
"sliceName": "vs-cat",
"mustSupport": true
},
{
"id": "Observation.category:vs-cat.coding",
"path": "Observation.category.coding",
"mustSupport": true
},
{
"id": "Observation.category:vs-cat.coding.system",
"path": "Observation.category.coding.system",
"min": 1,
"mustSupport": true
},
{
"id": "Observation.category:vs-cat.coding.code",
"path": "Observation.category.coding.code",
"min": 1,
"mustSupport": true
},
{
"id": "Observation.code",
"path": "Observation.code",
"mustSupport": true
},
{
"id": "Observation.code.coding",
"path": "Observation.code.coding",
"slicing": {
"discriminator": [
{
"type": "pattern",
"path": "$this"
}
],
"rules": "open"
},
"min": 2,
"mustSupport": true
},
{
"id": "Observation.code.coding:sct",
"path": "Observation.code.coding",
"sliceName": "sct",
"min": 1,
"max": "1",
"patternCoding": {
"code": "86290005",
"system": "http://snomed.info/sct"
},
"mustSupport": true
},
{
"id": "Observation.code.coding:sct.system",
"path": "Observation.code.coding.system",
"min": 1,
"mustSupport": true
},
{
"id": "Observation.code.coding:sct.code",
"path": "Observation.code.coding.code",
"min": 1,
"mustSupport": true
},
{
"id": "Observation.code.coding:loinc",
"path": "Observation.code.coding",
"sliceName": "loinc",
"min": 1,
"max": "*",
"mustSupport": true
},
{
"id": "Observation.code.coding:loinc.system",
"path": "Observation.code.coding.system",
"min": 1,
"mustSupport": true
},
{
"id": "Observation.code.coding:loinc.code",
"path": "Observation.code.coding.code",
"min": 1,
"mustSupport": true
},
{
"id": "Observation.subject",
"path": "Observation.subject",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Patient"
]
}
],
"mustSupport": true
},
{
"id": "Observation.encounter",
"path": "Observation.encounter",
"mustSupport": true
},
{
"id": "Observation.effective[x]",
"path": "Observation.effective[x]",
"type": [
{
"code": "dateTime"
},
{
"code": "Period"
}
],
"mustSupport": true
},
{
"id": "Observation.value[x]",
"path": "Observation.value[x]",
"min": 1,
"mustSupport": true
},
{
"id": "Observation.value[x]:valueQuantity",
"path": "Observation.value[x]",
"sliceName": "valueQuantity",
"min": 1,
"type": [
{
"code": "Quantity"
}
]
},
{
"id": "Observation.value[x]:valueQuantity.value",
"path": "Observation.value[x].value",
"mustSupport": true
},
{
"id": "Observation.value[x]:valueQuantity.unit",
"path": "Observation.value[x].unit",
"mustSupport": true
},
{
"id": "Observation.value[x]:valueQuantity.system",
"path": "Observation.value[x].system",
"mustSupport": true
},
{
"id": "Observation.value[x]:valueQuantity.code",
"path": "Observation.value[x].code",
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "https://www.medizininformatik-initiative.de/fhir/ext/modul-icu/ValueSet/ValueSet-Unit-equivalent-UCUM-breaths_per-minute"
}
},
{
"id": "Observation.dataAbsentReason",
"path": "Observation.dataAbsentReason",
"mustSupport": true
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,6 @@
"type": [
{
"code": "Reference",
"profile": [
"https://www.medizininformatik-initiative.de/fhir/core/StructureDefinition/MII-Reference"
],
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Patient"
]
Expand Down
3 changes: 2 additions & 1 deletion Resources/input/fsh/MII-MonitoringVitaldaten.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ Title: "SD MII ICU Monitoring und Vitaldaten"
* code.coding ^slicing.discriminator.type = #pattern
* code.coding ^slicing.discriminator.path = "$this"
* code.coding ^slicing.rules = #open
* code.coding contains //TODO: zu prüfen da abweichend, z.B. von ISiKAtemfrequenz
//TODO: zu prüfen da abweichend, z.B. von ISiKAtemfrequenz
* code.coding contains
sct 0..* and
loinc 0..* and
IEEE-11073 0..*
Expand Down
85 changes: 85 additions & 0 deletions Resources/input/fsh/MII_ICU_Atemfrequenz.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
//WARNUNG: Dies ist ein Testprofil, dessen fsh-code nicht qualitätsgesichert ist und genriert wurd mit https://fshschool.org/FSHOnline/#/

Alias: $sct = http://snomed.info/sct
Alias: $observation-de-vitalsign-atemfrequenz = http://fhir.de/StructureDefinition/observation-de-vitalsign-atemfrequenz
Alias: $ValueSet-Unit-equivalent-UCUM-breaths_per-minute = https://www.medizininformatik-initiative.de/fhir/ext/modul-icu/ValueSet/ValueSet-Unit-equivalent-UCUM-breaths_per-minute

Profile: SD_MII_ICU_Atemfrequenz
Parent: VitalSignDE_Atemfrequenz
Id: sd-mii-icu-atemfrequenz
Title: "SD MII ICU Atemfrequenz"
* id MS
* meta MS //TODO: zu prüfen da abweichend von ISiKAtemfrequenz
* identifier MS //TODO: zu prüfen da abweichend von ISiKAtemfrequenz
* status MS //TODO: zu prüfen da abweichend von ISiKAtemfrequenz
* category MS
* category[vs-cat] MS
* category[vs-cat].coding MS //TODO: zu prüfen da abweichend von ISiKAtemfrequenz
* category[vs-cat].coding.system 1.. MS
* category[vs-cat].coding.code 1.. MS
* code MS
* code.coding 2.. MS //TODO: zu prüfen gesamtes Slicing, da abweichend von ISiKAtemfrequenz
* code.coding ^slicing.discriminator.type = #pattern
* code.coding ^slicing.discriminator.path = "$this"
* code.coding ^slicing.rules = #open
* code.coding contains
sct 1..1 MS and
loinc 1..
* code.coding[loinc] MS
* code.coding[loinc].system 1.. MS
* code.coding[loinc].code 1.. MS
* code.coding[sct] = $sct#86290005
* code.coding[sct].system 1.. MS
* code.coding[sct].code 1.. MS
* subject only Reference(Patient) //TODO: zu prüfen da abweichend von ISiKAtemfrequenz
* subject MS
* encounter MS
* effective[x] only dateTime or Period //TODO: zu prüfen da abweichend von ISiKAtemfrequenz
* effective[x] MS
* value[x] MS
* valueQuantity 1.. //TODO: zu prüfen da abweichend von ISiKAtemfrequenz
* valueQuantity ^sliceName = "valueQuantity"
* valueQuantity.value MS
* valueQuantity.unit MS
* valueQuantity.system MS
* valueQuantity.code MS
* valueQuantity.code from $ValueSet-Unit-equivalent-UCUM-breaths_per-minute (required) //TODO: zu prüfen da abweichend von ISiKAtemfrequenz
* dataAbsentReason MS

/*
Mapping: workflow
Id: workflow
Title: "Workflow Pattern"
Source: SD_MII_ICU_Atemfrequenz
Target: "http://hl7.org/fhir/workflow"
Mapping: sct-concept
Id: sct-concept
Title: "SNOMED CT Concept Domain Binding"
Source: SD_MII_ICU_Atemfrequenz
Target: "http://snomed.info/conceptdomain"
Mapping: v2
Id: v2
Title: "HL7 v2 Mapping"
Source: SD_MII_ICU_Atemfrequenz
Target: "http://hl7.org/v2"
Mapping: rim
Id: rim
Title: "RIM Mapping"
Source: SD_MII_ICU_Atemfrequenz
Target: "http://hl7.org/v3"
Mapping: w5
Id: w5
Title: "FiveWs Pattern Mapping"
Source: SD_MII_ICU_Atemfrequenz
Target: "http://hl7.org/fhir/fivews"
Mapping: sct-attr
Id: sct-attr
Title: "SNOMED CT Attribute Binding"
Source: SD_MII_ICU_Atemfrequenz
Target: "http://snomed.org/attributebinding"
*/

0 comments on commit 7ddd449

Please sign in to comment.