Book a free call

How to Build a Compliant Healthtech App in the UK

Building a compliant healthtech app in the UK means meeting UK GDPR, DTAC and, where it is a medical device, MHRA rules. This guide covers the rules and the build.

Hertiv engineering teamReviewed by a senior engineer
6 min read
How to Build a Compliant Healthtech App in the UK
On this page

Short answer

A compliant healthtech app in the UK is one that handles patient data under UK GDPR and the Data Protection Act 2018, passes the NHS Digital Technology Assessment Criteria where it connects to NHS services, and, if it makes a medical claim, is registered as a medical device with the MHRA. Compliance is designed into the build, not added at the end.

What is a compliant healthtech app in the UK?

A compliant healthtech app in the UK is software that helps patients or clinicians while following the rules that govern health data in the UK. The three rule sets that matter most are data protection law, NHS assessment standards, and medical device law where the app makes a medical claim.

The distinction that decides your workload is whether the app is a medical device. An app that books appointments or shows general health information is usually not a device. An app that diagnoses, monitors a condition or calculates a dose usually is, and then the MHRA rules apply on top of the data rules.

Start by writing down what the app does, what data it touches, and what claim it makes. That short document decides which rules apply and which assessments you need before you write a line of code.

Which UK rules apply to a healthtech app?

UK rules for healthtech apps come from three places, and each one asks a different question. Data law asks how you handle personal data. NHS standards ask whether the app is safe to connect to NHS services. Medical device law asks whether the app itself is safe to use for care.

RuleWhat it coversWho checks it
UK GDPR and Data Protection Act 2018How personal and health data is collected, stored and sharedInformation Commissioner's Office
DTAC (Digital Technology Assessment Criteria)Clinical safety, data protection, security and usability for NHS useNHS England assessors
MHRA medical device rulesSafety and performance where the app is a medical deviceMHRA
NHS Data Security and Protection ToolkitData security standards for organisations handling NHS dataNHS England
Cyber EssentialsBaseline cyber security controlsCertification body

If the app connects to NHS systems or is bought by an NHS organisation, DTAC is usually the first gate. If it does not, UK GDPR and the device rules still apply, and DTAC remains a useful checklist even when nobody requires it.

How do you build a compliant healthtech app?

You build a compliant healthtech app by deciding the data and safety rules first, then building the product inside them. Teams that build the app first and check the rules later usually rebuild large parts of it.

  1. Define the claim and the data. Write down what the app does, what data it needs, and whether it is a medical device.
  2. Map the data flows. List every place data enters, is stored, is shared and is deleted, and name the legal basis for each.
  3. Choose the hosting and security baseline. Pick UK or EEA hosting where the contract requires it, and plan for encryption, access control and logging from day one.
  4. Build the clinical safety case. If the app affects care, name a clinical safety officer and record the hazards and mitigations.
  5. Run the assessments. Complete DTAC and the Data Security and Protection Toolkit, and register with the MHRA if the app is a device.
  6. Test with real users. Test with patients and clinicians, including people with low digital skills, and fix the usability problems they find.

Keep a single compliance file that holds the data map, the risk assessments and the test results. Assessors ask for it, and a team that can produce it quickly passes faster. How to build a healthcare app covers the product side of the same build.

How should patient data be handled?

Patient data is special category data under UK GDPR, which means you need both a lawful basis and an extra condition for processing it, plus a clear privacy notice that patients can actually understand. Consent is one option, but it is not the only one, and it is not always the right one for a care app.

The practical rules are simple to state and hard to keep: collect only the data the app needs, keep it for only as long as the app needs it, share it only with named processors under contract, and let patients see, correct and delete their data. Every processor needs a data processing agreement, and any transfer outside the UK needs a lawful transfer mechanism.

Access control deserves the most attention. Staff should see only the patients they care for, every access should be logged, and the logs should be reviewed. Most health data breaches come from over-broad access, not from a broken cipher. Data security and compliance covers the controls in more depth.

Example: a clinic booking app for the UK

Example (hypothetical): a 12-clinic group in England wants an app that lets patients book appointments, fill in a pre-visit form and receive reminders. The app holds names, contact details, appointment history and short health notes from the pre-visit form.

The team writes the claim first: the app books appointments and collects information for the visit. It does not diagnose or advise, so it is not a medical device. The data map shows 4 data types, 2 processors (hosting and messaging), and no transfers outside the UK.

The build takes 10 weeks. Two of those weeks go to the data protection impact assessment, the privacy notice and the DTAC evidence pack. The numbers are small but the pattern matters: 12 clinics, 400 bookings a week, and each booking form takes a patient about 3 minutes to complete, so the team tests the form with 20 real patients before launch.

At launch, the app passes DTAC and the toolkit, and the group can show an assessor the data map, the processor contracts and the access logs in one file. The booking feature works because the compliance work was done before the code, not after it.

What are the common mistakes?

The most common mistakes in UK healthtech are treating compliance as a document to write at the end, collecting data the app does not need, and assuming a US HIPAA approach covers UK law. It does not: UK GDPR, DTAC and MHRA rules are separate.

  • Building the app first and checking the rules after launch
  • Collecting health data the app never uses, which breaks data minimisation
  • Assuming HIPAA compliance covers UK GDPR
  • Skipping the clinical safety case for an app that affects care
  • Letting all staff see all patients instead of limiting access
  • Using a processor without a data processing agreement
  • Launching without testing the app with real patients

How do you launch and stay compliant?

Launch is the start of compliance, not the end of it. Rules change, processors change, and the app itself changes, so the compliance file needs an owner and a review date.

  1. Assign one person to own the compliance file and review it every quarter.
  2. Re-run the data protection impact assessment whenever the app adds a data type or a processor.
  3. Keep the DTAC evidence current, and re-assess when the app changes materially.
  4. Log and review access monthly, and remove accounts when staff leave.
  5. Plan the incident response: who is told, how fast, and what is fixed first.

A healthtech app that stays compliant is one where the team treats the rules as part of the product, not as a hurdle before launch. If you are building for the NHS, digital-first NHS healthcare apps shows how NHS services expect apps to work.

Key takeaways

  • UK GDPR and the Data Protection Act 2018 govern health data; DTAC governs NHS use; MHRA rules apply if the app is a medical device.
  • Decide the app's claim and data map before writing code; that decides which rules apply.
  • Collect only the data the app needs, limit staff access, and log every access.
  • Complete DTAC and the Data Security and Protection Toolkit before launch, and register with the MHRA if needed.
  • Compliance needs an owner and a quarterly review after launch.

Frequently asked questions

Does a healthtech app need MHRA registration?

Only if the app is a medical device, which usually means it diagnoses, monitors a condition, calculates a dose or gives a risk score. An app that only books appointments or shows general information is usually not a device. If you are unsure, check the MHRA guidance or ask a regulatory adviser before launch.

Is HIPAA compliance enough for the UK?

No. HIPAA is US law and does not cover UK GDPR, DTAC or MHRA rules. An app built for the US needs a separate UK compliance review, including a data protection impact assessment and, where it connects to the NHS, a DTAC assessment.

What is DTAC and when do I need it?

DTAC is the Digital Technology Assessment Criteria used by NHS England to check that a health technology is clinically safe, protects data, is secure and is usable. You need it when an NHS organisation buys or uses your app, and it is a useful checklist even when nobody requires it.

Can patient data be hosted outside the UK?

It can, but only with a lawful transfer mechanism, such as an adequacy decision or standard contractual clauses, and only where the contract allows it. Many NHS contracts require UK or EEA hosting, so check the contract before choosing a host.

How long does DTAC take?

It depends on how ready your evidence is. A team with a data map, risk assessments and test results can complete it in weeks. A team that starts from scratch, without a privacy notice or a clinical safety case, should expect months.

What happens if my app changes after launch?

You should re-assess. A new data type, a new processor or a new medical claim can change which rules apply, so update the data protection impact assessment and the DTAC evidence, and re-register with the MHRA if the device status changes.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Building a healthtech app for the UK and unsure which rules apply?

A senior engineer replies within one business day. Or see our Custom Software Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call