Psychiatry prescribes controlled substances every day: stimulants for ADHD, benzodiazepines for anxiety and sleep, buprenorphine for opioid use disorder. When the EHR cannot sign those prescriptions electronically, prescribers fall back to paper, phone calls and workarounds that slow refills and weaken the audit trail.
This post is for psychiatry practices, behavioral health groups and the product teams that build their EHRs. It covers the DEA rules for electronic prescriptions for controlled substances (EPCS): identity proofing, two-factor signing, access control setup, logging, the application audit and prescribing over telepsychiatry.
What is EPCS in a psychiatry EHR?
Connecting e-prescribing to your EHR?
Our EHR integration services cover prescribing modules, network connections and the data flows a psychiatry EHR depends on.
EPCS in a psychiatry EHR is the set of features that lets a DEA-registered prescriber create, sign and send a controlled substance prescription electronically under 21 CFR Part 1311. Agnotic Technologies builds these workflows so identity proofing, two-factor signing, access approval and audit logs fit inside the prescriber's normal charting.
Most practices license a certified e-prescribing component rather than write the signing logic themselves. The EHR team still owns everything around it: who gets enrolled, how signing fits the visit and what happens when a token is lost.
Why does psychiatry lean on EPCS so heavily?
Psychiatry leans on EPCS because a large share of its routine prescriptions are controlled. ADHD stimulants are Schedule II, many anxiety and sleep medications are Schedule IV, and buprenorphine for opioid use disorder is Schedule III.
DEA rules prohibit refills of Schedule II drugs, so each stimulant fill needs a new prescription. A prescriber may issue several prescriptions covering up to a 90-day supply, each one after the first marked with the earliest date a pharmacy may fill it, and the EHR should make that easy.
- Stimulant series: several dated prescriptions created and signed in one sitting, each with its earliest fill date.
- Benzodiazepine tapers: dose changes across several visits, with the full history visible at the next appointment.
- Buprenorphine: induction and maintenance prescriptions linked to the treatment plan and the visit note.
- Pharmacy changes: a cancel and resend path for when the patient's pharmacy cannot fill the drug.
How does identity proofing work for prescribers?
Identity proofing happens outside the EHR, before a prescriber can sign anything. The prescriber applies to a credential service provider approved by the General Services Administration, or for digital certificates to a certification authority cross-certified with the Federal Bridge, and receives a two-factor credential.
The credential must be issued through two channels, such as email plus a mailed letter or phone call. Enrolment is not instant, so it belongs in onboarding rather than on the prescriber's first clinic day.
- Credential status: proofed, issued, active, suspended or revoked, tracked per prescriber.
- DEA registration: number, schedules and expiry date linked to the prescriber's user record.
- State authority: license and any state controlled substance registration, with renewal dates.
- New starters and locums: a checklist that blocks controlled prescribing until every item is complete.
Two-factor signing at the point of prescribing
Signing a controlled substance prescription requires two of three factors: something the prescriber knows, a biometric, or a hard token kept separate from the computer. A hard token must meet at least FIPS 140-2 Security Level 1.
Psychiatry visits are short and often back to back, so signing friction matters. Prescribers who find signing slow queue prescriptions until the end of the day, which delays patients and bunches errors together.
- Token choice: a phone authenticator or a key fob, picked per prescriber and tested before clinic.
- Review screen: patient, drug, strength, quantity, directions and earliest fill date shown before the signing prompt.
- Lost token path: a documented way to suspend the old credential and keep caring for patients without borrowing a colleague's login.
Who can grant EPCS permissions?
Permission to sign controlled substance prescriptions is granted inside the application under a two-person rule, not by one administrator. The rule stops a single compromised admin account from turning anyone into a prescriber.
Under DEA rules, each registered location that uses EPCS must designate at least two individuals to manage access control: after one enters a grant or revocation of signing permission, a second, who must be a DEA registrant, approves it with a two-factor credential.
One designated person must also confirm that each prescriber's DEA registration and state authority are current before granting permission. Permission must be revoked on the day the practice learns a registration has lapsed, so the EHR should alert on expiry dates instead of waiting for a pharmacy rejection.
What must the application record?
The application keeps an internal audit trail of every controlled substance prescription event and every change to signing permissions. Each entry records the date, the time and the type of event.
- Prescription events: creation, alteration, marking as ready to sign, signing, transmission and deletion.
- Permission events: every grant, change or revocation of signing rights.
- Monthly log: the practitioner's controlled substance prescriptions for the previous calendar month, delivered within seven calendar days.
- On-demand log: any period the practitioner asks for, drawn from at least two years of prescription history.
Psychiatry practices should review these logs, not just store them. A sudden rise in stimulant prescriptions under one prescriber's credential is exactly what a shared or stolen token looks like.
Does the EPCS module need a third-party audit?
Yes. The application provider, not the practice, must have the EPCS application audited or certified before anyone uses it for controlled substances.
The provider of an EPCS application needs a third-party audit, or a certification from a DEA-approved certifying organization, before the application is used for controlled substance prescriptions, and again whenever related functionality changes or every two years, whichever comes first.
If you license an e-prescribing component, ask the provider for its current audit or certification report, which it must make available to practices. If your own team builds or changes code that touches signing or transmission, confirm with counsel and your auditor whether a new audit is due.
How does telepsychiatry change controlled substance prescribing?
Telepsychiatry changes which visits can support a controlled substance prescription, not how the prescription is signed. Identity proofing, two-factor signing and audit rules apply the same way after a video visit as after an office visit.
DEA and HHS have extended the telemedicine flexibilities that let DEA-registered practitioners prescribe Schedule II to V controlled medications without a prior in-person visit through December 31, 2026.
Because those flexibilities have been extended more than once, hold the rule as dated configuration, not code. Record the modality, the patient's stated location and any prior in-person visit for every telehealth encounter, so the practice can apply whichever rule is in force.
Where do psychiatry EPCS builds fail?
Most EPCS failures are process gaps that the software could have caught. They show up as blocked prescriptions on a busy clinic day or as audit findings months later.
- Enrolment last: prescribers start before their credential is issued, so the first weeks run on paper and phone calls.
- Shared tokens: a token kept at the front desk for convenience, which defeats two-factor signing and the audit trail.
- Stale registrations: an expired DEA registration that the EHR accepts until a pharmacy rejects the prescription.
- One-person admin: a single administrator who can grant signing rights alone.
- Unreviewed changes: an edit to the signing screen shipped without asking whether it triggers a new audit.
- Missing telehealth fields: visits that do not record modality or location, so nobody can show which rule applied.
A worked example: a stimulant series after a video visit
A psychiatrist sees an adult patient with ADHD over video for a medication check. The EHR records the visit as audio-video, notes the patient's location and the date of the last in-person visit, and shows the telemedicine rule the practice has configured.
The psychiatrist creates three methylphenidate prescriptions, the second and third with earliest fill dates, and reviews them on one screen. Signing prompts for a password and a token code, and the application logs each event before sending through the e-prescribing network.
When the second fill date arrives, the pharmacy cannot fill the drug. The psychiatrist cancels that prescription and signs a new one to another pharmacy, and both actions appear in the audit trail under the psychiatrist's credential.
Who is responsible for each part of EPCS?
EPCS spreads responsibility across the prescriber, the practice and the software provider. Write the names down before go-live.
- Prescriber: identity proofing, keeping the token private and reviewing the monthly log.
- Practice access managers: two-person grants and revocations, and registration checks.
- Application provider: the third-party audit or certification, and sharing the report with customers.
- EHR product team: enrolment tracking, review screens, telehealth fields and expiry alerts.
- Compliance lead: the telemedicine rule configuration and follow-up on unusual log patterns.
Testing EPCS before go-live
Test EPCS with real credentials in a non-production environment and a test pharmacy, then with a small group of prescribers. Judge it by whether a controlled prescription reaches the pharmacy complete and correct, not by whether the screen saves.
- Happy path: Schedule II, III and IV prescriptions signed and received with every required field intact.
- Blocks: signing refused for an expired registration, an unapproved user and a missing second factor.
- Permission flow: a grant entered by one manager stays inactive until a second registrant approves it.
- Logs: each test event visible in the audit trail and the monthly log with the right time and type.
- Upgrade regression: the same suite rerun after every e-prescribing or EHR upgrade.
What are psychiatry EPCS best practices?
Enrol prescribers in identity proofing before their first clinic, keep signing to one clear review screen, and enforce the two-person permission rule in software. Alert on registration expiry and on unusual prescribing volume.
Ask for the application's current audit or certification report, rerun EPCS tests after every upgrade, and hold telemedicine rules as dated configuration so a policy change does not need a release.
How can Agnotic help add EPCS to a psychiatry EHR?
Agnotic builds and integrates e-prescribing for psychiatry and behavioral health EHRs: credential enrolment tracking, review and signing screens, two-person permission workflows, audit reports and telehealth visit fields. We connect certified e-prescribing components rather than rebuild what has already been audited.
Add EPCS to your psychiatry EHR
We build the prescribing workflow, access controls and audit reports around a certified e-prescribing component.
Related reading on Agnotic
Behavioral health EHRs, e-prescribing and audit trails.


