The user wants a design for an "Enterprise Genomic Consent Lifecycle."
This is a complex system design problem involving healthcare, genetics, ethics, data privacy, and software architecture.
Key Requirements:
- Automate Recontact: When new information about a variant arises, the system needs to determine who needs to be contacted and manage that process.
- Track Secondary Findings Preferences: Patients often have choices about whether they want to know about incidental findings (e.g., ACMG secondary findings list). The system must store and version these preferences.
- Feed Downstream Clinical Decision Support (CDS): The genomic data and consent status must integrate with the EHR (Electronic Health Record) to help doctors make decisions (e.g., "This patient has variant X, but opted out of knowing about it" -> suppress alert vs. "Patient opted in" -> show alert).
Stakeholders/Personas:
- Patient: Gives consent, updates preferences, receives results.
- Genetic Counselor: Manages the consent session, educates the patient.
- Clinician/Provider: Orders tests, views results, receives CDS alerts.
- Lab/Bioinformatics: Generates the genomic data, reclassifies variants.
- Compliance/Legal: Ensures the process meets HIPAA/GDPR/etc. standards.
Core Phases of the Lifecycle:
- Pre-Test/Onboarding: Education, Dynamic Consent, Preference selection.
- Active Testing: Data generation, initial processing.
- Result Delivery & CDS Integration: Initial findings, integration into the EHR.
- Post-Test/Monitoring (The "Lifecycle" part): Variant reclassification, Re-contact logic, Preference updates.
- Offboarding/Revocation: Withdrawing consent.
Architectural Components:
- Consent Management Platform (CMP): The central registry.
- Genomic Data Repository (GDR): Where the raw/processed VCFs and variant annotations live.
- Recontact Engine: The logic that matches variant updates to patient preferences.
- EHR/CDS Integration Layer: FHIR (Fast Healthcare Interoperability Resources) is crucial here.
Detailed Feature Design:
- Secondary Findings: Needs granular tracking. Do they want ACMG list? Just actionable? Pharmacogenomic? Research only?
- Recontact: Needs a workflow. Variant reclassification (VUS -> Pathogenic) triggers a query. Check consent -> Check if patient is alive/active -> Create task for Genetic Counselor -> Contact patient.
- CDS: Needs to query the consent status in real-time before firing an alert.
Technology Stack (High Level):
- FHIR (standard for EHR integration).
- SMART on FHIR (for app authorization).
- Workflow engine (Camunda, Temporal, or cloud native).
- Secure Audit Logs (Blockchain is often overkill, but immutable audit trails are necessary).
Drafting the Solution Structure:
- Executive Summary: High-level architecture.
- Core Principles: Dynamic consent, interoperability.
- Phase 1: Dynamic Intake & Granular Consent:
- Move beyond "Sign this PDF."
- Structured data fields for preferences (e.g., JSON schema).
- Versioning is key.
- Phase 2: The Recontact Engine (The "Automation" aspect):
- Trigger: Variant Reclassification.
- Filter: Consent Preferences.
- Action: Workflow initiation.
- Phase 3: Downstream CDS Integration:
- The "Consent-Aware" CDS Hook.
- Example: Drug-gene interaction.
- Architecture Diagram Description:
- Components: Consent Store, Variant Store, Match Engine, Notification Service.
- Data Model (Simplified):
- Patient, ConsentRecord, VariantAnnotation, PreferenceSet.
- Governance & Ethics: Handling withdrawal, family implications.
Refining the "Secondary Findings" Logic:
It's not binary. It's usually tiers.
- Tier 1: Highly actionable (e.g., BRCA).
- Tier 2: Moderate risk.
- Tier 3: Pharmacogenomics.
- Tier 4: Research/Incidental.
The system needs a rules engine (e.g., Drools or simple JSON Logic) to map Variant -> Tier -> Patient Preference.
Refining the "Recontact" Logic:
What if the patient is deceased? What if the provider has changed?
The system needs a "Provider Atlas" or connection to the EHR provider directory.
Refining the "CDS" Logic:
The CDS doesn't just look at the genome. It looks at Genome + Consent.
If Genome = Positive AND Consent = Do Not Disclose Secondary Findings -> Suppress Alert.
If Genome = Positive AND Consent = Disclose -> Fire Alert.
Structuring the Output:
I will structure this as a formal architecture design document. I will use clear headings, bullet points, and a logical flow from user experience to backend architecture.
Self-Correction during drafting:
Initially, I might just think of "sending an email" for recontact. That's dangerous in healthcare. It must be a "Secure Task" assigned to a Genetic Counselor who then contacts the patient. Automation means automating the creation of the task, not necessarily spamming the patient directly.
Let's build the "Enterprise Genomic Consent Lifecycle" model.
- Title: Enterprise Genomic Consent & Actionability Architecture.
- Modules:
- Dynamic Consent Manager (DCM) - The UI/Logic for capture.
- Variant Knowledge Graph (VKG) - The truth source for variant danger levels.
- Lifecycle Orchestration Engine (LOE) - Handles the time-based workflows.
- Clinical Decision Support Interface (CDSi) - The API for the EHR.
Let's write out the detailed response following this structure.
This design outlines an enterprise-grade framework for managing genomic consent. It moves beyond static paper forms to a dynamic, computable lifecycle that integrates directly with Electronic Health Records (EHRs) and Clinical Decision Support (CDS) systems.
The architecture is built on the GA4GH (Global Alliance for Genomics & Health) standards, specifically utilizing Data Use Ontology (DUO) and FHIR (Fast Healthcare Interoperability Resources) to ensure interoperability.
The Genomic Consent Lifecycle Architecture (GCLA)
1. Conceptual Framework: "Computable Consent"
Traditional consent is a document; Computable Consent is a machine-readable rule set.
- Granular Preferences: Instead of a single "Yes/No," the consent is broken into modular codes (e.g.,
GRU = General Research Use, HMB = Health/Medical/Biomedical, DS = Disease Specific).
- Version Control: Every change in patient preference is time-stamped and immutable (append-only log), creating a forensic trail of consent history.
2. Lifecycle Phases
Phase A: Dynamic Intake (The "Smart" Consent)
The entry point uses an adaptive questionnaire that reacts to the patient’s input in real-time.
- Tiered Presentation:
- Tier 1: Clinical Care (Required for the test to run).
- Tier 2: Secondary Findings (ACMG 73+ genes). See logic below.
- Tier 3: Research & Data Sharing (Biobank storage, de-identification).
- Secondary Findings Toggles:
- Instead of checking a box, the patient interacts with categories: "Adult-onset conditions," "Actionable pharmacogenomics," "Carrier status."
- System Action: These selections map directly to specific DUO codes and store them in a FHIR
Consent resource.
Phase B: Operational Tracking (The Consent State Machine)
The system maintains the "State" of the patient's consent relative to their genomic data.
- Active: Data is flowing to CDS.
- Revoked: Data is masked; alerts are suppressed.
- Expired: Re-contact workflow is triggered for re-consent.
- Deferred: Patient wants to decide later (requires a "nudge" workflow).
Phase C: Automated Recontact Engine
This is the "Lifecycle" heart. It handles the obligation to return to the patient when context changes.
Triggers for Recontact:
- Time-Based: "Every 2 years, re-confirm storage preferences."
- Knowledge-Based: "A variant previously classified as VUS (Variant of Uncertain Significance) is upgraded to Pathogenic."
- Age-Based: "Patient is turning 18; parental consent must be transitioned to adult consent."
The Workflow:
- Trigger Event: The Knowledge Base (KB) updates a variant classification.
- Cohort Identification: The system queries the Genomic Data Repository for patients holding this variant and checks the
Consent resource to see if they opted into "Recontact for New Findings."
- Routing:
- High Urgency (Clinical): routed to the Genetic Counselor's worklist immediately.
- Low Urgency (Research/Policy): routed to the Patient Portal for digital signature update.
3. Feeding Downstream Clinical Decision Support (CDS)
The primary value driver. The CDS hooks (e.g., within Epic or Cerner) consume the consent state to determine if and how to alert the provider.
The "Consent-Aware" Alert Logic
When a physician prescribes a drug with a genomic interaction (e.g., Carbamazepine and HLA-B15:02):
Standard Flow:
- CDS detects
Genomic Observation (High Risk).
- Consent Check: CDS queries the Consent Management Service (CMS).
- Scenario A (Consent Granted): Alert fires: "Patient is HLA-B15:02 positive. High risk of SJS/TEN. Alternative suggested."*
- Scenario B (Consent Revoked/Opted-Out): Alert is suppressed. The system logs that the alert was intentionally blocked to avoid violating patient autonomy.
Secondary Findings Filter
If a patient explicitly opted OUT of secondary findings during intake:
- The pipeline still processes the data for the primary indication (e.g., Cardiomyopathy).
- A "Filter Mask" is applied to the resulting VCF/FHIR observation. Variants unrelated to the primary indication but listed in ACMG Secondary Findings (e.g., a BRCA1 mutation found during a heart scan) are tagged
HOLD.
- These
HOLD variants do not trigger patient-facing alerts and do not appear in the provider's problem list unless the consent status changes.
4. System Architecture Diagram
graph TD
subgraph Patient_Interface
A[Digital Consent Portal] -->|FHIR Consent Resource| B(Consent Management Service)
end
subgraph Enterprise_Services
B --> C{Consent Rule Engine}
C -->|DUO Codes| D[Genomic Data Repository]
C -->|Preferences| E[Recontact Orchestrator]
end
subgraph Clinical_Pipeline
F[Raw Sequencing Data] --> G[Variant Interpretation Pipeline]
G --> D
D <-->|Query: "Is result allowed?"| H[CDS Hooks Service]
end
subgraph Provider_Interface
H -->|Alert Suppression/Trigger| I[EHR / Physician Workflow]
E -->|Task: "Update Consent"| J[Genetic Counselor Worklist]
end
D -- "VUS -> Pathogenic" --> E
5. Data Model (Simplified FHIR Implementation)
To make this enterprise-ready, we use FHIR R4 resources.
1. Consent Resource (Consent)
- status:
active | inactive
- scope:
patient-privacy
- category:
INFAO (Information Access)
- provision:
- type:
permit
- code: List of DUO codes (e.g.,
GRU, RS, IR).
- data: Reference to the specific
MolecularSequence or Observation IDs covered.
2. ServiceRequest (ServiceRequest)
- Links the order to the Consent resource.
- Contains specific SNOMED codes for "Genetic counseling" if recontact is required.
3. Task (Task)
- Used for the Recontact Engine.
- status:
requested
- intent:
order
- code: "Recontact required - Variant Reclassification"
6. Governance & Compliance Layer
1. The "Break the Glass" Protocol:
In emergencies, a provider can override the consent suppression to view life-saving genomic data. This triggers:
- Mandatory audit log entry.
- Automatic notification to the Privacy Officer.
- Requirement to justify the access within 24 hours.
2. Family Segregation Logic:
Genomics implies familial data. The system must handle:
- Proband Consent: Patient A says "Share my data."
- Relative Privacy: If Patient A's data reveals Patient B (relative) has a condition, the system must check if sharing that specific inference violates consent policies (complexity often managed via "Pedigree linkage" tables).
3. Audit Trail:
Every time a CDS hook reads a consent code to suppress an alert, it is logged.
- Metric: "Alerts suppressed due to patient preference: 1,240 this month." (Proves the system is working).
Summary of Technical Stack
- Standard: HL7 FHIR R4, GA4GH Data Use Ontology (DUO).
- Consent Store: MongoDB or specialized FHIR Server (HAPI/Firely).
- Orchestration: Camunda or Temporal.io (for managing long-running recontact workflows).
- Integration: SMART on FHIR apps embedded in Epic/Cerner.