You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have reproduced the issue with the latest release
Environment information
ehrbase next
openEHR_SDK newest
Generator version used for composition: 0.18.0
Steps to reproduce
send json to ehrbase
Expected behavior
Validates successfully
Actual result
Demands Zeitpunkt der Probenentnahme, even thou it is provided as nullflavour.
Same goes for Zugehörige Laborprobe.
"Error occurred while merging composition in EHRbase: Wrong Status code. Expected: [200, 201, 204]. Got: 422. Error message: {"error":"Unprocessable Entity","message":"/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1 and name/value='Befund']/data[at0001]/events[at0002]/data[at0003]/items[openEHR-EHR-CLUSTER.specimen.v1]/items[at0015]/value: Attribute has 0 occurrences, but must be 1..1, /content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1 and name/value='Befund']/data[at0001]/events[at0002]/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_panel.v0 and name/value='Kultur']/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1 and name/value='Pro Erreger']/items[at0026 and name/value='Zugehörige Laborprobe']/value: Attribute has 0 occurrences, but must be 1..1, /content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1 and name/value='Befund']/data[at0001]/events[at0002]/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_panel.v0 and name/value='Kultur']/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1 and name/value='Pro Erreger']/items[at0026 and name/value='Zugehörige Laborprobe']/value: Attribute has 0 occurrences, but must be 1..1"}"
Before reporting an issue
Environment information
ehrbase next
openEHR_SDK newest
Generator version used for composition: 0.18.0
Steps to reproduce
send json to ehrbase
Expected behavior
Validates successfully
Actual result
Demands Zeitpunkt der Probenentnahme, even thou it is provided as nullflavour.
Same goes for Zugehörige Laborprobe.
"Error occurred while merging composition in EHRbase: Wrong Status code. Expected: [200, 201, 204]. Got: 422. Error message: {"error":"Unprocessable Entity","message":"/content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1 and name/value='Befund']/data[at0001]/events[at0002]/data[at0003]/items[openEHR-EHR-CLUSTER.specimen.v1]/items[at0015]/value: Attribute has 0 occurrences, but must be 1..1, /content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1 and name/value='Befund']/data[at0001]/events[at0002]/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_panel.v0 and name/value='Kultur']/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1 and name/value='Pro Erreger']/items[at0026 and name/value='Zugehörige Laborprobe']/value: Attribute has 0 occurrences, but must be 1..1, /content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1 and name/value='Befund']/data[at0001]/events[at0002]/data[at0003]/items[openEHR-EHR-CLUSTER.laboratory_test_panel.v0 and name/value='Kultur']/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1 and name/value='Pro Erreger']/items[at0026 and name/value='Zugehörige Laborprobe']/value: Attribute has 0 occurrences, but must be 1..1"}"
Further information
JSON
Template:
https://ckm.highmed.org/ckm/templates/1246.169.69
The text was updated successfully, but these errors were encountered: