Process at a glance
The eight steps below are not a waterfall. Steps four through six repeat in iterations, and monitoring feeds back into discovery for the next increment. What stays fixed is the handoff discipline: no step starts without the inputs it needs, and every step ends with outputs that are written down, reviewed, and traceable.
| Step | Key inputs | Key outputs |
|---|---|---|
| 1. Discovery and Requirements | Business goals, stakeholder interviews, regulatory context | Problem statement, requirements backlog, regulatory classification notes |
| 2. Clinical Workflow and System Analysis | Requirements, site visits, existing system inventory | Current and future workflow maps, integration inventory, data flow diagrams |
| 3. Architecture and Security Planning | Workflows, integration inventory, non-functional requirements | Architecture decision records, threat model, PHI boundary, hosting plan |
| 4. Technical Design and Prototyping | Architecture, prioritized backlog | Interface specifications, data model, clickable or working prototypes |
| 5. Healthcare Software Engineering | Designs, specs, acceptance criteria | Working, reviewed, tested increments with traceability |
| 6. Interoperability and Quality Testing | Increments, sample messages, test plans | Test evidence, conformance results, defect reports |
| 7. Production Deployment and Validation | Release candidate, runbooks, customer sign-offs | Deployed release, validation records, go-live report |
| 8. Monitoring, Maintenance, and Optimization | Production telemetry, user feedback, upstream changes | Incident reports, improvement backlog, maintenance releases |
Step 1: Discovery and Requirements
Discovery establishes what problem the software solves, for whom, and under which constraints. In healthcare, that includes regulatory questions — PHI handling, business associate status, possible device classification — that must be raised before anyone sketches an architecture.
Inputs
- Business objectives and success measures defined by the product owner.
- Interviews with clinical, operational, IT, and compliance stakeholders.
- Existing contracts, BAAs, and customer requirements documents.
Outputs
- A problem statement and scope boundary that names what is out of scope.
- A prioritized requirements backlog with acceptance criteria.
- Regulatory notes: PHI categories, HIPAA role, device classification questions for counsel.
- Known risks and open questions with owners.
Step 2: Clinical Workflow and System Analysis
Requirements written in a conference room rarely survive a visit to the unit. This step observes how work actually happens — which screen a charge nurse checks first, when an order is placed relative to admission, what happens when a patient is transferred mid-shift — and inventories every system the new software will touch.
Inputs
- The requirements backlog from step 1.
- Workflow observation sessions or recorded walkthroughs with fictional patients.
- Interface specifications, sample messages, and API documentation from counterparties.
Outputs
- Current-state and future-state workflow maps, including exception paths.
- An integration inventory listing each system, protocol, message types, direction, and volume.
- Data flow diagrams showing where PHI originates, moves, and rests.
- Refined requirements reflecting real workflow constraints.
Step 3: Architecture and Security Planning
Architecture turns workflows and integrations into structural decisions: service boundaries, tenancy, data stores, integration topology, identity, and hosting. Security planning runs alongside, not after. The threat model and the PHI boundary are architectural artifacts.
Inputs
- Workflow maps, integration inventory, and data flow diagrams.
- Non-functional requirements: availability, recovery objectives, data residency, performance.
- Customer security requirements and the organization's risk analysis.
Outputs
- Architecture decision records for tenancy, data model, integration pattern, and identity.
- A threat model covering PHI flows, external interfaces, and administrative access.
- A hosting plan naming HIPAA-eligible services under a signed cloud BAA.
- Security requirements derived from frameworks such as OWASP ASVS.
Step 4: Technical Design and Prototyping
Design makes the architecture concrete enough to build and test. Prototypes reduce the two biggest risks early: clinicians rejecting a workflow, and an integration that does not behave as documented. A thin vertical slice that receives a real-format ADT message and renders the patient on a screen teaches more than a week of diagrams.
Inputs
- Architecture decision records and threat model.
- The prioritized backlog for the first increments.
- Sample HL7 messages or FHIR resources from counterparties.
Outputs
- Interface specifications and mapping documents per counterparty.
- A logical and physical data model, including terminology bindings.
- Clickable prototypes validated with clinical users, or working spike code for risky integrations.
- API contracts in OpenAPI or FHIR CapabilityStatement form.
Step 5: Healthcare Software Engineering
Implementation runs in short iterations with peer review, automated tests, and static analysis on every change. Each requirement links to the code and tests that satisfy it, which keeps audit and customer questions answerable later and is mandatory for device software.
Inputs
- Designs, interface specifications, and acceptance criteria.
- Coding standards, secure development guidelines, and the definition of done.
Outputs
- Working, reviewed code merged behind feature flags where appropriate.
- Unit, integration, and contract tests running in CI.
- SAST, dependency, and secrets scanning results with tracked remediation.
- Traceability links from requirement to commit to test.
Step 6: Interoperability and Quality Testing
Testing in healthcare goes beyond functional correctness. Interfaces must handle out-of-order events, duplicate messages, merges, corrections, and malformed fields. Clinical scenarios must walk synthetic patients through realistic journeys. Security testing covers authorization edge cases — can a user in one facility see another facility's patients?
Inputs
- Release candidate builds.
- Recorded and synthetic message sets, including edge cases from step 2.
- Test plans tied to requirements and risk.
Outputs
- Test execution evidence and coverage against requirements.
- Interface conformance results per counterparty.
- Penetration test or DAST findings with remediation status.
- A release readiness assessment.
Step 7: Production Deployment and Validation
Deployment into a clinical environment is coordinated with the customer's change management. That means agreed windows, rollback plans, parallel runs where an existing system is being replaced, and validation that the deployed system behaves as tested — not just that it started.
Inputs
- An approved release candidate with test evidence.
- Deployment and rollback runbooks.
- Customer sign-offs and scheduled change windows.
Outputs
- The deployed release with immutable build provenance.
- Post-deployment validation records: smoke tests, interface message counts, user verification.
- A go-live report noting issues, workarounds, and follow-ups.
Step 8: Monitoring, Maintenance, and Optimization
Production is where healthcare software proves itself. Monitoring tracks technical health and business signals: messages processed per interface per hour, queue depth, failed deliveries, authorization denials, and user-facing latency. Maintenance absorbs upstream change — EHR upgrades, new US Core versions, expiring certificates — without surprising customers.
Inputs
- Production telemetry, logs, and alerts.
- User feedback and support tickets.
- Upstream change notices from EHR vendors and customers.
Outputs
- Incident reports with root cause and corrective actions.
- An improvement backlog that feeds the next discovery cycle.
- Maintenance releases and dependency updates.
- Periodic access reviews and audit log reviews supporting the customer's HIPAA program.
Handoff quality checklist
Checklist
- Every step has a named owner and an explicit exit review.
- Outputs are versioned in a shared repository, not scattered across chat threads.
- Clinical input is recorded with who approved which workflow decision.
- Security artifacts — threat model, PHI boundary — are updated when architecture changes.
- Traceability from requirement to test exists before release, not reconstructed afterward.
- Monitoring findings produce backlog items with owners and dates.
References
- NIST Cybersecurity Framework
- OWASP Application Security Verification Standard
- HL7 Version 2 Product Suite
- FDA: General Principles of Software Validation
This guide is educational and is not legal or regulatory advice.
Frequently asked questions
What are the steps in the healthcare software engineering process?
A practical process has eight steps: discovery and requirements; clinical workflow and system analysis; architecture and security planning; technical design and prototyping; engineering; interoperability and quality testing; production deployment and validation; and monitoring, maintenance, and optimization. Design, build, and test repeat iteratively, while monitoring feeds the next discovery cycle.
Why is clinical workflow analysis a separate step?
Because clinical work rarely matches how it is described in meetings. Observing real workflows reveals exception paths, timing dependencies, and role handoffs that change requirements and integration design. Skipping this step is a common reason clinicians reject software at go-live, which is far more expensive to fix than adjusting requirements early.
Is this process agile or waterfall?
It is iterative with disciplined handoffs. Discovery, analysis, and architecture are front-loaded but revisited as learning occurs. Design, engineering, and testing run in short cycles. The difference from loosely run agile is that each step produces written, reviewable outputs — workflow maps, threat models, interface specs, test evidence — that regulated customers and auditors expect.
When does security start in the process?
At discovery, when PHI categories and HIPAA roles are identified, and formally in step three, where the threat model and PHI boundary are defined as architecture artifacts. Security then continues through secure coding, scanning, penetration testing, and production monitoring. Treating security as a final gate before release reliably produces late, expensive rework.