Run OCR
Perform Run OCR through GenHealth.
genhealth_run_ocrwrite
Inputs
- Document Id
document_idexpressionOptional literal value or workflow expression.
- Pre Processing
pre_processingselectOptional selected identifier or value.
Default:
"none"Options: None ("none"), Radiology — Checkbox Annotations ("radiology_checkbox_annotations")
- Route Tables To Pages
route_tables_to_pagesbooleanOptional true-or-false value.
Default:
"false" - Correct Orientation
correct_orientationbooleanOptional true-or-false value.
Default:
"false" - Checkbox Aware Content
checkbox_aware_contentbooleanOptional true-or-false value.
Default:
"false"
Outputs
successSuccessdocument_idDocument Iddocument_textDocument Texttext_lengthText Lengthpre_processing_appliedPre Processing Appliedroute_tables_to_pagesRoute Tables To Pagescorrect_orientationCorrect OrientationerrorErrorerror_codeError Code
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"properties": {
"document_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"pre_processing": {
"enum": [
"none",
"radiology_checkbox_annotations"
],
"type": "string",
"default": "none",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"correct_orientation": {
"type": "boolean",
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"route_tables_to_pages": {
"type": "boolean",
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"checkbox_aware_content": {
"type": "boolean",
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"error_code": {},
"document_id": {},
"text_length": {},
"document_text": {},
"correct_orientation": {},
"route_tables_to_pages": {},
"pre_processing_applied": {}
},
"additionalProperties": true
}