Package ca.uhn.fhir.jpa.mdm.svc
Class MdmResourceDaoSvc
java.lang.Object
ca.uhn.fhir.jpa.mdm.svc.MdmResourceDaoSvc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.instance.model.api.IAnyResourcereadGoldenResourceByPid(ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId theGoldenResourcePid, String theResourceType) voidremoveGoldenResourceTag(org.hl7.fhir.instance.model.api.IAnyResource theGoldenResource, String theResourcetype) Given a resource, remove its Golden Resource tag.Optional<org.hl7.fhir.instance.model.api.IAnyResource>searchGoldenResourceByEID(String theEid, String theResourceType) Optional<org.hl7.fhir.instance.model.api.IAnyResource>searchGoldenResourceByEID(String theEid, String theResourceType, ca.uhn.fhir.interceptor.model.RequestPartitionId thePartitionId) ca.uhn.fhir.jpa.api.model.DaoMethodOutcomeupsertGoldenResource(org.hl7.fhir.instance.model.api.IAnyResource theGoldenResource, String theResourceType)
-
Constructor Details
-
MdmResourceDaoSvc
public MdmResourceDaoSvc()
-
-
Method Details
-
upsertGoldenResource
public ca.uhn.fhir.jpa.api.model.DaoMethodOutcome upsertGoldenResource(org.hl7.fhir.instance.model.api.IAnyResource theGoldenResource, String theResourceType) -
removeGoldenResourceTag
public void removeGoldenResourceTag(org.hl7.fhir.instance.model.api.IAnyResource theGoldenResource, String theResourcetype) Given a resource, remove its Golden Resource tag.- Parameters:
theGoldenResource- theIAnyResourceto remove the tag from.theResourcetype- the type of that resource
-
readGoldenResourceByPid
public org.hl7.fhir.instance.model.api.IAnyResource readGoldenResourceByPid(ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId theGoldenResourcePid, String theResourceType) -
searchGoldenResourceByEID
public Optional<org.hl7.fhir.instance.model.api.IAnyResource> searchGoldenResourceByEID(String theEid, String theResourceType) -
searchGoldenResourceByEID
public Optional<org.hl7.fhir.instance.model.api.IAnyResource> searchGoldenResourceByEID(String theEid, String theResourceType, ca.uhn.fhir.interceptor.model.RequestPartitionId thePartitionId)
-