Computer Applications in Pharmacy Syllabus
Computer Applications in Pharmacy Syllabus
Scope: This subject deals with the introduction Database, Database Management system,
computer application in clinical studies and use of databases.
Objectives: Upon completion of the course the student shall be able to
1. know the various types of application of computers in pharmacy
2. know the various types of databases
3. know the various applications of databases in pharmacy
UNIT – IV 06 hours
Bioinformatics: Introduction, Objective of Bioinformatics, Bioinformatics
Databases, Concept of Bioinformatics, Impact of Bioinformatics in Vaccine
Discovery
UNIT-V 06 hours
Computers as data analysis in Preclinical development: Chromatographic dada
analysis(CDS), Laboratory Information management System (LIMS) and Text
Information Management System(TIMS)
INFORMATION GATHERING
The principal objective of an information system is to provide informational aid to every person
in the organization and hence making him more effective in his working. It is therefore necessary
to monitor the existing information system, identify its deficiencies and updating it to improve
the organizational performance.
These task are taken care by system analysts who first collects the information from the system
users through direct dialogue or through written communication.
The direct dialogue is often referred to as an interview for a written inquiry; the inquirer prepares
a detailed questionnaire and sends it to the information provider, who provides specific replies to
the questions.
These two information search methods interview and questionnaire are used in the following
ways:
1. Interview
It is the most effective method for collection of information for assessing the functioning of
existing system. Both, the system analyst and the system users, must be fully prepared, and have
enough of free time. System analyst must write down the responses of users during the process
of interview.
All the persons within the system boundaries must be interviewed in an order from top to bottom
from the first system activity toward the last activity. The analyst must enlist all the persons in
the above order and the interviews must be conducted strictly in that order only so that
information integration can be done for system modeling.
B. Interview Methods
The interview of different people has to be conducted differently depending upon their levels and
the information content. Before conducting the interview, the analyst must ensure the status and
role of the person in the information system. Accordingly, an ordered list of questions must be
framed for the interview. Each interview must start with simple and convenient questions to
encourage the interviewee.
Questions put during an interview are of two type- closed type-yes/no, suggestive of a reply, and
open type. The sequencing of the question can be-
2. Questionnaire
This method has the advantages of extracting point-to-point information. It saves times of both,
the SA and the system users, as both can work according to their own conveniences.
The questioner technique has the limitation of rigidity and the questions are also prone to
different interpretations by different peoples and hence, extract ambiguous and some time
misleading information.
Information collection from the users is a tedious and boring task, the common problems in the
information received from various sources are-
5. The System Analyst may not be reaching the real source of information
All HTML documents consist of nested HTML elements, below given example contains
four HTML elements:
Browsers do not display the HTML tags, but use them to render the content of the page
HTML Documents
All HTML documents must start with a document type declaration: <!DOCTYPE html>.
The HTML document itself begins with <html> and ends with </html>.
The visible part of the HTML document is between <body> and </body>.
Example
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
HTML Tags
Web Browsers
The purpose of a web browser (Chrome, IE, Firefox, Safari) is to read HTML documents and
display them.
The browser does not display the HTML tags, but uses them to determine how to display the
document:
There are four steps below to create your first web page with Notepad:
Save the file on your computer. Select File > Save as in the Notepad menu.
Name the file "index.htm" and set the encoding to UTF-8 (which is the preferred encoding for
HTML files).
Step 4: View the HTML Page in Your Browser
Open the saved HTML file in your favorite browser (double clicks on the file, or right-click - and
choose "Open with").
HTML Paragraphs
Example
<p>This is a paragraph.</p>
HTML Links
Example
<!DOCTYPE html>
<html>
<body>
</body>
</html>
HTML Images
Example
<!DOCTYPE html>
<html>
<body>
<img src="w3schools.jpg" alt="W3Schools.com" width="104" height="142">
</body>
</html>
CSS stands for Cascading Style Sheets
CSS describes how HTML elements are to be displayed on screen, paper, or in other
media
CSS saves a lot of work. It can control the layout of multiple web pages all at once
External stylesheets are stored in CSS files
CSS is used to define styles for your web pages, including the design, layout and variations in
display for different devices and screen sizes.
HTML was NEVER intended to contain tags for formatting a web page!
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started
a nightmare for web developers. Development of large websites, where fonts and color
information were added to every single page, became a long and expensive process.
To solve this problem, the World Wide Web Consortium (W3C) created CSS.
With an external stylesheet file, you can change the look of an entire website by changing just
one file!
CSS Syntax:
Each declaration includes a CSS property name and a value, separated by a colon.
A CSS declaration always ends with a semicolon, and declaration blocks are surrounded by curly
braces.
In the following example all <p> elements will be center-aligned, with a red text color:
Example
<!DOCTYPE html>
<html>
<head>
<style>
p { color: red; text-align: center; }
</style>
</head>
<body>
<p>Hello World! </p>
<p> These paragraphs are styled with CSS. </p>
</body>
</html>
The id Selector
The id selector uses the id attribute of an HTML element to select a specific element.
The id of an element should be unique within a page, so the id selector is used to select one
unique element!
To select an element with a specific id, write a hash (#) character, followed by the id of the
element.
The style rule below will be applied to the HTML element with id="para1":
Example
<!DOCTYPE html>
<html>
<head>
<style>
#para1 { text-align: center; color: red; }
</style>
</head>
<body>
<p id="para1">Hello World!</p>
<p>This paragraph is not affected by the style.</p>
</body>
</html>
To select elements with a specific class, write a period (.) character, followed by the name of the
class.
In the example below, all HTML elements with class="center" will be red and center-aligned:
<!DOCTYPE html>
<html>
<head>
<style>
.center {text-align: center; color: red;}
</style>
</head>
<body>
<h1 class="center">Red and center-aligned heading</h1>
<p class="center">Red and center-aligned paragraph.</p>
</body>
</html>
Each page must include a reference to the external style sheet file inside the <link> element. The
<link> element goes inside the <head> section:
Example
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
An external style sheet can be written in any text editor. The file should not contain any html
tags. The style sheet file must be saved with a .css extension.
body {
background-color: lightblue;
}
h1 {
color: navy;
margin-left: 20px;
}
Note: Do not add a space between the property value and the unit (such as margin-left: 20 px;).
The correct way is: margin-left: 20px
Computer Applications in Pharmacy (Unit II)
What is XML?
<note>
<to>Alok</to>
<from>John</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
All the tags are defined by the author and not predefined like the HTML tags
The tags in the example above (like <to> and <from>) are not defined in any XML standard.
These tags are "invented" by the author of the XML document.
HTML works with predefined tags like <p>, <h1>, <table>, etc.
With XML, the author must define both the tags and the document structure.
The same XML data can be used in many different presentation scenarios.
Because of this, with XML, there is a full separation between data and presentation.
In many HTML applications, XML is used to store or transport data, while HTML is used to
format and display the same data.
XML Separates Data from HTML
When displaying data in HTML, you should not have to edit the HTML file when the data
changes.
With a few lines of JavaScript code, you can read an XML file and update the data content of
any HTML page.
Web Servers
A web server is a computer or more formally a software application that runs websites. It's a
computer program that distributes web pages as they are demanded.
The basic objective of the web server is to store, process and deliver web pages to the users. This
intercommunication is done using Hypertext Transfer Protocol (HTTP). These web pages are
mostly static content that includes HTML documents, images, style sheets, test etc.
Apart from HTTP, a web server also supports SMTP (Simple Mail transfer Protocol) and FTP
(File Transfer Protocol) protocol for emailing and for file transfer and storage.
When anyone requests for a website by adding the URL or web address on a web browser’s (like
Chrome or Firefox) address bar (like www.google.com ), the browser sends a request to the
Internet for viewing the corresponding web page for that address.
A Domain Name Server (DNS) converts this URL to an IP Address (For example
192.168.216.345), which in turn points to a Web Server.
The Web Server is requested to present the content website to the user’s browser. All websites
on the Internet have a unique identifier in terms of an IP address. This Internet Protocol address
is used to communicate between different servers across the Internet.
These days, Apache server is the most common web server available in the market. Apache is
open source software that handles almost 70 percent of all websites available today. Most of the
web-based applications use Apache as their default Web Server environment. Another web
server that is generally available is Internet Information Service (IIS). IIS is owned by
Microsoft.
A database most often contains one or more tables. Each table is identified by a name (e.g.
"Customers" or "Orders"). Tables contain records (rows) with data.
The following SQL statement selects all the records in the "Customers" table:
Example
SELECT * FROM Customers;
SELECT Syntax
SELECT column1, column2, ...
FROM table_name;
The following SQL statement selects the "Customer Name" and "City" columns from the
"Customers" table:
Example
SELECT * Example
The following SQL statement selects all the columns from the "Customers" table:
Example
SELECT * FROM Customers;
WHERE Syntax
SELECT column1, column2, ...
FROM table_name
WHERE condition;
The following SQL statement selects all the customers from the country "Mexico", in the
"Customers" table:
Example
SELECT * FROM Customers
WHERE Country='Mexico';
Pharmacy Drug Databases:
DrugBank
DrugBank is widely used by the drug industry, medicinal chemists, pharmacists, physicians,
students and the general public. Its extensive drug and drug-target data has enabled the discovery
and repurposing of a number of existing drugs to treat rare and newly identified illnesses.
The latest release of the database (version 5.0) contains 9591 drug entries including 2037 FDA-
approved small molecule drugs, 241 FDA-approved biotech (protein/peptide) drugs, 96
nutraceuticals and over 6000 experimental drugs. Additionally, 4270 non-redundant protein
(i.e. drug target/enzyme/transporter/carrier) sequences are linked to these drug entries.
Comparative Toxicogenomics Database (CTD)
CTD is a unique resource where biocurators[6][7] read the scientific literature and manually
curate four types of core data:
1. Chemical-gene interactions
2. Chemical-disease associations
3. Gene-disease associations
4. Chemical-phenotype associations
HOSPITAL AND CLINICAL PHARMACY
Hospital pharmacy is division of hospital which monitors on the receiving and allotment of
drugs and medicines and professional supplies, stores them and dispenses to inpatient,
outpatient and may have a manufacturing extension to manufacture pharmaceuticals and
*parenteral in bulk.
Clinical pharmacy is the branch of Pharmacy where pharmacists provide patient care that
optimizes the use of medication and promotes health, wellness, and disease prevention.
Patient record maintenance is vital job in hospitals but with the help of computers, data can be
maintained easily and also updated time to time. Inventory control i.e. purchasing, receiving,
warehousing and storage, turnover, and reordering can be achieved very well by using
computers.
Pharmacokinetics (PK) describes how the body affects a specific xenobiotic/chemical after
administration through the mechanisms of Absorption, and Distribution, as well as the
Metabolic changes of the substance in the body (e.g. by metabolic enzymes such as cytochrome
P450* or glucuronosyltransferase enzymes), and the effects and routes of Excretion of the
metabolites of the drug. These four processes: Absorption, Distribution, Metabolism and
Elimination or Excretion are also called ADME.
*Cytochromes P450 (CYPs) are primarily membrane-associated proteins located either in the inner membrane of
mitochondria or in the endoplasmic reticulum of cells. CYPs are the major enzymes involved in drug metabolism,
accounting for about 75% of the total metabolism. Most drugs undergo deactivation by CYPs, either directly or by
facilitated excretion from the body. Also, many substances are bioactivated by CYPs to form their active
compounds.
Nearly 40% of drug candidates fail in clinical trials due to poor ADME (absorption, distribution,
metabolism, and excretion) properties. These late-stage failures contribute significantly to the
rapidly escalating cost of new drug development. The ability to detect problematic candidates
early can dramatically reduce the amount of wasted time and resources, and streamline the
overall development process.
Accurate prediction of ADME properties prior to expensive experimental procedures, such as
HTS, can eliminate unnecessary testing on compounds that will ultimately fail; ADME
prediction can also be used to focus lead optimization efforts to enhance the desired properties of
a given compound. Finally, incorporating ADME predictions as a part of the development
process can generate lead compounds that are more likely to exhibit satisfactory ADME
performances during clinical trials.
The increased speed of computers as well as their storage capacity has led to the development of
numerous computer software programs that now allow for the rapid solution of complicated
pharmacokinetic equations and rapid modeling of pharmacokinetic processes i.e. in-silico
pharmacokinetics.
Some software used in. in-silico pharmacokinetics: QikProp, VolSurf, GastroPlus, ALOGPS,
OSIRISPropertyExplorer, SwissADME, Metrabase, PACT-F, TOXNET
1. Patient identification
2. Generating a complete active medication list, possibly incorporating electronic data
received from an insurance provider
3. Access to patient historical data
4. Prescribe or add new medication and select the pharmacy where the prescription will be
filled.
5. Educational capabilities (e.g., patient education, provider feedback)
Paper based discharge summaries are often illegible, incomplete or received too late for the
information to be considered clinically useful. Electronic discharge summaries can address
known deficiencies and improve the continuity of care, communication and accuracy of data
in discharge summaries. eDischarge solution enables doctors to:
1. Rapidly record all diagnoses, treatments & medications at the point of care.
2. Consultants can review & approve discharge summaries even after the patient has left
the hospital.
3. If the consultant sees any omissions or errors, these can be added or corrected to the
updated summary filed and sent to the patient’s physician instantaneously on
approval.
Bar code medication administration (BCMA) is a bar code system to prevent medication errors
in healthcare settings and to improve the quality and safety of medication administration. The
overall goals of BCMA are to improve accuracy, prevent errors, and generate online records of
medication administration.
One type of bar code used on medication packaging
Wrong drug and wrong dose errors are the most common errors associated with ADC use. Look-
alike drug names and drug packages are common variables that lead to selection errors. For
example, morphine and hydromorphone are two different opioid analgesics that frequently get
confused.
Adherence is generally described as the extent to which patients take medications as prescribed
by their health care providers. Adherence to long-term therapy in outpatient setting is required to
reduce the prevalence of chronic diseases such as HIV/AIDS, Diabetes, Tuberculosis and
Malaria.
Healthcare providers are using a variety of mobile technologies to help patients take their
medications and remain on a care plan. The consequences of non-adherence can be costly - and
deadly.
To remind people to pick up or renew their prescriptions, doctors and pharmacies are using
mHealth platforms that send automated, personalized messages to a patient’s e-mail,
smartphone or even a smartwatch (patients can program their own reminders as well). Digital
or smart pillboxes, meanwhile, can keep track of medications, remind a patient to take a
medication and even record and send that data back to caregivers.
Smart Watches
Patient Monitoring System
There are at least five categories of patients who need physiological monitoring:
1. Patients with unstable physiological regulatory systems; for example, a patient whose
respiratory system is suppressed by a drug overdose or anesthesia
2. Patients with a suspected life-threatening condition; for example, a patient who has findings
indicating an acute myocardial infarction (heart attack)
4. Patients in a critical physiological state; for example, patients with multiple trauma or septic
shock.
Because of these requirements, ICUs have become widely established in hospitals. Such units
use computers almost universally for the following purposes:
Pharmacy Management Information System (PMIS) basically deals with the maintenance of
drugs and consumables in the pharmacy unit. The system will ensure availability of sufficient
quantity of drugs and consumable materials for the patient. This will enhance the efficiency of
clinical work; ease the patients’ convenience and process drug prescriptions effectively.
The system will help removing time wasting, saving resources, allow easy access to medicine, as
well as bring on more security on the data compared to manual based system.
Importance of PMIS
1. A good PMIS provides the necessary information to make sound decisions in the
pharmaceutical sector.
2. Effective pharmaceutical management requires policy makers, program managers and
health care providers to monitor information related to patient adherence, drug resistance,
availability of medicines and laboratory supplies,
3. Patient safety, product registration, product quality, financing and program management
etc.
UNIT-V
NOTE-1
It is based on the concept of partition coefficient – if a chemical is applied at the boundary of two
immiscible liquids, it will distribute itself between two liquids.
For example if we apply glutamine which is a polar amino acids at the junction of water (polar
solvent) and n-octanol (non-polar solvent); its more amount will be dissolved in water and less in
n-octanol. i. e.
In chromatography one phase (liquid) is hold by an inert material and termed as stationary
phase and another phase (liquid/gas) is moved over the stationary phase - termed as mobile
phase. If a complex mixture is dissolved in mobile phase and passes through the stationary
phase, its individual components will distribute themselves as per their partition coefficient and
therefore get separated with each other.
For example if we have a mixture of three amino acids – leucine, alanine, and glutamine and
want to separate them using paper chromatography.
We will take a cellulose paper and saturate it with a polar solvent such as water - water will now
act as stationary phase, and cellulose paper as structure that holds stationary phase.
Apply the mixture of amino acids as dot, and dip in it a non polar solvent such as acetone which
acts as mobile phase.
After some time all the three amino acids will separate with each other because polar amino acid
like glutamine will move very slowly in the a nonpolar mobile phase acetone as it have more
affinity for polar stationary phase water whereas nonpolar amon acid leucine will move very fast
in acetone.
more commonly instead of a paper, a glass column is used which is packed with a substance
holding stationary phase and a mixture of analytes that need to be separated is dissolved in
mobile phase which is then percolated inside the glass column.
Each analyte that will be eluted out from the column is detected by a detector which is placed
just below the column. Different analytes will elute out at different time point due to their
differential affinity for stationary phase – analyte with high affinity for stationary phase will have
high retention-time then the one with low affinity.
A chromatogram is obtained if we plot retention time for each analyte on x-axis and its elution
volume on y-axis.
Chromatogram showing peaks for two anaytes present in a mixture
Each peak corresponds to a specific chemical that can be identified by its retention time (on x-
axis) and the volume of the chemical in the mixture is estimated by area under the peak.
(Area = ½ Base X Height)
Chromatography software, also known as a Chromatography data system (CDS), collects and
analyzes chromatographic results in the form of chromatograms.
These CDS if integrated with a chemical structure drawing system can associate a chemical
structure for each peak. The resulting chromatogram with associated chemical structures carries
valuable information for future applications.
The primary purpose of a LIMS is to improve efficiency in lab operations by cutting down on
manual tasks. Some common LIMS features and functions below:
1. Sample management
As samples move from person to person and place to place, it’s easy for them to get lost or
mixed up. Accurate, detailed records are essential to making sure everything gets done and done
right. Most LIMSs will record and store information such as:
We can use an LIMS to automate workflows for the same reason we should use it to automate
records keeping.
By codifying existing methods and procedures in a LIMS, we can assign decision-making to the
software. For example, it can automatically assign work to scientists and suggest instruments
based on preset rules. And instead of looking up what you need to do with a sample and where it
needs to go next, a good LIMS will automatically provide this information.
3. Reporting
It’s nice to be able to quickly pull reports that can answer questions such as which instruments
get used the most, how long your sample backlog is, and how long it takes your lab, on average,
to process a sample. This kind of data is extremely useful for data analysis auditing and audit
trail.
4. EMR/EHR-enabled LIMS
Electronic health records (EHR) is its own type of software, but some LIMSs have EHR
functionality built-in, including patient check-in and billing. If EHR software package is not
available, a LIMS with this kind of functionality can be a huge asset for managing a clinical lab.
5. Mobile LIMS
As smart phones become more acceptable in the lab, it will be useful to install a mobile-friendly
LIMS in the form of an installable app will allows monitoring lab activities even from outside
the lab.
6. ERP-enabled LIMS
ERP software helps manage inventory, and it can be very helpful to have a LIMS that performs
this function. Being able to view what you have on hand at a glance, getting alerts when supplies
are running low, auto-calculation of storage and freezer capacity, and location management can
be extremely useful in a clinical lab.