Published on in Vol 19, No 8 (2017): August

An Internet-Based Method for Extracting Nursing Home Resident Sedative Medication Data From Pharmacy Packing Systems: Descriptive Evaluation

An Internet-Based Method for Extracting Nursing Home Resident Sedative Medication Data From Pharmacy Packing Systems: Descriptive Evaluation

An Internet-Based Method for Extracting Nursing Home Resident Sedative Medication Data From Pharmacy Packing Systems: Descriptive Evaluation

Original Paper

1Unit for Medication Outcomes Research and Education, Division of Pharmacy, School of Medicine, University of Tasmania, Hobart, Australia

2Wicking Dementia Research and Education Centre, Faculty of Health, University of Tasmania, Hobart, Australia

Corresponding Author:

Tristan Ling, BComp (Hons), PhD

Unit for Medication Outcomes Research and Education

Division of Pharmacy, School of Medicine

University of Tasmania

Private Bag 26

University of Tasmania

Hobart, 7001

Australia

Phone: 61 362267396

Fax:61 362262870

Email: Tristan.Ling@utas.edu.au


Background: Inappropriate use of sedating medication has been reported in nursing homes for several decades. The Reducing Use of Sedatives (RedUSe) project was designed to address this issue through a combination of audit, feedback, staff education, and medication review. The project significantly reduced sedative use in a controlled trial of 25 Tasmanian nursing homes. To expand the project to 150 nursing homes across Australia, an improved and scalable method of data collection was required. This paper describes and evaluates a method for remotely extracting, transforming, and validating electronic resident and medication data from community pharmacies supplying medications to nursing homes.

Objective: The aim of this study was to develop and evaluate an electronic method for extracting and enriching data on psychotropic medication use in nursing homes, on a national scale.

Methods: An application uploaded resident details and medication data from computerized medication packing systems in the pharmacies supplying participating nursing homes. The server converted medication codes used by the packing systems to Australian Medicines Terminology coding and subsequently to Anatomical Therapeutic Chemical (ATC) codes for grouping. Medications of interest, in this case antipsychotics and benzodiazepines, were automatically identified and quantified during the upload. This data was then validated on the Web by project staff and a “champion nurse” at the participating home.

Results: Of participating nursing homes, 94.6% (142/150) had resident and medication records uploaded. Facilitating an upload for one pharmacy took an average of 15 min. A total of 17,722 resident profiles were extracted, representing 95.6% (17,722/18,537) of the homes’ residents. For these, 546,535 medication records were extracted, of which, 28,053 were identified as antipsychotics or benzodiazepines. Of these, 8.17% (2291/28,053) were modified during validation and verification stages, and 4.75% (1398/29,451) were added. The champion nurse required a mean of 33 min website interaction to verify data, compared with 60 min for manual data entry.

Conclusions: The results show that the electronic data collection process is accurate: 95.25% (28,053/29,451) of sedative medications being taken by residents were identified and, of those, 91.83% (25,762/28,053) were correct without any manual intervention. The process worked effectively for nearly all homes. Although the pharmacy packing systems contain some invalid patient records, and data is sometimes incorrectly recorded, validation steps can overcome these problems and provide sufficiently accurate data for the purposes of reporting medication use in individual nursing homes.

J Med Internet Res 2017;19(8):e283

doi:10.2196/jmir.6938

Keywords



Reducing Use of Sedatives: “RedUSe”

It has been shown that residents within nursing homes often receive sedating medications contrary to guidelines [1-6]. A multi-strategic, interdisciplinary intervention called Reducing Use of Sedatives (RedUSe) was developed in Tasmania in 2008 aiming to address inappropriate sedative use in nursing homes [7], where the term “sedative” referred to “psycholeptic” medication or antipsychotic or anxiolytic or hypnotic classes (see Table 1 in the Methods section of this paper for the Anatomical Therapeutic Chemical (ATC) codes for included medications). The project approached the problem of inappropriate sedative use by

  1. Performing an audit of sedative use across all residents in the nursing home.
  2. Presenting audit feedback to nursing home staff, benchmarked against average nursing home sedative use, during an interactive education session.
  3. Developing personalized sedative review plans for each resident taking sedative medication, with input from a “champion nurse” and the home’s pharmacist, for the attention of the prescriber.

All steps were repeated 3 months after the initial audit, and steps 1 and 2 repeated again at 6 months.

The RedUSe program was tested in a controlled trial in 2009 with 25 homes [7]. Most nursing homes obtain their medications from community pharmacies that utilize commercial computerized medication packing systems to record and pack each resident’s medications into separate blister packs or sachets. Audit data was collected by installing software in each supply pharmacy to extract residents’ medications from these dispensing and packing databases. The software was compatible with the two most common dispensing and packing systems in Australia, FRED [8] and Webstercare [9]. Data mappings were created between these two systems’ antipsychotic and benzodiazepine identifiers to ATC codes, allowing automated production of audit reports charting the prevalence of use of each of these drug groups in each nursing home. This process required an in-person visit to the supply pharmacy and the nursing home for verification against resident medication charts [7].

The RedUSe trial significantly reduced rates of both antipsychotic and benzodiazepine use in intervention homes when compared with control homes [7]. This success led to funding from the Australian government to expand the project on a national scale. However, the remoteness of some nursing homes and the scale of data collection necessitated an improved data extraction method.

Extracting Nursing Home Medication Data

A recent systematic review identified 22 interventions that have been developed to address inappropriate antipsychotic use in nursing homes [4]. This review noted that medication audit initiatives typically collect data by visiting the home and copying resident charts [4,10,11] using cohorts already detailed by other studies [12,13] or by accessing electronic pharmacy records [14,15].

Electronic extraction of medication records from the nursing homes themselves was not possible, as at the time of project implementation many nursing homes were not using electronic medication records. Similarly, the relatively new Australian national electronic health record (EHR) system (formerly the Personally Controlled Electronic Health Record, now My Health) still has a low adoption rate, both from health practitioners and patients [16]. Although prescriptions are being increasingly computerized at the point of prescription, they are not universally so, and accessing the computer systems of each prescriber for each resident in a nursing home would be impractical.

Community pharmacy records are an increasingly viable source of data [17]. Many examples of data collection using pharmacy records exist, with outcomes including an influenza monitoring system [18], validating hospital admission drug charts [19], providing decision support to pharmacists [20], quantifying medicine use [21], and identification of patients for intervention [22,23]. Pharmacies are also a condensed source, as it is generally expected that a nursing home is supplied medications by one or two pharmacies. Additionally, pharmacies often supply multiple nearby nursing homes. Literature has noted that, thus far, pharmacy data collection procedures have typically been small scale, performed by one individual, and lacking a procedure for checking accuracy [4], providing sufficiently accurate data for aggregate analysis but not for personalised intervention.

For larger scale studies, the remoteness of some nursing homes makes in-person visits impractical. An alternative is to recruit a person already employed by each nursing home: within this project a “champion nurse” was designated within each home to promote and lead the project, as published literature has consistently noted this as critical to success [24-28]. However, other project requirements left little capacity for the champion nurse to also facilitate data collection; considering it has been reported that the three most stressful factors in aged care nursing are “not having enough staff,” “having too much work to do,” and “interruptions to regular work” [29], performing significant data entry in addition to promoting cultural change is likely too large a burden.

Using Extracted Medication Data

There are a small number of pharmacy medication packing systems in use in Australia, yet each store their data in very different formats. To be able to identify medications of interest and report on them meaningfully, an extract, transform, and load (ETL) process is required that can translate medicines to a common standard for comparison.

In Australia, the Australian Digital Health Agency (ADHA) has created the Australian Medicines Terminology (AMT), an organized collection of codes and descriptions for uniquely identifying originator and generic medication brands used in Australia. The codes are hierarchically linked (see Figure 1) so that for any given medication it is possible to identify the active ingredients, dosage form, strength, trade name, pack type, and pack size [30]. By providing independent, unique codes, the AMT is intended to allow long-term, reliable communication of medication information between different systems. Uptake of the AMT has been slow, particularly in commercial software, but it is being increasingly used in research and analysis [31-33]. The AMT is a subset of the Systemised Nomenclature of Medicine Clinical Terms (SNOMED CT), an international standard for encoding clinical terms [34]. AMT equivalent systems exist outside of Australia, such as the UK NHS Dictionary of Medicines and Devices (dm+d) [35] or the Singapore Drug Dictionary (SDD) [36]. In the United States, drugs can be encoded using the US edition of SNOMED CT’s Product and Substance concepts or using the terminology set RxNorm, which has been mapped to SNOMED CT [37].

Given that collecting data on sedative use directly from nursing homes is impractical, pharmacy medication packing systems provide both the next-closest data point, plus the least number of data sources. They also provide the most consistently electronic records, including those kept within nursing homes. An ETL approach to retrieving data from pharmacy systems, combined with a validation and verification process from nursing staff at the point of care, was developed to provide accurate data to facilitate audits of sedative medication use, reporting and education, and personalized medication review plans for nursing home residents on a national scale.

Figure 1. The hierarchical concepts used to describe medicines in the Australian Medicines Terminology.
View this figure

Data Extraction

To collect medication data from community pharmacies, a website and client program was developed. Extracted data was securely sent to a webserver, which kept detailed transaction logs of every record added, modified, and deleted. The client program was able to extract data from the FRED, Webstercare, MPS [38], and Minfos [39] medication packing systems. Packing systems were prioritized over dispensing as they provide a simpler measure of quantities supplied. As per the requirements of the broader intervention, data was extracted as a “point-in-time” snapshot, and as with the previous RedUSe study, 3 snapshots were taken at 3-month intervals.

The collection of data is a process run by a staff member of the supplying pharmacy. The staff member

  1. Creates an account on the website.
  2. Logs into the website from a computer in the pharmacy and downloads and runs client.
  3. In the RedUSe client software, follows prompts to identify pharmacy and packing software brand
    1. For Fred and Webstercare, the software locates the packing database; if atypical, it asks staff for location or to select from multiple possibilities.
    2. For MPS and Minfos, the staff member generates a medication report and opens it in the RedUSe client.
  4. In the RedUSe client software, links the pharmacy system wing or home group names corresponding to the wing or home names of the RedUSe-participating nursing home(s).

Once the data source was identified in step 3, the software established a connection appropriate to the packing system (eg, opening a database connection or opening the file for reading). Resident and medication data for the chosen homes were then retrieved, with resident names encrypted. Medication data included a packing system medication identifier, medication name, instructions for use, quantity supplied, date started, date ceased, and prescriber. All data was compressed and transmitted to the server using transport layer security (TLS) encryption. The uploaded data from one extraction (referred to as “an upload”) contained all residents and medications for all currently participating nursing homes supplied by that pharmacy. The client program was a small (200 kilobyte) download.

Data Enrichment

The medication identifiers used by each of the packing systems were mapped to the appropriate AMT concept. Depending on the software, this was either the Trade Product Unit of Use (TPUU) or the Containered Trade Product Pack (CTPP). Using the AMT, these concepts were then translated to the corresponding Medicinal Product Unit of Use (MPUU). Finally, mappings were created between relevant AMT MPUU concepts and the appropriate ATC codes, providing a link from the medicine identifiers used in each packing program to a consistent naming scheme and drug classification system (see Figure 2 for examples). Where possible, mappings were created automatically based on known codes such as the Australian Register of Therapeutic Goods. Any missing mappings were added by a team of two research pharmacists.

Using the ATC code, medications of interest (for the RedUSe project, sedative medications) were automatically identified and aggregated based on the ATC codes shown in Table 1. Using this data, reports were generated by the server, on request, describing prevalence of antipsychotic and benzodiazepine medication use in each nursing home. Additionally, a measure of sedative load was calculated for each resident: the average daily dose for each medication was determined and compared with the World Health Organization’s Defined Daily Dose (DDD) values [40]; to enable reporting at a nursing home level, daily doses were converted to an equivalent strength of diazepam for benzodiazepines and chlorpromazine for antipsychotics. The calculations did not include sedative medications taken pro re nata (PRN, “as required”), rather than taken regularly, due to difficulty quantifying administered PRN doses.

It is noteworthy that this process was implemented using version 2 of the AMT; version 3 was released while this project was ongoing, but there was no capacity to convert while the project was running. As AMT version 2 did not include some newer medications, there were some medications that could not be automatically linked. The impact of this is discussed later.

Table 1. ATC codes used to identify drugs of interest.
ATC CodeExcludingName
N05A
Antipsychotics

N05ANExcluding Lithium

N05AB04Excluding Prochlorperazine
N05BA
Anxiolytics (Benzodiazepine derivatives)
N05CD
Hypnotics and Sedatives (Benzodiazepine derivatives)
N05CF
Benzodiazepine-related drugs
N03AE01
Clonazepam
Figure 2. Example mappings for each packing software brand of a temazepam product.
View this figure

Data Validation and Verification

Once the medication data was uploaded, there was a series of validation and verification steps performed. First, the names of all medication records that were unable to be automatically linked to the AMT were sent to a research pharmacist. If the pharmacist identified any unlinked sedative medications, those mappings were added; if mappings could not be made (eg, the medication did not exist in the AMT), the medication was instead mapped to a chemically equivalent medication to ensure that all sedative use was captured in the resident’s DDD. The medication name used in the prescription data was still presented to nursing staff to avoid any confusion.

Following this, the uploaded data was checked by project staff for any obvious errors that would require the upload to be reattempted and for any clear mistakes that could be unambiguously corrected.

Next, the champion nurse at the nursing home was asked to log into the website and verify that all residents were present and that all sedative medications were present and correct (including name, dose, and instructions). Nurses were not asked to quantify administered doses of PRN medication. They were also asked to add any missing residents and medications, particularly looking for medication dosage forms that may have been packed separately (eg, drops, wafers, or injections). Separately packed medicines were sometimes not uploaded depending on the type of software used by the pharmacy and how the pharmacist recorded the medications. The champion nurse also removed any residents or medications that were incorrect or no longer current; if a resident was identified as no longer residing in the home, their medications were automatically excluded. For these checks, any missing or suspect data (such as doses falling outside of a typical range) were highlighted on the website. Once all residents had their sedative records verified, the option to generate the audit report and sedative review plans became available, with a review plan generated for every resident prescribed one or more sedative medications (the content and process for these review plans are beyond the scope of this paper).

Final data validation was also performed retrospectively by project staff, primarily to merge duplicate or split resident accounts but also to improve the consistency of the data for final reports issued to nursing homes. This addressed issues introduced by errors in the extraction process and any inconsistencies in the previous validation steps between nursing homes. The full ETL and validation process is shown in Figure 3.

Manual Data Entry

The typical approach to conducting medication audits in nursing homes is to visit the home and inspect the resident charts, recording the data by hand. If automated extraction of medication data was not possible, the champion nurse and regional project pharmacist used this as a fallback solution. In this case, the website functionality for data validation and verification could be used as an entry-assistance tool: forms for entering missing residents and medications already existed including auto-completing fields, instruction translation, and error highlighting. Using the same forms also ensured that entered medicines were in the same enriched format as uploaded medicines. To simplify this process, only sedative medication was required (defined according to Table 1 ATC codes), and any data entry snapshots after the first had the capacity to prepopulate from existing data, requiring only the changes since the last snapshot to be entered.

Figure 3. Extract, transform, and load (ETL) and validation process.
View this figure

Recruitment, Privacy, and Consent

Recruitment of nursing homes aimed to provide a range of sizes, locations, ruralities, and organizations. Two national nursing home groups offered all of their facilities to be involved. Two aged care advocacy bodies assisted in the recruitment of smaller organizations and independent nursing homes by featuring “RedUSe” in industry journals, resulting in over 300 expressions of interest. From this cohort, facilities were selected for invitation, with an effort to meet the described criteria. Invitations continued until consent was gained from the target number of 150 RACFs. Facilities with less than 29 residents or from outer rural or remote locations, and those located in the Northern Territory, were excluded for logistical reasons. Supply pharmacies were approached for consent once the nursing home agreed to participate. Pharmacies were provided detail on the project and the software and were offered a small remuneration for facilitating data collection for a nursing home.

During the project, identifiable patient information was encrypted on the server and only decrypted for authorized staff at that nursing home and the project staff member responsible for contact with that nursing home. Nursing home level aggregations were only available to the management of that home, the home’s pharmacist, the project staff member in contact, and the project lead.

Full ethical approval for the study was obtained from the Human Research Ethics Committee (Tasmania) Network (reference, H0013545).


Extracted Data

Of participating nursing homes, 94.7% (142/150) had resident and medication data successfully uploaded via the automated process, supplied by 81 pharmacies. The eight participating nursing homes that did not have data uploaded were serviced by five pharmacies. One pharmacy owner declined to participate. The other four pharmacies used packing systems not supported by the extraction software: three used a platform that did not allow the software to be run; the other used a new brand of packing software.

Of the 150 nursing homes, 95.3% (143/150) were supplied by a single pharmacy, 4% (6/150) were supplied by two pharmacies, and one home was supplied by three pharmacies. On average, there were 90 residents per nursing home (standard deviation [SD]=37.5).

In total, 311 uploads were completed. Of these, 73.3% (228/311) included one nursing home, 21.9%, (68/311) included two nursing homes, 9 included three nursing homes, 5 included four nursing homes, and 1 included five nursing homes. Facilitating these took the supplying pharmacist a mean of 15 min per upload (standard error=0.67). Data upload size was, on average, 54 kilobytes.

Overall, 17,722 resident profiles were extracted, with 11.07% (1961/17,722) identified as duplicate or secondary records for an existing resident and merged into other records. For homes where data was automatically uploaded, 815 additional residents, or 4.4% of total (815/18,537) were added manually during data validation (shown in Figure 4). For uploaded residents, 546,535 medication records were extracted, of which, 5.13% (28,053/546,535) were identified as antipsychotics or benzodiazepines. There were 2291 antipsychotic and benzodiazepine records (8.16% of 28,053) modified during the validation steps, with a total of 3814 modifications. A further 4.75% (1398/29,451) of total antipsychotic and benzodiazepine medications were added manually (shown in Figure 5). Sedative medications taken PRN were significantly more likely not to be included in packing programs (3.62% [586/16,179] of regular medications were missed, against 6.12% [812/13,272] of PRN medications missed; two-tailed z-score −10.02, P<.001).

Figure 4. Residents extracted, removed, and added.
View this figure
Figure 5. Sedatives extracted, corrected, and added.
View this figure

Data Errors and Corrections

Validation and Verification

All manual corrections have been broken down into each validation and verification step in Table 2. In phase one, 9.56% (219/2291) of incorrect medications required a manual mapping. Of these, 82.2% (180/219) were recently introduced medications that would have been automatically linked if AMT version 3 was used; the remainder were due to out-of-date pharmacy vendor databases, unusual prescriptions (eg, brandy), or customized medications.

During the third phase validation, 48.69% (1870/3841) of all corrections were made by champion nurses and regional project pharmacists. Off-site validation and retrospective data cleaning, performed by project researchers, accounted for the remaining 44.91% (1725/3841) of modifications made.

Known Errors

Of the errors in extracted medicine data, the most frequent problems were missing dosage quantities. These could all be accounted for by three mistakes in the extraction software. One flaw, for one pharmacy software type, resulted in 325 records missing dosage numbers (24.83% (325/1309) of extracted records for that software in that time). A similar problem with another packing system accounted for another 284 records missing dosage numbers, or 8.73% (284/3254). Once corrected, subsequent dosage extractions from those software types required only 15 modifications, or 1.43% (15/1047) of records from that software in that time. The largest single cause of missing dosages was triggered by a pharmacy packing system changing their data structure during the project. This resulted in another 2108 records missing dosage numbers that needed to be entered based on the extracted instructions (representing 42.95% [2108/4908] of records in that time, up from 3.84% [125/3254] before the change). Altogether, these three missing dosage data issues accounted for 75.58% (2717/3595) of the sedative record corrections after mappings had been made. Removing these from consideration (as they are now corrected issues) alters the accuracy and validation requirements substantially, as shown in the second section of Table 2. Besides dosage quantities, all other extracted medicine attributes had approximately equal frequencies of error, with an average of 2% of uploaded records needing modification.

Table 2. Medication corrections made in each data validation and verification phase.
PhaseCorrections
n (%)
Corrections excluding known errors
n (%)
1: Identifying unmapped medications219 (5.74)219 (19.96)
2: Off-site validation764 (20.03)201 (18.32)
3: In-home verification1870 (49.02)384 (35)
4: Retrospective cleaning961 (25.2)293 (26.71)

38141097
Time Requirements

Website interaction logs provided more detail of the on-site verification of data. By aggregating continuous blocks of interactions, we estimate that the champion nurse required a mean of 33 min of website interaction to check uploaded data for one nursing home; taking into account the size of the homes, this corresponded to 22 seconds per resident (SD=14.8). For homes where an automated upload was not possible, manually entering residents and their medications through the supplied RedUSe website required a mean of 60 min for the first snapshot, 43 min for the second snapshot, and 35 min for the third (shown in Table 3). This equated to 42 seconds per resident at baseline (SD=26.4) and 30 seconds per resident, subsequently (SD=15.2).

Table 3. The number and mean min required to perform data validation, for uploaded versus manually entered data.
Data sourceSnapshotMean minutes for data entry (Initial validation and
on-site verification)
Number of snapshots validated
Manual



baseline60.020

3 months43.213

6 months35.213

all manual48.046
Uploaded



baseline38.1130

3 months31.3137

6 months31.3137

all uploaded33.5404

These results demonstrate a successful implementation of an ETL method for retrieving and verifying sedative medication prescribing in nursing homes, on a national scale. This section explores the extent of that success and discusses considerations for future applications of the method.

Upload Coverage

The data extraction method was generally applicable across pharmacies. Apart from one that declined to participate, there were only four pharmacies (5% of the 86 pharmacies invited) that were unable to have medication data uploaded. These were due to two uncommon packing systems, both of which can be included with further development of the extraction software. Likewise, most residents (95.6%, 17,722/18,537) and most of their sedative medications (95.26%, 28,053/29,451) were included in uploads. The residents that were missed were due to individuals being supplied by an alternate pharmacy or due to new residents entering the home between the time the upload occurred and the time the data validation was performed. Similarly, medications could be missed due to this time difference but also due to differences in pharmacy packing protocols: for example, 6.12% (812/13,272) of PRN medications were not included in packing, requiring identification and manual addition during data validation. In addition, certain medication forms presented problems for extraction. For one packing system, injections, wafers, and solutions were always missed; for another, their inclusion was heavily dependent on the particular pharmacy’s recording and packing practices, with approximately 1 in 5 pharmacy uploads not including those medications. These highlight the value of the manual validation steps; for example, if timeliness of data is an issue, or if 95% coverage of PRN medications is insufficient, then manual validation is a necessity.

Data Accuracy

Nearly 92% (25,762/28,053) of sedative medications were correct as uploaded. This rate improved to 98.32% (27,583/28,053) if the “known” errors in extraction, including the outdated AMT, were excluded. Given that those errors were corrected, it is tempting to expect that any future use of this data extraction method would achieve that rate, but this may be unrealistic: the major “known” error was caused by an external update to pharmacy software, and the frequency and timing of those updates is unpredictable.

Other medication data errors were due to individualities in pharmacy packing systems. In the initial validation phase, 82.2% (180/219) of the unknown medication errors were due to using an outdated version of the AMT. The other 17.8% were caused by pharmacy-unique entries: packing systems allow pharmacists to add medications, for new products released before the system vendor can update their database or for pharmacy-prepared medications. Errors in recognized medications were caused by inconsistent entry into the packing systems, such as incomplete records, transposed fields, or typing mistakes. Retrospective corrections were primarily to merge multiple resident profiles: residents were often entered into pharmacy systems more than once, either as an oversight or intentionally to split medication packs. Other retrospective medication data changes were made for internal consistency (eg, correcting dosage quantities to match those given in the instructions).

That 25.2% (961/3814) of the corrections were performed retrospectively might seem to cast doubt on the accuracy of the previous validation steps. It is possible that some mistakes were made but unlikely, given the extensive validation process where the champion nurse, pharmacist, and research team all reviewed the data.

The volume of errors corrected highlights the need for data validation and verification. Adaptability of the extraction software is expected to be crucial for any longitudinal use of this approach as packing systems change between pharmacies and over time. Verifying uploaded data is a crucial step in identifying when those changes occur. Given the accuracy achieved within this project, if due consideration is given to validation, verification, and maintenance, it may be reasonable to aim for an accuracy rate above 95% (before corrections).

Comparison With Manual Entry

Compared with the automated process, the time recorded for manual data entry does not appear too unfavorable, especially when considering the additional 15 min required for the community pharmacist to facilitate an upload; however, this “manual” process was facilitated by a project-developed website with entry-assistance, so it does not fully describe the time benefit of the automated process. The prepopulation of data explains most of the increase in efficiency between the baseline and 3-month snapshots shown in Table 3; the remainder is due to familiarity with the website. It is also notable that although this application was only interested in sedative medications, the automated upload included all medications supplied by the pharmacy, and manual entry only included sedative medications. This translated to an average of 10 more medications per resident (11.84 per uploaded resident against 1.96 per manually added resident).

Applicability of Results

Although this study only validated sedative data, similar accuracy is expected for other medication classes, and the validation cost would be expected to increase proportionally. Maintenance costs should be approximately equivalent; systemic changes typically require the same amount of work regardless of the classes of medication. Managing the burden on nursing staff should be a key consideration, potentially by utilizing more nurses or reducing other project responsibilities.

Although this study included four Australian pharmacy packing systems, the approach is independent of particular systems. The model of community pharmacies supplying medication to nursing homes appears to be the standard in the United States, the United Kingdom, and elsewhere. The complexity of implementing this approach will be dependent on the range of software used by those pharmacies, which will differ by region. Of more significance is the relative uptake of standardized EHRs in the wider health system. If pharmacy software encodes medications to a recognized standard (such as SNOMED CT), then the data transformation cost and maintenance cost of the extraction software is drastically reduced. A standardized, appropriately encoded, widely adopted, and accessible patient EHR would make this data collection approach unnecessary. While many countries are attempting to move toward such a system, the authors are not aware of any that yet meet these criteria.

Conclusions

Extracting pharmacy medication packing records and enriching them through mapping to an independent medication data resource, such as the AMT and ATC codes, was used to collect sedative medication usage data in remote nursing homes on a national scale, with success in 94.6% (142/150) of the homes involved. Without data validation and verification, the accuracy rate for sedative medications could be expected to be above 90% and possibly over 95%. At least 20% of these errors would be expected to be unambiguously correctable with only basic validation. Although this unverified data may be unsuitable for individualized clinical applications, it is useful as a data source for more generalized analyses and avoiding the validation step makes it a much faster process.

With data validation and verification steps included, the method compares favorably to in-person visits and manual resident chart reproduction, taking less time and producing more data. It is also highly scalable. However, to produce reliable clinical data, continual monitoring of data accuracy is essential not only to correct mistakes in individual pharmacy data entry but also to identify variations in pharmacy packing systems. These variations also mean that there needs to be capacity for maintenance to the extraction software.

Acknowledgments

The RedUSe project was funded by the Australian Government under the Dementia and Aged Care Service Fund. We would also like to acknowledge FredHealth, Webstercare, Minfos, and MPS Australia for their support.

Conflicts of Interest

None declared.

  1. Ballard C, Creese B, Corbett A, Aarsland D. Atypical antipsychotics for the treatment of behavioral and psychological symptoms in dementia, with a particular focus on longer term outcomes and mortality. Expert Opin Drug Saf 2011 Jan;10(1):35-43. [CrossRef] [Medline]
  2. Bonner AF, Field TS, Lemay CA, Mazor KM, Andersen DA, Compher CJ, et al. Rationales that providers and family members cited for the use of antipsychotic medications in nursing home residents with dementia. J Am Geriatr Soc 2015 Feb;63(2):302-308. [CrossRef] [Medline]
  3. Chen Y, Briesacher BA, Field TS, Tjia J, Lau DT, Gurwitz JH. Unexplained variation across US nursing homes in antipsychotic prescribing rates. Arch Intern Med 2010 Jan 11;170(1):89-95 [FREE Full text] [CrossRef] [Medline]
  4. Thompson-Coon J, Abbott R, Rogers M, Whear R, Pearson S, Lang I, et al. Interventions to reduce inappropriate prescribing of antipsychotic medications in people with dementia resident in care homes: a systematic review. J Am Med Dir Assoc 2014 Oct;15(10):706-718 [FREE Full text] [CrossRef] [Medline]
  5. Levinson D. HHS. 2011. Medicare atypical antipsychotic drug claims for elderly nursing home residents   URL: https://oig.hhs.gov/oei/reports/oei-07-08-00150.pdf [accessed 2017-07-24] [WebCite Cache]
  6. Westbury J, Beld K, Jackson S, Peterson G. Review of psychotropic medication in Tasmanian residential aged care facilities. Australas J Ageing 2010 Jun;29(2):72-76. [CrossRef] [Medline]
  7. Westbury J, Jackson S, Gee P, Peterson G. An effective approach to decrease antipsychotic and benzodiazepine use in nursing homes: the RedUSe project. Int Psychogeriatr 2010 Feb;22(1):26-36. [CrossRef] [Medline]
  8. FRED. Fred IT Group   URL: http://www.fred.com.au/ [accessed 2016-10-31] [WebCite Cache]
  9. Webstercare. 2016. Webstercare MMS   URL: http://www.webstercare.com.au/ [accessed 2016-10-31] [WebCite Cache]
  10. Dahl LJ, Wright R, Xiao A, Keeven A, Carr DB. Quality improvement in long term care: the psychotropic assessment tool (PAT). J Am Med Dir Assoc 2008 Nov;9(9):676-683 [FREE Full text] [CrossRef] [Medline]
  11. Patterson SM, Hughes CM, Crealey G, Cardwell C, Lapane KL. An evaluation of an adapted U.S. model of pharmaceutical care to improve psychoactive prescribing for nursing home residents in northern ireland (fleetwood northern ireland study). J Am Geriatr Soc 2010 Jan;58(1):44-53. [CrossRef] [Medline]
  12. Chakraborty A, Linton CR. Antipsychotic prescribing in dementia patients in care homes: proactive in-reach service improved quality of care. Int J Geriatr Psychiatry 2012 Oct;27(10):1097-1098. [CrossRef] [Medline]
  13. Schultz B, Gambert S. Minimizing the use of psychoactive medications in the institutionalized elderly. Clin Gerontol 1991;11(1):80-82.
  14. Hagen BF, Armstrong-Esther C, Quail P, Williams RJ, Norton P, Le NC, et al. Neuroleptic and benzodiazepine use in long-term care in urban and rural Alberta: characteristics and results of an education intervention to ensure appropriate use. Int Psychogeriatr 2005 Dec;17(4):631-652. [CrossRef] [Medline]
  15. Vida S, Monette J, Wilchesky M, Monette M, Friedman R, Nguyen A, et al. A long-term care center interdisciplinary education program for antipsychotic use in dementia: program update five years later. Int Psychogeriatr 2012 Apr;24(4):599-605. [CrossRef] [Medline]
  16. Xu J, Gao X, Sorwar G, Croll P. Implementation of e-health record systems in Australia. The International Technology Management Review 2013;3(2):92-104.
  17. Wright D, Twigg M. Community pharmacy: an untapped patient data resource. Integrated Pharmacy Research and Practice 2016;5:19-25.
  18. Hsu S, Benton R, Gottumukkala R. Real-time flu monitoring system and decision informatics. In: Proceedings of the 48th Annual Hawaii International Conference on Systems Sciences.: IEEE; 2015 Presented at: HICSS; January 5, 2015; Kauai p. 2794-2803.
  19. Tompson AJ, Peterson GM, Jackson SL, Hughes JD, Raymond K. Utilizing community pharmacy dispensing records to disclose errors in hospital admission drug charts. Int J Clin Pharmacol Ther 2012 Sep;50(9):639-646. [CrossRef] [Medline]
  20. Curtain C, Peterson GM, Tenni P, Bindoff IK, Williams M. Outcomes of a decision support prompt in community pharmacy-dispensing software to promote step-down of proton pump inhibitor therapy. Br J Clin Pharmacol 2011 May;71(5):780-784 [FREE Full text] [CrossRef] [Medline]
  21. Horsburgh S, Norris P, Becket G, Crampton P, Arroll B, Cumming J, et al. The equity in prescription medicines use study: using community pharmacy databases to study medicines utilisation. J Biomed Inform 2010 Dec;43(6):982-987 [FREE Full text] [CrossRef] [Medline]
  22. Gardner SF, Skelton DR, Rollins SD, Hastings JK. Community pharmacy data bases to identify patients at high risk for hypercholesterolemia. Pharmacotherapy 1995;15(3):292-296. [Medline]
  23. Wright D, Twigg M, Barton G, Thornley T, Kerr C. An evaluation of a multi-site community pharmacy-based chronic obstructive pulmonary disease support service. Int J Pharm Pract 2015 Feb;23(1):36-43. [CrossRef] [Medline]
  24. Damschroder LJ, Banaszak-Holl J, Kowalski CP, Forman J, Saint S, Krein SL. The role of the champion in infection prevention: results from a multisite qualitative study. Qual Saf Health Care 2009 Dec;18(6):434-440. [CrossRef] [Medline]
  25. Dunbar L, Brandt T, Wheeler A, Harrison J. Barriers and solutions to implementing metabolic risk assessment in a secondary mental health service. Australas Psychiatry 2010 Aug;18(4):322-325. [CrossRef] [Medline]
  26. Fakih MG, George C, Edson BS, Goeschel CA, Saint S. Implementing a national program to reduce catheter-associated urinary tract infection: a quality improvement collaboration of state hospital associations, academic medical centers, professional societies, and governmental agencies. Infect Control Hosp Epidemiol 2013 Oct;34(10):1048-1054. [CrossRef] [Medline]
  27. Pretorius A, Searle J, Marshall B. Barriers and enablers to emergency department nurses' management of patients' pain. Pain Manag Nurs 2015 Jun;16(3):372-379. [CrossRef] [Medline]
  28. Saint S, Kowalski CP, Forman J, Damschroder L, Hofer TP, Kaufman SR, et al. A multicenter qualitative study on preventing hospital-acquired urinary tract infection in US hospitals. Infect Control Hosp Epidemiol 2008 Apr;29(4):333-341. [CrossRef] [Medline]
  29. Lapane KL, Hughes CM. Considering the employee point of view: perceptions of job satisfaction and stress among nursing staff in nursing homes. J Am Med Dir Assoc 2007 Jan;8(1):8-13. [CrossRef] [Medline]
  30. Australian Digital Health Agency. ADHA. 2011. Australian medicines terminology   URL: https://www.digitalhealth.gov.au/ [accessed 2017-07-24] [WebCite Cache]
  31. Karimi S, Metke-Jimenez A, Nguyen A. Cademiner: a system for mining consumer reports on adverse drug side effects. In: Proceedings of the Eighth Workshop on Exploiting Semantic Annotations in Information Retrieval.: ACM; 2015 Presented at: ESAIR 2015; October 23, 2015; Melbourne, Australia p. 47-50.
  32. Leroux H, Lefort L. Using CDISC ODM and the RDF data cube for the semantic enrichment of longitudinal clinical trial data. In: Proceedings of the 5th International Workshop on Semantic Web Applications and Tools for Life Sciences.: CEUR Workshop Proceedings; 2012 Presented at: Semantic Web Applications and Tools for Life Sciences; November 28, 2012; Paris, France.
  33. McBride SJ, Lawley MJ, Leroux H, Gibson S. Using Australian medicines terminology (AMT) and SNOMED CT-AU to better support clinical research. Stud Health Technol Inform 2012;178:144-149. [Medline]
  34. SNOMED. SNOMED clinical terms   URL: http://www.snomed.org/snomed-ct [accessed 2017-02-09] [WebCite Cache]
  35. NHS Business Services Authority. NHSBSA. Dictionary of medicines and devices   URL: http://www.nhsbsa.nhs.uk/1121.aspx [accessed 2017-02-09] [WebCite Cache]
  36. SNOMED. SNOMED. SNOMED Singapore 2015/2016 update   URL: http://www.snomed.org/member/singapore/20152016-update [accessed 2017-02-09] [WebCite Cache]
  37. NIH. 2014. RxNorm   URL: https://www.nlm.nih.gov/research/umls/rxnorm/ [accessed 2017-06-29] [WebCite Cache]
  38. Mps-aust. 2016. MPS Australia better medication management   URL: http://mps-aust.com.au/ [accessed 2016-11-01] [WebCite Cache]
  39. Minfos. 2016. Minfos all-in-one management software for the Australian pharmacy   URL: http://www.minfos.com.au/ [accessed 2016-10-31] [WebCite Cache]
  40. WHOCC. 2015 Dec 16. WHO collaborating centre for drug statistics methodology   URL: http://www.whocc.no/atc_ddd_index/ [accessed 2016-11-01] [WebCite Cache]


ADHA: Australian Digital Health Agency
AMT: Australian Medicines Terminology
ATC: Anatomical Therapeutic Chemical
BPSD: Behavioral and Psychological Symptoms of Dementia
CTPP: Containered Trade Product Pack
DDD: defined daily dose
dm+d: Dictionary of Medicines and Devices
ETL: extract, transform, and load
MPUU: Medicinal Product Unit of Use
PRN: pro re nata (“as needed”)
RedUSe: Reducing the Use of Sedatives project
SDD: Singapore Drug Dictionary
SNOMED CT: Systemized Nomenclature of Medicine Clinical Terms
TLS: transport layer security
TPUU: Trade Product Unit of Use


Edited by G Eysenbach; submitted 02.11.16; peer-reviewed by L Emmerton, S Speedie, T Cornford; comments to author 01.12.16; revised version received 07.04.17; accepted 06.06.17; published 03.08.17

Copyright

©Tristan Ling, Peter Gee, Juanita Westbury, Ivan Bindoff, Gregory Peterson. Originally published in the Journal of Medical Internet Research (http://www.jmir.org), 03.08.2017.

This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research, is properly cited. The complete bibliographic information, a link to the original publication on http://www.jmir.org/, as well as this copyright and license information must be included.