Skip to main content

Location

ResourceBase · EntitiesTrial useMaturity 3

Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
14 of 15 parameters tested

Structure​

ElementCard.TypeDescription
identifierΣ
0..*IdentifierUnique code or number identifying the location to its users
status?!Σ
0..1codeactive | suspended | inactiveBinding (required): location-status
operationalStatusΣ
0..1CodingThe operational status of the location (typically only for a bed/room)Binding (preferred): v2-0116
nameΣ
0..1stringName of the location as used by humans
alias
0..*stringA list of alternate names that the location is known as, or was known as, in the past
descriptionΣ
0..1stringAdditional details about the location that could be displayed as further information to identify the location beyond its name
modeΣ
0..1codeinstance | kindBinding (required): location-mode
typeΣ
0..*CodeableConceptType of function performedBinding (extensible): v3-ServiceDeliveryLocationRoleType
telecom
0..*ContactPointContact details of the location
address
0..1AddressPhysical location
physicalTypeΣ
0..1CodeableConceptPhysical form of the locationBinding (example): location-physical-type
position
0..1BackboneElementThe absolute geographic location
longitudeRequired
1..1decimalLongitude with WGS84 datum
latitudeRequired
1..1decimalLatitude with WGS84 datum
altitude
0..1decimalAltitude with WGS84 datum
managingOrganizationΣ
0..1Reference(Organization)Organization responsible for provisioning and upkeep
partOf
0..1Reference(Location)Another Location this one is physically a part of
hoursOfOperation
0..*BackboneElementWhat days/times during a week is this location usually open
daysOfWeek
0..*codemon | tue | wed | thu | fri | sat | sunBinding (required): days-of-week
allDay
0..1booleanThe Location is open all day
openingTime
0..1timeTime that the Location opens
closingTime
0..1timeTime that the Location closes
availabilityExceptions
0..1stringDescription of availability exceptions
endpoint
0..*Reference(Endpoint)Technical endpoints providing access to services operated for the location

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/Location?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
addressstring

A (part of the) address of the location

Location.address
address-citystring

A city specified in an address

Location.address.city
address-countrystring

A country specified in an address

Location.address.country
address-postalcodestring

A postal code specified in an address

Location.address.postalCode
address-statestring

A state specified in an address

Location.address.state
address-usetoken

A use code specified in an address

Location.address.use
endpointreference

Technical endpoints providing access to services operated for the location

Location.endpoint
identifiertoken

An identifier for the location

Location.identifier
namestring

A portion of the location's name or alias

Location.name | Location.alias
nearspecial

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

Location.position
operational-statustoken

Searches for locations (typically bed/room) that have an operational status (e.g. contaminated, housekeeping)

Location.operationalStatus
organizationreference

Searches for locations that are managed by the provided organization

Location.managingOrganization
partofreference

A location of which this location is a part

Location.partOf
statustoken

Searches for locations with a specific kind of status

Location.status
typetoken

A code for the type of location

Location.type

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition