Process CCDA Document
Perform Process CCDA Document through athenahealth.
athena_process_ccda_documentUse in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "athenahealth",
"params": {
"action": "leave",
"urgent": false,
"link_patient": false,
"write_enabled": false
},
"handler": "athena_process_ccda_document"
}Inputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Patient Id
patient_idexpressionrequiredRequired literal value or workflow expression.
- Chart Id
chart_idexpressionrequiredRequired literal value or workflow expression.
- Link Patient
link_patientbooleanOptional true-or-false value.
Default:
false - Internal Note
internal_notetextareaOptional text value.
- Urgent
urgentbooleanOptional true-or-false value.
Default:
false - Order Type Id
order_type_idremote_search_selectdynamic optionsOptional value. Retrieve allowed values from the dynamic options endpoint.
- Assigned To
assigned_toselectdynamic optionsOptional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- Provider Username
provider_usernameexpressionOptional literal value or workflow expression.
- Action
actionselectOptional selected identifier or value.
Default:
"leave"Options: Leave in current status ("leave"), Close ("close")
- Action Note
action_notetextareaOptional text value.
- Write Enabled
write_enabledbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccesswrite_skippedWrite SkippedsubmittedSubmittedverifiedVerifiedoutcomeOutcomedocument_idDocument Idpatient_idPatient Idchart_idChart Idstatus_beforeStatus BeforestatusStatuspriorityPriorityorder_type_idOrder Type Idassigned_toAssigned Toprovider_usernameProvider Usernameinternal_note_writtenInternal Note Writtenpatient_linkedPatient LinkederrorErrorerror_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",
"patient_id",
"chart_id"
],
"properties": {
"action": {
"enum": [
"leave",
"close"
],
"type": "string",
"default": "leave",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"urgent": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"chart_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"patient_id": {
"description": "Required 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": {
"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"
},
"document_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"link_patient": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"internal_note": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "textarea"
},
"order_type_id": {
"description": "Optional value. Retrieve allowed values from the dynamic options endpoint.",
"x-dynamic-options": true,
"x-workflow-field-type": "remote_search_select"
},
"write_enabled": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"provider_username": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"status": {},
"outcome": {},
"success": {},
"chart_id": {},
"priority": {},
"verified": {},
"submitted": {},
"patient_id": {},
"assigned_to": {},
"document_id": {},
"error_message": {},
"order_type_id": {},
"status_before": {},
"write_skipped": {},
"patient_linked": {},
"provider_username": {},
"internal_note_written": {}
},
"additionalProperties": true
}