Create Patient
PUT {{URL}}/patient
Create a Patient entity in the PocketPills system.
If the patient information (phone and email) in the request body matches the information in an existing patient record, a new patient record will not be created and the existing patientId will be returned in the API response.
* providerPatientId is the id of the patient in your system. Can be alphanumeric.
* phone formats accepted: 10 digit cell phone number or 10 digit cell phone number prepended with +1. e.g. +19958893881 OR 9958893881
* Optional Fields - providerPatientId, employer, notes, allergies, medicalConditions, pocketPacks
* Gender would be MALE
,FEMALE
, OTHER
* Provincial Health Card would be ALBERTA
,BRITISH_COLUMBIA
,MANITOBA
,NEW_BRUNSWICK
,NEWFOUNDLAND_AND_LABRADOR
,NORTHWEST_TERRITORIES
,NOVA_SCOTIA
,NUNAVUT
,ONTARIO
,PRINCE_EDWARD_ISLAND
,QUEBEC
,SASKATCHEWAN
,YUKON
Request Body
{"phone"=>"9958893881", "providerPatientId"=>2345, "firstName"=>"susan", "lastName"=>"smith", "birthDate"=>"1983-11-16", "gender"=>"MALE", "email"=>"email@test.com", "employer"=>"abc company", "provincialHealthCard"=>"BRITISH_COLUMBIA", "pocketPacks"=>true, "notes"=>"leave at door", "allergies"=>["nuts", "jaggery"], "medicalConditions"=>["diabetes"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |