mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-07 21:38:15 +00:00
allow bindings on codeableReference
This commit is contained in:
parent
10989cf6e9
commit
d14224e987
@ -3342,7 +3342,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||||||
|
|
||||||
private boolean hasBindableType(ElementDefinition ed) {
|
private boolean hasBindableType(ElementDefinition ed) {
|
||||||
for (TypeRefComponent tr : ed.getType()) {
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
StructureDefinition sd = context.fetchTypeDefinition(tr.getCode());
|
StructureDefinition sd = context.fetchTypeDefinition(tr.getCode());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user