Exporting OpenEMR data with FHIR Bulk Data

OpenEMR's FHIR Bulk Data export pulls patient data as NDJSON through an asynchronous workflow, but a migration still needs scoped access, mapping and validation work. This page explains what the export covers and what it leaves to you.

On this page

Exporting OpenEMR data with FHIR Bulk Data for a migration or exit plan

A team leaving another system, or planning an exit from OpenEMR, needs complete patient data in a standard format that a receiving system can load. OpenEMR implements FHIR Bulk Data v1.0 export at system, patient and group level in NDJSON format, so the export itself is a supported path. The effort lies in access setup, scoping, mapping and validation, not in the export call. OpenEMR is free and licensed under the GNU GPL v3.0, so there is no license fee to plan for, but the work of getting data out is still paid for in people and time. Plan against the 8.x line, since recent releases (8.3.0 and 8.4.0) fixed security issues in the FHIR APIs and the upgrade path should be settled before the export project starts.

Access is usually the first hurdle. A bulk export runs through OpenEMR's OAuth 2.0 flow with granular SMART scopes, so someone must register a client, grant the right scopes such as system/Patient.$export and system/*.$bulkdata-status, and confirm which resource types the export account can read. Ask the vendor or your OpenEMR administrator to confirm how the FHIR API is enabled in your install, which scopes the export client will receive, and whether the account is limited to the data your migration is allowed to move. Document this decision, because the auditors and privacy officers who review the exit will ask who could read the full patient set and when.

Validation determines whether the export is usable. Each NDJSON file should be checked for record counts against OpenEMR, for references between resources such as Patient and Encounter, and for fields that the receiving system requires but the FHIR mapping may leave empty. Build a reconciliation test on a copy of the database, run the full export at least once end to end, and keep the output with the job log as evidence. Many gaps only appear when the target system refuses a record, so plan a fix cycle and a rerun, and confirm with your receiving vendor which FHIR version and profiles it accepts before you treat the files as final.

What the FHIR Bulk Data export covers and what it does not

This table compares the data a migration usually needs against what OpenEMR's FHIR Bulk Data export can return, marking each item as supported by the FHIR API, partly covered, or outside the export. Use it to scope gaps early, then confirm resource coverage for your exact OpenEMR version in the FHIR README before you plan the extract. Anything marked partly covered or outside the export needs a separate extraction path.

Data areaBulk export positionWhat to plan for
Patient demographics and encountersSupported by the FHIR APIConfirm which FHIR resource types your version includes in the export before mapping fields.
Clinical documents and scanned filesPartly coveredResource references may exist, but the underlying file contents often need a separate copy of the sites documents directory.
Scheduling and appointmentsPartly coveredConfirm whether appointment resources are included in your version's bulk export scope.
Billing and claimsPartly coveredClaims and payment data may need a separate database or report-based extract, so verify each billing resource.
Images and imaging filesOutside the exportPlan a file-level copy of stored images and their metadata alongside the FHIR extract.
Audit logsOutside the exportExport audit trails from the database or logging layer, and confirm retention rules with your compliance team.
User accounts and credentialsOutside the exportRecreate users and roles in the target system and never expect password hashes to move through FHIR.
Custom forms and site configurationOutside the exportCopy form definitions, templates and global settings from the application and database directly.

Which export paths and tools OpenEMR documents

OpenEMR documents one API-based export path, FHIR Bulk Data, alongside database and file copies that sit outside the API. Each path returns a different slice of the record, so most migrations combine them and check the result against the source system.

System-level bulk export

The system endpoint, system/Patient.$export, requests data across the whole installation, subject to the scopes granted to the client. Use it when you need every patient in one pass, such as a full exit extract. Confirm in the FHIR README which resource types the export includes, because a system export may not cover every clinical or administrative table you hold. Check record counts per resource type against the source.

OpenEMR FHIR README

Patient and group exports

Patient-level and group-level exports narrow the request to one patient or to a defined group. They suit partial moves, such as transferring one clinic's population or a cohort for analytics. The group must exist in the source system before you request it, so confirm how OpenEMR defines groups in your version. Scope each request so that the extract matches the population your receiving system is approved to hold.

SMART on FHIR authorization

Bulk requests run through OAuth 2.0 with SMART on FHIR scopes, so a backend client must be registered and granted the export scopes before any data moves. Plan the client registration and scope review as a security task, with a named owner who approves the client and removes it at cutover. Confirm the token lifetime and client authentication method in your version's configuration.

Asynchronous request workflow

A bulk export starts with a Prefer: respond-async header, returns a content location URL, and is polled until files are ready. Build the receiving side to handle a long wait, retries and partial failures, and to log the status responses. Confirm how long OpenEMR keeps generated files and whether the status endpoint scope is granted to the same client.

NDJSON output and validation

Output arrives as NDJSON files, one resource per line, which most ETL tools can read. The format carries no schema-level guarantee that every field from the EHR is present, so validate each file against FHIR R4 and the US Core profiles the API implements. Compare counts and sample records with a direct database query before you retire the source.

Database and file copies alongside the API

The FHIR export covers structured resources, not the whole installation. Attached documents, the sites directory and the full database still need their own copy path, using the database export and file copy steps in the relocation guide. Treat the bulk export as the structured handoff and the database and files as the complete backup, and record which path covers each data class in your exit inventory.

HAPI FHIR as a landing point

HAPI FHIR is an Apache 2.0 FHIR server that can receive exported resources if you need a FHIR endpoint on the target side. Its JPA server supports PostgreSQL and Microsoft SQL Server for production and does not support MySQL, so check your target database before you choose it. Use it only when the receiving system needs FHIR, and confirm the JDK version required by the release you deploy.

HAPI JPA starter

How the export runs from kickoff to cutover

The sequence turns a one-off OpenEMR bulk export into a tested, repeatable data handoff, with each step ending in a check that the target has what it needs. A migration and an analytics pull follow the same mechanics but close at different points.

  1. Inventory data and consumers first

    Before any client is registered, list the resource types the destination needs, the systems that will receive the files, and who owns each mapping. Confirm with OpenEMR administrators which data is in scope, including documents and data held outside the FHIR resource model, since bulk export covers only what the API exposes. For a migration, this inventory defines cutover completeness. For an analytics pull, it defines the reporting tables and refresh expectations. The step is done when a written list of resources, consumers and owners is agreed.

  2. Register a client and grant scopes

    Register a backend client in OpenEMR's FHIR API settings and grant only the scopes the export needs, such as system/Patient.$export for kicking off the job and system/*.$bulkdata-status for polling it. Patient-level or group-level exports need their own matching scopes, so confirm which level you need before granting access. Keep the client's credentials in your secrets store and record who approved the grant. The step is done when a token can be issued to the client and a test call to the export endpoint is accepted with the scopes you intended.

  3. Run a pilot export on a copy

    Run the full export against a copy of the OpenEMR database and sites data, not the production system, so that load and any data quirks stay off live clinical records. Check the file count and record counts per resource type against what the inventory expects, and note any resource types that come back empty or unexpectedly small. Time the run in your own environment so you can plan the production window. The step is done when the pilot output has been reviewed and the gaps it reveals are either fixed or written into the mapping plan.

  4. Kick off the async job

    Send the kickoff request with the Prefer: respond-async header so the server accepts the job and returns immediately instead of holding the connection open. Keep the request in a script or pipeline so the same parameters are used for the pilot, the rehearsal and production. Save the returned content location URL with the job's timestamp and scope. The step is done when the server acknowledges the job and you have a recorded location to poll.

  5. Poll the content location and download NDJSON

    Poll the content location URL until the server reports the job is complete, then read the list of output files it returns. Each file is newline-delimited JSON, with one FHIR resource per line, grouped by resource type. Download every file, store it with its checksum in access-controlled storage with logging enabled, and delete the job output from any shared location once it has been copied. The step is done when every listed file is downloaded and its checksum matches what was recorded at download.

  6. Validate and map to the target

    Parse each NDJSON file, confirm every line is valid JSON and a FHIR resource of the expected type, and count resources against the export manifest. Then apply your mapping to the target schema, recording rejected records with the reason for each rejection rather than dropping them silently. Reconcile identifiers across resource types so references between patients, encounters and documents still resolve. The step is done when reconciliation shows that every resource is either loaded or listed with a documented reason for rejection, and the mapping has been signed off by the data owner.

  7. Run the target in parallel

    For a migration, load the mapped data into the new system and run it alongside OpenEMR, repeating the export and reconciliation on a schedule agreed with the business owners until the differences are understood. Use the parallel period to test reports, clinical views, user access and integrations on the target. For an analytics pull, the parallel run is a comparison of computed results against source counts. The step is done when the differences between the two systems have been explained and accepted in writing.

  8. Cut over and decommission deliberately

    At cutover, freeze writes to the source, run a final export, reconcile it against the target, and switch users and integrations over, keeping a rollback path until the owners accept the new system. Retire the old OpenEMR only after the agreed retention period for its data, export copies and access logs has been planned and documented. Revoke the export client's credentials and remove its scopes once the job is no longer needed. The step is done when the old system is read-only or retired, the client is revoked, and the final reconciliation report is filed with the migration records.

How the async bulk export flows from client to NDJSON files

The export starts when the client sends a kickoff request with the Prefer: respond-async header and a SMART scope such as system/Patient.$export. OpenEMR returns a content location URL, which the client polls until the export reports completion. The client then downloads the NDJSON files listed in the final response. The authorization server sits outside OpenEMR's trust boundary, so check that the token carries only the scopes the export needs before you start.

Client, authorization server and OpenEMR steps of an asynchronous bulk export.

Why the asynchronous workflow changes how you run exports

The kickoff request does not return patient data. With the Prefer: respond-async header, OpenEMR accepts the job and returns a content location URL that you poll until the export finishes. That means the export is a small job system you must run, not a single download. You need a polling client that checks job status, backs off between checks and stops after a defined timeout, plus retry logic for transient HTTP failures. Storage matters too: NDJSON output is written as files that must land somewhere durable, with enough disk for the full dataset and checksums so you can prove later that every file arrived intact. Ask your OpenEMR administrator and your DeployOpen or in-house engineers to confirm the timeout behavior, the maximum file size or chunking, and how long completed job output remains available for download in your version and deployment. Do not assume these values from another install.

Partial failures are the most likely gap in a migration export. A job can report progress while some resource types finish and others fail, so your pipeline must record which files completed, which were requested, and which must be re-run. Treat each job as a set of checkpoints rather than one success or failure flag. Store the kickoff time, the status responses and the list of output files with their sizes and hashes so the run can resume from the last good checkpoint. The FHIR Bulk Data specification defines the workflow, and the OpenEMR FHIR README describes how OpenEMR applies it. Confirm both against the version you run before writing retry rules.

Output files are organized by resource type, with one or more NDJSON files per type, each line holding one complete FHIR resource. This matters for mapping because a Patient file, an Encounter file and an Observation file can each be transformed independently, and a failed Observation file can be re-run without re-pulling demographics. It also means references between resources, such as an Observation pointing to a Patient, must be resolved across files by ID after the load, not assumed to be in the same file. Build your mapping and validation per resource type, and check for resource types your target system does not support before the full run, so unmapped data is discovered early and not during cutover.

Scopes, access and the security work around the export

A bulk export pulls every record a scope allows into files that land outside the application's normal controls. The cards below cover who may start an export, how the client is registered and authenticated, and what must happen to the NDJSON files afterward. Each control should be verified in your own environment before the first production export.

SMART scopes and granular access

The FHIR README gives example scopes such as system/Patient.$export for starting a system-level export and system/*.$bulkdata-status for polling status. Scopes decide which resource types a client may read, so a migration client should not hold broad wildcard read rights it does not need. Ask your OpenEMR administrator to confirm which scopes are enabled on your version and to list exactly which resource types each export client receives.

FHIR README

OAuth 2.0 client registration

Each application that calls the export endpoints needs a registered OAuth 2.0 client with its own identifier and a defined set of scopes. Register one client per purpose, such as a migration job or an analytics pipeline, so access can be revoked without disturbing other integrations. Record who approved each registration, the scopes granted, and the date it should be reviewed or removed.

PKCE for public apps

Public clients, such as a desktop tool or a browser-based app that cannot keep a secret, should use PKCE, which the FHIR API supports. A migration utility run by staff on a laptop is usually a public client, so PKCE matters even when no server stores a secret. Confirm with your OpenEMR administrator that public clients are restricted to the scopes they need and that the registration cannot be reused from another machine.

OpenID Connect login

OpenEMR's FHIR API uses OpenID Connect alongside OAuth 2.0, so the identity behind an export can be tied to a named user. Interactive exports should run under a person's account with their own role, so the audit trail shows who requested the data. Check that the identity provider, token lifetimes and user mapping are documented before the migration window opens.

Least-privilege service accounts

Unattended exports need a service identity that can read only what the migration requires. Create a dedicated OpenEMR user with a restricted role, avoid reusing an administrator login, and rotate its credentials on a fixed schedule. Ask who can read that account's secrets and how removal is handled when the project ends, since an orphaned service credential is a common exit risk.

Exported files as ePHI

Every NDJSON file contains protected health information, so the export directory needs the same access control, encryption and retention rules as the source system. Store files on an encrypted volume with restricted permissions, write them outside the web-accessible tree, and delete staging copies once the target system has been validated. Confirm with your compliance lead where the files may be copied and who signs off on destruction. This work supports your HIPAA risk analysis but does not by itself meet any requirement.

MFA and web server hardening

The Securing OpenEMR guide recommends multi-factor authentication for user accounts and says to allow only HTTPS, with port 443 as the only exposed port where practical. Remove setup.php and other admin scripts after installation, and block direct web access to sites/*/documents, since exported or stored files must not be reachable by URL. Verify these settings with a scan from outside your network before and after the export window.

Securing OpenEMR guide

What drives the effort and duration of an export

This table lists the factors that move the cost and schedule of a FHIR Bulk Data export for a migration, who pays for each piece of work, and what to request in a written quote. Read each row as a question to answer in your own environment before scoping, since no fixed figures apply across installs. The main takeaway is that data shape and target model usually matter more than the export call itself.

DriverWhy it changes effort or durationWho is paid for it and what to ask for in a quote
Data volume and resource typesLarger patient populations and more resource types mean longer async jobs, more NDJSON files to verify and more time to reconcile counts.Export runs and checks are one-time work. Ask the provider to state which resource types and which patient populations are in scope.
Custom fields and forms outside standard mappingData captured in custom forms or local fields may not map to a standard FHIR resource, so it needs a documented mapping decision or a gap list.Mapping analysis is one-time and scales with custom content. Ask for an inventory of custom fields and how each is handled.
Target system data modelThe receiving system's schema determines how much transformation is needed after export, and this is often the largest effort item.Transformation work is paid by the build hours on the receiving side. Ask who owns the target mapping and how changes are priced.
Number of patient groupsEach group export adds a separate job to define, run, validate and sign off, and groups may need different scopes.Group setup is one-time. Ask how many groups are included and whether each is a separate deliverable.
Validation depthRecord counts, sampled record comparisons and clinical spot checks each add work, and deeper checks take longer to agree on.Validation is one-time. Ask which checks are included, who signs off on results and how exceptions are logged.
Parallel run lengthKeeping OpenEMR and the target system in sync during a parallel run means repeat exports and ongoing reconciliation.Repeat exports and reconciliation recur for the length of the run. Ask how many re-exports are included and what triggers an extra run.
Authorization and security reviewClient registration, scope choices, SMART app setup and review of who can export all add decision and approval steps.Review is partly one-time and partly ongoing when access changes. Ask who approves scopes and whether the provider documents the access model.
Team FHIR experienceTeams new to FHIR resources, NDJSON and async polling need more time for design, troubleshooting and knowledge transfer.Training and handover are one-time. Ask whether knowledge transfer is included and what documentation you receive.

What usually goes wrong with bulk exports and how to prevent it

Bulk exports rarely fail loudly. They tend to finish with files that look complete but are missing resource types, custom fields, or records that changed during the run. Each risk below has a prevention step you can write into the export plan before the first run.

Incomplete resource coverage found late

The export only contains the FHIR resource types OpenEMR exposes through its Bulk Data implementation and the scopes you request. Compare the resource types in the output against your inventory of clinical, billing and document data before the first real run. Ask OpenEMR's FHIR documentation and your own test instance which resources are covered, and record any gaps in the migration plan so they are handled by another method rather than discovered after cutover.

OpenEMR FHIR README

Mapping losses for custom data

Standard FHIR resources do not carry every local field, form, or custom list your practice uses. Fields added through customization, and some encounter or billing details, may not map cleanly to a standard resource. Inventory those fields before the export, decide whether each is needed in the target system, and export the rest through a database extract or report, so the gap is documented rather than silent.

Stale data during a long export

A bulk export runs asynchronously, so clinicians can keep writing records while files are being produced. A patient updated late in the run may appear in one file and not another, or with an older version than the cutover data. Schedule the export in a freeze window with write access restricted, or run a second delta export after cutover and reconcile the changes between the two runs.

Over-broad scopes

Scopes such as system-level export access reach every patient in the instance. Use a dedicated client for the migration, grant only the export scopes it needs (for example system/Patient.$export), and remove the client after the run. Review who can register or approve clients in OpenEMR and confirm the export client cannot be used for routine application access.

OpenEMR FHIR README

Exported files left in unsecured storage

NDJSON output contains complete patient records, so each copy is protected health information. Write output to an encrypted volume with restricted access, not a shared drive or a public web directory. Set a deletion date for working copies, log who downloaded them, and confirm that the destination of the files is covered by your HIPAA risk analysis and any business associate agreement that applies.

Unverified record counts

A completed job status does not prove that every patient or resource arrived. Compare counts per resource type against the source database, using queries run at the same freeze point. Check a sample of patients end to end, including demographics, allergies, medications and documents, and keep the reconciliation report with the migration record so the target system can be signed off against it.

Questions teams ask before exporting OpenEMR with FHIR Bulk Data

How much does an OpenEMR FHIR Bulk Data export cost?

The cost depends on the scope of the export, not on a list price. DeployOpen does not publish a price list, and a quote follows from a written scope. The main cost drivers are the number of data types and patient groups to export, the size and age of the OpenEMR database, how many environments must be reconciled, whether the output feeds a specific target system, and how much verification the receiving team requires. Ask for the quote to list the export runs, the validation steps, the deliverables (such as file manifests and checksums) and any retest. Expect the work to be one-time, while any ongoing support or repeated exports would be a separate retainer.

How long does a FHIR Bulk Data export from OpenEMR take?

Duration depends on data volume, the number of resource types requested and how long the asynchronous job runs on your server, which is largely a function of database size and hardware. The export itself is only part of the timeline. Planning the scopes, confirming the Group membership, running a test export, validating the NDJSON files against the target schema and scheduling a final export near cutover all add time. Ask the proposal to separate the trial run from the final run and to state which steps depend on your change windows. No duration is given here because none has been researched for this work.

What does our team need to provide for a bulk export?

Your team needs to provide access and decisions that only you can make. Typically this includes:

  • An administrator who can register SMART backend clients and grant the system/Patient.$export and system/*.$bulkdata-status scopes, or the group-level equivalents.
  • A staging copy or maintenance window that matches your production data.
  • Agreement on which resource types, date ranges and patient populations are in scope.
  • A named owner for the receiving system and for sign-off on record counts.
  • Network and storage space for large NDJSON output, handled under your data protection rules.

Confirm these with the proposal before work starts.

Can our own team run an OpenEMR bulk export without a partner?

Yes, if your team has administrative access to OpenEMR, can configure OAuth 2.0 clients and scopes, and can script the asynchronous workflow. OpenEMR's FHIR implementation supports system, patient and group level bulk export in NDJSON, so the technical path is available to a capable internal team. The harder parts are usually verification and governance: checking that every requested resource type was produced, reconciling counts, handling patients who were not exported, and documenting the chain of custody for protected health information. Decide which of these your team can carry out and where a partner would add capacity.

Is a FHIR Bulk Data export from OpenEMR complete?

A bulk export is only as complete as its scope and its verification. The export returns what the requested scopes allow and what the FHIR API exposes, so data outside the API, custom tables, scanned documents, and some data types may need separate extraction. Compare the NDJSON output with your own counts from the database, check the resource types you expected, and review any errors reported by the status endpoint. Ask the implementation to document which data is covered by the export and which is handled another way, so your exit plan does not rely on an assumption.

Do we need to upgrade OpenEMR before running the export?

Not necessarily, but the version you run determines what the FHIR API exposes and which security fixes you have. OpenEMR 8.4.0 and 8.3.0 fixed security vulnerabilities in FHIR APIs, so an unpatched FHIR endpoint is a real exposure during an export. Recent releases require PHP 8.3 or later and a MySQL- or MariaDB-compatible database. Confirm your current version against the OpenEMR releases page, decide whether the export should run on the existing version or after an upgrade, and record the version in the export manifest so the output can be traced.

Does DeployOpen issue compliance attestations for an OpenEMR data migration?

No. DeployOpen plans, implements, documents and tests systems and prepares evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies make those determinations. There is also no HIPAA certification, because HHS states that no Security Rule standard requires certifying compliance. For an export, ask for records of the scopes used, the run logs, the verification results and the data handling steps, then review them with your compliance lead or assessor.

Preparing an OpenEMR exit plan that holds up under audit

An exit plan that relies on a FHIR Bulk Data export is only as credible as the documentation behind it. Start by writing down exactly what the export covers: which FHIR resource types the system, patient or group export returns for your OpenEMR version, which NDJSON files each job produced, and which data sits outside the API entirely, such as scanned documents under sites/*/documents, audit logs, and configuration. Bulk exports are not a substitute for a full database and file backup, so the plan should name both and say which one is the record of truth for each data class. Confirm the resource list with your OpenEMR version's FHIR README and your own test output, not with memory of an earlier release.

Test restores and record count reconciliation are what turn an export into evidence. For a sample of patients, compare counts per resource type in the NDJSON files against counts you pull from the source database or the UI, and record the job ID, scopes, timestamps and the OpenEMR build used. Then load the files into the target system in a test environment and confirm that a restore can be read back and reconciled. Keep the failed runs too. Auditors and your own risk committee will ask how you handled incomplete jobs, expired status URLs and partial files, and a plan that only shows a clean run will look untested.

Exported files hold complete patient records, so retention and access need the same rigor as the production system. Decide who may request exports, where the NDJSON files are stored, how long each copy is kept, and how copies are destroyed once the migration is verified. Use the access model in your identity provider and encrypt storage at rest. HIPAA's Security Rule applies to covered entities and to their business associates for electronic protected health information they create, receive, maintain or transmit. If a vendor or hosting partner handles these exports, a business associate contract must require Security Rule compliance and incident reporting, so confirm that contract before the export is run. HIPAA has no certification. Independent auditors issue attestations, and DeployOpen prepares the systems, controls and evidence those auditors review.

How DeployOpen scopes and delivers an OpenEMR data export

A bulk export is only as useful as the agreement behind it. DeployOpen sets the export scope in writing, builds and tests it inside your infrastructure, checks the output against source counts, and then supports the parallel run and handover. Each step below produces a record your team can review before the next one starts.

Written scope and export inventory

Before any work starts, the scope document names which resource types leave OpenEMR, whether the export runs at system, patient or group level, and which downstream system receives each NDJSON file. It also records who signs off on the inventory. For a migration, this list is the contract: anything missing from it is missing from the new system. Ask for the inventory to be reviewed against your data dictionary and your destination's import specification before build begins.

OpenEMR FHIR README

Client-side build and scope setup

DeployOpen builds the export in your environment, configuring the OpenEMR FHIR API client and granting only the scopes the job needs, such as system-level export and bulk status checks. Credentials are stored in your secrets tooling, not in scripts or tickets. Access is limited to the export window and the people who run it. Confirm with your security team which network path the export client uses and whether the export host is inside the same boundary as the OpenEMR server.

Asynchronous job runbook and testing

The bulk workflow sends a request with a Prefer header, receives a content location to poll, and downloads files once the job completes. DeployOpen writes a runbook covering job start, polling intervals, timeouts, partial failures and re-runs. Each step is tested against a non-production copy of the data first, so the team knows how long a full pull takes and how to resume a failed job without duplicating records.

Count reconciliation and parallel run

Output is checked against source counts per resource type, with a record of any differences and their causes. DeployOpen then supports a parallel run, comparing the destination with OpenEMR for a defined period before cutover. Handover includes the reconciliation report, the runbook, scope settings, rollback steps and a list of open items. Ask for the reconciliation method and the acceptance criteria in writing before the parallel run begins.

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.