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)

RequirementHow Taw'am addresses itStatus
Health data is sensitive personal dataThe 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 minimisationOnly 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
RetentionConnector 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 rightsAccount 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 processingSee 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 KingdomThe 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

RequirementHow Taw'am addresses itStatus
Identity and access managementRoles (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
AuthenticationPBKDF2-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
CryptographyTLS 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 monitoringHash-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 protectionPseudonymisation 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 securityStrict 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 recoveryDatabase point-in-time recovery (Cloudflare D1 Time Travel); each hospital's twin can be rebuilt from its events.Partial
Vulnerability management and penetration testingDependencies are minimal (no runtime npm packages in the app). An independent penetration test has not been done yet.Gap
Third-party and cloud securityHosting 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

Security overview · Privacy notice · API docs · Taw'am