Enum EncounterClass

    • Enum Constant Detail

      • INPATIENT

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

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

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

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

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

        public static final 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 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 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.
    • Method Detail

      • values

        public static EncounterClass[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EncounterClass c : EncounterClass.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static 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 EncounterClass fromCode​(String codeString)
                                       throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException