Fix issue with type evaluation in R3 checking FHIRPath types
This commit is contained in:
parent
8cf086b203
commit
e324047735
|
@ -249,6 +249,9 @@ public class TypeDetails {
|
||||||
return true;
|
return true;
|
||||||
if (tail != null && typesContains(sd.getUrl()+"#"+sd.getType()+tail))
|
if (tail != null && typesContains(sd.getUrl()+"#"+sd.getType()+tail))
|
||||||
return true;
|
return true;
|
||||||
|
if ("http://hl7.org/fhir/StructureDefinition/string".equals(sd.getUrl()) && typesContains(FP_String)) {
|
||||||
|
return true; // this is work around for R3
|
||||||
|
}
|
||||||
if (sd.hasBaseDefinition()) {
|
if (sd.hasBaseDefinition()) {
|
||||||
if (sd.getType().equals("uri"))
|
if (sd.getType().equals("uri"))
|
||||||
sd = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/string");
|
sd = context.fetchResource(StructureDefinition.class, "http://hl7.org/fhir/StructureDefinition/string");
|
||||||
|
|
Loading…
Reference in New Issue