
Class Location
- java.lang.Object
-
- org.hl7.fhir.dstu3.model.Base
-
- org.hl7.fhir.dstu3.model.BaseResource
-
- org.hl7.fhir.dstu3.model.Resource
-
- org.hl7.fhir.dstu3.model.DomainResource
-
- org.hl7.fhir.dstu3.model.Location
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
public class Location extends DomainResource
Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained or accommodated.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Location.LocationMode
static class
Location.LocationModeEnumFactory
static class
Location.LocationPositionComponent
static class
Location.LocationStatus
static class
Location.LocationStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected Address
address
Physical location.static ca.uhn.fhir.rest.gclient.StringClientParam
ADDRESS
Fluent Client search parameter constant for addressstatic ca.uhn.fhir.rest.gclient.StringClientParam
ADDRESS_CITY
Fluent Client search parameter constant for address-citystatic ca.uhn.fhir.rest.gclient.StringClientParam
ADDRESS_COUNTRY
Fluent Client search parameter constant for address-countrystatic ca.uhn.fhir.rest.gclient.StringClientParam
ADDRESS_POSTALCODE
Fluent Client search parameter constant for address-postalcodestatic ca.uhn.fhir.rest.gclient.StringClientParam
ADDRESS_STATE
Fluent Client search parameter constant for address-statestatic ca.uhn.fhir.rest.gclient.TokenClientParam
ADDRESS_USE
Fluent Client search parameter constant for address-useprotected 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 ca.uhn.fhir.rest.gclient.ReferenceClientParam
ENDPOINT
Fluent Client search parameter constant for endpointprotected 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 ca.uhn.fhir.rest.gclient.TokenClientParam
IDENTIFIER
Fluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.Include
INCLUDE_ENDPOINT
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.Include
INCLUDE_ORGANIZATION
Constant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.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 ca.uhn.fhir.rest.gclient.StringClientParam
NAME
Fluent Client search parameter constant for namestatic ca.uhn.fhir.rest.gclient.TokenClientParam
NEAR
Fluent Client search parameter constant for nearstatic ca.uhn.fhir.rest.gclient.QuantityClientParam
NEAR_DISTANCE
Fluent Client search parameter constant for near-distancestatic ca.uhn.fhir.rest.gclient.TokenClientParam
OPERATIONAL_STATUS
Fluent Client search parameter constant for operational-statusprotected 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 ca.uhn.fhir.rest.gclient.ReferenceClientParam
ORGANIZATION
Fluent Client search parameter constant for organizationprotected Reference
partOf
Another Location which this Location is physically part of.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
PARTOF
Fluent Client search parameter constant for partofprotected 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: addressstatic String
SP_ADDRESS_CITY
Search parameter: address-citystatic String
SP_ADDRESS_COUNTRY
Search parameter: address-countrystatic String
SP_ADDRESS_POSTALCODE
Search parameter: address-postalcodestatic String
SP_ADDRESS_STATE
Search parameter: address-statestatic String
SP_ADDRESS_USE
Search parameter: address-usestatic String
SP_ENDPOINT
Search parameter: endpointstatic String
SP_IDENTIFIER
Search parameter: identifierstatic String
SP_NAME
Search parameter: namestatic String
SP_NEAR
Search parameter: nearstatic String
SP_NEAR_DISTANCE
Search parameter: near-distancestatic String
SP_OPERATIONAL_STATUS
Search parameter: operational-statusstatic String
SP_ORGANIZATION
Search parameter: organizationstatic String
SP_PARTOF
Search parameter: partofstatic String
SP_STATUS
Search parameter: statusstatic String
SP_TYPE
Search parameter: typeprotected 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 ca.uhn.fhir.rest.gclient.TokenClientParam
STATUS
Fluent Client search parameter constant for statusprotected 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 ca.uhn.fhir.rest.gclient.TokenClientParam
TYPE
Fluent Client search parameter constant for type-
Fields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Location()
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, 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, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
Unique code or number identifying the location to its users.
-
status
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.
-
operationalStatus
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). This typically covers concepts such as contamination, housekeeping and other activities like maintenance.
-
name
protected StringType name
Name of the location as used by humans. Does not need to be unique.
-
alias
protected List<StringType> alias
A list of alternate names that the location is known as, or was known as in the past.
-
description
protected StringType description
Description of the Location, which helps in finding or referencing the place.
-
mode
protected Enumeration<Location.LocationMode> mode
Indicates whether a resource instance represents a specific location or a class of locations.
-
type
protected CodeableConcept type
Indicates the type of function performed at the location.
-
telecom
protected List<ContactPoint> 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.
-
physicalType
protected CodeableConcept physicalType
Physical form of the location, e.g. building, room, vehicle, road.
-
position
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).
-
managingOrganization
protected Reference managingOrganization
The organization responsible for the provisioning and upkeep of the location.
-
managingOrganizationTarget
protected Organization managingOrganizationTarget
The actual object that is the target of the reference (The organization responsible for the provisioning and upkeep of the location.)
-
partOfTarget
protected Location partOfTarget
The actual object that is the target of the reference (Another Location which this Location is physically part of.)
-
endpoint
protected List<Reference> endpoint
Technical endpoints providing access to services operated for the location.
-
endpointTarget
protected List<Endpoint> endpointTarget
The actual objects that are the target of the reference (Technical endpoints providing access to services operated for the location.)
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter: identifierDescription: An identifier for the location
Type: token
Path: Location.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: An identifier for the location
Type: token
Path: Location.identifier
-
SP_PARTOF
public static final String SP_PARTOF
Search parameter: partofDescription: A location of which this location is a part
Type: reference
Path: Location.partOf
- See Also:
- Constant Field Values
-
PARTOF
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTOF
Fluent Client search parameter constant for partofDescription: A location of which this location is a part
Type: reference
Path: Location.partOf
-
INCLUDE_PARTOF
public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTOF
Constant for fluent queries to be used to add include statements. Specifies the path value of "Location:partof".
-
SP_NEAR_DISTANCE
public static final String SP_NEAR_DISTANCE
Search parameter: near-distanceDescription: 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
- See Also:
- Constant Field Values
-
NEAR_DISTANCE
public static final ca.uhn.fhir.rest.gclient.QuantityClientParam NEAR_DISTANCE
Fluent Client search parameter constant for near-distanceDescription: 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
-
SP_ADDRESS
public static final String SP_ADDRESS
Search parameter: addressDescription: A (part of the) address of the location
Type: string
Path: Location.address
- See Also:
- Constant Field Values
-
ADDRESS
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS
Fluent Client search parameter constant for addressDescription: A (part of the) address of the location
Type: string
Path: Location.address
-
SP_ADDRESS_STATE
public static final String SP_ADDRESS_STATE
Search parameter: address-stateDescription: A state specified in an address
Type: string
Path: Location.address.state
- See Also:
- Constant Field Values
-
ADDRESS_STATE
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_STATE
Fluent Client search parameter constant for address-stateDescription: A state specified in an address
Type: string
Path: Location.address.state
-
SP_OPERATIONAL_STATUS
public static final String SP_OPERATIONAL_STATUS
Search parameter: operational-statusDescription: Searches for locations (typically bed/room) that have an operational status (e.g. contaminated, housekeeping)
Type: token
Path: Location.operationalStatus
- See Also:
- Constant Field Values
-
OPERATIONAL_STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam OPERATIONAL_STATUS
Fluent Client search parameter constant for operational-statusDescription: Searches for locations (typically bed/room) that have an operational status (e.g. contaminated, housekeeping)
Type: token
Path: Location.operationalStatus
-
SP_TYPE
public static final String SP_TYPE
Search parameter: typeDescription: A code for the type of location
Type: token
Path: Location.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription: A code for the type of location
Type: token
Path: Location.type
-
SP_ADDRESS_POSTALCODE
public static final String SP_ADDRESS_POSTALCODE
Search parameter: address-postalcodeDescription: A postal code specified in an address
Type: string
Path: Location.address.postalCode
- See Also:
- Constant Field Values
-
ADDRESS_POSTALCODE
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_POSTALCODE
Fluent Client search parameter constant for address-postalcodeDescription: A postal code specified in an address
Type: string
Path: Location.address.postalCode
-
SP_ADDRESS_COUNTRY
public static final String SP_ADDRESS_COUNTRY
Search parameter: address-countryDescription: A country specified in an address
Type: string
Path: Location.address.country
- See Also:
- Constant Field Values
-
ADDRESS_COUNTRY
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_COUNTRY
Fluent Client search parameter constant for address-countryDescription: A country specified in an address
Type: string
Path: Location.address.country
-
SP_ENDPOINT
public static final String SP_ENDPOINT
Search parameter: endpointDescription: Technical endpoints providing access to services operated for the location
Type: reference
Path: Location.endpoint
- See Also:
- Constant Field Values
-
ENDPOINT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENDPOINT
Fluent Client search parameter constant for endpointDescription: Technical endpoints providing access to services operated for the location
Type: reference
Path: Location.endpoint
-
INCLUDE_ENDPOINT
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENDPOINT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Location:endpoint".
-
SP_ORGANIZATION
public static final String SP_ORGANIZATION
Search parameter: organizationDescription: Searches for locations that are managed by the provided organization
Type: reference
Path: Location.managingOrganization
- See Also:
- Constant Field Values
-
ORGANIZATION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORGANIZATION
Fluent Client search parameter constant for organizationDescription: Searches for locations that are managed by the provided organization
Type: reference
Path: Location.managingOrganization
-
INCLUDE_ORGANIZATION
public static final ca.uhn.fhir.model.api.Include INCLUDE_ORGANIZATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Location:organization".
-
SP_NAME
public static final String SP_NAME
Search parameter: nameDescription: A portion of the location's name or alias
Type: string
Path: Location.name, Location.alias
- See Also:
- Constant Field Values
-
NAME
public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME
Fluent Client search parameter constant for nameDescription: A portion of the location's name or alias
Type: string
Path: Location.name, Location.alias
-
SP_ADDRESS_USE
public static final String SP_ADDRESS_USE
Search parameter: address-useDescription: A use code specified in an address
Type: token
Path: Location.address.use
- See Also:
- Constant Field Values
-
ADDRESS_USE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS_USE
Fluent Client search parameter constant for address-useDescription: A use code specified in an address
Type: token
Path: Location.address.use
-
SP_NEAR
public static final String SP_NEAR
Search parameter: nearDescription: 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
- See Also:
- Constant Field Values
-
NEAR
public static final ca.uhn.fhir.rest.gclient.TokenClientParam NEAR
Fluent Client search parameter constant for nearDescription: 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
-
SP_ADDRESS_CITY
public static final String SP_ADDRESS_CITY
Search parameter: address-cityDescription: A city specified in an address
Type: string
Path: Location.address.city
- See Also:
- Constant Field Values
-
ADDRESS_CITY
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_CITY
Fluent Client search parameter constant for address-cityDescription: A city specified in an address
Type: string
Path: Location.address.city
-
SP_STATUS
public static final String SP_STATUS
Search parameter: statusDescription: Searches for locations with a specific kind of status
Type: token
Path: Location.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription: Searches for locations with a specific kind of status
Type: token
Path: Location.status
-
-
Constructor Detail
-
Location
public Location()
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier
(Unique code or number identifying the location to its users.)
-
setIdentifier
public Location setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public Location addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier
, creating it if it does not already exist
-
getStatusElement
public Enumeration<Location.LocationStatus> getStatusElement()
- Returns:
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 value
-
hasStatusElement
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public Location setStatusElement(Enumeration<Location.LocationStatus> value)
- Parameters:
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 value
-
getStatus
public Location.LocationStatus getStatus()
- Returns:
- 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.
-
setStatus
public Location setStatus(Location.LocationStatus value)
- Parameters:
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.
-
getOperationalStatus
public Coding getOperationalStatus()
- Returns:
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.)
-
hasOperationalStatus
public boolean hasOperationalStatus()
-
setOperationalStatus
public Location setOperationalStatus(Coding value)
- Parameters:
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.)
-
getNameElement
public StringType getNameElement()
- Returns:
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 value
-
hasNameElement
public boolean hasNameElement()
-
hasName
public boolean hasName()
-
setNameElement
public Location setNameElement(StringType value)
- Parameters:
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 value
-
getName
public String getName()
- Returns:
- Name of the location as used by humans. Does not need to be unique.
-
setName
public Location setName(String value)
- Parameters:
value
- Name of the location as used by humans. Does not need to be unique.
-
getAlias
public List<StringType> getAlias()
- Returns:
alias
(A list of alternate names that the location is known as, or was known as in the past.)
-
setAlias
public Location setAlias(List<StringType> theAlias)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAlias
public boolean hasAlias()
-
addAliasElement
public StringType addAliasElement()
- Returns:
alias
(A list of alternate names that the location is known as, or was known as in the past.)
-
addAlias
public Location addAlias(String value)
- Parameters:
value
-alias
(A list of alternate names that the location is known as, or was known as in the past.)
-
hasAlias
public boolean hasAlias(String value)
- Parameters:
value
-alias
(A list of alternate names that the location is known as, or was known as in the past.)
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
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 value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public Location setDescriptionElement(StringType value)
- Parameters:
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 value
-
getDescription
public String getDescription()
- Returns:
- Description of the Location, which helps in finding or referencing the place.
-
setDescription
public Location setDescription(String value)
- Parameters:
value
- Description of the Location, which helps in finding or referencing the place.
-
getModeElement
public Enumeration<Location.LocationMode> getModeElement()
- Returns:
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 value
-
hasModeElement
public boolean hasModeElement()
-
hasMode
public boolean hasMode()
-
setModeElement
public Location setModeElement(Enumeration<Location.LocationMode> value)
- Parameters:
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 value
-
getMode
public Location.LocationMode getMode()
- Returns:
- Indicates whether a resource instance represents a specific location or a class of locations.
-
setMode
public Location setMode(Location.LocationMode value)
- Parameters:
value
- Indicates whether a resource instance represents a specific location or a class of locations.
-
getType
public CodeableConcept getType()
- Returns:
type
(Indicates the type of function performed at the location.)
-
hasType
public boolean hasType()
-
setType
public Location setType(CodeableConcept value)
- Parameters:
value
-type
(Indicates the type of function performed at the location.)
-
getTelecom
public List<ContactPoint> getTelecom()
- Returns:
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.)
-
setTelecom
public Location setTelecom(List<ContactPoint> theTelecom)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasTelecom
public boolean hasTelecom()
-
addTelecom
public ContactPoint addTelecom()
-
addTelecom
public Location addTelecom(ContactPoint t)
-
getTelecomFirstRep
public ContactPoint getTelecomFirstRep()
- Returns:
- The first repetition of repeating field
telecom
, creating it if it does not already exist
-
getAddress
public Address getAddress()
- Returns:
address
(Physical location.)
-
hasAddress
public boolean hasAddress()
-
setAddress
public Location setAddress(Address value)
- Parameters:
value
-address
(Physical location.)
-
getPhysicalType
public CodeableConcept getPhysicalType()
- Returns:
physicalType
(Physical form of the location, e.g. building, room, vehicle, road.)
-
hasPhysicalType
public boolean hasPhysicalType()
-
setPhysicalType
public Location setPhysicalType(CodeableConcept value)
- Parameters:
value
-physicalType
(Physical form of the location, e.g. building, room, vehicle, road.)
-
getPosition
public Location.LocationPositionComponent getPosition()
- Returns:
position
(The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).)
-
hasPosition
public boolean hasPosition()
-
setPosition
public Location setPosition(Location.LocationPositionComponent value)
- Parameters:
value
-position
(The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).)
-
getManagingOrganization
public Reference getManagingOrganization()
- Returns:
managingOrganization
(The organization responsible for the provisioning and upkeep of the location.)
-
hasManagingOrganization
public boolean hasManagingOrganization()
-
setManagingOrganization
public Location setManagingOrganization(Reference value)
- Parameters:
value
-managingOrganization
(The organization responsible for the provisioning and upkeep of the location.)
-
getManagingOrganizationTarget
public Organization getManagingOrganizationTarget()
- Returns:
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.)
-
setManagingOrganizationTarget
public Location setManagingOrganizationTarget(Organization value)
- Parameters:
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.)
-
getPartOf
public Reference getPartOf()
- Returns:
partOf
(Another Location which this Location is physically part of.)
-
hasPartOf
public boolean hasPartOf()
-
setPartOf
public Location setPartOf(Reference value)
- Parameters:
value
-partOf
(Another Location which this Location is physically part of.)
-
getPartOfTarget
public Location getPartOfTarget()
- Returns:
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.)
-
setPartOfTarget
public Location setPartOfTarget(Location value)
- Parameters:
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.)
-
getEndpoint
public List<Reference> getEndpoint()
- Returns:
endpoint
(Technical endpoints providing access to services operated for the location.)
-
setEndpoint
public Location setEndpoint(List<Reference> theEndpoint)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasEndpoint
public boolean hasEndpoint()
-
addEndpoint
public Reference addEndpoint()
-
addEndpoint
public Location addEndpoint(Reference t)
-
getEndpointFirstRep
public Reference getEndpointFirstRep()
- Returns:
- The first repetition of repeating field
endpoint
, creating it if it does not already exist
-
getEndpointTarget
@Deprecated public List<Endpoint> getEndpointTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addEndpointTarget
@Deprecated public Endpoint addEndpointTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
public Location copy()
- Specified by:
copy
in classDomainResource
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceType
in classResource
-
-