Skip to Main Content

Clinical APIs (EHR)

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.

Send a message to a set of recipients Help with sending attachments

Luis Ojeda5 days ago

Workflow or API calls:

Reminder: If this is referring to a client domain or EHR activity—not the public sandbox—do not include API request data or live patient data.

Background Information:

Hi.

I'm working on an integration with Oracle Health and trying to use the following REST API endpoint to send a message to a set of recipients:

POST /20241001/patientMessages/sentItems

My goal is to send a message that includes:

  • A subject and body (in XHTML format as required), (Done)
  • One or more recipients, (Done)
  • The only thing that I have is sending attachments such as JPG images and PDF files.

According to the official documentation https://docs.oracle.com/en/industries/health/millennium-platform-apis/mcfap/op-20241001-patientmessages-sentitems-post.html, the request body allows for an attachments field, but each attachment only accepts id, name, and version – no field for the actual file content (like base64 or multipart).

This suggests that files must be uploaded beforehand and then referenced by ID and version, but I haven’t been able to find any clear documentation on:

  • How to upload attachments before sending the message,
  • Which endpoint should be used for that upload,
  • How to obtain the id and version to include in the message payload.

Has anyone successfully sent messages with attachments using this API? Any guidance or working examples would be greatly appreciated.

Thanks in advance!

Developer questions:

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

Comments
Post Details
Added 5 days ago
0 comments
30 views