Barcoding
Notifications
Orders
Patients
- GETGet patients
- POSTCreate a patient
- GETGet a patient's details
- PUTUpdate a patient's details
- GETGet guardian relationship types
- GETGet a patient's orders
- GETGet a patient's risk factors
- POSTCreate risk factors
- POSTCreate a single risk factor
- PATCHConfirm risk factor match
- DELDeactivate a risk factor
- POSTAdd freeform risk factor text
Prescribers
Prescriptions
Products and Materials
Products and Materials Inventory
- GETGet inventory
- POSTCreate product inventory
- GETGet inventory lot details
- PUTUpdate inventory lot
- GETGet a prescription product inventory
- POSTCreate prescription product inventory
- GETGet a non-prescription product inventory
- POSTCreate non-prescription product inventory
- GETGet order material inventory
- POSTCreate order material product inventory
- PATCHAdjust inventory quantity
- GETGet inventory associations
- POSTCreate inventory association
- DELRemove inventory association
Reports
Search
Tasks
Webhooks
Patients
Add freeform risk factor text
Attach unprocessed raw text risk factors to a patient. Text will be processed and parsed asynchronously.
POST
/
api
/
v1
/
patients
/
{patient_id}
/
risk_factors
/
raw_text
Copy
curl --request POST \
--url https://api.byblend.com/api/v1/patients/{patient_id}/risk_factors/raw_text \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"allergies": "Penicillin, latex",
"conditions": "Asthma, hypertension",
"medications": "vyvanse/metformin"
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique (UUID) identifier for the patient
Body
application/json
Response
201
Raw text risk factors added successfully
Copy
curl --request POST \
--url https://api.byblend.com/api/v1/patients/{patient_id}/risk_factors/raw_text \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"allergies": "Penicillin, latex",
"conditions": "Asthma, hypertension",
"medications": "vyvanse/metformin"
}'
Assistant
Responses are generated using AI and may contain mistakes.