OpenEMR syndromic surveillance reporting

A practical guide to sending syndromic surveillance data from OpenEMR to a public health agency, covering what to confirm with the agency, the configuration sequence, test submissions and the controls to put in place.

On this page

How OpenEMR syndromic surveillance reporting works in practice

A clinic or health system running OpenEMR that must send encounter-level data to a state or local health department should treat the agency's requirements as the starting point, not the software's defaults. The agency's message specification, transport method and onboarding steps determine what has to leave your system, how it is packaged and who must approve the connection. Before any build work, confirm with the agency which specification it currently accepts, which transport it uses, whether it requires a registration or test-environment onboarding step, and which data elements count as required for each reporting category. Those answers define the target that the OpenEMR side has to meet.

The research behind this page does not document OpenEMR's syndromic surveillance reporting feature, so this page does not name a message format, transport, connector or report set. Check the installed version's documentation and its reporting menus directly, and confirm in writing which reports and exports the feature produces, which fields they include, and whether the output can be validated against the agency's current specification. Ask your OpenEMR support provider or the community to show a sample output from your exact version. If the feature cannot produce the agency's required format, the gap becomes a custom build or a documented manual process, and that decision should be made before go-live rather than during the first submission attempt.

OpenEMR's FHIR API and FHIR Bulk Data export are separate interfaces for apps, analytics and data extraction. They should not be assumed to be the agency's submission path, even when the data looks similar. Using them for surveillance would still require confirming the agency accepts that format, handling the transport and credentials yourself, and documenting who approves each outbound feed. Plan the surveillance submission as its own interface with its own owner, test cases and access review, and keep it separate from the connections described elsewhere on this page.

What you need before the first agency submission

Syndromic surveillance submissions depend on decisions made before any data leaves OpenEMR. The cards below cover the software baseline, the agency relationship, the test environment, network access, staffing and contractual terms, and each one lists what to confirm with the agency and with your own environment.

Supported OpenEMR and platform baseline

Confirm which OpenEMR release your site runs and that its stack meets the documented requirements: recent releases require PHP 8.3 or later and a MySQL- or MariaDB-compatible database. Check the release notes for security fixes in the modules that touch reporting, including FHIR, billing and the fax and SMS module. Ask the agency which OpenEMR versions and reporting configurations its onboarding accepts, because that list may differ from the current release.

OpenEMR releases

Agency enrollment and onboarding account

Most agencies require your organization to enroll and receive credentials or a sending identity before any test message is accepted. Confirm with the agency which program your reporting falls under, which forms and attestations are required, who signs them, and how long approval takes. Ask whether the agency issues separate test and production credentials, and how credentials are rotated and revoked when staff leave.

Non-production OpenEMR environment

Build a staging copy of your OpenEMR site with a restored, de-identified or synthetic dataset, not a raw production clone. Use the same release, PHP version and reporting settings as production so that test results carry over. Keep the environment on its own hostname and credentials so a test submission cannot reach production data or the live agency feed. Document how the staging copy is refreshed and who approves changes to it.

Network path and TLS to the test endpoint

Confirm the agency's test endpoint address, protocol and port, and whether it requires an allowlisted source IP range, a client certificate or a specific TLS version. Verify outbound rules from the OpenEMR server and any proxy or firewall in between, and test the handshake before building the message. Check certificate chains against the agency's requirements, and confirm that the staging server's outbound path is separate from production.

Named owners for the submission

Assign a named technical owner who runs the OpenEMR side of each submission and a clinical or public health contact who answers agency questions about content and rejections. Add a backup for each role. Record who can change the reporting configuration, who receives failed-submission alerts and who approves moving from test to production. Without named owners, rejected messages often sit unread until the agency's reporting window has passed.

Signed terms for any hosted service touching ePHI

If a vendor, hosting provider or managed reporting service receives, stores or transmits ePHI on your behalf, confirm that a business associate agreement or equivalent data-sharing terms is signed before test data moves. Under 45 CFR 164.314(a)(2)(i), a business associate contract must require Security Rule compliance, flow the same terms to subcontractors that handle ePHI, and require reporting of security incidents. Check that the terms cover the staging environment as well as production.

Section 164.314 text

How encounter data moves from OpenEMR to the agency

The flow starts with encounter records in OpenEMR inside the clinic's network. A reporting configuration and mapping layer shapes those records into the message format the agency specifies, and the clinic's side of the trust boundary ends at the transport the agency names. Before any live submission, check which test endpoint the agency provides, confirm the mapping against its specification, and record each acknowledgment or error the agency returns, since those responses decide what has to be corrected and resent.

Data path from OpenEMR encounters to the agency's test and production environments, with responses returned for review.

How to set up OpenEMR syndromic surveillance reporting in sequence

This sequence takes a practice or organization from checking the agency's requirements through to a monitored production feed from OpenEMR. Each step ends with a check that shows whether the work is complete, so the team can see what is ready before the next step starts.

  1. Confirm the agency's specification and jurisdiction rules

    Before touching OpenEMR, the compliance lead or public health liaison gets the current syndromic surveillance specification, message format and submission rules from the health department that will receive the data. Confirm which facilities, encounter types and patient locations fall under that jurisdiction, and which local rules override the general specification. Record the specification version and its effective date in the project file. You are done when the agency has confirmed in writing which specification version applies and which sites are in scope.

  2. Check the installed version covers the required data elements

    The OpenEMR administrator compares the required data elements in the agency specification with the reporting feature and reports in the exact OpenEMR version you run, using that version's documentation and release notes. Look for gaps in chief complaint, diagnosis codes, visit type, demographics and facility identifiers. Where the documentation is unclear, ask the agency or the OpenEMR community which fields the feature sends. You are done when a written gap list exists, with each gap either accepted or assigned to a fix, and the OpenEMR version is pinned for the project.

  3. Enroll with the agency and obtain test credentials

    The project owner completes the agency's enrollment and onboarding steps, which may include a facility registration form, a data use agreement and a request for test endpoint access. Confirm with the agency which transport method, certificates or credentials it issues, and who on your side holds them. Store the credentials in your secrets manager, not in configuration files. You are done when the agency has issued test credentials and confirmed the test endpoint in writing.

  4. Enable and configure the feature in a non-production site

    The OpenEMR administrator turns on the syndromic surveillance reporting feature in a non-production site, which should match production in version, PHP and database settings. Enter the test endpoint, facility identifiers and the agency's submission settings, and restrict who can edit them. Confirm the site serves only test data and that outbound traffic goes to the agency test endpoint and nowhere else. You are done when a configuration review shows the settings match the agency's test instructions and the site's outbound destinations are confirmed.

  5. Map OpenEMR fields to the agency's required elements

    A clinical informaticist and an OpenEMR administrator build a field map that links each required element in the agency specification to the OpenEMR source, such as a visit form, a coded diagnosis, a facility record or a demographic field. Document defaults for missing values and how unknown or unmapped values are handled. Have a clinician check sample records to confirm the mapping reflects how staff actually record encounters. You are done when a signed-off mapping document exists and a sample of test encounters produces the expected values for every required element.

  6. Run test submissions and resolve acknowledgment errors

    The team sends a planned set of test messages, covering normal visits, edge cases and records with missing values, to the agency test endpoint. Each submission should return an acknowledgment, and each rejection should be traced to the field map, the configuration or the source data and fixed there. Keep a log of message identifiers, acknowledgment results and fixes. You are done when every planned test message receives an accepted acknowledgment, and a reconciled count shows the number of encounters selected in OpenEMR matches the number of accepted messages, with any exclusions explained.

  7. Cut over to production with monitoring

    The team enables production submission only after the agency confirms the test results and approves the go-live. Set up monitoring for failed transmissions, rejected acknowledgments and queue backlogs, and assign an owner who reviews them on a set schedule. Run a first production cycle with the record count reconciled against the source before treating the feed as stable. You are done when the first production cycle shows accepted acknowledgments, the reconciliation matches, and the monitoring alerts reach a named owner.

Which OpenEMR data the agency needs and where to confirm each field

This table maps each data category a public health agency typically asks for against where that data generally lives in an OpenEMR deployment and what to verify. Read it as a starting checklist: the agency's own specification is the authority on required fields, formats and code sets, so confirm every row against it and against an audit of your own records.

Data categoryWhat the agency typically asks forWhere the data lives in OpenEMRWhat to confirm
Patient demographicsAge or date of birth, sex, race and ethnicity, and residential location at the level the agency acceptsPatient demographic recordsWhich demographic fields the specification requires, the accepted code sets, and how missing or unknown values must be coded
Encounter or visit dataVisit date and time, visit type, and whether the record is an encounter the agency countsEncounter records tied to scheduling and clinical documentationWhich visit types are in scope, how visit dates are defined, and whether duplicate or amended encounters are handled
Chief complaint or reason for visitFree-text or coded chief complaint, and the format the agency wants for itEncounter reason or complaint fields as recorded by clinicians, often in free textWhether the agency requires a coded or free-text value, the expected length and format, and how blank complaints are reported
Diagnosis codesDiagnosis or syndrome codes, the coding system version, and the order or priority of codesDiagnosis entries attached to encounters or problem listsThe required code system and version, whether the agency wants encounter diagnoses or problem list entries, and how coding gaps are audited
Facility and provider identifiersFacility identifiers, reporting location, and rendering or ordering provider identifiersFacility and provider configuration records in the system settings and user recordsIdentifier type, format and registration with the agency, and whether one site or several sites report under separate identifiers
DispositionOutcome of the visit such as discharge, admission, transfer or death, in the agency's coded categoriesEncounter outcome or disposition entries recorded at the end of a visitWhich disposition categories the agency accepts, how they map to local values, and whether disposition is required for every encounter

How agency onboarding differs by who runs the submission

A single-site clinic that submits directly has the simplest model because one organization holds the agency relationship, one set of OpenEMR settings and one submission path. The agency usually asks for an enrollment request that names the facility, a technical contact and the message format the clinic will send, and an authorized official of the clinic typically signs the participation terms. Confirm with the agency whether it expects an organizational agreement, a data use form or a separate application for each facility.

  • Enrollment request: Expect the agency to ask for facility identity, a technical contact and the message format. Confirm which formats it accepts.
  • Signatures: An authorized clinic official usually accepts the agency's terms. Check whether the agency also names a person responsible for ongoing data quality.
  • Access controls: Limit who in OpenEMR can change the feed configuration or trigger transmissions, and keep submission credentials in a restricted secrets store and out of shared notes.
  • Testing: Ask whether the agency provides a validation endpoint and whether it issues test identifiers before production credentials.
  • Ownership: The clinic owns the feed, so changes to mappings, templates or contacts should follow the clinic's own change process.

Check the enrollment form and test requirements early, since the agency's paperwork can set the pace of go-live.

What the reporting feature and its reports cover, and what to verify

The first thing to establish is which data OpenEMR can actually send. A syndromic surveillance submission is only as complete as the data elements the reporting feature and its reports capture for the installed version, so the agency's required data elements must be compared line by line against that version before any testing begins. Treat the agency's specification as the checklist and OpenEMR's documented output as the evidence. Start with the documentation and release notes for the exact version in production, not the latest release, because reporting behavior can change between versions. Record each element as captured in a discrete field, captured only in free text, derived from another field, or not captured at all. Recent release notes for OpenEMR 8.x are published in the project's OpenEMR releases page, and the team should confirm which of them touch reporting.

Next, generate a sample output from a test site and review it with clinical and registration staff before any file goes to the agency. Staff who enter encounter, chief complaint and diagnosis data every day will spot fields that are blank, coded differently than the agency expects, or populated from the wrong source. Use synthetic patients that cover the common visit types the agency cares about, and check how the output handles missing values, multiple diagnoses and visits without a coded reason. Record each finding with the field name, the expected value and the observed value, so the same review can be repeated after an upgrade or configuration change. Confirm with the agency which message format, transport and version it currently accepts before making this comparison, since a mismatch in format is a common cause of rejected files.

Where the agency asks for a data element that OpenEMR does not capture in that form, document the gap rather than filling it with guesswork. Each gap should name the required element, the closest OpenEMR field or workflow, the clinical or operational owner, and the decision the agency needs to make, such as accepting a partial value or a different code set. Do not treat OpenEMR's FHIR API or FHIR bulk export as a substitute for the reporting feature. Those interfaces expose resources to authorized applications and analytics tools, which is a different path from a syndromic surveillance submission. Use them for this purpose only if the agency states in writing that it accepts that interface and format, and the team confirms the mapping from those resources to the required elements.

Security controls for syndromic data leaving the clinic

Syndromic surveillance submissions carry patient-derived data out of the clinic, so the controls around the OpenEMR server, the people who can trigger a send, and the reporting configuration all matter. The cards below cover the web server, the installation footprint, document storage, user authentication, configuration rights, audit review and the contract terms for any third party that handles the data in transit.

Allow only HTTPS

The OpenEMR security guidance says to allow only HTTPS and consider opening only port 443 on the web server. For syndromic reporting, this protects the login sessions of staff who prepare and send submissions. Check the web server configuration and firewall rules from outside the clinic network, and confirm that no plain HTTP listener remains reachable. Ask your hosting team to document which ports are open and why.

Securing OpenEMR guide

Remove installation scripts

After installation, the guidance says to remove setup.php and other admin scripts from the web root. Leaving them in place gives anyone who can reach the server a path to reconfigure the system, including the reporting settings. Verify removal on every OpenEMR site in a multisite deployment, and repeat the check after each upgrade, since an update can restore files you deleted.

Block direct access to document storage

The guidance says to block direct web access to the sites/*/documents directory. Uploaded clinical documents stored there could otherwise be fetched by URL without going through application authentication. Test the rule by requesting a known file path while logged out and confirming the server refuses it. Syndromic reporting may generate files that are held temporarily, so include any export location in this test.

Require MFA and strong passwords

The guidance recommends multi-factor authentication and strong password policies. Limit the requirement to accounts that can trigger submissions, but apply the strong password rule and expiration settings from OpenEMR 6.0.0 to all of them. Confirm which login method each submitter uses, including any directory or Google Sign-In integration, because MFA coverage must hold for every path into the account.

Prior passwords blocked
5

Restrict reporting configuration changes

Who can enable the reporting feature or change its endpoint, sender details and schedule is a control decision in its own right. A changed destination can send patient-derived data to the wrong place without any visible error in daily use. Assign configuration rights to a small named group, separate it from routine clinical access, and record who approved each change. Confirm the exact permission names in your OpenEMR version before writing the access policy.

Review audit logs for submissions

Review the audit trail for each submission, including who triggered it, when it ran and what it covered. Periodic review catches submissions nobody expected, repeated failures that may hide a misconfiguration, and access by accounts that should not be active. Ask the reporting agency what they expect your records to show, and confirm with your compliance lead how long logs are kept and where they are stored.

Business associate contract for transit

When a third party such as a hosting provider, a clearinghouse or an integration service handles ePHI in transit for a covered entity, 45 CFR 164.314(a)(2)(i) requires a business associate contract. It must require Security Rule compliance, flow the same terms down to subcontractors that handle ePHI, and require reporting of security incidents. Review the contract before go-live and confirm who holds the data at each hop. This is a legal requirement to verify with counsel, not a certification.

45 CFR 164.314 text

How to test submissions before the agency accepts production data

Do not send production syndromic surveillance data until the agency has confirmed acceptance of your test submissions in writing. Start by confirming with the agency which test endpoint, credentials and message format apply to your OpenEMR site, and whether they expect a specific test flag or separate sending account. Record these details in the test plan before the first transmission, because the agency's answers define what counts as a passing test.

Build a fixed set of synthetic or de-identified encounters that exercises every required data element the agency lists, including visit type, chief complaint or reason for visit, diagnosis codes, age, sex, patient location and disposition. For illustrative purposes, one test case might pair a respiratory visit with a complete demographic record, while another deliberately omits a field to confirm that OpenEMR and the agency both reject it. For each run, compare what OpenEMR generated with what the agency acknowledged, and log every error code next to the fix and the OpenEMR setting, mapping or data entry change that resolved it. Repeat the cycle until the agency's written confirmation covers the full set.

Keep test records out of production reports and dashboards, and label them so no one counts them in operational figures. Store each test run as evidence for your compliance file, including the date, OpenEMR version, configuration, input set, outgoing messages, acknowledgments and sign-off. Re-run the full test set after any OpenEMR upgrade, PHP or database change, or edit to code mappings, because a passing result on one version does not confirm the next one. Confirm with your own compliance lead how long test evidence must be retained.

Why agency submissions fail and how to fix them

This table lists common reasons syndromic surveillance submissions fail from OpenEMR, the likely cause, the fix and what to confirm with the agency. Start with the symptom in your transmission log or agency message, then check the matching cause against your configuration. Most failures trace back to field mapping, identifiers or endpoint settings, so confirm the agency's specification and error documentation before changing anything.

SymptomLikely causeFixWhat to confirm
Rejected for missing or malformed required fieldsRequired element empty, or a date, code or ZIP code in the wrong formatMatch the error code to the agency's error documentation, correct the source fields and resubmitWhich elements are required and the accepted code sets in the agency's specification
Acknowledgments never arriveSubmission not delivered, or acknowledgments sent to an address or endpoint no one monitorsCheck the transmission log, confirm receipt with the agency and verify the acknowledgment return addressWhich acknowledgment types the agency sends, expected timing and the delivery method
Mismatched facility or provider identifiersIdentifiers copied from another site or template, or out of date with the agency enrollmentCompare each identifier with the enrollment record and correct the OpenEMR facility or provider settingsIdentifier types, formats and whether each site needs its own identifier
Data in OpenEMR not captured in the expected formDiagnosis, complaint or visit type stored as free text or outside the fields the agency readsMap existing encounter data to coded fields and add structured entries where the agency needs themRequired code system and version, and whether free text is accepted
Submissions fail after an OpenEMR upgradeExport format, configuration or PHP and database requirements changed with the new versionTest on a staging copy, compare settings to pre-upgrade values and read the target release notesWhether the agency's specification changed and the PHP version the target release needs
Certificate or TLS failures to the agency endpointExpired or untrusted certificate, incomplete chain or unsupported TLS version at the agency endpointTest the connection from the OpenEMR host, then update the certificate chain or trust storeThe endpoint's certificate authority, required TLS version and any client certificate requirement

What OpenEMR syndromic surveillance reporting setup involves and who does it

What drives the cost and effort of setting up syndromic surveillance reporting?

The main drivers are how many sending sites and feeds you have, how much of the agency's required message content your OpenEMR data already captures, and how many onboarding and testing rounds the agency requires. Costs fall into two groups: internal staff time for clinical, data and IT work, and any outside services you buy for configuration, interface work and testing. Setup is largely one-time, while maintaining the feed (patches, agency specification changes and retesting) recurs. Ask any partner for a quote built from a written scope that lists sites, data elements, agency onboarding steps and the test cycles you expect, along with who pays for each item and what ongoing support costs. No public price for DeployOpen is listed, and the quote follows from that written scope.

How long does syndromic surveillance onboarding take with OpenEMR?

The timeline depends mostly on the agency, not on OpenEMR. The agency controls the onboarding steps, the test submission rules, the acceptance criteria and its review queue, so start by asking for its written onboarding checklist and current implementation guide. Your own timeline is shaped by how quickly your team can confirm the data fields, fix gaps in clinical documentation such as chief complaint and encounter coding, configure the sending process and complete the agency's test rounds. Because no duration is supplied for this work, treat any date you are given as an estimate to verify against the agency's process, and build contingency for rejected test messages.

Can a practice set up syndromic surveillance reporting without outside help?

A practice with an in-house IT lead and a clinical informatics contact can often manage the work alone, but it depends on the agency's requirements and the practice's OpenEMR version and hosting. The hard parts are mapping OpenEMR data to the agency's message format, validating test submissions and keeping the feed working through software upgrades. Check which OpenEMR release line and reporting features your installation includes, confirm them against the OpenEMR releases page, and ask the agency whether it accepts self-onboarded senders or requires a registered vendor or intermediary. If the team lacks health data standards experience or has no one to run test cycles, an outside implementation partner is a reasonable option.

What does syndromic surveillance setup need from clinical and compliance staff?

Clinical staff confirm which encounters are in scope, how visit reasons and diagnoses are recorded, and whether documentation is consistent enough for the agency's required fields. Compliance and privacy staff review what data leaves the organization, under which agreement, and how transmissions are logged and retained. Security staff review how credentials for the sending connection are stored and who can change them. Ask the agency whether it requires a data use agreement or an intermediary agreement, and confirm with your privacy officer how the HIPAA Security Rule's administrative and technical safeguards apply to the transmission path. Your compliance team owns the risk decision, and no outside party's review replaces it.

Can OpenEMR's FHIR API be used for syndromic surveillance instead?

The FHIR API is useful for reading clinical data, but it does not by itself produce the message the agency expects. OpenEMR's FHIR API implements FHIR R4 with US Core 8.0 and SMART on FHIR v2.2.0, and it supports OAuth 2.0 access with granular scopes. A surveillance feed still needs a transformation step, a message format the agency accepts, a transport the agency supports and its own testing. Ask the agency which formats and transport methods it accepts before choosing a design. Also confirm that the API is enabled and scoped correctly for the sending process, since access to clinical data through the API is a security decision in its own right.

What happens after go-live when the agency changes its specification?

Plan for specification changes as recurring work. Agencies update message guides, value sets and validation rules, and a change can cause rejections even when OpenEMR is unchanged. Keep a record of the specification version your feed uses, subscribe to the agency's notices, and rerun test submissions after each change or OpenEMR upgrade. Include upgrade testing in your OpenEMR upgrade plan, because a new release can alter the data your mapping reads. Ask any partner whether ongoing support, retesting and upgrade work is covered by a retainer or by separate scoped work, and get that split in writing before go-live.

How DeployOpen scopes and delivers an OpenEMR public health reporting integration

DeployOpen plans, implements, tests and documents the OpenEMR side of syndromic surveillance reporting inside the infrastructure you control. We work from a written scope that names the agency, the data feed, the environments and the evidence your compliance team will need to review.

How we scope

  • Confirm with the receiving agency which message format, transport and onboarding steps it requires before any build starts.
  • Record which OpenEMR modules, sites and encounter data feed the report, and which data stays out of scope.
  • Agree in writing the test environments, sign-off owners and retest responsibilities, since engagements are fixed-scope.

How we build

  • Configure the OpenEMR reporting feature for your sites, then map coded fields and visit data to the agency's expected content.
  • Harden the network path and credentials used for submissions, including HTTPS-only access and restricted administrative scripts.
  • Run test submissions against the agency's test endpoint and log every rejected or accepted message with the reason.

How we hand over

  • Deliver a runbook covering configuration settings, submission schedules, credential rotation and the steps for handling rejected messages.
  • Document the test results, audit log locations and access roles so your security and compliance teams can review the setup.
  • Walk your operations staff through upgrade steps so later OpenEMR releases do not silently break the reporting path.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Plan regression checks against each OpenEMR security release before applying it to the reporting environment.
  • Ask any support provider to confirm response expectations and the agency's change notices in writing before signing.

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.