public class Location extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Location.LocationMode |
static class |
Location.LocationModeEnumFactory |
static class |
Location.LocationPositionComponent |
static class |
Location.LocationStatus |
static class |
Location.LocationStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Address |
address
Physical location.
|
static StringClientParam |
ADDRESS
Fluent Client search parameter constant for address
|
static StringClientParam |
ADDRESS_CITY
Fluent Client search parameter constant for address-city
|
static StringClientParam |
ADDRESS_COUNTRY
Fluent Client search parameter constant for address-country
|
static StringClientParam |
ADDRESS_POSTALCODE
Fluent Client search parameter constant for address-postalcode
|
static StringClientParam |
ADDRESS_STATE
Fluent Client search parameter constant for address-state
|
static TokenClientParam |
ADDRESS_USE
Fluent Client search parameter constant for address-use
|
protected List<StringType> |
alias
A list of alternate names that the location is known as, or was known as in the past.
|
protected StringType |
description
Description of the Location, which helps in finding or referencing the place.
|
protected List<Reference> |
endpoint
Technical endpoints providing access to services operated for the location.
|
static ReferenceClientParam |
ENDPOINT
Fluent Client search parameter constant for endpoint
|
protected List<Endpoint> |
endpointTarget
The actual objects that are the target of the reference (Technical endpoints providing access to services operated for the location.)
|
protected List<Identifier> |
identifier
Unique code or number identifying the location to its users.
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_ENDPOINT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_ORGANIZATION
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PARTOF
Constant for fluent queries to be used to add include statements.
|
protected Reference |
managingOrganization
The organization responsible for the provisioning and upkeep of the location.
|
protected Organization |
managingOrganizationTarget
The actual object that is the target of the reference (The organization responsible for the provisioning and upkeep of the location.)
|
protected Enumeration<Location.LocationMode> |
mode
Indicates whether a resource instance represents a specific location or a class of locations.
|
protected StringType |
name
Name of the location as used by humans.
|
static StringClientParam |
NAME
Fluent Client search parameter constant for name
|
static TokenClientParam |
NEAR
Fluent Client search parameter constant for near
|
static QuantityClientParam |
NEAR_DISTANCE
Fluent Client search parameter constant for near-distance
|
static TokenClientParam |
OPERATIONAL_STATUS
Fluent Client search parameter constant for operational-status
|
protected Coding |
operationalStatus
The Operational status covers operation values most relevant to beds (but can also apply to rooms/units/chair/etc such as an isolation unit/dialisys chair).
|
static ReferenceClientParam |
ORGANIZATION
Fluent Client search parameter constant for organization
|
protected Reference |
partOf
Another Location which this Location is physically part of.
|
static ReferenceClientParam |
PARTOF
Fluent Client search parameter constant for partof
|
protected Location |
partOfTarget
The actual object that is the target of the reference (Another Location which this Location is physically part of.)
|
protected CodeableConcept |
physicalType
Physical form of the location, e.g.
|
protected Location.LocationPositionComponent |
position
The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).
|
static String |
SP_ADDRESS
Search parameter: address
|
static String |
SP_ADDRESS_CITY
Search parameter: address-city
|
static String |
SP_ADDRESS_COUNTRY
Search parameter: address-country
|
static String |
SP_ADDRESS_POSTALCODE
Search parameter: address-postalcode
|
static String |
SP_ADDRESS_STATE
Search parameter: address-state
|
static String |
SP_ADDRESS_USE
Search parameter: address-use
|
static String |
SP_ENDPOINT
Search parameter: endpoint
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_NAME
Search parameter: name
|
static String |
SP_NEAR
Search parameter: near
|
static String |
SP_NEAR_DISTANCE
Search parameter: near-distance
|
static String |
SP_OPERATIONAL_STATUS
Search parameter: operational-status
|
static String |
SP_ORGANIZATION
Search parameter: organization
|
static String |
SP_PARTOF
Search parameter: partof
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_TYPE
Search parameter: type
|
protected Enumeration<Location.LocationStatus> |
status
The status property covers the general availability of the resource, not the current value which may be covered by the operationStatus, or by a schedule/slots if they are configured for the location.
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected List<ContactPoint> |
telecom
The contact details of communication devices available at the location.
|
protected CodeableConcept |
type
Indicates the type of function performed at the location.
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Location()
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected List<Identifier> identifier
protected Enumeration<Location.LocationStatus> status
protected Coding operationalStatus
protected StringType name
protected List<StringType> alias
protected StringType description
protected Enumeration<Location.LocationMode> mode
protected CodeableConcept type
protected List<ContactPoint> telecom
protected CodeableConcept physicalType
protected Location.LocationPositionComponent position
protected Reference managingOrganization
protected Organization managingOrganizationTarget
protected Location partOfTarget
protected List<Reference> endpoint
protected List<Endpoint> endpointTarget
public static final String SP_IDENTIFIER
Description: An identifier for the location
Type: token
Path: Location.identifier
public static final TokenClientParam IDENTIFIER
Description: An identifier for the location
Type: token
Path: Location.identifier
public static final String SP_PARTOF
Description: A location of which this location is a part
Type: reference
Path: Location.partOf
public static final ReferenceClientParam PARTOF
Description: A 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_DISTANCE
Description: A distance quantity to limit the near search to locations within a specific distance
Requires the near parameter to also be included
Type: quantity
Path: Location.position
public static final QuantityClientParam NEAR_DISTANCE
Description: A distance quantity to limit the near search to locations within a specific distance
Requires the near parameter to also be included
Type: quantity
Path: Location.position
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_ADDRESS_STATE
Description: A state specified in an address
Type: string
Path: Location.address.state
public static final StringClientParam ADDRESS_STATE
Description: A state specified in an address
Type: string
Path: Location.address.state
public static final String SP_OPERATIONAL_STATUS
Description: Searches for locations (typically bed/room) that have an operational status (e.g. contaminated, housekeeping)
Type: token
Path: Location.operationalStatus
public static final TokenClientParam OPERATIONAL_STATUS
Description: Searches for locations (typically bed/room) that have an operational status (e.g. contaminated, housekeeping)
Type: token
Path: Location.operationalStatus
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_POSTALCODE
Description: A postal code specified in an address
Type: string
Path: Location.address.postalCode
public static final StringClientParam ADDRESS_POSTALCODE
Description: A postal code specified in an address
Type: string
Path: Location.address.postalCode
public static final String SP_ADDRESS_COUNTRY
Description: A country specified in an address
Type: string
Path: Location.address.country
public static final StringClientParam ADDRESS_COUNTRY
Description: A country specified in an address
Type: string
Path: Location.address.country
public static final String SP_ENDPOINT
Description: Technical endpoints providing access to services operated for the location
Type: reference
Path: Location.endpoint
public static final ReferenceClientParam ENDPOINT
Description: Technical endpoints providing access to services operated for the location
Type: reference
Path: Location.endpoint
public static final Include INCLUDE_ENDPOINT
public static final String SP_ORGANIZATION
Description: Searches for locations that are managed by the provided organization
Type: reference
Path: Location.managingOrganization
public static final ReferenceClientParam ORGANIZATION
Description: Searches for locations that are managed by the provided organization
Type: reference
Path: Location.managingOrganization
public static final Include INCLUDE_ORGANIZATION
public static final String SP_NAME
Description: A portion of the location's name or alias
Type: string
Path: Location.name, Location.alias
public static final StringClientParam NAME
Description: A portion of the location's name or alias
Type: string
Path: Location.name, Location.alias
public static final String SP_ADDRESS_USE
Description: A use code specified in an address
Type: token
Path: Location.address.use
public static final TokenClientParam ADDRESS_USE
Description: A use code specified in an address
Type: token
Path: Location.address.use
public static final String SP_NEAR
Description: The coordinates expressed as [latitude]:[longitude] (using the WGS84 datum, see notes) to find locations near to (servers may search using a square rather than a circle for efficiency)
Requires the near-distance parameter to be provided also
Type: token
Path: Location.position
public static final TokenClientParam NEAR
Description: The coordinates expressed as [latitude]:[longitude] (using the WGS84 datum, see notes) to find locations near to (servers may search using a square rather than a circle for efficiency)
Requires the near-distance parameter to be provided also
Type: token
Path: Location.position
public static final String SP_ADDRESS_CITY
Description: A city specified in an address
Type: string
Path: Location.address.city
public static final StringClientParam ADDRESS_CITY
Description: A city specified in an address
Type: string
Path: Location.address.city
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 Location()
public List<Identifier> getIdentifier()
identifier (Unique code or number identifying the location to its users.)public Location setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Location addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic Enumeration<Location.LocationStatus> getStatusElement()
status (The status property covers the general availability of the resource, not the current value which may be covered by the operationStatus, or by a schedule/slots if they are configured for the location.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Location setStatusElement(Enumeration<Location.LocationStatus> value)
value - status (The status property covers the general availability of the resource, not the current value which may be covered by the operationStatus, or by a schedule/slots if they are configured for the location.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic Location.LocationStatus getStatus()
public Location setStatus(Location.LocationStatus value)
value - The status property covers the general availability of the resource, not the current value which may be covered by the operationStatus, or by a schedule/slots if they are configured for the location.public Coding getOperationalStatus()
operationalStatus (The Operational status covers operation values most relevant to beds (but can also apply to rooms/units/chair/etc such as an isolation unit/dialisys chair). This typically covers concepts such as contamination, housekeeping and other activities like maintenance.)public boolean hasOperationalStatus()
public Location setOperationalStatus(Coding value)
value - operationalStatus (The Operational status covers operation values most relevant to beds (but can also apply to rooms/units/chair/etc such as an isolation unit/dialisys chair). This typically covers concepts such as contamination, housekeeping and other activities like maintenance.)public StringType getNameElement()
name (Name of the location as used by humans. Does not need to be unique.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic boolean hasNameElement()
public boolean hasName()
public Location setNameElement(StringType value)
value - name (Name of the location as used by humans. Does not need to be unique.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic String getName()
public Location setName(String value)
value - Name of the location as used by humans. Does not need to be unique.public List<StringType> getAlias()
alias (A list of alternate names that the location is known as, or was known as in the past.)public Location setAlias(List<StringType> theAlias)
this for easy method chainingpublic boolean hasAlias()
public StringType addAliasElement()
alias (A list of alternate names that the location is known as, or was known as in the past.)public Location addAlias(String value)
value - alias (A list of alternate names that the location is known as, or was known as in the past.)public boolean hasAlias(String value)
value - alias (A list of alternate names that the location is known as, or was known as in the past.)public StringType getDescriptionElement()
description (Description of the Location, which helps in finding or referencing the place.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public Location setDescriptionElement(StringType value)
value - description (Description of the Location, which helps in finding or referencing the place.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic String getDescription()
public Location setDescription(String value)
value - Description of the Location, which helps in finding or referencing the place.public Enumeration<Location.LocationMode> getModeElement()
mode (Indicates whether a resource instance represents a specific location or a class of locations.). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the valuepublic boolean hasModeElement()
public boolean hasMode()
public Location setModeElement(Enumeration<Location.LocationMode> value)
value - mode (Indicates whether a resource instance represents a specific location or a class of locations.). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the valuepublic Location.LocationMode getMode()
public Location setMode(Location.LocationMode value)
value - Indicates whether a resource instance represents a specific location or a class of locations.public CodeableConcept getType()
type (Indicates the type of function performed at the location.)public boolean hasType()
public Location setType(CodeableConcept value)
value - type (Indicates the type of function performed at the location.)public List<ContactPoint> getTelecom()
telecom (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<ContactPoint> theTelecom)
this for easy method chainingpublic boolean hasTelecom()
public ContactPoint addTelecom()
public Location addTelecom(ContactPoint t)
public ContactPoint getTelecomFirstRep()
telecom, creating it if it does not already existpublic Address getAddress()
address (Physical location.)public boolean hasAddress()
public Location setAddress(Address value)
value - address (Physical location.)public CodeableConcept getPhysicalType()
physicalType (Physical form of the location, e.g. building, room, vehicle, road.)public boolean hasPhysicalType()
public Location setPhysicalType(CodeableConcept value)
value - physicalType (Physical form of the location, e.g. building, room, vehicle, road.)public Location.LocationPositionComponent getPosition()
position (The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).)public boolean hasPosition()
public Location setPosition(Location.LocationPositionComponent value)
value - position (The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).)public Reference getManagingOrganization()
managingOrganization (The organization responsible for the provisioning and upkeep of the location.)public boolean hasManagingOrganization()
public Location setManagingOrganization(Reference value)
value - managingOrganization (The organization responsible for the provisioning and upkeep of the location.)public Organization getManagingOrganizationTarget()
managingOrganization The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The organization responsible for the provisioning and upkeep of the location.)public Location setManagingOrganizationTarget(Organization value)
value - managingOrganization The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The organization responsible for the provisioning and upkeep of the location.)public Reference getPartOf()
partOf (Another Location which this Location is physically part of.)public boolean hasPartOf()
public Location setPartOf(Reference value)
value - partOf (Another Location which this Location is physically part of.)public Location getPartOfTarget()
partOf The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Another Location which this Location is physically part of.)public Location setPartOfTarget(Location value)
value - partOf The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Another Location which this Location is physically part of.)public List<Reference> getEndpoint()
endpoint (Technical endpoints providing access to services operated for the location.)public Location setEndpoint(List<Reference> theEndpoint)
this for easy method chainingpublic boolean hasEndpoint()
public Reference addEndpoint()
public Location addEndpoint(Reference t)
public Reference getEndpointFirstRep()
endpoint, creating it if it does not already exist@Deprecated public List<Endpoint> getEndpointTarget()
@Deprecated public Endpoint addEndpointTarget()
protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Location copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.