post Patients

POST {{baseUrl}}/patients?subdomain={{subdomain}}&location_id={{location_id}}

Create a patient

Request Params

KeyDatatypeRequiredDescription
subdomainstring(Required) Used to scope the request to the specified institution
location_idstring(Required) Used to scope the request to the specified institution

Request Body

{"provider"=>{"provider_id"=>"<integer>"}, "patient"=>{"first_name"=>"<string>", "last_name"=>"<string>", "email"=>"<string>", "bio"=>{"date_of_birth"=>"<date>", "phone_number"=>"<string>", "home_phone_number"=>"<string>", "cell_phone_number"=>"<string>", "work_phone_number"=>"<string>", "custom_contact_number"=>"<string>", "gender"=>"<string>", "weight"=>"<integer>", "height"=>"<integer>", "street_address"=>"<string>", "city"=>"<string>", "state"=>"<string>", "zip_code"=>"<string>", "insurance_name"=>"<string>", "ssn"=>"<string>", "race"=>"<string>"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;code&quot;:&quot;\u003cboolean\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;error&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;data&quot;:{&quot;user&quot;:{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;email&quot;:&quot;\u003cstring\u003e&quot;,&quot;first_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;middle_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;last_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;created_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;institution_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;foreign_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;foreign_id_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;bio&quot;:&quot;\u003cobject\u003e&quot;,&quot;inactive&quot;:&quot;\u003cboolean\u003e&quot;,&quot;last_sync_time&quot;:&quot;\u003cstring\u003e&quot;,&quot;guarantor_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;unsubscribe_sms&quot;:&quot;\u003cboolean\u003e&quot;}},&quot;count&quot;:&quot;\u003cinteger\u003e&quot;}