PUT
/
public
/
v1
/
patients
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
first_name
string
required

Patient's first name

last_name
string
required

Patient's last name

date_of_birth
string
required

Patient's date of birth

source_id
string
required

Patient's EHR ID (or other unique identifier) that you have in your system

patient_specialties
enum<string>[]
required

Patient's specialties. A patient can have multiple

Available options:
PHYSICAL_THERAPY,
ABA_THERAPY,
SPEECH_THERAPY,
OCCUPATIONAL_THERAPY,
PSYCHOLOGICAL_TESTING,
HOME_HEALTH_CARE,
HOSPICE,
CARDIAC_REHABILITATION,
INTENSIVE_CARDIAC_REHABILITATION,
MENTAL_HEALTH
status
enum<string>
required

Patient's status

Available options:
INTAKE,
ACTIVE,
DISCHARGED,
ON_HOLD
provider_service_location_id
string
required

Provider Service Location ID (where the patient receives service)

provider_id
string
required
address_line_1
string | null

Patient's street address

Maximum length: 255
address_line_2
string | null

Patient's apartment, suite, unit, etc.

Maximum length: 255
city
string | null

Patient's city

Maximum length: 255
state
string | null

Patient's state

Maximum length: 255
zip_code
string | null

Patient's zip code

Response

200
application/json
patient_id
string
required