allow bindings on codeableReference

This commit is contained in:
Grahame Grieve 2022-09-07 21:25:56 +10:00
parent 10989cf6e9
commit d14224e987
1 changed files with 1 additions and 1 deletions

View File

@ -3342,7 +3342,7 @@ public class ProfileUtilities extends TranslatingUtilities {
private boolean hasBindableType(ElementDefinition ed) {
for (TypeRefComponent tr : ed.getType()) {
if (Utilities.existsInList(tr.getWorkingCode(), "Coding", "CodeableConcept", "Quantity", "uri", "string", "code")) {
if (Utilities.existsInList(tr.getWorkingCode(), "Coding", "CodeableConcept", "Quantity", "uri", "string", "code", "CodeableReference")) {
return true;
}
StructureDefinition sd = context.fetchTypeDefinition(tr.getCode());