Skip to documentation
GenHealth integration

Run OCR

Perform Run OCR through GenHealth.

View as Markdown
genhealth_run_ocr
write

Inputs

  • document_id
    expression
    Document Id

    Optional literal value or workflow expression.

  • pre_processing
    select
    Pre Processing

    Optional selected identifier or value.

    Default: "none"

    Options: None ("none"), Radiology — Checkbox Annotations ("radiology_checkbox_annotations")

  • route_tables_to_pages
    boolean
    Route Tables To Pages

    Optional true-or-false value.

    Default: "false"

  • correct_orientation
    boolean
    Correct Orientation

    Optional true-or-false value.

    Default: "false"

  • checkbox_aware_content
    boolean
    Checkbox Aware Content

    Optional true-or-false value.

    Default: "false"

Outputs

  • successSuccess
  • document_idDocument Id
  • document_textDocument Text
  • text_lengthText Length
  • pre_processing_appliedPre Processing Applied
  • route_tables_to_pagesRoute Tables To Pages
  • correct_orientationCorrect Orientation
  • errorError
  • error_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
}
View all GenHealth actions