AI in the Cloud / Case study
Generative AI · Healthcare

Secure Generative AI for Patient Records at Rexhealth on AWS

A private, encrypted and audited generative AI solution that summarises patient records and extracts data from clinical documents.

Published 30 November 2026 · By CloudForUs Technologies Ltd

About the customer

Rexhealth is a Nigerian healthcare provider that holds a large volume of patient records and clinical documents. Clinical staff rely on these records every day to prepare for consultations, hand over between shifts and answer questions about care.

Customer challenge

Clinical records are long, and finding the right detail takes staff time that could go to patient care. Documents such as referral letters, lab reports and discharge notes arrive in different formats and need to be read and keyed in by hand.

Rexhealth had begun using an external generative AI API to help. Sending patient data to an outside service created a privacy and compliance concern. Rexhealth needed the same convenience inside an environment where data is encrypted, access is controlled and every request can be audited.

Without a private solution, staff would keep spending time on manual reading and data entry, and the risk of using unapproved external tools for patient data would remain.

The partner solution

CloudForUs led the engagement from the first AI readiness workshop through requirements, architecture design, build, testing and production deployment. It replaced the external API with a private solution on Amazon Bedrock that summarises patient records, extracts data from clinical documents and answers staff questions from Rexhealth's own medical knowledge, without patient data leaving AWS.

The solution runs inside an Amazon VPC. The public subnet holds only the front end, AWS WAF and Amazon API Gateway. All business logic runs in AWS Lambda functions in a private subnet, so no application component is directly reachable from the internet.

Rexhealth generative AI architecture on AWS
Rexhealth generative AI architecture on AWS.

How each AWS service is used

Design choices

Results and benefits

The project started on 2 March 2026 and went live on 25 May 2026. It is a launched production implementation, in active use by Rexhealth clinical staff.

95%
of fields extracted correctly from clinical documents
Target: 95%
4 sec
or less for staff questions and record summaries (p95)
Target: under 4 sec
30 sec
or less to process a document in the background
Target: within 30 sec
40,000
clinical documents processed each month

Usage in a typical month

MeasureBeforeAfter
Record summaries and answersStaff read records and search documents by handIn 4 seconds or less (p95)
Clinical documentsRead and keyed in by handFields extracted in 30 seconds or less, 95% correct on a reviewed sample
Patient data privacySent to an external AI APIStays in AWS, encrypted with AWS KMS and fully audited
What comes next. New document layouts can lower extraction accuracy, so low-confidence fields are flagged for staff review. The medical knowledge base is refreshed and re-indexed on a regular schedule.

About the partner

CloudForUs Technologies Ltd is a Lagos-based cloud consulting firm and an AWS Advanced Tier Partner (Consulting). It helps businesses adopt AWS for agility, security and cost efficiency, from migration and security to managed cloud operations and AI.

More AI case studies

Let's talk about your cloud and AI goals

Speak to our certified AWS team. We will listen first, then show you what is possible.

Talk to us