Treatment Relationship
Patient
Treatment Relationship
Update a patient’s treatment relationship consent status
PUT
Treatment Relationship
The treatment relationship endpoint allows you to control whether a patient has treatment relationship consent. Patients without consent cannot be assigned to treatment cohorts. Revoking consent automatically removes the patient from all treatment cohorts. Operations cohorts are unaffected.
Query Params
Set to
true to grant treatment relationship consent, or false to revoke itPath Params
The ID of the patient whose treatment relationship consent should be updated
Response
Returns a JSON object with the following properties:The patient’s ID
The patient’s current treatment relationship consent.
true indicates consent is grantedA human-readable message confirming the update
Notes
- Revoking consent (
treatmentRelationship: false) automatically removes the patient from all treatment cohorts - Patients without consent cannot be added to treatment cohorts via Add Patients to Cohort or Add Patient to Cohorts
- Patients without consent will be ineligible for Network Queries and Document Queries
- You can also set
status.treatmentRelationshipwhen creating or updating a patient

