Medplum for clinical laboratories

Running a clinical laboratory on Medplum as a LIS means planning orders, results, instrument connections and calculated results around your own infrastructure and inspection obligations. This page sets out what the build involves and what to ask a partner.

On this page

Medplum for clinical laboratories: why a lab would run its LIS on FHIR

Medplum for clinical laboratories starts with a practical question: can orders and results move reliably between clinics, the laboratory and its instruments, and can the lab produce evidence when an inspector asks for it? A laboratory information system built on FHIR gives those records a common data model, so an order placed in a clinic, a specimen tracked in the lab and a result returned to the ordering provider can all be expressed as linked FHIR resources rather than as fields in a proprietary database. Medplum is an open-source healthcare developer platform built on FHIR, released under the Apache 2.0 license and maintained in the medplum/medplum GitHub repository. Its components include a clinical data repository, a FHIR R4 API, Bots for server-side logic, an HL7 client and server, and a web app, so the platform supplies the building blocks for a LIS rather than a finished laboratory application.

That distinction matters for planning. Medplum is a developer platform, so the order catalog, specimen workflow, result review rules, reference ranges and reporting screens are built and validated by the laboratory's own team or by a partner. Medplum's HL7 client and server handle message exchange with clinical systems, and the Medplum Agent is the component meant to reach systems and devices on premises, which is where most lab connectivity sits. The lab leader should confirm early which interfaces are in scope, which of them need the Agent, and who owns each one. Self-hosting is available as a free Community option or as a custom-priced Enterprise Self-Hosted option, and the lab should confirm with Medplum which option supports its hosting, support and audit requirements.

Inspection readiness depends on the controls around the platform as much as on the platform itself. Medplum's compliance documentation lists CLIA/CAP among the frameworks it addresses and states that compliance is a shared responsibility between Medplum and its customers, so the laboratory must document which controls it operates in its own infrastructure. Before build starts, ask for the compliance documentation in writing, map each inspection question to a system, owner and evidence source, and agree who maintains the validation records for each Bot and interface. The laboratory director and quality lead should review this mapping before the first clinical result is released through the new system.

Which requirements shape a laboratory Medplum build

This table compares the regulatory requirements that touch a laboratory Medplum build and what each one means for access control, audit and incident reporting. Read each row as a design input, then confirm the interpretation with the lab's compliance lead before build decisions are locked. The main takeaway is that no single certification settles these obligations, so the lab must evidence its own controls.

RequirementWhat it means for the lab buildWhat to confirm with the compliance lead
Unique user identification (45 CFR 164.312)Every clinician, technologist and integration account needs its own identity in Medplum, with no shared logins on bench workstations or Agent hosts.Which lab roles map to which Medplum projects and access policies, and how shared instrument accounts are avoided.
Emergency access procedure (45 CFR 164.312)A documented break-glass path must let authorized staff reach critical results during an outage, with its use logged and reviewed afterward.Who may invoke emergency access, how it is recorded, and how the procedure is tested before go-live.
Automatic logoff and encryption (45 CFR 164.312)Session timeouts on shared lab workstations and encryption of ePHI in transit and at rest are addressable specifications that the lab must document as adopted or justified.Session timeout values for bench and reception screens, and how database, Agent and backup encryption is configured and evidenced.
Business associate contracts (45 CFR 164.314)If the lab uses Medplum Cloud or a hosting or support vendor that handles ePHI, the contract must require Security Rule compliance, flow terms to subcontractors and require incident reporting.Whether a BAA covers each vendor in the chain, and that incident notification timelines match the lab's own breach procedures.
No HIPAA certificationNo product or vendor certificate makes a lab Medplum build HIPAA compliant. Evidence must show the lab's own safeguards, risk analysis and documentation.That the lab's documentation, not a vendor's compliance page, is what it presents to HHS or an auditor, and which evidence is kept current.
Proposed Security Rule revision (90 FR 898)HHS proposed changes in January 2025 that are not final. Designs should leave room for stricter controls, such as tighter authentication and asset inventory, without a rebuild.Whether the lab's roadmap tracks the proposal, and which controls would change if a final rule is published.
NIS2 health sector coverage (Annex I)EU reference laboratories fall within the health sector of high criticality under NIS2, which adds security and incident reporting duties for in-scope entities.Whether the lab is an in-scope entity in its member state, and how NIS2 duties map onto its audit logs and incident response.
GDPR Articles 32 and 34 (CNIL fine, 2026)The CNIL fined a hospital in September 2026 for external access without VPN or multi-factor authentication and for access control that ignored need to know. Lab builds need MFA for remote access and role-based access limited to the care team's need.How remote access to the lab system is secured, how access follows need to know, and how breach notification to patients is handled under Article 34.

How orders, results and instruments flow through the lab

Orders usually originate in an ordering system, such as a hospital information system or a physician office system, and reach the lab as HL7 messages. The Medplum HL7 server receives these messages and maps them into FHIR resources, commonly a ServiceRequest for the test order and a Patient for demographics. The lab must decide which system owns each identifier before the first message arrives, because every later step depends on those identifiers matching.

  • Message types and triggers: Confirm which HL7 message types each ordering system sends for new orders, cancellations and updates, and how each one changes the ServiceRequest status.
  • Patient identity: Decide whether the ordering system, the lab system or a master patient index is the source of truth for patient identifiers, and where mismatches go for manual review.
  • Specimen identity: Choose where the specimen identifier is created, who prints the label, and whether the barcode exists before or after the order arrives.
  • Test catalog mapping: Agree which order codes map to LOINC or local test codes, and who maintains that mapping as the test menu changes.

Ask each ordering partner which message version and optional segments they populate, since missing segments usually surface as rejected or incomplete orders.

Medplum modules and integrations a lab configures first

A laboratory deployment of Medplum rests on a small set of components that interact: message interfaces, on-premises connectivity, calculated logic, result routing, staff sign-in and the data stores beneath them. Each card names the decision that component forces and the points to confirm with the platform documentation before build work starts.

HL7 client and server for orders and results

The HL7 client and server carry order and result messages between the laboratory and the ordering systems that send them. The first decision is which side of the exchange Medplum plays for each interface, and whether inbound orders map cleanly onto the FHIR resources your team uses for requests and reports. Confirm the supported HL7 message types, acknowledgment behavior and how malformed messages are queued and reported before you commit to a message catalog.

Compliance docs

Medplum Agent for instrument connections

The Medplum Agent runs inside your network and bridges on-premises analyzers and systems to the cloud or self-hosted server. The decision is where the Agent runs, how many hosts you need for the instrument fleet, and how its traffic is secured and monitored. Confirm which instrument protocols the Agent supports for your models, and test each analyzer in a staging bench before the bench goes live, because device behavior varies by vendor firmware.

ASTM instrument messaging

Many analyzers still send results using ASTM framing, which differs from HL7 in structure, timing and error handling. The decision is whether ASTM traffic reaches Medplum through the Agent directly or through an intermediate middleware layer that you already operate. Confirm the ASTM variant and record types each instrument emits, and document how a dropped or partial frame is detected and retransmitted so that no result is silently lost.

Bots for calculated and derived results

Bots run server-side logic, such as reflex testing, ratio calculations or flagging against reference ranges, when a result is saved. The decision is which calculations live in Bots and which stay in the instrument or the LIS workflow. Every Bot that affects a reported value needs versioned code, unit tests against reference cases signed off by the laboratory director, and a log of each execution. Confirm how Bot versions are pinned and rolled back before any calculated value reaches a patient report.

Subscriptions for result routing

Subscriptions notify other systems when a resource changes, which lets a result trigger routing to an EHR, a patient portal or a critical-value escalation queue. The decision is which resource changes drive which destinations, and what happens when a destination is unavailable. Confirm how delivery retries work, how duplicate notifications are handled, and how you will prove that every critical result reached a licensed recipient within the time your procedures require.

Medplum Auth for staff access

Medplum Auth handles sign-in for technologists, pathologists and administrators, and supports external identity providers, domain-level corporate identity providers and multi-factor authentication. The decision is which identity source is authoritative for lab staff and how role changes, such as a departing technologist, remove access across the system. Confirm which identity providers your plan supports, how MFA is enforced for director-level sign-off, and how access reviews are evidenced.

Medplum auth docs

PostgreSQL and Redis hosting

Medplum uses PostgreSQL as its database and Redis as its cache, and both carry result data and audit history. The decision is whether you host them as managed services in your cloud account or as self-managed instances in your data center, and how each is backed up and restored. Confirm recovery point and recovery time objectives with your quality office, and test a restore into a separate environment before go-live, since a laboratory record that cannot be recovered is a compliance event.

Self-hosting docs

How a lab order and result travel through a self-hosted Medplum LIS

The flow starts when the ordering system sends an HL7 order to the Medplum HL7 server in the data center or cloud where Medplum runs. Results from an analyzer reach the lab network through the Medplum Agent, which speaks ASTM to the instrument and passes data inward. Medplum stores orders and results as FHIR resources, Bots calculate derived values, and results return to the ordering system. The trust boundary sits between the lab network and the hosting environment, so check what crosses it, how the Agent authenticates, and which logs record each hand-off.

Orders and results moving between the lab network, Medplum and the ordering system.

Rollout phases for a laboratory Medplum LIS

This sequence moves a laboratory from scoped requirements to a tested, audited and operated Medplum LIS, with each phase closing on a checkable output before the next one starts.

  1. Define lab scope and specimen data model

    The laboratory's quality lead, LIS owner and clinical director agree which test menus, specimen types, container and collection rules, and result statuses Medplum will hold, and how each maps to FHIR resources such as ServiceRequest, Specimen, Observation and DiagnosticReport. Decisions about which results are final, corrected or amended are written down here because later validation depends on them. The step closes when the data model and status vocabulary are signed off and every in-scope test has an owner and a reference code set. Ask the implementation partner to show the mapping as a reviewable document, not only as code.

  2. Inventory HL7 and ASTM interfaces

    The team lists every system that sends or receives data with the lab, including the EHR or ordering systems, the hospital information system, reference labs, and each analyzer or instrument. For each interface it records the message types or ASTM record formats in use, the direction of traffic, the transport, the character encoding, and who controls the sending system's configuration. Instruments that the lab cannot reconfigure are flagged early because they constrain the Agent design. The step closes with an approved interface register that names an owner and a test contact for every connection.

  3. Test Agent and instrument connections in a non-production project

    The integration engineers install the Medplum Agent on a host that can reach the analyzers and the HL7 endpoints, then run connection tests against a non-production Medplum project. They confirm that orders go out, results come back, and rejected or malformed messages are logged rather than silently dropped. Test traffic should include the instrument's error and retransmission behavior, and the team should record which configuration keys and host settings were used. The step closes when each interface passes a documented test script and the results are stored with the interface register.

  4. Validate calculated result Bots against reference results

    Developers write Bot logic for calculated results, such as derived values, reference range flags and delta checks, and the quality lead supplies reference results with known expected outputs. The team runs each Bot against those reference cases, including boundary values, missing inputs and units that should fail, and compares outputs line by line. Any change to the Bot code goes back through the same test set before promotion. The step closes with a versioned test report that a reviewer can rerun, and with a documented rule for which Bot outputs require manual release.

  5. Configure access and audit controls

    The security and compliance lead defines roles for technologists, pathologists, couriers, administrators and interface accounts, then sets access policies and client credentials so each identity sees only the records its work requires. Authentication is set through the identity provider the organization already uses, and audit logging is checked by generating test events and confirming they can be reviewed. The team also documents who may change Bots, interface settings and reference data. The step closes with a signed access matrix and a test log showing that restricted actions are denied and recorded.

  6. Plan and rehearse cutover with ordering systems

    The project lead schedules the cutover with the ordering system owners, the analyzer teams and the reference lab contacts, and agrees the order of switching each interface. A rehearsal runs the full order-to-result flow in a staging environment with real message samples, and the team agrees rollback steps for each interface if a message fails. Open orders and specimens in flight are reconciled so nothing is lost or duplicated at the switch. The step closes when every interface owner signs the cutover runbook and the rehearsal report shows no unresolved message failures.

  7. Run post-go-live operations and upgrade planning

    After go-live, the operations team monitors interface queues, Agent health, Bot errors and audit events, and reviews them on a set schedule agreed with the lab's quality function. Upgrades are planned against Medplum's release policy. Self-hosted Medplum must be upgraded through each minor version in sequence, because skipping versions causes startup failures, and data migrations can be long on large datasets. The team should confirm the upgrade path, a test environment, and a rollback approach before any production change. The step closes with an operations runbook, a monitoring baseline and a dated upgrade plan.

CLIA, CAP and HIPAA questions a lab must answer before go-live

What do CLIA and CAP inspectors ask for from a laboratory information system?

Inspectors review the laboratory's own accreditation and regulatory documentation, including procedures, personnel records, quality control, proficiency testing and the records the system produces. That documentation is the laboratory's responsibility, not DeployOpen's or Medplum's. DeployOpen can prepare the system configuration, access control settings, audit logging, backup records and change evidence that the laboratory's quality team will reference, but it does not issue inspection outcomes or accreditation. Before go-live, confirm with your CAP or CLIA program contacts which checklist items apply to your test menu and how your LIS software is expected to be validated and controlled.

What does Medplum's compliance documentation say about CLIA and CAP?

Medplum's compliance documentation lists CLIA/CAP among the frameworks it covers and states that compliance is a shared responsibility between Medplum and its customers. On a self-hosted deployment, the infrastructure, operating procedures, access reviews, backups and change control sit largely with the operator. Read the documentation alongside your laboratory's own quality manual and ask Medplum which parts of its material you can cite as vendor evidence and which parts your laboratory must produce itself. Confirm that the version you deploy is covered by the documentation you cite.

Which HIPAA technical safeguards apply to a self-hosted LIS?

The HIPAA Security Rule's technical safeguards in 45 CFR 164.312 apply to any electronic protected health information the laboratory creates, receives, maintains or transmits. Its five standards carry seven implementation specifications. The following are the ones a self-hosted LIS usually needs to address:

  • Unique user identification and emergency access procedure, both required
  • Automatic logoff, addressable
  • Encryption and decryption, addressable
  • Transmission security encryption, addressable

Audit controls, integrity and person or entity authentication are also standards under the technical safeguards. Document how each one is met or why an alternative applies, since the addressable specifications still require a documented decision.

Is there a HIPAA certification a laboratory can get for its LIS?

No. HHS states that no Security Rule standard requires an entity to certify its compliance, and that private certifications do not prevent HHS from later finding a violation. The HHS Office for Civil Rights enforces the rule through complaints, compliance reviews and audits. Vendors may claim alignment with the rule, and third-party assessments can support your own evidence, but neither replaces your documented risk analysis, policies and business associate agreements. Ask any vendor or assessor to show the evidence behind a claim rather than accepting a badge.

What changes if HHS finalizes the proposed Security Rule revision?

HHS proposed a major Security Rule revision on 6 January 2025, and as of October 2026 no final rule has been published. The Unified Agenda projects final action for July 2027. The proposal would make the Security Rule's requirements more specific, so the timing and content of a final rule are not settled. Plan the LIS so that encryption, access control, audit logging, asset inventory and recovery testing are documented and adjustable. Track the rulemaking entry and review the final text when it is published, and ask your counsel how it would apply to your business associate arrangements.

Does NIS2 apply to an EU laboratory running a self-hosted LIS?

NIS2 Annex I lists health as a sector of high criticality. That includes healthcare providers, EU reference laboratories, medicinal product research and development, manufacturers of basic pharmaceutical products and manufacturers of medical devices critical during a public health emergency. Whether your laboratory falls in scope depends on its category and on how member states transpose the directive into national law. Confirm your status with your national competent authority. If you are in scope, expect obligations on incident reporting, supply chain security and risk management that reach your LIS hosting and vendors.

How should an EU laboratory handle GDPR and patient access alongside these rules?

Under GDPR Articles 32 and 34, the controller must apply appropriate security and communicate certain breaches. In September 2026 the French data protection authority, CNIL, fined a hospital EUR 500,000 after finding that external access to its patient record system lacked VPN and multi-factor authentication and that access control ignored the care team's need to know. Apply the same lessons to a LIS: require multi-factor authentication for remote access, scope access to the work each role needs, and log access. Also watch the European Health Data Space regulation, Regulation (EU) 2025/327, for obligations that may affect data exchange. Have your data protection officer review the design before go-live.

How to validate calculated results and keep audit evidence

Calculated results produced by Medplum Bots need the same evidence trail a lab would expect from any analyzer or calculation rule. The lab's quality team should require three things before a Bot goes live: documented test cases that cover the calculation and its edge cases, version control of the Bot source so every logic change is reviewed and traceable, and a record of which Bot version produced each stored result. Without the third item, a result written last year cannot be tied to the exact logic that generated it, and that gap is the first thing an inspector will probe. Confirm with your own engineers how Bot versions are identified and retained in your deployment, since the retention and lookup approach depends on how your team packages and deploys Bots.

Audit logging, access reviews and change control turn these artifacts into inspection evidence. Medplum records activity in its audit trail, and the lab should confirm which events are captured for Bot execution, Bot deployment and changes to Bot-related configuration, and where those logs are stored and how long they are kept. Access reviews should cover the people and service accounts that can deploy Bots, edit access policies and read results, with a documented schedule and sign-off by the quality team. Change control should route every Bot modification through a request, a test run against the documented cases, and approval before release. Medplum's compliance documentation describes compliance as a shared responsibility, so the lab must document which of these controls it operates itself.

The quality team owns the validation decisions. Engineers can build the test harness, but the quality function should decide which calculations are in scope, what acceptance criteria apply, how a revalidation is triggered after a Bot or Medplum upgrade, and whether a change is significant enough to require a documented impact assessment. Ask the quality lead to sign the validation plan before development starts, and ask them to approve the evidence pack at each release. Where CLIA or CAP requirements apply to a specific calculation, the quality team should confirm the requirement with the relevant regulator or accreditation body rather than relying on engineering interpretation.

What a Medplum LIS implementation costs and requires

What drives the effort of a Medplum LIS implementation?

The main drivers are the number of interfaces, the variety of instruments, the number of calculated tests, the identity and access model, and the hosting choice. Each HL7 order and result feed, each ASTM instrument connection and each calculated test with its own logic adds design, build and test work. A single lab with a few analyzers and one hospital feed is a very different scope from a reference lab with many sending facilities and mixed instrument vendors. Identity matters because staff roles, corporate identity providers and multi-factor sign-in must be mapped before access policies can be tested. Hosting also changes the work: a self-hosted deployment on infrastructure you control adds installation, backup, monitoring and upgrade responsibilities that a managed service would otherwise carry. Ask the partner to list each driver against your own count before comparing quotes.

Which parts of a Medplum LIS project are one-time and which recur?

The build, interface configuration, instrument connection work, calculated-result design, test scripts and initial validation documentation are one-time costs. Upgrades, security patching, database and infrastructure operations, Agent updates, monitoring and support are recurring. Medplum publishes an upgrade policy that requires self-hosted installations to move through each minor version in sequence, so upgrade work recurs on a planned cadence, not just when something breaks. Medplum ships major versions annually, minor versions two to three times a year and patch versions weekly, and each major version has 1 year of Active support and 1 year of Maintenance, with an Enterprise extension to 36 months in total for security patches. Those dates set how often your lab must re-validate and test. Ask for the recurring items to be priced separately from the build.

Can a clinical laboratory run a Medplum LIS implementation with its own staff?

A lab can, provided it has engineers who can operate a Node.js, TypeScript, PostgreSQL and Redis stack, staff who can run HL7 and ASTM interface testing, and a quality function that can write and maintain validation records. Internal teams usually struggle with the first deployment because interface mapping, instrument behavior and inspection evidence all need to be designed together. Ask yourself whether anyone on staff has built and tested a bidirectional instrument interface, and whether someone can own calculated-test logic under change control. If the answer is no for either, a partner can cover the build while your team learns the system. Whichever path you choose, decide early who owns the Agent, the server and the Bots after go-live.

What does a Medplum LIS project need from lab, IT and quality staff?

Each group has a distinct role. Lab operations must supply the test menu, reference ranges, result rules, specimen workflows and sign-off on how results release. IT must provide the hosting environment, network paths between the Medplum Agent and analyzers or middleware, identity provider access, backups and monitoring. Quality must define the validation approach, review test scripts and keep evidence for CLIA and CAP inspections. Quality teams should also confirm which records need electronic signature controls under 21 CFR Part 11 if your work touches regulated research. Plan these people for workshops, test rounds and review cycles before the build starts, because delayed sign-off is one of the most common causes of schedule slippage.

How does a fixed-scope quote for a Medplum LIS follow from the written scope?

A fixed-scope quote follows from a written scope that lists the interfaces, instrument connections, calculated tests, identity integrations, hosting target, deliverables and acceptance tests. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and the quote is derived from that document rather than from a list price. Ask for each line of the scope to show its assumptions, such as the number of instrument models, whether test scripts are included, and what validation documentation is delivered. Ask which changes would trigger a change request and how they are priced. DeployOpen does not publish a price list, so the written scope is the basis for comparing offers.

What should a lab ask for in a Medplum LIS quote?

Request a quote that separates the one-time build from recurring support, upgrades and testing. Ask for the list of interfaces and instruments by name and version, the number of calculated tests and the logic each one needs, and the identity methods to be configured. Confirm whether hosting, backups, monitoring and disaster recovery are included or handled by your team. Ask what validation deliverables you receive and who signs them. Check how the partner will handle Medplum upgrades, including the sequential minor version path, and what a rollback window looks like. Finally, confirm which compliance responsibilities stay with your lab, since Medplum describes compliance as a shared responsibility between Medplum and its customers.

Which Medplum LIS costs stay with the lab after the project ends?

After go-live the lab keeps the cost of running the system, which includes infrastructure, database and cache operations, backups, monitoring, Agent maintenance, staff time for test changes and the planned upgrades. If the lab uses a Medplum hosted plan instead of self-hosting, the subscription replaces part of that infrastructure work, and Medplum's pricing page lists Production and Premium plans with monthly prices, while Enterprise and self-hosting options are custom-priced. Ask the partner to show the ongoing support model as a retainer or as hand-over to your team, with clear response expectations written into the contract. Also ask how calculated-test changes will be tested and re-validated, since that work recurs with each change to the test menu.

How DeployOpen scopes and delivers a laboratory Medplum build

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, and Medplum for clinical laboratories follows the same method. Each engagement starts from a written scope so the laboratory's quality, compliance and integration owners agree on what gets built before work begins.

How we scope

  • Map which order and result messages, instruments and interfaces the laboratory must connect before design starts.
  • Agree in writing which Bots, Agent connections and CLIA and CAP evidence items are in the fixed scope.
  • Confirm hosting location, identity provider, backup and audit logging requirements with your security and quality teams.

How we build

  • Configure the HL7 and ASTM interfaces, the Medplum Agent and the test catalog mapping with versioned, reviewed changes.
  • Write calculated-result Bots with unit tests and run them against recorded instrument output before any release.
  • Set up self-hosted Medplum on your chosen infrastructure, with access policies, SSO and multi-factor authentication configured.

How we hand over

  • Deliver runbooks for interface monitoring, Bot releases, Agent restarts and upgrade steps through each required minor version.
  • Provide validation test scripts, configuration records and change logs that your quality team can review during inspection preparation.
  • Walk your laboratory and platform staff through operations and document what remains your responsibility under the shared model.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover, scoped in writing.
  • Plan Medplum upgrades, patch intake and retesting of interfaces and Bots before each change reaches production.
  • Retest instrument connections and calculated results after upgrades, instrument changes or new test menu additions.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.