MOD PEX 009 PRF
Domain specifications / D07-PEX / 5. Detailed Functional Requirements / 5.9 Module Specification: Consent and Communication Preference Presentation
5.9 Module Specification: Consent and Communication Preference Presentation¶
5.9.1 Module Overview¶
Module ID: MOD-PEX-009
Purpose: Show the patient their consent directives and let them give or withdraw the consent choices that policy opens to self-service; hold the patient's communication preferences.
Business Capabilities: - CAP-PEX-010 Consent and preference presentation
Primary Actors: - Patient, authorized representative, privacy officer
Dependencies: - Domain 10 (ESS) consent service (directive and policy decision) and notification service; Domain 6 (HIM) consent evidence; Domain 1 contact points captured at registration.
5.9.2 Functional Areas¶
Functional Area ID: FA-PEX-019 Consent presentation; FA-PEX-020 Communication preferences
Description: Presentation and capture of consent choices; channel, language, contact-point and content-level preferences.
Scope: - Included: consent directive display, self-service consent actions, communication preference maintenance, contact-point verification for portal use. - Excluded: the consent directive store, versioning, enforcement and legal basis (Domain 10); consent evidence stewardship (Domain 6); treatment consent taken in clinical workflows.
5.9.3 Detailed Requirements¶
Requirement FR-PEX-PRF-001: Consent Presentation and Patient Consent Actions¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-PEX-PRF-001 |
| Requirement Name | Consent presentation and patient consent actions |
| Requirement Type | Functional |
| Module | Consent and Communication Preference Presentation |
| Functional Area | FA-PEX-019 Consent presentation |
| Priority | Must |
| Criticality | High |
| Requirement Status | Draft |
| Source | HIM-003; SEC-008; SEC-017; PRS section 4 (Patient / representative: consent); PRS section 7.3 (Consent / Authorization entity) |
| Related Business Rule | BR-PEX-026 |
| Related Workflow | None |
1. Requirement Statement
The system shall display to the requester the patient's current consent directives as held by the Domain 10 consent service, with version, scope, validity and status, and shall allow the requester to give or withdraw those consent types that policy opens to self-service by submitting the action to the consent service; the portal shall hold no consent directive of its own.
2. Business Rationale
HIM-003 requires consent capture, version, scope, expiry, withdrawal and downstream enforcement. Under the shared boundary position Domain 10 owns the directive and decision and Domain 7 presents preferences to patients.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Patient | View directives; give or withdraw self-service consent types | Recent re-authentication for changes |
| Representative | View and act | Only where the grant and policy expressly allow consent actions |
| Privacy officer | Configure which consent types are self-service | Policy approval |
4. Preconditions - Consent types and their self-service flags are defined in Domain 10.
5. Trigger - The requester opens consent settings or submits a consent action; a new consent version requires re-presentation.
6. Functional Behaviour
- PEX reads the directive list from Domain 10 and shows, for each, the purpose in plain language, scope, recipient where applicable, validity period, status and the version of the consent text.
- For a self-service type the requester can give or withdraw consent. PEX shows the exact versioned text, captures the decision, the actor, the time and the method, and submits it to Domain 10.
- The screen then shows the directive state Domain 10 returns. If Domain 10 does not confirm, the action is shown as not completed.
- Before a withdrawal is submitted the requester is shown the consequences defined by policy for that consent type.
- When Domain 10 publishes a new version of a consent text that requires re-consent, the requester is prompted at next sign-in.
- Consent types not open to self-service are shown read-only with the route to change them.
- Evidence of the portal consent action (text version, decision, time, authenticated identity) is passed with the submission so that Domain 6 can hold it as consent evidence.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Consent type and text version | Identifiers | Yes | Current version in Domain 10; self-service flag set | What is consented |
| Decision | Enumeration | Yes | Give / withdraw | Patient choice |
| Actor and acting-for | Identifiers | Yes | Session; grant permits consent actions | Who decided |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-PRF-001-1 | Display state is always read from Domain 10. | No divergent local copy. |
| PR-PRF-001-2 | Submissions are idempotent on an action key. | No duplicate directive versions. |
| PR-PRF-001-3 | A withdrawal that Domain 10 accepts triggers release re-evaluation through ConsentChanged (FR-PEX-REL-004). |
Downstream enforcement. |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Consent action | API command | Domain 10 consent service | Decision with evidence |
| Directive list | Screen | Requester | Current directives |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Consent service unavailable | Call failure | Do not record locally as done | "Your change was not saved. Please try again." |
| Text version superseded during action | Version check | Re-present current text | "The wording has been updated. Please review." |
| Representative not permitted to consent | Grant and policy | Refuse | "Only the patient can change this." |
11. State and Lifecycle Behaviour
Directive lifecycle is Domain 10's. PEX records the engagement event only.
12. Audit Requirements
Audited: directive views, each consent action submitted and the Domain 10 response, each prompt presented.
13. Security and Privacy Requirements
Consent actions require recent re-authentication. The legal basis and the consent types that may be given electronically are jurisdiction-specific (PRS 9.4, 10.4).
14. Acceptance Criteria
- AC-01: Given a directive in Domain 10, when the patient opens consent settings, then type, scope, validity, status and text version match Domain 10.
- AC-02: Given a self-service consent type, when the patient withdraws it and Domain 10 confirms, then the screen shows withdrawn and affected released items are re-evaluated.
- AC-03: Given the consent service is unavailable, when the patient submits a change, then the screen states that the change was not saved and Domain 10 holds no new directive version.
- AC-04: Given a representative whose grant does not include consent actions, when they attempt a change, then it is refused.
15. Dependencies and Integration
- Upstream dependencies: Domain 10 consent service (INT-PEX-009).
- Downstream dependencies: Domain 6 consent evidence; FR-PEX-REL-004.
- Required events or APIs:
ConsentChanged(Domain 10).
16. Open Questions / Assumptions
- Which consent types are open to self-service is not stated in the sources (DEC-PEX-002). HIM-003 is primarily owned by Domain 10 (ESS).
Requirement FR-PEX-PRF-002: Communication Preferences¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-PEX-PRF-002 |
| Requirement Name | Communication preferences |
| Requirement Type | Functional |
| Module | Consent and Communication Preference Presentation |
| Functional Area | FA-PEX-020 Communication preferences |
| Priority | Should |
| Criticality | Medium |
| Requirement Status | Draft |
| Source | PAT-011 ("communication"); NFR-012; SEC-012; PRS section 4.1 (configurable language); PRS section 19.3 (Patient portal scope: communication channels) |
| Related Business Rule | BR-PEX-010, BR-PEX-027 |
| Related Workflow | WF-PEX-003 |
1. Requirement Statement
The system shall let the requester set, for each notification category, the channels to use, the preferred language, the verified contact point for each channel and the permitted level of detail in outbound messages, and shall apply those preferences to every patient notification that PEX requests.
2. Business Rationale
Patients differ in channel, language and tolerance for detail in messages that others may see. PRS 19.3 leaves communication channels as a decision for patient experience and privacy; DEC-PEX-010 (resolved 2026-11-17) sets them: portal or app notification and email by default, SMS as fallback, and WhatsApp as an opt-in channel.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Patient | Read and update own preferences | Recent re-authentication to change a contact point |
| Representative | Set preferences for notifications sent to the representative; change the patient's only where the grant allows | Grant scope |
| Patient-engagement administrator | Define categories, available channels, mandatory categories | Change control |
4. Preconditions - At least one verified contact point exists.
5. Trigger - The requester edits preferences; a notification is about to be requested.
6. Functional Behaviour
- Categories include at least: appointments, released information, messages, forms, billing, account and security.
- For each category the requester chooses zero or more enabled channels; account and security notifications cannot be reduced to zero (BR-PEX-027).
- A new or changed contact point is verified by a challenge before use, and the previous contact point is notified of the change.
- The content level is "minimal" (no service or clinical detail) by default; a patient may choose a more detailed level only for categories where policy permits one.
- The language preference applies to templates; where a template lacks the language the facility default is used.
- Contact points verified in the portal are offered to Domain 1 as a patient-reported demographic update; they do not overwrite the registration record (FR-PEX-PRO-002 route).
- A change emits
CommunicationPreferenceChangedso that the Domain 10 notification service applies it.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Category | Code | Yes | Configured category | Notification type group |
| Channels | Set of codes | Yes | Enabled for facility; mandatory categories keep one | Delivery channels |
| Contact point | Address / number | Per channel | Format; verified by challenge | Destination |
| Language | Code | Yes | Configured language | Template language |
| Content level | Code | Yes | Permitted for category | Detail allowed |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-PRF-002-1 | Unverified contact points are never used. | No misdirected messages. |
| PR-PRF-002-2 | Preferences are effective-dated; a notification uses the preference in force when it is requested. | Reproducible behaviour. |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Preference record | Data | PEX; Domain 10 notification service | Current preferences |
CommunicationPreferenceChanged |
Event | Domain 10 | Change notice |
| Change notification | Notification | Previous and new contact point | Security notice |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Contact point fails verification | Challenge | Not activated | "We could not verify this contact." |
| Attempt to disable all security notifications | BR-PEX-027 | Refuse | "At least one channel is needed for security notices." |
| Channel not enabled at facility | Configuration | Not offered | None |
11. State and Lifecycle Behaviour
Contact point: Unverified, Verified, Retired. Preferences are versioned.
12. Audit Requirements
Audited: preference changes with before and after values; contact-point verification.
13. Security and Privacy Requirements
Contact points are personal data. Changing them requires recent re-authentication because they are recovery and notification targets.
14. Acceptance Criteria
- AC-01: Given a patient who chooses SMS only for appointments, when a reminder is requested, then the request names only the SMS channel.
- AC-02: Given a new email address not yet verified, when a notification is due, then it is not sent to that address.
- AC-03: Given a contact-point change, when it is verified, then the previous contact point receives a change notice.
- AC-04: Given the default content level, when a released-result notification is sent, then it contains no test name or value.
15. Dependencies and Integration
- Upstream dependencies: Domain 1 contact points; configuration.
- Downstream dependencies: Domain 10 notification service; FR-PEX-NTF-001.
- Required events or APIs: EVT-PEX-012.
16. Open Questions / Assumptions
- The sources do not say whether communication preferences are stored by Domain 7 or by the Domain 10 consent and privacy preference service. The working position is that PEX owns communication preferences and Domain 10 consumes them (DEC-PEX-004). Available channels are a PRS 19.3 decision.
← 5.8 Module Specification: Billing Statement and Payment-Status Views | Contents | Identifier index | 5.10 Module Specification: Patient Notifications and Engagement History →