ConsentManager
A widget for displaying, signing, and managing patient consent documents. Supports all four FHIR consent scopes, multiple verifications, and provision rules.Usage
Props
| Prop | Type | Required | Description |
|---|---|---|---|
proxyUrl | string | Yes | Backend proxy URL |
patientId | string | Yes | Patient ID |
theme | 'light' | 'dark' | No | Color theme |
Consent Scopes
| Scope | Description |
|---|---|
patient-privacy | Privacy and data sharing (HIPAA notices) |
research | Research participation |
treatment | Treatment consent |
adr | Advance directive |
Features
- Consent document display with scope and category
- Digital signature capture
- Status tracking (draft → proposed → active → rejected → inactive)
- Multiple verification entries
- Policy URI linking
- Provision rules (permit/deny) with nested exceptions
- Source document attachment support
Proxy Action
The widget sendsconsents.sign with: