Process Document Page Range
Perform Process Document Page Range through athenahealth.
athena_process_document_page_rangeInputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Document Class
document_classexpressionOptional literal value or workflow expression.
Default:
"ADMIN" - Operation
operationselectOptional selected identifier or value.
Default:
"classify"Options: Split, classify and file parts ("classify"), Delete range ("delete")
- Parts
partsjsonOptional JSON value.
- First Page Num
first_page_numnumberOptional numeric value.
- Last Page Num
last_page_numnumberOptional numeric value.
- Document Label
document_labelselectOptional 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
order_typeremote_search_selectdynamic optionsOptional value. Retrieve allowed values from the dynamic options endpoint.
- Order Type Name
order_type_nameexpressionOptional literal value or workflow expression.
- Internal Note
internal_notetextareaOptional text value.
- Part Action
part_actionselectOptional selected identifier or value.
Default:
"leave"Options: Leave in current status ("leave"), Close ("close"), Send to REVIEW ("review"), Send to HOLD ("hold")
- Review Reason
review_reasonexpressionOptional literal value or workflow expression.
- Assigned To
assigned_toexpressionOptional literal value or workflow expression.
- Require All Pages
require_all_pagesbooleanOptional true-or-false value.
Default:
true - Patient Id
patient_idexpressionOptional literal value or workflow expression.
- Chart Id
chart_idexpressionOptional literal value or workflow expression.
- Provider Username
provider_usernameselectdynamic optionsOptional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- Action Note
action_notetextareaOptional text value.
- Urgent
urgentbooleanOptional true-or-false value.
Default:
false - Action Group Id
action_group_idexpressionOptional literal value or workflow expression.
- Action Reason Id
action_reason_idexpressionOptional literal value or workflow expression.
- Action Reason Index
action_reason_indexnumberOptional numeric value.
Default:
2 - Confirm Delete
confirm_deletebooleanOptional true-or-false value.
Default:
false - Write Enabled
write_enabledbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccesswrite_skippedWrite SkippedsubmittedSubmittedverifiedVerifiedoutcomeOutcomedocument_idDocument IdoperationOperationdocument_classDocument Classdocument_sub_classDocument Sub Classpatient_idPatient Idchart_idChart Idpage_count_beforePage Count Beforepage_count_afterPage Count Afterfirst_page_numFirst Page Numlast_page_numLast Page Numresulting_document_idsResulting Document IdspartsPartscompleted_partsCompleted Partsfailed_part_indexFailed Part Indexnext_document_idNext Document Idremainder_document_idRemainder Document IderrorErrorerror_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
}