Why and when organizations outsource
Organizations outsource healthcare engineering for capacity, speed, or specialized skills: a startup that needs a platform built before it can hire a full team, a health system without interface engineers for a large integration program, a SaaS company modernizing a legacy product while its core team keeps shipping features.
Outsourcing works best when you keep ownership of product direction and architecture decisions, define outcomes clearly, and treat the vendor's engineers as part of your delivery system with shared tooling, standards, and visibility. It works worst when it is used to avoid deciding what you want, or when the vendor becomes the only party that understands your system.
Engagement models
| Model | How it works | Good fit | Risks |
|---|---|---|---|
| Project-based (fixed scope) | Vendor delivers a defined scope, often at a fixed price | Well-understood, bounded work such as a single interface or a defined feature set | Scope disputes, change orders, incentive to cut corners on non-functional quality |
| Time and materials | You pay for effort; scope is flexible | Evolving requirements, discovery-heavy work | Cost drift without strong product management |
| Dedicated team | Vendor provides a stable team working under your direction | Ongoing product development, long programs | Requires your management attention; knowledge concentration in the vendor |
| Staff augmentation | Individual engineers join your team | Filling specific skill gaps | Integration into your processes; onboarding overhead |
| Managed service | Vendor owns operation of a system against SLAs | Stable systems needing ongoing support, e.g. interface monitoring | Less control; SLA design is critical |
Vendor due diligence checklist
Due diligence should be proportionate to the access the vendor will have. A vendor that will work only with synthetic data in your environment needs less scrutiny than one that will host PHI or have production access. Use the checklist below as a starting point.
Checklist
- Willingness to sign your Business Associate Agreement (or a mutually acceptable one) before any PHI access
- Completed security questionnaire (e.g. SIG Lite, CAIQ, or your own) with evidence for key answers
- Independent assurance reports, such as a SOC 2 Type II report, reviewed by someone qualified, including scope and exceptions
- Description of their secure development lifecycle: code review, SAST, dependency scanning, secrets management
- Workforce security: background checks, HIPAA and security training, onboarding and offboarding
- Device and access controls: managed devices, MFA, least privilege, no PHI on personal devices
- Incident response plan and breach notification commitments with defined timelines
- List of subcontractors who may access PHI, with locations
- Insurance, including cyber liability, appropriate to the risk
- Relevant healthcare engineering references you can contact
- Sample deliverables: architecture documentation, test reports, runbooks (redacted)
BAAs and subcontractor flow-down
A vendor that will create, receive, maintain, or transmit PHI on your behalf is a business associate and must sign a BAA before that access begins. The BAA should cover permitted uses and disclosures, safeguards, reporting of security incidents and breaches, return or destruction of PHI at termination, and the obligation to ensure subcontractors agree to the same restrictions.
Subcontractor flow-down is where many arrangements get loose. If the vendor uses a cloud provider, a ticketing system that will contain PHI, or another firm's engineers, each of those may be a subcontractor business associate. Ask for the list, require notification before new subcontractors gain PHI access, and confirm the vendor has BAAs in place with them.
Reading a SOC 2 report properly
A SOC 2 report is useful evidence, not a certificate of security. Read it rather than filing it. Check that the report type is Type II, which tests operating effectiveness over a period, rather than Type I, which covers design at a point in time. Confirm that the period is recent and that the system description covers the services and locations you will actually use.
Look closely at exceptions noted by the auditor and management's responses, and at complementary user entity controls: the controls the report assumes you will operate. A vendor's SOC 2 does not cover your responsibilities, and a report scoped to the vendor's SaaS product may say nothing about its consulting engineers.
| Check | Why |
|---|---|
| Type II, recent period | Shows controls operated over time, not just designed |
| Scope matches your services | Out-of-scope teams and systems are not covered |
| Trust services criteria included | Security is always included; availability and confidentiality may matter to you |
| Exceptions and responses | Reveal real control weaknesses |
| Complementary user entity controls | List what you must do for the controls to work |
| Subservice organizations | Carve-outs mean those providers are not tested in this report |
IP ownership, knowledge transfer, and the exit plan
Your contract should state clearly that you own the code, documentation, and other work product created for you, subject to any vendor pre-existing components, which should be licensed to you perpetually for use with the deliverables. Review open-source usage and licensing as part of acceptance.
Plan the exit at the start, when your negotiating position is strongest. Specify that code lives in your repositories, infrastructure is defined as code in your accounts, and documentation is kept current as a deliverable. Define a transition assistance period and rates, return or destruction of PHI with written certification, and revocation of all access on termination.
- Source code in client-owned repositories from day one
- Infrastructure, secrets, and cloud accounts owned and controlled by you
- Architecture decision records, runbooks, and onboarding docs as contractual deliverables
- Transition assistance obligations with defined duration
- PHI return or destruction with certification at termination
- Access revocation checklist executed and verified
Offshore and nearshore PHI access considerations
HIPAA does not expressly prohibit PHI from being accessed or stored outside the United States. But offshore access adds practical and legal complexity: enforcement against a foreign entity is harder, some state laws and government program contracts impose restrictions or disclosure requirements, and many health system and payer customers prohibit offshore PHI access in their own contracts.
Before allowing offshore engineers to access PHI, check your customer contracts, state law, and any government program obligations, such as Medicaid or Medicare Advantage arrangements, with counsel. A common pattern is to keep offshore and nearshore engineers in synthetic-data environments, with production and PHI access limited to onshore personnel or to tightly controlled, audited break-glass procedures.
| Pattern | How it works | Trade-off |
|---|---|---|
| Synthetic-only development | Offshore teams work with synthetic data; no PHI in non-production | Requires good synthetic data and test tooling |
| Onshore production access | Only onshore staff can access production and PHI | Support coverage across time zones needs planning |
| Virtual desktop with controls | PHI viewed only through managed VDI with no copy or download | Cost and latency; still counts as access |
| Masked or de-identified data | Debugging uses de-identified datasets | Some defects need real data patterns to reproduce |
Governing the relationship
Outsourced work needs the same engineering governance as in-house work. Use the same repositories, pipelines, code review standards, and definitions of done. Review architecture decisions jointly. Track delivery metrics and quality indicators such as escaped defects, change failure rate, and security findings.
Review access quarterly. Contractors join and leave vendor teams, and stale accounts with PHI access are a common audit finding. Hold periodic security reviews, refresh the vendor's assurance evidence annually, and make sure the vendor appears in your HIPAA risk analysis and incident response plans.
References
- HHS business associates guidance
- HHS sample business associate agreement provisions
- 45 CFR Part 164 (HIPAA Privacy and Security Rules)
- NIST SP 800-66r2: Implementing the HIPAA Security Rule
This guide is educational and is not legal or regulatory advice.
Frequently asked questions
Do we need a BAA with a software development vendor?
You need one if the vendor will create, receive, maintain, or transmit PHI on your behalf, for example by accessing production systems, receiving data extracts, or hosting your application. If the vendor works only with synthetic data and has no PHI access, a BAA may not be required, but confirm that the arrangement truly prevents PHI exposure, including through logs and support tickets.
Is offshore software development allowed under HIPAA?
HIPAA does not expressly prohibit offshore access to PHI, but it adds risk and complexity. Customer contracts, state laws, and government program obligations may restrict it. Many organizations keep offshore engineers in synthetic-data environments and limit PHI and production access to onshore staff or tightly controlled, audited mechanisms. Review your obligations with counsel.
What should we look for in a vendor's SOC 2 report?
Confirm it is a recent Type II report whose scope covers the services and teams you will use. Read the auditor's exceptions and management responses, the complementary user entity controls you are expected to operate, and any carved-out subservice organizations. A SOC 2 report is evidence about controls, not a guarantee of security or HIPAA compliance.
Who owns the code when we outsource development?
Whoever the contract says. Make sure it assigns ownership of all custom work product to you, grants a perpetual license to any vendor pre-existing components used in deliverables, and requires code to live in your repositories from day one. Address open-source licensing in acceptance criteria.
How do we avoid lock-in with an outsourcing vendor?
Own the repositories, cloud accounts, and secrets. Make documentation, runbooks, and architecture decision records contractual deliverables. Rotate some knowledge to your own staff through pairing and reviews, and define transition assistance obligations in the contract before work begins.