Electronic Prescriptions for Controlled Substances
Electronic Prescriptions for Controlled Substances (EPCS) is a set of United States federal rules. They let doctors and other licensed prescribers send prescriptions for controlled substances (drugs such as opioids, stimulants, and sedatives that are regulated because they can be misused) to a pharmacy electronically instead of on paper. The same rules let pharmacies receive, fill, and store these electronic prescriptions.[1]
The Drug Enforcement Administration (DEA) issued the rules in 2010.[2] They require strong security, such as proof of the prescriber's identity and a two-factor login (proving identity in two different ways) to sign each prescription.[1][2]
Using EPCS is optional under DEA rules. However, a 2018 federal law requires electronic prescribing of these drugs under Medicare Part D, with some exceptions, and some states require it too.[1][2][3]
Background
The Controlled Substances Act
The Controlled Substances Act aims to keep controlled drugs from being diverted (moved into illegal use). It does this partly by letting only prescribers registered with the DEA, or exempt from registration, prescribe them.[2]
Drug schedules
Each controlled drug is placed in a schedule, a legal category based on the drug's accepted medical use and its risk of misuse or dependence.[4]
There are five schedules. Schedule I drugs have no currently accepted medical use.[4]
Prescriptions for drugs in schedules II through V can now be issued electronically.[1]
Earlier prescription rules
Before the 2010 rule, DEA regulations did not allow controlled substances to be prescribed electronically.[5] The DEA had, however, granted an exception that let the Department of Veterans Affairs run a pilot program of electronic prescribing using a public key infrastructure (PKI) system.[5]
Where federal law required a written prescription, only a paper one met that requirement.[2] Spoken (oral) prescriptions were, and still are, allowed for schedule III, IV, and V drugs.[1]
Diversion risk
The main risk the DEA wanted to block is drug diversion through prescription software. If people who are not registered could get into a prescribing application, they could create or change prescriptions to obtain drugs illegally.[2]
How an electronic prescription works
An EPCS prescription passes through several pieces of software before it is filled.[1][2]
- The prescriber, or a staff member acting for the prescriber, enters the prescription into an electronic prescription application or an electronic health record (EHR).
- The prescriber reviews it and marks it as ready to sign.
- The prescriber completes a two-factor login. This act is the legal signature.
- The application applies a digital signature to the prescription data and archives the record.
- The prescription travels to the pharmacy, often through an intermediary, which is any system that receives and passes on the prescription.
- The pharmacy application checks that the prescription was signed, stores it, and records each time it is dispensed.
Legal basis and scope
The DEA published a proposed rule on June 27, 2008, and received almost 200 public comments.[1] It then published an interim final rule on March 31, 2010 (75 FR 16236), which took effect on June 1, 2010.[2]
An interim final rule has legal force but can still be revised before it becomes final.
The rule is written into Title 21 of the Code of Federal Regulations in parts 1300, 1304, 1306, and 1311.[2] Part 1311, subpart C, holds most of the technical requirements for electronic prescriptions.[6]
Key points of scope:
- EPCS is voluntary from the DEA's view. Prescribers may still write and hand-sign paper prescriptions, and pharmacies need not accept electronic ones.[1]
- An electronic prescription is valid only if both the prescribing and the pharmacy software meet DEA requirements.[1]
- State law also applies. Where a state rule is stricter than the DEA's, the state rule controls.[1]
- Electronic prescriptions must hold the same information as paper ones, such as the patient's name and address, the drug, its strength and quantity, directions, and the prescriber's name, address, and DEA number.[1]
Setup before a prescriber can sign
A prescriber must complete three steps before the software will let them sign a controlled-substance prescription.[1]
Identity proofing
Identity proofing means confirming that a person is who they claim to be before giving them a login credential. Signing credentials may be issued only to people whose identity has been confirmed.[1]
- Individual prescribers get their credential from a federally approved credential service provider or certification authority.[1] A credential service provider is a trusted organization that issues sign-in credentials to people. A certification authority is an organization that checks applicants' identity and issues digital certificates.[7]
- These providers must check identity at Assurance Level 3 of National Institute of Standards and Technology (NIST) Special Publication 800-63-1. Both in-person and remote checks are allowed.[1]
- That NIST guideline sets four levels of assurance, or confidence in an identity, and Level 3 is the third of the four.[8]
- Hospitals and other institutional practitioners may instead check identity themselves, for example in their credentialing office. A chosen staff member must compare the prescriber's government-issued photo ID with the person presenting it and check state licensure and DEA registration.[1]
Two-factor credential
The credential must use two-factor authentication, meaning the prescriber proves who they are in two different ways.[6] The two must come from different categories of the three below.
| Factor | Meaning | Examples |
|---|---|---|
| Something you know | A knowledge factor | Password, answer to a challenge question |
| Something you are | A biometric | Fingerprint, iris scan |
| Something you have | A hard token kept separate from the computer being used | Smart card, phone, USB drive, one-time-password device |
A hard token is a physical device that holds a secret cryptographic key, kept separate from a general-purpose computer.[7] It must be either a cryptographic device (one that stores a key and uses encryption to protect information) or a one-time-password device.[1]
If used, a hard token must meet at least Security Level 1 of FIPS 140-2, a Federal Information Processing Standard for cryptographic modules.[1][6] FIPS 140-2 sets four increasing security levels, so Level 1 is the minimum.[9]
Biometric systems must meet extra DEA standards. The rule does not limit which kinds of biometric may be used.[1][6]
The DEA requires two factors because a password alone can be observed, guessed, or hacked. The prescriber must keep sole possession of any token and must not share the password with anyone, including office staff.[1]
Digital certificate option
As an alternative, a prescriber may sign with their own digital certificate, an electronic credential that links the holder to a cryptographic key under their sole control.[1][7] The certificate must come from a certification authority that is cross-certified with the Federal Bridge Certification Authority at the basic assurance level.[1]
- The Federal Bridge is a federal link between certification authorities. Those that are cross-certified with it have a formal trust relationship, so their certificates can be recognized across the network.[10]
- Its certificate policy defines several assurance levels. Each level reflects how strongly a certificate is tied to its holder and how well the keys are protected, and basic is one of these levels.[11]
Logical access controls
Logical access controls are settings in the software that decide who may perform which actions. Under EPCS, they must ensure that only DEA registrants, or others allowed under the Controlled Substances Act, can sign controlled-substance prescriptions or mark them as ready to sign.[2] Controls can be set by individual user or by role, such as physician or nurse practitioner, an approach known as role-based access control.[2]
Setting the controls takes two people. One person enters which individuals may sign. A DEA registrant holding a two-factor credential then approves the list.[1]
The person setting the controls must also check that each prescriber's DEA registration and state authority are current.[1]
Signing rights must be revoked on the day any of these is discovered:[1]
- A token or other factor is lost, stolen, or compromised.
- The prescriber's DEA registration expires without renewal, or is terminated, revoked, or surrendered.
- For prescribers working under a hospital's or clinic's registration, the same happens to the institution's registration.
- The prescriber is no longer allowed to use the application, for example after leaving the practice.
Signing a prescription
The prescriber must review every controlled-substance prescription, even if staff entered the data. The prescriber is responsible if it does not meet the law.[1]
The review screen must show the required prescription details (except the patient's address) and the following statement or its equivalent.[1][6]
"By completing the two-factor authentication protocol at this time, you are legally signing the prescription(s) and authorizing the transmission of the above information to the pharmacy for dispensing. The two-factor authentication protocol may only be completed by the practitioner whose name and DEA registration number appear above."
Completing the two-factor login while this screen is shown is the legal signature.[6] The application must then digitally sign at least the DEA-required information and archive the signed record.[6]
Signing several prescriptions at once
- One two-factor login can sign several prescriptions for the same patient, but each must first be marked as ready.[1]
- One signature cannot cover prescriptions for more than one patient.[1]
- Only one prescriber's name and DEA number may appear, unless state law requires a supervisor's number too.[1]
Signing and sending are separate steps. The prescription should be sent as soon as possible, but staff may add pharmacy or insurance details after signing.[1]
Transmission
An electronic prescription must reach the pharmacy in electronic form. An intermediary may not convert it to another form, such as a fax.[1]
Failed transmissions
If transmission fails, these steps follow.[1][2]
- The intermediary tells the prescriber.
- The prescriber may issue a paper prescription, or a spoken one where allowed, as a replacement.
- The replacement must state that the prescription was first sent electronically, name the pharmacy it was sent to, give the date and time of sending, and say the transmission failed.
Replacement prescriptions
Before filling the replacement, the pharmacist must check that the electronic version was not already received and filled. If it was, the replacement must be marked void, so the drug is not dispensed twice.[2]
Pharmacy transfers
Since August 28, 2023, a retail pharmacy may transfer a schedule II to V electronic prescription to another retail pharmacy for its first fill.[12][13] These conditions apply:[12][13]
- The patient requests the transfer.
- State law permits it.
- It happens only once, directly between two licensed pharmacists.
- The prescription stays electronic and unchanged.
- Any refills (schedules III to V) move with it.
Pharmacy requirements
A pharmacy may process electronic controlled-substance prescriptions only with a pharmacy application that meets DEA rules.[14] The main requirements are these.
- Access controls. Only authorized users may change or delete prescription data or change access settings.[14]
- Signature handling. The application must digitally sign and archive each prescription on receipt, or receive and archive a record already signed.[14]
- Signature check. If the prescriber's digital signature arrives with the prescription, the application must verify it. Otherwise it must check the data field showing the prescription was signed, or display that field for the pharmacist.[14]
- Dispensing records. Each fill must record the amount dispensed, the date, and the name or initials of the person who dispensed it.[14]
- Audit trail. The application must keep a protected audit trail of receipt, changes, deletions, and access-control changes, with the date, time, type, person, and outcome of each event.[14]
- Backup and retention. Records must be backed up daily and kept electronically for at least two years.[14]
Software audits and security monitoring
Every prescribing and pharmacy application must pass an independent check before it can be used for controlled substances.[15] The check may be a third-party audit or a certification by an organization whose process the DEA has approved.[15]
When audits happen
The audit or certification must happen at these times:[15]
- Before the application is first used for controlled-substance prescriptions.
- Whenever a function related to controlled-substance requirements changes, or every two years, whichever comes first.
Who may audit
A third-party audit must be done by one of these people:[15]
- A person qualified to perform a SysTrust, WebTrust, or SAS 70 audit. SysTrust and WebTrust are reviews of electronic systems and websites by a qualified certified public accountant. A SAS 70 audit is a third-party audit that meets an auditing standard of the American Institute of Certified Public Accountants.[7]
- A Certified Information System Auditor who does compliance audits as regular business.
The rule sets the auditor's qualifications, not the type of audit. Any audit must check processing integrity and confirm that the application meets the DEA's requirements.[16] In 2011 the DEA noted that the American Institute of Certified Public Accountants had replaced SAS 70 audits and said it would address this in the final rule.[16]
Sharing results
The software provider must share the audit or certification report with prescribers and pharmacies that use or are considering the software.[15]
If an audit finds the software does not comply, it must not be used for controlled substances. The provider must tell users within five business days and send the report to the DEA within one business day.[15]
Security monitoring
The prescribing application must run an internal audit for possible security incidents every day.[1] If the person in charge of access controls finds that prescriptions or records were or could have been compromised, the incident must be reported to the software provider and the DEA within one business day.[1][2]
Prescribers can ask the application for a log of every controlled-substance prescription they issued through it over at least the previous two years. The log must be sortable by patient name, drug name, and date.[1]
Medicare requirement
The SUPPORT for Patients and Communities Act, signed on October 24, 2018, made electronic prescribing mandatory in one setting.[2] Section 2003 requires that schedule II to V controlled substances covered by Medicare Part D and Medicare Advantage drug plans be prescribed electronically, with some exceptions, for drugs prescribed on or after January 1, 2021.[2][3]
Section 2003 also affected the DEA rule.
- It told the Attorney General to update the rule's biometric requirements within one year.[2]
- In April 2020 the DEA reopened public comment on the 2010 rule, partly for this purpose.[1][2]
- As of the DEA's July 2023 guidance, the rule was still an interim final rule.[1]
The CMS compliance threshold
The Centers for Medicare & Medicaid Services (CMS) runs the CMS EPCS Program to enforce the Medicare requirement.[3] Prescribers do not enroll or send data. CMS calculates compliance from Part D claims, the payment records submitted for prescriptions filled under Part D.[3]
Here is the number of a prescriber's electronically prescribed Part D schedule II to V claims, and is the number of all such claims from that prescriber, both counted after exceptions.[3] A prescriber with a rate of 70% or higher is compliant.[3]
CMS judges compliance by measurement year, the year of prescriptions it counts. It set non-compliance actions to start no earlier than January 1, 2023, and limited actions for the 2023 measurement year to a compliance letter.[17]
CMS grants these exceptions:[3]
- Small prescribers who issue 100 or fewer eligible Part D controlled-substance prescriptions in the year.
- Prescribers located in an area of a declared emergency or disaster.
- Prescribers who receive a CMS-approved waiver (an official exemption from the requirement) for circumstances beyond their control.
Prescriptions for residents of long-term care facilities will not count toward compliance until January 1, 2028.[3]
The action for non-compliance in each measurement year is a non-compliance notice. Non-compliance may also be considered when CMS assesses possible fraud, waste, and abuse.[3]
The CMS program does not change what pharmacies may fill. Pharmacists need not check whether a prescriber has a waiver, and they may still dispense from valid written, oral, or fax prescriptions.[3]
Comparing the DEA rule and the CMS program
| Feature | DEA EPCS rule | CMS EPCS Program |
|---|---|---|
| Source | Interim final rule, 2010 | SUPPORT Act, section 2003 (2018) |
| What it governs | How electronic prescriptions must be created, signed, sent, and stored | Whether Part D controlled-substance prescriptions are sent electronically |
| Mandatory? | No, optional | Yes, for covered prescribers, with exceptions |
| Who checks | Third-party auditors or approved certifiers of the software | CMS, using Part D claims |
| Software needed | Must meet 21 CFR Part 1311 | The same DEA-compliant software; no extra system |
State requirements
States may set their own EPCS rules, and the CMS program is separate from them.[3] Where a state is stricter than the DEA, the state rule applies.[1] For example, New York has required prescribers to send both controlled and non-controlled prescriptions electronically since March 27, 2016, with some exceptions.[18]
Timeline
| Date | Event |
|---|---|
| June 27, 2008 | DEA publishes proposed rule (73 FR 36722)[2] |
| March 31, 2010 | DEA publishes interim final rule (75 FR 16236)[2] |
| June 1, 2010 | Interim final rule takes effect[2] |
| March 27, 2016 | New York requires electronic prescribing[18] |
| October 24, 2018 | SUPPORT Act signed into law[2] |
| April 21, 2020 | DEA reopens comment on the 2010 rule (85 FR 22018)[1] |
| January 1, 2021 | Medicare Part D e-prescribing requirement applies to new prescriptions[2] |
| January 1, 2023 | Earliest date for CMS non-compliance actions, starting with the 2023 measurement year[17] |
| August 28, 2023 | Pharmacy-to-pharmacy transfer rule takes effect[12] |
| January 1, 2028 | Long-term care prescriptions begin to count toward CMS compliance[3] |
See also
References
- Electronic Prescriptions for Controlled Substances (EPCS) Q&A, DEA Diversion Control Division, 2023.
- Electronic Prescriptions for Controlled Substances (85 FR 22018), Drug Enforcement Administration, Federal Register, 2020.
- CMS Electronic Prescribing for Controlled Substances (EPCS) Program, Centers for Medicare & Medicaid Services.
- Drug Scheduling, Drug Enforcement Administration.
- Electronic Prescriptions for Controlled Substances, Notice of Proposed Rulemaking (73 FR 36722), Drug Enforcement Administration, Federal Register, 2008.
- 21 CFR Part 1311: Requirements for Electronic Orders and Prescriptions, Electronic Code of Federal Regulations.
- 21 CFR § 1300.03: Definitions relating to electronic orders and electronic prescriptions for controlled substances, Legal Information Institute, Cornell Law School.
- SP 800-63-1, Electronic Authentication Guideline, National Institute of Standards and Technology, 2011.
- FIPS 140-2, Security Requirements for Cryptographic Modules, National Institute of Standards and Technology, 2001.
- Federal Public Key Infrastructure 101, IDManagement.gov, General Services Administration.
- X.509 Certificate Policy for the Federal Bridge Certification Authority, Federal PKI Policy Authority.
- Revised Regulation Allows DEA-Registered Pharmacies to Transfer Electronic Prescriptions at a Patient's Request, Drug Enforcement Administration, 2023.
- 21 CFR § 1306.08: Electronic prescriptions, Legal Information Institute, Cornell Law School.
- 21 CFR § 1311.205: Pharmacy application requirements, Legal Information Institute, Cornell Law School.
- 21 CFR § 1311.300: Third-party audits or certifications, Legal Information Institute, Cornell Law School.
- Electronic Prescriptions for Controlled Substances Clarification, Drug Enforcement Administration, Federal Register, 2011.
- CMS EPCS Program Updates and CY 2024 PFS Final Rule (webinar slides), Centers for Medicare & Medicaid Services, 2024.
- Electronic Prescribing, New York State Department of Health.
