When referral management on Medplum fits your workflow
Medplum gives you FHIR building blocks for referrals, but it does not ship a prebuilt referral product. The referral workflow, the packages sent to recipients, the transmission rules and the triage logic are designed and built by the implementing team. This fits a clinical team that already sends and receives referrals and wants each referral, its supporting documents and its status tracked inside its own FHIR data rather than in a separate referral vendor's system. Before committing, confirm that your referral types can be expressed with FHIR resources you already plan to use, and that your team has someone who can own the data model over time.
According to the Medplum documentation, the platform provides a FHIR R4 API, a clinical data repository that stores resources such as ServiceRequest-style orders and their related records, Bots for server-side logic, Subscriptions that react to changes in data, and access policies that control which users and clients can read or write each resource. These are the parts you would combine to create referrals, notify receiving teams and restrict visibility. Check the current resource and access policy behavior in the Medplum documentation for the version you plan to run, since the platform changes between releases.
Build in-house when your engineers already work with FHIR, when referral rules are specific to your organization, and when you can staff ongoing support for the workflow. Bring in a partner when the scope spans several referral types, external recipients, interface connections and compliance evidence at once, or when your team needs the design done before it can commit headcount. In either case, ask for a written scope covering triage rules, transmission and tracking, closure criteria and access testing. Treat the decision as a question of who will maintain the workflow after launch, not only who can write the first version.
How the referral lifecycle maps to FHIR resources
This stage covers the moment a clinician decides a patient needs a specialist, imaging or another service, and the system records the reason, the requested service and the referring party. In FHIR, teams usually evaluate ServiceRequest as the core order-like record for the referral itself, with Condition or Observation referenced as the clinical reason and Practitioner, PractitionerRole and Organization identifying who is referring and who is being asked. Some teams also evaluate Encounter to tie the request to the visit where it was made.
- ServiceRequest as the anchor: Confirm whether the referral is modeled as a ServiceRequest with a category and intent that your standards recognize, or as a related resource.
- Reason and diagnosis: Decide which Condition or Observation resources carry the reason, and how coded values are bound.
- Referring and receiving parties: Map the referring clinician and the target organization, including how a provider directory will supply those references.
- Urgency and status: Check how priority and status are represented so that open, accepted and cancelled referrals can be filtered.
- Capture point: Identify which application writes the resource and whether it can also write provenance.
Confirm every resource and profile choice against your own clinical and data standards and the Medplum documentation, rather than assuming the default mapping fits your workflow.
Before a referral leaves the sending organization, the package is assembled: the clinical summary, relevant documents, images, lab results and the consent or authorization that permits sharing. In FHIR, teams commonly evaluate DocumentReference for attached documents, Composition for a structured summary, Bundle for grouping resources into a single transmissible unit, and Binary for stored file content. The package boundary determines what the recipient can see, so it should be designed alongside access policies.
- Document versus structured data: Decide when a package carries a discrete document, structured resources, or both.
- Bundle boundaries: Define which resources belong in the package and which are referenced but not copied.
- Minimum necessary content: Confirm which data elements are included for each recipient type, and document the rule.
- Consent references: Decide how the authorization or consent that permits sharing is referenced from the package.
- Attachments: Confirm how large or sensitive binary files are stored and access-controlled.
The package design should be reviewed with your privacy and compliance team, since the choice of what to include is a disclosure decision as well as a data model decision.
Transmission moves the referral and its package to the receiving party, and tracking records where it is and who has acted on it. Teams commonly evaluate Task to represent the work of sending, acknowledging and following up, Communication or CommunicationRequest for messages about the referral, and Provenance to record who sent it and through which system. External delivery may run through an HL7 interface, a Bot, or another exchange channel, and each choice changes what the FHIR record shows.
- Task for workflow state: Decide which Task states represent sent, received, accepted and declined, and who may update them.
- Communication for messages: Confirm which messages belong on the referral and which belong in a separate messaging thread.
- Provenance for origin: Record the sending system, user and time for every transmission.
- Delivery channel: Identify whether delivery is FHIR-based, HL7 v2 based or document based, and confirm the receiving side supports it.
- Failure handling: Define how undelivered or rejected referrals appear in the tracking record.
Confirm the delivery channel and tracking states with the receiving organizations before build, because their systems determine what can be exchanged.
On the receiving side, the referral arrives, is matched to a patient, is reviewed and is prioritized or routed to the right clinician or service. Teams commonly evaluate Task for triage work queues, Patient matching through identifiers, ServiceRequest as the received record, and Encounter or Appointment once a visit is planned. Routing and queue design often connect to care coordination resources such as CarePlan and to access policies that limit who sees each queue.
- Patient matching: Confirm how incoming referrals are matched to existing Patient records and how mismatches are handled.
- Triage Task design: Decide who owns each triage Task and what outcomes it can record.
- Routing rules: Define how referrals reach the correct service or clinician, and whether that logic runs in a Bot.
- Scheduling link: Identify where an accepted referral becomes an appointment and how the two records reference each other.
- Queue visibility: Confirm which access policies restrict queues by team or role.
Validate matching and triage rules with clinical operations staff, since errors at this stage affect patient safety directly.
A referral closes when the recipient's findings return to the referring clinician and the loop is confirmed as complete, or when the referral is cancelled or expires. Teams commonly evaluate DiagnosticReport and Observation for returned results, DocumentReference for consultation letters, ServiceRequest status updates to show completion, and Task to track the closed-loop acknowledgment. Provenance can show which clinician reviewed the returned results.
- Results return path: Decide whether results come back as DiagnosticReport, Observation or a document, and how each links to the original ServiceRequest.
- Closed-loop acknowledgment: Define the Task or status that confirms the referring clinician received the results.
- Cancellation and expiry: Confirm how cancelled or unanswered referrals are closed and reported.
- Audit trail: Use Provenance to record who acted at each step, which supports later review.
- Reporting on open loops: Decide which resource states make open referrals visible for follow-up.
Review the closure states with your quality and compliance leads, and confirm the record retention and audit expectations that apply in your setting.
Configuration options and when each fits
This table compares the main modeling and delivery choices for referrals on Medplum, with the situations where each one fits and the trade-off it brings. Read each row as a decision: the left column names the choice, and the right columns show when it suits your program and what it costs you in build effort or flexibility.
| Option | When it fits | Trade-off |
|---|---|---|
| ServiceRequest with Task for tracking | Referrals that follow a standard path: send, accept, schedule, report back, close. Works well when reporting on open referrals matters. | Keeps status in standard FHIR resources that other apps can read, but state transitions must be governed by your own rules and reviewed carefully. |
| Custom referral workflow model | Programs with unusual stages, such as multi-party approvals or payer-specific steps that standard statuses do not express. | Full control over stages, but every custom element needs documentation, testing and a plan for interoperability with receivers. |
| Bots for transmission and triage rules | Routing, validation and outbound sends that must run on a server-side trigger and be auditable in one place. | Centralizes logic and secrets handling, but adds a deployment, monitoring and version-control burden on your own team. |
| Subscriptions for notifications | Alerting receiving teams or the referring clinician when a referral changes state, without polling. | Reacts quickly to changes, but missed or repeated notifications need a retry and reconciliation plan. |
| Direct FHIR exchange | Receivers that run FHIR endpoints and can accept referral resources directly with agreed profiles. | Structured and queryable, but depends on both sides supporting the same profiles and authorization model. |
| Document packages | Receivers that only accept documents, or where a summary must be shared in a patient-facing or legacy format. | Familiar to receivers, but the content is less structured, so tracking and data reuse are harder. |
| Local ValueSets for reason and urgency | Programs that need a short, controlled list of referral reasons and urgency levels agreed with partner sites. | Consistent input and reporting, but codes must be maintained as clinical needs change and mapped where partners use other systems. |
| Standard terminology ValueSets | Referral reasons that should match diagnosis or procedure codes in your clinical record and external directories. | Better interoperability, but large code systems need licensing checks and typeahead design. Confirm which code systems your partners use. |
Setup sequence for a referral build on Medplum
This sequence takes a referral workflow from an agreed deployment and version baseline to a tested, user-validated build on Medplum, with a check at each step so the team knows when to move on. It is written for the architects and clinical informatics leads who will own the build.
Confirm the deployment model and Medplum version
The platform team records whether Medplum will run on Medplum Cloud or as a self-hosted deployment, and which Medplum server version the build targets. For self-hosted deployments, the team confirms the upgrade path from the currently running version, since Medplum requires each minor version to be applied in sequence and skipping versions causes startup failures. The step closes when the deployment model, server version and upgrade path are written down in the project record and signed off by the platform owner. Compliance responsibilities are also recorded here, because Medplum describes compliance as a shared responsibility between Medplum and its customers.
Define referral data requirements with owners
Clinical and operations owners list what a referral must contain for each referral type, such as the referring clinician, the reason for referral, urgency, supporting documents, insurance details and the accepted response states. Operations leads add the handoff rules, including who triages, what counts as closed, and what the referring provider must receive back. The output is a requirements list with one named owner per data element and one agreed definition for each status. The step is complete when the clinical and operations owners both approve the list, and every status has an entry condition and an exit condition that can be tested.
Map requirements to FHIR resources and code systems
The build team maps each requirement to a FHIR resource, typically ServiceRequest for the referral order, with Task for workflow state, Patient and Practitioner for people, Organization for the referring and receiving sites, and Communication or DocumentReference for supporting material. Code bindings are chosen for reasons, service types and statuses, and the team confirms which ValueSets the organization will use and where local codes are needed. The check is a mapping table that lists each requirement, its resource, its element and its code binding, reviewed by someone who knows the FHIR model. Gaps are logged rather than filled with free text.
Configure projects and access policies
The security and platform team sets up the Medplum project structure, the membership of each user role, and the access policies that decide which referral resources each role can read or write. Referring clinicians, receiving triage staff, schedulers and external partners usually need different access, so the team tests each role against the policy before any clinical data is added. The step closes when a test user in each role can complete the actions their role allows and is refused the actions it does not. Authentication settings, including the identity provider and multi-factor authentication, are confirmed here against the organization's own policy.
Build capture and package logic
The build team creates the referral capture form, usually from FHIR Questionnaires, and the logic that turns a completed capture into a ServiceRequest and a Task with the correct initial status. Package logic then assembles the documents and resources the receiving site needs, linking the referral to the relevant Observation, DocumentReference or Condition resources the referrer selected. The check is that a completed capture produces the expected set of resources in a test project, with required fields enforced and no duplicate referrals created when a form is resubmitted.
Wire transmission and tracking with Subscriptions or Bots
The integration team connects status changes to the next action using Medplum Subscriptions or Bots. A referral sent to a receiving organization triggers a transmission step, and each later status change, such as received, accepted, scheduled or declined, updates the Task and notifies the referring team. Where an external system must receive the referral, the team confirms the transport, retry behavior and the failure alert that will tell operations when a message did not arrive. The step is complete when a test referral moves through every transition in the test environment and each transition produces the expected notification and audit trail.
Test triage and closure with synthetic data
The QA lead runs scripted scenarios with synthetic patients and synthetic referrals. The scenarios cover a complete referral, an incomplete one that must be returned, an urgent one, a duplicate, a declined referral, and a referral that is never answered and must escalate. Each scenario has an expected status path and expected Task and notification results, and any mismatch is logged as a defect. The step closes when every scenario passes or each open defect has an agreed disposition. Synthetic data is used throughout, and no real patient records are copied into the test environment.
Validate the build with end users
Referring clinicians, triage staff and the operations lead use the build with the scripted scenarios, then with a small pilot group working through their own typical referrals in the test environment. They check that the capture form matches how they work, that the status labels are understood, and that the results and closure messages reach the people who need them. The output is a signed validation record listing the accepted scenarios, the open issues and the owner of each issue. Production use starts only after this record is approved, and any change to statuses, code bindings or access policies reopens the affected steps.
How transmission and tracking work between organizations
Transmission of a referral between organizations is where the sending and receiving teams most often disagree about what was sent, when it arrived and who owns the next step. On Medplum, the referral itself is a set of FHIR resources in the sender's project, and the referral package is the subset the receiver needs: the ServiceRequest, the patient and related-person context, the supporting clinical documents, and the attached consent or insurance information. Decide early which resources a package must carry, which are reference-only, and which are withheld, because the receiving system will only see what the package includes. Each status change, such as sent, received, accepted, scheduled or declined, should be written as an update to the ServiceRequest status plus a Task or Communication that records who made the change and when, so the audit trail survives a dispute.
External delivery is a separate decision from the data model. Within Medplum, a Subscription or Bot can push the package to a receiving system, but the wire format depends on that system. Some receivers accept FHIR REST writes, others expect HL7 v2 messages such as referral-related SIU or ORU traffic, and many still take a document through a secure messaging or document exchange channel. Confirm in writing which standards and versions the receiving organization supports, who maintains the endpoint, and whether acknowledgments come back as application-level responses. Medplum's HL7 client and server, and its support for FHIR document exchange, can cover parts of this, and the Medplum integrations group is the next place to read for on-premises connectivity. Where the receiving system or its interface engine sits inside a hospital network, the Medplum Agent is the usual bridge, and its network path, credentials and monitoring need to be designed with the receiving team, not assumed.
Tracking closes the loop. Build a rule that flags any package with no acknowledgment or status change within a window you agree with the receiving organization, and route that exception to a named queue. Test failure paths as deliberately as success paths: a rejected message, a duplicate send after a timeout, and a receiver that returns a status code you did not expect. Ask the receiving team how they represent declines and redirects, since a mismatch there is a common source of lost referrals. Before go-live, confirm the sending and receiving organizations have a data sharing agreement covering this flow, and that the security controls for the connection are documented in your own environment, because the HIPAA Security Rule applies to the electronic protected health information in every package.
Security and privacy controls for referral data
Referral packages carry diagnoses, medications and reasons for care, so access, identity, audit and encryption have to be designed together. The cards below cover the controls a Medplum referral workflow depends on and the shared duties that remain with your organization.
Access policies for referrals
Medplum access policies decide which clinicians and staff can read or change each referral-related resource, such as ServiceRequest, Task, Communication and Patient records. Map each role in the referral chain (referring clinician, intake coordinator, receiving specialist, external recipient) to explicit permissions, and test that a clinician outside the care team cannot open a referral by searching for it. Test every role with real search queries before go-live.
Medplum compliance docsClinician and recipient sign-in
Medplum Auth supports its own identity provider, external providers such as Google, Auth0 or AWS Cognito, domain-level corporate identity providers and multi-factor authentication. External recipients usually need a different path from internal staff, so decide which sign-in method each group uses and whether recipients get accounts at all. Confirm which identity provider features your plan includes, since the pricing page lists multiple external identity providers as an enterprise feature.
Medplum authentication docsAudit trail for status changes
Each referral moves through creation, transmission, acceptance, triage and closure, and every step should leave a record of who changed it and when. Use the FHIR history of ServiceRequest and Task resources and any Bot or Subscription logs as provenance, and confirm with your team that these records are retained and exportable for review. Test the trail by reconstructing one referral from creation to closure.
Encryption and key handling
In a self-hosted deployment, your organization owns encryption at rest for PostgreSQL and Redis, encryption in transit between the browser, server and Agent, and the storage of database and signing keys. Medplum's compliance docs assign these to the customer under the shared responsibility model, so document where keys live, who can rotate them, and how backups are encrypted. Confirm each control with your infrastructure team rather than assuming the default configuration meets your policy.
HIPAA duties for covered entities
The HIPAA Security Rule applies to covered entities and their business associates for all electronic protected health information they create, receive, maintain or transmit, which includes referral packages. Its administrative, physical and technical safeguards are implemented by your organization, not by the software. There is no HIPAA certification, so evidence for your risk analysis and policies is what you show auditors and HHS.
45 CFR Part 164 textBusiness associate contract terms
When a vendor, hosting provider or implementation partner handles referral ePHI, a business associate contract under 45 CFR 164.314 must require Security Rule compliance, flow the same terms to subcontractors that handle ePHI, and require incident reporting to the covered entity. Ask Medplum for its BAA and MSA terms for any cloud plan, and confirm who signs for each self-hosted component, including your cloud provider and any implementation partner.
45 CFR 164.314 textWhat referral management on Medplum costs and requires
What drives the implementation effort for referrals on Medplum?
The effort rises with how many distinct referral workflows you run, how many referral types each one covers, how many external recipients must receive packages, and how many systems the referral data must reach. A single internal specialty referral with one recipient type is a narrow build. A multi-specialty program that sends packages to outside practices, tracks replies, and feeds an EHR or payer system adds design, testing and integration work at each step. Ask any partner to list each workflow, referral type, recipient category and integration in the written scope before accepting a number.
Can our internal team build referral management on Medplum alone?
Many teams with FHIR and React experience can build the core referral resources, forms and status tracking in-house. The harder parts are the access rules that separate internal staff from external recipients, the transmission and receipt paths, and the clinical safety review of triage and closure steps. Medplum's own documentation describes access policies and projects as the controls to design, so confirm your team has owners for those areas. Many organizations split the work: internal staff own the clinical workflow, and an outside partner handles the build, testing and hardening.
What does referral work require from clinical, compliance and IT staff?
Clinical staff define referral types, required clinical content, triage rules and when a referral counts as closed. Compliance staff set the requirements for consent, retention, audit logging and business associate terms with any recipient or vendor that handles protected health information. IT staff decide hosting, identity, network paths and backups. Each group must sign off on its part before build starts, because changes after testing are expensive. Medplum's compliance documentation states that compliance is a shared responsibility between Medplum and its customers, so each group should know which controls sit with them.
How long does a Medplum referral build take?
Duration depends on the same scope drivers as cost: the number of workflows, referral types, recipients and integrations, plus how many rounds of clinical review and testing the program needs. DeployOpen does not publish fixed timelines. The duration is set in the written scope, which lists deliverables, milestones and the client responsibilities that can delay them. Ask for the phases, the testing and sign-off steps in each phase, and what the plan assumes about access to clinical reviewers and test data.
What recurring costs come with running referrals on Medplum?
Recurring costs fall into four groups: hosting, Medplum licensing, upgrades and monitoring. Hosting is the cloud or data center spend for the Medplum server, PostgreSQL and Redis. Licensing depends on your path. Medplum's pricing page lists a free Community self-hosting option, a custom-priced Enterprise Self-Hosted option, and hosted plans at $2,000 per month (Production) and $6,000 per month (Premium), with Enterprise custom-priced (source: Medplum pricing page). Upgrades recur because Medplum ships a major version annually and minor versions several times a year. Monitoring and on-call support also recur. Confirm which of these a quote includes and which you pay separately.
How should we compare referral implementation quotes?
Compare quotes on the written scope first, not the total. Check that each one lists the same workflows, referral types, recipient categories and integrations, because a lower price often covers fewer of them. Ask which costs are one-time, such as design, build and testing, and which recur, such as retainers, hosting and upgrades. Look for named deliverables, acceptance tests, a retest step and the client responsibilities. Ask how changes are priced if clinical review finds gaps. DeployOpen provides quotes that follow from a written scope and does not publish a price list.
Does a Medplum referral system need a HIPAA certification?
No. There is no HIPAA certification. HHS states that no Security Rule standard requires an entity to certify compliance, and private certifications do not prevent HHS from later finding a violation (HHS FAQ 2003). What you need is a documented set of controls, a risk analysis, and evidence that the controls work. Business associate contracts are required when a vendor handles electronic protected health information for you. Ask any partner to explain which evidence they will prepare and which independent assessor, if any, you will engage.
How a referral moves from capture to closure
A referral starts in the sending clinical app, where the clinician captures the reason and packages the supporting records as FHIR resources in the sending organization's Medplum project. The package crosses into the receiving organization through a controlled transmission step, which is the trust boundary to check closely. On the receiving side, a Subscription or Bot notifies the triage queue, and the outcome returns along the same path so the sender can close the loop. Check at each hand-off who can read the package, what is logged, and where the status is recorded.
Referral path across two organizations, with the trust boundary between them.
What to decide before scoping the build
The first decision is which referral types are in scope. Start with one or two referral types (for example, specialist consults or imaging referrals, chosen by your own volume and risk, not by a template), because each type carries its own clinical content, recipient rules and closure criteria. Write down the FHIR resources you expect to use for each type, such as ServiceRequest for the referral order and Task for tracking its state, and confirm with your own clinical and informatics leads which fields are required at creation. Medplum's own documentation and your sibling topic on care coordination should be checked against this list before the data model is frozen.
Next, settle the recipient organizations and the data standards they accept. List each receiving organization, how it is identified (internal directory entry, external provider record or a manually entered destination), and whether it can receive electronic messages or only fax or phone. Decide which code systems and ValueSets the referral reason and urgency use, and confirm with the receiving teams which terminology they can read. Be clear about who maintains the directory of recipients, because a stale entry will break transmission and tracking without raising an obvious error.
Finally, name the clinical sign-off owners and write the acceptance tests before any build starts. Assign one clinical owner for triage rules, one for closure criteria, and one for the security and privacy review, and record who can change those rules after go-live. Acceptance tests should be concrete: for example, a referral created with an urgent priority reaches the triage queue, an incomplete package is rejected before transmission, and a referral closes only when the recipient's outcome is recorded. Ask your team to run these tests against a non-production environment, and document the results so auditors and clinical leads can review them later.
How DeployOpen scopes and delivers referral workflows on Medplum
DeployOpen plans, builds, tests, documents and supports referral workflows on Medplum inside infrastructure the client controls. Each engagement starts from a written scope that sets out which referral steps, FHIR resources and integrations are included, so the client's clinical, compliance and security teams can review the design before any build starts.
How we scope
- Map the referral types, sending and receiving sites, and the handoff points your clinicians and staff actually use today
- Agree which FHIR resources model each referral stage and which steps stay outside the Medplum build
- Define access policies, audit expectations and data handling rules with your security and compliance owners before design
- Confirm the hosting path, Medplum version and upgrade cadence the scope will assume
How we build
- Configure referral intake, packages for recipients, transmission and tracking on your Medplum instance
- Build Bots, Subscriptions and integrations for the transmission and results steps that your systems require
- Test access policies so senders, receivers and care teams only see the referral records they need
- Validate referral data against your agreed terminology and FHIR profiles with test cases your team reviews
How we hand over
- Document the referral data model, workflow states, access policies and integration contracts in a form your engineers can maintain
- Provide runbooks for triage queues, failed transmissions and closure exceptions that operations staff will use
- Walk your team through the test evidence so compliance reviewers can trace each control to a working configuration
- Agree the handover acceptance criteria in the written scope before the engagement closes
How we support
- Offer ongoing support, Medplum upgrades and continuous testing as a retainer after the initial handover
- Plan Medplum version upgrades for referral workflows around the minor version sequence and rollback windows
- Retest referral access policies and integrations after upgrades, configuration changes or new receiving sites
- Ask any support provider to confirm response expectations and service levels in writing before you sign

