Enum EncounterAdmitSource

    • Enum Constant Detail

      • EMD

        public static final EncounterAdmitSource EMD
        The patient has been transferred from the emergency department within the hospital. This is typically used in the transition to an inpatient encounter
      • OUTP

        public static final EncounterAdmitSource OUTP
        The patient has been transferred from an outpatient department within the hospital.
      • BORN

        public static final EncounterAdmitSource BORN
        The patient is a newborn and the encounter will track the baby related activities (as opposed to the Mothers encounter - that may be associated using the newborn encounters partof property)
      • GP

        public static final EncounterAdmitSource GP
        The patient has been admitted due to a referred from a General Practitioner.
      • MP

        public static final EncounterAdmitSource MP
        The patient has been admitted due to a referred from a Specialist (as opposed to a General Practitioner).
      • REHAB

        public static final EncounterAdmitSource REHAB
        The patient has been transferred from a rehabilitiation facility or clinic.
      • OTHER

        public static final EncounterAdmitSource OTHER
        The patient has been admitted from a source otherwise not specified here.
    • Method Detail

      • values

        public static EncounterAdmitSource[] 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 (EncounterAdmitSource c : EncounterAdmitSource.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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