Class FHIRPathPatch

  • All Implemented Interfaces:
    FHIRPatch

    public class FHIRPathPatch
    extends java.lang.Object
    implements FHIRPatch
    • Method Detail

      • 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
      • toParameters

        public Parameters toParameters()
        Convert the FHIRPathPatch to a FHIR Parameters resource
      • from

        public static FHIRPathPatch from​(Parameters params)
        Parse a FHIRPathPatch from a FHIR Parameters resource
        Throws:
        java.lang.IllegalArgumentException - if the Parameters object does not satisfy the requirements of a FHIRPath Patch