About the client
Client’s challenge


- No in-house expertise in applied AI
- Patient data stored in both forms and free-text notes
- Heavy manual effort in preparing and reviewing reports
- New AI features needed to work inside existing clinician workflows
- Need to maintain HIPAA / HITECH compliance
Solution
Architecture and stack
We used PyTorch to design and train the AI models behind report automation and data analysis. After training, we deployed the models on Vertex AI within the client’s Google Cloud environment, where they automatically adjust the amount of processing power based on load.
Data flow and integration
Integrating AI into an existing EMR was not a plug-and-play task. Data formats differed across modules, and some were not suitable for direct model input. Our engineers tested several options for preparing and routing the data — from using intermediate buffers to direct API calls — before choosing a direct, API-based setup with in-memory preprocessing. This approach was fast enough for executing real-time reporting and fit into the EMR’s existing security and compliance environment. They also adjusted the preprocessing logic to handle uncommon or irregular data patterns in clinical notes, like typos in doctors’ notes or terminology misuse.
Compliance and security
We also made sure the new AI functions followed HIPAA and HITECH rules. The automation worked entirely inside the EMR’s secure environment: the module processed de-identified data through encrypted APIs; each operation used role-based access control linked to EMR user permissions; all AI requests were logged for audits, including user, time, and data type; no patient information was stored or cached outside the EMR.
User interface integration
On the front end, we added new functionality to the existing React interface, enabling clinicians to create AI-assisted reports and view alerts without needing to open another app, switch tabs, or change their workflow.









.png)