Package com.ibm.fhir.model.patch
Class FHIRJsonPatch
- java.lang.Object
 - 
- com.ibm.fhir.model.patch.FHIRJsonPatch
 
 
- 
- 
Constructor Summary
Constructors Constructor Description FHIRJsonPatch(javax.json.JsonArray array)FHIRJsonPatch(javax.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 resourcejavax.json.JsonPatchgetJsonPatch() 
 - 
 
- 
- 
Method Detail
- 
getJsonPatch
public javax.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
 
 - 
 
 -