Does OpenEMR audit logging meet the HIPAA audit and certification questions on its own?
If you run self-hosted OpenEMR and an assessor or certification body will ask for audit logs and log encryption, the short answer is that OpenEMR provides the audit logging and encryption settings, but those settings must be configured for your environment and evidenced. DeployOpen prepares that configuration and the evidence an assessor will review. DeployOpen does not issue certification, attestations or audit reports; independent auditors and certification bodies do that work.
The requirements touched here sit in two places. The HIPAA Security Rule technical safeguards in 45 CFR 164.312 require audit controls and include encryption as an addressable implementation specification, meaning you must assess whether it is reasonable and appropriate, document the result and adopt an equivalent measure if you decline it. For OpenEMR 8.x, ONC certification requirements also set expectations for audit log encryption and related settings, which the OpenEMR 8.0.0 ONC Ambulatory EHR Certification Requirements page describes. Confirm the current list against your certified version before you write the configuration baseline, since the requirements are specific to the release and the certification edition you rely on.
HIPAA has no certification, so the goal is not a badge but documented, testable controls. Several decisions stay with your organization and cannot be delegated to a vendor: the risk decision on whether encryption and each logged event category are reasonable for your practice, the retention period for audit records, who reviews logs and how often, and what your own risk assessment concludes. The assessor's own testing, such as sampling log entries or attempting to alter them, is also outside anyone's control except theirs. Your job is to make each of those answers provable with settings exports, change records and sample log evidence that an assessor can check independently.
Mapping audit and encryption requirements to OpenEMR settings
This table pairs each HIPAA technical safeguard and OpenEMR 8.0.0 certification expectation for audit logging with the OpenEMR capability that meets it and the setting to confirm. Use it as a checklist: for each row, confirm the exact setting label and default in the 8.0.0 certification requirements wiki and your release before you record the value. The main takeaway is that the assessor will look for recorded evidence of each setting, not only the setting itself.
| Requirement | OpenEMR capability | Configuration to set and record |
|---|---|---|
| Audit controls for user activity (45 CFR 164.312 audit controls standard) | OpenEMR audit logging of user and record activity, as described in the 8.0.0 ONC certification requirements | Enable audit logging, then confirm which event categories are captured. Record the setting values and the date you verified them. |
| Protection of audit log contents (encryption at rest for certification) | Audit log encryption option for certified use, listed in the 8.0.0 certification requirements | Turn on audit log encryption and confirm the key handling and where the key is stored. Record who holds the key and how it is backed up. |
| Query (SELECT) logging | Option to log SELECT queries, which the 8.0.0 requirements tie to certification scope | Keep SELECT query logging on for certified sites. Only sites not needing certification may turn it off to improve performance. |
| Printing log behavior | Printing log option that records when patient information is printed | Set the printing log to record activity for certified sites. Only sites not needing certification may set it to no logging. Confirm the exact option label in your release. |
| Encryption of ePHI at rest (addressable specification) | Device and drive encryption outside OpenEMR, plus the OpenEMR option to encrypt items stored on drive named in the Securing OpenEMR guide | Document whether drive encryption is implemented. If not, record the assessment of why it is not reasonable and appropriate and the equivalent measure used. |
| Log retention and review | Audit logs stored in the OpenEMR database and server, so retention depends on your backup and rotation | Set a retention period in your policy and confirm that backups preserve encrypted logs. The retention period is not set by a supplied fact, so confirm it against your own obligations. |
How an access event moves from OpenEMR into the audit trail
This illustrative flow starts with a clinician or admin action in the OpenEMR web application. The audit logging layer on the application host records the event and passes it to the audit database, where log encryption should protect stored records. The boundary drawn between the application host and the database or backup location marks where data changes custody, so confirm that each crossing is encrypted and access-controlled. Review and retention then run against the stored records under your own policy. The exact storage path depends on your deployment, whether Docker, the Ubuntu installer or another setup, so confirm it in your environment.
Illustrative event path from the web application to stored, reviewed audit records.
Which logging defaults to keep for certified and non-certified sites
If your practice relies on OpenEMR's ONC certification, the 8.0.0 certification requirements govern which audit logging must stay on. Treat those requirements as the baseline and do not switch off any logging they cover, even if the site runs slowly. Query logging and the printing log should follow the certification requirements for your version, not your performance preferences.
- Start from the requirements document: Read the OpenEMR 8.0.0 ONC Ambulatory EHR Certification Requirements page and list every logging setting it mentions for your version.
- Keep certification-required logging on: Do not disable SELECT query audit logging or set the printing log to No logging on a site that depends on certification.
- Record your baseline: Save the Administration Globals values for query logging and the printing log before any change, so you can show what was set and when.
- Re-check after upgrades: Each release can change requirements, so review the logging settings during every upgrade.
- Ask for written confirmation: Confirm with your certification or compliance advisor which settings apply to your certified setup.
Before you change any logging default, confirm in writing which certification requirements apply to your site.
If your organization does not need certification, OpenEMR's guidance notes that turning off SELECT query audit logging and setting the printing log option to No logging may improve performance. This is a real option only where no certification or contractual requirement depends on those logs. The trade-off is that you lose the ability to review who viewed or printed specific patient records, which weakens your investigation and access review capability.
- Expect a performance gain, not a guarantee: The supplied guidance says these changes may improve performance. Measure the effect on your own workload before deciding.
- Understand the review cost: Without SELECT logging, a question such as who opened a particular chart may have no answer.
- Check other obligations: HIPAA risk analysis, contracts and internal policies may still expect access records even when certification does not apply.
- Test in a copy first: Apply the settings to a staging copy with realistic load and compare response times and database growth.
- Document the decision: Record who approved the change, the reason and the review you still can perform.
Before changing these settings, get written confirmation that no certification, contract or policy requires the logs, and test the performance impact in your own environment.
The right default depends on facts about your setup that this page cannot settle for you. Ask the people who own the certification, the contracts and the risk assessment to confirm the requirement in writing. Keep the answer with the change record so an auditor can see the reasoning later.
- Ask certification owners: Confirm whether your certified product configuration requires query and printing logs.
- Ask compliance leads: Confirm whether HIPAA risk analysis and internal policy require patient record access review.
- Ask the data owner: Confirm what your customers or partners have been promised about access logs.
- Confirm the version: Make sure the requirement you cite matches the OpenEMR version you run.
- Pair the change with a test plan: Link the approval to a measured performance result from a staging environment.
Do not change query or printing logging until you have written confirmation of the applicable requirement and a tested performance result.
Performance gains from turning off logging depend on your database, hardware, user count and report volume. Measure before and after the change under conditions that match production, rather than relying on general claims. Use the same test scripts and data volume for both runs so the comparison means something.
- Build a representative workload: Include scheduling, charting, billing and reporting activity that matches your busiest hours.
- Measure key pages: Record response times for patient chart, schedule and report screens before and after the change.
- Track log table growth: Compare how fast audit tables grow with each setting, since retention cost depends on it.
- Check the database resources: Watch CPU, I/O and locking during the test.
- Keep a rollback path: Note exactly how to restore the previous settings and confirm the rollback works.
Run the test in a staging copy, record the results, and attach them to the change approval before applying anything to production.
Setting log retention and review routines that an auditor can follow
The supplied material does not give a retention period for OpenEMR audit logs, so the retention period must come from your own written policy, reviewed by legal counsel against the rules that apply to your practice and jurisdiction. Set the period before you tune logging, because it determines how much log volume you must store, where it sits and how much it costs to keep. Confirm with your counsel and compliance lead whether any state or contractual obligation requires a longer period than the federal baseline, and record the decision with its date and owner so an assessor can see who made it and why.
Document the routine as a set of answers an auditor can check. Name where the audit logs are stored, including the database tables or log destinations your OpenEMR build writes to, and whether any copy leaves the server. List who can read, search or export logs, and separately who can change the logging settings in the administration globals. Write down how often someone reviews access logs, what they look for (for example, access to records of patients who are not on their care team), and how a finding is escalated and closed. For encryption, record which key protects the encrypted log data, where that key is held, who can retrieve it, how it is rotated, and how a lost or retired key would affect old logs. Also state how aged logs are archived or deleted, and confirm that deletion keeps a record of what was removed and when.
What evidence to keep so the audit log configuration can be checked
A reviewer checking OpenEMR audit logging and log encryption will look for proof that the settings were chosen, applied, tested and kept current. The six artifacts below connect the configuration to its requirements, its sample output, its key handling and its change history. DeployOpen prepares this evidence, but independent auditors and certification bodies are the ones who assess it.
Dated configuration exports
Keep screenshots or exports of the audit and encryption settings in the Administration Globals screens, each dated and tied to the OpenEMR version running at the time. Capture the audit log option, the SELECT query logging choice, the printing log option and the log encryption setting. Record who took the capture and where it is stored. A reviewer will compare these against the running system, so a stale capture from an older version is a finding in itself. Retake them after each OpenEMR release and after any change to the database or host.
Administration GlobalsCertification requirements mapping
Maintain a table that maps each audit logging and encryption requirement in the OpenEMR 8.0.0 ONC Ambulatory EHR Certification Requirements to the setting, procedure or record that meets it. Each row should name the criterion, the configuration item, the evidence file and the person responsible. Mark rows where a site is not seeking certification and the logging defaults were deliberately changed, with the reason. Revisit the mapping when the certification requirements change or when the site moves to a new release line.
8.0.0 certification requirementsSample audit entries
Export a sample of audit entries that shows the user, the time and the action for a range of events, such as a patient chart view, a demographic change and a failed login. Choose samples from more than one user role so the reviewer can see that identity is recorded and not shared. Confirm the timestamps match the system clock, which should be synchronized through NTP. Refresh the sample after each release, because the event fields and the logged actions can change between versions. Store the export in a read-only location.
Log encryption and key custody records
Document how the encryption for audit logs is enabled, which key or passphrase protects it, where the key is stored and who can access it. Keep a custody log that records each key creation, rotation, backup and retrieval, with the names of the people involved. Test that logs can still be read by an authorized reviewer after a key change, and record the result. Confirm with your OpenEMR configuration and your key management practice how key material is kept off the application server, since the wiki does not give those details.
Retention and review procedure with sign-off
Write the retention period for audit logs, the archive location, the deletion method and the review cadence, then keep signed records showing each review. Sign-off should name the reviewer, the date, the period covered and any anomalies raised and closed. Set the retention period against your own legal and policy obligations, because no supplied source sets one for OpenEMR. Keep the procedure in the same document set as the risk assessment so the two can be read together.
Change records for logging settings
Keep a change log for every edit to audit, query logging, printing log or encryption settings, including the old value, the new value, the reason, the approver and the release in effect. Upgrades are a common source of silent change, so record a before and after check for each OpenEMR release, including the 8.x releases that fixed security issues in the FHIR API, billing and fee sheet modules. Keep the log with the evidence set so a reviewer can trace any setting to a decision.
How to configure OpenEMR audit logging and encryption in order
This sequence takes a practice from confirming its OpenEMR version and certification scope through log settings, access controls, testing, retention and re-verification after each release, so the audit trail can be shown to an assessor.
Confirm version and certification scope
Record the exact OpenEMR version in production and compare it against the release notes for that version and the OpenEMR 8.0.0 ONC Ambulatory EHR certification requirements. Confirm whether your installation is meant to operate as certified or as non-certified, and who at the organization owns that decision. Recent releases such as 8.3.0 and 8.4.0 fixed security vulnerabilities, so confirm you are on a patched build. Evidence to keep: a dated version record, the release notes reviewed, and a signed scope statement naming the certified or non-certified intent.
Decide certified or non-certified logging
Choose the logging profile before changing any setting. Certified use requires the audit logging the certification criteria describe, while the 8.0.0 requirements document note that sites not needing certification may turn off SELECT query audit logging and set the printing log option to no logging to improve performance. Write down which events you will log, which you will not, and the reason for each exclusion, and have the compliance owner approve it. Evidence to keep: the approved logging decision record with the rationale for every excluded event.
Enable audit logging and log encryption
Turn on audit logging and the option to encrypt audit logs in the administration settings of your installed version, and confirm the labels against that version's documentation because menu wording changes between releases. Store the encryption key outside the web root and outside the application directory, and make sure the key is backed up under your key management procedure. Test that a log entry written after the change is stored in encrypted form and that you can still read it through the approved review path. Evidence to keep: a configuration export or screenshot with the setting, the key location and the date of change.
Set query and printing log options
Set the SELECT query audit logging option and the printing log option to match the decision from the previous step. If you keep query logging on, measure the effect on response times in a staging copy before production, since the 8.0.0 requirements document links these options to performance. If you turn either option off, record that as a documented exception. Evidence to keep: before and after setting values, the staging performance results and the approved exception if one applies.
Restrict access to log storage and keys
Limit read and write access to audit log storage, backups of logs and the encryption key to named administrators, and remove access for application accounts that do not need it. Confirm that the web server cannot serve log or key files directly, consistent with the Securing OpenEMR guidance to block direct web access to the sites documents directory. Log administrative access to these locations at the operating system or storage layer. Evidence to keep: the access list with named roles, file permission output, and a web request test showing the protected paths are refused.
Test with known events
Generate a set of known events in a test environment, such as a login, a failed login, a patient record view, a record change and a print action, then confirm each one appears in the audit log with the expected user, time and event type. Include at least one event type you chose to exclude to confirm the setting behaves as documented. Repeat the test in production using a controlled test account where your procedure allows it. Evidence to keep: the test script, the timestamps, the log extracts and a sign-off that each expected event was found or a defect was raised.
Document retention and review
Write a retention schedule for audit logs and encryption key backups that your legal and compliance owners approve, along with a review cadence and the person who performs each review. The retention period should follow your organization's policies and the requirements that apply to you, and you should confirm those periods with counsel rather than adopting a default. Record how reviews are sampled and how anomalies are escalated. Evidence to keep: the approved retention schedule, the review calendar and a completed first review record.
Repeat verification after each upgrade or security release
After every OpenEMR upgrade or security release, repeat the version check, confirm the logging and encryption settings survived the upgrade, and rerun the known-event test. Confirm that logs written before and after the upgrade remain readable. Recent security releases touched FHIR APIs, the patient portal, billing and the fee sheet, so include those areas in the test when they change. Evidence to keep: a per-release verification record with the version, settings snapshot, test results and the name of the person who approved the release for production.
What OpenEMR audit logging does not cover
Turning on OpenEMR audit logging and log encryption does not make an audit trail complete on its own. The gaps below sit with your policies, your infrastructure team and your vendors, and each one needs a named owner before an assessment.
Retention and review cadence
OpenEMR records events, but it does not decide how long logs are kept or how often someone reads them. Your policy sets the retention period, and a named role should review access and audit entries on a fixed schedule. Confirm the retention window your compliance lead has chosen, where archived logs live, and who signs off on the review record.
HIPAA compliance certification
Enabling audit logs does not make the practice HIPAA compliant, and no certificate exists for it. HHS states that no Security Rule standard requires certification, and private certifications do not stop OCR from finding a violation. Treat audit logging as one control among the safeguards you document and can show an assessor.
The risk analysis
Audit logging does not replace the HIPAA security risk analysis. The analysis decides which systems hold ePHI, which threats apply and whether logging is reasonable and appropriate for each one. Map the logging settings to the findings in your risk analysis, and record any addressable specification you chose not to implement along with the alternative measure.
Logs outside OpenEMR
OpenEMR only logs its own application events. Operating system, web server, database, identity provider and backup logs are separate sources, and each needs its own settings, retention and protection. Ask the infrastructure team to confirm which of these sources are collected, where they are sent and whether time sources match across hosts.
Encryption key custody
The encryption option in OpenEMR settings covers only what the application stores. Who creates, rotates, backs up and destroys the key sits with your team, outside the product. Document the key owner, the storage location and the recovery steps, and test that logs can still be read after a key change.
Hosting and support vendors
Any hosting provider or support firm that can reach ePHI or its audit logs is a business associate. A business associate contract under 45 CFR 164.314 must require Security Rule compliance, flow the same terms to subcontractors and require incident reporting. Confirm these terms cover log storage, log access and backups before a vendor touches the environment.
Read 45 CFR 164.314Questions buyers ask about OpenEMR audit logging and encryption
How much does an OpenEMR audit logging configuration and evidence review cost?
No price is published for this work, and a quote follows from a written scope. The main cost drivers are the number of hosts running OpenEMR and its database, how many interfaces and integrations write to or read from the audit trail, whether the review covers encryption of the log store and retention storage, and whether a retest is included after fixes. Each host and interface adds review time, and evidence packaging grows with the number of environments such as production, test and backup. Ask for the quote to list each host and environment in scope, each interface reviewed, the evidence artifacts delivered, and whether a retest after remediation is priced separately. Also ask whether the quote covers configuration changes or only findings and recommendations, since the client's own team may carry the fixes.
How long does an OpenEMR audit log review take?
Duration depends on the same scope factors as cost: the number of hosts, the depth of the database and log review, the number of interfaces, and how quickly the client can provide access and documentation. Delays usually come from waiting for access to the production database, unclear ownership of the log store, or a backlog of remediation before a retest. Ask for a timeline in the written scope that separates the review from the fix window and the retest, and name the client dates that the timeline depends on. Because the work is fixed-scope, the timeline should be agreed before work starts.
What does the client need to provide for an OpenEMR audit logging review?
The client needs to provide access to the OpenEMR hosts, the database that stores audit records, and the web and application servers that write logs, along with the current logging configuration. The engagement also needs a named owner for log retention and periodic review, because that person decides how long records are kept, who reads them, and how exceptions are handled. Provide the current settings for audit log encryption, query logging and printing log options, plus any log shipping or SIEM configuration. Written policies for retention and access help the review test what is actually in place against what the practice says it does.
Can our practice configure OpenEMR audit logging ourselves?
Yes, many practices can change the settings in OpenEMR and the host, but the work is easier to get wrong than it looks. Common mistakes include turning off query logging on a site that needs it for certification, leaving the log store unencrypted, letting logs sit on the same volume as the application with no retention rule, and never testing whether an entry is actually written when a record is viewed or changed. Other frequent gaps are missing time sync across servers, unclear access to the log database, and no documented review routine. Before deciding, confirm which OpenEMR version your site runs and read the certification requirements for that release, because the expected settings depend on whether the site is certified.
Is it acceptable to turn off query logging in OpenEMR?
It depends on whether the site must meet ONC certification requirements. The OpenEMR 8.0.0 certification requirements note that sites not needing certification may improve performance by turning off SELECT query audit logging and setting the printing log option to No logging. A site that is certified, or that relies on its audit trail to answer who viewed a record, should not switch these off without checking the certification requirements first. Before changing the setting, document the decision, the reason, and the performance test that supported it, and confirm the choice against your own HIPAA risk analysis.
Does a log configuration review mean our OpenEMR site is certified?
No. A configuration review checks settings, evidence and gaps, but it does not certify the site or produce an audit report. DeployOpen prepares systems, controls and evidence for compliance assessments, and independent auditors and certification bodies issue audit reports and certifications. HHS also states there is no HIPAA certification, and that private certifications do not stop HHS from later finding a violation. Certification for ONC purposes depends on the product and the practice's own use of it, so confirm the requirements for your version with the OpenEMR certification documentation and your assessor.
How DeployOpen scopes and verifies OpenEMR audit logging and encryption
DeployOpen plans, implements and documents OpenEMR audit logging and log encryption inside your own infrastructure, so your compliance and security teams can review the settings, the evidence and the retention approach. We agree the scope in writing first, then test the configuration and hand over records your auditors can follow.
How we scope
- Inventory which OpenEMR environments need audit logging and whether each one is subject to certification requirements.
- Agree in writing which event types, query logging options and printing log settings are in scope for your sites.
- Map log storage locations, encryption approach, access roles and retention periods before any configuration changes begin.
- Confirm with your certification or compliance lead which settings they need evidence for, and record the decisions made.
How we build
- Configure audit logging and log encryption on your OpenEMR version, using the settings agreed in the scope document.
- Test that events are written for the agreed actions, and that log entries cannot be read without the intended access.
- Measure the performance effect of query logging choices on a representative environment before changing production.
- Document each setting, its owner and the reason it was chosen, so the configuration can be reviewed later.
How we hand over
- Deliver a configuration record listing every audit and encryption setting, its value and where it is stored.
- Provide a retention and access procedure that your team can run, including who may view, export or delete log data.
- Walk your administrators through checking logs, rotating keys and confirming encryption after upgrades.
- Give a verification checklist your auditors or assessors can use to test the setup against your documented decisions.
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and re-testing after OpenEMR releases are available as a retainer.
- Review audit logging and encryption settings again when you change version, hosting or database configuration.
- Confirm with your compliance advisers which retention periods and evidence formats apply to your organization.

