Review "Nested inherited must support element" warnings and root inclusions
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
MADFSH heuristics for when to include nested must support elements are not very robust and require manual review. Warnings around these for the ig generation should be reviewed to determine:
- Should the flagged nested element be included in the set of elements listed in the narrative?
- Should the parent element be included in the set of elements listed in the narrative?
- In general, elements that represent groupers (e.g. Encounter.hospitalization) or representation details (e.g., Patient.identifier.value) should not be included.
Additionally, cases where an element and its slices are present should be reviewed. Proposed rule of thumb here: if there are multiple relevant slices, include the slices but not the parent. If there is only one relevant slice include the parent but not the slice.
Update the MADFSH configuration to make explicit the choices based on the analysis, adjusting the list and removing the errors.
Contributor guide
Assessment
This issue has not been assessed yet.