## Text `ReportTextResponse autoScribe().reports().text(ReportTextParamsparams = ReportTextParams.none(), RequestOptionsrequestOptions = RequestOptions.none())` **get** `/v1/autoScribe/reports/text` Retrieves the text content of a report. Can fetch a single report by report ID, or all reports for a study by study ID/DICOM UID. Returns plain text report content. ### Parameters - `ReportTextParams params` - `Optional reportId` Unique report identifier. Format: rep_{32-hex-chars} - `Optional studyId` Unique study identifier. Format: stu_{32-hex-chars} - `Optional studyInstanceUid` DICOM Study Instance UID. Must be a valid DICOM UID format (e.g., '1.2.840.10008.5.1.4.1.1.2') ### Returns - `class ReportTextResponse: A class that can be one of several variants.union` Response containing a single report with its plain text - `SingleReportTextResponse` - `String reportId` Unique report identifier. Format: rep_{32-hex-chars} - `StudyReportMetadata snapshotMetadata` Patient demographics and scan information for report generation - `Optional age` Patient's age at time of scan (e.g., '34.5 years', '2 months') - `Optional dateOfBirth` Patient's date of birth. Format: YYYY-MM-DD (e.g., '1990-05-20') - `Optional facilityName` Name of the medical facility where the scan was performed - `Optional height` Patient's height with unit (e.g., {value: 70, unit: 'inches'} or {value: 178, unit: 'cm'}) - `Unit unit` - `IN("in")` - `CM("cm")` - `double value` - `Optional mrn` Medical Record Number - unique patient identifier - `Optional patientName` Full name of the patient - `Optional referringPhysicianName` Name of the physician who referred the patient for this scan - `Optional scanDate` Date the scan was performed. Format: YYYY-MM-DD (e.g., '2024-01-15') - `Optional scanTime` Time the scan was performed. Format: HH:MM (e.g., '14:30') - `Optional scanType` Type of scan or imaging modality (e.g., 'MRI', 'CT', 'X-Ray', 'Ultrasound') - `Optional sex` Patient's biological sex. Options: 'male', 'female', 'other' - `MALE("male")` - `FEMALE("female")` - `OTHER("other")` - `Optional weight` Patient's weight with unit (e.g., {value: 150, unit: 'lbs'} or {value: 68, unit: 'kg'}) - `Unit unit` - `LBS("lbs")` - `KG("kg")` - `double value` - `String studyId` Study ID this report belongs to. Format: stu_{32-hex-chars} - `String studyInstanceUid` DICOM Study Instance UID. Must be a valid DICOM UID format (e.g., '1.2.840.10008.5.1.4.1.1.2') - `Optional plainText` Plain text content of the report - `ListReportsTextResponse` - `List reports` Array of report text items - `String reportId` Unique report identifier. Format: rep_{32-hex-chars} - `StudyReportMetadata snapshotMetadata` Patient demographics and scan information for report generation - `Optional age` Patient's age at time of scan (e.g., '34.5 years', '2 months') - `Optional dateOfBirth` Patient's date of birth. Format: YYYY-MM-DD (e.g., '1990-05-20') - `Optional facilityName` Name of the medical facility where the scan was performed - `Optional height` Patient's height with unit (e.g., {value: 70, unit: 'inches'} or {value: 178, unit: 'cm'}) - `Unit unit` - `IN("in")` - `CM("cm")` - `double value` - `Optional mrn` Medical Record Number - unique patient identifier - `Optional patientName` Full name of the patient - `Optional referringPhysicianName` Name of the physician who referred the patient for this scan - `Optional scanDate` Date the scan was performed. Format: YYYY-MM-DD (e.g., '2024-01-15') - `Optional scanTime` Time the scan was performed. Format: HH:MM (e.g., '14:30') - `Optional scanType` Type of scan or imaging modality (e.g., 'MRI', 'CT', 'X-Ray', 'Ultrasound') - `Optional sex` Patient's biological sex. Options: 'male', 'female', 'other' - `MALE("male")` - `FEMALE("female")` - `OTHER("other")` - `Optional weight` Patient's weight with unit (e.g., {value: 150, unit: 'lbs'} or {value: 68, unit: 'kg'}) - `Unit unit` - `LBS("lbs")` - `KG("kg")` - `double value` - `String studyId` Study ID this report belongs to. Format: stu_{32-hex-chars} - `String studyInstanceUid` DICOM Study Instance UID. Must be a valid DICOM UID format (e.g., '1.2.840.10008.5.1.4.1.1.2') - `Optional plainText` Plain text content of the report - `String studyId` Study ID the reports belong to. Format: stu_{32-hex-chars} - `String studyInstanceUid` DICOM Study Instance UID. Must be a valid DICOM UID format (e.g., '1.2.840.10008.5.1.4.1.1.2') ### Example ```java package com.avara.example; import com.avara.client.AvaraClient; import com.avara.client.okhttp.AvaraOkHttpClient; import com.avara.models.autoscribe.reports.ReportTextParams; import com.avara.models.autoscribe.reports.ReportTextResponse; public final class Main { private Main() {} public static void main(String[] args) { AvaraClient client = AvaraOkHttpClient.fromEnv(); ReportTextResponse response = client.autoScribe().reports().text(); } } ```