Class FHIRJsonPatch
- java.lang.Object
 - 
- org.linuxforhealth.fhir.model.patch.FHIRJsonPatch
 
 
- 
- 
Constructor Summary
Constructors Constructor Description FHIRJsonPatch(jakarta.json.JsonArray array)FHIRJsonPatch(jakarta.json.JsonPatch patch) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Resource>
Tapply(T resource)Apply this patch to a resourcejakarta.json.JsonPatchgetJsonPatch() 
 - 
 
- 
- 
Method Detail
- 
getJsonPatch
public jakarta.json.JsonPatch getJsonPatch()
 
- 
apply
public <T extends Resource> T apply(T resource) throws FHIRPatchException
Description copied from interface:FHIRPatchApply this patch to a resource- Specified by:
 applyin interfaceFHIRPatch- Parameters:
 resource- the resource that this patch is applied to- Returns:
 - a new resource that is the result of applying this patch
 - Throws:
 FHIRPatchException
 
 - 
 
 -