AfyaMkononi is the Kenyan patient and doctor mobile application operated by Global Health Initiatives (GHI) under the AfyaMkononi.app platform name. Research and Management Consultants Ltd. (RMCL) provides agreed technology and operational services under its partnership with GHI.
This Data Retention and Deletion Policy sets out the authoritative governance rules, retention periods, preservation exceptions, and secure destruction mechanisms applied to all information processed across the AfyaMkononi mobile applications and the AfyaMkononi.app digital infrastructure provided in partnership with Research and Management Consultants Ltd. (RMCL) in Kenya.
We adhere to the fundamental data protection principle of storage limitation under the Kenya Data Protection Act, 2019: personal data is preserved only for as long as necessary to fulfill authorized medical care, satisfy statutory compliance mandates, protect clinical integrity, and resolve formal disputes.
2. Data Retention Schedule Matrix
The table below summarizes the retention periods, operational purposes, and statutory justifications across all data classes:
| Data Category | Included Records | Retention Period | Governing Justification |
|---|---|---|---|
| User Account & Profile | Name, email, phone, role, profile image, credentials | Active account lifetime + statutory closure period | Contractual necessity & user identification |
| Clinical Consultation Records | Chat history, clinical notes, Rx, medical attachments, summaries | [Legal / Clinical Retention Period to be formally confirmed by Kenyan health counsel]* | Kenya Health Act, medical malpractice defense, care continuity |
| Temporary Consultation Trace | Room entry, message delivery trace, document open event | 5 Days (unless preserved under active hold) | Operational telemetry, error recovery, quality assurance |
| Grievances & Complaints | Patient complaints, evidence files, investigation notes | Active dispute + statutory civil limitation period | Dispute resolution, legal defense, medical council review |
| Peer Support Sessions | Peer support requests, messages and call records | While the Peer Navigator’s account is active, then only as long as required for safety, dispute, audit and legal purposes | Safety, dispute resolution, legal obligations |
| Authentication Sessions | Active JWT tokens, refresh tokens, session cookies | Active session lifetime (revoked upon logout/expiry) | Platform security & access control |
| Security Audit Logs | Admin access logs, failed logins, IP rate-limit blocks | 12 to 24 Months | Forensic incident analysis & security governance |
| Temporary File Uploads | Transient staging files prior to encrypted object commit | Purged immediately after upload verification | Storage hygiene & data minimization |
| Encrypted Backups | Encrypted database snapshots & object repository backups | 30 Days (automated backup rotation cycle) | Disaster recovery & business continuity |
*Note: Exact medical record retention durations in Kenya vary between adult and pediatric clinical cadres under the Kenya Health Act and Ministry of Health guidelines. AfyaMkononi maintains consultation records in accordance with confirmed medical board guidelines.
3. Clinical Consultation Records & Prescriptions
Consultation chat messages, clinician summaries, uploaded diagnostic attachments, and electronic prescriptions form the permanent clinical record of patient care delivered on AfyaMkononi.
Under Kenyan medical law, healthcare practitioners and health facilities are bound to maintain patient clinical records for a mandatory statutory duration. This ensures continuity of patient care, supports subsequent treating clinicians, and provides vital documentation in the event of medical malpractice inquiries or regulatory reviews.
Account Deletion Impact: When a patient requests account deletion, profile access is severed and non-retained metadata is destroyed; however, clinical consultation records are archived in a secure, restricted, read-only state until the statutory medical retention period expires.
4. The 5-Day Temporary Consultation Trace Rule
During every consultation, AfyaMkononi automatically generates a temporary operational telemetry trace capturing technical event milestones (e.g., room entry, message delivery acknowledgement, notification dispatch, document view confirmation).
- Automated Expiration: The temporary operational trace expires and is permanently purged after five (5) calendar days;
- No Raw Medical Data: Raw clinical chat messages, patient symptom descriptions, diagnostic images, and prescription texts are never duplicated into the temporary trace;
- Strict Telemetry Focus: This 5-day expiration rule applies strictly to operational connection telemetry. It does not delete the underlying patient medical consultation history or prescriptions.
5. Security, Audit & Authentication Telemetry
System audit logs (including administrator access records, credential modification events, failed authentication attempts, and automated rate-limiting blocks) are retained for twelve (12) to twenty-four (24) months to facilitate forensic security analysis, detect unauthorized access patterns, and demonstrate compliance with statutory data security standards.
6. Encrypted Disaster Recovery Backups
AfyaMkononi performs automated, encrypted database snapshots and object backups to ensure platform resilience against catastrophic failure. Backup archives rotate on a rolling 30-day lifecycle. When personal data is deleted from active operational databases, it is permanently overwritten in backup archives as routine backup rotation cycles complete.
7. Statutory Legal Holds
Routine data destruction schedules are immediately suspended when AfyaMkononi receives a valid court order, subpoena, law enforcement preservation notice, or formal notice of pending civil or criminal litigation. In such instances, relevant records are placed under a Legal Hold, preventing automated deletion until the legal matter is formally concluded.
8. Grievance Preservation Holds
If a patient or practitioner registers a formal clinical complaint, or quality-of-care grievance, the 5-day expiration of the temporary consultation trace is automatically suspended for the affected session. The operational trace is preserved under a Grievance Hold alongside the consultation records to provide objective evidence for clinical governance review.
9. Secure Deletion & Anonymization Protocols
When data reaches the end of its authorized retention lifecycle, AfyaMkononi executes permanent destruction using industry-standard protocols:
- Cryptographic Erasure: Purging encryption keys for encrypted database records, rendering ciphertext permanently unrecoverable;
- Secure Database Deletion: Permanent database row deletion and vacuuming to eliminate residual disk fragments;
- Cloud Object Purging: Multi-pass deletion of private cloud storage blobs containing clinical attachments;
- Anonymization: Where epidemiological or service-reliability statistics are retained, all direct and indirect patient identifiers are stripped irreversibly.
10. Retention Inquiries & Data Protection Contact
For specific questions regarding the retention status of your clinical records or to submit a data erasure inquiry, please contact the Data Protection Office: