hl7germany / medikationsplanplusplus

Technische Korrekturen zum Medikationsplan Plus - Arbeitsversion
2 stars 1 forks source link

Observation (pregnancy status) Beispiele unvollständig, Profil fehlerhaft #41

Open simoneOnFhir opened 6 years ago

simoneOnFhir commented 6 years ago

http://fhir.hl7.de:8080/baseDstu3/Observation/218/$validate

{ "severity": "warning", "code": "processing", "diagnostics": "All observations should have a performer", "location": [ "Observation" ] }, { "severity": "warning", "code": "processing", "diagnostics": "All observations should have an effectiveDateTime or an effectivePeriod", "location": [ "Observation" ] }, { "severity": "error", "code": "processing", "diagnostics": "The Coding references a value set, not a code system (\"http://fhir.de/ValueSet/medikationsplanplus/pregnancystatus\")", "location": [ "Observation.valueCodeableConcept.coding" ] },

Bezgl. des Codes ist noch das Profile falsch. (Fixed Value Statt binding, ValueSet-url statt CodeSystem-url

lhitc commented 6 years ago

valueCodeableConcept: Binding gefixt.

kheitmann commented 6 years ago

Ich verstehe es mit effectiveTime nicht, im Profil Observation ist das doch 0..1, wie kann er sich da beschweren?

simoneOnFhir commented 6 years ago

Ich seh's gerade auch nicht... ich dachte, es wäre eine Invariante, scheint es aber nicht zu sein. http://hl7.org/implement/standards/fhir/observation-definitions.html#Observation.effective_x_ Im Kommentar steht "should", aber ich weiß nicht, wie das bei der Validierung forciert wird...

simoneOnFhir commented 6 years ago

Ignorier's einfach... ist ja nur eine Warnung...

simoneOnFhir commented 6 years ago

Wir haben's gefunden: Das ist hartcodiert in HAPI ....for whatever reason... Patrick macht ein Issue auf...

patrick-werner commented 6 years ago

https://github.com/jamesagnew/hapi-fhir/issues/942

simoneOnFhir commented 6 years ago

"valueCodeableConcept": { "coding": [ { "system": "http://fhir.de/ValueSet/medikationsplanplus/pregnancystatus", "code": "1" }

Code-System-URL ist falsch, muss heißen_

CodeSystem-URL für 1/0: http://fhir.de/CodeSystem/divi/codesystem-46 CodeSystem-URL für UNK: http://hl7.org/fhir/v3/NullFlavor