That makes the generated COMPOSITION to be invalid when submitted to EHRBASE.
{"error":"java.lang.IllegalArgumentException: Message at /subject (/content[openEHR-EHR-ACTION.procedure.v1, 1]/subject): Attribute subject of class ACTION does not match existence 1..1\nMessage at /language (/content[openEHR-EHR-ACTION.procedure.v1, 1]/language): Attribute language of class ACTION does not match existence 1..1\n","status":"Bad Request"}
Expected result
Mandatory fields should be present.
Success criteria
[ ] The defect has been fixed
[ ] The defect is checked by an unit or an integration test (Robot)
Steps to reproduce
Working on https://github.com/ehrbase/project_management/issues/363
Reference UML: https://specifications.openehr.org/releases/RM/latest/UML/diagrams/RM-composition.entry.svg
Actual result
That makes the generated COMPOSITION to be invalid when submitted to EHRBASE.
{"error":"java.lang.IllegalArgumentException: Message at /subject (/content[openEHR-EHR-ACTION.procedure.v1, 1]/subject): Attribute subject of class ACTION does not match existence 1..1\nMessage at /language (/content[openEHR-EHR-ACTION.procedure.v1, 1]/language): Attribute language of class ACTION does not match existence 1..1\n","status":"Bad Request"}
Expected result
Mandatory fields should be present.
Success criteria