Merge pull request #95 from ahdis/oliveregger_profileforlogicaltype
allow absolute url for type.code
This commit is contained in:
commit
be7f84a0ee
|
@ -2354,7 +2354,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("http://hl7.org/fhir/StructureDefinition/" + type)) && sd.hasSnapshot())
|
||||
if (sd != null && (sd.getType().equals(type) || sd.getUrl().equals(url)) && sd.hasSnapshot())
|
||||
return sd;
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue