Enum Class TaskCode

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

public enum TaskCode extends Enum<TaskCode>
  • 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 class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TaskCode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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()