This paper is in the following e-collections/theme issues:

Clinical Informatics  Clinical Information and Decision Making 

Advertisement: Preregister now for the Medicine 2.0 Congress

Download PDF

Original Paper

Improving Interoperability in ePrescribing

Sten-Erik Öhlund1,2,3, BSC, PhLic; Bengt Åstrand1, MPharm, PhD; Göran Petersson1, MD, PhD

1eHealth Institute, Linnaeus University, Kalmar, Sweden
2Information Systems, Department of Management and Engineering, Linköping University, Linköping, Sweden
3Logica Sverige AB, Kalmar, Sweden

Corresponding Author:
Sten-Erik Öhlund, BSC, PhLic

Logica Sverige AB
Skeppsbrogatan 49
Kalmar, 391 23
Phone: 46 733982117
Fax: 46 480 85573

Related Article:

This is a corrected version. See correction statement:


Background: The increased application of eServices in health care, in general, and ePrescribing (electronic prescribing) in particular, have brought quality and interoperability to the forefront. The application of standards has been put forward as one important factor in improving interoperability. However, less focus has been placed on other factors, such as stakeholders’ involvement and the measurement of interoperability. An information system (IS) can be regarded to comprise an instrument for technology-mediated work communication. In this study, interoperability refers to the interoperation in the ePrescribing process, involving people, systems, procedures and organizations. We have focused on the quality of the ePrescription message as one component of the interoperation in the ePrescribing process.
Objective: The objective was to analyze how combined efforts in improving interoperability with the introduction of the new national ePrescription format (NEF) have impacted interoperability in the ePrescribing process in Sweden, with the focus on the quality of the ePrescription message.
Methods: Consecutive sampling of electronic prescriptions in Sweden before and after the introduction of NEF was undertaken in April 2008 (pre-NEF) and April 2009 (post-NEF). Interoperability problems were identified and classified based on message format specifications and prescription rules.
Results: The introduction of NEF improved the interoperability of ePrescriptions substantially. In the pre-NEF sample, a total of 98.6% of the prescriptions had errors. In the post-NEF sample, only 0.9% of the prescriptions had errors. The mean number of errors was fewer for the erroneous prescriptions: 4.8 in pre-NEF compared to 1.0 in post-NEF.
Conclusions: We conclude that a systematic comprehensive work on interoperability, covering technical, semantical, professional, judicial and process aspects, involving the stakeholders, resulted in an improved interoperability of ePrescriptions.

(Interact J Med Res 2012;1(2):e17)


eHealth, Electronic prescribing, Electronic prescription, Information quality, Interoperability


The increased use of eServices in health care in general, and ePrescribing (electronic prescribing) in particular, has placed a focus on quality [1] and interoperability [2]. In Sweden, ePrescribing has increased notably during the 2000s. In 2011, ePrescriptions constituted more than 90% of all filled prescriptions [3].


ePrescribing is a co-operation between prescriber, patient, and pharmacist for the purpose of medical treatment of the patient. A prescription is a regulated, social act, authorizing a pharmacist to dispense a medical drug to a patient [4]. ePrescribing has been analyzed using a Generic Regulation Model (GRM) (Figure 1) [4,5].

The interaction between the patient and the prescriber results in a prescription having multiple functions, such as an authorization to a pharmacy to dispense a medical drug according to certain rules, a directive to the patient for medical treatment, and a commitment on behalf of the health care organization (a reimbursement commitment specific to Sweden) to the patient that the patient will receive reimbursement for the prescribed medical drug. The prescription also provides a basis for further information processing by authorities and researchers.

[view this figure]
Figure 1. The Generic Regulation Model applied to ePrescribing [4].

Stakeholders in ePrescribing

The ePrescribing process involves a large number of stakeholders having interest in, being influenced by, and who influence the ePrescribing process and the content of the ePrescription (Figure 2). The multiple functions inherent in the prescription and the different stakeholders involved make the communication regarding ePrescriptions complex. As an illustration, the Medical Products Agency approves the medical drugs to be sold on the Swedish market, determines which drugs are to be considered generic exchangeable drugs, and acts as the statutory authority for prescription regulations; whereas, the Dental and Pharmaceutical Benefits Agency decides which medical drugs are to be reimbursed and determines procurement and sales prices. Furthermore, the National Board of Health and Welfare regulates the health care sector and provides information about prescribers and their prescription rights, as well as granting practitioner licenses to prescribers and pharmacists. Basic information about the medical drugs to be prescribed is provided by the Medical Product Agency and by the manufacturers and importers of medical drugs. This information is communicated both to the prescriber organizations and their Electronic Health Record (EHR) systems, and to the pharmacies and their dispensing systems via a state-owned infrastructure service provider. This service provider also provides e-services for ePrescriptions, dispensing, reimbursement of prescriptions, and statistics.

[view this figure]
Figure 2. Stakeholders in ePrescribing.

ePrescribing as Communication

Information Systems Actability Theory [6] considers an Information System (IS) to be an instrument for technology-mediated work communication. In addition to the technical aspects, user interaction, communication between users applying IS as an instrument of communication, and the overall influence of information and actions involved in the process, impact the ePrescribing process. The ability to interoperate in ePrescribing is closely related to interaction, communication, and process quality (Figure 3).

A sender interacts with an IS to communicate something to a receiver, which in turn interacts with an IS to read and interpret a message. Interaction quality criteria can be defined for this activity, ie, what the users are doing with the system. In this process, there is also communication between the sender and the receiver about what the users are doing through the system. Communication quality criteria referr to the formulation and communication of messages by a sender, as well as the reading and interpreting of messages by a receiver. Process quality is concerned with what the users do outside the system, ie, the effects of IS usage on work practice.

Interaction quality criteria for a prescriber might imply that the vocabulary of the system is intelligible and in line with terminology of the profession or regulated practice—that it is obvious what the user can do in the system and that consequences of different actions are transparent. For a prescriber, this could imply that the consequences approving or cancelling a prescription are clear and that navigation between the various parts of the system is easy.

For a pharmacist, communication quality criteria might refer to relevant prescription information being easily available for dispensing, that the information is accurate, that it is obvious who the sender is, and that the intention of the prescriber is unambiguous.

In general, process quality criteria refer to the requirement that the information from the system is useful on behalf of its users; ie, that the information has a meaningful use. In the process of ePrescribing, eg, the system should support process objectives, such as patient safety, correct reimbursement processes, clear instructions for the patients, but should also support the objectives of other stakeholders, such as achieving correct statistics for researchers and authorities.

The quality of the communication between prescriber and pharmacist is dependent on many factors, among them the quality of the communicated message. The quality of the communicated message is dependent on the quality of formulating an ePrescription (part of communication quality) and by interaction quality of the EHR system. Finally, how the communicated message is presented and made available to the pharmacists in their dispensing systems affects the overall communication quality. Here, we elucidate the communication of ePrescription messages between the EHR systems prescription modules, the ePrescription service system, and the quality of this message (box marked IS) with regard to the requirements that have been established for this communication (Figure 4). In this study interaction, quality and communication quality aspects in EHR and dispensing systems are not considered, although they affect the quality of the communicated message.

[view this figure]
Figure 3. Different layers of quality according to the Information Systems Actability Theory [6].

[view this figure]
Figure 4. Overview of IS and stakeholders involved in ePrescribing communication.

Communication Quality in ePrescribing

The quality of the ePrescription message is one part of communication quality in the ePrescribing process between the prescriber and the pharmacist. The stakeholder’s involvement in providing infrastructure information influences the communication quality, such as the information about the population, medical drugs, prices, reimbursement rules, prescribers, and pharmacist rights. This information is provided through various information services, which can be grouped into infrastructure information services, and ePrescription and dispensing services. These services are provided to the prescriber and pharmacy systems and have an important influence on the communication quality. The interaction quality of the EHR and dispensing systems are important to consider in assessing communication quality [7].

Interoperability in ePrescribing

The various definitions of interoperability involve different perspectives on interoperation. Some definitions focus on the ability of systems to interoperate [8], and others focus on the ability of people to interoperate (individual, organizational level) by using systems to achieve a certain goal [9,10].

We regard interoperability as the capability of the entire process, involving people, systems, procedures, and organizations, to interoperate using IS in order to achieve its objectives. Here, we focus on one vital aspect of the interoperation in the ePrescribing process: the communication of the ePrescription message. To understand the complexity of the ePrescription message, it is necessary to analyze it as one component of communication in the ePrescribing process involving many stakeholders and IS. Thus, the content of the ePrescription message is dependent on stakeholder involvement both in the infrastructure services and in the actual formulation and interpretation of the prescription message by prescriber, pharmacist, and systems involved.

European Interoperability Framework (EIF) [10] defines four levels of interoperability: legal, organizational, semantic, and technical interoperability (Table 1).

[view this table]
Table 1. Levels of interoperability.

All these levels of interoperability influence the actual implementation of the ePrescription message and service, which is the central point where the interoperation is achieved. To achieve interoperability, significant emphasis in eHealth has been put on the application of standards and common terminology, such as ISO 13606 [11], HL7 [12], and Snomed CT [13]. Although these standards are important building blocks in achieving interoperability, less attention has been put on other factors for improving interoperability, such as measuring interoperability and stakeholder involvement in order to address other aspects of interoperability, which is particularly relevant for interorganizational interoperability.

The Implementation of a New National ePrescription Format in Sweden

The introduction in 2009 of a new National ePrescription Format (NEF) in Sweden was the result of an effort to improve interoperability in ePrescribing. Consequently, this provided a unique opportunity to study NEF’s effect in terms of changes on the interoperability in ePrescribing.

The implementation of ePrescription messages sent from health care organizations to pharmacies in Sweden has evolved during three decades. Varying communication standards with different message specifications (based on the UN standard MEDPRE [15] and the pre-standard ENV 13607 [7]) have been introduced and applied. The infrastructure has constantly evolved, from point-to point message communication of prescriptions by local health care organizations to local pharmacies, towards centralized communication on both sides. ePrescription have evolved from a mere electronic transfer of a message to management of the prescription during its entire life cycle with repeated refills. A growing number of health care regions have been involved and the number of prescription systems has increased. In 2009, there were 16 EHR-systems with ePrescription modules and one web-based prescription system sending ePrescriptions from 21 health care regions in Sweden.

Interoperability problems in ePrescribing were observed in an increasing number of issues by the support team at the Apoteket AB (National Corporation of Swedish Pharmacies—the state-owned pharmacy chain, which, at that time, was a monopoly). With the increased volume of ePrescriptions forecasted in 2006, from 30% to 80% (of new prescriptions) during the subsequent years, the handling cost of poor quality was expected to increase considerably. There was no automated control of incoming prescriptions other than a failure to store the ePrescription in the database. The system did not report any information about the possible cause of errors. Testing and approval of EHR systems to send ePrescriptions were rudimentary, and the process and organizational aspects of this were unclear, as was the process for maintenance and development of the ePrescribing process. Focus was on managing the technical communication, while the process of how to handle errors in content was pushed to the pharmacist at the end of the process.

To meet these challenges, a joint project between Apoteket AB and the regional health care providers was initiated in 2006 with the purpose to improve patient safety and to decrease the cost of deficient quality in ePrescribing. The project subsequently implemented the new NEF-format [14] in Sweden, together with a stricter test procedure than previously. Also, the automatic control of format and prescription rules was introduced. From May 31, 2009, all ePrescriptions in Sweden were issued in the NEF-format.


The objective of the present study was to analyze the manner in which the combined efforts in improving interoperability with the introduction of NEF affected interoperability in the ePrescribing process in Sweden, with a focus on the quality of the ePrescription message.


The present study was an intervention study. The intervention consisted of the combined efforts in implementation of NEF. We measured interoperability problems prior to and after the intervention: pre-NEF and post-NEF.

In the pre-NEF study period, interoperability errors in pre-NEF prescriptions were validated against the format specification and prescriptions rules valid for the pre-NEF study period. In the post-NEF study period, interoperability errors in post-NEF prescriptions were measured against the format specification and prescription rules valid for the post-NEF study period. The prescription rules did not change between the study periods.

In the two study periods, we compared changes in adherence to the agreed format specification and prescription rules based on legislation and agreed praxis. Consequently, the focus was on communication quality between health care and pharmacy using ePrescription as an instrument of communication for the medical treatment of a patient. Also, the assessment of communication quality was limited to the formal and documented requirements on the ePrescription message.

The hypothesis was that adherence to the agreed format specification and prescription rules should be improved with the introduction of NEF, resulting in fewer interoperability errors in the post-NEF period.

Information System Actability theory and theories about interoperability were used to analyze the ePrescribing process, the implementation of NEF, and its results.


Consecutive sampling was applied on all incoming ePrescriptions during two periods: April 3, 2008, to May 3, 2008 (pre-NEF), and April 3, 2009, to May 3, 2009 (post-NEF). To be able to demonstrate a significant change of 1% between the two study periods, the required sample size was estimated to be approximately 1,450,000. The calculation was made by using a sample size calculator developed by Rollin F. Brant [15].

Consecutive sampling of all ePrescriptions during the two study periods was considered to be the best choice for handling historic changes in the drug database, including all ePrescriptions during the study periods. Electronic Data Interchange For Administration, Commerce and Transport (EDIFACT) prescriptions were present only in the pre-NEF period and were, therefore, excluded from the study.

During the two study periods, all of the prescribing systems used in Sweden were expected to be represented with a fair amount of ePrescriptions. During one month of sampling, ePrescriptions from the majority of the prescribers would be represented, except those making only a few prescriptions per year.

Definition of the ePrescribing Process

In this study, ePrescribing was regarded as a process that starts with a communication between prescriber and patient and that is related to medical treatment. The process also includes communication between patient and pharmacy, followed by the completion phase with the aim to evaluate the result of the medical treatment. The ePrescribing process is described and further developed in [4] as two interconnecting loops of generic phases following the Generic Exchange Model (GEM) [5]: initiation, agreement, fulfillment, and completion (Figure 5). Thus, ePrescribing is a complete process for medical treatment using ePrescriptions as an instrument for communication to achieve the process objectives.

In this study, we analyzed the interoperability problems in the ePrescription communication in ePrescribing. We did not study other interoperability problems in ePrescribing connected with or related to actions and consequences in the stakeholder processes influencing the medical treatment of the patient.

A prescription set contains a number of prescriptions for a patient by a prescriber at a certain point in time. A prescription set is equal to a prescription message. A prescription refers to the prescription of a medical drug.

Intervention: Combined Efforts for Implementation of NEF

The intervention refers to all of the combined efforts associated with the implementation of NEF (Table 2).

[view this figure]
Figure 5. ePrescribing process seen as a process of initiation, agreement, fulfillment, and completion in two exchange situations: Prescriber – Patient and Pharmacy – Patient/Customer.

[view this table]
Table 2. Summary of actions taken with the introduction of NEF.

During the intervention, stakeholders from the health care providers, pharmacies, and software vendors were involved. The stakeholders participated in the work to achieve a more rigorous and developed message specification, an improved testing and approval process, the implementation of automatic control of incoming prescriptions messages, and to secure a more developed feedback mechanism, using a new extended acknowledge receipt message with status and error codes.

There were common national and regional meetings, including a referral and revision procedure of the NEF documentation. The new format specification was clarified with supplementary documentation regarding the interpretation of the specification.

Regarding the scope of the testing of the EHR-systems, it was decided to focus on the communicated message and that the tests included quality controls in the EHR-systems of prescriptions before being approved and sent. The implementation plans of the regional health care centers, Apoteket AB, and EHR vendors, were coordinated.

An important question was how to manage the different errors identified in the new process by the various stakeholders. Three different overall validation status of the ePrescription were defined: Accepted, Rejected, and Accepted with warning.

Another question that was addressed was the manner in which the health care regions should handle and communicate the rejection of a prescription. A third question pertained to the appropriate and legal actions to be taken by the pharmacist in handling ePrescriptions with errors that are accepted with warning. The messages linked to each error status code were also discussed extensively and were revised to be sufficiently comprehensive so as to be directly communicated to the prescriber.

One major challenge was to manage all the 16 EHR-systems to be changed, tested, and approved for the new format. Apoteket AB and the health care regions made a common effort to put pressure on the software vendors and on the health care regions to provide implementation plans to be able to implement NEF in time.

One difficult issue was deciding which organization should be responsible for administration and coordinating the development of the ePrescribing process. The test and approval process of the EHR systems were clarified, with the right to appeal for software vendors to the project organization if they were not satisfied with a decision. Both these tasks were at the end taken by a state-owned infrastructure company.

Overall, the intervention can be regarded as an effort to improve interoperability on four levels: legal, organizational, semantic, and technical (Table 1).

Analysis of Interoperability Problems in ePrescription Communication

The analysis of the ePrescription messages was made applying a specifically developed software that analyzed all collected ePrescriptions sent to Apoteket AB in Sweden during the two study periods. In brief, a test procedure was set up in the two study periods accessing all sampled ePrescriptions in the former XML-format (pre-NEF) and in the new NEF XML-format (post-NEF) respectively [2]. The collected electronic prescriptions were validated on the basis of an XML-schema that agreed with the previous format specification (pre-NEF) and according to the new NEF (for the post-NEF prescriptions) and then against the prescriptions rules implemented in the software.

The prescription rules implemented in the software were derived either from legislation or agreed praxis between the parties of the exchange. The prescription rules were validated by pharmacists and legal experts. The legal prescription rules did not change with the introduction of NEF. With NEF, prescription rules were formalized in a way suitable for implementation of controls of ePrescriptions. A control of the availability of the drugs on the Swedish market at the time of prescribing was undertaken using a historical drug database built for the selected test periods of approved and marketed drugs in Sweden.

No information about patients or prescribers, or any information that could be traced back to an individual was collected from the prescriptions. No controls were made of the medical content or adequacy of the prescription.

Classification of Errors

Two major classes of errors were identified: format errors and prescription rule errors. Format errors consist basically of valid terms and structure, data type errors, enumeration code errors, and structural errors (sequence, mandatory information, and cardinality). Format errors correspond to semantic interoperability errors (valid terms, codes, structures), where syntactic interoperability errors are the major part. The format errors were more precisely defined as a deviation from the XML-schema reflecting the different format specifications. For the post-NEF sample, the published XML-schema from the NEF-project was applied. For the pre-NEF sample, an XML-schema was constructed on the same basis and principles as the NEF-schema, but this schema adhered to the pre-NEF format specification. Format errors captured in the study are summarized in Table 3.

[view this table]
Table 3. Summary of format errors captured in ePrescriptions.

Prescription rule errors were defined as legislative rules for a correct and complete prescription and also rules for agreed praxis for handling reimbursement rules, rules for communicating to the pharmacy in special cases of identification of the patient, correct references to drug identity, and valid packages for prescribed drug. Prescription rule errors correspond to legal, organizational (process), and semantic interoperability errors.

In all, 24 prescription rules were implemented and used in the validation. Prescription rule errors captured in the study are summarized in Table 4. Certain prescription rules are aggregated into one rule or collection of rules for improved readability. See Appendix 1 for a description of prescription rules used and actions taken when errors occur.

[view this table]
Table 4. Summary of prescription rule errors captured in ePrescriptions.


Descriptive statistics were generated from databases using SQL-queries. Pearson chi-square, uncorrected for continuity, was calculated to test that no change in interoperability errors occurred. A high number of Pearson chi-square would indicate a significant improvement in interoperability in the post-NEF sample. P<.05 was regarded to be significant.


Sampled Prescriptions

The pre-NEF sample comprised 1,270,399 prescription sets. The number of prescriptions (prescribed drugs) was 1,910,982. The mean number of prescribed drugs in each prescription set was 1.50. The post-NEF sample comprised 1,479,588 prescription sets. The number of prescriptions (prescribed drugs) was 2,204,444. The mean number of prescribed drugs in each prescription set was 1.49 (Table 5).

[view this table]
Table 5. Sampled prescriptions—pre-NEF and post-NEF.

Dispensing Fills and Refills

According to Swedish prescription rules, the prescriber may assign, for each prescribed drug, the number of dispensing fills and refills allowed during one year. The most common case was one single fill; the second most common included four fills/refills indicating that this represents the usual treatment for one year.

Prescribed Reimbursement

The majority (95% pre-NEF and 92% post-NEF) of the prescriptions were asserted by the prescriber to be valid for reimbursement (Table 6).

[view this table]
Table 6. Number of prescriptions with prescribed reimbursement and mean prescribed reimbursement per prescription in pre-NEF and post-NEF samples.

Errors per Prescription and Prescription Set

The following is a summary of the errors per prescription and prescription set (Tables 7 and 8):

  • The total number of errors found in pre-NEF prescriptions was 5,970,737. The number of pre-NEF prescription sets that had at least one error was 1,253,134. The percentage of pre-NEF prescription sets with at least one error was 98.6% (1,253,134/1,270,399).
  • The mean of pre-NEF prescription errors was 3.1 (5,970,737/1,910,982).
  • The mean of pre-NEF prescription set errors was 4.7 (5,970,737/1,270,399).
  • The mean number of errors for pre-NEF prescription sets with errors was 4.8 (5,970,737/1,253,134). No errors were found in 17,205 (1,270,339−1,253,134) pre-NEF prescription sets.
  • The total number of errors found in post-NEF prescriptions was 13,735. The number of post-NEF prescription sets that had at least one error was 13,735.
  • The percentage of post-NEF prescription sets with at least one error was 0.9% (13,735/1,479,588).
  • The mean number of errors for post-NEF prescription sets with errors was 1.0 (13,735/13,735). No errors were found in 1,465,853 (1,479,588−13,735) post-NEF prescriptions sets. No post-NEF prescription sets that had more one error.
  • The mean of post-NEF prescription errors was 0.006 (13,735/2,204,444).
  • The mean of post-NEF prescription set errors was 0.009 (13,735/1,479,588).

[view this table]
Table 7. Summary of pre-NEF and post-NEF prescription and prescription set errors.

[view this table]
Table 8. Number of errors and mean error per prescription set.

Format errors in the pre-NEF prescriptions were the most common errors (5,824,675). Prescription rule errors in the pre-NEF sample were also common in absolute terms with 146,062 prescriptions rule errors but relatively few compared to format errors. Format errors in the post-NEF prescriptions were much less frequent compared to pre-NEF prescriptions with only 1273 errors. Format errors were relatively fewer in post-NEF compared to the pre-NEF sample. Prescription rule errors had decreased considerably to 12,462 errors in the post-NEF sample, although they had not decreased in the same proportion as format errors. Prescription rule errors have in the post-NEF sample become the most common error. To test the null-hypothesis, a chi-square test was made on the two samples (Table 9). The Pearson chi-square, uncorrected for continuity, was 2,626,673.01, P < .0001.

Format Errors

The distribution of format errors in the two samples were compared (Table 10). To test the null-hypothesis, a chi-square test was made on the two samples (Table 11). The Pearson chi-square, uncorrected for continuity, was 2,673,508.8. P < .0001

Prescription Rule Errors

The distribution of prescriptions rule errors were compared (Table 12). The largest improvement in the post-NEF sample was a decrease of Incorrect account number for patient fee, from 125,471 to 138. The second largest prescriptions rule error in the pre-NEF sample was decreased from 10,829 to 0 in the post-NEF sample. Errors that increased in the post-NEF sample were Invalid reimbursement status for prescribed drug, Invalid drug identity, Invalid multiple choice, Missing direction for patients use, and Local pharmacy destination required. To test the null-hypothesis, a chi-square test was made on the two samples (Table 13). The Pearson chi-square, uncorrected for continuity, was 141,147.86, P <.0001.

[view this table]
Table 9. Chi-square test of null-hypothesis with no significant improvement in interoperability errors.

[view this table]
Table 10. Number of format errors (XML-Schema validation errors) in pre-NEF and post- NEF prescriptions grouped by type of error.

[view this table]
Table 11. Chi-square test of null-hypothesis with no significant improvement in interoperability.

[view this table]
Table 12. Number of prescription rule errors grouped by type and the pre-NEF and the post-NEF sample.

[view this table]
Table 13. Chi-square test of null-hypothesis with no significant improvement in prescription rule error.

Distribution of Errors per Prescribing System

With the introduction of NEF, the tracking of each message from the prescribing system creating the prescription was made possible, which was not possible with the pre-NEF sample (Figure 6). Consequently, we do not have any comparisons between the study periods. Only data from the post-NEF study are presented here. With the introduction of NEF, it was possible to measure each system’s interoperability errors (Figure 7).

Duplicate Prescriptions

With the introduction of NEF, a unique identification (UUID) was introduced for each prescription, allowing rejection of the so-called technical duplicates. A technical duplicate can occur when, for example, prescriptions are being re-sent in the case of communication failures or delays. In the post-NEF, this made it possible to measure the mean number of duplicated prescriptions from different prescribing systems (Figure 8).

[view this figure]
Figure 6. Number of ePrescription messages sent per prescribing system.

[view this figure]
Figure 7. Mean prescription set errors (post-NEF) per Prescribing system.

[view this figure]
Figure 8. Technical duplicates of post-NEF prescription sets per prescribing system.


Principal Results

The implementation of NEF substantially improved the interoperability in ePrescriptions. We have studied interoperability on four levels: legal, organizational, semantic and technical interoperability.

On the level of legal interoperability, the implementation of NEF decreased the number of ePrescriptions that were not in alignment with the legislation on prescriptions. The majority of the prescription rules errors captured concerned legal rules.

Organizational interoperability was also improved with NEF. Apart from implementing new processes such as testing and approval processes with clarification of organizational responsibilities, the process of handling certain errors was also defined, which was made possible with feedback in the acknowledge receipt. With NEF it was clarified which type of error should lead to a rejection and thus should be the responsibility of the prescriber organization to handle, and other types of errors that could be handled by the pharmacies and therefore could be accepted with a warning message. One example is the prescription rule error, missing workplace code, which was accepted with warning because it was agreed that this error, which relates to reimbursement, should not stop the dispensing of a prescription. It can be corrected by the pharmacist after contact with the prescriber. NEF changed the responsibilities in the process of error handling at both the prescriber and pharmacy organizations. Moreover, NEF made it possible to identify the EHR system sending a prescription allowing for a more systematic follow-up of errors to improve the ePrescribing process.

Semantic interoperability improved most, where the improvement in syntactic interoperability, which is part of semantic interoperability, was the most striking. A common and clearer definition of terms used in the message explains the improvement in the semantic interoperability. The improvement in the amount of errors like incorrect code enumeration, incomplete structure, and element not defined in the specification, have greatly benefited from a clearer format specification formalized in an improved XML-schema. Other examples of improvement in prescription rule errors are incorrect account number for the patient fee, incomplete prescriber information, invalid prescriber code, and missing workplace code. The first three errors resulted in a rejection of the prescription, the last one in an acceptance with warning. The improvement might be explained by a greater effort by EHR-vendors and by the health care regions to provide prescriptions with more complete information in order to avoid a rejection of prescriptions. In the pre-NEF situation, corrections of this kind of information were done by personnel at the pharmacies.

Another aspect of semantic interoperability is the reference to objects that are defined in the infrastructure information, such as a drug register with identities of prescribed medical drugs enabling access to attributes necessary for prescribing and reimbursement, but also workplace, pharmacy, and prescriber register. Thus, semantic interoperability depends also on information sources external to the prescription and the EHR and dispensing system. Some prescription rule errors related to infrastructure information increased in proportion in the NEF-sample such as invalid drug identity. This could be explained by more frequent changes during the sample period regarding new and withdrawn drugs in combination with low frequency of updating the drug register in the EHR system. Thus, managing infrastructure information is critical in achieving and maintaining interoperability.

The technical interoperability improved too, with phasing out EDIFACT and providing a XML-schema to improve the format controls both early in the ePrescribing process, creating the prescription and later when receiving the ePrescription to the pharmacy system. The implementation of format and prescription rule controls in the ePrescribing process, particularly at the receiving end, helped to improve the interoperability of the EHR systems. Furthermore, the control and feedback process that was implemented with NEF required a faster response from the receiving process and thus made it more beneficial to use a synchronous mode of communication, like Web services. In the pre-NEF asynchronous communication, long response time was not a problem as there was no feedback. However, with NEF, new challenges arise to provide a faster response to the prescriber, which will involve not only the ePrescription services but also the technical infrastructure in health care.

The new feature with unique identifiers made it possible to measure the number of technical duplicate prescriptions for the first time. During the sample period, the rejection of duplicates had not yet been implemented. Technical duplicates are a medical risk, which could lead to drug overdose. Improvements in technical interoperability have important effects on the overall interoperability, and vice versa, the overall requirements of semantic, organizational, and legal interoperability will influence the requirements for technical interoperability.


In this study, we have investigated the communication quality with regard to documented requirements on the ePrescription message before and after an intervention. The study of communication quality has addressed only that portion of communication quality concerned with the quality of the ePrescription message. Assessing the quality of EHR and pharmacy systems has not been within the scope of this study. Moreover, the effect of interoperability errors on the work practice, ie, its influence on the process quality, for example on medication errors, has not been studied. Other studies have addressed prescription errors from a pharmaceutical point of view [1,16-21].

Future Research

There is a need to develop practical theories and methods that can assist in creating a greater awareness and understanding to address the objective of improving the interoperation between and within different sectors and organizations using IS as an instrument for communication between different stakeholders. Without theories and methods, it is easy to fall prey to technical solutions with promise of easy ways of achieving interoperability, or that good initiatives are not implemented taking into consideration the need to involve stakeholders and grasp all levels of interoperability.

In order to improve interoperability in the overall ePrescribing process, it is necessary to analyze the different information flows and the stakeholders’ roles and influence on communication and process quality. Further studies are necessary to assess the interaction quality of both prescription modules in EHR systems and prescription handling in the dispensing systems.

To improve interoperability in the ePrescribing process, the entire architecture of IS and of the stakeholders’ roles in this process need to be analyzed to assess interoperability problems and to identify areas that are important to address.

To achieve a continuous improvement of interoperability, it is necessary to establish a continuous measurement of interoperability problems as a basis for improvements. How interoperability errors influence medical errors is an important topic to study in the future.


The introduction of NEF has considerably improved interoperability in electronic prescriptions in Sweden. This study showed that systematic and comprehensive work on interoperability, covering technical, semantic, professional, judicial, and process aspects, may lead to an important improvement in interoperability.


This study was funded by Logica Sweden AB, Apoteket AB, and the eHealth Institute at the Linnaeus University, Kalmar, Sweden.

Conflicts of Interest

None declared.

Multimedia Appendix 1

Prescription rules and error handling.

[JPG File, 124KB]


  1. Åstrand B, Montelius E, Petersson G, Ekedahl A. Assessment of ePrescription quality: an observational study at three mail-order pharmacies. BMC Med Inform Decis Mak 2009;9:8 [FREE Full text] [CrossRef] [Medline]
  2. Öhlund SE, Åstrand B, Petersson G. Interoperability in action - the case of electronic prescribing. In: Proceedings of the 15th International Symposium of Health Information Management Research - ISHIMR 2011, 8-9 September 2011, Zurich, Switzerland. Zurich, Switzerland; 2011 Presented at: Symposium of Health Information Management; 2011; Zurich, Switzerland.
  3. Bridell G, Nordling M. Elektronisk recepthantering. In: Läkemedelsboken. Uppsala: Läkemedelsverket; 2011.
  4. Öhlund SE, Goldkuhl G. Towards a socio-pragmatic understanding of ePrescribing. In: Proceedings of the 5th Intl Conference on Action in Language, Organisations and Information Systems (ALOIS-2008). 2008 Presented at: 5th Intl Conference on Action in Language, Organisations and Information Systems (ALOIS-2008); 2008; Venice   URL: [WebCite Cache]
  5. Goldkuhl G. Generic regulation model: the evolution of a practical theory for e-government. Transforming Government: People, Process and Policy 2011;5(3):249-267. [CrossRef]
  6. Goldkuhl G. Actability Criteria for Design and Evaluation: Pragmatic Qualities of Information Systems. International Journal of Information Systems and Social Change 2011;2(3):1-15. [CrossRef]
  7. Hellström L, Waern K, Montelius E, Åstrand B, Rydberg T, Petersson G. Physicians' attitudes towards ePrescribing--evaluation of a Swedish full-scale implementation. BMC Med Inform Decis Mak 2009;9:37 [FREE Full text] [CrossRef] [Medline]
  8. IEEE. IEEE Standard Computer Dictionary. In: A Compilation of IEEE Standard Computer Glossaries. New York: IEEE; 1990.
  9. Department of Defense. Department of Defense Directive, number 4630. 2004. Interoperability and Supportability of Information Technology (IT) and National Security Systems (NSS)   URL: [accessed 2010-01-14] [WebCite Cache]
  10. European Commission. European Interoperability Framework (EIF) for European public services - Annex 2 to the Communication from the Commission to the European Parliment, the Council, the European Economic and Social Committee and the Committee of Regions 'Towards interoperability for European public services'. Bruxelles 2010.
  11. International Organization for Standardization. ISO 13606 Health informatics - Electronic health record communication. ISO 2008.
  12. Health Level Seven - HL7.   URL: [accessed 2010-01-14] [WebCite Cache]
  13. The International Health Terminology Standards Development Organization. SNOMED CT   URL: [accessed 2010-01-14] [WebCite Cache]
  14. Apotekens Service AB. Nationellt E-receptformat (in Swedish). 2007. NEF   URL: [accessed 2010-01-14] [WebCite Cache]
  15. Brant R. Rollin Brant's Home Page. Canada: Department of Community Health Sciences, University of Calgary; 2008.   URL: [accessed 2010-01-07] [WebCite Cache]
  16. Åstrand B, Hovstadius B, Antonov K, Petersson G. The Swedish National Pharmacy Register. Stud Health Technol Inform 2007;129(Pt 1):345-349. [Medline]
  17. Ekedahl A. Problem prescriptions in Sweden necessitating contact with the prescriber before dispensing. Res Social Adm Pharm 2010 Sep;6(3):174-184. [CrossRef] [Medline]
  18. Devine EB, Hansen RN, Wilson-Norton JL, Lawless NM, Fisk AW, Blough DK, et al. The impact of computerized provider order entry on medication errors in a multispecialty group practice. J Am Med Inform Assoc 2010;17(1):78-84 [FREE Full text] [CrossRef] [Medline]
  19. Ammenwerth E, Schnell-Inderst P, Machan C, Siebert U. The effect of electronic prescribing on medication errors and adverse drug events: a systematic review. J Am Med Inform Assoc 2008;15(5):585-600 [FREE Full text] [CrossRef] [Medline]
  20. Schedlbauer A, Prasad V, Mulvaney C, Phansalkar S, Stanton W, Bates DW, et al. What evidence supports the use of computerized alerts and prompts to improve clinicians' prescribing behavior? J Am Med Inform Assoc 2009;16(4):531-538 [FREE Full text] [CrossRef] [Medline]
  21. Spina JR, Glassman PA, Simon B, Lanto A, Lee M, Cunningham F, et al. Potential safety gaps in order entry and automated drug alerts: a nationwide survey of VA physician self-reported practices with computerized order entry. Med Care 2011 Oct;49(10):904-910. [CrossRef] [Medline]

Edited by K El Emam; submitted 21.02.12; peer-reviewed by K Keshavjee, F Lau, T Eguale; comments to author 18.04.12; revised version received 08.05.12; accepted 06.10.12; published 22.11.12

Please cite as:
Öhlund SE, Åstrand B, Petersson G
Improving Interoperability in ePrescribing
Interact J Med Res 2012;1(2):e17
doi: 10.2196/ijmr.2089
PMID: 23612314

Export Metadata:
END, compatible with Endnote
BibTeX, compatible with BibDesk, LaTeX
RIS, compatible with RefMan, Procite, Endnote, RefWorks

Add this article to your Mendeley library
Add this article to your CiteULike library


©Sten-Erik Öhlund, Bengt Åstrand, Göran Petersson. Originally published in the Interactive Journal of Medical Research (, 22.11.2012.

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