WebTemplate: Cardinalities objects and annotations missing
Closed this issue · 0 comments
birgerhaarbrandt commented
Configuration information
- EHRbase version: 0.14.0
- openEHR_SDK version: fc328d5
- Archie version: dc09642
- PostgreSQL version: >PostgreSQL 10.12 on x86_64-pc-linux-musl
- Java Runtime version: AdoptOpenJDK 11.0.6+10
- Operating System version: Windows 10 amd64 10.0
Steps to reproduce
From the same example as used here: #184
Actual result
"id": "amount",
"name": "Amount",
"localizedName": "Amount",
"rmType": "CLUSTER",
"nodeId": "at0015",
"min": 0,
"max": 1,
"localizedNames": {
"de": "Amount"
},
"localizedDescriptions": {
"de": "Amount of alcohol consumed."
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.alcohol_use.v1]/data[at0001]/events[at0002]/data[at0003]/items[at0005]/items[at0015]",
"children": [
Expected result (Acceptance Criteria)
"id": "amount",
"name": "Amount",
"localizedName": "Amount",
"rmType": "CLUSTER",
"nodeId": "at0015",
"min": 0,
"max": 1,
"cardinalities": [
{
"min": 1,
"max": 1,
"ids": [
"standard_drinks",
"grams_consumed"
]
}
],
"localizedNames": {
"de": "Amount"
},
"localizedDescriptions": {
"de": "Amount of alcohol consumed."
},
"annotations": {
"comment": "Only one option allowed - either number or standard drinks or weight consumed -\n per form of alcohol.\n "
},
"aqlPath": "/content[openEHR-EHR-OBSERVATION.alcohol_use.v1]/data[at0001]/events[at0023]/data[at0003]/items[at0005]/items[at0015]",
Cardinalities and the annotation seem to be missing here
Definition of Done
- The defect is checked by an unit or an integration test (Robot)
- Merge Request approved
- Unit tests passed
- Build without errors
- Release notes prepared
- No additional runtime warnings