Whoops - Last fix was incorrect
This commit is contained in:
parent
3d366c2aa3
commit
89b5e6964d
|
@ -2162,7 +2162,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
|
|||
long t = System.nanoTime();
|
||||
StructureDefinition sd = context.fetchResource(StructureDefinition.class, url);
|
||||
sdTime = sdTime + (System.nanoTime() - t);
|
||||
if (sd != null && (sd.getType().equals(type) || sd.getUrl().equals(url)) && sd.hasSnapshot())
|
||||
if (sd != null && (sd.getType().equals(type) || sd.getUrl().equals("http://hl7.org/fhir/StructureDefinition/" + type)) && sd.hasSnapshot())
|
||||
return sd;
|
||||
}
|
||||
return null;
|
||||
|
|
|
@ -2172,7 +2172,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
|
|||
long t = System.nanoTime();
|
||||
StructureDefinition sd = context.fetchResource(StructureDefinition.class, url);
|
||||
sdTime = sdTime + (System.nanoTime() - t);
|
||||
if (sd != null && (sd.getType().equals(type) || sd.getUrl().equals(url)) && sd.hasSnapshot())
|
||||
if (sd != null && (sd.getType().equals(type) || sd.getUrl().equals("http://hl7.org/fhir/StructureDefinition/" + type)) && sd.hasSnapshot())
|
||||
return sd;
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue