FHIR / FHIR/sushi

Wish: SUSHI allows to define (custom) complex-types

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

Description

(being pretty new to FHIR and SUSHI) I learned that using FHIR Shorthand (and SUSHI) I can generate FHIR artefacts e.g. to define FHIR StructureDefinition of these "kind"s:

- "resource" (a new FHIR Resource via FSH Item Declaration statement `Resource: MyNewResource`)
- "logical" (a new FHIR Logical Model via FSH Item Declaration statement `Logical: MyNewLogical`).

Now I want to define a new complex-type that I can reuse in multiple custom Resource definitions. Currently I have not seen a way to achieve this using FHIR Shorthand syntax.

Question/Wish:
If there really is no way yet to achieve this in SUSHI (maybe I just didn't try the right thing), would such an enhancement make sense at all?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing SUSHI's handling of FSH Item Declaration statements for Resource and Logical items, along with the FHIR Shorthand documentation for supported artifact kinds. Determine the syntax and compiler behavior needed for reusable custom complex-types; done means a documented approach exists and SUSHI generates the corresponding FHIR artifacts.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.