arkhn / fhir-river

Live ETL pipeline to standardize Health Data into FHIR.
Apache License 2.0
42 stars 4 forks source link

[FhirResourceTree] Multiple choice node slice support #631

Open BPierrick opened 3 years ago

BPierrick commented 3 years ago

Problem

There is no support for slices of multiple choice nodes.

Description

For nodes of kind choice, slices can be defined and when this happens, they can replace the sub-choice created as its node child. Conditions/behavior has to be deducted from the node cardinality of the slicing.rules value (ie slice can have max cardinality of 0 and therefore it won't replace the node).