Read Document History
Perform Read Document History through athenahealth.
athena_read_document_historyreadathenahealth
Use 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": {
"include_action_notes": false
},
"handler": "athena_read_document_history"
}Inputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Document Class
document_classexpressionrequiredRequired literal value or workflow expression.
- Patient Id
patient_idexpressionOptional literal value or workflow expression.
- Chart Id
chart_idexpressionOptional literal value or workflow expression.
- Actor Username
actor_usernameexpressionOptional literal value or workflow expression.
- Include Action Notes
include_action_notesbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccessentriesEntriesentry_countEntry Counttouched_by_actorTouched By Actorlast_actor_actionLast Actor ActionerrorErrorerror_messageError Message
Output schema completeness: best_effort_declared
Safety
- External effect
- read
- Confirmation recommended
- No
- Retry safe
- Yes
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"document_id",
"document_class"
],
"properties": {
"chart_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"patient_id": {
"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"
},
"actor_username": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"document_class": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"include_action_notes": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"entries": {},
"success": {},
"entry_count": {},
"error_message": {},
"touched_by_actor": {},
"last_actor_action": {}
},
"additionalProperties": true
}