Enum EncounterClassEnum

java.lang.Object
java.lang.Enum<EncounterClassEnum>
ca.uhn.fhir.model.dstu2.valueset.EncounterClassEnum
All Implemented Interfaces:
Serializable, Comparable<EncounterClassEnum>

  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Display: Ambulatory
    Code Value: ambulatory An encounter where the patient visits the practitioner in his/her office, e.g.
    Display: Daytime
    Code Value: daytime An encounter where the patient needs more prolonged treatment or investigations than outpatients, but who do not need to stay in the hospital overnight.
    Display: Emergency
    Code Value: emergency An encounter in the Emergency Care Department.
    Display: Field
    Code Value: field An encounter taking place outside the regular environment for giving care.
    Display: Home
    Code Value: home An encounter where the practitioner visits the patient at his/her home.
    Display: Inpatient
    Code Value: inpatient An encounter during which the patient is hospitalized and stays overnight.
    Display: Other
    Code Value: other Any other encounter type that is not described by one of the other values.
    Display: Outpatient
    Code Value: outpatient An encounter during which the patient is not hospitalized overnight.
    Display: Virtual
    Code Value: virtual An encounter that takes place where the patient and practitioner do not physically meet but use electronic means for contact.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ca.uhn.fhir.model.api.IValueSetEnumBinder<EncounterClassEnum>
    Converts codes to their respective enumerated values
    static final String
    Identifier for this Value Set:
    static final String
    Name for this Value Set: EncounterClass
  • Method Summary

    Modifier and Type
    Method
    Description
    forCode(String theCode)
    Returns the enumerated value associated with this code
    Returns the code associated with this enumerated value
    Returns the code system associated with this enumerated value
    Returns the enum constant of this type with the specified name.
    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

    • INPATIENT

      public static final EncounterClassEnum INPATIENT
      Display: Inpatient
      Code Value: inpatient An encounter during which the patient is hospitalized and stays overnight.
    • OUTPATIENT

      public static final EncounterClassEnum OUTPATIENT
      Display: Outpatient
      Code Value: outpatient An encounter during which the patient is not hospitalized overnight.
    • AMBULATORY

      public static final EncounterClassEnum AMBULATORY
      Display: Ambulatory
      Code Value: ambulatory An encounter where the patient visits the practitioner in his/her office, e.g. a G.P. visit.
    • EMERGENCY

      public static final EncounterClassEnum EMERGENCY
      Display: Emergency
      Code Value: emergency An encounter in the Emergency Care Department.
    • HOME

      public static final EncounterClassEnum HOME
      Display: Home
      Code Value: home An encounter where the practitioner visits the patient at his/her home.
    • FIELD

      public static final EncounterClassEnum FIELD
      Display: Field
      Code Value: field An encounter taking place outside the regular environment for giving care.
    • DAYTIME

      public static final EncounterClassEnum DAYTIME
      Display: Daytime
      Code Value: daytime An encounter where the patient needs more prolonged treatment or investigations than outpatients, but who do not need to stay in the hospital overnight.
    • VIRTUAL

      public static final EncounterClassEnum VIRTUAL
      Display: Virtual
      Code Value: virtual An encounter that takes place where the patient and practitioner do not physically meet but use electronic means for contact.
    • OTHER

      public static final EncounterClassEnum OTHER
      Display: Other
      Code Value: other Any other encounter type that is not described by one of the other values. Where this is used it is expected that an implementer will include an extension value to define what the actual other type is.
  • Field Details

  • Method Details

    • values

      public static EncounterClassEnum[] 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 EncounterClassEnum 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
    • getCode

      public String getCode()
      Returns the code associated with this enumerated value
    • getSystem

      public String getSystem()
      Returns the code system associated with this enumerated value
    • forCode

      public static EncounterClassEnum forCode(String theCode)
      Returns the enumerated value associated with this code