You are on page 1of 3

Database management systems for

blood bank applications


PA. MOREL

Abstract: Blood bankshavea need for efficient, long-termstor- need to define some of the terms that will be used.
age ofrecords and quick access to the stored information. Database An electronic database is similar to data storage in a
management systems make it easy to retrieve and review large
amounts ofdata. They provide such functions as data entry, sorting filing cabinet. Each drawer in the cabinet may hold all
capability, search and find capacity, report production, calculation the data related to a particular area. For example, the
and graphic capacities, programming, and the relating of fields in top drawer in our cabinet may contain all the test re-
one file to those in another file. Privately developed programs can
be shared by blood banks. A program for managing an inventory of sults for antigens other than ABO and Rhsub(o)(D). The
frozen blood units is offered in this paper. drawer may be labeled “Phenotyped Donors” or “Spe-
cial Donors:’ but let’s call it our “Rare Donors” file. We
Most blood bank laboratories have now acquired know that all the donors in the drawer are not rare, but
microcomputers and with them some sort of software if enough testing has been performed, some of them
that allows staff to do “wordprocessing:’ For those who have uncommon phenotypes. Each test result in the
have not yet been exposed to the time-savingcapabili- file was attributed to one donor and was placed on the
ties of the word processor, it is recommended that donor’s record. If the donor had been tested for more
word processing should be the primer for introduction than one antigen, each test result was placed in a sepa-
to the use of a microcomputer. I have never met anyone rate space, or field,on that donor’srecord. We now have
who would willingly return to a typewriter after using described a file of rare donors, containing a rec-
a word processor for writing articles or preparing lab- ord for each donor, with test results, donor’s name,or
oratory manuals. Many of us are also familiar with other demographic information written in a separate
“electronic spreadsheets” and have many applications field for each bit of data.
for these programs in our laboratories. But no other
We have stored a great deal of information in our
software lends itself so well to the needs of the blood
drawer containing the “Rare Donors” file. The useful-
bank laboratory as does the simple, well-designed
ness of this information depends on how it can be re-
“database”system.
trieved. If the records in the file are stored alphabeti-
Database management systems cally or chronologically (both popular ways of
Blood bank laboratories are often overwhelmed by arranging manually stored records), each record must
paper accumulated in the generation of records and by be examined, for example, to find donors who have
the requirement for long-term storage of those records. been typed as negative for the c, E, K, and Jksup(a) antigens,
At the same time, they must maintain a capacity for im- in order to provide blood for an immunized patient. If
mediate access to the stored information. Database the records are stored in a more organized fashion,
management systems are ideal for organization and within the drawer there may be a manila folder con-
long-term storage of records and other written infor- taining only records forRsup(1)Rsup(1) donors. This would allow
mation. Data that are stored in such a system are easily us to provide donors after examining substantially
accessible to the user. Individual pieces of data may be fewer records. A file stored in an electronic database
extracted from the database as desired, with or with- would be more easily accessed than either of these
out the entire set of data. manual files. We would simply request that the file be
searched for those records showing a “ - ” sign or
Description of terms “ N E G in the c, E, K, and Jksup(a)fields, and request that are-
Before the capabilities and applications of various port be printed of the retrieved records. A computer-
database management systems are discussed, there is a based record-keepingsystem, or database management

82 i MMU N oM E M AT o LO G Y
Database management systems-blood banks

system, provides superior storage, organization, and re-


___ have the opportunity to share our specialized applica-
trieval functions. tions with others. We cannot legally exchange copies
By making it easy to retrieve and review large of commercial software packages, but may offer copies
amounts of data, a general-purpose database manage- of privately developed applications to others who have
ment system is probably a good match for the needs of purchased the same package. A stand-alone, individu-
most blood bankers. The more complex database sys- ally developed program may also be offered to fellow
tems can access two or more files at once; these are blood bankers. I have written and am willing to share
called relational database management systems.It is up such a program for managing an inventory of frozen
to each of us to decide how files need to be stored and blood units. It was written in PC-Basic on an IBM PC,
accessed and whether or not a single-file data manager and the file will bold as many as 1,600 donor records
will be adequate for the job. A single-file database man- on one data disk. The program is best described by dis-
ager that is inexpensive ($89.00by mail order), versa- cussing each of the menu or data entry screens.
tile, and easy to learn is called Reflex. As a tool for get-
ting the most out of this program, there is an excellent
text called Mastering Reflex by Robert Ericson and
Ann Moskol (Sybex Inc., Berkeley, CA, 1986).A number
of other database managers are reviewed in the articles
cited in the reading list at the end of this article.

Functions provided by a database management


system
Database managers all provide the following func-
tions: SELECT
1. Data entry There must be a screen that allows you MISTER.DAT
to enter, edit, alter, add, or delete data items. FIGURE
1. Main menu screen for the froren blood inventory program.
2. Sorting capability. This feature allows you to ar-
range file records in different ways, e.g., alphabetically
or chronologically 88-08-12 FROZEN BLOOD 00:20:41

3. Search or find capacity The search function Donor Last Name: First Name:

Set. No.: Birth Date:


allows you to find and retrieve records that match spec- SDS.

P. No.: Donor No. :


ified data in one or more fields. Donation Date: "as:
4. Report production. This capability is very impor- Recipient: Race:

tant to most blood bankers; it enables you to print neat DEC Code : Hbs:

groups and subfiles of information. ABO: Rh:

Freezer section: Comment:


5. Calculation and graphics capacities. These are PHENOTYPE

included in some database managers such as Reflex c: E: c: e: M: N: si s: u: Lea: Leb: P1: K: k:

FYb: Jka: Jsb: Lua: Lub: Other:


6. Programming and creating macros. Program- Fya: Jkb: Jaa:

ming languages built into some database managers MASTER.DAT Records: 301 <INS>Add <DEL>Delete <ESC>Menu 302

permit the user to develop macros. These make it pos- FIGURE2. Data entry screen forthe frozen blood inventory program
sible to execute a long series of formatting or calculat-
ing instructions with a few keystrokes.
7. Relating files. Relational database management Figure 1 depicts the MAIN MENU screen for the data-
systems such as dBase can automatically relate fields in base manager called FROZEN BLOOD FILE. The per-
one file to specified fields in other files. son using the file may select from the functions listed.
REVIEW/EDIT (A) allows the user to see the DATA
Sharing privately developed programs ENTRY screen pictured in Figure 2. The FIELDS on this
As each of us develops competence in the use of a screen hold data items for one frozen blood RECORD.
database manager or other software and goes on to Here, data may be entered, edited, changed, or deleted.
make blood bank applications with our programs, we The record itself is generated from this screen and rec-

VOLUME 4, NUMBER 4 , 1988 83


PA. MOREL

ords may also be added or deleted by pressing the in- Reading List of Database Manager Reviews
sert [INS] or delete [DEL] key All the records are stored 1. Bales SA, Shifman MA. Database programming for laboratoryap-
plications. Lab Med 1987;18:256-8. (General Information)
in the Master data file (MASTER.DAT) FILE. Selection B 2. Fanning T, Fanning R. Organizing. In: Brand S, ed. Whole earth
from the main menu searches the master data file on software catalog. Garden City, NY: Quantum Press/Doubleday):
any fields for specified criteria. The selected records 1984:78-93.[Reviews file managers such as PFS:File,PFS:Report,
PFS:Solutions,Offix, PC-File Ill, Personal Card File, DB Master
are placed in a newly created file called NEWFILE. Se- (for the Apple) and Versaform; and more sophisticated database
lection C allows for the selection of either the MASTER +
managers such as DBase II, R:Base4,000,Condor III,Infostar ,
FILE or the NEWFILE for review, sorting, and/or print- ASAP Five, Sequitur, and Superfile]
ing.The SORT will sort on any of several fields also, 3. Sotomayor M. Easy to relate. PC World 1985;3:12-41. (Reviews
Powerbase,Six and Infoscope)
arranging the records alphabetically by donors’ last 4. Urschel W. Data management. PC World 1987;5:236-47 (Re-
names, chronologically by dates of donation, etc. Print- views Paradox 1.1, PFS:Professional File, Q&A 2.0 and askSam
ing occurs when (E) is selected. Complete records, in- 3.0)
cluding all clerical data, may be printed, or a more con- This list is far from comprehensive. There are many
densed version, handy for people on call to take with database management packages and many reviews
them may be generated. Anyone interested in obtain- found commonly in the microcomputer or personal
ing a copy of the FROZEN BLOOD FILE program may computer publications such as PC World. The bibliogra-
write to me at PO Box 206, San Bruno, CA 94066. My phy in IMMUNOHEMATOLOGY often contains refer-
daytime telephone number is (415) 493-2200, ext. ences to articles that review database managers.
2212.

Phyllis A Morel, MSc,MT(ASCP)SBB, Associated Blood


Bank Comultants Box 206 San Bruno, CA 94066

84 I M M U N O HE M A T O L OG Y

You might also like