Compliance pack
This is Taw'am's own mapping, written for hospital procurement and information-security teams to review. It is not a certification or an audit, and it states the gaps.
Personal Data Protection Law (PDPL)
| Requirement | How Taw'am addresses it | Status |
|---|---|---|
| Health data is sensitive personal data | The twin never needs names or national IDs. Medical record numbers are replaced by a per-hospital pseudonym (SHA-256 with a secret salt) before anything is stored; raw HL7/FHIR messages are not kept. | In place |
| Purpose limitation and minimisation | Only operational fields are used: bed, ward type, triage level, times, and optionally sex and isolation (for room rules). Free-text clinical data is not accepted. | In place |
| Retention | Connector event logs are deleted after the period each organisation sets (7–365 days). Audit log kept for the life of the organisation; invoices kept for tax. | In place |
| Data subject rights | Account data can be corrected or deleted; owners can delete hospitals and the whole organisation. Patient-level rights are exercised through the hospital (controller), which holds the key to the pseudonyms. | In place |
| Security of processing | See the controls below. | In place |
| Breach notification (to SDAIA within 72 hours) | Audit log and platform logs support investigation. A written incident-response procedure with named contacts is needed before a live contract. | Partial |
| Transfers outside the Kingdom | The cloud service runs on Cloudflare's global network. Hospitals that require in-Kingdom processing use the Enterprise in-country or private deployment. | Partial |
| Processing agreement (controller/processor) | A data processing agreement template is part of the Enterprise contract pack. | Gap |
NCA Essential Cybersecurity Controls: relevant subdomains
| Requirement | How Taw'am addresses it | Status |
|---|---|---|
| Identity and access management | Roles (owner, admin, bed manager, porter, viewer) enforced on the server for every request; invitations expire after 7 days; OpenID Connect single sign-on (Enterprise); sessions expire after 12 hours. | In place |
| Authentication | PBKDF2-SHA256 (100,000 iterations) password hashing, minimum strength, sign-in throttling per network and account. Multi-factor authentication via the hospital's own identity provider (SSO). | Partial |
| Cryptography | TLS everywhere (HSTS). API keys and session tokens stored as SHA-256 hashes; SSO client secrets sealed with AES-GCM; webhooks signed with HMAC-SHA256. | In place |
| Event logs and monitoring | Hash-chained audit log of every change, verifiable from the app; connector event log with rejects; 10-minute health checks and a public status page. | In place |
| Data and information protection | Pseudonymisation at the edge, per-tenant isolation tested end to end (another organisation cannot read or change a hospital), no third-party scripts in the app. | In place |
| Web application security | Strict Content Security Policy (scripts from our own origin only, no inline script), frame denial, cross-site writes refused, input validation, per-key rate limits, idempotent ingestion. | In place |
| Backup and recovery | Database point-in-time recovery (Cloudflare D1 Time Travel); each hospital's twin can be rebuilt from its events. | Partial |
| Vulnerability management and penetration testing | Dependencies are minimal (no runtime npm packages in the app). An independent penetration test has not been done yet. | Gap |
| Third-party and cloud security | Hosting provider: Cloudflare (Workers, D1, Durable Objects). Optional Workers AI for the assistant, which receives only computed operational facts, never patient identifiers. | Partial |
Before a live contract
- Independent penetration test and remediation.
- Written incident-response and breach-notification procedure.
- Data processing agreement and, where required, in-Kingdom or private deployment.
- Hospital-specific risk assessment (and NPHIES/ministry requirements where they apply).