public class Location extends BaseResource implements IResource
Definition: Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Location
| Modifier and Type | Class and Description |
|---|---|
static class |
Location.Position
Block class for child element: Location.position (The absolute geographic location)
|
| Modifier and Type | Field and Description |
|---|---|
static StringClientParam |
ADDRESS
Fluent Client search parameter constant for address
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_PARTOF
Constant for fluent queries to be used to add include statements.
|
static StringClientParam |
NAME
Fluent Client search parameter constant for name
|
static TokenClientParam |
NEAR
Fluent Client search parameter constant for near
|
static TokenClientParam |
NEAR_DISTANCE
Fluent Client search parameter constant for near-distance
|
static ReferenceClientParam |
PARTOF
Fluent Client search parameter constant for partof
|
static String |
SP_ADDRESS
Search parameter constant for address
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_NAME
Search parameter constant for name
|
static String |
SP_NEAR
Search parameter constant for near
|
static String |
SP_NEAR_DISTANCE
Search parameter constant for near-distance
|
static String |
SP_PARTOF
Search parameter constant for partof
|
static String |
SP_STATUS
Search parameter constant for status
|
static String |
SP_TYPE
Search parameter constant for type
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
Location() |
| Modifier and Type | Method and Description |
|---|---|
ContactDt |
addTelecom()
Adds and returns a new value for telecom (Contact details of the location)
|
Location |
addTelecom(ContactUseEnum theContactUse,
String theValue)
Adds a new value for telecom (Contact details of the location)
|
Location |
addTelecom(String theValue)
Adds a new value for telecom (Contact details of the location)
|
AddressDt |
getAddress()
Gets the value(s) for address (Physical location).
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
StringDt |
getDescription()
Gets the value(s) for description (Description of the Location, which helps in finding or referencing the place).
|
IdentifierDt |
getIdentifier()
Gets the value(s) for identifier (Unique code or number identifying the location to its users).
|
ResourceReferenceDt |
getManagingOrganization()
Gets the value(s) for managingOrganization (The organization that is responsible for the provisioning and upkeep of the location).
|
BoundCodeDt<LocationModeEnum> |
getMode()
Gets the value(s) for mode (instance | kind).
|
StringDt |
getName()
Gets the value(s) for name (Name of the location as used by humans).
|
ResourceReferenceDt |
getPartOf()
Gets the value(s) for partOf (Another Location which this Location is physically part of).
|
CodeableConceptDt |
getPhysicalType()
Gets the value(s) for physicalType (Physical form of the location).
|
Location.Position |
getPosition()
Gets the value(s) for position (The absolute geographic location).
|
BoundCodeDt<LocationStatusEnum> |
getStatus()
Gets the value(s) for status (active | suspended | inactive).
|
List<ContactDt> |
getTelecom()
Gets the value(s) for telecom (Contact details of the location).
|
ContactDt |
getTelecomFirstRep()
Gets the first repetition for telecom (Contact details of the location),
creating it if it does not already exist.
|
BoundCodeableConceptDt<LocationTypeEnum> |
getType()
Gets the value(s) for type (Indicates the type of function performed at the location).
|
boolean |
isEmpty() |
Location |
setAddress(AddressDt theValue)
Sets the value(s) for address (Physical location)
|
Location |
setDescription(String theString)
Sets the value for description (Description of the Location, which helps in finding or referencing the place)
|
Location |
setDescription(StringDt theValue)
Sets the value(s) for description (Description of the Location, which helps in finding or referencing the place)
|
Location |
setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier (Unique code or number identifying the location to its users)
|
Location |
setIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Sets the value for identifier (Unique code or number identifying the location to its users)
|
Location |
setIdentifier(String theSystem,
String theValue)
Sets the value for identifier (Unique code or number identifying the location to its users)
|
Location |
setManagingOrganization(ResourceReferenceDt theValue)
Sets the value(s) for managingOrganization (The organization that is responsible for the provisioning and upkeep of the location)
|
Location |
setMode(BoundCodeDt<LocationModeEnum> theValue)
Sets the value(s) for mode (instance | kind)
|
Location |
setMode(LocationModeEnum theValue)
Sets the value(s) for mode (instance | kind)
|
Location |
setName(String theString)
Sets the value for name (Name of the location as used by humans)
|
Location |
setName(StringDt theValue)
Sets the value(s) for name (Name of the location as used by humans)
|
Location |
setPartOf(ResourceReferenceDt theValue)
Sets the value(s) for partOf (Another Location which this Location is physically part of)
|
Location |
setPhysicalType(CodeableConceptDt theValue)
Sets the value(s) for physicalType (Physical form of the location)
|
Location |
setPosition(Location.Position theValue)
Sets the value(s) for position (The absolute geographic location)
|
Location |
setStatus(BoundCodeDt<LocationStatusEnum> theValue)
Sets the value(s) for status (active | suspended | inactive)
|
Location |
setStatus(LocationStatusEnum theValue)
Sets the value(s) for status (active | suspended | inactive)
|
Location |
setTelecom(List<ContactDt> theValue)
Sets the value(s) for telecom (Contact details of the location)
|
Location |
setType(BoundCodeableConceptDt<LocationTypeEnum> theValue)
Sets the value(s) for type (Indicates the type of function performed at the location)
|
Location |
setType(LocationTypeEnum theValue)
Sets the value(s) for type (Indicates the type of function performed at the location)
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatapublic static final String SP_IDENTIFIER
Description:
Type: token
Path: Location.identifier
public static final TokenClientParam IDENTIFIER
Description:
Type: token
Path: Location.identifier
public static final String SP_NAME
Description: A (portion of the) name of the location
Type: string
Path: Location.name
public static final StringClientParam NAME
Description: A (portion of the) name of the location
Type: string
Path: Location.name
public static final String SP_TYPE
Description: A code for the type of location
Type: token
Path: Location.type
public static final TokenClientParam TYPE
Description: A code for the type of location
Type: token
Path: Location.type
public static final String SP_ADDRESS
Description: A (part of the) address of the location
Type: string
Path: Location.address
public static final StringClientParam ADDRESS
Description: A (part of the) address of the location
Type: string
Path: Location.address
public static final String SP_STATUS
Description: Searches for locations with a specific kind of status
Type: token
Path: Location.status
public static final TokenClientParam STATUS
Description: Searches for locations with a specific kind of status
Type: token
Path: Location.status
public static final String SP_PARTOF
Description: The location of which this location is a part
Type: reference
Path: Location.partOf
public static final ReferenceClientParam PARTOF
Description: The location of which this location is a part
Type: reference
Path: Location.partOf
public static final Include INCLUDE_PARTOF
public static final String SP_NEAR
Description: The coordinates expressed as [lat],[long] (using KML, see notes) to find locations near to (servers may search using a square rather than a circle for efficiency)
Type: token
Path:
public static final TokenClientParam NEAR
Description: The coordinates expressed as [lat],[long] (using KML, see notes) to find locations near to (servers may search using a square rather than a circle for efficiency)
Type: token
Path:
public static final String SP_NEAR_DISTANCE
Description: A distance quantity to limit the near search to locations within a specific distance
Type: token
Path:
public static final TokenClientParam NEAR_DISTANCE
Description: A distance quantity to limit the near search to locations within a specific distance
Type: token
Path:
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic IdentifierDt getIdentifier()
null.
Definition: Unique code or number identifying the location to its users
public Location setIdentifier(IdentifierDt theValue)
Definition: Unique code or number identifying the location to its users
public Location setIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition: Unique code or number identifying the location to its users
public Location setIdentifier(String theSystem, String theValue)
Definition: Unique code or number identifying the location to its users
public StringDt getName()
null.
Definition: Name of the location as used by humans. Does not need to be unique.
public Location setName(StringDt theValue)
Definition: Name of the location as used by humans. Does not need to be unique.
public Location setName(String theString)
Definition: Name of the location as used by humans. Does not need to be unique.
public StringDt getDescription()
null.
Definition: Description of the Location, which helps in finding or referencing the place
public Location setDescription(StringDt theValue)
Definition: Description of the Location, which helps in finding or referencing the place
public Location setDescription(String theString)
Definition: Description of the Location, which helps in finding or referencing the place
public BoundCodeableConceptDt<LocationTypeEnum> getType()
null.
Definition: Indicates the type of function performed at the location
public Location setType(BoundCodeableConceptDt<LocationTypeEnum> theValue)
Definition: Indicates the type of function performed at the location
public Location setType(LocationTypeEnum theValue)
Definition: Indicates the type of function performed at the location
public List<ContactDt> getTelecom()
null.
Definition: The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
public Location setTelecom(List<ContactDt> theValue)
Definition: The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
public ContactDt addTelecom()
Definition: The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
public ContactDt getTelecomFirstRep()
Definition: The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
public Location addTelecom(ContactUseEnum theContactUse, String theValue)
Definition: The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
public Location addTelecom(String theValue)
Definition: The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites
public AddressDt getAddress()
null.
Definition:
public Location setAddress(AddressDt theValue)
Definition:
public CodeableConceptDt getPhysicalType()
null.
Definition: Physical form of the location, e.g. building, room, vehicle, road
public Location setPhysicalType(CodeableConceptDt theValue)
Definition: Physical form of the location, e.g. building, room, vehicle, road
public Location.Position getPosition()
null.
Definition: The absolute geographic location of the Location, expressed in a KML compatible manner (see notes below for KML)
public Location setPosition(Location.Position theValue)
Definition: The absolute geographic location of the Location, expressed in a KML compatible manner (see notes below for KML)
public ResourceReferenceDt getManagingOrganization()
null.
Definition:
public Location setManagingOrganization(ResourceReferenceDt theValue)
Definition:
public BoundCodeDt<LocationStatusEnum> getStatus()
null.
Definition:
public Location setStatus(BoundCodeDt<LocationStatusEnum> theValue)
Definition:
public Location setStatus(LocationStatusEnum theValue)
Definition:
public ResourceReferenceDt getPartOf()
null.
Definition:
public Location setPartOf(ResourceReferenceDt theValue)
Definition:
public BoundCodeDt<LocationModeEnum> getMode()
null.
Definition: Indicates whether a resource instance represents a specific location or a class of locations
public Location setMode(BoundCodeDt<LocationModeEnum> theValue)
Definition: Indicates whether a resource instance represents a specific location or a class of locations
public Location setMode(LocationModeEnum theValue)
Definition: Indicates whether a resource instance represents a specific location or a class of locations
Copyright © 2014 University Health Network. All rights reserved.