# Create a new patient Create a new patient for the account. The account must match the OAuth token context. Endpoint: POST /partner/v2/account/{accountId}/patients Version: 2.0 Security: PartnerOAuth ## Path parameters: - `accountId` (integer, required) Account identifier ## Request fields (application/json): - `dateOfBirth` (string) Patient's date of birth in ISO 8601 format (YYYY-MM-DD) Example: "1990-01-15" - `email` (string) Patient's email address Example: "john.doe@example.com" - `firstName` (string, required) Patient's first name Example: "John" - `gender` (string) Patient's gender. Reference https://www.hl7.org/fhir/R4/codesystem-gender-identity.html for possible values. Example: "Male" - `lastName` (string, required) Patient's last name Example: "Doe" - `mobilePhone` (string) Patient's mobile phone number (can include '+' and formatting, will be normalized to digits only) Example: "+14155551234" ## Response 201 fields (application/json): - `dateOfBirth` (string) Patient's date of birth in ISO 8601 format (YYYY-MM-DD) Example: "1990-01-15" - `email` (string) Patient's email address Example: "john.doe@example.com" - `firstName` (string) Patient's first name Example: "John" - `id` (integer) Unique patient identifier Example: 12345 - `lastName` (string) Patient's last name Example: "Doe" - `mobilePhone` (string) Patient's mobile phone number (digits only, no formatting) Example: "14155551234" ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 409 fields