Create Report
Create a new report.
File Uploading
Files are attached via thefiles array in the request body. Two formats are supported.
JSON files
Files uploaded asexternal_content are saved as doc_files.
Base64 files
PDFs uploaded as base64 are rasterized and saved asdoc_images if they are 30 pages or fewer. PDFs longer than 30 pages and all other file types are saved as doc_files.
Lab Report Requirements
Authorizations
Body
The type of report. For laboratory reports, use 'Lab'.
Allergist, Audiology, Billing, Business, Cardiac, CarePlan, Consent, Consultation, Correspondence, Cosmetic, DME, Dermatology, Diabetes, Directives, EKG, ENT, Endocrinology, Exams, EyeVision, Forms, GI, History, Home, Hospice, Hospital, Imaging, Incoming, Injection, Insurance, Intake, Lab, Legal, Misc, Neuro, Nursing, OBGYN, OT, OldRecord, Oncology, Ophth, Ortho, Outgoing, PT, PaperRx, Pathology, PatientForm, Pediatric, Pharmacy, Preop, PriorAuth, Procedures, Psych, Pulmonary, Quality, Radiology, SNF, Screening, Sleep, Surgery, Testing, Therapy, Ultrasound, UrgentCare, Urology, Women Files and photos to attach. Two modes: (1) External JSON metadata: set content_type='application/json; schema=el8_external_content_report' and provide 'external_content' JSON that includes a 'referenced_url' (and optional metadata). The JSON is stored and used to reference the external file; file bytes are not uploaded. (2) Binary upload: set content_type='application/octet-stream' and provide 'base64_content' (and optional 'original_filename'). When any file uses base64, all files in the same request must use base64. On GET, returns file references; download via the files retrieval endpoint. For JSON content, the retrieval endpoint returns the stored JSON metadata.
Response
The type of report. For laboratory reports, use 'Lab'.
Allergist, Audiology, Billing, Business, Cardiac, CarePlan, Consent, Consultation, Correspondence, Cosmetic, DME, Dermatology, Diabetes, Directives, EKG, ENT, Endocrinology, Exams, EyeVision, Forms, GI, History, Home, Hospice, Hospital, Imaging, Incoming, Injection, Insurance, Intake, Lab, Legal, Misc, Neuro, Nursing, OBGYN, OT, OldRecord, Oncology, Ophth, Ortho, Outgoing, PT, PaperRx, Pathology, PatientForm, Pediatric, Pharmacy, Preop, PriorAuth, Procedures, Psych, Pulmonary, Quality, Radiology, SNF, Screening, Sleep, Surgery, Testing, Therapy, Ultrasound, UrgentCare, Urology, Women Files and photos to attach. Two modes: (1) External JSON metadata: set content_type='application/json; schema=el8_external_content_report' and provide 'external_content' JSON that includes a 'referenced_url' (and optional metadata). The JSON is stored and used to reference the external file; file bytes are not uploaded. (2) Binary upload: set content_type='application/octet-stream' and provide 'base64_content' (and optional 'original_filename'). When any file uses base64, all files in the same request must use base64. On GET, returns file references; download via the files retrieval endpoint. For JSON content, the retrieval endpoint returns the stored JSON metadata.