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.
|
protected StringType |
description
Description of the Location, which helps in finding or referencing the place.
|
protected List<Identifier> |
identifier
Unique code or number identifying the location to its users.
|
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.
|
protected Reference |
partOf
Another Location which this Location is physically part of.
|
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 |
static String |
SP_ADDRESSCITY |
static String |
SP_ADDRESSCOUNTRY |
static String |
SP_ADDRESSPOSTALCODE |
static String |
SP_ADDRESSSTATE |
static String |
SP_ADDRESSUSE |
static String |
SP_IDENTIFIER |
static String |
SP_NAME |
static String |
SP_NEAR |
static String |
SP_NEARDISTANCE |
static String |
SP_ORGANIZATION |
static String |
SP_PARTOF |
static String |
SP_STATUS |
static String |
SP_TYPE |
protected Enumeration<Location.LocationStatus> |
status
active | suspended | inactive.
|
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.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Location() |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected Enumeration<Location.LocationStatus> status
protected StringType name
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
public static final String SP_IDENTIFIER
public static final String SP_PARTOF
public static final String SP_NEARDISTANCE
public static final String SP_ADDRESS
public static final String SP_ADDRESSSTATE
public static final String SP_TYPE
public static final String SP_ADDRESSPOSTALCODE
public static final String SP_ADDRESSCOUNTRY
public static final String SP_ORGANIZATION
public static final String SP_NAME
public static final String SP_ADDRESSUSE
public static final String SP_NEAR
public static final String SP_ADDRESSCITY
public static final String SP_STATUS
public Location()
public List<Identifier> getIdentifier()
identifier (Unique code or number identifying the location to its users.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Unique code or number identifying the location to its users.)public Location addIdentifier(Identifier t)
public Enumeration<Location.LocationStatus> getStatusElement()
status (active | suspended | inactive.). 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 (active | suspended | inactive.). 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 - active | suspended | inactive.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 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 boolean hasTelecom()
public ContactPoint addTelecom()
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 addTelecom(ContactPoint t)
public 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.)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic 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 org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.