Enum TaskCode

    • Enum Constant Detail

      • APPROVE

        public static final TaskCode APPROVE
        Take what actions are needed to transition the focus resource from 'draft' to 'active' or 'in-progress', as appropriate for the resource type. This may involve additing additional content, approval, validation, etc.
      • FULFILL

        public static final TaskCode FULFILL
        Act to perform the actions defined in the focus request. This might result in a 'more assertive' request (order for a plan or proposal, filler order for a placer order), but is intend to eventually result in events. The degree of fulfillment requested might be limited by Task.restriction.
      • ABORT

        public static final TaskCode ABORT
        Abort, cancel or withdraw the focal resource, as appropriate for the type of resource.
      • REPLACE

        public static final TaskCode REPLACE
        Replace the focal resource with the specified input resource
      • CHANGE

        public static final TaskCode CHANGE
        Update the focal resource of the owning system to reflect the content specified as the Task.focus
      • SUSPEND

        public static final TaskCode SUSPEND
        Transition the focal resource from 'active' or 'in-progress' to 'suspended'
      • RESUME

        public static final TaskCode RESUME
        Transition the focal resource from 'suspended' to 'active' or 'in-progress' as appropriate for the resource type.
      • NULL

        public static final TaskCode NULL
        added to help the parsers
    • Method Detail

      • values

        public static TaskCode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TaskCode c : TaskCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TaskCode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromCode

        public static TaskCode fromCode​(String codeString)
                                 throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException