Class Location
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.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 classLocation.DaysOfWeekstatic classLocation.DaysOfWeekEnumFactorystatic classLocation.LocationHoursOfOperationComponentstatic classLocation.LocationModestatic classLocation.LocationModeEnumFactorystatic classLocation.LocationPositionComponentstatic classLocation.LocationStatusstatic classLocation.LocationStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected AddressaddressPhysical location.static ca.uhn.fhir.rest.gclient.StringClientParamADDRESSFluent Client search parameter constant for addressstatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESS_CITYFluent Client search parameter constant for address-citystatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESS_COUNTRYFluent Client search parameter constant for address-countrystatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESS_POSTALCODEFluent Client search parameter constant for address-postalcodestatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESS_STATEFluent Client search parameter constant for address-statestatic ca.uhn.fhir.rest.gclient.TokenClientParamADDRESS_USEFluent Client search parameter constant for address-useprotected List<StringType>aliasA list of alternate names that the location is known as, or was known as, in the past.protected StringTypeavailabilityExceptionsA description of when the locations opening ours are different to normal, e.g.protected StringTypedescriptionDescription of the Location, which helps in finding or referencing the place.protected List<Reference>endpointTechnical endpoints providing access to services operated for the location.static ca.uhn.fhir.rest.gclient.ReferenceClientParamENDPOINTFluent Client search parameter constant for endpointprotected List<Endpoint>endpointTargetThe actual objects that are the target of the reference (Technical endpoints providing access to services operated for the location.)protected List<Location.LocationHoursOfOperationComponent>hoursOfOperationWhat days/times during a week is this location usually open.protected List<Identifier>identifierUnique code or number identifying the location to its users.static ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_ENDPOINTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_ORGANIZATIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PARTOFConstant for fluent queries to be used to add include statements.protected ReferencemanagingOrganizationThe organization responsible for the provisioning and upkeep of the location.protected OrganizationmanagingOrganizationTargetThe actual object that is the target of the reference (The organization responsible for the provisioning and upkeep of the location.)protected Enumeration<Location.LocationMode>modeIndicates whether a resource instance represents a specific location or a class of locations.protected StringTypenameName of the location as used by humans.static ca.uhn.fhir.rest.gclient.StringClientParamNAMEFluent Client search parameter constant for namestatic ca.uhn.fhir.rest.gclient.SpecialClientParamNEARFluent Client search parameter constant for nearstatic ca.uhn.fhir.rest.gclient.TokenClientParamOPERATIONAL_STATUSFluent Client search parameter constant for operational-statusprotected CodingoperationalStatusThe operational status covers operation values most relevant to beds (but can also apply to rooms/units/chairs/etc.static ca.uhn.fhir.rest.gclient.ReferenceClientParamORGANIZATIONFluent Client search parameter constant for organizationprotected ReferencepartOfAnother Location of which this Location is physically a part of.static ca.uhn.fhir.rest.gclient.ReferenceClientParamPARTOFFluent Client search parameter constant for partofprotected LocationpartOfTargetThe actual object that is the target of the reference (Another Location of which this Location is physically a part of.)protected CodeableConceptphysicalTypePhysical form of the location, e.g.protected Location.LocationPositionComponentpositionThe absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).static StringSP_ADDRESSSearch parameter: addressstatic StringSP_ADDRESS_CITYSearch parameter: address-citystatic StringSP_ADDRESS_COUNTRYSearch parameter: address-countrystatic StringSP_ADDRESS_POSTALCODESearch parameter: address-postalcodestatic StringSP_ADDRESS_STATESearch parameter: address-statestatic StringSP_ADDRESS_USESearch parameter: address-usestatic StringSP_ENDPOINTSearch parameter: endpointstatic StringSP_IDENTIFIERSearch parameter: identifierstatic StringSP_NAMESearch parameter: namestatic StringSP_NEARSearch parameter: nearstatic StringSP_OPERATIONAL_STATUSSearch parameter: operational-statusstatic StringSP_ORGANIZATIONSearch parameter: organizationstatic StringSP_PARTOFSearch parameter: partofstatic StringSP_STATUSSearch parameter: statusstatic StringSP_TYPESearch parameter: typeprotected Enumeration<Location.LocationStatus>statusThe 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.TokenClientParamSTATUSFluent Client search parameter constant for statusprotected List<ContactPoint>telecomThe contact details of communication devices available at the location.protected List<CodeableConcept>typeIndicates the type of function performed at the location.static ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for type-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Location()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, 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.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, 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/chairs/etc. such as an isolation unit/dialysis 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 List<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 of which this Location is physically a part of.)
-
hoursOfOperation
protected List<Location.LocationHoursOfOperationComponent> hoursOfOperation
What days/times during a week is this location usually open.
-
availabilityExceptions
protected StringType availabilityExceptions
A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times.
-
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_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: Search for locations where the location.position is near to, or within a specified distance of, the provided coordinates expressed as [latitude]|[longitude]|[distance]|[units] (using the WGS84 datum, see notes). If the units are omitted, then kms should be assumed. If the distance is omitted, then the server can use its own discretion as to what distances should be considered near (and units are irrelevant) Servers may search using various techniques that might have differing accuracies, depending on implementation efficiency. Requires the near-distance parameter to be provided also
Type: special
Path: Location.position
- See Also:
- Constant Field Values
-
NEAR
public static final ca.uhn.fhir.rest.gclient.SpecialClientParam NEAR
Fluent Client search parameter constant for nearDescription: Search for locations where the location.position is near to, or within a specified distance of, the provided coordinates expressed as [latitude]|[longitude]|[distance]|[units] (using the WGS84 datum, see notes). If the units are omitted, then kms should be assumed. If the distance is omitted, then the server can use its own discretion as to what distances should be considered near (and units are irrelevant) Servers may search using various techniques that might have differing accuracies, depending on implementation efficiency. Requires the near-distance parameter to be provided also
Type: special
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
thisfor 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/chairs/etc. such as an isolation unit/dialysis 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/chairs/etc. such as an isolation unit/dialysis 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
thisfor 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 List<CodeableConcept> getType()
- Returns:
type(Indicates the type of function performed at the location.)
-
setType
public Location setType(List<CodeableConcept> theType)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasType
public boolean hasType()
-
addType
public CodeableConcept addType()
-
addType
public Location addType(CodeableConcept t)
-
getTypeFirstRep
public CodeableConcept getTypeFirstRep()
- Returns:
- The first repetition of repeating field
type, creating it if it does not already exist
-
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
thisfor 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:
managingOrganizationThe 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-managingOrganizationThe 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 of which this Location is physically a part of.)
-
hasPartOf
public boolean hasPartOf()
-
setPartOf
public Location setPartOf(Reference value)
- Parameters:
value-partOf(Another Location of which this Location is physically a part of.)
-
getPartOfTarget
public Location getPartOfTarget()
- Returns:
partOfThe 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 of which this Location is physically a part of.)
-
setPartOfTarget
public Location setPartOfTarget(Location value)
- Parameters:
value-partOfThe 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 of which this Location is physically a part of.)
-
getHoursOfOperation
public List<Location.LocationHoursOfOperationComponent> getHoursOfOperation()
- Returns:
hoursOfOperation(What days/times during a week is this location usually open.)
-
setHoursOfOperation
public Location setHoursOfOperation(List<Location.LocationHoursOfOperationComponent> theHoursOfOperation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasHoursOfOperation
public boolean hasHoursOfOperation()
-
addHoursOfOperation
public Location.LocationHoursOfOperationComponent addHoursOfOperation()
-
addHoursOfOperation
public Location addHoursOfOperation(Location.LocationHoursOfOperationComponent t)
-
getHoursOfOperationFirstRep
public Location.LocationHoursOfOperationComponent getHoursOfOperationFirstRep()
- Returns:
- The first repetition of repeating field
hoursOfOperation, creating it if it does not already exist
-
getAvailabilityExceptionsElement
public StringType getAvailabilityExceptionsElement()
- Returns:
availabilityExceptions(A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times.). This is the underlying object with id, value and extensions. The accessor "getAvailabilityExceptions" gives direct access to the value
-
hasAvailabilityExceptionsElement
public boolean hasAvailabilityExceptionsElement()
-
hasAvailabilityExceptions
public boolean hasAvailabilityExceptions()
-
setAvailabilityExceptionsElement
public Location setAvailabilityExceptionsElement(StringType value)
- Parameters:
value-availabilityExceptions(A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times.). This is the underlying object with id, value and extensions. The accessor "getAvailabilityExceptions" gives direct access to the value
-
getAvailabilityExceptions
public String getAvailabilityExceptions()
- Returns:
- A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times.
-
setAvailabilityExceptions
public Location setAvailabilityExceptions(String value)
- Parameters:
value- A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times.
-
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
thisfor 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:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public Location copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(Location dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-