FHIR / FHIR/sushi

Allow use of default slice when defining an Instance

Open
#1,490 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
188
Forks
65
Avg merge
8d 11h
Merged PRs (30d)
3

Description

Originally reported at https://github.com/HL7/fhir-shorthand/issues/183.

SUSHI should allow authors to refer to the default slice when defining an Instance, even if the default slice is not defined. This allows authors to create elements that do not have a slice name on an element with open slicing without generating the "Use slice names in rule paths when possible" warning.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by tracing how SUSHI handles Instance definitions, slice names, and the "Use slice names in rule paths when possible" warning; verify the behavior with an open-sliced element whose default slice is not defined. Done means the unnamed default slice can be referenced without that warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.