case study

Extending FHIR: How BodyLogicMD implemented FHIR across its multi-clinic healthcare network

This case study explores how BodyLogicMD, a leading BHRT franchise, replaced its fragmented legacy systems with a unified FHIR platform — extending FHIR with 100+ customizations while maintaining full interoperability using Aidbox.

Executive Summary

BodyLogicMD, a leading provider of bioidentical hormone replacement therapy (BHRT), faced a critical challenge: its 50+ clinics relied on 10+ legacy systems with duplicate patient records, inconsistent data models, and manual data syncs.

To unify their fragmented data, BodyLogicMD adopted a FHIR-based architecture using the Aidbox FHIR server, which enabled them to:

  • Consolidate over 10 systems into a single centralized platform, averaging 1 week per clinic for migration.
  • Save $10K/month in infrastructure costs while maintaining fast 200ms API response times.
  • Implement and deploy integrations with 20+ external services, from ePrescription (DoseSpot) to lab services (Quest Diagnostics).
  • Enable secure multi-tenancy across their franchise network.
  • Implement custom workflows while maintaining full FHIR compliance.

Today, BodyLogicMD's Aidbox-powered system supports a database of 80,000+ patients, enabling seamless care across in-person and telemedicine visits.

Client

BodyLogicMD is a nationwide multi-domain healthcare franchise specializing in bioidentical hormone replacement therapy (BHRT), integrative medicine, and weight loss treatments.

Founded in 2003, it operates in over 95 cities across 41 states, serving more than 80,000 patients annually through in-person and telemedicine consultations. Its 50+ physician-owned clinics specialize in menopause, andropause, and thyroid care, relying on advanced diagnostic testing, EHR-integrated treatment plans, and telehealth for remote consultations.

Recognitions: Named a Top 10 Hormone Therapy Provider by Healthcare Business Review and has been featured on prominent media platforms such as Oprah.com, Fox News, and The Dr. Oz Show, NBC, CBS, ABC, and CNN.

Bodylogic Md state circa 2017

Pre-FHIR Challenges: A Fragmented System

Before adopting FHIR, BodyLogicMD's technology infrastructure faced serious challenges that affected every part of their operations: 

Broken Data Synchronization

The organization depended on a fragile combination of:

  • Manual data transfers between systems.
  • Unreliable automated syncs.
  • 10+ disconnected systems, many custom-built and no longer supported by their original developers.

This led to frequent technical failures and human errors when updating patient records.

Data Inconsistencies

Conflicting information appeared across critical systems:

  • Lab results differed across EHR, LIS, and patient portals.
  • Medication statuses were mismatched between pharmacy management, shipping and tracking systems, and provider prescribing tools.
  • Appointment schedules conflicted across multiple calendar systems.
  • Duplicate patient communications from multiple CRMs.

These issues created confusion throughout the patient journey—from clinical decisions to customer support interactions. Staff struggled to verify accurate information without a single, complete view of each patient.

Organization-Wide Issues

The problems extended beyond technology:

  • Departments used different terms for the same clinical concepts.
  • Teams followed inconsistent business rules for patient workflows.
  • No master patient index (MPI) existed to reconcile differences.

In response to these challenges, BodyLogicMD’s  leadership introduced the "One Patient" strategy as a company-wide directive. This initiative called for every department—technical, support, organizational, and communications—to align around a unified, consistent view of each patient's journey.

For the technical team, this meant fundamentally rearchitecting the data approach. To achieve this, they chose the FHIR data model as the foundation for their new system, aiming to unify data, standardize workflows, and enable seamless interoperability across their franchise network.

Unified platfrom for Bodylogic Goal

FHIR Implementation Challenges

However, adopting FHIR brought its own technical challenges. Although FHIR offered a solid framework, BodyLogicMD faced complex cases that did not fit within the FHIR spec:

Development Friction

Extensions, while interoperable, created a "two-world problem"—native FHIR fields vs. unwieldy URL-based extensions.

Customization Needs

Required entirely new resource types for cross-location task dependencies and franchise-specific status tracking.

FHIR Limitations

10–20% of BLMD's clinical workflows required extensions beyond standard FHIR (e.g., franchise hierarchy access control, clinic-specific operational protocols).

This prompted BodyLogicMD to seek a FHIR server that offered both robust FHIR compliance and the flexibility to address their unique requirements.

Learn more on the subject:
Watch HIMSS’25 talk: Implementation insights with Orlando Osorio, Software Architect at Health Samurai.

Solution: Aidbox FHIR Server

The Aidbox FHIR server emerged as the ideal solution by offering both FHIR compliance and developer-oriented architecture, first class extensibility, performance, and pragmatism.

What set Aidbox apart was its metadata-driven approach. Where conventional FHIR servers often emphasize strict adherence to the standard and a "black box" approach, Aidbox enabled BodyLogicMD to achieve conformance and interoperability while maintaining a focus on development flexibility. This approach allowed BodyLogicMD to extend FHIR naturally and meet its specific requirements without sacrificing compatibility.

1

FHIR-Centric Data Model

The implementation team created a FHIR-centric architecture that served as the organization's single source of truth. This model incorporated:

  • 60% of standard FHIR resources (e.g., Patient, Observation).
  • 5 custom resource types to support BLMD-specific operations.
  • 100+ extensions treated as first-class elements—ensuring full FHIR compliance while eliminating the usual "two-worlds" development problem (core vs. extensions).
  • 40+ custom operations to meet unique business needs.
2

Scalable, Event-Driven Architecture

To support independent development teams and ensure a responsive system, BodyLogicMD adopted a decoupled architecture where services communicated through FHIR resources:

  • Docker containers for independent services (labs, analytics, calendar sync).
  • Event-driven design using FHIR resources as communication channels. Asynchronous workflows where services react to FHIR resource changes (e.g., lab results triggering diagnostic reports).
  • No direct inter-container communication, ensuring clear service boundaries and maintainability.

This allowed independent development teams to work asynchronously, develop in isolation, and maintain composability, interoperability, and integration.

3

Franchise-Wide Multi-Tenancy Access Control

To meet the complex requirements of a franchise model, Aidbox enabled sophisticated access control rules modeled using FHIR Organization resources. Leveraging Aidbox's powerful access control engine and policy rules, BodyLogicMD was able to translate complex business logic into a performant and secure authorization layer:

  • Practitioners could only access patients in their organizational subtree (e.g., a Miami clinician couldn't view Virginia records).
  • Role-based permissions (read/write scopes) enforced using custom compartments beyond the standard FHIR specification, providing granular access control at the data element level (e.g., access to knowledge resources, patient-specific requests, and practitioner access tailored to the user's role and context).

This multi-tenancy solution, built on FHIR, ensured compliance and data security across BodyLogicMD's network, highlighting the flexibility and performance-oriented nature of Aidbox.

Architecture

BodyLogicMD and Aidbox architecture

Results

The implementation delivered measurable benefits to BodyLogicMD:

Simplified FHIR Implementation

1

Cost & Operational Efficiency

  • $10,000/month infrastructure savings by retiring legacy infrastructure.
  • 10+ systems consolidated into a single FHIR platform, with 1-week average migration time per clinic.
  • 20+ third-party integrations standardized on FHIR APIs:
    • ePrescribing: DoseSpot orders auto-populate FHIR MedicationRequest.
    • Payments: Square transactions linked to FHIR Invoice resources.
    • Communications: Twilio SMS alerts for patient and practitioner communications (appointments, lab results, notices, etc.).
    • Quest Diagnostics and LabCorp laboratory systems.
    • Office 365/Exchange calendar integration.
2

System Performance

  • 200ms average API response time.
  • 400ms 95th percentile response time.
3

Clinical & Administrative Improvements

  • 50+ locations operating on single FHIR core.
  • Eliminated duplicate records across patient portals, EHR systems, customer support platforms.
  • Zero manual reconciliation of conflicting lab results or prescriptions.
4

Cost & Operational Efficiency

  • Parallel Development: Having FHIR and Aidbox at the core allowed around 8 different teams to work on services and areas independently. The teams could rely on events, async operations, model consistency, and more to work in parallel.
  • The future-ready FHIR core enabled:
    • Telehealth expansion: FHIR Encounter resources now support virtual visits.
    • Analytics: SQL queries directly against FHIR data for business intelligence.
5

Patient Experience

  • Portal Transparency:  Patients view unified records - from lab results to supplement and pharmaceutical orders.
  • Mobile Access: Responsive design let patients complete FHIR Questionnaire resources on any device.

Conclusion

Simplified FHIR Implementation

Today, BodyLogicMD’s platform serves as a blueprint for multi-tenant healthcare systems. It features granular access control, an event-driven microservices architecture, and certified interoperability across its entire clinical ecosystem.

The true impact of this transformation is most visible in daily clinical workflows. Lab results now automatically update patient records, prescriptions are sent without manual input, and practitioners across all locations work with the tools they need—without delays or manual steps. This smooth, consistent operation shows what FHIR can truly achieve—not just as a standard for data exchange, but as a foundation for more efficient clinical processes.

By leveraging the Aidbox FHIR server, BodyLogicMD continues to provide high-quality, personalized care while scaling its franchise operations effectively. This platform enables them to stay agile, maintain compliance, and focus on what matters most—delivering exceptional health outcomes for their patients.

Russell Nile

Solutions Architect, BodyLogicMD
Aidbox was the only FHIR server flexible enough to handle our 100+ custom extensions without turning into a maintenance nightmare. Now we have both interoperability and the workflows our clinics actually need.

contact us

Get in touch with us today!

By submitting the form you agree to Privacy Policy and Cookie Policy.
Thank you!
We’ll be in touch soon.

In the meantime, you can:
Oops! Something went wrong while submitting the form.