Update Patient
Perform Update Patient through athenahealth.
athena_update_patientInputs
- Patient Id
patient_idexpressionrequiredRequired literal value or workflow expression.
- Note To Append
note_to_appendtextareaOptional text value.
emailexpressionOptional literal value or workflow expression.
- Address Line 1
address_line_1expressionOptional literal value or workflow expression.
- Address Line 2
address_line_2expressionOptional literal value or workflow expression.
- City
cityexpressionOptional literal value or workflow expression.
- State
stateexpressionOptional literal value or workflow expression.
- Zip Code
zip_codeexpressionOptional literal value or workflow expression.
- Home Phone
home_phoneexpressionOptional literal value or workflow expression.
- Mobile Phone
mobile_phoneexpressionOptional literal value or workflow expression.
- Work Phone
work_phoneexpressionOptional literal value or workflow expression.
- Contact Preference
contact_preferenceselectOptional selected identifier or value.
Options: Leave unchanged (""), Mobile Phone ("MOBILEPHONE"), Home Phone ("HOMEPHONE"), Work Phone ("WORKPHONE")
- Consent To Call
consent_to_callselectOptional selected identifier or value.
Options: Leave unchanged (""), Yes ("Y"), No ("N")
- Consent To Text
consent_to_textselectOptional selected identifier or value.
Options: Leave unchanged (""), Yes ("Y"), No ("N")
- Timezone
timezoneexpressionOptional literal value or workflow expression.
Default:
"America/Chicago" - Write Enabled
write_enabledbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccesssubmittedSubmittedwrite_skippedWrite SkippedverifiedVerifiedpatient_idPatient Idchanged_fieldsChanged Fieldsnote_appendedNote AppendederrorErrorerror_messageError Messagefailure_phaseFailure Phaseerror_codeError Code
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"
],
"properties": {
"city": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"email": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"state": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"timezone": {
"default": "America/Chicago",
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"zip_code": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"home_phone": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"patient_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"work_phone": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"mobile_phone": {
"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"
},
"address_line_1": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"address_line_2": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"note_to_append": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "textarea"
},
"consent_to_call": {
"enum": [
"",
"Y",
"N"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"consent_to_text": {
"enum": [
"",
"Y",
"N"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"contact_preference": {
"enum": [
"",
"MOBILEPHONE",
"HOMEPHONE",
"WORKPHONE"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"verified": {},
"submitted": {},
"error_code": {},
"patient_id": {},
"error_message": {},
"failure_phase": {},
"note_appended": {},
"write_skipped": {},
"changed_fields": {}
},
"additionalProperties": true
}