Create Patient Case Note
Perform Create Patient Case Note through athenahealth.
athena_create_patient_case_notewrite
Inputs
- Patient Id
patient_idexpressionrequiredRequired literal value or workflow expression.
- Chart Id
chart_idexpressionrequiredRequired literal value or workflow expression.
- Note Text
note_texttextarearequiredRequired text value.
- Subject
subjectexpressionOptional literal value or workflow expression.
- Append Signature
append_signaturebooleanOptional true-or-false value.
Default:
true - Write Enabled
write_enabledbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccesssubmittedSubmittedwrite_skippedWrite Skippedskip_reasonSkip Reasondocument_idDocument Iddocument_classDocument Classpatient_idPatient Idchart_idChart IdstatusStatusassigned_toAssigned TosubjectSubjectsigned_note_lengthSigned Note Lengthmax_note_lengthMax Note Lengthfailure_phaseFailure Phaseerror_codeError CoderetryableRetryableerrorErrorerror_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": [
"patient_id",
"chart_id",
"note_text"
],
"properties": {
"subject": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"chart_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"note_text": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "textarea"
},
"patient_id": {
"description": "Required 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"
},
"append_signature": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"status": {},
"subject": {},
"success": {},
"chart_id": {},
"retryable": {},
"submitted": {},
"error_code": {},
"patient_id": {},
"assigned_to": {},
"document_id": {},
"skip_reason": {},
"error_message": {},
"failure_phase": {},
"write_skipped": {},
"document_class": {},
"max_note_length": {},
"signed_note_length": {}
},
"additionalProperties": true
}