Create Report

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.

attributeallowed values
report_types'Lab', 'Cardiac', 'Imaging', 'Hospital', 'Consultation', 'Legal', 'Misc', 'Allergist', 'Audiology', 'Billing', 'Business', 'Forms', 'Correspondence', 'Cosmetic', 'Diabetes', 'Directives', 'DME', 'EKG', 'Endocrinology', 'Exams', 'EyeVision', 'GI', 'History', 'Home', 'Hospice', 'Incoming', 'Injection', 'Insurance', 'Intake', 'Neuro', 'Nursing', 'OBGYN', 'OT', 'OldRecord', 'Oncology', 'Ophth', 'Ortho', 'ENT', 'Outgoing', 'Pathology', 'Consent', 'Pediatric', 'Pharmacy', 'PT', 'Preop', 'PaperRx', 'PriorAuth', 'Procedures', 'Psych', 'Pulmonary', 'Quality', 'Radiology', 'Screening', 'SNF', 'Sleep', 'Surgery', 'Testing', 'Therapy', 'Ultrasound', 'UrgentCare', 'Urology', 'Women', 'CarePlan'
Language
Authentication
OAuth2
Click Try It! to start a request and see the response here!