01
Principles for choosing a HealthTech technology stack
Before comparing tools, agree on the constraints that narrow the field. Most stack debates end quickly once these are written down.
- Boring beats novel. Pick technologies with large talent pools and long support windows. Health systems keep software for a decade.
- Auditability is a feature. You need to answer "who accessed this record, when and why" for any PHI. Choose tools that make that easy.
- Interoperability is a first-class concern. Plan for FHIR R4, HL7 v2 and vendor APIs from the first sprint, not as a later add-on.
- Hiring reality matters. A stack your team cannot staff is a risk. Favor languages and frameworks you can recruit for in the US market.
- Customer environments vary. Some buyers will insist on a particular cloud, SSO provider or data residency. Keep cloud-specific code at the edges.
02
Reference stack by layer
The table lists common, defensible choices. Treat the options as examples; many other combinations work well.
| Layer | Common options | Healthcare-specific considerations |
|---|---|---|
| Web frontend | React or Next.js with TypeScript | Accessibility (WCAG 2.1 AA is a frequent customer expectation), session timeouts, no PHI in URLs or client-side logs |
| Mobile | Swift/SwiftUI, Kotlin, React Native, Flutter | Secure storage (Keychain, Keystore), biometric unlock, certificate pinning, HealthKit and Health Connect access |
| Backend services | Node.js/TypeScript, Python, Java/Kotlin, C#/.NET, Go | Strong typing for clinical data models, mature FHIR libraries (HAPI FHIR for Java, for example), long-term support releases |
| API style | REST with OpenAPI, FHIR REST, GraphQL where justified | FHIR resources for clinical exchange; plain REST for product features; versioning discipline |
| Primary database | PostgreSQL | Row-level security for tenants, field-level encryption for sensitive columns, point-in-time recovery, audit extensions |
| Clinical data store | FHIR server (HAPI FHIR, Azure Health Data Services, Google Cloud Healthcare API, AWS HealthLake) or relational model | Decide whether FHIR is your system of record or only an exchange format |
| Messaging and queues | Kafka, RabbitMQ, SQS, Pub/Sub | Idempotent consumers, dead-letter queues, replay for failed HL7 and FHIR deliveries |
| Interface engine | Mirth/NextGen Connect, Rhapsody, Cloverleaf, Azure Logic Apps | HL7 v2 parsing, channel monitoring, mapping to FHIR, customer-specific message variants |
| Identity | Auth0, Okta, Cognito, Keycloak, Azure Entra ID | SAML and OIDC SSO for enterprise customers, MFA, SMART on FHIR OAuth 2.0 flows |
| Cloud | AWS, Microsoft Azure, Google Cloud | BAA coverage for the services you use, region control, managed key services, logging by default |
| Infrastructure as code | Terraform, Pulumi, CloudFormation, Bicep | Reproducible environments and reviewable security changes |
| Observability | OpenTelemetry, Datadog, Grafana stack, CloudWatch | Logs must not contain PHI; trace IDs instead of identifiers; alerting on integration failures |
03
Frontend and mobile choices for health products
For web, TypeScript with React (often via Next.js) is the most common choice because of the talent pool and component ecosystem. Health-specific requirements show up in details: automatic session timeout for shared clinical workstations, screen-reader support for patients with disabilities, and careful handling of printed or exported records.
For mobile, the main decision is native versus cross-platform. Native Swift and Kotlin give the cleanest access to HealthKit, Health Connect, Bluetooth Low Energy and background processing. React Native and Flutter reduce duplicate work for workflow-heavy apps but can add friction for device pairing and background sync. Our HealthTech app development team usually decides this after mapping device and sensor requirements.
Whatever you pick, keep PHI off the device where possible, encrypt what must stay, and never write identifiers into crash reports or analytics events.
04
Backend, database and data layer
A modular monolith is the right starting point for most early products. It is easier to secure, audit and deploy than a fleet of microservices. Split out services only when a boundary is real: an integration gateway with different scaling and failure behavior, an AI inference service, or a document-processing pipeline.
PostgreSQL covers most needs. For multi-tenant SaaS, row-level security policies or a schema-per-tenant model give defense in depth against cross-tenant leaks. Store large binaries (images, scanned documents) in object storage with server-side encryption and short-lived signed URLs, not in the database.
Decide early whether your clinical data model is native FHIR or an internal model mapped to FHIR at the edges. A FHIR-native store speeds up interoperability but can constrain product-specific queries. An internal model is flexible but needs disciplined mapping. Many teams run both: an internal relational model for product features and a FHIR facade for exchange.
05
The interoperability layer: FHIR, HL7 v2 and APIs
Most US health systems still exchange a large share of data over HL7 v2 (ADT for admissions, ORM and ORU for orders and results, SIU for scheduling) while exposing newer data through FHIR R4 APIs. A product that integrates with hospitals will usually need both.
In practice that means an interface engine for HL7 v2 channels, a FHIR client library, and a mapping layer. For example, an engine channel might map an ADT^A04 registration message to a FHIR Patient and Encounter. The ONC Cures Act Final Rule pushed certified EHRs toward standardized FHIR APIs and USCDI data classes, which makes FHIR the default for new patient and provider access integrations.
- Use FHIR integration for patient access, provider access and SMART app launches.
- Use HL7 v2 integration where hospital systems only expose message feeds.
- Build EHR and EMR integrations against vendor sandboxes, then expect site-specific variation in production.
- Treat each customer's interface as configuration, not code, wherever possible.
06
Cloud, security and DevOps
AWS, Azure and Google Cloud all offer BAAs and healthcare-oriented services. A BAA is a contract, and it covers only the services listed in it. Verify that every service handling PHI is in scope, and turn off anything that is not.
The Security Rule requires covered entities and business associates to implement administrative, physical and technical safeguards, informed by a risk analysis. Several engineering controls help satisfy those safeguards: encryption in transit and at rest, unique user IDs, audit logging, automatic logoff, role-based access, backup and tested restore. The HIPAA article for startups separates what the law requires from what is good practice.
07
AI, analytics and data pipelines
If your roadmap includes machine learning or large language models, plan the data pipeline first. Separate identifiable and de-identified data stores, track lineage, and log model inputs and outputs in a way that does not copy PHI into places it should not live.
For LLM features, common components include a vector store for retrieval, a prompt and guardrail layer, evaluation harnesses and human review queues. Use only model endpoints covered by a BAA when PHI is involved, and verify data retention terms. See healthcare LLM integration for architecture patterns, and healthcare analytics platform development for warehouse design.
08
How the stack changes from MVP to enterprise
The mistake we see most often is the opposite of over-engineering: skipping audit logging and tenant isolation in the MVP because they are not visible, then paying for a rewrite when the first health system asks for them. Our MVP development approach keeps those foundations while limiting product scope.
| Stage | What to keep simple | What to invest in |
|---|---|---|
| Prototype or discovery | Mock data, no real PHI, managed services | Clickable flows and a single risky technical spike |
| MVP | One deployable, one database, one cloud region | Authentication, audit logs, backups, a BAA-covered environment, one real integration |
| Early customers | Monolith with clear module boundaries | SSO, tenant isolation, monitoring, security questionnaire answers, penetration test |
| Enterprise scale | Shared platform services only when needed | Integration gateway, disaster recovery testing, data warehouse, formal access reviews |
09
Making the final call and getting help
Write a short architecture decision record for each layer: options considered, the decision, and the reasons. Review it with your security lead, your integration lead and, if relevant, regulatory counsel. Revisit when your customer mix changes.
If you want a second opinion, our HealthTech product consulting service reviews proposed stacks against your roadmap and compliance needs, and our cloud engineering and software development teams can build and operate the result. Also see the companion guide on HealthTech software architecture.
Frequently asked questions
What is the best programming language for HealthTech?
There is no single best option. TypeScript, Python, Java, Kotlin and C# all power production health products. Choose based on your team's skills, available FHIR and HL7 libraries, customer environment constraints and hiring market. Strong typing and mature tooling help with clinical data models.
Should I use a FHIR server as my main database?
Sometimes. A FHIR-native store speeds up interoperability and suits data-exchange-heavy products. Product-specific features such as complex reporting or workflow state often fit a relational model better. Many teams keep an internal relational model and expose FHIR through a facade or sync layer.
Is AWS, Azure or Google Cloud better for HIPAA workloads?
All three offer BAAs and healthcare services, and each can host compliant systems when configured correctly. Pick based on customer requirements, team experience, regional needs and the specific managed services you plan to use. Always confirm each service is covered by the BAA.
Do I need microservices for a HealthTech product?
Usually not at the start. A modular monolith is simpler to secure, audit and operate. Extract services when a boundary has a clear reason, such as an integration gateway, an inference service or a component with different scaling or compliance needs.
Does using a HIPAA-eligible cloud service make my app compliant?
No. Eligibility only means the provider will sign a BAA for covered services. Your application still needs a risk analysis, access controls, audit logging, encryption decisions, incident response and policies. Compliance describes your whole program, not a hosting choice.
Sources and further reading
- HHS: HIPAA Security Rule summary
- HL7 International: FHIR overview
- HealthIT.gov: ONC Cures Act Final Rule
- NIST: Cybersecurity Framework
This page is general information, not legal or regulatory advice. Requirements depend on your product, data and organization; consult qualified counsel for your situation.