PUT
/
public
/
v1
/
patients
/
Create or Update Patient
curl --request PUT \
  --url https://api.silnahealth.com/public/v1/patients/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "<string>",
  "last_name": "<string>",
  "date_of_birth": "2023-12-25",
  "source_id": "<string>",
  "address_line_1": null,
  "address_line_2": null,
  "city": null,
  "state": null,
  "zip_code": null,
  "patient_specialties": [
    "PHYSICAL_THERAPY"
  ],
  "status": "INTAKE",
  "provider_service_location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "provider_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Behavior Overview

This API has two flows: update and create. We trigger the update flow if we find a patient with a matching source_id or we determine the requested patient to be a duplicate (for example, they have the same first name, last name, and dob as an existing patient). Else we trigger the create flow.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The body is of type object.

Response

200
application/json

The response is of type object.