Get a location by location identifier
/20240101/locations/{locationId}
Request
-
locationId(required): string
The location ID to look up. A valid location ID is a positive, a non-floating point, and a numerical value.Default Value:
UNRESTRICTED
-
oh-identifier-mapping-scope: string
The URI of the standard used for mapping relationships between Oracle Health EHR and an external system.
-
opc-request-id: string
Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Response
- application/json
200 Response
object
-
object
LocationSummary
The details of the location that were retrieved.
-
object
Location-allOf[1]
object
-
addresses:
array addresses
A collection of address details for the location.
-
aliases:
array aliases
A collection of aliases that identify the location. Aliases are grouped by type and ordered by system.
-
attributes:
array attributes
A collection of location descriptors.
-
description(required):
string
The description of the location.
-
effective(required):
object DateTimePeriod
A representation of a date and time range.
-
id(required):
string
The unique identifier for the location.
-
isPatientCareLocation(required):
boolean
True if the location is a patient care location and false if it is not.
-
name(required):
string
A display name of the location.
-
organization:
object Organization
The organization associated with the patient and encounter.
Only loaded for inbox list and message details views when the OptionalShouldLoadOrganizationSummary is set.
-
parentLocation:
object ParentLocation
The details of a parent location.
-
status(required):
string
Allowed Values:
[ "ACTIVE", "INACTIVE", "DELETED", "COMBINED" ]
Indicates the status of the location. -
telecoms:
array telecoms
A collection of contact details, for example, telephone number or fax, for the location.
-
timezone:
object TimeZone
The time zone information of the location.
-
type(required):
object CodeValueSimple
A minimal representation of a code value.
-
update(required):
object Update
Meta information about a resource.
object
-
diagnostics:
array diagnostics
Collection of diagnostic events.
array
-
Array of:
object Address
A postal address.
array
-
Array of:
object Alias
An alias for another concept.
array
-
Array of:
object Attribute
Location descriptor.
object
-
end:
string
The date and time represented in YYYY-MM-DDTHH:MM:SS:SSSZ format without the UTC offset as defined by RFC 3339. No time zone information is associated with this date and time.
-
start:
string
The date and time represented in YYYY-MM-DDTHH:MM:SS:SSSZ format without the UTC offset as defined by RFC 3339. No time zone information is associated with this date and time.
object
The organization associated with the patient and encounter.
Only loaded for inbox list and message details views when the OptionalShouldLoadOrganizationSummary is set.
-
display:
string
The display name for the organization.
-
id(required):
string
The unique identifier for the organization.
-
orgTypes:
array orgTypes
List of the organization types.
object
-
id:
string
The unique identifier of the parent location. This is the parent location with a root code of 0. If multiple parents have a root code of 0, the child organization is disqualified and not returned.
array
-
Array of:
object Telecom
A contact detail (such as a telephone number) by which the party may be contacted.
object
-
value:
string
The time zone value for the location.
object
-
cdfMeaning:
string
A programmatic value, primarily used by applications to search for this value.
-
display:
string
The text consumers see that represents this code value.
-
id(required):
string
The ID of the code value.
object
-
lastModifiedDateTime(required):
string(date-time)
The date and time in ISO-8601 format of the last changed date and time of the resource.
-
version(required):
integer(int64)
The count specific identifier of the resource.
object
-
city:
string
The text name of the city associated with the address.
-
country:
object MultivalueField
A field that can be represented by multiple values (one of which could be code value). Currently, only code value and free-text name are supported.
-
county:
object MultivalueField
A field that can be represented by multiple values (one of which could be code value). Currently, only code value and free-text name are supported.
-
postalCode:
string
A postal code designating a region defined by the postal service.
-
state:
object MultivalueField
A field that can be represented by multiple values (one of which could be code value). Currently, only code value and free-text name are supported.
-
street1:
string
The first line of the street address.
-
street2:
string
The second line of the street address.
-
street3:
string
The third line of the street address.
-
street4:
string
The fourth line of the street address.
-
type:
object CodeValueSimple
A minimal representation of a code value.
object
-
codeValue:
object CodeValueSimple
A minimal representation of a code value.
-
displayName:
string
The displayable free-text name of the field.
object
-
dateTimePeriod:
object DateTimePeriod
A representation of a date and time range.
-
displayName(required):
string
The displayable name for the alias.
-
id(required):
string
The unique identifier for the alias.
-
systemIdentifier:
object CodeValueSimple
A minimal representation of a code value.
-
systemNamespace:
string
The namespace URI with a set of possible system identifier values that are unique.
-
type:
object CodeValueSimple
A minimal representation of a code value.
object
-
description:
string
Location description.Example:
ICU
-
type(required):
object CodeValueSimple
A minimal representation of a code value.
-
value(required):
object value
- If
valueType
is typeCODE
, the value is a system identifier. - If
valueType
is typeNUMBER
orSTRING
, the value is a string representation of a number or a string value.
- If
-
valueType(required):
string
Allowed Values:
[ "CODE", "NUMBER", "STRING" ]
Value type (CODE/NUMBER/STRING) of attribute.
object
- If
valueType
is typeCODE
, the value is a system identifier. - If
valueType
is typeNUMBER
orSTRING
, the value is a string representation of a number or a string value.
{
"display":"ICU",
"id":"20140688",
"meaning":"ICU"
}
object
-
contact:
object CodeValueSimple
A minimal representation of a code value.
-
extension:
string
The extension associated with this contact.
-
format:
object CodeValueSimple
A minimal representation of a code value.
-
id(required):
string
The unique Millennium Platform identifier for the telecommunication.
-
type:
object CodeValueSimple
A minimal representation of a code value.
-
value(required):
string
The actual contact point details such as phone number or fax number.
array
-
Array of:
object DiagnosticEvent
The details of this diagnostic event.
object
-
field:
string
The field within the parameters or criteria body that caused the event.
-
message:
string
An event message that is useful for troubleshooting.
-
type(required):
string
Allowed Values:
[ "INVALID_PARAMETER", "MAPPING_NOT_FOUND", "MAPPING_SERVICE_FAILURE", "REQUEST_API_LIMIT_EXCEEDED", "RESOURCE_NOT_FOUND", "MAPPING_SCOPE_NOT_RECOGNIZED" ]
String representing the event type. -
value:
string
The value associated with the field or type.
400 Response
-
opc-request-id: string
Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array pointers
A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.
For example,
/data
for a primary data object, or/data/attributes/title
for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.
array
array
array
A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.
For example, /data
for a primary data object, or /data/attributes/title
for a specific attribute. A JSON pointer must
point to a value in the request document that exists; if it does not, ignore the pointer.
401 Response
-
opc-request-id: string
Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array pointers
A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.
For example,
/data
for a primary data object, or/data/attributes/title
for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.
array
array
array
A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.
For example, /data
for a primary data object, or /data/attributes/title
for a specific attribute. A JSON pointer must
point to a value in the request document that exists; if it does not, ignore the pointer.
403 Response
-
opc-request-id: string
Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array pointers
A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.
For example,
/data
for a primary data object, or/data/attributes/title
for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.
array
array
array
A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.
For example, /data
for a primary data object, or /data/attributes/title
for a specific attribute. A JSON pointer must
point to a value in the request document that exists; if it does not, ignore the pointer.
412 Response
-
opc-request-id: string
Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array pointers
A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.
For example,
/data
for a primary data object, or/data/attributes/title
for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.
array
array
array
A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.
For example, /data
for a primary data object, or /data/attributes/title
for a specific attribute. A JSON pointer must
point to a value in the request document that exists; if it does not, ignore the pointer.
429 Response
-
opc-request-id: string
Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array pointers
A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.
For example,
/data
for a primary data object, or/data/attributes/title
for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.
array
array
array
A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.
For example, /data
for a primary data object, or /data/attributes/title
for a specific attribute. A JSON pointer must
point to a value in the request document that exists; if it does not, ignore the pointer.
500 Response
-
opc-request-id: string
Unique Oracle Cerner-assigned identifier for the request. If you need to contact Oracle Cerner about a particular request, you must provide the request ID.
object
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
details:
array details
A list of details regarding any errors from the resulting service call.
-
message(required):
string
A human-readable error message.
array
-
Array of:
object ErrorDetail
Additional detail information pertaining to the error.
object
-
detail:
string
A human-readable explanation specific to this occurrence of the problem.
-
source:
object ErrorDetailSource
An object containing references to the source of the error.
object
-
headers:
array headers
A list of the request headers which caused the error.
-
parameters:
array parameters
A list of which URI query parameters caused the error.
-
pointers:
array pointers
A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.
For example,
/data
for a primary data object, or/data/attributes/title
for a specific attribute. A JSON pointer must point to a value in the request document that exists; if it does not, ignore the pointer.
array
array
array
A list of JSON Pointers (RFC6901) to the values in the request document that caused the error.
For example, /data
for a primary data object, or /data/attributes/title
for a specific attribute. A JSON pointer must
point to a value in the request document that exists; if it does not, ignore the pointer.