Conditional bindings, published by My Organization. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/costateixeira/conditionalbindings/ and changes regularly. See the Directory of published versions
The following options could be considered:
This should be carefully considered for scope of maintenance, especially around:
There is a possibility that comprehensively parameterized profiles could allow this and other conditional dependencies.
This is currently not available and there is no timeline yet.
FHIR has a simpler mechanism called “additional bindings” where we can select different bindings for an element, and optionally define contexts for usage of each of these value sets. This mechanism is described below and there is an example in the ConditionalReferral profile.
The validation is visible in the valid instances example 1 and exxample 2, and also in the
example that is correctly found invalid as it uses the wrong value of ServiceRequest.orderDetail
for the ServiceRequest.code
value.
… See the artifacts in this Implementation Guide, namely the ConditionalReferral profile.