Enum TaskCode

java.lang.Object
java.lang.Enum<TaskCode>
org.hl7.fhir.r4.model.codesystems.TaskCode
All Implemented Interfaces:
Serializable, Comparable<TaskCode>

public enum TaskCode extends Enum<TaskCode>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Abort, cancel or withdraw the focal resource, as appropriate for the type of resource.
    Take what actions are needed to transition the focus resource from 'draft' to 'active' or 'in-progress', as appropriate for the resource type.
    Update the focal resource of the owning system to reflect the content specified as the Task.focus
    Act to perform the actions defined in the focus request.
    added to help the parsers
    Replace the focal resource with the specified input resource
    Transition the focal resource from 'suspended' to 'active' or 'in-progress' as appropriate for the resource type.
    Transition the focal resource from 'active' or 'in-progress' to 'suspended'
  • Method Summary

    Modifier and Type
    Method
    Description
    static TaskCode
    fromCode(String codeString)
     
     
     
     
     
    static TaskCode
    Returns the enum constant of this type with the specified name.
    static TaskCode[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

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

    • values

      public static TaskCode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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
    • toCode

      public String toCode()
    • getSystem

      public String getSystem()
    • getDefinition

    • getDisplay

      public String getDisplay()