If a CodeableReference has a concept, all will be fine, but when it encounters a CodeableReference with just reference set, you will get a message like Type 'CodeableReference' is bindable, but could not be parsed..
Analysis
The ParseBindable function used by the validator will return null when it parses a CodeableReference without a concept - this is incorrectly interpreted as having a bindeable element without data (About which we complain). For all cases except CodeableReference this was a reasonable (if overzealous) error, but not in this case.
Solution
If we know that an element is bindable (and we do), but then there is no bindeable data in it, we should just remain silent.
Description
If a CodeableReference has a
concept
, all will be fine, but when it encounters a CodeableReference with justreference
set, you will get a message likeType 'CodeableReference' is bindable, but could not be parsed.
.Analysis
The
ParseBindable
function used by the validator will return null when it parses a CodeableReference without aconcept
- this is incorrectly interpreted as having a bindeable element without data (About which we complain). For all cases except CodeableReference this was a reasonable (if overzealous) error, but not in this case.Solution
If we know that an element is bindable (and we do), but then there is no bindeable data in it, we should just remain silent.