Get Note By Id
Get a specific note. Returns a sections-based response for layout notes, or a legacy Note for notes created before the sections schema.
This endpoint fetches a note without creating a snapshot. The snapshot is used for conflict resolution when multiple sources are concurrently updating the note.
To fetch a note for editing that requires conflict resolution, use the /notes/{note_id}/edit
endpoint instead.
curl --request GET \
--url https://sandbox.elationemr.com/api/2.0/notes/{note_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.elationemr.com/api/2.0/notes/{note_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.elationemr.com/api/2.0/notes/{note_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.elationemr.com/api/2.0/notes/{note_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.elationemr.com/api/2.0/notes/{note_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.elationemr.com/api/2.0/notes/{note_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.elationemr.com/api/2.0/notes/{note_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"category": 123,
"confidential": true,
"content": {
"content_map": {
"followUp": {
"content": [
{
"attrs": {
"ref_id": "<string>"
},
"content": [
{
"marks": [],
"text": "",
"type": "text"
}
],
"type": "followUpParagraph"
}
],
"type": "followUp"
},
"instructions": {
"content": [
{
"attrs": {
"ref_id": "<string>"
},
"content": [
{
"attrs": {
"ref_id": "<string>"
},
"content": [
{
"attrs": {
"ref_id": "<string>"
},
"content": [
{
"marks": [],
"text": "",
"type": "text"
}
],
"type": "instructionsParagraph"
}
],
"type": "instructionsListItem"
}
],
"type": "instructionsOrderedList"
}
],
"type": "instructions"
},
"narrative": {
"content": [
{
"attrs": {
"ref_id": "<string>"
},
"content": [
{
"marks": [],
"text": "",
"type": "text"
}
],
"type": "narrativeParagraph"
}
],
"type": "narrative"
},
"orders": {
"content": [
{
"attrs": {
"entity_id": 123,
"prescription": {
"id": 123,
"medication_display_name": "<string>",
"medication_id": 123,
"created_date": "2023-11-07T05:31:56Z",
"days_supply": 123,
"directions": "<string>",
"icd10_codes": [],
"instructions_to_pharmacy": "<string>",
"is_document_med": false,
"medication_type": "<string>",
"num_samples": "<string>",
"quantity": "<string>",
"quantity_units": "<string>",
"refills": 123,
"signed_by": 123,
"signed_date": "2023-11-07T05:31:56Z",
"type": "<string>"
},
"ref_id": "<string>"
},
"type": "prescription"
}
],
"type": "orders"
},
"procedures": {
"content": [
{
"attrs": {
"cpt_code": {
"code": "<string>",
"description": "<string>",
"id": 123
},
"ref_id": "<string>",
"text": ""
},
"type": "procedure"
}
],
"type": "procedures"
},
"referencedDocuments": {
"content": [
{
"attrs": {
"document": {
"id": 123,
"lab_result_id": 123,
"summary": "",
"summary_formatting": [
"<unknown>"
]
},
"ref_id": "<string>"
},
"type": "referencedDocument"
}
],
"type": "referencedDocuments"
},
"vitals": {
"attrs": {
"vitals": {
"bfm": [
{
"bfm": "",
"edited_by_scribe": false,
"extra_note": "",
"id": 123
}
],
"bmi": [
{
"bmi": "<string>",
"edited_by_scribe": false
}
],
"bodyfat": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"percent": ""
}
],
"bp": [
{
"bp_d": "",
"bp_s": "",
"edited_by_scribe": false,
"extra_note": "",
"id": 123
}
],
"dlm": [
{
"dlm": "",
"edited_by_scribe": false,
"extra_note": "",
"id": 123
}
],
"fio2": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"percent": ""
}
],
"hc": [
{
"edited_by_scribe": false,
"extra_note": "",
"hc": "",
"id": 123
}
],
"height": [
{
"edited_by_scribe": false,
"extra_note": "",
"height": "",
"id": 123
}
],
"hr": [
{
"edited_by_scribe": false,
"extra_note": "",
"hr": "",
"id": 123
}
],
"ketone": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"ketone": ""
}
],
"oxygen": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"percent": ""
}
],
"pain": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"pain": ""
}
],
"rr": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"rr": ""
}
],
"smm": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"smm": ""
}
],
"temperature": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"temperature": ""
}
],
"wc": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"wc": ""
}
],
"weight": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"weight": ""
}
]
},
"vitals_collection_id": 123
},
"type": "vitals"
}
},
"layout": {
"name": "<string>",
"content": [
{
"content": [
{
"text": "",
"type": "header"
}
],
"type": "column"
}
]
}
},
"id": 123,
"is_draft": true,
"layout_name": "<string>",
"patient": 123,
"practice": 123,
"provider": 123,
"serviced_at": "2023-11-07T05:31:56Z",
"attachments": [],
"bill": 123,
"doctags": [],
"exam_reason": "<string>",
"is_outdated": false,
"metadata": {},
"signatures": [],
"snapshot_id": 123,
"summary": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Authorizations
Response
Successful Response
- ElationNote
- Note
Full representation of a sections-based note returned by the API.
content holds the sections-based structure: layout (structural description)
and content_map (typed section content). This replaces the DocumentNode
tree used by the legacy Note model.
layout_name is inherited from ElationNoteCreate. It is not populated on
reads — the canonical layout is embedded in content.layout.
Was this page helpful?
curl --request GET \
--url https://sandbox.elationemr.com/api/2.0/notes/{note_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.elationemr.com/api/2.0/notes/{note_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.elationemr.com/api/2.0/notes/{note_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.elationemr.com/api/2.0/notes/{note_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.elationemr.com/api/2.0/notes/{note_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.elationemr.com/api/2.0/notes/{note_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.elationemr.com/api/2.0/notes/{note_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"category": 123,
"confidential": true,
"content": {
"content_map": {
"followUp": {
"content": [
{
"attrs": {
"ref_id": "<string>"
},
"content": [
{
"marks": [],
"text": "",
"type": "text"
}
],
"type": "followUpParagraph"
}
],
"type": "followUp"
},
"instructions": {
"content": [
{
"attrs": {
"ref_id": "<string>"
},
"content": [
{
"attrs": {
"ref_id": "<string>"
},
"content": [
{
"attrs": {
"ref_id": "<string>"
},
"content": [
{
"marks": [],
"text": "",
"type": "text"
}
],
"type": "instructionsParagraph"
}
],
"type": "instructionsListItem"
}
],
"type": "instructionsOrderedList"
}
],
"type": "instructions"
},
"narrative": {
"content": [
{
"attrs": {
"ref_id": "<string>"
},
"content": [
{
"marks": [],
"text": "",
"type": "text"
}
],
"type": "narrativeParagraph"
}
],
"type": "narrative"
},
"orders": {
"content": [
{
"attrs": {
"entity_id": 123,
"prescription": {
"id": 123,
"medication_display_name": "<string>",
"medication_id": 123,
"created_date": "2023-11-07T05:31:56Z",
"days_supply": 123,
"directions": "<string>",
"icd10_codes": [],
"instructions_to_pharmacy": "<string>",
"is_document_med": false,
"medication_type": "<string>",
"num_samples": "<string>",
"quantity": "<string>",
"quantity_units": "<string>",
"refills": 123,
"signed_by": 123,
"signed_date": "2023-11-07T05:31:56Z",
"type": "<string>"
},
"ref_id": "<string>"
},
"type": "prescription"
}
],
"type": "orders"
},
"procedures": {
"content": [
{
"attrs": {
"cpt_code": {
"code": "<string>",
"description": "<string>",
"id": 123
},
"ref_id": "<string>",
"text": ""
},
"type": "procedure"
}
],
"type": "procedures"
},
"referencedDocuments": {
"content": [
{
"attrs": {
"document": {
"id": 123,
"lab_result_id": 123,
"summary": "",
"summary_formatting": [
"<unknown>"
]
},
"ref_id": "<string>"
},
"type": "referencedDocument"
}
],
"type": "referencedDocuments"
},
"vitals": {
"attrs": {
"vitals": {
"bfm": [
{
"bfm": "",
"edited_by_scribe": false,
"extra_note": "",
"id": 123
}
],
"bmi": [
{
"bmi": "<string>",
"edited_by_scribe": false
}
],
"bodyfat": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"percent": ""
}
],
"bp": [
{
"bp_d": "",
"bp_s": "",
"edited_by_scribe": false,
"extra_note": "",
"id": 123
}
],
"dlm": [
{
"dlm": "",
"edited_by_scribe": false,
"extra_note": "",
"id": 123
}
],
"fio2": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"percent": ""
}
],
"hc": [
{
"edited_by_scribe": false,
"extra_note": "",
"hc": "",
"id": 123
}
],
"height": [
{
"edited_by_scribe": false,
"extra_note": "",
"height": "",
"id": 123
}
],
"hr": [
{
"edited_by_scribe": false,
"extra_note": "",
"hr": "",
"id": 123
}
],
"ketone": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"ketone": ""
}
],
"oxygen": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"percent": ""
}
],
"pain": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"pain": ""
}
],
"rr": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"rr": ""
}
],
"smm": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"smm": ""
}
],
"temperature": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"temperature": ""
}
],
"wc": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"wc": ""
}
],
"weight": [
{
"edited_by_scribe": false,
"extra_note": "",
"id": 123,
"weight": ""
}
]
},
"vitals_collection_id": 123
},
"type": "vitals"
}
},
"layout": {
"name": "<string>",
"content": [
{
"content": [
{
"text": "",
"type": "header"
}
],
"type": "column"
}
]
}
},
"id": 123,
"is_draft": true,
"layout_name": "<string>",
"patient": 123,
"practice": 123,
"provider": 123,
"serviced_at": "2023-11-07T05:31:56Z",
"attachments": [],
"bill": 123,
"doctags": [],
"exam_reason": "<string>",
"is_outdated": false,
"metadata": {},
"signatures": [],
"snapshot_id": 123,
"summary": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}