Class DV_STATE

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.ICompositeType

public class DV_STATE extends DATA_VALUE implements org.hl7.fhir.instance.model.api.ICompositeType
For representing state values which obey a defined state machine, such as a variable representing the states of an instruction or care process.
See Also:
  • Field Details

    • value

      protected DV_CODED_TEXT value
      The state name. State names are determined by a state/event table defined in archetypes, and coded using openEHR Terminology or local archetype terms, as specified by the archetype.
    • is_terminal

      Indicates whether this state is a terminal state, such as 'aborted', 'completed' etc. from which no further transitions are possible.
  • Constructor Details

  • Method Details

    • getValue

      Returns:
      value (The state name. State names are determined by a state/event table defined in archetypes, and coded using openEHR Terminology or local archetype terms, as specified by the archetype.)
    • hasValue

      public boolean hasValue()
    • setValue

      Parameters:
      value - value (The state name. State names are determined by a state/event table defined in archetypes, and coded using openEHR Terminology or local archetype terms, as specified by the archetype.)
    • getIs_terminalElement

      Returns:
      is_terminal (Indicates whether this state is a terminal state, such as 'aborted', 'completed' etc. from which no further transitions are possible.). This is the underlying object with id, value and extensions. The accessor "getIs_terminal" gives direct access to the value
    • hasIs_terminalElement

      public boolean hasIs_terminalElement()
    • hasIs_terminal

      public boolean hasIs_terminal()
    • setIs_terminalElement

      Parameters:
      value - is_terminal (Indicates whether this state is a terminal state, such as 'aborted', 'completed' etc. from which no further transitions are possible.). This is the underlying object with id, value and extensions. The accessor "getIs_terminal" gives direct access to the value
    • getIs_terminal

      public boolean getIs_terminal()
      Returns:
      Indicates whether this state is a terminal state, such as 'aborted', 'completed' etc. from which no further transitions are possible.
    • setIs_terminal

      public DV_STATE setIs_terminal(boolean value)
      Parameters:
      value - Indicates whether this state is a terminal state, such as 'aborted', 'completed' etc. from which no further transitions are possible.
    • listChildren

      protected void listChildren(List<Property> children)
      Overrides:
      listChildren in class Base
    • getNamedProperty

      public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getNamedProperty in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getProperty

      public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getProperty in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • makeProperty

      public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      makeProperty in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getTypesForProperty

      public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getTypesForProperty in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class Base
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class DATA_VALUE
      Returns:
      the FHIR type name of the instance (not the java class name)
    • copy

      public DV_STATE copy()
      Specified by:
      copy in class DATA_VALUE
    • copyValues

      public void copyValues(DV_STATE dst)
    • typedCopy

      protected DV_STATE typedCopy()
    • equalsDeep

      public boolean equalsDeep(Base other_)
      Overrides:
      equalsDeep in class Base
    • equalsShallow

      public boolean equalsShallow(Base other_)
      Overrides:
      equalsShallow in class Base
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      isEmpty in class Base