Package ca.uhn.fhir.jpa.provider
Interface IReplaceReferencesSvc
- All Known Implementing Classes:
ReplaceReferencesSvcImpl
public interface IReplaceReferencesSvc
Find all references to a source resource and replace them with references to the provided target
-
Method Summary
Modifier and TypeMethodDescriptioncountResourcesReferencingResource
(org.hl7.fhir.instance.model.api.IIdType theResourceId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) To support $merge preview mode, provide a count of how many references would be updated if replaceReferences was calledorg.hl7.fhir.instance.model.api.IBaseParameters
replaceReferences
(ReplaceReferencesRequest theReplaceReferencesRequest, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Find all references to a source resource and replace them with references to the provided target
-
Method Details
-
replaceReferences
org.hl7.fhir.instance.model.api.IBaseParameters replaceReferences(ReplaceReferencesRequest theReplaceReferencesRequest, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Find all references to a source resource and replace them with references to the provided target -
countResourcesReferencingResource
Integer countResourcesReferencingResource(org.hl7.fhir.instance.model.api.IIdType theResourceId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) To support $merge preview mode, provide a count of how many references would be updated if replaceReferences was called
-