Enum MedicationPackageForm
- java.lang.Object
-
- java.lang.Enum<MedicationPackageForm>
-
- org.hl7.fhir.dstu3.model.codesystems.MedicationPackageForm
-
- All Implemented Interfaces:
Serializable,Comparable<MedicationPackageForm>
public enum MedicationPackageForm extends Enum<MedicationPackageForm>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMPOULEA sealed glass capsule containing a liquidBOTTLEA container, typically made of glass or plastic and with a narrow neck, used for storing liquids.BOXA container with a flat base and sides, typically square or rectangular and having a lid.CARTRIDGEA device of various configuration and composition used with a syringe for the application of anesthetic or other materials to a patient.CONTAINERA package intended to store pharmaceuticals.NULLadded to help the parsersTUBEA long, hollow cylinder of metal, plastic, glass, etc., for holding medications, typically creams or ointmentsUNITDOSEA dose of medicine prepared in an individual package for convenience, safety or monitoring.VIALA small container, typically cylindrical and made of glass, used especially for holding liquid medications.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicationPackageFormfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static MedicationPackageFormvalueOf(String name)Returns the enum constant of this type with the specified name.static MedicationPackageForm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AMPOULE
public static final MedicationPackageForm AMPOULE
A sealed glass capsule containing a liquid
-
BOTTLE
public static final MedicationPackageForm BOTTLE
A container, typically made of glass or plastic and with a narrow neck, used for storing liquids.
-
BOX
public static final MedicationPackageForm BOX
A container with a flat base and sides, typically square or rectangular and having a lid.
-
CARTRIDGE
public static final MedicationPackageForm CARTRIDGE
A device of various configuration and composition used with a syringe for the application of anesthetic or other materials to a patient.
-
CONTAINER
public static final MedicationPackageForm CONTAINER
A package intended to store pharmaceuticals.
-
TUBE
public static final MedicationPackageForm TUBE
A long, hollow cylinder of metal, plastic, glass, etc., for holding medications, typically creams or ointments
-
UNITDOSE
public static final MedicationPackageForm UNITDOSE
A dose of medicine prepared in an individual package for convenience, safety or monitoring.
-
VIAL
public static final MedicationPackageForm VIAL
A small container, typically cylindrical and made of glass, used especially for holding liquid medications.
-
NULL
public static final MedicationPackageForm NULL
added to help the parsers
-
-
Method Detail
-
values
public static MedicationPackageForm[] 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 (MedicationPackageForm c : MedicationPackageForm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MedicationPackageForm 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 nameNullPointerException- if the argument is null
-
fromCode
public static MedicationPackageForm fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-