Enum Encounter.EncounterClass

java.lang.Object
java.lang.Enum<Encounter.EncounterClass>
org.hl7.fhir.dstu2.model.Encounter.EncounterClass
All Implemented Interfaces:
Serializable, Comparable<Encounter.EncounterClass>
Enclosing class:
Encounter

  • Enum Constant Details

    • INPATIENT

      public static final Encounter.EncounterClass INPATIENT
      An encounter during which the patient is hospitalized and stays overnight.
    • OUTPATIENT

      public static final Encounter.EncounterClass OUTPATIENT
      An encounter during which the patient is not hospitalized overnight.
    • AMBULATORY

      public static final Encounter.EncounterClass AMBULATORY
      An encounter where the patient visits the practitioner in his/her office, e.g. a G.P. visit.
    • EMERGENCY

      public static final Encounter.EncounterClass EMERGENCY
      An encounter in the Emergency Care Department.
    • HOME

      public static final Encounter.EncounterClass HOME
      An encounter where the practitioner visits the patient at his/her home.
    • FIELD

      public static final Encounter.EncounterClass FIELD
      An encounter taking place outside the regular environment for giving care.
    • DAYTIME

      public static final Encounter.EncounterClass 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 Encounter.EncounterClass 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 Encounter.EncounterClass 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.
    • NULL

      public static final Encounter.EncounterClass NULL
      added to help the parsers
  • Method Details

    • values

      public static Encounter.EncounterClass[] 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 Encounter.EncounterClass 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 Encounter.EncounterClass 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()