Skip to main content
POST
Create Clinical Document

File Uploading

Base64-encode the CCDA, CCR, or QRDA file and pass it as xml_file.base64_content. Set xml_file.content_type to application/octet-stream, regardless of the underlying document’s format. Elation determines how to process the file from data_format, not from xml_file.content_type.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
authoring_practice
integer<int64>
required
patient
integer<int64>
required
xml_file
object
required

The xml file to be used as clinical document.

allergies_imported
boolean
author_name
string | null
Maximum string length: 255
data_format
enum<string>

The format of the clinical document data.

Available options:
ccda,
ccr,
qrda_1
demographics_imported
boolean
encounters_imported
boolean
immunizations_imported
boolean
labs_imported
boolean
medications_imported
boolean
problems_imported
boolean
procedures_imported
boolean
vitals_imported
boolean

Response

201 - application/json
authoring_practice
integer<int64>
required
patient
integer<int64>
required
xml_file
object
required

The xml file to be used as clinical document.

allergies_imported
boolean
author_name
string | null
Maximum string length: 255
created_date
string<date-time> | null
read-only
data_format
enum<string>

The format of the clinical document data.

Available options:
ccda,
ccr,
qrda_1
deleted_date
string<date-time> | null
read-only
demographics_imported
boolean
encounters_imported
boolean
id
integer
read-only
immunizations_imported
boolean
labs_imported
boolean
medications_imported
boolean
problems_imported
boolean
procedures_imported
boolean
vitals_imported
boolean