post https://sandbox.elationemr.com/api/2.0/reports/
File Uploading
Json files
All files uploaded as external_content are saved as doc_files
{
...
"files": [
{
"external_content": {
"summary": "this is summary line 1\nthis is line2",
"referenced_url": "https://external.data.com/path_to_data"
}
}
]
}
Base64 files
PDFs uploaded as base64 are rasterized and saved as doc_images too if they are under 21 pages long. PDFS larger than 20 pages and other type of files are saved as doc_files.
{
...
"files": [
{
"original_filename": "test.png",
"content_type": "application/octet-stream",
"base64_content" : <base_64_string>
}
]
}
Attributes
You must provide at least one grid and each grid must contain LOINC-coded result for Lab reports. For each LOINC-code result, you must provide the value and the units.