highmed / SmICSCore

Apache License 2.0
10 stars 7 forks source link

Testdaten Error: POST Viro 1 - 422 Unprocessable Entity #58

Closed JenHoos closed 3 years ago

JenHoos commented 3 years ago

While post the composition "Viro 1" per Postman, this error occur:

422 Unprocessable Entity
{
    "message": "Composition validation failed (there are missing or invalid values).",
    "validation_errors": [
        "Invalid terminology at /content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Befund']/data[at0001,'Event Series']/events[at0002,'Jedes Ereignis']/data[at0003,'Tree']/items[at0005,'Labortest-Bezeichnung']/value/defining_code, expected: http://snomed.info/sct, actual: SNOMED CT",
        "Invalid terminology at /content[openEHR-EHR-OBSERVATION.laboratory_test_result.v1,'Befund']/data[at0001,'Event Series']/events[at0002,'Jedes Ereignis']/data[at0003,'Tree']/items[openEHR-EHR-CLUSTER.laboratory_test_panel.v0,'Labortest-Panel']/items[openEHR-EHR-CLUSTER.laboratory_test_analyte.v1,'Pro Analyt']/items[at0001,'Nachweis']/value/defining_code, expected: http://snomed.info/sct, actual: SNOMED Clinical Terms"
    ]
}

It happens für all Szenes/Patients

JenHoos commented 3 years ago

The error was caused because I used the latest template, one has to use the version which is included in this git repo.