Class FHIRJsonPatch

    • Constructor Detail

      • FHIRJsonPatch

        FHIRJsonPatch​(javax.json.JsonArray array)
      • FHIRJsonPatch

        FHIRJsonPatch​(javax.json.JsonPatch patch)
    • Method Detail

      • getJsonPatch

        public javax.json.JsonPatch getJsonPatch()
      • apply

        public <T extends Resource> T apply​(T resource)
                                     throws FHIRPatchException
        Description copied from interface: FHIRPatch
        Apply this patch to a resource
        Specified by:
        apply in interface FHIRPatch
        Parameters:
        resource - the resource that this patch is applied to
        Returns:
        a new resource that is the result of applying this patch
        Throws:
        FHIRPatchException