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
Deactivate a risk factor
Deactivate a risk factor match for a patient.
DELETE
/
api
/
v1
/
patients
/
{patient_id}
/
risk_factors
/
{risk_factor_id}
Copy
curl --request DELETE \
--url https://api.byblend.com/api/v1/patients/{patient_id}/risk_factors/{risk_factor_id} \
--header 'Authorization: Bearer <token>'
Copy
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"risk_factor_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"confidence": 0.95,
"is_active": true,
"match_source": "autocomplete",
"match_type": "product",
"matched": true,
"matched_via_synonym": false,
"patient_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"risk_factor_text_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"text_chunk": "liothyronine",
"medication_detail": {
"brand_name": "Benadryl",
"clinical_product_rxcui": "978941",
"ingredient_name": "diphenhydramine",
"ingredient_rxcui": "4083",
"name": "estradiol valerate 3 MG Oral Tablet",
"normalization_key": "SCDG:1165185|generic",
"product_rxcui": "978941",
"scdf_name": "estradiol Oral Tablet",
"scdf_rxcui": "372078",
"scdg_name": "estradiol Oral Product",
"scdg_rxcui": "1165185"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique (UUID) identifier for the patient
Unique (UUID) identifier for the risk factor
Response
200 - application/json
Risk factor deactivated successfully
Represents a mapping of risk factor to a patient.
Copy
curl --request DELETE \
--url https://api.byblend.com/api/v1/patients/{patient_id}/risk_factors/{risk_factor_id} \
--header 'Authorization: Bearer <token>'
Copy
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2025-03-15T12:00:00Z",
"updated_at": "2025-03-15T12:00:00Z",
"risk_factor_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"confidence": 0.95,
"is_active": true,
"match_source": "autocomplete",
"match_type": "product",
"matched": true,
"matched_via_synonym": false,
"patient_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"risk_factor_text_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"text_chunk": "liothyronine",
"medication_detail": {
"brand_name": "Benadryl",
"clinical_product_rxcui": "978941",
"ingredient_name": "diphenhydramine",
"ingredient_rxcui": "4083",
"name": "estradiol valerate 3 MG Oral Tablet",
"normalization_key": "SCDG:1165185|generic",
"product_rxcui": "978941",
"scdf_name": "estradiol Oral Tablet",
"scdf_rxcui": "372078",
"scdg_name": "estradiol Oral Product",
"scdg_rxcui": "1165185"
}
}
Assistant
Responses are generated using AI and may contain mistakes.