POST
/
public
/
v1
/
patient-plans
curl --request POST \
  --url https://api.silnahealth.com/public/v1/patient-plans/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "member_number": "<string>",
  "group_number": null,
  "start_date": null,
  "end_date": null,
  "payor_entity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "insurance_type": null,
  "source_id": null,
  "patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "plan_order_number": 123,
  "insurance_card_file_id": null,
  "insurance_card_back_file_id": null
}'
{
  "patient_plan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

How to get the payor_entity_id

Use the Get Payors API.

Create Patient Plan With Insurance Card

If you want to create a patient plan with an insurance card, you will need to do the following steps:

  1. Upload the front of the insurance card to the File Upload API and get the file_id from the response.
  2. Upload the back of the insurance card to the File Upload API and get the file_id from the response.
  3. Make a post request to this api with the file_ids returned from 1 and 2 as the insurance_card_file_id and insurance_card_back_file_id, respectively.

Authorizations

Authorization
string
header
required

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

Body

application/json
Request schema for creating a patient plan

Request schema for creating a patient plan

member_number
string
required
Required string length: 2 - 80
payor_entity_id
string
required
patient_id
string
required
plan_order_number
integer
required

The order number of the plan (1 for primary, 2 for secondary, etc)

group_number
string | null
Required string length: 2 - 80
start_date
string | null
end_date
string | null
insurance_type
enum<string>

The type of insurance

Available options:
COMMERCIAL,
MEDICARE,
MEDICAID,
REGIONAL_CENTER,
WORKERS_COMPENSATION,
AUTO_INSURANCE
source_id
string | null

Unique identifier for the patient plan. This is (optionally) generated and supplied by API clients

insurance_card_file_id
string | null

The file ID corresponding to the front of the insurance card

insurance_card_back_file_id
string | null

The file ID corresponding to the back of the insurance card

Response

201
application/json
Response schema for creating a patient plan

Response schema for creating a patient plan

patient_plan_id
string
required