170.315(d)(3) Audit report(s)

170.315(d)(3) requires a health IT module to let a user generate an audit report for a chosen period and sort log entries by the data elements in 170.210(e). This page explains how to build and evidence that capability.

On this page

What 170.315(d)(3) audit reports require and why assessors test them

Criterion 170.315(d)(3) requires that a certified Health IT Module let a user create an audit report for a specific time period and sort the audit log entries by each data element specified in the standards in 170.210(e). If you are a developer preparing a module for certification, or a customer asking for audit evidence, the question is not whether logs exist but whether a user can pull a defined slice of them and order it by the fields the standard names. This criterion builds directly on the audit log that (d)(2) requires. Its output is only as good as what (d)(2) records, so the two criteria should be designed, tested and documented together. The March 2026 deregulatory final rule noted that ONC proposed to keep auditing criteria like this one because they may support identification and investigation of fraud and abuse, and ONC ultimately retained all d-series criteria.

Three things usually make this criterion hard. First, the log fields must be complete and consistent enough that every element in 170.210(e) can be used as a sort key, which means checking field names, timestamp formats and user identifiers across every event type, not only the common ones. Second, query performance matters: a report over a long period against a large log store can time out or return partial results, and assessors will test a realistic range rather than a single day. Third, the report must match the underlying log exactly. Reports built from a separate summary table, or filtered at display time, can drift from the source records. Confirm with your test lab which 170.210(e) elements your product must sort on, run the same query against the raw log and the report output, and record the comparison as test evidence.

Which modules, criteria and teams does (d)(3) reach

Criterion (d)(3) does not stand alone. The CCG v4.0 attaches it to a set of certified criteria, so the audit report capability must work wherever those criteria appear in a product. Scoping starts with which modules, versions and log data elements are in the certified product, and ends with a named team that can run and answer for the reports.

Criteria that carry (d)(3)

The CCG v4.0 lists (d)(3) alongside (a)(1) through (4), (a)(10), (a)(13), (b)(1) through (3), (b)(6) through (9), (c), (e)(1) and (f). Map each certified criterion in your product to this list before testing, because a module certified to any of them must deliver the report function. Confirm the list against the current companion guide, since the attachment rules are what decide scope.

Companion guide v4.0

Adding (b)(11) from 2028

The CCG v4.0 adds (b)(11) to the criteria that bring (d)(3) along from January 1, 2028. Products certified to (b)(11) will need the audit report function in that release, so product roadmaps and upgrade plans should treat the date as a fixed requirement. Ask your developer or certification body which certified versions will carry (b)(11) and when the update reaches customers.

(b)(11) added
Jan 1, 2028

Modules and versions in scope

Scope the report function per Health IT Module and per version. A certified product often ships several modules, hosting options or releases, and each one must show the (d)(3) capability as certified. Record the module name, version and certified criteria for each deployment, and confirm that customer-hosted and vendor-hosted instances run the same certified build.

Data elements in the audit log

A report can only be sorted by the data elements the log records. Confirm that the audit log captures each data element named in the standards referenced by 170.210(e), and check that sorting works on every one of them. Test with a sample of real-looking but synthetic events, not only the default log view, so gaps appear before an assessor finds them.

Log sources behind the report

Where a product spreads logs across an application, a database and a reverse proxy, the report must still draw from one coherent source for a given time period. For self-hosted platforms, document each log path, rotation rule and retention setting. Nextcloud's admin_audit app, for example, writes events to a file in the data directory or to a path set with logfile_audit, and that path must be included in the report scope.

Teams that own the reports

Assign ownership across product engineering, the platform or operations team, and the compliance or privacy office. Engineering owns the capability, operations owns log storage and access, and compliance decides which reports answer audit and fraud-and-abuse questions. Write this split down, because an unassigned report request is the usual reason a time-bounded audit report cannot be produced on demand.

How an assessor tests the audit report capability

This table compares each test step an assessor is likely to run for 170.315(d)(3), the evidence to request for it and the findings that usually come up. Read it as a checklist for preparing a test environment before an assessment, and treat each row as something to demonstrate, not assume.

Test stepWhat the assessor checksEvidence to requestCommon findings
Generate a report for a set periodThe user can create an audit report bounded by a start and end date, and the tool accepts that range without error.Test script with the exact inputs used, the generated report file and the tester's notes on the period selected.Report generation fails for ranges spanning month or year boundaries, or the interface offers no date bounds at all.
Check entries fall within boundsEvery entry in the report falls on or between the requested start and end times, and no entries from outside the window appear.Log export covering the same window, plus a side-by-side comparison showing first and last entry timestamps against the requested bounds.Boundary entries are dropped or duplicated, or inclusive and exclusive handling differs between the report and the log.
Test time zone handlingTimestamps in the report match the stored log times, with the time zone labeled and applied consistently.Sample log entries recorded in a known time zone, the matching report rows and the system time zone configuration.Report shifts timestamps by an hour around daylight saving changes, or omits the zone so entries cannot be reconciled.
Sort by each 170.210(e) data elementEach data element named in the standard can be used as a sort key, and the sort order is correct ascending and descending.Test cases listing every data element tested, with before and after screenshots or exports for each sort.Sorting works only on some fields, such as time and user, while others are silently ignored or sort as text.
Confirm required data elements are presentEach report row carries the data elements the standard requires for the recorded event, with no blank fields where the log holds the value.Field-by-field mapping from the log schema to the report columns, and a sample of rows showing populated values.Missing data elements, such as the action outcome or the affected record identifier, or values that appear only in the raw log.
Compare report output with the underlying logThe report is a faithful view of the log. Counts, values and ordering match the source, and no events are added or removed.Raw log export for the period, the report for the same period and a reconciliation showing matching record counts and sampled values.Record counts differ between report and log, or the report summarizes events so detail is lost.
Verify access and integrity of the report functionOnly authorized users can generate reports, and the report process does not alter the underlying log.Role configuration showing who can run reports, and a hash or checksum comparison of the log before and after report generation.Reporting roles are broader than intended, or report generation writes to the log file.
Retain test evidence for reassessmentThe test can be repeated with the same inputs and produces the same results, supporting later review.Versioned test scripts, the software version under test, dated results and the name of the person who ran each test.Tests were run by hand with no record of inputs, so results cannot be repeated after an upgrade.

How to build the report capability step by step

This sequence turns the (d)(2) audit log into a report feature that filters by time period and sorts entries by each required data element, with evidence a certification assessor can follow. Each step produces a named artifact that the next step depends on.

  1. Map the 170.210(e) data elements to log fields

    Start by reading the data elements listed in the standards referenced in 170.315(d)(3) and the audit log schema your product already writes for (d)(2). Build a field map with one row per required element, showing the source log field, its data type, and any transformation needed, such as converting timestamps to a consistent time zone. Engineering and the product owner sign off on the map. The step is complete when every required element maps to at least one stored field, and any gap is logged as a defect or a documented design decision.

  2. Define the report query and time-range inputs

    Specify how a user selects a reporting period, including start and end boundaries, inclusive or exclusive handling, and the time zone used for display and filtering. Define the query contract: which fields are filterable, how results are paged, and what happens when a range returns no entries. Write this as a query specification that engineering and QA can both test against. The output is a reviewed specification document with example inputs and expected result shapes.

  3. Implement sorting on each required element

    Build sort controls so a user can order report results by each data element in the field map, in ascending and descending order. Sorting should run on the stored field values, not on rendered text, so that results stay consistent across pages and exports. Confirm that sort behavior does not alter the underlying log or its order in the (d)(2) store. The step closes when a developer test run sorts a sample dataset on every mapped element and the output matches the expected order.

  4. Validate report output against the (d)(2) log

    Reconcile the report against the source audit log for a fixed sample period. Count the records the report returns, compare the field values for a selected set of entries, and confirm that no entries are dropped, duplicated or altered. Where the (d)(2) log uses tamper-detection controls, confirm the report reads only verified records or flags any that fail verification. Save the reconciliation results as a validation record that lists the sample, the method and the outcome.

  5. Test edge cases and failure modes

    Run test cases that exercise the boundaries of the capability: a range that starts or ends exactly on a log entry, a range with no entries, a range spanning a time zone or daylight saving change, very large result sets, entries with missing optional fields, and invalid or reversed date inputs. Record each case with its input, expected behavior and actual result, and log any defects for retest. The output is a test record that can be shown to an assessor, with each defect linked to its fix and retest.

  6. Document the user procedure

    Write a user guide that explains how an authorized user generates a report for a time period, applies sorting, reads the output fields and exports results if the product supports export. Include the access rules that apply to report generation, as set by the (d)(1) access controls, and note any limits on report size or retention. Have someone outside the build team follow the guide on a clean instance to confirm it works as written. The step is complete when the guide and the walkthrough record are stored with the release documentation.

  7. Confirm the artifacts before certification testing

    Assemble the field map, query specification, sort test results, validation record, edge-case test record and user guide into one evidence set tied to the product version under review. Confirm with your certification body or testing lab which format and level of detail they expect, since the requirement itself does not dictate a document template. The step closes when the evidence set is version-controlled and the team can show how each artifact traces back to the 170.315(d)(3) requirement.

How the (d)(2) audit log feeds the report

A (d)(3) report is only as reliable as the (d)(2) log beneath it. If the underlying records are incomplete, editable or silently disabled, a report sorted by time period and data element will look tidy while proving little. Before designing any report, the organization should confirm that its audit source meets the tamper-resistance and default-on logging expectations of (d)(2), because the report can never be more trustworthy than the records it reads. Assessors will ask where each report row came from, so the chain from event to log to report needs to be documented.

In a self-hosted stack, each platform keeps its own source records, and the report layer draws from them. For Nextcloud, the admin_audit app writes additional event information to audit.log in the data directory, or to a path set with logfile_audit, so the operator controls where those records sit and who can reach them. OpenBao audit devices keep a detailed JSON log of every API request and response, including errors, with most sensitive values hashed with HMAC-SHA256, which makes them useful for access tracing without exposing secret values. Wazuh decodes collected logs, compares each event against its ruleset, and writes matches to alerts.log and alerts.json, which can be forwarded to the Wazuh indexer for dashboard review. Those alert files are a filtered view, so they complement rather than replace the raw logs.

Before relying on any of these outputs for a report, confirm three things in your own environment: which event fields each source writes and whether they include every data element named in the 170.210(e) standards, whether the report function (for example, a dashboard or export) can filter by a chosen time period and sort by each of those elements, and where log integrity is protected, including who holds write and delete rights on the log storage. Test the report against a known set of events so that a missing field or a gap in coverage is found by you, not by the assessor.

Which open-source tools can supply report data

Application-level audit logging is the most direct input for a (d)(3) report when the Health IT Module is built on a self-hosted application. Nextcloud's admin_audit app logs additional event information, and the Nextcloud admin manual describes writing that output to audit.log in the data directory or to a path set with the logfile_audit key. The file gives a reviewer a time-stamped record of administrative and user actions that can be filtered by time period and by fields such as user or event type, which is the shape a report needs. The caveat is that the file is raw output. Nothing in the default configuration produces a report, sorts by the data elements named in 170.210(e), or presents the result to a user, so the organization must build or script that step and confirm which events the app captures in its version.

  • Log destination: Confirm the path set in logfile_audit and that the data directory is protected from unauthorized reads.
  • Event coverage: Test which actions appear in audit.log against the events your certified workflows must record.
  • Report generation: Plan a query or export step that filters by period and sorts by each required element.
  • Retention and rotation: Define how long audit.log is kept and how rotation preserves older periods.
  • Integrity: Forwarding the file elsewhere is a separate control, so document how alteration is detected.

Before relying on this source, ask the vendor or your implementation partner to confirm the exact fields each event carries in your Nextcloud release.

Evidence that passes a (d)(3) review

An assessor testing 170.315(d)(3) checks that a user can produce an audit report for a chosen period and sort entries by each element the standard names. The six artifacts below show that capability working, and each one has to stay accurate as the module changes between certification cycles.

Field map to 170.210(e)

A documented table that links each audit log data element named in 170.210(e) to the field, column or log key where the module stores it. This is the first document an assessor reads, because every sort-by test is judged against it. Check that each element has a source field, a data type and a sample value, and that no element is mapped to a field the module no longer writes. If the map is missing an element, the sort test has nothing to prove.

170.315 text

Sample reports for defined periods

Generated audit reports covering stated start and end dates, with the report parameters recorded next to the output. Include at least one report for a period that spans a log rotation or a day boundary, since those are where gaps and duplicated entries appear. Confirm that every entry in the report falls inside the requested window and that the report header shows the period, the user who ran it and the generation time.

Sort-by-element test results

Recorded runs that sort the same log set by each element in the field map, with the expected order written down before the run. A tester should be able to repeat the run and get the same result. Record any element that cannot be sorted, any tie-breaking rule and the version of the module under test. A test that only shows one sort order does not cover the criterion.

Tamper protection tied to (d)(2)

Evidence that the log records used for reports are the same records protected under the auditable-events criterion in (d)(2), including the checks that show an altered or removed entry is detectable. Reports built from a copy that lacks those protections will not satisfy (d)(3). Keep the hash or integrity check results, the storage path and access controls for the log store, and a test where an entry is changed and the report or check flags it.

User documentation

Instructions a clinician, administrator or auditor can follow to create a report, choose a period and sort the entries. The document should name the menu path or command, the required role from (d)(1), and the output formats. Assessors compare these steps with the sample reports, so any mismatch between the written steps and the actual screens is a finding. Keep the document tied to the version it describes.

Change log for revised criteria

A dated record of each change to the audit report function, the field map or the log store, with the reason and the affected standard. Under 170.315, a developer whose module is certified to a revised criterion must update the module and give the update to customers by the dates set for each revised criterion and standard. Review the log at each certification cycle, confirm the field map and user documentation still match the shipped version and note any criterion that has been revised since the last review.

What meeting (d)(3) costs in money and effort

This table breaks down the cost and effort components of meeting 170.315(d)(3), who is paid for each, whether it is one-time or recurring, and what moves it up or down. Use it to build a quote request, since no prices for these components are supplied and the ONC-ACB fee must be confirmed directly with the body.

Cost componentWho is paid or who carries itOne-time or recurringWhat drives it up or down
Engineering to build report generationDeveloper's internal team or an implementation partnerOne-time, with later maintenanceNumber of report types, time-range logic and how many data elements the report must sort by
Sorting by standard data elementsDeveloper engineering and QAOne-time, updated when standards changeNumber of data elements named in 170.210(e) that the product must support for sorting
Test effort for the criterionDeveloper QA, test lab or testing supportOne-time per certified version, repeated on updatesNumber of certified modules and criteria that share the same logging back end
ONC-ACB certification testing feesPaid to the ONC-authorized certification body (ONC-ACB), not to DeployOpenOne-time per certification, plus fees for updatesConfirm the current fee schedule and scope with the ONC-ACB; module count and bundled criteria usually change it
Log volume and storage for audit trailsOrganization's infrastructure or cloud accountRecurringEvent volume, retention period and query load on the log store
Evidence upkeepDeveloper compliance staff or the organization's compliance teamRecurringFrequency of releases, number of customers receiving updates and how often evidence is refreshed
External reviewIndependent reviewer or assessor, paid by the organizationRecurring or per review cycleWhether the organization wants pre-certification gap review and how many modules are in scope
Open-source license spendNot applicable for self-hosted open-source componentsRemoves recurring license cost for the logging layerRemaining spend shifts to engineering, hosting and support; confirm each component's license terms

Where (d)(3) implementations usually fall short

The (d)(3) criterion looks simple on paper: generate a report for a period and sort entries by the data elements in 170.210(e). In practice, the gaps show up in filtering, time handling, retention and documentation. The cards below cover the failure points an assessor or customer is most likely to find, with a check to run for each.

Reports that cannot filter by time period

A report that only shows the most recent entries, or that requires exporting everything and filtering by hand, does not meet the requirement to create a report for a specific time period. Test with a start date and end date that fall in the middle of a known event sequence, and confirm the output contains only entries inside that window, including the boundary day. Record the query parameters so the same report can be reproduced for an assessor.

Sorting limited to a few fields

The criterion requires sorting by each data element named in 170.210(e), not just by timestamp or user. Many audit views sort only on the fields their developers used most. Build a checklist from the standard's data elements, then sort the report by each one and confirm the order is correct. Treat any element the interface cannot sort as a defect to fix or document.

Timestamps in mixed time zones

When application servers, databases and log shippers write times in different zones, a report for a given day can include some events twice or omit others. Investigators then reconstruct the wrong sequence of actions. Confirm that every log source records UTC or a single declared zone, that the report displays that zone, and that a daylight saving transition does not shift or duplicate entries.

Reports that omit entries after log rotation

Log rotation moves older entries into archive files, and a report that reads only the active file silently drops the rest of the requested period. Confirm whether the report reads rotated and compressed files, how long rotated logs are kept, and what happens when the rotation window falls inside the period being reported. Test a report that spans a rotation boundary before relying on it as evidence.

Nextcloud logging docs

Documentation that does not match shipped behavior

Administrator guides often describe the audit view as it was designed, not as the release installed in production actually behaves. Filter options, default retention and file locations may differ between versions or be disabled by configuration. Compare each documented step against the running system, record the version tested, and update the documentation whenever the platform is upgraded.

Who does what for (d)(3)

The health IT developer that holds the Health IT Module certification owns the criterion. The developer must build or configure the capability that lets a user generate an audit report for a chosen time period and sort entries by each data element named in the standards referenced in 170.210(e). Responsibility for the product design, the user interface, the export behavior and the developer's conformance statements stays with the developer, even when parts of the build are subcontracted.

  • Product capability: Decide how report periods, sort keys and output formats work in the module and confirm they cover every required data element.
  • Documentation: Maintain the user-facing description of how to run and read an audit report, and keep it current with each module release.
  • Assessment readiness: Hold the test evidence, screenshots and sample reports that show the capability works as described.
  • Update obligations: Deliver updates to customers when a revised criterion or standard requires them under Part 170.
  • Dependencies: Identify which audit log source feeds the report and confirm its retention and tamper protections with the teams that own (d)(2).

Confirm with your certification body which evidence it expects for each element of the criterion and which product version the testing will cover.

Questions buyers ask about 170.315(d)(3) audit reports

How long does it take to build a 170.315(d)(3) audit report capability?

No supplied source gives a duration for this build, so treat any number from a vendor or consultant as unverified until it is tied to a written scope. The effort depends on how much audit logging already exists. A team that already records every action on electronic health information in a structured form mainly needs a report function that selects a date range and sorts entries by the data elements named in the standards referenced in 170.210(e). A team starting from application logs that record little detail faces more work, because the (d)(2) audit log has to be fixed first. Ask any partner to split the estimate into logging gaps, the report function, testing against the criterion and the retest after changes.

Can an in-house team implement the audit report without a partner?

Yes, an in-house team can build the capability if it has engineers who know the product's codebase and logging pipeline, and a compliance lead who can map each requirement to evidence. The harder part is usually proving the output matches the criterion, not writing the report query. Teams that do this alone often underestimate testing the sort-by-element behavior across every log type and confirming the report is complete for a chosen period. A partner is most useful when the team lacks logging or security engineering capacity, or when the certified product must be integrated with a separate log store. Either way, the developer, not the partner, is responsible for the certified module.

What does the work need from engineering and compliance teams?

Engineering owns the functional work: the report generator, filters for time period and data elements, export format, access controls on who can run reports, and test cases. Compliance owns the definition of which data elements must be sortable, how reports are retained, and how the output is presented to an assessor. Both teams should agree early on the list of event types in scope, because the report can only sort what the audit log records. Security operations should also confirm that log entries cannot be altered or disabled without leaving a trace, since that depends on the (d)(2) and (d)(10) capabilities that the report reads from.

Can open-source logging serve as the base for the audit report?

Open-source logging can serve as a base if its output contains the events, timestamps and identifiers the report needs and if the team can control retention and access. Nextcloud's admin_audit app, for example, writes additional event information to audit.log, or to a path set with logfile_audit, so the team must confirm which events are captured and in what format. OpenBao's audit devices keep a detailed JSON log of every API request and response, with most sensitive values hashed with HMAC-SHA256, which helps with sorting but must be checked against the data elements the standard requires. Confirm each product's logging scope in its own documentation and test a sample report before relying on it.

How does the audit report relate to the (d)(2) and (d)(10) criteria?

The (d)(3) report reads from the audit log that (d)(2) requires, so the log must exist and be reliable before the report can be meaningful. The (d)(10) criterion covers a streamlined audit capability used for API criteria, with default recording, restricted disabling and tamper protection. A developer whose module is certified to criteria that bring in (d)(3) should check which audit log requirements apply to its product and whether the (d)(10) path is relevant. Separate tests for each criterion avoid a common gap, where the log is complete but the report cannot sort by the required elements.

What should a buyer ask a partner to include in a quote?

Ask for a written, fixed scope that names the certified product, the criteria covered, and the logging sources in scope. The quote should separate one-time work, such as building the report and writing test evidence, from recurring work, such as retesting after upgrades and keeping logs retained. Ask who performs each task, what evidence the partner delivers, and what is excluded, such as the independent assessment or the certification itself. Request a description of how the partner will test the sort function against each required data element and how changes to the logging pipeline will be retested. DeployOpen scopes engagements in writing before work starts, and it will provide a quote based on that scope.

Who issues the certification for a health IT module?

Certification of health IT modules under the ONC Health IT Certification Program is issued through the program's accredited certification bodies and test labs, not by an implementation partner. A partner can prepare the product, the logs, the reports and the test evidence, but it cannot issue a certificate or stand in for the certification body. The developer remains responsible for maintaining certification, including giving updates to customers when a revised criterion applies. Confirm the current list of accredited bodies and the testing route for your product on the official ONC pages before you plan the work.

How DeployOpen prepares (d)(3) evidence

DeployOpen's work on the (d)(3) audit report is a fixed-scope engagement, and the first deliverable is a written scope that names the Health IT Module or modules in question, the audit log sources feeding each one, and the data elements the report must sort by under the standards in 170.210(e). Scoping also settles which self-hosted components produce the log entries, such as the application's audit log, the secrets platform's audit device and any central log platform, and who in the client's organization owns each one. DeployOpen does not issue certifications or attestations. The developer owns the criterion, and an accredited testing body reviews the certified product. DeployOpen's role is to prepare the systems and the evidence. Scope, deliverables and timelines are agreed in writing before any work starts.

In the client's own infrastructure, the implementation work centers on making the report function produce what an assessor will check. That means confirming that the audit log written under (d)(2) is enabled by default and records the fields needed for filtering, configuring time-period selection and sorting for each data element, and hardening access so that only authorized roles can generate or export reports. Where a platform's audit output is a plain file, such as an audit log file in a configured data directory, the work includes setting the log path, retention and file permissions. Where logs flow into a log analytics platform, it includes confirming that ingestion, parsing and indexing preserve the same fields. The client's security team should confirm which of these capabilities the product actually provides before scoping, rather than assuming them.

Testing and evidence come last. DeployOpen runs test cases that generate reports for defined periods, check that every required data element can be used to sort, and confirm that entries outside the period are excluded and that report output matches the underlying log. The retest after fixes is recorded. The evidence pack typically includes the agreed scope, configuration records, test scripts and results, sample report outputs with their source logs, access control settings for report generation, and a list of open findings with owners. Clients should ask the independent assessor which format and level of detail it expects before the pack is finalized, since the assessor decides what counts as sufficient.

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.