
FHIR Resources Explained: Types, Structure and Examples
Learn FHIR resources step by step: what each resource type holds, how IDs, references and extensions work, and how to choose the right ones.
Learn what drives healthcare app development cost, from EHR integrations and HIPAA safeguards to FDA status, and how to build a defensible estimate.

Under section 520(o)(1)(E) of the Federal Food, Drug, and Cosmetic Act, two healthcare applications with identical screens and workflows can land on opposite sides of FDA's medical device definition, depending on what their intended use statement claims and whether clinicians can independently review the basis for an automated recommendation. Founders and product leaders who estimate healthcare app development cost by counting screens or user stories routinely miss the engineering work that dominates the budget: regulated cloud boundaries, clinical interoperability, and lifecycle evidence. Below, we break down how system boundaries, clinical risk classification, project phases, and postlaunch obligations drive total lifecycle spend, along with a step-by-step method for building an estimate you can defend without relying on generic price lists.
Software intended for the diagnosis, cure, mitigation, treatment, or prevention of disease can be regulated as a medical device under the FDA Software as a Medical Device (SaMD) framework. That single classification rule explains why two apps with identical front-end designs require very different engineering, quality-system, and validation budgets. Once a product's claims cross into regulated clinical territory, the budget expands well beyond writing feature code.
Even outside medical-device oversight, the user interface accounts for less of the total engineering effort than regulated backend infrastructure and integrations. When an application handles Protected Health Information (PHI) for a covered entity or business associate, engineering must implement the technical safeguards in 45 CFR 164.312 under the HHS HIPAA Security Rule: access control, audit controls, integrity mechanisms, person or entity authentication, and transmission security. Adding clinical workflow rules, EHR connections, and audit-ready documentation shifts the center of gravity from visual polish to verifiable system controls.
The visual balance between patient-facing screens and regulatory obligations captures how healthcare software budgets behave in practice.

Every major budget swing traces back to six architectural and regulatory scope choices that teams should settle before sprint planning starts.
| Driver | Scope choice that raises cost | Why it adds cost | Decide during discovery |
|---|---|---|---|
| Features | Clinical logic, write-back to the chart, clinician decision support | Clinical functions need validation evidence beyond ordinary QA | Clinical feature list with intended users |
| Integrations | EHR read and write through FHIR R4 APIs or HL7 v2 feeds such as ADT and ORU messages, across several EHR vendors | Each EHR has its own onboarding, sandbox limits and version behavior | Target EHRs and the USCDI data classes each one must supply |
| Compliance | PHI handled for a covered entity or business associate | Safeguards under 45 CFR 164.312, risk analysis, audit logging and BAAs | Whether PHI enters the system and which vendors receive it |
| Regulatory status | Intended use includes diagnosis, cure, mitigation, prevention or treatment of disease | Premarket pathway, quality system records, cybersecurity evidence and change control | Intended use statement and CDS criteria |
| Platforms | Native iOS and Android apps plus a web portal, with separate clinician and patient views | Device matrix, role-based interfaces, app store review cycles | Supported devices, operating system versions and user roles |
| AI | Model output in the clinical path, third-party model APIs, retraining on new data | Validation datasets, bias and drift monitoring, documented model updates | Whether AI output reaches a clinical decision or stays administrative |
Clinical decision support illustrates how subtle product choices change total engineering scope. Under section 520(o)(1)(E) of the FD&C Act and the FDA Clinical Decision Support Software guidance, a clinical decision support (CDS) function must meet four statutory criteria to stay outside the device definition, including enabling a healthcare professional to independently review the basis for a recommendation rather than relying primarily on it for an individual patient decision. When an AI model hides its reasoning inside a black box, the software moves toward regulated device status, adding intended-use analysis, risk classification, rationale presentation in the UI, validation evidence, and formal change control.
Staffing for these combined domains also shapes project planning, since teams need developers who understand interoperability standards, clinical workflows, and security controls simultaneously. For teams building regulated digital health platforms, working with an experienced healthcare app development team early in discovery helps lock system boundaries across healthcare AI and EHR integration work before code is written.
If the intended use points toward a regulated device, our guide to SaMD classification under FDA rules explains how risk class changes the work. Three concrete questions establish your budget baseline before anyone estimates engineering hours: whether the app stores, transmits, or displays PHI; which EHRs and USCDI data classes it must touch; and what the intended use statement explicitly claims.
Treating development as a single coding block hides where regulated effort sits. Splitting the lifecycle into six sequential phases lets you assign clear ownership and require concrete evidence before releasing budget for the next stage.
Discovery belongs to product and compliance leads, who must produce a signed intended use statement, a clinical risk classification, a list of target EHRs, and an end-to-end data-flow diagram marking every boundary where PHI enters, rests, or exits. Without those four artifacts, downstream engineering estimates are guesses.
Architecture sits with the lead engineer and compliance reviewer, whose output is a locked design covering SMART on FHIR launch flows, OAuth 2.0 scopes and token handling, tamper-resistant audit logging, encryption key management, and cloud environment isolation. Changing identity, logging, or data-isolation patterns after feature development begins forces expensive rewrites across every service.
Implementation is owned by the engineering team alongside EHR vendor onboarding contacts, delivering core application features, FHIR R4 endpoints or HL7 v2 interfaces (such as ADT admission feeds and ORU lab results), and terminology mapping that normalizes local codes into standard vocabularies.
Verification and validation shift ownership to QA engineers, independent security testers, and clinical reviewers. Before moving forward, this phase must produce requirements-to-test traceability matrices, clinical workflow validation results, penetration test reports, and regression test evidence across each supported EHR version.
Regulatory and launch readiness fall to compliance and engineering leads, who assemble quality-system records, product labeling, cybersecurity evidence, and a software bill of materials (SBOM) listing commercial, open-source, and off-the-shelf components. Under the FDA Premarket Cybersecurity Guidance, manufacturers of regulated medical-device software must identify cybersecurity risks, define controls, validate them in the intended environment, assess third-party component vulnerabilities, and maintain postmarket vulnerability-management processes. Because each security requirement maps directly to design inputs, verification records, and controlled updates, cybersecurity adds recurring engineering and documentation effort across every phase rather than acting as a single prelaunch task.
Deployment is shared by operations engineering and each target EHR vendor, closing only when production onboarding is signed off per health system and live interface monitoring is active.
Postponing architecture and data-flow decisions to keep an early build quote low creates a serious risk of expensive remediation once gaps surface during validation or regulatory review.
Give every phase its own line item in the budget, assign one accountable owner from product, engineering, compliance, or the vendor side, and define the exact evidence artifact required before authorizing the next phase. For a closer look at the integration line alone, see our breakdown of EHR integration cost.
Shipping version one starts the longest cost phase of a regulated healthcare product. Five recurring operational categories keep the system compliant, connected, and clinically usable long after initial launch.
Hosting and infrastructure sit with cloud engineering and cover compute, encrypted databases, disaster-recovery backups, long-term audit log retention, and strictly separated sandbox and production environments. Confirm which managed cloud services are covered under your cloud provider's Business Associate Agreement (BAA) by checking the provider's official BAA documentation as of the month and year you prepare your estimate, since eligible service lists change over time. Tracking spend across isolated clinical environments also takes ongoing discipline: tag every resource by environment and workload so engineering and finance can see which clinical system drives each line of the cloud bill.
Security testing and periodic risk reviews involve both security engineering and the regulated organization. Under the HHS HIPAA Security Rule cybersecurity guidance, the Security Rule requires confidentiality, integrity, and availability of electronic PHI, and HHS expects periodic risk analysis that evaluates vulnerabilities including unpatched software. The regulated entity remains accountable for its overarching risk program, while engineering must deliver recurring vulnerability patching tied to the SBOM, configuration evidence, access-control records, and audit-log demonstrations proving controls operate as designed. Our overview of HIPAA compliance for software development breaks down how those engineering controls operate in production.
Business Associate Agreements belong to legal, compliance, and vendor management teams. Under 45 CFR 164.308(b) and 45 CFR 164.504(e), every business associate that creates, receives, maintains, or transmits PHI needs a written business associate contract, covering cloud hosting, transactional SMS or email gateways, analytics pipelines, and third-party AI APIs. Budgeting must include legal review cycles and ongoing vendor tracking whenever engineering adds or swaps a service.
Maintenance falls on sustaining engineering teams, who absorb scheduled EHR platform upgrades, FHIR API version deprecations, mobile operating system updates, and daily interface error monitoring. Even stable clinical workflows break when an upstream health system changes local code mappings or rotates certificates.
Regulatory upkeep belongs to quality affairs and machine learning engineering, covering formal change control, user complaint handling, and postmarket surveillance. For AI-enabled clinical functions regulated as medical devices, the FDA AI-enabled medical devices guidance states that FDA reviews modifications when they could significantly affect safety or effectiveness. Model retraining or prompt updates can require documented performance checks whenever a product's change-control plan requires them.
Confirm your exact BAA boundaries, HIPAA obligations, and regulatory maintenance duties with qualified legal and regulatory advisors before locking an annual operating budget.
Generic app calculators fail in healthcare because they treat integrations and compliance as percentage markups instead of concrete engineering workstreams. A defensible model prices system boundaries directly, accounts for external vendor friction, and separates one-time build items from recurring operational lines.
Empirical data explains why integration estimates need explicit contingency. A national survey of digital-health companies published on HealthIT.gov found that 73% used standards-based APIs for EHR integration, yet about half reported high fees as a substantial barrier, and about 4 in 10 cited a lack of realistic clinical testing data or data elements of little value. Standards reduce coding effort, but they don't eliminate vendor onboarding delays or data gaps.
Build your estimate in seven ordered steps:
Across healthcare software budgets, the two lines teams most frequently omit are dedicated regulatory evidence workstreams and a per-EHR interoperability reserve. Putting both in the first draft prevents mid-project budget resets.
Consider a hypothetical patient intake application built to collect demographics, medication lists, and consent forms before clinic visits. In version one, the app connects to a single EHR using FHIR R4 Patient, Appointment, and MedicationStatement resources through a SMART on FHIR backend workflow. The estimate prices one vendor onboarding queue, one sandbox test cycle, one set of local code mappings, and an interoperability reserve sized for that single EHR's data gaps.
Now trace what happens when the product team adds a second EHR vendor to win a regional health system. The second connection doesn't reuse the first vendor's registration, access fee structure, or sandbox data quality. Engineering must add a separate line item for the second vendor's app review and OAuth 2.0 configuration, map distinct local encounter and allergy code sets, run independent regression tests against the second EHR's release schedule, and expand the interoperability reserve to cover unavailable fields discovered only during production validation. Modeling that second EHR as its own integration program shows stakeholders immediately why adding a second system multiplies integration and maintenance effort rather than acting as a minor configuration change.
Controlling total spend works best when you trim product scope and architectural duplication while keeping regulated safeguards fully funded. Several practical choices lower both build time and ongoing operating overhead without introducing compliance debt:
Certain engineering and compliance items don't scale down safely for an early release. Keep HIPAA audit controls, encryption in transit and at rest, documented risk analysis, executed BAAs for every PHI-touching vendor, SBOM tracking with vulnerability management, and formal change control funded from the first build. Our HIPAA compliant app development checklist lists these controls in build order.
Cutting foundational security or documentation controls to shrink an initial quote rarely removes the cost; it moves the work into validation, hospital security review, or regulatory submission, where architectural rework is far more disruptive.
Separating discretionary feature scope from essential assurance controls lets product leaders launch leaner software without creating rework traps later in the lifecycle.
Healthcare app scoping
Need a defensible estimate for a healthcare app?
We scope intended use, PHI data flows, EHR integrations and regulatory evidence first, then price each workstream so the budget holds up through validation and launch.
Prefer to pick a time? Book a call directly
Estimate healthcare app development cost by system boundary, PHI exposure, and clinical risk class rather than by feature count. Fund regulatory documentation, cybersecurity testing, and quality evidence as explicit workstreams with named owners and exit artifacts instead of treating them as late-stage overhead. Budget every EHR connection as an uncertain integration program backed by an interoperability reserve, because standards-based APIs reduce coding effort without eliminating access fees, sandbox limits, or missing clinical data. Include recurring hosting, security testing, BAA oversight, EHR maintenance, and regulatory upkeep in total cost of ownership from day one.
This article provides general engineering guidance rather than medical, legal, or billing advice; confirm BAA scope, HIPAA applicability, and medical-device classification with qualified legal and regulatory advisors.
Companies ready to scope EHR integrations, clinical SaaS, or an AI delivery roadmap can start by talking to Ekipa's HealthTech engineers.
No, HIPAA applies to covered entities and business associates that create, receive, maintain, or transmit PHI on their behalf. A consumer wellness app that never handles PHI for a covered entity or business associate may fall outside HIPAA under 45 CFR Parts 160 and 164, though other federal and state privacy laws can still apply. Confirm applicability with qualified privacy counsel before excluding HIPAA safeguards from your technical design.
Classification depends on the software's intended use and clinical claims rather than the frameworks used to build it. Software intended for the diagnosis, cure, mitigation, treatment, or prevention of disease can be regulated by the FDA as a medical device, adding quality-system records, cybersecurity evidence, and potential premarket review. Defining intended use in writing during discovery establishes your regulatory boundary early.
Each vendor that acts as a business associate by creating, receiving, maintaining, or transmitting PHI requires a business associate contract under 45 CFR 164.308(b) and 45 CFR 164.504(e). That typically includes cloud hosting providers, messaging gateways, logging tools, and third-party AI APIs whenever PHI passes through their services. Work with legal counsel to verify business associate status and review contract terms before integrating any vendor.
EHR connections depend on external vendor processes, licensing terms, and clinical data quality that standalone features don't encounter. Standards-based APIs lower initial build effort compared with proprietary interfaces, yet access fees, sandbox limitations, missing fields, and version differences still add onboarding, mapping, and testing work for each EHR. Estimating each target EHR separately with a dedicated interoperability reserve accounts for that variance.
Yes, keeping AI output in administrative or drafting tasks outside the clinical decision path can simplify validation and regulatory workstreams. Whether an AI feature avoids medical-device oversight depends strictly on its intended use, clinical claims, and whether clinicians independently review any recommendations. Confirm that regulatory boundary with qualified advisors before locking your AI architecture or budget.

Learn FHIR resources step by step: what each resource type holds, how IDs, references and extensions work, and how to choose the right ones.

Medical device software development explained: IEC 62304 lifecycle, ISO 14971 risk, FDA documentation, cybersecurity and AI change control.

Telemedicine software development guide covering features, HIPAA and BAA rules, state licensure, FHIR integration and a step-by-step build plan.
Connect with our team to explore how AI expertise can transform your business.