Introduction

Hospital electronic prescribing and medicines administration (HEPMA) systems were defined by the Department for Health in England in 2007 as ‘the utilisation of electronic systems to facilitate and enhance the communication of a prescription or medicine order, aiding the choice, administration and supply of a medicine through knowledge and decision support and providing a robust audit trail for the entire medicines use process’ [1]. UK government strategy recommends HEPMA system implementation, with National Health Service (NHS) England and NHS Scotland policies committed to HEPMA as a future e-health model in all secondary healthcare settings [2, 3].

Reported advantages of electronic prescribing systems include increased patient safety by prescribing error reduction. The UK Health Foundation stated that implementation of an electronic prescribing system incorporating decision support functionality could realise a 50% prescribing error reduction [4]. These systems also have the capacity to create prescriptions at the point of patient discharge from secondary care [5]. Electronic systems are, not without their limitations, having been shown to lead to ‘sociotechnical errors’, defined as those ‘occurring at the point where the system and the professional intersected and would not have occurred in the absence of the system’ [6].

In the UK, implementation of electronic prescribing systems is variable. A survey of English hospitals in 2011 reported that while 48% of hospitals had implemented standalone electronic discharge systems, only 13% had implemented integrated inpatient and discharge electronic prescribing [7]. Reduction in inpatient prescribing errors has been demonstrated with electronic prescribing systems [8, 9]. However, there has been limited study of prescribing error alteration in discharge prescriptions. A narrative literature review of discharge information communication and medicines discharge prescribing errors identified four studies comparing electronic solutions to traditional handwritten systems and five of electronic solutions with no comparison. These studies demonstrated inconsistent results with improved, unchanged or reduced medicine information accuracy [10]. Notably, none of the study sites had implemented the UK HEPMA systems.

Healthcare Improvement Scotland state that HEPMA systems need to be at least as safe as the traditional paper systems they replace [11]. Guidance on hospital medicines discharge documentation requirements are provided by two UK bodies, the Royal Pharmaceutical Society (RPS) and the Scottish Intercollegiate Guideline Network (SIGN) [12, 13]. The RPS guidance proposes core content for medicines information communication on hospital discharge, including a mandatory requirement for medicines change information to be recorded [12]. SIGN guidance defines the ideal content of hospital discharge documentation including a standard template with 29 required sections [13]. In 2014, NHS England identified specific issues concerning discharge medicines information communication which resulted in widespread dissemination of a patient safety alert to highlight the importance of essential information communication on discharge [14]. Medicine-related events are the most common adverse event occurring following hospital discharge, with evidence of perpetuation of discharge prescribing errors associated with a moderate potential for harm [15]. Failure to recognise these adverse events is a contributory factor for hospital readmission [16].

Currently, there is a lack of published evidence relating to HEPMA impact on discharge medicines information communication and prescribing error prevalence.

The aim of this study was to test the hypothesis that HEPMA implementation impacted discharge letter quality, nature and frequency of prescribing errors.

Methods

Design

A quasi experimental, before and after retrospective case note review design was adopted.

Setting

The study was undertaken in a 560 bedded district general hospital (DGH) in the UK. The selected HEPMA system was a commercially available standalone system; HEPMA implementation commenced in October 2013 and was completed in September 2014. Prior to HEPMA implementation, manual handwritten immediate discharge letters (IDLs) were prepared by either a medical prescriber or an advanced nurse practitioner transcribing diagnostic information from handwritten case notes and inpatient chart(s). Post-HEPMA implementation, both the inpatient prescription chart and the IDL were prepared electronically while the case notes remained handwritten. The IDL is prepopulated with information such as demographics and allergies. Discharge medicines can be selected from those prescribed as an inpatient and those to be commenced at the point of discharge added. Diagnostic and other clinical information is added by the clinician completing the IDL.

Sampling

The sample size calculation was based on anticipated baseline error rate of 17.5% [10]. The aim was to achieve a 10% error reduction with a power of 80% and p < 0.05. The total sample size was 318, comprising random samples of 159 before and after implementation.

Patient inclusion criteria were as follows:

  • Discharged between April to June 2013 (pre) and February to April 2015 (post)

  • ≥16 years

  • Discharged from hospital after an inpatient stay of at least 24 h

Patient exclusion criteria were as follows:

  • Mental health, maternity and paediatric wards (HEPMA not implemented or implemented prior to the study)

  • No medicines prescribed at discharge

  • Inter-hospital transfer

Pre-implementation data collection

Case notes were reviewed retrospectively by the principal investigator, an experienced clinical pharmacist, with a focus on information content and presence of prescribing errors on the handwritten IDL by scrutinising clinical notes, inpatient prescription charts and IDLs. Data were extracted onto a data collection tool, which was a modified version of the SIGN discharge document template [13]. Variables documented were age, gender, general practitioner details, hospital consultant details, discharge ward, discharge specialty, length of stay, discharge day of week, primary diagnosis, secondary diagnosis, significant operations/procedures, allergies, number of medicines prescribed on IDL, and designation of clinician completing and IDL. An independent clinical pharmacist confirmed the reliability of data extraction in a random sample of 10% of patients.

Data of primary diagnosis, secondary diagnosis and significant operations/procedures were not assessed for accuracy, merely recorded as present or absent in accordance with the approach of Callen et al. [17].

Medicines prescribed on discharge were compared to the inpatient list to identify any discrepancies.

The definition of prescribing error of Dean et al. was adopted, ‘a prescribing error occurs, when as a result of a prescribing decision or prescription writing process, there is an unintentional reduction in the probability of treatment being timely and effective or increase in the risk of harm’ [18]. Prescribing error types were classified as medicine omission, medicine commission, incorrect dose, incorrect frequency, incorrect duration, drug interaction, therapeutic duplication, missing allergy and inaccurate allergy, as described in Table 1. Reliability of error categorisation in a random sample of 10% was confirmed by an independent clinical pharmacist.

Table 1 Error type classification

Post-implementation data collection

A similar method was adopted for the post-implementation phase. Prescribing errors were identified and categorised as before, with the addition of sociotechnical errors in the post-implementation group. Examples of sociotechnical errors include incorrect selection of medicine formulation [6, 19]. Following data extraction, one medical consultant and one clinical pharmacist scored prescribing error severity. The panel was provided with information about each prescribing error as per previous studies [20]. The panel were also provided with a copy of the severity scoring guidance which consisted of a validated scoring system developed by Gleason et al. [21]. The severity ratings were as follows:

  1. 1.

    No potential harm

  2. 2.

    Monitoring or intervention potentially required to preclude harm

  3. 3.

    Potential harm

The panel met and discussed each error in turn, assigning a severity score. If consensus was not achieved, the error was referred to an independent medical consultant for further assessment.

Data analysis

Data were input to Statistical Packages for Social Sciences (SPSS) version 21.0, and analysed using descriptive statistics, normality tests and inferential statistics [22]. The Shapiro-Wilk normality test was applied to determine data distribution; Mann Whitney U test was used for non-parametric variables including patient length of stay and discharge specialty. Categorical variables were analysed using chi-square test for data with values greater than zero and Fisher exact test for data including a count of zero. The accepted level for significance was p < 0.05.

Governance

The study was approved by the ethical review panel of a UK university; NHS ethics was not required as it was considered a ‘service evaluation’. Caldicott guardian approval was obtained to access patient confidential information [23].

Results

Data were found to follow a non-parametric distribution. There were statistically significant differences between groups as depicted in Table 2 (p > 0.05). The median age was 60 years pre-implementation and 59 post-implementation, with gender consistent at 57% female. The most common length of stay was 2 days for both groups and discharge specialty was consistent with 47% medical specialties; more medicines were prescribed post-implementation (p = 0.023). There was a statistically significant improvement in some aspects of documentation (patient’s GP details, allergy information, grades of staff); no impact on others (hospital consultant, relevant secondary diagnosis, signature and full name printed); while certain sections were associated with reduced information documentation (diagnosis and procedures/operations) (Table 3).

Table 2 Comparison of pre- and post-implementation results
Table 3 Comparison of documented information on IDL

Table 4 gives the comparison of prescribing errors pre- and post-HEPMA implementation. There was a statistically significant reduction in the number of patients with a prescribing error post-HEPMA implementation, a reduction from 158 (99.4%) to 37 (23.3%) patients (p < 0.001.). The prevalence of all error types was reduced, being statistically significant for omitted medicines, medicine commission, incorrect doses, incorrect frequencies, incorrect durations and missing allergies (Table 4). Sociotechnical errors were attributed to prescriber selection failure for formulations and administration route for eye drops. Multiple error types were detected in 41.5% (n = 66) pre-implementation patients reduced to 2% (n = 3) post-implementation. Multiple instances of the same error (for example, omitted medicines) occurred in 56% (n = 89) pre-implementation patients reduced to 7% (n = 11) post-implementation.

Table 4 Comparison of prescribing errors

Error severity scoring

Errors were detected in 23% of post-implementation patients (n = 37). Severity scoring results gave category 1 errors (causing no potential harm) in 8 (22%) of patients with errors, category 2 errors (monitoring or intervention potentially required to preclude harm) in 19 (53%) and category 3 errors (likely to cause potential patient harm) in only 8 (22%). Table 5 provides example error descriptions with associated score. Severity score 1 errors included incorrect formulation selected and 5 days of cyclizine supplied on discharge when none had been administered during the inpatient stay.

Table 5 Post-HEPMA error severity scoring examples

Assessors agreed for all severity scoring.

The null hypothesis was rejected; HEPMA implementation positively impacted discharge letter quality, with a reduction in prescribing error frequency and severity of errors.

1=no potential harm, 2=monitoring or intervention potentially required to preclude harm, 3=potential harm

Discussion

Key findings

The key study findings relate to discharge letter quality and the nature and type of prescribing errors. HEPMA implementation resulted in an improvement in information content and accuracy. An improvement for almost all assessed SIGN guideline criteria was a consequence of HEPMA implementation [13]. HEPMA implementation significantly reduced the number of patients with prescribing errors (p < 0.001). Allergy information documentation improved with missing allergy information practically eliminated (p < 0.0001). Medicine omission was the most frequent error type post-implementation, although the incidence was significantly reduced compared to pre-implementation levels (p < 0.001). Errors related to the system (sociotechnical errors) were detected in 5% post-implementation patients (n = 8). HEPMA prescribing errors were categorised as potentially associated with harm in 5% patients (n = 8).

Strengths and weaknesses

The study strengths include application of a consistent approach by use of an adapted validated tool and appropriate study design to minimise bias wherever possible. Biases minimised were measurement bias by use of a validated tool and non-response and sampling biases by use of a random patient sample and by systematic application of the sample. There are, however, several limitations hence the study findings should be interpreted with caution. While a randomised control trial would be the ideal study design, this was not possible due to the nature of HEPMA implementation within the study setting. Other limitations were the before and after design which resulted in different patients in the two phases. Severity scoring assessment is noted to be subjective and the panel was limited to the perspectives of one medical consultant and one senior pharmacist. There may have been other confounders between the two study periods impacting the findings. These included changes in medical staff and other changes in operational processes. Furthermore, there was no consideration of actual patient harm as a result of prescribing errors.

Interpretation

This study demonstrated improvements to discharge information content and accuracy while previous studies had reported inconsistent results when moving to electronic systems, although disparate methods were employed in the different studies [17, 24,25,26]. The documentation of diagnosis in the designated section of the IDL was reduced although frequently, this information was incorporated into the clinical progress section. A similar finding was reported by Callen et al. when they compared electronically produced letters to handwritten ones [24]. Prescribing error frequency was reduced as a consequence of HEPMA implementation. HEPMA confers automatic import of information from the inpatient chart to the IDL which is consistent with a recommendation by Kriplalani et al. that ‘hospitals should use information technology to extract information into discharge summaries to ensure accuracy (e.g. medication names and doses) and to facilitate rapid completion of summaries’ [27]. HEPMA implementation eradicates medicine transcription for IDLs which was predicted to reduce prescribing errors and increase the total number of medicines prescribed on IDLs [17, 24]. Grimes et al. in an observational study reported medicine discrepancies in 66% patients at hospital discharge [28]. HEPMA implementation reduced prescribing errors from 84 to 23% patients (excluding omitted allergy information). The most frequent post-implementation prescribing error type was omitted medicines, as demonstrated in retrospective studies focusing on electronic discharge systems [17, 24, 28,29,30]. Sociotechnical errors accounted for 10 (13%) of post-implementation errors and therefore the HEPMA system prevented more errors than it created. This is consistent with inpatient electronic prescribing error occurrence detected by incident report review [6]. Errors occurring as a consequence of making changes to inpatient charts after preparation of IDLs have been reported when transcribing information from paper inpatient to electronic discharge letters [24]. A similar error was detected post-HEPMA, despite a system alert to indicate that the IDL also required to be changed. Thus, HEPMA implementation has not completely eliminated prescribing errors. The majority of detected prescribing errors were classified as execution errors in Reason’s model (slips or lapses) which generally occur due to human fallibility [20]. Hence, evidence of planning failures remained where practitioners considered their erroneous actions to be correct.

Comparison with published studies indicates that error severity is lower with HEPMA compared to traditional handwritten processes. Published error severity varied and a range of severity scoring assessments were utilised. Grimes et al. reported error severity rates in handwritten IDLs as 47% no harm or minor potential harm, with 53% as moderate potential patient harm [28]. McMillan et al. assessed 88% of errors as minor or potentially troublesome for handwritten discharge letters [31]. Abdel-Qader et al. categorised discharge electronic prescribing errors as serious 2.9%, significant 76.3% and minor 20.8% [30].

Conclusion

This study has provided evidence that HEPMA implementation in a UK DGH hospital was associated with a statistically significant reduction in discharge prescribing errors and severity of prescribing errors with a concurrent improvement in discharge information content. The electronic system is not a panacea for prescribing errors as system-related errors were detected although with a lower error severity than pre-existing error types.