Open bjornna opened 3 years ago
Create a OPT for vital signs, i.e. https://tools.openehr.org/designer/#/viewer/shared/Pz9zaGFyZWRJZD0xJDY5Nzc2M2FhNzM5YTQ2NDRiNGM1YmJmYjE4ZmM3ZDlk
Add one entry, i.e. a body temperature and run the unflattener
Example in this dummy test: https://github.com/bjornna/openfhiehr/blob/main/src/test/java/no/bifrost/openfhiehr/BodyTempTest.java
An instance of height/lenght was added to the composition.
I expect only the explict added entries to be included in the generated Composition and not the height/lenght
I assume its because height/lenght has a mandatory element "height". But the archetype is optional in the OPT.
@bjornna I can not access the opt. Can you please attach the file to the issue.
Configuration information
Steps to reproduce
Create a OPT for vital signs, i.e. https://tools.openehr.org/designer/#/viewer/shared/Pz9zaGFyZWRJZD0xJDY5Nzc2M2FhNzM5YTQ2NDRiNGM1YmJmYjE4ZmM3ZDlk
Add one entry, i.e. a body temperature and run the unflattener
Example in this dummy test: https://github.com/bjornna/openfhiehr/blob/main/src/test/java/no/bifrost/openfhiehr/BodyTempTest.java
Actual result
An instance of height/lenght was added to the composition.
Expected result (Acceptance Criteria)
I expect only the explict added entries to be included in the generated Composition and not the height/lenght
I assume its because height/lenght has a mandatory element "height". But the archetype is optional in the OPT.
Definition of Done