fix FHIRPath type resolution for logical models
This commit is contained in:
parent
1ba4d276c0
commit
589d566c0a
|
@ -5794,7 +5794,10 @@ public class FHIRPathEngine {
|
||||||
url = type;
|
url = type;
|
||||||
}
|
}
|
||||||
String tail = "";
|
String tail = "";
|
||||||
StructureDefinition sd = worker.fetchResource(StructureDefinition.class, url);
|
StructureDefinition sd = worker.fetchTypeDefinition(url);
|
||||||
|
if (sd == null) {
|
||||||
|
sd = worker.fetchResource(StructureDefinition.class, url);
|
||||||
|
}
|
||||||
if (sd == null) {
|
if (sd == null) {
|
||||||
if (url.startsWith(TypeDetails.FP_NS)) {
|
if (url.startsWith(TypeDetails.FP_NS)) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue