Building compliant digital health solutions
Datomic can be treated as a distributed, indexed virtual memory system supporting cluster-wide transactional updates and explicit consistency.
Vital Reactor is a small company partnering with a major US hospital to develop digital health interventions that enhance collaboration between doctors and patients. Their second-generation SaaS platform serves users through web and mobile interfaces while aggregating data from third-party devices, traditional health IT systems, and patient self-reporting. The system must maintain full HIPAA compliance.
From NoSQL to Datomic
The company initially designed their platform for cloud computing but found their original NoSQL database choice problematic. Schema-less, document-oriented models constrained system architecture and forced developers to manually implement database capabilities typically provided by traditional systems.
Datomic solved these challenges by providing a powerful, transactional data management layer. The team uses it to store domain data and index their storage layer, complementing their setup with DataStax Enterprise for blob storage, full-text indexing, and analytics.
Fine-Grained Access Control
A particularly valuable feature is Datomic’s flexibility for regulatory compliance. Rather than implementing industry-standard ACL tables, Vital Reactor integrated a sophisticated permission model using query rules that characterize authorization paths through related entities. This allows fine-grained access control for different user roles — administrators, physicians, and individual patients with shared records.
Built-in Audit and History
Datomic’s built-in historical data retention provides debugging capabilities, auditing, data provenance tracking, and edit histories — essential for regulatory environments. The system has demonstrated excellent latency and scalability in cloud-native deployments, with reliable high-availability failover and responsive support from the Datomic team.