Create Patient
Perform Create Patient through athenahealth.
athena_create_patientInputs
- First Name
first_nameexpressionrequiredRequired literal value or workflow expression.
- Last Name
last_nameexpressionrequiredRequired literal value or workflow expression.
- Date Of Birth
date_of_birthexpressionrequiredRequired literal value or workflow expression.
- Middle Initial
middle_initialexpressionOptional literal value or workflow expression.
- Name Suffix
name_suffixexpressionOptional literal value or workflow expression.
- Preferred Name
preferred_nameexpressionOptional literal value or workflow expression.
- Sex
sexselectOptional selected identifier or value.
Options: Leave unset (""), Female ("F"), Male ("M")
- Ssn
ssnexpressionOptional literal value or workflow expression.
- Marital Status
marital_statusselectOptional selected identifier or value.
Options: Leave unset (""), UNKNOWN ("U"), MARRIED ("M"), SINGLE ("S"), DIVORCED ("D"), SEPARATED ("X"), WIDOWED ("W"), PARTNER ("P")
- Assigned Sex At Birth
assigned_sex_at_birthselectOptional selected identifier or value.
Options: Leave unset (""), Male ("M"), Female ("F"), Choose not to disclose ("N"), Unknown ("U")
- Gender Identity
gender_identityselectOptional selected identifier or value.
Options: Leave unset (""), Identifies as Male ("1"), Identifies as Female ("2"), Non-binary gender identity ("21"), Unknown ("22"), Transgender Male/Female-to-Male (FTM) ("3"), Transgender Female/Male-to-Female (MTF) ("4"), Gender non-conforming (neither exclusively male nor female) ("5"), Additional gender category / other, please specify ("6"), Choose not to disclose ("7")
- Sexual Orientation
sexual_orientationselectOptional selected identifier or value.
Options: Leave unset (""), Lesbian, gay or homosexual ("1"), Straight or heterosexual ("2"), Bisexual ("3"), Something else, please describe ("4"), Don't know ("5"), Choose not to disclose ("6")
- Preferred Pronouns
preferred_pronounsselectOptional selected identifier or value.
Options: Leave unset (""), he/him ("he/him"), she/her ("she/her"), they/them ("they/them")
- Address Line 1
address_line_1expressionrequiredRequired literal value or workflow expression.
- Address Line 2
address_line_2expressionOptional literal value or workflow expression.
- City
cityexpressionrequiredRequired literal value or workflow expression.
- State
stateselectrequiredRequired selected identifier or value.
Options: Leave unset (""), AA-Armed Forces Americas ("AA"), AE-Armed Forces Africa ("AE"), AK-Alaska ("AK"), AL-Alabama ("AL"), AP-Armed Forces Pacific ("AP"), AR-Arkansas ("AR"), AS-American Samoa ("AS"), AZ-Arizona ("AZ"), CA-California ("CA"), CO-Colorado ("CO"), CT-Connecticut ("CT"), DC-District of Columbia ("DC"), DE-Delaware ("DE"), FL-Florida ("FL"), FM-Federated States of Micronesia ("FM"), GA-Georgia ("GA"), GU-Guam ("GU"), HI-Hawaii ("HI"), IA-Iowa ("IA"), ID-Idaho ("ID"), IL-Illinois ("IL"), IN-Indiana ("IN"), KS-Kansas ("KS"), KY-Kentucky ("KY"), LA-Louisiana ("LA"), MA-Massachusetts ("MA"), MD-Maryland ("MD"), ME-Maine ("ME"), MH-Marshall Islands ("MH"), MI-Michigan ("MI"), MN-Minnesota ("MN"), MO-Missouri ("MO"), MP-Northern Mariana Islands ("MP"), MS-Mississippi ("MS"), MT-Montana ("MT"), NC-North Carolina ("NC"), ND-North Dakota ("ND"), NE-Nebraska ("NE"), NH-New Hampshire ("NH"), NJ-New Jersey ("NJ"), NM-New Mexico ("NM"), NV-Nevada ("NV"), NY-New York ("NY"), OH-Ohio ("OH"), OK-Oklahoma ("OK"), OR-Oregon ("OR"), PA-Pennsylvania ("PA"), PR-Puerto Rico ("PR"), PW-Palau ("PW"), RI-Rhode Island ("RI"), SC-South Carolina ("SC"), SD-South Dakota ("SD"), TN-Tennessee ("TN"), TX-Texas ("TX"), UT-Utah ("UT"), VA-Virginia ("VA"), VI-Virgin Islands ("VI"), VT-Vermont ("VT"), WA-Washington ("WA"), WI-Wisconsin ("WI"), WV-West Virginia ("WV"), WY-Wyoming ("WY")
- Zip Code
zip_codeexpressionrequiredRequired literal value or workflow expression.
emailexpressionOptional literal value or workflow expression.
- Mobile Phone
mobile_phoneexpressionOptional literal value or workflow expression.
- Home Phone
home_phoneexpressionOptional literal value or workflow expression.
- Work Phone
work_phoneexpressionOptional literal value or workflow expression.
- Contact Preference
contact_preferenceexpressionOptional literal value or workflow expression.
- Privacy Notice Given
privacy_notice_givenbooleanOptional true-or-false value.
Default:
true - Patient Signature On File
patient_signature_on_filebooleanOptional true-or-false value.
Default:
true - Insured Signature On File
insured_signature_on_filebooleanOptional true-or-false value.
Default:
true - Medication History Consent
medication_history_consentbooleanOptional true-or-false value.
Default:
true - Consent To Call
consent_to_callbooleanOptional true-or-false value.
Default:
true - Consent To Text
consent_to_textbooleanOptional true-or-false value.
Default:
true - Registration Date
registration_dateexpressionOptional literal value or workflow expression.
- Registration Department Id
registration_department_idselectdynamic optionsOptional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- Primary Provider Id
primary_provider_idselectdynamic optionsOptional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- Referral Source Id
referral_source_idselectdynamic optionsOptional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- Notes
notestextareaOptional text value.
- Guarantor Is Self
guarantor_is_selfbooleanOptional true-or-false value.
Default:
true - Additional Form Fields
additional_form_fieldsjsonOptional JSON value.
- Duplicate Check
duplicate_checkbooleanOptional true-or-false value.
Default:
true - Write Enabled
write_enabledbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccesssubmittedSubmittedwrite_skippedWrite Skippedskip_reasonSkip Reasonpatient_idPatient IdathenaAthenaprevious_operationPrevious Operationduplicate_foundDuplicate Foundduplicate_patient_idsDuplicate Patient Idsduplicate_countDuplicate Countsubmitted_field_countSubmitted Field CounterrorErrorerror_messageError Messagefailure_phaseFailure Phaseerror_codeError CoderetryableRetryable
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": [
"first_name",
"last_name",
"date_of_birth",
"address_line_1",
"city",
"state",
"zip_code"
],
"properties": {
"sex": {
"enum": [
"",
"F",
"M"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"ssn": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"city": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"email": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"notes": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "textarea"
},
"state": {
"enum": [
"",
"AA",
"AE",
"AK",
"AL",
"AP",
"AR",
"AS",
"AZ",
"CA",
"CO",
"CT",
"DC",
"DE",
"FL",
"FM",
"GA",
"GU",
"HI",
"IA",
"ID",
"IL",
"IN",
"KS",
"KY",
"LA",
"MA",
"MD",
"ME",
"MH",
"MI",
"MN",
"MO",
"MP",
"MS",
"MT",
"NC",
"ND",
"NE",
"NH",
"NJ",
"NM",
"NV",
"NY",
"OH",
"OK",
"OR",
"PA",
"PR",
"PW",
"RI",
"SC",
"SD",
"TN",
"TX",
"UT",
"VA",
"VI",
"VT",
"WA",
"WI",
"WV",
"WY"
],
"type": "string",
"description": "Required selected identifier or value.",
"x-workflow-field-type": "select"
},
"zip_code": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"last_name": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"first_name": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"home_phone": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"work_phone": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"name_suffix": {
"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"
},
"date_of_birth": {
"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"
},
"address_line_1": {
"description": "Required 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"
},
"marital_status": {
"enum": [
"",
"U",
"M",
"S",
"D",
"X",
"W",
"P"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"middle_initial": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"preferred_name": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"consent_to_call": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"consent_to_text": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"duplicate_check": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"gender_identity": {
"enum": [
"",
"1",
"2",
"21",
"22",
"3",
"4",
"5",
"6",
"7"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"guarantor_is_self": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"registration_date": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"contact_preference": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"preferred_pronouns": {
"enum": [
"",
"he/him",
"she/her",
"they/them"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"referral_source_id": {
"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"
},
"sexual_orientation": {
"enum": [
"",
"1",
"2",
"3",
"4",
"5",
"6"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"primary_provider_id": {
"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"
},
"privacy_notice_given": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"assigned_sex_at_birth": {
"enum": [
"",
"M",
"F",
"N",
"U"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"additional_form_fields": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"insured_signature_on_file": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"patient_signature_on_file": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"medication_history_consent": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"registration_department_id": {
"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"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"athena": {},
"success": {},
"retryable": {},
"submitted": {},
"error_code": {},
"patient_id": {},
"skip_reason": {},
"error_message": {},
"failure_phase": {},
"write_skipped": {},
"duplicate_count": {},
"duplicate_found": {},
"previous_operation": {},
"duplicate_patient_ids": {},
"submitted_field_count": {}
},
"additionalProperties": true
}