Sliced elements do not inherit pre-existing slices on sub-elements
- Dominant language
- TypeScript
- Stars
- 188
- Forks
- 64
- Avg merge
- 8d 11h
- Merged PRs (30d)
- 3
Description
See:
* https://fshschool.org/FSHOnline/#/share/3PX3AJx
* https://chat.fhir.org/#narrow/stream/215610-shorthand/topic/extending.20and.20extension
When slicing an element (e.g. `agent[user].extension[otherId]`) that contains a sub-element that has already been sliced (e.g. `agent[user].extension[otherId].value[x].extension`), the generated slice of the parent element (`agent[user].extension[otherId]`) will not contain the defined slice of it's sub-element. When slicing an element, SUSHI should (probably?) include slices of sub-elements as well.
Contributor guide
Research direction
Start with the linked FSHOnline example and compare the generated parent slice with the pre-existing slice on its sub-element. Read the discussion in the linked chat thread for the intended slicing behavior. Done means generated slices of a parent element retain the defined slices of its sub-elements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100