FHIR / FHIR/MADFSH

Review "Nested inherited must support element" warnings and root inclusions

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.