Skip to documentation
athenahealth integration

Process Document Page Range

Perform Process Document Page Range through athenahealth.

View as Markdown
athena_process_document_page_range
writeathenahealth

Inputs

  • document_id
    expressionrequired
    Document Id

    Required literal value or workflow expression.

  • document_class
    expression
    Document Class

    Optional literal value or workflow expression.

    Default: "ADMIN"

  • operation
    select
    Operation

    Optional selected identifier or value.

    Default: "classify"

    Options: Split, classify and file parts ("classify"), Delete range ("delete")

  • parts
    json
    Parts

    Optional JSON value.

  • first_page_num
    number
    First Page Num

    Optional numeric value.

  • last_page_num
    number
    Last Page Num

    Optional numeric value.

  • document_label
    select
    Document Label

    Optional selected identifier or value.

    Options: Admin ("ADMIN"), Admin - Billing Document ("ADMIN_BILLING"), Admin - Consent ("ADMIN_CONSENT"), Admin - HIPAA/Privacy ("ADMIN_HIPAA"), Admin - Insurance Approval Notification ("ADMIN_INSURANCEAPPROVAL"), Admin - Insurance Card ("ADMIN_INSURANCECARD"), Admin - Insurance Denial Notification ("ADMIN_INSURANCEDENIAL"), Admin - Legal ("ADMIN_LEGAL"), Admin - Medical Records Request ("ADMIN_MEDICALRECORDREQ"), Admin - Referral ("ADMIN_REFERRAL"), Admin - Signed Forms & Letters ("ADMIN_SIGNEDFORMSLETTERS"), Clinical Document ("CLINICALDOCUMENT"), Clinical Document - Admission/Discharge Summary ("CLINICALDOCUMENT_ADMISSIONDISCHARGE"), Clinical Document - Consult Note ("CLINICALDOCUMENT_CONSULTNOTE"), Clinical Document - Emergency/Urgent Care ("CLINICALDOCUMENT_URGENTCARE"), Clinical Document - Mental Health Consult ("CLINICALDOCUMENT_MENTALHEALTH"), Clinical Document - Operative Note ("CLINICALDOCUMENT_OPERATIVENOTE"), Cover Sheet ("COVERSHEET"), Encounter Document - Authorization ("ENCOUNTERDOCUMENT_AUTHORIZATION"), Encounter Document - Health History Questionnaire ("ENCOUNTERDOCUMENT_PATIENTHISTORY"), Encounter Document - Image Documentation ("ENCOUNTERDOCUMENT_IMAGEDOC"), Encounter Document - Procedure Documentation ("ENCOUNTERDOCUMENT_PROCEDUREDOC"), Encounter Document - Progress Note ("ENCOUNTERDOCUMENT_PROGRESSNOTE"), Imaging/Diagnostic Result ("IMAGINGRESULT"), Lab Result ("LABRESULT"), Medical Record Document - Chart for Abstraction ("MEDICALRECORD_CHARTTOABSTRACT"), Medical Record Document - Flowsheet ("MEDICALRECORD_COUMADIN"), Medical Record Document - Growth Chart ("MEDICALRECORD_GROWTHCHART"), Medical Record Document - Historical Medical Record ("MEDICALRECORD_HISTORICAL"), Medical Record Document - Patient Diary ("MEDICALRECORD_PATIENTDIARY"), Medical Record Document - Vaccination Record ("MEDICALRECORD_VACCINATION"), Order (Already Signed) ("ORDER"), Phone Message ("PHONEMESSAGE"), Physician Authorization ("PHYSICIANAUTH"), Physician Authorization - Care Plan Oversight ("PHYSICIANAUTH_CAREPLANOVERSIGHT"), Prescription - Change ("PRESCRIPTION_CHANGE"), Prescription - Clarification ("PRESCRIPTION_CLARIFICATION"), Prescription - New ("PRESCRIPTION_NEW"), Prescription - Prior Authorization Request ("PRESCRIPTION_PRIORAUTHREQUEST"), Prescription - Renewal ("PRESCRIPTION_RENEWAL")

  • order_type
    remote_search_selectdynamic options
    Order Type

    Optional value. Retrieve allowed values from the dynamic options endpoint.

  • order_type_name
    expression
    Order Type Name

    Optional literal value or workflow expression.

  • internal_note
    textarea
    Internal Note

    Optional text value.

  • part_action
    select
    Part Action

    Optional selected identifier or value.

    Default: "leave"

    Options: Leave in current status ("leave"), Close ("close"), Send to REVIEW ("review"), Send to HOLD ("hold")

  • review_reason
    expression
    Review Reason

    Optional literal value or workflow expression.

  • assigned_to
    expression
    Assigned To

    Optional literal value or workflow expression.

  • require_all_pages
    boolean
    Require All Pages

    Optional true-or-false value.

    Default: true

  • patient_id
    expression
    Patient Id

    Optional literal value or workflow expression.

  • chart_id
    expression
    Chart Id

    Optional literal value or workflow expression.

  • provider_username
    selectdynamic options
    Provider Username

    Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.

  • action_note
    textarea
    Action Note

    Optional text value.

  • urgent
    boolean
    Urgent

    Optional true-or-false value.

    Default: false

  • action_group_id
    expression
    Action Group Id

    Optional literal value or workflow expression.

  • action_reason_id
    expression
    Action Reason Id

    Optional literal value or workflow expression.

  • action_reason_index
    number
    Action Reason Index

    Optional numeric value.

    Default: 2

  • confirm_delete
    boolean
    Confirm Delete

    Optional true-or-false value.

    Default: false

  • write_enabled
    boolean
    Write Enabled

    Optional true-or-false value.

    Default: false

Outputs

  • successSuccess
  • write_skippedWrite Skipped
  • submittedSubmitted
  • verifiedVerified
  • outcomeOutcome
  • document_idDocument Id
  • operationOperation
  • document_classDocument Class
  • document_sub_classDocument Sub Class
  • patient_idPatient Id
  • chart_idChart Id
  • page_count_beforePage Count Before
  • page_count_afterPage Count After
  • first_page_numFirst Page Num
  • last_page_numLast Page Num
  • resulting_document_idsResulting Document Ids
  • partsParts
  • completed_partsCompleted Parts
  • failed_part_indexFailed Part Index
  • next_document_idNext Document Id
  • remainder_document_idRemainder Document Id
  • errorError
  • error_messageError Message

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",
  "required": [
    "document_id"
  ],
  "properties": {
    "parts": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "urgent": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "chart_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "operation": {
      "enum": [
        "classify",
        "delete"
      ],
      "type": "string",
      "default": "classify",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "order_type": {
      "description": "Optional value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "remote_search_select"
    },
    "patient_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "action_note": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    },
    "assigned_to": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "part_action": {
      "enum": [
        "leave",
        "close",
        "review",
        "hold"
      ],
      "type": "string",
      "default": "leave",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "internal_note": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    },
    "last_page_num": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "review_reason": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "write_enabled": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "confirm_delete": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "document_class": {
      "default": "ADMIN",
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_label": {
      "enum": [
        "ADMIN",
        "ADMIN_BILLING",
        "ADMIN_CONSENT",
        "ADMIN_HIPAA",
        "ADMIN_INSURANCEAPPROVAL",
        "ADMIN_INSURANCECARD",
        "ADMIN_INSURANCEDENIAL",
        "ADMIN_LEGAL",
        "ADMIN_MEDICALRECORDREQ",
        "ADMIN_REFERRAL",
        "ADMIN_SIGNEDFORMSLETTERS",
        "CLINICALDOCUMENT",
        "CLINICALDOCUMENT_ADMISSIONDISCHARGE",
        "CLINICALDOCUMENT_CONSULTNOTE",
        "CLINICALDOCUMENT_URGENTCARE",
        "CLINICALDOCUMENT_MENTALHEALTH",
        "CLINICALDOCUMENT_OPERATIVENOTE",
        "COVERSHEET",
        "ENCOUNTERDOCUMENT_AUTHORIZATION",
        "ENCOUNTERDOCUMENT_PATIENTHISTORY",
        "ENCOUNTERDOCUMENT_IMAGEDOC",
        "ENCOUNTERDOCUMENT_PROCEDUREDOC",
        "ENCOUNTERDOCUMENT_PROGRESSNOTE",
        "IMAGINGRESULT",
        "LABRESULT",
        "MEDICALRECORD_CHARTTOABSTRACT",
        "MEDICALRECORD_COUMADIN",
        "MEDICALRECORD_GROWTHCHART",
        "MEDICALRECORD_HISTORICAL",
        "MEDICALRECORD_PATIENTDIARY",
        "MEDICALRECORD_VACCINATION",
        "ORDER",
        "PHONEMESSAGE",
        "PHYSICIANAUTH",
        "PHYSICIANAUTH_CAREPLANOVERSIGHT",
        "PRESCRIPTION_CHANGE",
        "PRESCRIPTION_CLARIFICATION",
        "PRESCRIPTION_NEW",
        "PRESCRIPTION_PRIORAUTHREQUEST",
        "PRESCRIPTION_RENEWAL"
      ],
      "type": "string",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "first_page_num": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "action_group_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "order_type_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "action_reason_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "provider_username": {
      "type": "string",
      "description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    },
    "require_all_pages": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "action_reason_index": {
      "type": "number",
      "default": 2,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "parts": {},
    "outcome": {},
    "success": {},
    "chart_id": {},
    "verified": {},
    "operation": {},
    "submitted": {},
    "patient_id": {},
    "document_id": {},
    "error_message": {},
    "last_page_num": {},
    "write_skipped": {},
    "document_class": {},
    "first_page_num": {},
    "completed_parts": {},
    "next_document_id": {},
    "page_count_after": {},
    "failed_part_index": {},
    "page_count_before": {},
    "document_sub_class": {},
    "remainder_document_id": {},
    "resulting_document_ids": {}
  },
  "additionalProperties": true
}
View all athenahealth actions