Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/oracle-health:oracle-health-locations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Oracle Health EHR APIs for Oracle Health Millennium…
description: These APIs allow a registered user to access the Oracle Health EHR data in Oracle Health Millennium Platform for which they are authorized.
version: 2026.04.21
x-summary: These APIs allow a registered user to access the Oracle Health EHR data in Oracle Health Millennium Platform for which they are authorized.
tags:
- name: Locations
paths:
/20240101/locations/{locationId}:
get:
tags:
- Locations
summary: Get a location by location identifier
description: Retrieves details about a single location by location identifier.
operationId: GetLocation
parameters:
- $ref: '#/components/parameters/OhIdentifierMappingScopeHeader'
- $ref: '#/components/parameters/OpcRequestIdHeader'
- description: 'The location ID to look up. A valid location ID is a positive, a non-floating point, and a numerical value.
'
in: path
name: locationId
required: true
schema:
type: string
default: UNRESTRICTED
responses:
'200':
description: 'Success
'
content:
application/json:
schema:
$ref: '#/components/schemas/Location'
'400':
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'412':
$ref: '#/components/responses/412'
'429':
$ref: '#/components/responses/429'
'500':
$ref: '#/components/responses/500'
x-internal-id: 20240101-locations-{locationId}-get
x-filename-id: 20240101-locations-locationid-get
/20240101/locations:
get:
tags:
- Locations
summary: Get a location
description: 'Retrieves details about a location using the location identifiers or the provided query parameters. You can provide parts to filter the location data included in the response. If no parts are provided, all location data is returned.
Although not required, Oracle Cerner recommends providing the parts corresponding with the fields that consuming applications process. This recommendation is in place to reduce the size of the response payload and to improve system efficiency.'
operationId: ListLocations
parameters:
- $ref: '#/components/parameters/OhIdentifierMappingScopeHeader'
- $ref: '#/components/parameters/OpcRequestIdHeader'
- $ref: '#/components/parameters/PaginationLimitQueryParam'
- $ref: '#/components/parameters/PaginationTokenQueryParam'
- $ref: '#/components/parameters/LocationIdentifierQueryParam'
- $ref: '#/components/parameters/LocationFieldsQueryParam'
- $ref: '#/components/parameters/LocationExcludedFieldsQueryParam'
- description: "<p>A collection of identifiers that specify types of locations to retrieve.</p>\n\n<p><b>Valid Location Types</b>\n<ul>\n <li>PATIENTCAREFACILITY: Any location facility that is also a patient care facility.</li>\n <li>Any Location Type CDF Meaning from Code Set 222.</li>\n</ul></p>\n"
in: query
name: type
required: false
style: form
explode: true
schema:
type: array
items:
type: string
maxItems: 15
minItems: 0
- description: "<p>Restrict which locations are retrieved based on whether the organization is\naccessible by the current user. Defaults to <code>UNRESTRICTED</code> if not set. If an invalid value\nis set, then a <code>400</code> (Bad Request) status code is returned.</p>\n<ul>\n <li><code>ACCESSIBLE_ONLY</code>: Retrieve only locations with accessible organizations.</li>\n <li><code>ACCESSIBLE_AND_NO_ORG</code>: Retrieve locations that have accessible organizations and locations that do not have an organization.</li>\n <li><code>UNRESTRICTED</code>: Do not apply any filtering based on organization accessibility.</li>\n</ul>\n"
in: query
name: organizationRestriction
required: false
schema:
type: string
enum:
- ACCESSIBLE_ONLY
- ACCESSIBLE_AND_NO_ORG
- UNRESTRICTED
default: UNRESTRICTED
- description: The name of the location to retrieve. Locations with names matching the supplied name are returned. This name is case insensitive.
in: query
name: name
required: false
schema:
type: string
- description: The street name of the locations to retrieve. The street name can be a partial name. This name is case insensitive. You must supply either state or postalCode when you search by street.
in: query
name: street
required: false
schema:
type: string
- description: The city name of the locations to retrieve. The city name can be a partial name. This name is case insensitive. You must supply either state or postalCode when you search by city.
in: query
name: city
required: false
schema:
type: string
- description: The state name of the locations to retrieve. The state name can be a partial name or partial abbreviation. This name is case insensitive.
in: query
name: state
required: false
schema:
type: string
- description: The postal code of the locations to retrieve. This value can be partial.
in: query
name: postalCode
required: false
schema:
type: string
- description: The street name, city name, state name, or postal code. This value is case insensitive and can be partial. This value cannot be used together with the discrete address fields (street, city, state, or postalCode).
in: query
name: freetextAddress
required: false
schema:
type: string
- description: The collection of organization IDs of the locations to retrieve. Valid organization IDs are a positive, a non-floating point, and numerical values. The locations returned depend upon the supplied <code>organizationId</code>s and <code>organizationRestriction</code>.
in: query
name: organizationId
required: false
style: form
explode: true
schema:
type: array
items:
type: string
maxItems: 10
minItems: 0
uniqueItems: true
- description: "<p>The collection of local aliases uniquely identifying one or more locations to retrieve.\nThis value is a string composed of the contributor source, alias type, and alias value in the\nfollowing format:</p>\n\n<p><pre><code>SYSTEM$TYPE|VALUE</code></pre></p>\n\n<p>where\n<ul>\n <li><code>SYSTEM</code> is associated with the alias. Acceptable values include an ID of the contributor source or a meaning of the contributor source.</li>\n <li><code>TYPE</code> is the type of alias, either <code>INBOUND</code> or <code>OUTBOUND</code>.</li>\n <li><code>VALUE</code> is the alias value that uniquely identifies the location.</li>\n</ul></p>\n\n<p><b>Note:</b>\n<ul>\n <li><code>SYSTEM</code> is optional.</li>\n <li><code>TYPE</code> is optional. If no <code>TYPE</code> is provided, then both <code>INBOUND</code> and <code>OUTBOUND</code> aliases are searched.</li>\n</ul></p>\n\n<p>Examples for finding the location with different aliases:\n<ul>\n <li><b>3310545$INBOUND|N457:</b> Retrieves locations using inbound, contributor source cd, and alias value.</li>\n <li><b>OUTBOUND|119:</b> Retrieves locations using outbound and alias value.</li>\n <li><b>SDV_STD_SRC|SE162321000255-O24215:</b> Retrieves locations using a meaning of contributor source and alias value.</li>\n <li><b>SE162321000255-O24215:</b> Retrieves locations using alias value.</li>\n</ul></p>\n"
in: query
name: localAlias
required: false
style: form
explode: true
schema:
type: array
items:
type: string
maxItems: 100
minItems: 0
uniqueItems: true
responses:
'200':
description: "Success\n<ul>\n <li>Locations matching the request are returned in the locations list.</li>\n <li>If no locations match the request, an empty locations list is returned.</li>\n</ul>\n"
content:
application/json:
schema:
$ref: '#/components/schemas/LocationCollection'
'400':
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'412':
$ref: '#/components/responses/412'
'429':
$ref: '#/components/responses/429'
'500':
$ref: '#/components/responses/500'
x-internal-id: 20240101-locations-get
x-filename-id: 20240101-locations-get
components:
parameters:
LocationFieldsQueryParam:
description: "<p>This parameter determines the fields of the location data model that are included in the response. \nAll fields are returned if the fields parameter is not supplied.</p> \n<p>Oracle Cerner recommends that you use the <code>fields</code> parameter to retrieve exactly what you need to reduce both the response and transaction times.</p>\n<ul>\n <li><code>attributes</code>: A collection of properties that describe the location.</li>\n <li><code>telecoms</code>: A contact detail, for example, a telephone number or fax, by which the party may be contacted.</li>\n <li><code>addresses</code>: The location addresses. Only a business address is returned.</li>\n <li><code>timezone</code>: The time zone information of the location.</li>\n <li><code>aliases</code>: The aliases which identify the location.</li>\n</ul>\n"
name: fields
in: query
style: form
explode: true
schema:
type: array
items:
type: string
enum:
- attributes
- telecoms
- addresses
- timezone
- aliases
OpcRequestIdHeader:
name: opc-request-id
in: header
description: 'Unique Oracle Health assigned identifier for the request. If you need to contact
Oracle about a particular request, provide the request ID.
The only valid characters for request IDs are letters, numbers,
underscore, and dash.
'
schema:
type: string
LocationIdentifierQueryParam:
description: The collection of IDs uniquely identifying the locations. Valid location IDs are a positive, a non-floating point, and numerical values.
in: query
name: id
required: true
style: form
explode: true
schema:
type: array
items:
type: string
maxItems: 100
minItems: 0
uniqueItems: true
LocationExcludedFieldsQueryParam:
description: "<p>This parameter determines the fields of the location data model that are excluded from the response.\nAll fields are returned if the <code>excludedFields</code> parameter is not supplied.</p>\n<ul>\n <li><code>attributes</code>: A collection of properties that describe the location.</li>\n <li><code>telecoms</code>: A contact detail, for example, a telephone number or fax, by which the party may be contacted.</li>\n <li><code>addresses</code>: The location addresses. Only a business address is returned.</li>\n <li><code>timezone</code>: The time zone information of the location.</li>\n <li><code>aliases</code>: The aliases that identify the location.</li>\n</ul>\n"
name: excludedFields
in: query
style: form
explode: true
schema:
type: array
items:
type: string
enum:
- attributes
- telecoms
- addresses
- timezone
- aliases
OhIdentifierMappingScopeHeader:
name: oh-identifier-mapping-scope
in: header
description: The URI of the standard used for mapping relationships between Oracle Health EHR and an external system.
required: false
schema:
type: string
PaginationLimitQueryParam:
name: limit
in: query
description: 'For list pagination. The maximum number of results per page, or items to return in a
paginated List request.
'
schema:
type: integer
default: 1000
maximum: 1000
minimum: 1000
PaginationTokenQueryParam:
name: page
in: query
description: "For list pagination. The value of the opc-next-page response header from the previous\nList request. \n"
schema:
type: string
minLength: 1
schemas:
ErrorDetail:
type: object
description: Additional detail information pertaining to the error.
properties:
detail:
type: string
description: A human-readable explanation specific to this occurrence of the problem.
source:
$ref: '#/components/schemas/ErrorDetailSource'
Location:
allOf:
- $ref: '#/components/schemas/LocationSummary'
- properties:
diagnostics:
description: Collection of diagnostic events.
items:
$ref: '#/components/schemas/DiagnosticEvent'
type: array
description: The details of a location.
type: object
DateTimePeriod:
type: object
description: A representation of a date and time range.
properties:
start:
type: string
description: 'The date and time represented in YYYY-MM-DDTHH:MM:SS:SSSZ format without the UTC offset as defined by <a href="https://tools.ietf.org/html/rfc3339">RFC 3339</a>. No time zone information is associated with this date and time.
'
end:
type: string
description: 'The date and time represented in YYYY-MM-DDTHH:MM:SS:SSSZ format without the UTC offset as defined by <a href="https://tools.ietf.org/html/rfc3339">RFC 3339</a>. No time zone information is associated with this date and time.
'
DiagnosticEvent:
description: The details of this diagnostic event.
required:
- type
properties:
field:
description: The field within the parameters or criteria body that caused the event.
type: string
message:
description: An event message that is useful for troubleshooting.
type: string
type:
description: String representing the event type.
enum:
- INVALID_PARAMETER
- MAPPING_NOT_FOUND
- MAPPING_SERVICE_FAILURE
- REQUEST_API_LIMIT_EXCEEDED
- RESOURCE_NOT_FOUND
- MAPPING_SCOPE_NOT_RECOGNIZED
type: string
value:
description: The value associated with the field or type.
type: string
ApiError:
description: Error information.
required:
- code
- message
properties:
code:
description: A short error code that defines the error, meant for programmatic parsing.
type: string
message:
description: A human-readable error message.
type: string
details:
type: array
description: A list of details regarding any and all errors from the resulting service request.
items:
$ref: '#/components/schemas/ErrorDetail'
CodeValueSimple:
description: A minimal representation of a code value.
required:
- id
type: object
properties:
id:
description: The ID of the code value.
type: string
display:
description: The text consumers see that represents this code value.
type: string
cdfMeaning:
description: A programmatic value, primarily used by applications to search for this value.
type: string
MultivalueField:
description: '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.
'
type: object
properties:
displayName:
description: The displayable free-text name of the field.
type: string
codeValue:
$ref: '#/components/schemas/CodeValueSimple'
Organization:
type: object
description: 'The organization associated with the patient and encounter.
Only loaded for inbox list and message details views when the <code>OptionalShouldLoadOrganizationSummary</code> is set.
'
required:
- id
properties:
id:
type: string
description: The unique identifier for the organization.
display:
type: string
description: The display name for the organization.
orgTypes:
type: array
description: The list of the organization types.
items:
type: string
ErrorDetailSource:
type: object
description: 'An object containing references to the source of the error.
'
properties:
pointers:
type: array
description: "A list of JSON Pointers (<a\nhref=\"https://datatracker.ietf.org/doc/html/rfc6901\">RFC6901</a>) to the values in the request document that caused the error. \nFor example, <code>/data</code> for a primary data object, or <code>/data/attributes/title</code> for a specific attribute. A JSON Pointer must \npoint to a value in the request document that exists. If it does not exist, the client should ignore the pointer.\n"
items:
type: string
parameters:
type: array
description: A list of which URI query parameters caused the error.
items:
type: string
headers:
type: array
description: A list of the request headers that caused the error.
items:
type: string
ParentLocation:
type: object
description: The details of a parent location.
properties:
id:
type: string
description: 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.
Address:
description: A postal address.
properties:
city:
description: The text name of the city associated with the address.
type: string
country:
description: The country associated with the address.
$ref: '#/components/schemas/MultivalueField'
county:
description: The county associated with the address.
$ref: '#/components/schemas/MultivalueField'
postalCode:
description: A postal code designating a region defined by the postal service.
type: string
state:
description: The state or province associated with the address.
$ref: '#/components/schemas/MultivalueField'
street1:
description: The first line of the street address.
type: string
street2:
description: The second line of the street address.
type: string
street3:
description: The third line of the street address.
type: string
street4:
description: The fourth line of the street address.
type: string
type:
$ref: '#/components/schemas/CodeValueSimple'
Telecom:
description: A contact detail (such as a telephone number) by which the party may be contacted.
required:
- id
- value
properties:
contact:
$ref: '#/components/schemas/CodeValueSimple'
extension:
description: The extension associated with this contact.
type: string
format:
$ref: '#/components/schemas/CodeValueSimple'
id:
description: The unique Millennium Platform identifier for the telecommunication.
type: string
type:
$ref: '#/components/schemas/CodeValueSimple'
value:
description: The actual contact point details such as phone number or fax number.
type: string
LocationSummary:
description: The details of the location that were retrieved.
properties:
addresses:
description: A collection of address details for the location.
items:
$ref: '#/components/schemas/Address'
type: array
aliases:
description: A collection of aliases that identify the location. Aliases are grouped by type and ordered by system.
items:
$ref: '#/components/schemas/Alias'
type: array
attributes:
description: A collection of location descriptors.
items:
$ref: '#/components/schemas/Attribute'
type: array
description:
description: The description of the location.
type: string
effective:
$ref: '#/components/schemas/DateTimePeriod'
id:
description: The unique identifier for the location.
type: string
isPatientCareLocation:
description: True if the location is a patient care location and false if it is not.
type: boolean
name:
description: A display name of the location.
type: string
organization:
$ref: '#/components/schemas/Organization'
parentLocation:
$ref: '#/components/schemas/ParentLocation'
status:
description: Indicates the status of the location.
enum:
- ACTIVE
- INACTIVE
- DELETED
- COMBINED
type: string
telecoms:
description: A collection of contact details, for example, telephone number or fax, for the location.
items:
$ref: '#/components/schemas/Telecom'
type: array
timezone:
$ref: '#/components/schemas/TimeZone'
type:
$ref: '#/components/schemas/CodeValueSimple'
update:
$ref: '#/components/schemas/Update'
required:
- id
- name
- type
- effective
- update
- description
- isPatientCareLocation
- status
type: object
LocationCollection:
description: Response that contains a collection of locations retrieved along with a collection of diagnostic events.
required:
- items
properties:
diagnostics:
description: Collection of diagnostic events.
items:
$ref: '#/components/schemas/DiagnosticEvent'
type: array
items:
description: The collection of locations that were retrieved.
items:
$ref: '#/components/schemas/LocationSummary'
type: array
type: object
Alias:
description: An alias for another concept.
required:
- id
- displayName
properties:
id:
description: The unique identifier for the alias.
type: string
displayName:
description: The displayable name for the alias.
type: string
dateTimePeriod:
$ref: '#/components/schemas/DateTimePeriod'
type:
$ref: '#/components/schemas/CodeValueSimple'
systemIdentifier:
$ref: '#/components/schemas/CodeValueSimple'
systemNamespace:
description: The namespace URI with a set of possible system identifier values that are unique.
type: string
Update:
description: Meta information about a resource.
properties:
lastModifiedDateTime:
description: The date and time in ISO-8601 format of the last changed date and time of the resource.
format: date-time
type: string
version:
description: The count specific identifier of the resource.
format: int64
type: integer
required:
- version
- lastModifiedDateTime
type: object
TimeZone:
description: The time zone information of the location.
properties:
value:
description: The time zone value for the location.
type: string
type: object
Attribute:
description: Location descriptor.
properties:
description:
description: Location description.
example: ICU
type: string
type:
$ref: '#/components/schemas/CodeValueSimple'
value:
description: "<ul>\n <li>If <code>valueType</code> is type <code>CODE</code>, the value is a system identifier.</li>\n <li>If <code>valueType</code> is type <code>NUMBER</code> or <code>STRING</code>, the value is a string representation of a number or a string value.</li>\n</ul>\n"
example:
display: ICU
id: '20140688'
meaning: ICU
type: object
valueType:
description: Value type (CODE/NUMBER/STRING) of attribute.
enum:
- CODE
- NUMBER
- STRING
type: string
required:
- type
- valueType
- value
type: object
responses:
'400':
description: Bad Request
headers:
opc-request-id:
description: 'Unique Oracle-assigned identifier for the request. If you need to contact
Oracle about a particular request, please provide the request ID.
'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
description: Internal Server Error
headers:
opc-request-id:
description: 'Unique Oracle-assigned identifier for the request. If you need to contact
Oracle about a particular request, please provide the request ID.
'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'412':
description: Precondition Failed
headers:
opc-request-id:
description: 'Unique Oracle-assigned identifier for the request. If you need to contact
Oracle about a particular request, please provide the request ID.
'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'401':
description: Unauthorized
headers:
opc-request-id:
description: 'Unique Oracle-assigned identifier for the request. If you need to contact
Oracle about a particular request, please provide the request ID.
'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'429':
description: Too Many Requests
headers:
opc-request-id:
description: 'Unique Oracle-assigned identifier for the request. If you need to contact
Oracle about a particular request, please provide the request ID.
'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'403':
description: NotAuthorized
headers:
opc-request-id:
description: 'Unique Oracle-assigned identifier for the request. If you need to contact
Oracle about a particular request, please provide the request ID.
'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
x-oracle-package: com.oracle.health.millennium.services.messaging
x-anchors:
x-headers:
etag:
description: 'For optimistic concurrency control. See <code>if-match</code>.
'
type: string
opc-next-page:
description: 'For list pagination. When this header appears in the response, additional pages of results remain.
'
type: string
opc-prev-page:
description: 'For list pagination. When this header appears in the response, additional pages of results remain.
'
type: string
opc-request-id:
description: 'Unique Oracle-assigned identifier for the request. If you need to contact
Oracle about a particular request, please provide the request ID.
'
type: string
retry-after:
type: integer
description: A decimal number representing the number of seconds the client should wait before polling this endpoint again.
x-oh-issue-routing-table:
email: the-distro-list@oracle.com
jiraBoardUrl: https://jira2.cerner.com/projects/ALLGS/issues
oceanTeamName: OHAI Alva
phonebookId: ohai_alva
slackChannel: '#my-slack-channel'
xMattersGroup: Chart Review Dev
x-obmcs-endpoint-service-name: personnel