medizininformatik-initiative / kerndatensatzmodul-intensivmedizin

2 stars 1 forks source link

Koerpergröße/Körpergewicht - effectiveDateTime nicht validierbar #34

Closed dmeyers138 closed 5 days ago

dmeyers138 commented 1 week ago

Hey,

das Observation.effectiveDateTime wird in der aktuellen 2025er Versionen des Körpergrößen- und Körpergewicht-Profils nicht vom Validierer akzeptiert, sollte aber legitim sein laut IG/Profil. grafik

Beispiel:

"effectiveDateTime": "2015-04-08T00:37:00+02:00",

führt zu:

 {
                "resourceType": "OperationOutcome",
                "issue": [
                    {
                        "severity": "error",
                        "code": "processing",
                        "details": {
                            "coding": [
                                {
                                    "system": "http://hl7.org/fhir/java-core-messageId",
                                    "code": "SLICING_CANNOT_BE_EVALUATED"
                                }
                            ]
                        },
                        "diagnostics": "Slicing cannot be evaluated: Discriminator ($this) is based on type, but slice Observation.effective[x]:effectiveDateTime in https://www.medizininformatik-initiative.de/fhir/ext/modul-icu/StructureDefinition/koerpergroesse|2025.0.0 has 2 types: dateTime, Period",
                        "location": [
                            "Bundle.entry[0].resource.ofType(Observation).effective.ofType(dateTime)",
                            "Line 1, Col 1050"
                        ]
                    }
                ]
            }
Tim-Steinbach-UKB commented 5 days ago

fixed