Changed IAnyResource to IResource per feedback

This commit is contained in:
Ken Stevens 2019-07-17 10:26:16 -04:00
parent 79ce4a30cc
commit 160b221f5f
1 changed files with 2 additions and 2 deletions

View File

@ -1238,8 +1238,8 @@ public abstract class BaseHapiFhirDao<T extends IBaseResource> implements IDao,
}
protected void addPidToResource(ResourceTable theEntity, IBaseResource theResource) {
if (theResource instanceof IAnyResource) {
IDao.RESOURCE_PID.put((IAnyResource) theResource, theEntity.getId());
if (theResource instanceof IResource) {
IDao.RESOURCE_PID.put((IResource) theResource, theEntity.getId());
}
}