-
Notifications
You must be signed in to change notification settings - Fork 27
Update BMMs to latest version + json schema improvements #459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…mple type results in an error
…here according to specification
…tween Archie and the BMM
…, ignore extra classes
| "bmm/openEHR/components/LANG/Release-1.0.0/openehr_lang_100.bmm", | ||
| "bmm/openEHR/components/RM/Release-1.0.4/openehr_rm_ehr_104.bmm", | ||
| "bmm/openEHR/components/PROC/Release-1.5.0/openehr_proc_task_planning_150.bmm", | ||
| "bmm/openEHR/components/PROC/Release-1.6.0/openehr_proc_task_planning_160.bmm", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do bmm/openEHR/components/BASE/Release-1.0.4/openehr_base_104.bmm, bmm/openEHR/components/BASE/Release-1.0.4/openehr_expression_104.bmm and/or the AM BMM files also need to be added here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's possible. That is however a bigger change, and the AOM files are never needed for most archie users, who just want to validate archetypes against the BMM. And adding them would cost extra startup time. So, that could be a separate PR, with a lazy loading approach in case you need the AOM BMMs?
|
Also tested this with our existing code and everything seems to work. |
Codecov ReportBase: 71.42% // Head: 71.42% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #459 +/- ##
=========================================
Coverage 71.42% 71.42%
- Complexity 6758 6765 +7
=========================================
Files 658 659 +1
Lines 22330 22378 +48
Branches 3595 3602 +7
=========================================
+ Hits 15949 15984 +35
- Misses 4676 4684 +8
- Partials 1705 1710 +5
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
goal is to fix the changes addressed in openEHR/specifications-ITS-JSON#14, as discussed in https://discourse.openehr.org/t/multi-rm-json-schema-validation-and-current-schema-issues/3002/21
resulting JSON schema can be found in openEHR/specifications-ITS-JSON#15
Note that this is work in progress and this PR is to make this easy to find and to review the changes to the BMM and json schema generator.
TODO list:
To be decided
New entry point list:
COMPOSITION
OBSERVATION
EVALUATION
ACTIVITY
ACTION
SECTION
INSTRUCTION
INSTRUCTION_DETAILS
ADMIN_ENTRY
CLUSTER
CAPABILITY
PERSON
ROLE
ORGANISATION
AGENT
GROUP
PARTY_IDENTITY
ITEM_TREE
CONTRIBUTION
EHR
EHR_STATUS
ORIGINAL_VERSION
IMPORTED_VERSION
HISTORY
ITEM_TABLE
ITEM_LIST
ITEM_TREE
ITEM_SINGLE
ITEM_TABLE
ELEMENT