Package org.hl7.fhir.dstu2.model
Class Location
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.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
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Address
Physical location.protected StringType
Description of the Location, which helps in finding or referencing the place.protected List
<Identifier> Unique code or number identifying the location to its users.protected Reference
The organization responsible for the provisioning and upkeep of the location.protected Organization
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> Indicates whether a resource instance represents a specific location or a class of locations.protected StringType
Name of the location as used by humans.protected Reference
Another Location which this Location is physically part of.protected Location
The actual object that is the target of the reference (Another Location which this Location is physically part of.)protected CodeableConcept
Physical form of the location, e.g.protected Location.LocationPositionComponent
The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected Enumeration
<Location.LocationStatus> active | suspended | inactive.protected List
<ContactPoint> The contact details of communication devices available at the location.protected CodeableConcept
Indicates the type of function performed at the location.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getMode()
getName()
getType()
boolean
boolean
boolean
boolean
boolean
boolean
hasMode()
boolean
boolean
hasName()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasType()
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setAddress
(Address value) setDescription
(String value) setDescriptionElement
(StringType value) setManagingOrganization
(Reference value) setMode
(Location.LocationMode value) setNameElement
(StringType value) setPartOfTarget
(Location value) setPhysicalType
(CodeableConcept value) void
setProperty
(String name, Base value) setStatus
(Location.LocationStatus value) setType
(CodeableConcept value) protected Location
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
Unique code or number identifying the location to its users. -
status
active | suspended | inactive. -
name
Name of the location as used by humans. Does not need to be unique. -
description
Description of the Location, which helps in finding or referencing the place. -
mode
Indicates whether a resource instance represents a specific location or a class of locations. -
type
Indicates the type of function performed at the location. -
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. -
address
Physical location. -
physicalType
Physical form of the location, e.g. building, room, vehicle, road. -
position
The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML). -
managingOrganization
The organization responsible for the provisioning and upkeep of the location. -
managingOrganizationTarget
The actual object that is the target of the reference (The organization responsible for the provisioning and upkeep of the location.) -
partOf
Another Location which this Location is physically part of. -
partOfTarget
The actual object that is the target of the reference (Another Location which this Location is physically part of.) -
SP_IDENTIFIER
- See Also:
-
SP_PARTOF
- See Also:
-
SP_NEARDISTANCE
- See Also:
-
SP_ADDRESS
- See Also:
-
SP_ADDRESSSTATE
- See Also:
-
SP_TYPE
- See Also:
-
SP_ADDRESSPOSTALCODE
- See Also:
-
SP_ADDRESSCOUNTRY
- See Also:
-
SP_ORGANIZATION
- See Also:
-
SP_NAME
- See Also:
-
SP_ADDRESSUSE
- See Also:
-
SP_NEAR
- See Also:
-
SP_ADDRESSCITY
- See Also:
-
SP_STATUS
- See Also:
-
-
Constructor Details
-
Location
public Location()
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Unique code or number identifying the location to its users.)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(Unique code or number identifying the location to its users.)
-
addIdentifier
-
getStatusElement
- Returns:
status
(active | suspended | inactive.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value
-status
(active | suspended | inactive.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- active | suspended | inactive.
-
setStatus
- Parameters:
value
- active | suspended | inactive.
-
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
-
hasName
-
setNameElement
- 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
- Returns:
- Name of the location as used by humans. Does not need to be unique.
-
setName
- Parameters:
value
- Name of the location as used by humans. Does not need to be unique.
-
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
-
hasDescription
-
setDescriptionElement
- 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
- Returns:
- Description of the Location, which helps in finding or referencing the place.
-
setDescription
- Parameters:
value
- Description of the Location, which helps in finding or referencing the place.
-
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
-
hasMode
-
setModeElement
- 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
- Returns:
- Indicates whether a resource instance represents a specific location or a class of locations.
-
setMode
- Parameters:
value
- Indicates whether a resource instance represents a specific location or a class of locations.
-
getType
- Returns:
type
(Indicates the type of function performed at the location.)
-
hasType
-
setType
- Parameters:
value
-type
(Indicates the type of function performed at the location.)
-
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.)
-
hasTelecom
-
addTelecom
- 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.)
-
addTelecom
-
getAddress
- Returns:
address
(Physical location.)
-
hasAddress
-
setAddress
- Parameters:
value
-address
(Physical location.)
-
getPhysicalType
- Returns:
physicalType
(Physical form of the location, e.g. building, room, vehicle, road.)
-
hasPhysicalType
-
setPhysicalType
- Parameters:
value
-physicalType
(Physical form of the location, e.g. building, room, vehicle, road.)
-
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
-
setPosition
- 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
- Returns:
managingOrganization
(The organization responsible for the provisioning and upkeep of the location.)
-
hasManagingOrganization
-
setManagingOrganization
- Parameters:
value
-managingOrganization
(The organization responsible for the provisioning and upkeep of the location.)
-
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
- 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
- Returns:
partOf
(Another Location which this Location is physically part of.)
-
hasPartOf
-
setPartOf
- Parameters:
value
-partOf
(Another Location which this Location is physically part of.)
-
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
- 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.)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-