Package ca.uhn.fhir.jpa.patch
Class FhirPatch
java.lang.Object
ca.uhn.fhir.jpa.patch.FhirPatch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIgnorePath
(String theIgnorePath) Adds a path element that will not be included in generated diffs.void
apply
(org.hl7.fhir.instance.model.api.IBaseResource theResource, org.hl7.fhir.instance.model.api.IBaseResource thePatch) org.hl7.fhir.instance.model.api.IBaseParameters
diff
(org.hl7.fhir.instance.model.api.IBaseResource theOldValue, org.hl7.fhir.instance.model.api.IBaseResource theNewValue) void
setIncludePreviousValueInDiff
(boolean theIncludePreviousValueInDiff)
-
Constructor Details
-
FhirPatch
-
-
Method Details
-
addIgnorePath
Adds a path element that will not be included in generated diffs. Values can take the formResourceName.fieldName.fieldName
and wildcards are supported, such as*.meta
. -
setIncludePreviousValueInDiff
-
apply
public void apply(org.hl7.fhir.instance.model.api.IBaseResource theResource, org.hl7.fhir.instance.model.api.IBaseResource thePatch) -
diff
-