FHIR / GoFSH

GoFSH is a FHIR Shorthand (FSH) decompiler, able to convert formal FHIR definitions from JSON/XML to FSH.
Apache License 2.0
35 stars 5 forks source link

Improve support for using slices in instances #239

Open cmoesel opened 1 year ago

cmoesel commented 1 year ago

GoFSH currently uses numerically indexed arrays in all instances, even when an element is sliced. This can be problematic, especially for required slices. We should try to make GoFSH smarter. Ideally it should recognize simple discriminators well enough to determine slice membership and output rules w/ slice names instead of numeric indices where applicable.