The thesis aimed to study the developments, in the area of pharmacoinformatics, of the electronic prescribing and dispensing processes of drugs - in medical praxis, follow-up, and research. For hundreds of years, the written prescription has been the method of choice for physicians to communicate decisions on drug therapy and for pharmacists to dispense medication. Successively the prescription has also become a source of information for the patient about how to use the medication to maximize its benefit. Currently, the medical prescription is at a transitional stage between paper and web, and to adapt a traditional process to the new electronic era offers both opportunities and challenges The studies in the thesis have shown that the exposure of prescribed drugs in the general population has increased considerably over three decades. The risk of receiving potentially interacting drugs was also strongly correlated to the concomitant use of multiple drugs, polypharmacy. The pronounced increase in polypharmacy over time constitutes a growing reason for prescribers and pharmacists to be aware of drug interactions. Still, there were relatively few severe potential drug interactions. Recently established national prescription registers should be evaluated for drug interaction vigilance, both clinically and epidemiologically. The Swedish National Pharmacy Register provides prescription dispensing information for the majority of the population. The medication history in the register may be accessed online to improve drug utilization, by registered individuals, prescribers, and pharmacists in a safe and secure way. Lack of widespread secure digital signatures in healthcare may delay general availability. With a relatively high prevalence of dispensed drugs in the population, the National Pharmacy Register seems justified in evaluating individual medication history. With a majority of prescriptions transferred as ePrescriptions, the detected increased risk for prescription errors warrants quality improvement, if the full potential of ePrescriptions is to be fulfilled. The main conclusion of the studies was that ePrescribing with communication of prescribed drug information, storing and retrieving dispensed drug information, offers new opportunities for clinical and scientific