Package ca.uhn.fhir.replacereferences
Class ReplaceReferencesPatchBundleSvc
java.lang.Object
ca.uhn.fhir.replacereferences.ReplaceReferencesPatchBundleSvc
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r4.model.Bundle
patchReferencingResources
(ReplaceReferencesRequest theReplaceReferencesRequest, List<ca.uhn.fhir.model.primitive.IdDt> theResourceIds, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Build a bundle of PATCH entries that make the requested reference updates
-
Constructor Details
-
ReplaceReferencesPatchBundleSvc
-
-
Method Details
-
patchReferencingResources
public org.hl7.fhir.r4.model.Bundle patchReferencingResources(ReplaceReferencesRequest theReplaceReferencesRequest, List<ca.uhn.fhir.model.primitive.IdDt> theResourceIds, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) Build a bundle of PATCH entries that make the requested reference updates- Parameters:
theReplaceReferencesRequest
- source and target for reference switchtheResourceIds
- the ids of the resource to create the patch entries for (they will all have references to the source resource)theRequestDetails
-- Returns:
-