curl --request PATCH \
--url https://api.eka.care/ipd/service/nursing-notes/{note_id} \
--header 'Content-Type: application/json' \
--header 'auth: <auth>' \
--data '
{
"archived": true
}
'import requests
url = "https://api.eka.care/ipd/service/nursing-notes/{note_id}"
payload = { "archived": True }
headers = {
"auth": "<auth>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {auth: '<auth>', 'Content-Type': 'application/json'},
body: JSON.stringify({archived: true})
};
fetch('https://api.eka.care/ipd/service/nursing-notes/{note_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.patch("https://api.eka.care/ipd/service/nursing-notes/{note_id}")
.header("auth", "<auth>")
.header("Content-Type", "application/json")
.body("{\n \"archived\": true\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/ipd/service/nursing-notes/{note_id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("auth", "<auth>");
request.AddJsonBody("{\n \"archived\": true\n}", false);
var response = await client.PatchAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/ipd/service/nursing-notes/{note_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["auth"] = '<auth>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"archived\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "66f1c9d4e4b0a1b2c3d4ec07",
"admission_id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"patient_id": "pid-321",
"actor_name": "Anita Rao",
"actor_oid": "161467756044203",
"content_html": "<p>Patient stable. BP 120/80, pulse 78.</p>",
"content_json": [
{
"type": "paragraph",
"text": "Patient stable. BP 120/80, pulse 78."
}
],
"tag": [
"vitals"
],
"date": "2026-10-07T08:00:00.000Z",
"archived": true,
"archived_by_oid": "161467756044203",
"archived_by_name": "Anita Rao",
"archived_at": "2026-10-07T11:00:00.000Z",
"createdAt": "2026-10-07T08:02:11.000Z",
"updatedAt": "2026-10-07T11:00:00.000Z",
"__v": 0
}
}{
"success": true,
"error": "<string>"
}{
"message": "<string>"
}{
"success": false,
"error": "Nursing note not found"
}Update Nursing Note
Overview
This API updates a nursing note of your workspace. It is a partial update: only the fields sent in the request body are changed, and fields that are omitted keep their current value.
To delete a note, send archived: true. The note is archived (not removed) and the user making the request is recorded in archived_by_oid, archived_by_name and archived_at. Sending archived: false has no effect, so an archived note cannot be restored.
Returns 404 with Nursing note not found when the note_id does not exist or belongs to another workspace.
curl --request PATCH \
--url https://api.eka.care/ipd/service/nursing-notes/{note_id} \
--header 'Content-Type: application/json' \
--header 'auth: <auth>' \
--data '
{
"archived": true
}
'import requests
url = "https://api.eka.care/ipd/service/nursing-notes/{note_id}"
payload = { "archived": True }
headers = {
"auth": "<auth>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {auth: '<auth>', 'Content-Type': 'application/json'},
body: JSON.stringify({archived: true})
};
fetch('https://api.eka.care/ipd/service/nursing-notes/{note_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.patch("https://api.eka.care/ipd/service/nursing-notes/{note_id}")
.header("auth", "<auth>")
.header("Content-Type", "application/json")
.body("{\n \"archived\": true\n}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/ipd/service/nursing-notes/{note_id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("auth", "<auth>");
request.AddJsonBody("{\n \"archived\": true\n}", false);
var response = await client.PatchAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/ipd/service/nursing-notes/{note_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["auth"] = '<auth>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"archived\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "66f1c9d4e4b0a1b2c3d4ec07",
"admission_id": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"patient_id": "pid-321",
"actor_name": "Anita Rao",
"actor_oid": "161467756044203",
"content_html": "<p>Patient stable. BP 120/80, pulse 78.</p>",
"content_json": [
{
"type": "paragraph",
"text": "Patient stable. BP 120/80, pulse 78."
}
],
"tag": [
"vitals"
],
"date": "2026-10-07T08:00:00.000Z",
"archived": true,
"archived_by_oid": "161467756044203",
"archived_by_name": "Anita Rao",
"archived_at": "2026-10-07T11:00:00.000Z",
"createdAt": "2026-10-07T08:02:11.000Z",
"updatedAt": "2026-10-07T11:00:00.000Z",
"__v": 0
}
}{
"success": true,
"error": "<string>"
}{
"message": "<string>"
}{
"success": false,
"error": "Nursing note not found"
}Headers
Path Parameters
Id of the nursing note to update.
Body
The note fields to change. Send only the fields you want to update.
New note content as HTML.
New note content in structured (JSON) form.
New tags for the note (replaces the existing tags).
New date-time the note is recorded for, as an ISO-8601 string.
Send true to archive (delete) the note.
Was this page helpful?

