Every API here is available over the APIs.io API and to AI agents over MCP.
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: Conditions
description: The operations from the Conditions category.
paths:
/20240101/conditions:
x-oh-endpoint-url: https://the.internaldomain.cerner.com/20240101/conditions
x-oh-endpoint-scope-level: user
get:
x-oh-endpoint-scope-rw: read
tags:
- Conditions
summary: Get a list of conditions for a patient
description: 'Retrieves conditions for a given patient. If an encounterId filter is provided, then only acutes identified
in the specified encounter are provided. Otherwise, both chronic and acutes are returned, without being filtered
to any specific encounters.'
operationId: ListConditions
parameters:
- $ref: '#/components/parameters/RequiredPatientIdQueryParam'
- $ref: '#/components/parameters/OptionalEncounterIdQueryParam'
- $ref: '#/components/parameters/AuthorizationHeader'
- $ref: '#/components/parameters/AcceptHeader'
- $ref: '#/components/parameters/AcceptCharsetHeader'
- $ref: '#/components/parameters/PaginationLimitQueryParam'
- $ref: '#/components/parameters/PaginationTokenQueryParam'
- $ref: '#/components/parameters/OpcRequestIdHeader'
x-related-resource: '#/definitions/ConditionsCollection'
responses:
'200':
description: Success.
headers:
opc-next-page:
description: 'For list pagination. When this header appears in the response, additional pages of results remain.
'
schema:
type: string
opc-prev-page:
description: 'For list pagination. When this header appears in the response, additional pages of results remain.
'
schema:
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.
'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ConditionsCollection'
'400':
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'404':
$ref: '#/components/responses/404'
'429':
$ref: '#/components/responses/429'
'500':
$ref: '#/components/responses/500'
x-internal-id: 20240101-conditions-get
x-filename-id: 20240101-conditions-get
/20240101/conditions/{conditionId}:
x-oh-endpoint-url: https://the.internaldomain.cerner.com/20240101/conditions
x-oh-endpoint-scope-level: user
get:
x-oh-endpoint-scope-rw: read
summary: Get a condition by condition identifier
tags:
- Conditions
description: Retrieves a condition by condition identifier.
operationId: GetCondition
parameters:
- $ref: '#/components/parameters/RequiredPatientIdQueryParam'
- $ref: '#/components/parameters/OptionalEncounterIdQueryParam'
- $ref: '#/components/parameters/AuthorizationHeader'
- $ref: '#/components/parameters/AcceptHeader'
- $ref: '#/components/parameters/AcceptCharsetHeader'
- $ref: '#/components/parameters/OpcRequestIdHeader'
- name: conditionId
in: path
description: The unique identifier for the condition to retrieve.
required: true
schema:
type: string
responses:
'200':
description: Success.
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
etag:
description: 'For optimistic concurrency control. See <code>if-match</code>.
'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Condition'
'400':
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'404':
$ref: '#/components/responses/404'
'429':
$ref: '#/components/responses/429'
'500':
$ref: '#/components/responses/500'
x-internal-id: 20240101-conditions-{conditionId}-get
x-filename-id: 20240101-conditions-conditionid-get
components:
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'
ConditionSummary:
description: A brief version of a patient's condition.
allOf:
- $ref: '#/components/schemas/ConditionBase'
- type: object
properties:
mostRecentComment:
$ref: '#/components/schemas/Comment'
summary:
$ref: '#/components/schemas/Summary'
priority:
description: "The priority value of <code>this visit</code> conditions. These priority values are guaranteed to be \nunique (in-order) and contiguous without any gaps or duplicates. The condition with the lowest \ninteger value should be treated as the one with the highest priority. If a condition is not \nprioritized, then this field is not populated.\n"
type: integer
format: int64
Comment:
description: Comment details
type: object
properties:
id:
type: string
description: The unique identifier of the comment.
comment:
type: string
description: The comment text.
commentDateTime:
$ref: '#/components/schemas/DateTimeWithZone'
commentedBy:
description: The personnel member who added this comment.
$ref: '#/components/schemas/PersonSimple'
ConditionReview:
description: "A review involves assessing the current status of the condition and determining whether it has improved, worsened, \nor remained stable. This assessment helps in deciding whether the ongoing treatment is effective or if \nadjustments are needed. Based on the review, treatment plans may be updated to better address the condition. \nAn update might include changes in medication, therapy, or other interventions.\n"
type: object
required:
- reviewedDateTime
- reviewedBy
properties:
reviewedBy:
description: The personnel member who performed the review.
$ref: '#/components/schemas/PersonSimple'
reviewedDateTime:
description: The ISO-8601 representation of the date and time the review was performed.
type: string
format: date-time
example: '2016-10-8T01:02:03Z'
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'
Condition:
description: The response model for the detailed condition response.
allOf:
- $ref: '#/components/schemas/ConditionBase'
- type: object
properties:
mostRecentReview:
description: The most recent assessment of the condition.
$ref: '#/components/schemas/ConditionReview'
entityList:
description: The list of the individual acute and chronic entities that make up the condition.
type: array
items:
$ref: '#/components/schemas/Entity'
summary:
description: The clinical summary associated with the condition.
$ref: '#/components/schemas/Summary'
commentList:
description: The list of comments for the condition in reverse chronological order.
type: array
items:
$ref: '#/components/schemas/Comment'
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
FuzzyDate:
type: object
properties:
unit:
$ref: '#/components/schemas/FuzzyDateUnit'
precision:
$ref: '#/components/schemas/FuzzyDatePrecision'
date:
type: string
format: date
description: 'The date represented in YYYY-MM-DD format as defined by <a href="https://tools.ietf.org/html/rfc3339">RFC 3339</a>.
No time zone information is associated with this date.
'
description: 'The model object for a fuzzy date associated with a clinical concept with a corresponding precision and unit applied to it.
The precision and unit are used with the provided date to communicate a possibly imprecise date, for example,
Age 28 or Sometime After 2020-04. Note that the /referenceData for a given API should be queried to confirm exactly which
FuzzyDateUnit or FuzzyDatePrecision values are supported by that API.
'
Entity:
description: The model object representing a detailed condition entity.
allOf:
- $ref: '#/components/schemas/EntityBase'
- type: object
required:
- id
- version
- isResolved
properties:
id:
description: The unique identifier of the entity. This value does not change over the life of an entity.
type: string
example: '950109285'
version:
description: "The version of the specific instance that represents the current state of the entity. This value can \nchange as the entity is modified.\n"
type: string
example: '950109286'
type:
description: "The type of the entity. Typically populated, but use caution when consuming \nthis enum in case it is not populated or has a value other than those listed.\n"
type: string
enum:
- ACUTE
- CHRONIC
displayName:
description: The display value of the entity.
type: string
example: Anemia Annotated
beginEffectiveDateTime:
description: The date and time when the condition entity became effective.
type: string
format: date-time
example: '2016-10-20T01:02:03Z'
lastModifiedPersonnelId:
description: The ID of the last personnel member to update the condition entity.
type: string
lastModifiedDateTime:
description: The date and time when the condition entity was last updated.
type: string
format: date-time
example: '2016-10-20T01:02:03Z'
encounterId:
description: "The identifier of the encounter (visit) that this entity is associated with. This identifier is only \napplicable to an acute entity.\n"
type: string
example: '1654324'
acuteDate:
description: "Represents only the acute diagnosis date associated with the condition and is only applicable to an acute \nentity. This date does not include any time information.\n"
type: string
format: date
example: '2016-10-20'
isResolved:
description: If true, the problem is resolved or no longer relevant
type: boolean
EntityBase:
description: Contains common properties across entity and conditions.
type: object
properties:
acuteType:
description: The acute type of the condition. Only applicable to a condition with at least one acute entity. Examples include <code>Billing</code>, <code>Working</code>, and <code>Final</code>.
$ref: '#/components/schemas/CodeValueSimple'
laterality:
description: "The side of the body on which a condition occurs. Laterality is used to specify whether a disease or condition \naffects the left, right, or both sides of the body. This concept is important in diagnosing \nand treating conditions that can occur asymmetrically, meaning that they affect only one side of the body. \nCommon examples include conditions such as unilateral limb paralysis, unilateral hearing loss, or diseases \naffecting organs that come in pairs, such as the kidneys or lungs.\n"
$ref: '#/components/schemas/CodeValueSimple'
classification:
description: "<p>Clinical conditions can be classified based on various criteria to aid in diagnosis, treatment, and research. \nConditions can be categorized by etiology, such as infectious, non-infectious, or autoimmune diseases. \nThey may also be classified by pathophysiology, distinguishing between degenerative, metabolic, or \nneoplastic diseases.</p>\n<p>Severity and the course of the disease also play roles in classification, with distinctions between \nacute, chronic, and progressive conditions. Additionally, conditions are often classified according to the \naffected body system, symptomatology, diagnostic criteria, and genetic influences.</p>\n"
$ref: '#/components/schemas/CodeValueSimple'
confirmation:
description: '<p>The confirmation status of the condition.</p>
<p>Examples include <code>Possible</code>, <code>Probable</code>, and <code>Confirmed</code>.</p>
'
$ref: '#/components/schemas/CodeValueSimple'
nomenclature:
description: Represents the source nomenclature that associates all the problems and diagnoses within the condition together.
$ref: '#/components/schemas/NomenclatureSimple'
chronicNomenclature:
description: If chronic, provides an identifier for the type of chronic issue that this entity represents.
$ref: '#/components/schemas/NomenclatureSimple'
acuteNomenclature:
description: "If acute, provides an identifier for the type of acute issue that this entity represents. An item may have\nboth <code>acuteNomenclature</code> and <code>chronicNomenclature</code>, which would imply that the issue was started as acute and \nprogressed towards chronic.\n"
$ref: '#/components/schemas/NomenclatureSimple'
chronicStatus:
description: "<p>The lifecycle status of a chronic condition. The lifecycle of a clinical condition encompasses various \nstates or stages that a condition may go through from its identification to its resolution or management. </p>\n<p>Examples are <code>onset</code>, <code>diagnosis</code>, <code>active</code>, <code>monitoring</code>, \n<code>exacerbation</code>, <code>remission</code>, <code>resolved</code>, and so on.</p>\n"
$ref: '#/components/schemas/CodeValueSimple'
createdBy:
description: The original responsible provider who created this condition.
$ref: '#/components/schemas/PersonSimple'
resolutionDate:
description: The date that the condition's chronic status is resolved.
$ref: '#/components/schemas/FuzzyDate'
onsetDate:
description: The estimated or actual date that the condition began, in the opinion of the clinician.
$ref: '#/components/schemas/FuzzyDate'
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
Summary:
description: The model object representing a summary associated with a condition.
type: object
required:
- isActive
- isCombined
- lastModifiedBy
- recordedDateTime
- text
properties:
text:
description: A textual description of the condition's summary. See example for more information.
type: string
example: '<p><b>Hypertension</b></p>
<p>Patient developed Hypertension in 1983. His blood pressure peaked at 160/95.</p>
<p>He was placed on HCTZ and it quickly escalated to Lisinopril/HCTZ. In 2005 he added Atenolol.</p>
<p>His blood pressures have been under control since.</p>
<p>He exercises 20 minutes 3x/week and is on a regular diet.</p>'
lastModifiedBy:
description: The personnel member who last updated the summary.
$ref: '#/components/schemas/PersonSimple'
recordedDateTime:
description: "The ISO-8601 representation of the date and time when the summary was recorded. The date and time are \nin UTC and can be converted to the local time zone if needed.\n"
type: string
format: date-time
example: '2016-10-8T05:02:03Z'
isActive:
description: "An active condition is current or ongoing, may require active management, and is clinically significant.\n<ul>\n <li><b>Current or ongoing:</b> The condition is currently affecting the patient as an \n ongoing issue that requires medical attention, monitoring, or treatment. In contrast, conditions \n that have been resolved or are in remission might be labeled as <code>inactive</code> or <code>resolved</code>.</li>\n <li><b>Requires active management:</b> The active status may also imply that the condition requires active \n management, such as medication, therapy, or other forms of treatment to control its symptoms or progression.</li>\n <li><b>Clinical significance:</b> An active condition is clinically significant for the patient's current health \n status and care planning. The condition is relevant to the decisions made by healthcare providers regarding \n the patient's care and treatment.</li>\n</ul>\n"
type: boolean
isCombined:
description: "Conditions that are combined into a single summary might be interrelated, meaning that one condition \ncould influence the development or management of another. For example, diabetes and hypertension are \noften interrelated and may be managed more effectively when considered together in a patient's care plan.\n"
type: boolean
FuzzyDatePrecision:
type: object
required:
- display
properties:
display:
type: string
example: Display
description: The display for the code value.
meaning:
type: string
description: The enumerated meaning of the code value. Should almost always be populated, but use caution when consuming this enum in case it is not populated or has a value other than those listed.
enum:
- ABOUT
- AFTER
- AGE
- BEFORE
- UNKNOWN
description: A code value representation of the precision associated with a date.
PersonSimple:
description: 'A simple representation of the individual person that was retrieved.
The individual could be a personnel member (provider), a patient, or a nonpatient person.
'
type: object
required:
- id
properties:
id:
description: The unique identifier for the individual.
type: string
name:
description: The name of the individual.
$ref: '#/components/schemas/PersonNameSummary'
DateTimeWithZone:
type: object
description: A representation of the date and time with the time zone.
properties:
dateTime:
type: string
format: date-time
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 timezone information is associated with this date/time.
'
ianaTimeZone:
type: string
description: The time zone, provided that the date includes time precision. If <code>dateTime</code> contains time, then this field is required.
NomenclatureSimple:
type: object
required:
- id
properties:
id:
type: string
example: '1643574645'
description: The unique identifier of the nomenclature.
displayName:
type: string
example: Anemia Nomenclature
description: The display of the nomenclature.
code:
type: string
example: 452.5b
description: The universal clinical code of the term.
conceptCki:
type: string
description: The concept CKI of the nomenclature.
terminology:
description: A code value representing the terminology (in other words, the vocabulary) that the nomenclature is associated with.
$ref: '#/components/schemas/CodeValueSimple'
terminologyAxis:
description: A code value representing the terminology axis of this concept, used to further segment where this concept falls within a terminology.
$ref: '#/components/schemas/CodeValueSimple'
description: The model object for a nomenclature.
FuzzyDateUnit:
type: object
required:
- display
properties:
display:
type: string
example: Date
description: Display for the date unit.
meaning:
type: string
example: DAY
description: The enumerated meaning of the date unit. Should almost always be populated, but use caution when consuming this enum in case it is not populated or has a value other than those listed.
enum:
- DAY
- WEEK
- MONTH
- YEAR
description: A display and enumerated meaning structure representing date unit such as DAY, WEEK, MONTH, YEAR.
ConditionBase:
description: A base model object with common properties in a condition.
allOf:
- $ref: '#/components/schemas/EntityBase'
- type: object
required:
- id
properties:
id:
description: The unique identifier for the condition.
type: string
example: CODIFIED_123_456
displayName:
description: The name of patient's condition, for example, <code>anemia</code>.
type: string
example: Anemia
specificity:
description: "The specificity of the condition's acute nomenclature. Typically populated when the \ncondition is associated with this visit, but use caution when consuming this enum in case \nit is not populated or has a value other than those listed.\n"
type: string
enum:
- SPECIFIED
- NOT_SPECIFIED
- NOT_ACTIONABLE
acuteDate:
description: "The ISO-8601 representation of the acute diagnosis date associated with the condition. \nThis representation is only applicable to an acute condition and does not include any time information.\n"
type: string
format: date
example: '2016-10-20'
sensitivity:
$ref: '#/components/schemas/Sensitivity'
Sensitivity:
type: object
description: The sensitivity metadata for the message.
properties:
delegatedFederatedPersonPrincipals:
type: array
description: The list of federated person principals allowed to access this message.
items:
type: string
onBehalfOfUser:
type: string
description: The display name of the individual acting on behalf of the actual sender.
PersonNameSummary:
description: A summary of just first, last, and full name for a person (which could be a personnel member, patient, or nonpatient person).
type: object
properties:
firstName:
description: The person's first given name.
type: string
lastName:
description: The person's family last name.
type: string
fullName:
description: The fully formatted name.
type: string
ConditionsCollection:
description: The model object for ConditionsCollection.
type: object
required:
- items
- status
properties:
items:
description: A list of conditions.
type: array
items:
$ref: '#/components/schemas/ConditionSummary'
status:
description: "A set of condition-related permissions granted to the requesting user.\n<ul>\n <li><b>CHRONIC_PROBLEM_EXISTS:</b> A minimum of one chronic problem exists.</li>\n <li><b>NO_KNOWN_PROBLEMS:</b> The patient has indicated to a provider that they have No Known Problems (NKP).</li>\n</ul>"
type: string
enum:
- CHRONIC_PROBLEM_EXISTS
- NO_KNOWN_PROBLEMS
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'
'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'
'404':
description: Not Found
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'
parameters:
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
AuthorizationHeader:
name: authorization
in: header
description: 'Contains the credentials to authenticate a consumer to the service.
'
required: true
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
RequiredPatientIdQueryParam:
name: patientId
in: query
description: The patient ID to filter the resource query against.
required: true
schema:
type: string
OptionalEncounterIdQueryParam:
name: encounterId
in: query
description: The encounter ID to filter the resource query against.
required: false
schema:
type: string
AcceptCharsetHeader:
name: accept-charset
in: header
description: Specifies which character sets are acceptable for the response. Defaults to <code>UTF-8</code>.
required: false
schema:
type: string
default: UTF-8
AcceptHeader:
name: accept
in: header
description: Specifies which media types are acceptable for the response. Defaults to <code>application/json</code>.
required: false
schema:
type: string
default: application/json
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