Skip to main content
POST
/
api
/
v2
/
integrations
/
oncoemr
/
{slug}
/
text-notes
Create a new text note in OncoEMR
curl --request POST \
  --url https://api.example.com/api/v2/integrations/oncoemr/{slug}/text-notes \
  --header 'Content-Type: application/json' \
  --data '
{
  "patientId": "<string>",
  "title": "<string>",
  "body": "<string>",
  "category": "<string>",
  "date": "<string>"
}
'
{
  "success": true,
  "documentHistoryId": "<string>"
}

Path Parameters

slug
string
required

The slug of the OncoEMR connection.

Body

application/json
patientId
string
required

The OncoEMR patient ID (e.g., PD_xxx).

title
string
required

The document title/header.

body
string
required

The document body content. Can be plain text or HTML.

category
string

The document category. Defaults to 'CPS Authorizations'.

date
string

The document date in M/D/YYYY format (e.g., '1/27/2026'). Defaults to today.

Response

Default Response

success
boolean
required
documentHistoryId
string
required

The document history ID (DH_xxx) of the created document