Refactor or rewrite an inherited healthcare application
What a healthcare code audit covers, how findings rank, and whether to stabilize, refactor or rewrite.
Many healthcare organizations depend on applications nobody fully understands. We audit the code, security, build and deployment, tell you plainly what you have, and help you stabilize, modernize step by step or rewrite securely.
Healthcare runs on more custom software than most people realize, built by former staff, contractors or vendors, or grown over years of quick fixes. It often holds personal health information and carries risk nobody has measured:
An audit answers three questions: what do we have, how risky is it, what should we do? We work from code, history, configuration and the people who use it, even with no documentation, and write for leadership, the application owner and your privacy office. Digital health companies get an independent view before hospitals or clinics rely on their product.
The report ends with a recommendation, not just a list of problems:
| Option | When | What we do |
|---|---|---|
| Stabilize | Sound but neglected | Fix urgent findings, update dependencies, add monitoring and tests |
| Refactor incrementally | Core worth keeping | Replace weak parts one at a time behind the existing interface (strangler pattern); staff keep working |
| Re-platform | Platform unsupported | Move off an end-of-life framework, database or operating system |
| Rewrite | Not safe or maintainable at reasonable cost | Rebuild securely, keep the business rules, migrate data with checks at each step |
Each option shows cost drivers, risks and effect on users, so leadership can compare fairly (refactor or rewrite?).
The same team can do the work: code review on every change, automated tests, dependency scanning, no secrets in code, role-based access and audit logging of access to health information. Integrations use your systems' interfaces: HL7 v2 through the hospital's interface engine, FHIR APIs or EMR vendor APIs.
Ownership of and access to the source code are set in the agreement; we can hand over code and documentation at agreed milestones or place them in escrow, so you are never again left with an application nobody can change. We work within the restrictions PHIPA places on service providers, complete your vendor security questionnaire and provide inputs to your threat and risk assessment (TRA) and privacy impact assessment (PIA). Hospitals and agencies engage us through a quote, an invitational process or a formal solicitation; clinics, labs and companies usually start with a written proposal. General information, not legal advice.
Audit length depends on the application's size and how quickly access is arranged; the written scope confirms the timeline.
Agree the questions, access to code and environments, and how health information is protected.
Output: Scope, access plan, service agreement.
Architecture, code and controls, dependency and secrets scans, build, deployment and backups.
Output: Working findings and questions.
Findings ranked by risk and explained plainly, with fixes and a recommended option.
Output: Report, SBOM, executive summary.
Brief leadership, the application owner and privacy and security staff on options, costs and risks.
Output: Agreed plan and scoped proposal.
Remediate urgent findings, then modernize in steps or rebuild securely, with tests and documentation.
Output: Safer application, documents, support plan.
No package prices: estimates in Canadian dollars from an agreed scope, taxes shown separately.
A full rewrite is the costliest, riskiest option and often recreates old problems, because business rules hidden in old code get lost. Many applications are better modernized in stages; the audit gives evidence, and sometimes the answer is a rewrite.
Usually not; we prefer code, configuration and test data. If production must be reviewed, we agree how in advance, work within the restrictions PHIPA places on service providers and limit access to what the review needs.
Your rights depend on the contract. With a source licence or escrow, we work from that; otherwise we review what you can see (configuration, interfaces, behaviour) and help you understand what the contract allows.
If you want. Remediation is scoped and quoted separately, and findings are written so any competent developer, yours or another vendor's, can act on them. Afterwards, application support keeps it patched, fixed, improved and security-reviewed.
What a healthcare code audit covers, how findings rank, and whether to stabilize, refactor or rewrite.
Medium and long-term support for the healthcare applications you rely on, under a written agreement.
Software, integration, hosting, application support, managed IT and security for hospitals, clinics, labs and care providers.
Tell us what the application does, who built it and what worries you. We will arrange a conversation and suggest an independent audit scope.