Skip to Main Content

R4 APIs (Millennium)

Announcement

For information related to the Oracle Partner Network (OPN) Industry Healthcare Track please visit our OPN Industry Healthcare Program page.

For specific questions related to Oracle Partner Network (OPN), please contact Partner Assistance.

Millennium FHIR and non-FHIR API Specifications and Supporting Documents can be found HERE on docs.oracle.com
Soarian FHIR API Specifications and Supporting Documents can be found HERE on docs.oracle.com.

Unable to PATCH Appointment with an action comment and cancellation-reason

Harshal A4 days ago

Workflow or API calls:

I am unable to PATCH appointment with CodeSystem-appointment-cancellation-reason and action-comment with the following request body

Reference: https://docs.oracle.com/en/industries/health/millennium-platform-apis/mfrap/op-appointment-id-patch.html

x-patch-update-action-comment-and-replace-status Response

[
 {
   "op": "replace",
   "path": "/status",
   "value": "cancelled"
 },
 {
   "op": "replace",
   "path": "/extension",
   "value": [
     {
       "url": "https://fhir-ehr.cerner.com/r4/StructureDefinition/action-comment",
       "valueString": "test appt cancellation-reason with action-comment"
     }
   ]
 },
 {
   "op": "add",
   "path": "/cancelationReason",
   "value": {
     "coding": [
       {
         "system": "https://terminology.hl7.org/CodeSystem-appointment-cancellation-reason.html",
         "code": "oth-err"
       }
     ]
   }
 }
]

Background Information:

Developer questions:

Are you an OPN Member? Yes
Have you signed up to be in the Healthcare Developer Track? Yes
Are you a registered Code Program member? Yes
Does your App have a presence on the Oracle Healthcare App Marketplace? Yes

Are you developing on behalf of an Oracle Health client? No

Expected Result:

PATCH request with cancellation-reason and action-comment should be successful

Use case: I want to be able to send a comment to the PATCH appointment cancellation request

Actual Result:

PATCH request returns error

{
 "resourceType": "OperationOutcome",
 "issue": [
   {
     "severity": "error",
     "code": "invalid",
     "details": {
       "text": "Unprocessable entity"
     }
   }
 ]
}

X-Request-Id: /64A26AEDD666B056934FB413461573BD+eIrg_wNWi
Date/time of the example: Wed, 15 Oct 2025 10:41:15 GMT

Comments
Post Details
Added 4 days ago
5 comments
48 views