Package ca.uhn.fhir.model.dstu2.valueset
Enum LocationTypeEnum
- java.lang.Object
-
- java.lang.Enum<LocationTypeEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.LocationTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<LocationTypeEnum>
public enum LocationTypeEnum extends Enum<LocationTypeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AREADisplay: Area
Code Value: area A defined boundary, such as a state, region, country, countyBEDDisplay: Bed
Code Value: bd A space that is allocated for sleeping/laying on.BUILDINGDisplay: Building
Code Value: bu Any Building or structure.CABINETDisplay: Cabinet
Code Value: ca A container that can store goods, equipment, medications or other items.CORRIDORDisplay: Corridor
Code Value: co Any corridor within a Building, that is not within.HOUSEDisplay: House
Code Value: ho A residential dwelling.JURISDICTIONDisplay: Jurisdiction
Code Value: jdn A wide scope that covers a conceptual domain, such as a Nation (Country wide community or Federal Government - e.g.LEVELDisplay: Level
Code Value: lvl A Level in a multi-level Building/Structure.ROADDisplay: Road
Code Value: rd A defined path to travel between 2 points that has a known name.ROOMDisplay: Room
Code Value: ro A space that is allocated as a room, it may have walls/roof etc., but does not require these.VEHICLEDisplay: Vehicle
Code Value: ve A means of transportation.WINGDisplay: Wing
Code Value: wi A Wing within a Building, this often contains levels, rooms and corridors.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<LocationTypeEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: LocationType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocationTypeEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic LocationTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static LocationTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUILDING
public static final LocationTypeEnum BUILDING
Display: Building
Code Value: bu Any Building or structure. This may contain rooms, corridors, wings, etc. It may not have walls, or a roof, but is considered a defined/allocated space.
-
WING
public static final LocationTypeEnum WING
Display: Wing
Code Value: wi A Wing within a Building, this often contains levels, rooms and corridors.
-
LEVEL
public static final LocationTypeEnum LEVEL
Display: Level
Code Value: lvl A Level in a multi-level Building/Structure.
-
CORRIDOR
public static final LocationTypeEnum CORRIDOR
Display: Corridor
Code Value: co Any corridor within a Building, that is not within.
-
ROOM
public static final LocationTypeEnum ROOM
Display: Room
Code Value: ro A space that is allocated as a room, it may have walls/roof etc., but does not require these.
-
BED
public static final LocationTypeEnum BED
Display: Bed
Code Value: bd A space that is allocated for sleeping/laying on.
-
VEHICLE
public static final LocationTypeEnum VEHICLE
Display: Vehicle
Code Value: ve A means of transportation.
-
HOUSE
public static final LocationTypeEnum HOUSE
Display: House
Code Value: ho A residential dwelling. Usually used to reference a location that a person/patient may reside.
-
CABINET
public static final LocationTypeEnum CABINET
Display: Cabinet
Code Value: ca A container that can store goods, equipment, medications or other items.
-
ROAD
public static final LocationTypeEnum ROAD
Display: Road
Code Value: rd A defined path to travel between 2 points that has a known name.
-
JURISDICTION
public static final LocationTypeEnum JURISDICTION
Display: Jurisdiction
Code Value: jdn A wide scope that covers a conceptual domain, such as a Nation (Country wide community or Federal Government - e.g. Ministry of Health), Province or State (community or Government), Business (throughout the enterprise), Nation with a business scope of an agency (e.g. CDC, FDA etc.) or a Business segment (UK Pharmacy).
-
AREA
public static final LocationTypeEnum AREA
Display: Area
Code Value: area A defined boundary, such as a state, region, country, county
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: LocationType- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<LocationTypeEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static LocationTypeEnum[] 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 (LocationTypeEnum c : LocationTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocationTypeEnum 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
-
forCode
public static LocationTypeEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-