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

Response

201
application/json
Response schema for creating a patient plan

Response schema for creating a patient plan