Sunteți pe pagina 1din 203

PREFACE An element of good laboratory performance is the proper functioning of laboratory equipment.

The use of an instrument may be limited by inadequate maintenance. All the major equipment in the laboratory should have a maintenance programme. The more complex an instrument is, the more the user will depend on the support of a supplier for its maintenance. It is therefore pertinent to foresee the extent of costs that need to be included for the use and maintenance of an instrument and to consider its lifespan as well as its workload. The quality of laboratory test results depends on among other factors on the performance of equipment. The proper functioning of equipment needs careful operation and preventive maintenance. Early detection of malfunctions and appropriate corrective measures will prevent unexpected costs, breakdown of services, deterioration of quality and credibility of the laboratory. The purpose of this manual is to address some of the fore mentioned issues and offer guidelines for achieving greater levels of quality and functionality in selection, operation and maintenance of laboratory equipment.

PROJECT ON LABORATORY REPORT

UNDERTAKEN AT PTU LEARNING CENTRE, MALERKOTLA

UNDER THE GUIDANCE OF MAM RAJDEEP KAUR SUBMITTED BY: RAMANJEET KAUR (10204470152) PARMINDER KAUR (10204470146)
2

RAJWINDER KAUR (10204470151)

PROJECT ON LABORATORY REPORT


Undertaken at PTU LEARNING CENTRE, MALERKOTLA

Under The Guidance Of MAM RAMANDEEP KAUR

SUBMITTED BY: RAMANJEET KAUR (10204470152) PARMINDER KAUR (10204470146) MCA SEM 6th RAJWINDER KAUR (10204470151)

ACKNOWLEDGEMENT
We like to take this opportunity to express our gratitude towards all the people who in various ways have helped in successful completion of this project. At the outset we like to Thank PTU Study Center Malerkotla for giving us the opportunity and means to undertake this study. We like thank Mam. Ramandeep kaur for his immense support and Guidance without whose support making this project would not have been possible. We would like thank all the faculty members of PTU Study Center Malerkotla for adding value to our project. Last but not least we would like to thank all our friends for their moral support.

With sweet memories: RAMANJEET KAUR (10204470152) PARMINDER KAUR (10204470146)


MCA SEM 6th

RAJWINDER KAUR (10204470151)

DECLARATION

We swear that work being presented by us in dissertation title LABORATORY TESTING for the partial requirement for the fulfillment of the MCA (Information Technology) submitted to Punjab Technical University, Jalandhar is an authentic record Of our work carried out by us in semester 6 th of the courseUnder the guidance of Mam. Ramandeep kaur of PTU Learning Centre, Malerkotla The matter is that we have not submitted dissertation previously or any one else for the award of above said courseOr any other course.

RAMANJEET KAUR (10204470152) PARMINDER KAUR (10204470146)

RAJWINDER KAUR (10204470151)

CERTIFICATE

It is to certify that RAMANJEET KAUR, PARMINDER KAUR and RAJWINDER KAUR submits the project entities LABORATORY TESTING, for the fulfillment of the award of the degree of MCA is a beneficed piece of the project work covered under my guidance and supervision. RAMANJEET KAUR, PARMINDER KAUR and RAJWINDER KAUR is hard Working and sincere. I wish them success in future Endeavors.

SIGNATURE & NAME (PROJECT HEAD)


Mam.Rajdeep kaur

CERTIFICATE
It is to certify that RAMANJEET KAUR, PARMINDER KAUR and RAJWINDER KAUR submits the project entities LABORATORY TESTING, for the fulfillment of the award of the degree of MCA is a beneficed piece of the project work covered under my guidance and supervision. RAMANJEET KAUR, PARMINDER KAUR and RAJWINDER KAUR is hard Working and sincere. I wish them success in future Endeavors.

(CENTRE HEAD) PTU LEARNING CENTRE MALERKOTLA

REQUIRMENT:H/ W requirements S/ W requirements System requirements Specification MS Access 1) 2) Introduction to MS Access Features of MS Access

VISUAL BASIC 6.0 1) 2) 3) 4) Introduction to Visual Basic 6.0 Visual Basic Foundation Advantages of Visual Basic 6.0 Visual Basic as a shared language

HARDWARE REQUIRMENTS:-

Total number of machines Total disk capacity Total memory capacity Processor : : :

1 10GB 128MB P3 or above

SOFTWARE REQUIRMENTS:R.D.B.M.S PLATFORM G.U.I : : : MS Access WINDOWS XP VISUAL BASIC 6.0

Profile of Problems Assigned


1. Problem of Change and Rework:Once the software is delivered and deployed, it enters the maintenance phase. All systems need maintenance, but for other systems it is largely due to problems that are introduced due to aging. Software needs to be maintained not because some of its components wear out and need to be replaced, but because there are often some residual errors remaining in the system that must be removed as they are discovered. Maintenance work is based on existing software, as compared to development work that creates new software. Consequently, maintenance revolves around understanding existing software and maintainers spend most of their time trying to understand the software they have to modify. Understanding the software involves understanding not only the code but also the related documents. During the modification of the software, the effects of the change have to be clearly understood by the maintainer because introducing undesired side effects in the system during modification is easy. 10

2. Problem of Scale:-

A fundamental problem of project is The problem of scale; development of a very large system developing a small system. In other words, the methods that are used for developing small systems generally do not scale up to large systems. Similarly, methods that one can Use to develop programs of a few hundred lines cannot be expected to work when software of a few hundred thousand lines needs to be Developed. A different set of methods have to be used for developing large software. Any large project involves the use of technology and project management. For software projects, by technology we mean the methods, procedures, and management can be used.

11

3. Problem of Consistency: -

Though high quality, low Cost and small cycle time are the primary objectives of any project, for an organization there is another goal: Consistency. An organization involved in software development does not just want low cost and high quality for a project, but it wants these consistently. In other words, a software development organization would like to produce consistent quality with consistent productivity. Consistency of performance is an important factor for any organization; it allows an organization to predict the outcome of a project with reasonable accuracy, and to improve its processes to produce higher quality products and to improve its productivity. Achieving consistency is an important problem. That software engineering has to tackle.

12

Feasibility Study A feasibility study is a test of a system proposal according to its workability, impact on the organization ability to meet user needs and effective use of resources. The objective of feasibility study is not to solve a problem but to acquire a sense of its scope. During this study the problem definition is crystallized and aspects of the problem are determined. The result of the feasibility study is a formal proposal. The proposal consists what is known and what is going to be done. It consists of following: 1. 2. 3. 4. Statement of the problem. Summary of findings and recommendations. Details of findings. Recommendations and conclusions. After management reviews the proposal, it becomes a formal agreement that paves the way for actual designs and implementations. This is a crucial decision point in the life cycle.

13

Behavioral Feasibility:In first solution, if the supervisor will be employed from outside then the morale of the existing account officers will be hurt and they will be demotivated. But if two employees or Junior Officers in account are promoted then also others will be de-motivated because there is no scope of promotion in the near future. But in the second solution, the account in-charge can supervise Junior Officers in all the manners from account creation to management and to closing and keep record of transaction in the computer also. Moreover, his hectic job will be eased by a computer and he can supervise well.

Acceptance Criteria:The accountant finally approved all granted lists and data.

FEASIBILITY ANALYSIS Feasibility analyses are used to present an approach or a series of alternatives and to offer decision-making guidance based on the climate in which the project will evolve. They often defend a single or primary approach, incorporating Extensive forecasts on the projects development, as well as its evolution after implementation. Because a feasibility analysis may focus on one or many aspects of a project, it may be a very short (One- to two-page) or long

14

(multivolume) document. In any case, it generally begins with an executive summary and a description of the project outputs in their as-built condition.

1. PROJECT PLAN

Team Structure: RAMANJEET KAUR, PARMINDER KAUR and RAJWINDER KAUR a student of PTU Learning Center Malerkotla of MCA 6thSEM.

My project subject is LABORATORY TESTING. This project is prepared & the information about this project is collected by us. But some time some problems are faced by us when we do collections of the materials for this project. But my teacher is also helping us in this project. At last now this project is complete, and this project is making in Visual Basic (programming language).

Development Schedule:-

This goal of schedule Estimation is to determine the total duration of the project and the duration of the different phases. This schedule will be used to monitor the progress of the project.

15

Introduction of Visual Basic: - Visual basic environment is a Platform provided by visual basic to develop and execute a project. The environment consists of different project templates, control tools and various other options. A project is a collection of files that you used to build an application. There are some features of VISUAL BASIC 6.0, which makes it perfect development environment. There are : Full set of object Lots of icons and pictures for your use Response to mouse and keyboard action Full array of mathematical, string handling and graphical functions Useful debugger and error handling facilitys Active X support Package and Developed Wizard makes distributing your applications simple.

Visual Basic is an Event Driven Programming Language: The Visual part refers to the methods used to create the graphical user interface (GUI). The Basic part refers to the basic language that is used by most of the programmers in the history of computing. The visual basic programming language is not unique to visual basic. The visual basic programming system, applications addition Included in Microsoft excel, Microsoft access and many other window applications use the same language. 16

INTRODUCTION OF LABORATORY TESTING

LABORATORY TESTING is often provided instaneously on computer printout that can be directly recorded in computerized patient records. But how well do physicians use significant laboratory data that have been so expertly and efficiently stored in cyberspace? Do abundant computer printout actually facilitate improvement of patient care, or do they add to the attending physicians already. The laboratory may provide the first clues to a major disease process. This are within the laboratory where your blood, urine and biochemistry. Take to wonder through the various department of the laboratory. For the introduction, to the clinical laboratory, check out this guide.

17

OBJECTIVES OF PROJECT

In our project on LABORATORY TESTING, we have tried to produce every information through FORMS, REPORTS. In forms , we have tried to produce every instruction by using some of the controls such as: -Text Boxes, Label Buttons , Command Buttons, Radio Buttons and Frame .All these are as follows: LABEL BUTTON: -Label controls to act as caption, display information to the user, labels are similar to text boxes, exception that the user cant edit the information presented in them. TEXT BOXES: -Text box controls to accept textual information needed from the user, and to display certain information backs to the user, a text box is called Edit Control that means the user can edit the information presented in them.

Command Button: -Command button is also referred as a


Push Button. Command button controls, is used to initiate an action and the text on the button initiates the action associated

18

with the button. The code for this action to be performed by the programmer. FRAME: -The frame control is a special type of control called a Container. Containers are control in which the user can draw another controls, much like a real picture frame. This feature is useful for creating multiple pages of controls on a single form

OPTION BUTTON:- Option buttons provide a way for a user to select one of many options on a form.Option buttons, we must select only one among several. This is used to help any one item from many items.

19

Microsoft Access Description

Microsoft Access is a powerful program to create and manage your databases. It has many built in features to assist you in constructing and viewing your information. Access is much more involved and is a more genuine database application than other programs such as Microsoft Works.

This tutorial will help you get started with Microsoft Access and may solve some of your problems, but it is a very good idea to use the Help Files that come with Microsoft Access, or go to Microsoft's web site located at First of all you need to understand how Microsoft Access breaks down a database. Some keywords involved in this process are: Database File, Table, Record, Field, data-type. Here is the Hierarchy that Microsoft Access uses in breaking down a database.

This tutorial will help you get started with Microsoft Access and may solve some of your problems, but it is a very good idea to use the Help Files that come with Microsoft Access (or any program you use for that matter.

Starting Microsoft Access

20

Two Ways Double click on the Microsoft Access icon on the desktop. 1. Click on Start --> Programs --> Microsoft Access

Tables A table is a collection of data about a specific topic, such as students or contacts. Using a separate table for each topic means that you store that data only once, which makes your database more efficient, and reduces data-entry errors. Tables organize data into columns (called fields) and rows (called records). Tables organize data into columns (called fields) and rows (called records). Primary Key:

One or more fields (columns) whose value or values uniquely identify each record in a table. A primary key does not allow Null values and must always have a unique value. A primary key is used to relate a table to foreign keys in other tables.
o

After you do this, Save the table

21

Manipulating Data:

Adding a new row


o

Simply drop down to a new line and enter the information

Updating a record
o

Simply select the record and field you want to update, and change its data with what you want

Deleting a record Simply select the entire row and hit the Delete Key on the keyboard

22

Software Requirements Specification

System Overview: This system is developed to automate the existing manual system, so that the response time, access time, and process time will be reduced. Accuracy is another important factor behind the development of this system. The system will be reliable to different platforms. Flexibility is most important of this system. The system will be very efficient in case of performance. It will have the ability to analyze the results quickly and to answer queries quickly. To operate this system the effort required is very low. Another important feature of this system is that it prompts error messages in case of invalid information entry to help the user. Well maintained forms to improve the readability of information are used. Functional Requirements: The functional requirements of the system should clearly describe each function which the system would support along with the corresponding input and output data set. Different functional requirements of the system are:

23

Performance Requirements: Performance Requirements deal with the characteristics such as maintainability, portability, usability, reliability issues, accuracy of results etc. The response time, processing time, throughput etc. can also be included in the performance requirements. Portability The proposed system will be developed in order to get higher portability. The developed system can be run on any type of platform. There no limitation for running the software due to the change of platform. a) Maintainability Maintainability is another important aspect of the proposed system. The proposed system could be easily maintained. The system can also be easily modified. b) Response Time The response time of our developed system is also very short. The time amount from giving the command to start processing is very small. Processing Time Processing time for each process is very small. Every process takes only small unit of time amount required for the entire system.

24

IMPLEMENTATION Planning is the first step in implementing a new LIMS, and the first step in this process is to evaluate the laboratory's information resource needs. If there is already a LIMS, how does it operate? How does it interface with other business and quality systems? What works well, and what weaknesses are observed? Users, including analysts, clients, and managers, need to be involved from the beginning. They are the people who will have the best perspective on how the new system should work. Additionally, early involvement can help build user acceptance of the change. Resistance to change may be the biggest cause of failure in implementing a new system. The planning stage provides an opportunity to anticipate problems and educate the users on the project (7). In the early stages of implementing our minicomputer-based system in 1990, inadequate input from the end users resulted in a system that could not support tests with more than one analyze or with numerical results-features necessary for the operations in our laboratory. Major modifications were needed, delaying the launch of the system. While planning for our environmental LIMS, we met with representatives of our largest client, the state drinking water program.

25

We examined problems with the current system, such as transcription errors; looked at desirable new features, such as interfacing with regulatory databases; and kept the representatives informed with regular progress reports. A corollary benefit was that they championed the project. Management commitment is an absolute requirement. Managers need to clearly delineate the goals to be obtained by implementing the LIMS; communicate that the change is desirable; encourage cooperation and coordination among the users, clients, and system implementers; and ensure that adequate financial and staff resources are available to implement the system. The project will fail without these commitments from the laboratory manager.

26

Feasibility study

A Feasibility Study Report is a business plan for a specific project. It provides the rationale and the support for that rationale to pursue a specific project from the feasibility phase, pre-construction, construction and occupancy through investment and technical management. The objectives of a feasibility study is to find out whether an information system project can be done (...is it possible? is it justified?) and to suggest possible alternative solutions. A feasibility study should provide management with enough information to decide: a) Whether the project can be done. b) Whether the final product will benefit its intended users c) What are the alternatives among which a solution will be chosen d) Whether there exists a preferred alternative A feasibility report is dynamic integration of financial investment, technical data, HR considerations and thorough output with return on investment (ROI) consideration in the project. It should be as dynamic as possible to incorporate any change to assumptions or to incorporate new information. As a result, all assumptions made and specified in the Feasibility Study are meticulously documented. The report is prepared in close consultation with our client (in addition to an architect, construction consultant and others) since some of the work included in the report most likely has already been completed by the client. Despite the critical importance of a business plan, many Entrepreneurs and companies procrastinate when it comes to preparing a written business plan document. They argue that they know their project and they have done their homework. Some also feel that their marketplace changes too fast for a feasibility plan to be useful or that they just do not have enough time. However, Entrepreneurs and Investors should not rush into new investments without a plan or a Feasibility Report.

27

A basic knowledge of clinical laboratory procedures is critical for all Hospital Corpsmen, particularly those working at small dispensaries and isolated duty stations without the supervision of a medical officer. A patients complaint maybe of little value by itself, but coupled with the findings of a few easily completed laboratory studies, a diagnosis can usually be surmised and treatment initiated. Hospital Corpsmen who can perform blood and urine tests and interpret the results are better equipped to determine the cause of illness or request assistance. Since they can provide a more complete clinical picture to the medical officer, their patients can be treated sooner. In this chapter, we will discuss laboratory administrative responsibilities, ethics in the laboratory, the microscope, blood collection techniques, and step-by-step procedures for a complete blood count and urinalysis.

The main functions are: I. Haematoogical II. Urine analysis III. Immunological IV. Biochemical V. Stool examination VI. Microbiology VII. Semenolysis VIII. cytology

28

Technical feasibility Required instruments I. Photometer 5010- mainly for kidney function test and liver function test. II. Electrolyte Analyzer 9180(a,k,Cl)test i.e biomedical test III. Cell counter(haematology)- blood analyzer i.e TC,DC, Hb% IV. BIO RAD-icromat- (glycocylated Hb) for Diabetes V. Centrifuge achine- For temperature maintaining VI. Microscope- For magnifying blood cell, urine, sputum etc. VII. ESR achine-To measure electrolyte sedimentation rate VIII. Incubator- For temperature maintaining IX. Water bath X. Test tubes XI. Glass slides XII. Cover slips XIII. Test tube rack and holder XIV. Capillary tube XV. Tissue papers And different types of reagents:Haematology reagents: I. N/10 HC Acid II. Sodium citrate III. Leisman stain IV. RBC Diluting fluid V. WBC diluting fluid VI. Platelets diluting fluid VII. Semen diluting fluid VIII. Carbofusion IX. Athylene blue X. Acetone. Benedict reagent

29

XI. Forcet reagent XII. Sulphocylic acid XIII. Crystal viole XIV. Gemsa stain Biochemical reagents: I. Glucose II. Urea III. Creatinine IV. Total protein, albumin, globulin V. SGOT(AST) VI. SGPT(AT) VII. Alk. Phosphatase VIII. Amylase IX. Uric acid X. HBA lc(glycylated Hb) XI. Triglyceride XII. Calcium XIII. troponin Behavioral Feasibility:In first solution, if the supervisor will be employed from outside then the morale of the existing account officers will be hurt and they will be demotivated. But if two employees or Junior Officers in account are promoted then also others will be de-motivated because there is no scope of promotion in the near future. But in the second solution, the account in-charge can supervise Junior Officers in all the manners from account creation to management and to closing and keep record of transaction in the computer also. Moreover, his hectic job will be eased by a computer and he can supervise well.

30

Economic feasibility Economic analysis is the most frequently used method for evaluating the effectiveness of a new system. More commonly known as cost\benefit analysis the procedure is to determine the benefits and savings that are expected from a candidate system and compare them with costs. If benefits outweigh costs, then the decision is made to design and implement the system. An entrepreneur must accurately weigh the cost versus benefits before taking an action.

Cost-based study: It is important to identify cost and benefit factors, which can be categorized as follows: 1. Development costs; and 2. Operating costs. This is an analysis of the costs to be incurred in the system and the benefits derivable out of the system.

Time-based study: This is an analysis of the time required to achieve a return on investments. The future value of a project is also a factor.

Acceptance Criteria:The accountant finally approved all granted lists and data.

31

FEASIBILITY ANALYSIS Feasibility analyses are used to present an approach or a series of alternatives and to offer decision-making guidance based on the climate in which the project will evolve. They often defend a single or primary approach, incorporating Extensive forecasts on the projects development, as well as its evolution after implementation. Because a feasibility analysis may focus on one or many aspects of a project, it may be a very short (One- to two-page) or long (multivolume) document. In any case, it generally begins with an executive summary and a description of the project outputs in their as-built condition.

Information Gathering Tools The tools which were used for gathering the information are as follows : a. Interviews b. On-site Observation 1. Interviews: The interview is the oldest and most often used device for gathering information in systems work. The interview is a face-to-face interpersonal role situation in which a person called interviewer asks a person being interviewed questions designed together information about a problem area. It can be used for two main purposes:(a) As an exploratory device to identify relations or verify information. (b) To capture information as it exists.

32

Advantages of Interviews: -

Its flexibility makes the interview a

superior technique for exploring areas where not much is known about what questions to ask or how to formulate questions. It offers a better opportunity than the

questionnaire to evaluate the validity of the information gathered. It is an effective technique for eliciting

underlying expressed opinions.

information about complex subjects & for probing the sentiments

have to do is talk.

Many people enjoy being interviewed,

regardless of the subject. They usually cooperate in a study when all they

33

2. On-site Observation: It is the process of recognizing and noting people, objects and occurrences to obtain information. The analysts role is that of an information seeker who expected to be detached (therefore unbiased) from the system being observed. The role permits participation with the user staff openly and freely. The major objective of on-site observation is to get as close as possible to the real system being studied. For this reason it is important that the analyst is knowledgeable about the general make-up and activities of the system. The following questions can serve as a guide for on-site observation:a. What kind of system is it? What does it do? b. Who runs the system? Who are the important people in it? c. What is the history of the system? How did it get to its present stage of development? Apart from its formal function what kind of system is it in comparison with other systems in the organization? Is it a primary or a secondary contributor to the organization? Is it fast paced or is it a leisurely system that responds slowly to external crises? The above given tools were used as a source of information gathering for this project. The interview was conducted of the users & the problems of the existing system were noted to remove them from the new system. And the on-site observation of the companys existing system was done. These two tools were of great usefulness through out the analysis stage.

34

DFD for Login Form


Login

Enter the name and password

Click ok

Main form

35

DFD For Main Form


Main
Patient form

Choice Select button Select any test form Open data

Searching and removing data

36

Data Flow Diagram

DFD For Patient

Patient Patient
Tests

Patient Database

Detail

Process Tests

Item Database

Result Test data base

37

DFD for adding a new patient form


patient

Adding new Patient

Update Patient Database

38

DFD For Adding New Urine Report


Patient

Adding new Patient

Update Patient Database

39

DFD For Adding New Haemotology Reports


patient

Adding new Patient

Update Patient Database

40

DFD For Adding New Biochemistry Report


patient

Adding new Patient

Update Patient Database

41

DFD For Adding New Sputum Report


patient

Adding new Patient

Update Patient Database

42

43

DFD For Searching or Removing Data


Patient

Open and delete the data

Open the Data base

Delete the data base

44

MAINTENANCE
Make a request from the manufacturer/local agent to provide staff training in preventive maintenance and handling of trouble shooting. The local agent should provide immediate remedy to overcome a sudden break downof equipment. Study the manufacturers guarantee with regards to the period, spare parts, repair and replacement. Any equipment faults due to manufacturing process should be replaced during the warranty period. Study the hidden terms and conditions laid down by the local agent regarding maintenance. A service agreement should be established at the end of the warranty period. The local agent should specify the services in detail that will be offered during the service contract.

45

CONCLUSION AND REFERENCES

Conscientious physicians invest tremendous effort keeping up with professional literature and medical developments. Computerized system have an advantage over humans in that they never forget, never get tried, and make no mistakes if they are correctly programmed. It can be implemented in any active clinical unit providing that the information data system is used concurrently in routine clinical practice. the long run, this simple technique may save patients. In the long run, this technique may save patients lives.

FOOTNOTE With the help of my teacher and friends we are made the project. REFERENCED My teacher guidness, book.

46

LOGIN FORM

In this form we have taken the user name and password in the text boxes. We use the label button and text boxes in this form. Only those persons can login who knows the exact password. Other it is not of anyone. We have used the two command buttons in this form that are ok and exit. OK:Ok button is used to open the main form. When we click on ok button then main form will appear. Exit:Exit button is used to exit from the project and the log in form.

47

MAIN FORM

In this form we have taken the command buttons which are used to open the other forms by just clicking on them. We have use the command buttons are lab management, patient form, urine report, biochemistry, serology, semen, stool, liver function test, widal test, haemotology, sputum, heart test, culture report, charge list, chemical and searching and removing. On clicking the any command buttons the form displayed correspondingly. We used the frame for command buttons.

48

LAB MANAGEMENT:-

This form is used to open a lab management form in the laboratory. We have Taken the fields are haemotology report, serology report , stool report , urine report , semen report , biochemistery report , liver function test , sputum report , widal test and heart test in the labels and data give in the combo boxes. Multiple items show in the combo boxes and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :-

49

PATIENT FORM:This form is used to open patient form a form in the laboratory. We have Taken the fields are patient no, name, age, dated, sex, refdoctor in the Labels and data give in the text boxes and combo boxes. Patient no and name give Text boxes and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :-

50

URINE REPORT

This form is used to open a urine report form in the laboratory. We have Taken the fields are patient no, name, appearance, colour, reaction, sugar, pus cell, Casts, albumin, red blood cell, epithelial, crystals, amor. Urates, trichomonas in the Labels and data give in the text boxes and combo boxes. Patient no and name give In text boxes and other data items is also used in the combo boxes. Multiple items show In the combo boxes and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

51

HAEMOTOLOGY REPORT

This form is used to open a haemotology report form in the laboratory. We have Taken the fields are patient no, name,haemoglobin, platelet count, clotting time, tlc, dlc, red cell count blood group, reticulocytes, neutrophills, lymphocytes, monocytes, esr in the Labels and data give in the text boxes and combo boxes. Patient no and name give In text boxes and other data items is also used in the combo boxes. Multiple items show In the combo boxes and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

52

SEROLOGY REPORT

This form is used to open a serology report form in the laboratory. We have Taken the fields are patient no, name, pregnancy, anti-hcv, kahn, vdrl, r a factor, c r protein, aso titre, hiv-test, toxoplasmosis, hbsaghepatitisb, spforafb, mantouxtest in the Labels and data give in the text boxes and combo boxes. Patient no and name give In text boxes and other data items is also used in the combo boxes. Multiple items show In the combo boxes and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

53

BIOCHEMISTRY REPORT

This form is used to open a biochemistry report form in the laboratory. We have Taken the fields are patient no, name, blood sugar, blood urea , sodium, potassium, calcium, r b sugar, magnesium, phosphorus, s uric acid, screatinine, s chloride, creatinine, acid phosp in the Labels and data give in the text boxes and combo boxes. Patient no and name give in text boxes and other data items is also used in the combo boxes. Multiple items show in the combo boxes and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

54

STOOL REPORT

This form is used to open a stool report form in the laboratory. We have Taken the fields are patient no, name, colour, consistency, red blood cell, starch cell, blood, pus cell, cysts. Mucus, occult blood, starch fibres, stool for ph, reducing substances in the Labels and data give in the text boxes and combo boxes. Patient no and name give in text boxes and other data items is also used in the combo boxes. Multiple items show in the combo boxes and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

55

SEMEN REPORT

This form is used to open a semen report form in the laboratory. We have Taken the fields are patient no, name, colour, Count, dead, volume, active motile , sluggish motile, viscocity, pus cell, r b c, liquefaction, morphology, motility in the Labels and data give in the text boxes and combo boxes. Patient no and name give in text boxes and other data items is also used in the combo boxes. Multiple items show in the combo boxes and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

56

SPUTUM REPORT

This form is used to open a sputum report form in the laboratory. We have Taken the fields are patient no, name, type of suspect/desease (pulmonary, extra pulmonary), reason for examination (diagnosis, repeat examination and for examination) . We have used the frames and option buttons for the sputum report. Option button provided a selected item from many choices .We sed the text boxes for patient no and name and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

57

LIVER FUCTION TEST

This form is used to open a liver function test form in the laboratory. We have Taken the fields are patient no, name, globulin, albumin, conjugated, unconjugated, sgpt(alt), sgot(ast), amylase, sbilirubintotal, salkphosp , proteintotal, u amylase, protein , protein total in the Labels and data give in the text boxes and combo boxes. Patient no and name give in text boxes and other data items is also used in the combo boxes. Multiple items show in the combo boxes and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

58

WIDAL REPORT

This form is used to open a widal report form in the laboratory. We have Taken the fields are patient no, name, s typhi o,s typh h, s paratyphi ah, s paratyphi bh in the labels and data give in the text boxes and combo boxes. Patient no and name give in text boxes and other data items is also used in the combo boxes. Multiple items show in the combo boxes and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

59

HEART TEST

This form is used to open a heart test (lipids profile) form in the laboratory. We have taken the fields are patient no, name, scholesterol, ldlcholesterol, totallipids, totalhdlratio, hdlcholesterol, triglycerides , lithium, lipase, tibc, iron, cpk- nac, cpk-mb in the labels and data give in the text boxes and combo boxes. Patient no and name give in text boxes and other data items is also used in the combo boxes. Multiple items show in the combo boxes and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

60

CULTURE REPORT

This form is used to open a culture report form in the laboratory. We have Taken the fields are patient no, name, specimen (semen, urine, stool, blood, sputum), medicines in the Labels and data give in the text boxes and combo boxes. Patient no and name give in text boxes and other data items is also used in the combo boxes. Multiple items show in the combo boxes and these items are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

61

CHARGE LIST

This form is used to open a charge list form in the laboratory. We have Taken the fields are haemoglobin, stool report, pregnancy report, platelet count, blood urea, semen report, sodium, hiv test , widal test, calcium, potassium, s uric acid , s chloride, lipids profile , urine report. We used the message box for show the charges of any test.When we click any command button and message box appear on the screen. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

62

CHEMICAL REPORT

This form is used to open a chemical report form in the laboratory. We have Taken the fields are sugar, potassium, calcium, haemoglobin, uric acid, sodium, aso test, triglycrides, c r protein in the labels and data give in the text boxes and these are saved in the tables. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

63

SEARCHING AND REMOVING

This form is used to open a searching and removing form in the laboratory. We have taken the fields are haemotology report, serology report, biochemistry report and urine report in the command buttons. When we click on any command button and another form will appear.This form is used to open and delete the data record. We have used three command buttons save, refresh, exit in this form. Save:Save button is used to save the record in the data base tables. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

64

HAEMOTOLOGY

This form is used to open a haemotology report form in the laboratory. We have taken the fields are patient no, name, haemoglobin, platelet count, blood group, red cell count, clotting time, e s r in the labels and data give in the text boxes and combo boxes. Patient no and name give in text boxes and other data items is also used in the combo boxes. Multiple items show in the combo boxes and these items are saved in the tables. We have used three command buttons open, delete, refresh, exit in this form. Open:Open button is used to open the record in the data base tables. Delete:Delete button is used delete the record which is not useful for us. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

65

SEROLOGY

This form is used to open a serology report form in the laboratory. We have taken the fields are patient no, name, c r protein, aso titre, r a factor, hiv test, anti- hcv, vdrl in the labels and data give in the text boxes and combo boxes. Patient no and name give in text boxes and other data items is also used in the combo boxes. Multiple items show in the combo boxes and these items are saved in the tables. We have used three command buttons open, delete, refresh, exit in this form. Open:Open button is used to open the record in the data base tables. Delete:Delete button is used delete the record which is not useful for us. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

66

BIOCHEMISTRY

This form is used to open a biochemistry report form in the laboratory. We have taken the fields are patient no, name, blood sugar, blood urea, calcium, sodium, potassium, magnesium in the labels and data give in the text boxes and combo boxes. Patient no and name give in text boxes and other data items is also used in the combo boxes. Multiple items show in the combo boxes and these items are saved in the tables. We have used three command buttons open, delete, refresh, exit in this form. Open:Open button is used to open the record in the data base tables. Delete:Delete button is used delete the record which is not useful for us. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

67

URINE

This form is used to open a urine report form in the laboratory. We have taken the fields are patient no, name, appearance, colour, albumin, casts, puss cell, sugar in the labels and data give in the text boxes and combo boxes. Patient no and name give in text boxes and other data items is also used in the combo boxes. Multiple items show in the combo boxes and these items are saved in the tables. We have used three command buttons open, delete, refresh, exit in this form. Open:Open button is used to open the record in the data base tables. Delete:Delete button is used delete the record which is not useful for us. Refresh:Refresh button is used to refresh the data record for saving the new data in the data base tables. Exit :Exit button is used to go back on the main form.

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

LOGIN FORM

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub ok_Click() If uname.Text = "raj" And upass.Text = "123" Then ma.Show Else MsgBox (wrongusername Or password) End If End Sub

114

MAIN FORM

Private Sub br_Click() bio.Show End Sub Private Sub ch_Click() cha.Show End Sub Private Sub SE_Click() sear.Show End Sub Private Sub cr_Click() che.Show End Sub Private Sub cu_Click() CUL.Show End Sub Private Sub hr_Click() hae.Show End Sub Private Sub ht_Click() lipi.Show End Sub Private Sub lfu_Click() lft.Show End Sub Private Sub lm_Click() man.Show End Sub Private Sub paf_Click() PAN.Show End Sub

115

Private Sub semr_Click() SEM.Show End Sub Private Sub spr_Click() SPU.Show End Sub Private Sub SR_Click() sero.Show End Sub Private Sub str_Click() STO.Show End Sub Private Sub UR_Click() uri.Show End Sub Private Sub wd_Click() WID.Show End Sub

116

LAB MANAGEMENT

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() HR.AddItem ("on the front") HR.AddItem ("in the bathroom") HR.AddItem ("in different room") UR.AddItem ("in the bathroom") UR.AddItem ("anywhere in the lab") UR.AddItem ("in different room") SR.AddItem ("anywhere in the lab") SR.AddItem ("in the bathroom") SR.AddItem ("in different room") SER.AddItem ("in the bathroom") SER.AddItem ("anywhere in the lab") SER.AddItem ("in different room") STR.AddItem ("in the bathroom") STR.AddItem ("anywhere in the lab") STR.AddItem ("in different room") BR.AddItem ("anywhere in the lab") BR.AddItem ("in the bathroom") BR.AddItem ("in different room") LIF.AddItem ("anywhere in the lab") LIF.AddItem ("in the bathroom") LIF.AddItem ("in different room") SPU.AddItem ("in the lab") SPU.AddItem ("in the bathroom") SPU.AddItem ("in different room")

117

WID.AddItem ("anywhere in the lab") WID.AddItem ("in the bathroom") WID.AddItem ("in different room") HRT.AddItem ("anywhere in the lab") HRT.AddItem ("in the bathroom") HRT.AddItem ("in different room") CUL.AddItem ("anywhere in the lab") CUL.AddItem ("in the bathroom") CUL.AddItem ("in different room") Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "manm", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub REF_Click() HR.Text = " " UR.Text = " " SR.Text = " " SER.Text = " " STR.Text = " " BR.Text = " " LIF.Text = " " SPU.Text = " " WID.Text = " " HRT.Text = " " CUL.Text = " " HR.SetFocus End Sub Private Sub SA_Click() rss.AddNew rss!haematologyreport = HR.Text rss!urinereport = UR.Text rss!semenreport = SR.Text rss!serologyreport = SER.Text rss!stoolreport = STR.Text rss!biochemistryreport = BR.Text rss!livertest = LIF.Text rss!sputumreport = SPU.Text rss!widaltest = WID.Text

118

rss!hearttest = HRT.Text rss!culture = CUL.Text rss.Update MsgBox ("recordsaved") End Sub

PATIENT FORM

119

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "pati1", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub REF_Click() PAN.Text = " " NA.Text = " " AG.Text = " " DAT.Text = " " RE.Text = " " SE.Text = " " PAN.SetFocus End Sub Private Sub SA_Click() rss.AddNew rss!patientno = PAN.Text rss!Name = NA.Text rss!age = AG.Text rss!dated = DAT.Text rss!refdoctor = RE.Text rss!sex = SE.Text rss.Save MsgBox ("recordsaved") End Sub

120

URINE REPORT

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() AP.AddItem ("clear") AP.AddItem ("turbid") AP.AddItem ("semiturbid") RE.AddItem ("acidic") RE.AddItem ("alcoline") SU.AddItem ("nill") SU.AddItem ("0.5%") SU.AddItem ("0.6%") SU.AddItem ("0.7%") SU.AddItem ("0.8%") SU.AddItem ("0.9%") SU.AddItem ("1.0%") SU.AddItem ("1.1%") SU.AddItem ("1.2%") SU.AddItem ("1.3%") SU.AddItem ("1.4%") SU.AddItem ("1.5%") SU.AddItem ("1.6%") SU.AddItem ("1.7%") SU.AddItem ("1.8%") SU.AddItem ("1.9%") SU.AddItem ("2.0%") CO.AddItem ("paleyellow") CO.AddItem ("yellow") CO.AddItem ("deepyellow") AL.AddItem ("nill") AL.AddItem ("0.5%") AL.AddItem ("0.6%") AL.AddItem ("0.7%")

121

AL.AddItem ("0.8%") AL.AddItem ("0.9%") AL.AddItem ("1.0%") AL.AddItem ("1.1%") AL.AddItem ("1.2%") AL.AddItem ("1.3%") AL.AddItem ("1.4%") AL.AddItem ("1.5%") AL.AddItem ("1.6%") AL.AddItem ("1.7%") AL.AddItem ("1.8%") AL.AddItem ("1.9%") AL.AddItem ("2.0%") CA.AddItem ("puscell") CA.AddItem ("redbloodcell") CA.AddItem ("epithelialcell") PUC.AddItem ("occasional") PUC.AddItem ("rear") PUC.AddItem ("2-4") PUC.AddItem ("4-6") PUC.AddItem ("6-8") PUC.AddItem ("8-10") PUC.AddItem ("10-12") PUC.AddItem ("12-14") PUC.AddItem ("14-16") PUC.AddItem ("16-18") PUC.AddItem ("18-20") PUC.AddItem ("20-22") PUC.AddItem ("22-24") PUC.AddItem ("24-26") PUC.AddItem ("26-28") PUC.AddItem ("28-30") PUC.AddItem ("above") RBC.AddItem ("occasional") RBC.AddItem ("rear") RBC.AddItem ("2-4") RBC.AddItem ("4-6") RBC.AddItem ("6-8") RBC.AddItem ("8-10") RBC.AddItem ("10-12") RBC.AddItem ("12-14") RBC.AddItem ("14-16") RBC.AddItem ("16-18")

122

RBC.AddItem ("18-20") RBC.AddItem ("20-22") RBC.AddItem ("22-24") RBC.AddItem ("24-26") RBC.AddItem ("26-28") RBC.AddItem ("28-30") RBC.AddItem ("above") EPI.AddItem ("occasional") EPI.AddItem ("rear") EPI.AddItem ("2-4") EPI.AddItem ("4-6") EPI.AddItem ("6-8") EPI.AddItem ("8-10") EPI.AddItem ("10-12") EPI.AddItem ("12-14") EPI.AddItem ("14-16") EPI.AddItem ("16-18") EPI.AddItem ("18-20") EPI.AddItem ("20-22") EPI.AddItem ("22-24") EPI.AddItem ("24-26") EPI.AddItem ("26-28") EPI.AddItem ("28-30") EPI.AddItem ("above") CRYS.AddItem ("calcium") CRYS.AddItem ("oxalate") CRYS.AddItem ("uricacid") CRYS.AddItem ("2-4") CRYS.AddItem ("4-6") CRYS.AddItem ("6-8") CRYS.AddItem ("8-10") CRYS.AddItem ("above") CRYS.AddItem ("+") CRYS.AddItem ("++") CRYS.AddItem ("+++") CRYS.AddItem ("++++") CRYS.AddItem ("above") AMO.AddItem ("+") AMO.AddItem ("++") AMO.AddItem ("+++") AMO.AddItem ("++++") AMO.AddItem ("above")

123

TRI.AddItem ("+") TRI.AddItem ("++") TRI.AddItem ("+++") TRI.AddItem ("++++") TRI.AddItem ("above")

Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "uri", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub REF_Click() PA.Text = " " NA.Text = " " AP.Text = " " CO.Text = " " RE.Text = " " AL.Text = " " SU.Text = " " CA.Text = " " PUC.Text = " " RBC.Text = " " EPI.Text = " " CRYS.Text = " " AMO.Text = " " TRI.Text = " " PA.SetFocus End Sub Private Sub SA_Click() rss.AddNew rss!patientno = PA.Text rss!Name = NA.Text rss!Appearance = AP.Text rss!colour = CO.Text rss!reaction = RE.Text rss!albumin = AL.Text rss!sugar = SU.Text rss!casts = CA.Text rss!puscell = PUC.Text rss!redbloodcell = RBC.Text rss!epithelialcell = EPI.Text

124

rss!crystals = CRYS.Text rss!amorurates = AMO.Text rss!trichomonas = TRI.Text rss.Save MsgBox ("recordsaved") End Sub

125

HAEMOTOLOGY REPORT Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() HA.AddItem ("11gms") HA.AddItem ("12mgs") HA.AddItem ("13mgs") HA.AddItem ("14gms") HA.AddItem ("15mgs") HA.AddItem ("16mgs") HA.AddItem ("17gms") HA.AddItem ("18mgs") HA.AddItem ("above") RC.AddItem ("4.5*10./cmm") RC.AddItem ("4.6*10./cmm") RC.AddItem ("4.7*10./cmm") RC.AddItem ("4.8*10./cmm") RC.AddItem ("4.9*10./cmm") RC.AddItem ("5.0*10./cmm") RC.AddItem ("5.1*10./cmm") RC.AddItem ("5.2*10./cmm") RC.AddItem ("5.3*10./cmm") RC.AddItem ("5.4*10./cmm") RC.AddItem ("5.5*10./cmm") RC.AddItem ("5.6*10./cmm") RC.AddItem ("5.7*10./cmm") RC.AddItem ("5.8*10./cmm") RC.AddItem ("5.9*10./cmm") RC.AddItem ("6.0*10./cmm") RC.AddItem ("6.1*10./cmm") RC.AddItem ("6.2*10./cmm") RC.AddItem ("6.3*10./cmm") RC.AddItem ("6.4*10./cmm") RC.AddItem ("6.5*10./cmm") RC.AddItem ("above")

126

ES.AddItem ("0mm") ES.AddItem ("1mm") ES.AddItem ("2mm") ES.AddItem ("3mm") ES.AddItem ("4mm") ES.AddItem ("5mm") ES.AddItem ("6mm") ES.AddItem ("7mm") ES.AddItem ("8mm") ES.AddItem ("9mm") ES.AddItem ("10mm") ES.AddItem ("11mm") ES.AddItem ("12mm") ES.AddItem ("13mm") ES.AddItem ("14mm") ES.AddItem ("14mm") ES.AddItem ("15mm") ES.AddItem ("16mm") ES.AddItem ("17mm") ES.AddItem ("18mm") ES.AddItem ("19mm") ES.AddItem ("20mm") ES.AddItem ("above") PC.AddItem ("1.5lacs/cmm") PC.AddItem ("1.6lacs/cmm") PC.AddItem ("1.7lacs/cmm") PC.AddItem ("1.8lacs/cmm") PC.AddItem ("1.9lacs/cmm") PC.AddItem ("2.0lacs/cmm") PC.AddItem ("2.1lacs/cmm") PC.AddItem ("2.2lacs/cmm") PC.AddItem ("2.3lacs/cmm") PC.AddItem ("2.4lacs/cmm") PC.AddItem ("2.5lacs/cmm") PC.AddItem ("2.6lacs/cmm") PC.AddItem ("2.6lacs/cmm") PC.AddItem ("2.7lacs/cmm") PC.AddItem ("2.8lacs/cmm") PC.AddItem ("2.9lacs/cmm") PC.AddItem ("3.0lacs/cmm") PC.AddItem ("3.1lacs/cmm") PC.AddItem ("3.2lacs/cmm") PC.AddItem ("3.3lacs/cmm") PC.AddItem ("3.4lacs/cmm") PC.AddItem ("3.5lacs/cmm")

127

PC.AddItem ("3.6lacs/cmm") PC.AddItem ("3.8lacs/cmm") PC.AddItem ("3.9lacs/cmm") PC.AddItem ("4.0lacs/cmm") PC.AddItem ("4.1lacs/cmm") PC.AddItem ("4.2lacs/cmm") PC.AddItem ("4.3lacs/cmm") PC.AddItem ("4.4lacs/cmm") PC.AddItem ("4.5lacs/cmm") PC.AddItem ("above") TL.AddItem ("4000/cmm") TL.AddItem ("5000/cmm") TL.AddItem ("6000/cmm") TL.AddItem ("7000/cmm") TL.AddItem ("8000/cmm") TL.AddItem ("9000/cmm") TL.AddItem ("10000/cmm") TL.AddItem ("11000/cmm") TL.AddItem ("12000/cmm") TL.AddItem ("above") NEU.AddItem ("40") NEU.AddItem ("50") NEU.AddItem ("40") NEU.AddItem ("60") NEU.AddItem ("70") NEU.AddItem ("above") LYM.AddItem ("20") LYM.AddItem ("30") LYM.AddItem ("40") LYM.AddItem ("above") MON.AddItem ("2") MON.AddItem ("3") MON.AddItem ("4") MON.AddItem ("5") MON.AddItem ("6") MON.AddItem ("7") MON.AddItem ("8") MON.AddItem ("9") MON.AddItem ("10") MON.AddItem ("above") RT.AddItem ("1.6lacs")

128

RT.AddItem ("1.7lacs") RT.AddItem ("1.8lacs") RT.AddItem ("1.6lacs") RT.AddItem ("1.7lacs") RT.AddItem ("1.8lacs") RT.AddItem ("1.9lacs") RT.AddItem ("2.0lacs") RT.AddItem ("2.1lacs") RT.AddItem ("2.2lacs") RT.AddItem ("2.3lacs") RT.AddItem ("2.4lacs") RT.AddItem ("2.5lacs") RT.AddItem ("2.6lacs") RT.AddItem ("2.7lacs") RT.AddItem ("2.8lacs") RT.AddItem ("2.9lacs") RT.AddItem ("3.0lacs") RT.AddItem ("3.1lacs") RT.AddItem ("3.2lacs") RT.AddItem ("3.3lacs") RT.AddItem ("3.4lacs") RT.AddItem ("3.5lacs") RT.AddItem ("3.6lacs") RT.AddItem ("3.7lacs") RT.AddItem ("3.8lacs") RT.AddItem ("3.9lacs") RT.AddItem ("4.0lacs") RT.AddItem ("4.1lacs") RT.AddItem ("4.2lacs") RT.AddItem ("4.3lacs") RT.AddItem ("4.4lacs") RT.AddItem ("4.5lacs") RT.AddItem ("above") BG.AddItem ("a+") BG.AddItem ("b+") BG.AddItem ("o+") BG.AddItem ("ab+") BG.AddItem ("a-") BG.AddItem ("b-") BG.AddItem ("o-") BG.AddItem ("ab-") CT.AddItem ("5 min") CT.AddItem ("6 min") CT.AddItem ("7 min")

129

CT.AddItem ("8 min") CT.AddItem ("9 min") CT.AddItem ("10 min") CT.AddItem ("above") Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "haema", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub REF_Click() PA.Text = " " NA.Text = " " HA.Text = " " RC.Text = " " PC.Text = " " RT.Text = " " CT.Text = " " TL.Text = " " BG.Text = " " ES.Text = " " NEU.Text = " " LYM.Text = " " MON.Text = " " PA.SetFocus End Sub Private Sub SA_Click() rss.AddNew rss!patientno = PA.Text rss!Name = NA.Text rss!haemoglobin = HA.Text rss!redcellcount = RC.Text rss!plateletcount = PC.Text rss!reticulocytes = RT.Text rss!clottingtime = CT.Text rss!tlc = TL.Text rss!bloodgroup = BG.Text rss!esr = ES.Text rss!neutrophills = NEU.Text rss!lymphocytes = LYM.Text rss!monocytes = MON.Text rss.Save MsgBox ("recordsaved")

130

End Sub

131

SEROLOGY REPORT

Dim cnn As ADODB.Cnnectiono Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() PR.AddItem ("positive") PR.AddItem ("negative") AH.AddItem ("positive") AH.AddItem ("negative") RA.AddItem ("positive") RA.AddItem ("negative") VD.AddItem ("positive") VD.AddItem ("negative") CR.AddItem ("positive") CR.AddItem ("negative") AT.AddItem ("positive") AT.AddItem ("negative") HT.AddItem ("positive") HT.AddItem ("negative") KAH.AddItem ("positive") KAH.AddItem ("negative") TOX.AddItem ("positive") TOX.AddItem ("negative") HBS.AddItem ("positive") HBS.AddItem ("negative")

132

SPF.AddItem ("positive") SPF.AddItem ("negative") MAT.AddItem ("positive") MAT.AddItem ("negative") Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "sero2", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub REF_Click() PA.Text = " " NA.Text = "" PR.Text = " " AH.Text = " " RA.Text = " " VD.Text = " " CR.Text = " " AT.Text = " " HT.Text = " " KAH.Text = " " TOX.Text = " " HBS.Text = " " SPF.Text = " " MAT.Text = " " PA.SetFocus End Sub Private Sub SA_Click() rss.AddNew rss!patientno = PA.Text rss!Name = NA.Text rss!pregnancy = PR.Text rss!antihcv = AH.Text rss!rafactor = RA.Text rss!vdrl = VD.Text rss!crprotein = CR.Text rss!asotitre = AT.Text rss!hivtest = HT.Text rss!kahn = KAH.Text

133

rss!toxoplasmosis = TOX.Text rss!hbsaghepatitisb = HBS.Text rss!spforafb = SPF.Text rss!mantouxtest = MAT.Text rss.Save MsgBox ("recordsaved") End Sub

134

BIOCHEMISTRY REPORT

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() BS.AddItem ("60mg/dl") BS.AddItem ("61mg/dl") BS.AddItem ("62mg/dl") BS.AddItem ("63mg/dl") BS.AddItem ("64mg/dl") BS.AddItem ("65mg/dl") BS.AddItem ("66mg/dl") BS.AddItem ("67mg/dl") BS.AddItem ("68mg/dl") BS.AddItem ("69mg/dl") BS.AddItem ("70mg/dl") BS.AddItem ("71mg/dl") BS.AddItem ("72mg/dl") BS.AddItem ("73mg/dl") BS.AddItem ("74mg/dl") BS.AddItem ("75mg/dl") BS.AddItem ("76mg/dl") BS.AddItem ("77mg/dl") BS.AddItem ("78mg/dl") BS.AddItem ("79mg/dl") BS.AddItem ("80mg/dl") BS.AddItem ("81mg/dl") BS.AddItem ("82mg/dl") BS.AddItem ("83mg/dl") BS.AddItem ("84mg/dl") BS.AddItem ("85mg/dl") BS.AddItem ("86mg/dl") BS.AddItem ("87mg/dl") BS.AddItem ("88mg/dl") BS.AddItem ("89mg/dl") BS.AddItem ("90mg/dl") BS.AddItem ("91mg/dl")

135

BS.AddItem ("92mg/dl") BS.AddItem ("93mg/dl") BS.AddItem ("94mg/dl") BS.AddItem ("95mg/dl") BS.AddItem ("96mg/dl") BS.AddItem ("97mg/dl") BS.AddItem ("98mg/dl") BS.AddItem ("99mg/dl") BS.AddItem ("100mg/dl") BS.AddItem ("101mg/dl") BS.AddItem ("102mg/dl") BS.AddItem ("103mg/dl") BS.AddItem ("104mg/dl") BS.AddItem ("105mg/dl") BS.AddItem ("106mg/dl") BS.AddItem ("107mg/dl") BS.AddItem ("108mg/dl") BS.AddItem ("109mg/dl") BS.AddItem ("110mg/dl") BS.AddItem ("111mg/dl") BS.AddItem ("112mg/dl") BS.AddItem ("113mg/dl") BS.AddItem ("114mg/dl") BS.AddItem ("115mg/dl") BS.AddItem ("116mg/dl") BS.AddItem ("117mg/dl") BS.AddItem ("118mg/dl") BS.AddItem ("119mg/dl") BS.AddItem ("120mg/dl") BS.AddItem ("above") BU.AddItem ("15mg/dl") BU.AddItem ("16mg/dl") BU.AddItem ("17mg/dl") BU.AddItem ("18mg/dl") BU.AddItem ("19mg/dl") BU.AddItem ("20mg/dl") BU.AddItem ("21mg/dl") BU.AddItem ("22mg/dl") BU.AddItem ("23mg/dl") BU.AddItem ("24mg/dl") BU.AddItem ("25mg/dl") BU.AddItem ("26mg/dl") BU.AddItem ("27mg/dl") BU.AddItem ("28mg/dl") BU.AddItem ("29mg/dl")

136

BU.AddItem ("30mg/dl") BU.AddItem ("31mg/dl") BU.AddItem ("32mg/dl") BU.AddItem ("33mg/dl") BU.AddItem ("34mg/dl") BU.AddItem ("35mg/dl") BU.AddItem ("36mg/dl") BU.AddItem ("37mg/dl") BU.AddItem ("38mg/dl") BU.AddItem ("39mg/dl") BU.AddItem ("40mg/dl") BU.AddItem ("above") SO.AddItem ("136mEq/l") SO.AddItem ("137mEq/l") SO.AddItem ("138mEq/l") SO.AddItem ("139mEq/l") SO.AddItem ("140mEq/l") SO.AddItem ("141mEq/l") SO.AddItem ("142mEq/l") SO.AddItem ("143mEq/l") SO.AddItem ("144mEq/l") SO.AddItem ("145mEq/l") SO.AddItem ("146mEq/l") SO.AddItem ("147mEq/l") SO.AddItem ("148mEq/l") SO.AddItem ("149mEq/l") SO.AddItem ("above") PO.AddItem ("3.8mEq/l") PO.AddItem ("3.9mEq/l") PO.AddItem ("4.0mEq/l") PO.AddItem ("4.1mEq/l") PO.AddItem ("4.2mEq/l") PO.AddItem ("4.3mEq/l") PO.AddItem ("4.4mEq/l") PO.AddItem ("4.5mEq/l") PO.AddItem ("4.6mEq/l") PO.AddItem ("4.7mEq/l") PO.AddItem ("4.8mEq/l") PO.AddItem ("4.9mEq/l") PO.AddItem ("5.0mEq/l") PO.AddItem ("5.1mEq/l") PO.AddItem ("5.2mEq/l") PO.AddItem ("above")

137

SU.AddItem ("1.5mg/dl") SU.AddItem ("1.6mg/dl") SU.AddItem ("1.7mg/dl") SU.AddItem ("1.8mg/dl") SU.AddItem ("1.9mg/dl") SU.AddItem ("2.0mg/dl") SU.AddItem ("2.1mg/dl") SU.AddItem ("2.2mg/dl") SU.AddItem ("2.3mg/dl") SU.AddItem ("2.4mg/dl") SU.AddItem ("2.5mg/dl") SU.AddItem ("2.6mg/dl") SU.AddItem ("2.7mg/dl") SU.AddItem ("2.8mg/dl") SU.AddItem ("2.9mg/dl") SU.AddItem ("3.0mg/dl") SU.AddItem ("3.1mg/dl") SU.AddItem ("3.2mg/dl") SU.AddItem ("3.3mg/dl") SU.AddItem ("3.4mg/dl") SU.AddItem ("3.5mg/dl") SU.AddItem ("3.6mg/dl") SU.AddItem ("3.7mg/dl") SU.AddItem ("3.8mg/dl") SU.AddItem ("3.9mg/dl") SU.AddItem ("4.0mg/dl") SU.AddItem ("4.1mg/dl") SU.AddItem ("4.2mg/dl") SU.AddItem ("4.3mg/dl") SU.AddItem ("4.4mg/dl") SU.AddItem ("4.5mg/dl") SU.AddItem ("4.6mg/dl") SU.AddItem ("4.7mg/dl") SU.AddItem ("4.8mg/dl") SU.AddItem ("4.9mg/dl") SU.AddItem ("5.0mg/dl") SU.AddItem ("5.1mg/dl") SU.AddItem ("5.2mg/dl") SU.AddItem ("5.3mg/dl") SU.AddItem ("5.4mg/dl") SU.AddItem ("5.5mg/dl") SU.AddItem ("5.6mg/dl") SU.AddItem ("5.7mg/dl") SU.AddItem ("5.8mg/dl") SU.AddItem ("5.9mg/dl") SU.AddItem ("6.0mg/dl")

138

SU.AddItem ("6.1mg/dl") SU.AddItem ("6.2mg/dl") SU.AddItem ("6.3mg/dl") SU.AddItem ("6.4mg/dl") SU.AddItem ("6.5mg/dl") SU.AddItem ("6.6mg/dl") SU.AddItem ("6.7mg/dl") SU.AddItem ("6.8mg/dl") SU.AddItem ("6.9mg/dl") SU.AddItem ("7.0mg/dl") SU.AddItem ("above") CAL.AddItem ("9.0mg/dl") CAL.AddItem ("9.1mg/dl") CAL.AddItem ("9.2mg/dl") CAL.AddItem ("9.3mg/dl") CAL.AddItem ("9.4mg/dl") CAL.AddItem ("9.5mg/dl") CAL.AddItem ("9.6mg/dl") CAL.AddItem ("9.7mg/dl") CAL.AddItem ("9.8mg/dl") CAL.AddItem ("9.9mg/dl") CAL.AddItem ("10.0mg/dl") CAL.AddItem ("10.1mg/dl") CAL.AddItem ("10.2mg/dl") CAL.AddItem ("10.3mg/dl") CAL.AddItem ("10.4mg/dl") CAL.AddItem ("10.5mg/dl") CAL.AddItem ("10.6mg/dl") CAL.AddItem ("10.7mg/dl") CAL.AddItem ("10.8mg/dl") CAL.AddItem ("10.9mg/dl") CAL.AddItem ("11.0mg/dl") CAL.AddItem ("above") PHO.AddItem ("2.5mg/dl") PHO.AddItem ("2.6mg/dl") PHO.AddItem ("2.5mg/dl") PHO.AddItem ("2.7mg/dl") PHO.AddItem ("2.8mg/dl") PHO.AddItem ("2.9mg/dl") PHO.AddItem ("3.0mg/dl") PHO.AddItem ("3.1mg/dl") PHO.AddItem ("3.2mg/dl") PHO.AddItem ("3.3mg/dl") PHO.AddItem ("3.4mg/dl")

139

PHO.AddItem ("3.5mg/dl") PHO.AddItem ("3.6mg/dl") PHO.AddItem ("3.7mg/dl") PHO.AddItem ("3.8mg/dl") PHO.AddItem ("3.9mg/dl") PHO.AddItem ("4.0mg/dl") PHO.AddItem ("4.1mg/dl") PHO.AddItem ("4.3mg/dl") PHO.AddItem ("4.4mg/dl") PHO.AddItem ("4.5mg/dl") PHO.AddItem ("4.6mg/dl") PHO.AddItem ("4.7mg/dl") PHO.AddItem ("4.8mg/dl") PHO.AddItem ("4.9mg/dl") PHO.AddItem ("5.0mg/dl") PHO.AddItem ("above") MAG.AddItem ("1.7mg/dl") MAG.AddItem ("1.8mg/dl") MAG.AddItem ("1.9mg/dl") MAG.AddItem ("2.0mg/dl") MAG.AddItem ("2.1mg/dl") MAG.AddItem ("2.2mg/dl") MAG.AddItem ("2.3mg/dl") MAG.AddItem ("2.4mg/dl") MAG.AddItem ("2.5mg/dl") MAG.AddItem ("2.6mg/dl") MAG.AddItem ("above") RBS.AddItem ("150mg/dl") RBS.AddItem ("160mg/dl") RBS.AddItem ("170mg/dl") RBS.AddItem ("180mg/dl") RBS.AddItem ("190mg/dl") RBS.AddItem ("200mg/dl") RBS.AddItem ("210mg/dl") RBS.AddItem ("220mg/dl") RBS.AddItem ("230mg/dl") RBS.AddItem ("240mg/dl") RBS.AddItem ("250mg/dl") RBS.AddItem ("above") SC.AddItem ("0.8mg/dl") SC.AddItem ("0.9mg/dl") SC.AddItem ("1.1mg/dl") SC.AddItem ("1.2mg/dl")

140

SC.AddItem ("1.3mg/dl") SC.AddItem ("1.4mg/dl") SC.AddItem ("above") SCH.AddItem ("96mg/dl") SCH.AddItem ("97mg/dl") SCH.AddItem ("98mg/dl") SCH.AddItem ("99mg/dl") SCH.AddItem ("100mg/dl") SCH.AddItem ("101mg/dl") SCH.AddItem ("102mg/dl") SCH.AddItem ("103mg/dl") SCH.AddItem ("104mg/dl") SCH.AddItem ("105mg/dl") SCH.AddItem ("106mg/dl") SCH.AddItem ("above") ACP.AddItem ("1 k.a.unit/dl") ACP.AddItem ("2 k.a.unit/dl") ACP.AddItem ("3 k.a.unit/dl") ACP.AddItem ("4 k.a.unit/dl") ACP.AddItem ("above")

Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "bioch1", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub REF_Click() PA.Text = " " NA.Text = "" BS.Text = " " BU.Text = " " PO.Text = " " SO.Text = " " SU.Text = " " CAL.Text = " " PHO.Text = " " MAG.Text = " " RBS.Text = " "

141

SC.Text = " " SCH.Text = " " ACP.Text = " " PA.SetFocus End Sub Private Sub SA_Click() rss.AddNew rss!patientno = PA.Text rss!Name = NA.Text rss!bloodsugar = BS.Text rss!bloodurea = BU.Text rss!sodium = SO.Text rss!potassium = PO.Text rss!uricacid = SU.Text rss!calcium = CAL.Text rss!phosphorus = PHO.Text rss!magnesium = MAG.Text rss!rbsugar = RBS.Text rss!screatinine = SC.Text rss!schloride = SCH.Text rss!acidphosp = ACP.Text rss.Save MsgBox ("recordsaved") End Sub

142

STOOL PEPORT Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() COL.AddItem ("brownish") COL.AddItem ("yellowish") CO.AddItem ("solid") CO.AddItem ("semisolid") CO.AddItem ("watery") CY.AddItem ("E.Histalytics") CY.AddItem ("giadia") CY.AddItem ("amblia") MU.AddItem ("nill") MU.AddItem ("+") MU.AddItem ("++") MU.AddItem ("+++") MU.AddItem ("++++") PU.AddItem ("nill") PU.AddItem ("1-2") PU.AddItem ("2-4") PU.AddItem ("4-6") PU.AddItem ("6-8") PU.AddItem ("8-10") PU.AddItem ("above") RB.AddItem ("nill") RB.AddItem ("1-2") RB.AddItem ("2-4") RB.AddItem ("4-6") RB.AddItem ("6-8") RB.AddItem ("8-10") RB.AddItem ("above")

143

BLO.AddItem ("nil") BLO.AddItem ("+") BLO.AddItem ("++") BLO.AddItem ("+++") BLO.AddItem ("++++") STR.AddItem ("nil") STR.AddItem ("+") STR.AddItem ("++") STR.AddItem ("+++") STR.AddItem ("++++") ST.AddItem ("nil") ST.AddItem ("+") ST.AddItem ("++") ST.AddItem ("+++") ST.AddItem ("++++") OCC.AddItem ("negative") OCC.AddItem ("positive") OCC.AddItem ("+") OCC.AddItem ("++") OCC.AddItem ("+++") OCC.AddItem ("++++") STOF.AddItem ("acidic below 5.0") STOF.AddItem ("normal 6.0") STOF.AddItem ("6.1") STOF.AddItem ("6.2") STOF.AddItem ("6.3") STOF.AddItem ("6.4") STOF.AddItem ("6.5") STOF.AddItem ("6.6") STOF.AddItem ("6.7") STOF.AddItem ("6.8") STOF.AddItem ("alkaline 7.0 is above") RES.AddItem ("nil") RES.AddItem ("+") RES.AddItem ("++") RES.AddItem ("+++") RES.AddItem ("++++")

144

Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "sto", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub REF_Click() PA.Text = " " NA.Text = " " COL.Text = " " CO.Text = " " CY.Text = " " MU.Text = " " PU.Text = " " RB.Text = " " BLO.Text = " " STR.Text = " " ST.Text = " " OCC.Text = " " STOF.Text = " " RES.Text = " " PA.SetFocus End Sub Private Sub SA_Click() rss.AddNew rss!patientno = PA.Text rss!Name = NA.Text rss!colour = COL.Text rss!consistancy = CO.Text rss!cysts = CY.Text rss!mucus = MU.Text rss!puscell = PU.Text rss!redbloodcell = RB.Text rss!blood = BLO.Text rss!starchcell = STR.Text rss!starchfibers = ST.Text rss!occultblood = OCC.Text rss!stoolforph = STOF.Text rss!reducingsubstances = RES.Text rss.Save MsgBox ("recordsaved") End Sub

145

SEMEN REPORT

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() VOL.AddItem ("2ml") VOL.AddItem ("3ml") VOL.AddItem ("4ml") VOL.AddItem ("5ml") VOL.AddItem ("6ml") VOL.AddItem ("7ml") VOL.AddItem ("8ml") VOL.AddItem ("above") VIS.AddItem ("normal") VIS.AddItem ("abnormal") CO.AddItem ("graynish white") CO.AddItem ("light pale yellow") LIQ.AddItem ("10 min") LIQ.AddItem ("11 min") LIQ.AddItem ("12 min") LIQ.AddItem ("13 min") LIQ.AddItem ("14 min") LIQ.AddItem ("15 min") LIQ.AddItem ("16 min") LIQ.AddItem ("17 min") LIQ.AddItem ("18 min") LIQ.AddItem ("19 min") LIQ.AddItem ("20 min") LIQ.AddItem ("21 min") LIQ.AddItem ("22 min") LIQ.AddItem ("23 min")

146

LIQ.AddItem ("24 min") LIQ.AddItem ("25 min") LIQ.AddItem ("26 min") LIQ.AddItem ("27 min") LIQ.AddItem ("28 min") LIQ.AddItem ("29 min") LIQ.AddItem ("30 min") AM.AddItem ("60 normal") AM.AddItem ("20%") AM.AddItem ("30%") AM.AddItem ("40%") AM.AddItem ("50%") COU.AddItem ("80million/cmm") COU.AddItem ("81million/cmm") COU.AddItem ("82million/cmm") COU.AddItem ("83million/cmm") COU.AddItem ("84million/cmm") COU.AddItem ("85million/cmm") COU.AddItem ("86million/cmm") COU.AddItem ("87million/cmm") COU.AddItem ("88million/cmm") COU.AddItem ("89million/cmm") COU.AddItem ("90million/cmm") COU.AddItem ("91million/cmm") COU.AddItem ("92million/cmm") COU.AddItem ("93million/cmm") COU.AddItem ("94million/cmm") COU.AddItem ("95million/cmm") COU.AddItem ("96million/cmm") COU.AddItem ("97million/cmm") COU.AddItem ("98million/cmm") COU.AddItem ("99million/cmm") COU.AddItem ("100million/cmm") COU.AddItem ("101million/cmm") COU.AddItem ("102million/cmm") COU.AddItem ("103million/cmm") COU.AddItem ("104million/cmm") COU.AddItem ("105million/cmm") COU.AddItem ("106million/cmm") COU.AddItem ("107million/cmm") COU.AddItem ("108million/cmm") COU.AddItem ("109million/cmm") COU.AddItem ("110million/cmm") COU.AddItem ("111million/cmm")

147

COU.AddItem ("112million/cmm") COU.AddItem ("113million/cmm") COU.AddItem ("114million/cmm") COU.AddItem ("115million/cmm") COU.AddItem ("116million/cmm") COU.AddItem ("117million/cmm") COU.AddItem ("118million/cmm") COU.AddItem ("119million/cmm") COU.AddItem ("120million/cmm") COU.AddItem ("121million/cmm") COU.AddItem ("122million/cmm") COU.AddItem ("123million/cmm") COU.AddItem ("124million/cmm") COU.AddItem ("125million/cmm") COU.AddItem ("126million/cmm") COU.AddItem ("127million/cmm") COU.AddItem ("128million/cmm") COU.AddItem ("129million/cmm") COU.AddItem ("130million/cmm") COU.AddItem ("131million/cmm") COU.AddItem ("132million/cmm") COU.AddItem ("133million/cmm") COU.AddItem ("134million/cmm") COU.AddItem ("135million/cmm") COU.AddItem ("136million/cmm") COU.AddItem ("137million/cmm") COU.AddItem ("138million/cmm") COU.AddItem ("139million/cmm") COU.AddItem ("140million/cmm") COU.AddItem ("141million/cmm") COU.AddItem ("142million/cmm") COU.AddItem ("143million/cmm") COU.AddItem ("144million/cmm") COU.AddItem ("145million/cmm") COU.AddItem ("146million/cmm") COU.AddItem ("147million/cmm") COU.AddItem ("148million/cmm") COU.AddItem ("149million/cmm") COU.AddItem ("150million/cmm") COU.AddItem ("151million/cmm") COU.AddItem ("152million/cmm") COU.AddItem ("153million/cmm") COU.AddItem ("154million/cmm") COU.AddItem ("155million/cmm") COU.AddItem ("156million/cmm") COU.AddItem ("157million/cmm")

148

COU.AddItem ("158million/cmm") COU.AddItem ("159million/cmm") COU.AddItem ("160million/cmm") COU.AddItem ("161million/cmm") COU.AddItem ("162million/cmm") COU.AddItem ("163million/cmm") COU.AddItem ("164million/cmm") COU.AddItem ("165million/cmm") COU.AddItem ("166million/cmm") COU.AddItem ("167million/cmm") COU.AddItem ("168million/cmm") COU.AddItem ("169million/cmm") COU.AddItem ("170million/cmm") COU.AddItem ("171million/cmm") COU.AddItem ("172million/cmm") COU.AddItem ("173million/cmm") COU.AddItem ("174million/cmm") COU.AddItem ("175million/cmm") COU.AddItem ("176million/cmm") COU.AddItem ("177million/cmm") COU.AddItem ("178million/cmm") COU.AddItem ("179million/cmm") COU.AddItem ("180million/cmm") COU.AddItem ("above") SL.AddItem ("6%") SL.AddItem ("7%") SL.AddItem ("8%") SL.AddItem ("9%") SL.AddItem ("10%") DE.AddItem ("6%") DE.AddItem ("7%") DE.AddItem ("8%") DE.AddItem ("9%") DE.AddItem ("10%") DE.AddItem ("11%") DE.AddItem ("12%") DE.AddItem ("13%") DE.AddItem ("14%") DE.AddItem ("15%") DE.AddItem ("16%") DE.AddItem ("17%") DE.AddItem ("18%") DE.AddItem ("19%") DE.AddItem ("20%")

149

DE.AddItem ("21%") DE.AddItem ("22%") DE.AddItem ("23%") DE.AddItem ("24%") DE.AddItem ("25%") DE.AddItem ("26%") DE.AddItem ("27%") DE.AddItem ("28%") DE.AddItem ("29%") DE.AddItem ("30%") MOT.AddItem ("6%") MOT.AddItem ("7%") MOT.AddItem ("8%") MOT.AddItem ("9%") MOT.AddItem ("10%") MOT.AddItem ("11%") MOT.AddItem ("12%") MOT.AddItem ("13%") MOT.AddItem ("14%") MOT.AddItem ("15%") MOT.AddItem ("16%") MOT.AddItem ("17%") MOT.AddItem ("18%") MOT.AddItem ("19%") MOT.AddItem ("20%") MOT.AddItem ("21%") MOT.AddItem ("22%") MOT.AddItem ("23%") MOT.AddItem ("24%") MOT.AddItem ("25%") MOT.AddItem ("26%") MOT.AddItem ("27%") MOT.AddItem ("28%") MOT.AddItem ("29%") MOT.AddItem ("30%") MOT.AddItem ("31%") MOT.AddItem ("32%") MOT.AddItem ("33%") MOT.AddItem ("34%") MOT.AddItem ("35%") MOT.AddItem ("36%") MOT.AddItem ("37%") MOT.AddItem ("38%") MOT.AddItem ("39%") MOT.AddItem ("40%")

150

MOT.AddItem ("41%") MOT.AddItem ("42%") MOT.AddItem ("43%") MOT.AddItem ("44%") MOT.AddItem ("45%") MOT.AddItem ("46%") MOT.AddItem ("47%") MOT.AddItem ("48%") MOT.AddItem ("49%") MOT.AddItem ("50%") MOT.AddItem ("51%") MOT.AddItem ("52%") MOT.AddItem ("53%") MOT.AddItem ("54%") MOT.AddItem ("55%") MOT.AddItem ("56%") MOT.AddItem ("57%") MOT.AddItem ("58%") MOT.AddItem ("59%") MOT.AddItem ("60%") MOT.AddItem ("61%") MOT.AddItem ("62%") MOT.AddItem ("63%") MOT.AddItem ("64%") MOT.AddItem ("65%") MOT.AddItem ("66%") MOT.AddItem ("67%") MOT.AddItem ("68%") MOT.AddItem ("69%") MOT.AddItem ("70%") MOT.AddItem ("71%") MOT.AddItem ("72%") MOT.AddItem ("73%") MOT.AddItem ("74%") MOT.AddItem ("75%") MOT.AddItem ("76%") MOT.AddItem ("77%") MOT.AddItem ("78%") MOT.AddItem ("79%") MOT.AddItem ("80%") MOT.AddItem ("81%") MOT.AddItem ("82%") MOT.AddItem ("83%") MOT.AddItem ("84%") MOT.AddItem ("85%") MOT.AddItem ("86%")

151

MOT.AddItem ("87%") MOT.AddItem ("88%") MOT.AddItem ("89%") MOT.AddItem ("90%") MOT.AddItem ("91%") MOT.AddItem ("92%") MOT.AddItem ("93%") MOT.AddItem ("94%") MOT.AddItem ("95%") MOT.AddItem ("96%") MOT.AddItem ("97%") MOT.AddItem ("98%") MOT.AddItem ("99%") MOT.AddItem ("100%") RB.AddItem ("occasional") RB.AddItem ("1-2") RB.AddItem ("2-4") RB.AddItem ("4-6") RB.AddItem ("6-8") RB.AddItem ("8-10") RB.AddItem ("above") PU.AddItem ("occasional") PU.AddItem ("1-2") PU.AddItem ("2-4") PU.AddItem ("4-6") PU.AddItem ("6-8") PU.AddItem ("8-10") PU.AddItem ("above") MOR.AddItem ("normal") MOR.AddItem ("70%") MOR.AddItem ("71%") MOR.AddItem ("72%") MOR.AddItem ("73%") MOR.AddItem ("74%") MOR.AddItem ("75%") MOR.AddItem ("76%") MOR.AddItem ("77%") MOR.AddItem ("78%") MOR.AddItem ("79%") MOR.AddItem ("80%") MOR.AddItem ("81%") MOR.AddItem ("82%") MOR.AddItem ("83%")

152

MOR.AddItem ("84%") MOR.AddItem ("85%") MOR.AddItem ("86%") MOR.AddItem ("87%") MOR.AddItem ("88%") MOR.AddItem ("89%") MOR.AddItem ("90%") MOR.AddItem ("91%") MOR.AddItem ("92%") MOR.AddItem ("93%") MOR.AddItem ("94%") MOR.AddItem ("95%")

Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "E:\PAM\raj\LAB.mdb" rss.Open "seme1", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub REF_Click() PA.Text = " " NA.Text = "" VOL.Text = " " VIS.Text = " " CO.Text = " " LIQ.Text = " " AM.Text = " " COU.Text = " " SL.Text = " " DE.Text = " " MOT.Text = " " RB.Text = " " PU.Text = " " MOR.Text = " " PA.SetFocus End Sub

153

Private Sub SA_Click() rss.AddNew rss!patientno = PA.Text rss!Name = NA.Text rss!volume = VOL.Text rss!viscosity = VIS.Text rss!colour = CO.Text rss!liquefaction = LIQ.Text rss!activemotile = AM.Text rss!Count = COU.Text rss!sluggishmotile = SL.Text rss!dead = DE.Text rss!motility = MOT.Text rss!RBC = RB.Text rss!puscell = PU.Text rss!morphology = MOR.Text rss.Save MsgBox ("recordsaved") End Sub

154

SPUTUM REPORT

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "sput", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub REF_Click() PA.Text = " " NA.Text = " " pul.Value = False exp.Value = False dia.Value = False rex.Value = False fu.Value = False End Sub Private Sub SA_Click() rss.AddNew Dim cho As String If pul.Value = True Then cho = "pulmonary" End If If exp.Value = True Then cho = "extra pulmonary" End If Dim choi As String If dia.Value = True Then choi = "diagnosis" End If If rex.Value = True Then choi = "repeat examination for examination"

155

End If If fu.Value = True Then choi = "follow up of anit tb treatment" End If rss!typeofsuspect = cho rss!reasonforexam = choi rss!patientno = PA.Text rss!Name = NA.Text rss.Save MsgBox ("recordsaved") End Sub

156

LIVER FUNCTION

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() SB.AddItem ("0.1mg/dl") SB.AddItem ("0.2mg/dl") SB.AddItem ("0.3mg/dl") SB.AddItem ("0.4mg/dl") SB.AddItem ("0.5mg/dl") SB.AddItem ("0.6mg/dl") SB.AddItem ("0.8mg/dl") SB.AddItem ("0.9mg/dl") SB.AddItem ("1.0mg/dl") SB.AddItem ("above") SG.AddItem ("8mg/dl") SG.AddItem ("9mg/dl") SG.AddItem ("10mg/dl") SG.AddItem ("11mg/dl") SG.AddItem ("12mg/dl") SG.AddItem ("13mg/dl") SG.AddItem ("14mg/dl") SG.AddItem ("15mg/dl") SG.AddItem ("16mg/dl") SG.AddItem ("17mg/dl") SG.AddItem ("18mg/dl") SG.AddItem ("19mg/dl") SG.AddItem ("20mg/dl") SG.AddItem ("21mg/dl") SG.AddItem ("22mg/dl") SG.AddItem ("23mg/dl") SG.AddItem ("24mg/dl") SG.AddItem ("25mg/dl") SG.AddItem ("26mg/dl") SG.AddItem ("27mg/dl") SG.AddItem ("28mg/dl")

157

SG.AddItem ("29mg/dl") SG.AddItem ("30mg/dl") SG.AddItem ("31mg/dl") SG.AddItem ("32mg/dl") SG.AddItem ("33mg/dl") SG.AddItem ("34mg/dl") SG.AddItem ("35mg/dl") SG.AddItem ("36mg/dl") SG.AddItem ("37mg/dl") SG.AddItem ("38mg/dl") SG.AddItem ("39mg/dl") SG.AddItem ("40mg/dl") SG.AddItem ("above") SP.AddItem ("5mg/dl") SP.AddItem ("6mg/dl") SP.AddItem ("7mg/dl") SP.AddItem ("8mg/dl") SP.AddItem ("9mg/dl") SP.AddItem ("10mg/dl") SP.AddItem ("11mg/dl") SP.AddItem ("12mg/dl") SP.AddItem ("13mg/dl") SP.AddItem ("14mg/dl") SP.AddItem ("15mg/dl") SP.AddItem ("16mg/dl") SP.AddItem ("17mg/dl") SP.AddItem ("18mg/dl") SP.AddItem ("19mg/dl") SP.AddItem ("20mg/dl") SP.AddItem ("21mg/dl") SP.AddItem ("22mg/dl") SP.AddItem ("23mg/dl") SP.AddItem ("24mg/dl") SP.AddItem ("25mg/dl") SP.AddItem ("26mg/dl") SP.AddItem ("27mg/dl") SP.AddItem ("28mg/dl") SP.AddItem ("29mg/dl") SP.AddItem ("30mg/dl") SP.AddItem ("31mg/dl") SP.AddItem ("32mg/dl") SP.AddItem ("33mg/dl") SP.AddItem ("34mg/dl") SP.AddItem ("35mg/dl") SP.AddItem ("above")

158

AL.AddItem ("3.8mg/dl") AL.AddItem ("3.9mg/dl") AL.AddItem ("4.0mg/dl") AL.AddItem ("4.1mg/dl") AL.AddItem ("4.2mg/dl") AL.AddItem ("4.3mg/dl") AL.AddItem ("4.4mg/dl") AL.AddItem ("4.5mg/dl") AL.AddItem ("4.6mg/dl") AL.AddItem ("4.7mg/dl") AL.AddItem ("4.8mg/dl") AL.AddItem ("4.9mg/dl") AL.AddItem ("5.0mg/dl") AL.AddItem ("above") GO.AddItem ("2.3mg/dl") GO.AddItem ("2.4mg/dl") GO.AddItem ("2.5mg/dl") GO.AddItem ("2.6mg/dl") GO.AddItem ("2.7mg/dl") GO.AddItem ("2.8mg/dl") GO.AddItem ("2.9mg/dl") GO.AddItem ("3.0mg/dl") GO.AddItem ("3.1mg/dl") GO.AddItem ("3.2mg/dl") GO.AddItem ("3.3mg/dl") GO.AddItem ("3.4mg/dl") GO.AddItem ("3.5mg/dl") GO.AddItem ("above") AM.AddItem ("35 s.unit") AM.AddItem ("36 s.unit") AM.AddItem ("37 s.unit") AM.AddItem ("38 s.unit") AM.AddItem ("39 s.unit") AM.AddItem ("40 s.unit") AM.AddItem ("41 s.unit") AM.AddItem ("42 s.unit") AM.AddItem ("43 s.unit") AM.AddItem ("44 s.unit") AM.AddItem ("45 s.unit") AM.AddItem ("46 s.unit") AM.AddItem ("47 s.unit") AM.AddItem ("48 s.unit")

159

AM.AddItem ("49 s.unit") AM.AddItem ("50 s.unit") AM.AddItem ("51 s.unit") AM.AddItem ("52 s.unit") AM.AddItem ("53 s.unit") AM.AddItem ("54 s.unit") AM.AddItem ("55 s.unit") AM.AddItem ("56 s.unit") AM.AddItem ("57 s.unit") AM.AddItem ("58 s.unit") AM.AddItem ("59 s.unit") AM.AddItem ("60 s.unit") AM.AddItem ("61 s.unit") AM.AddItem ("62 s.unit") AM.AddItem ("63 s.unit") AM.AddItem ("64 s.unit") AM.AddItem ("65 s.unit") AM.AddItem ("66 s.unit") AM.AddItem ("67 s.unit") AM.AddItem ("68 s.unit") AM.AddItem ("69 s.unit") AM.AddItem ("70 s.unit") AM.AddItem ("71 s.unit") AM.AddItem ("72 s.unit") AM.AddItem ("73 s.unit") AM.AddItem ("74 s.unit") AM.AddItem ("75 s.unit") AM.AddItem ("76 s.unit") AM.AddItem ("77 s.unit") AM.AddItem ("78 s.unit") AM.AddItem ("79 s.unit") AM.AddItem ("80 s.unit") AM.AddItem ("81 s.unit") AM.AddItem ("82 s.unit") AM.AddItem ("83 s.unit") AM.AddItem ("84 s.unit") AM.AddItem ("85 s.unit") AM.AddItem ("86 s.unit") AM.AddItem ("87 s.unit") AM.AddItem ("88 s.unit") AM.AddItem ("89 s.unit") AM.AddItem ("90 s.unit") AM.AddItem ("91 s.unit") AM.AddItem ("92 s.unit") AM.AddItem ("93 s.unit") AM.AddItem ("94 s.unit")

160

AM.AddItem ("95 s.unit") AM.AddItem ("96 s.unit") AM.AddItem ("97 s.unit") AM.AddItem ("98 s.unit") AM.AddItem ("99 s.unit") AM.AddItem ("100 s.unit") AM.AddItem ("101 s.unit") AM.AddItem ("102 s.unit") AM.AddItem ("103 s.unit") AM.AddItem ("104 s.unit") AM.AddItem ("105 s.unit") AM.AddItem ("106 s.unit") AM.AddItem ("107 s.unit") AM.AddItem ("108 s.unit") AM.AddItem ("109 s.unit") AM.AddItem ("110 s.unit") AM.AddItem ("111 s.unit") AM.AddItem ("112 s.unit") AM.AddItem ("113 s.unit") AM.AddItem ("114 s.unit") AM.AddItem ("115 s.unit") AM.AddItem ("116 s.unit") AM.AddItem ("117 s.unit") AM.AddItem ("118 s.unit") AM.AddItem ("119 s.unit") AM.AddItem ("120 s.unit") AM.AddItem ("121 s.unit") AM.AddItem ("122 s.unit") AM.AddItem ("123 s.unit") AM.AddItem ("124 s.unit") AM.AddItem ("125 s.unit") AM.AddItem ("126 s.unit") AM.AddItem ("127 s.unit") AM.AddItem ("128 s.unit") AM.AddItem ("129 s.unit") AM.AddItem ("130 s.unit") AM.AddItem ("131 s.unit") AM.AddItem ("132 s.unit") AM.AddItem ("133 s.unit") AM.AddItem ("134 s.unit") AM.AddItem ("135 s.unit") AM.AddItem ("136 s.unit") AM.AddItem ("137 s.unit") AM.AddItem ("138 s.unit") AM.AddItem ("139 s.unit") AM.AddItem ("140 s.unit")

161

AM.AddItem ("141 s.unit") AM.AddItem ("142 s.unit") AM.AddItem ("143 s.unit") AM.AddItem ("144 s.unit") AM.AddItem ("145 s.unit") AM.AddItem ("146 s.unit") AM.AddItem ("147 s.unit") AM.AddItem ("148 s.unit") AM.AddItem ("149 s.unit") AM.AddItem ("150 s.unit") AM.AddItem ("151 s.unit") AM.AddItem ("152 s.unit") AM.AddItem ("153 s.unit") AM.AddItem ("154 s.unit") AM.AddItem ("155 s.unit") AM.AddItem ("156 s.unit") AM.AddItem ("157 s.unit") AM.AddItem ("158 s.unit") AM.AddItem ("159 s.unit") AM.AddItem ("160 s.unit") AM.AddItem ("161 s.unit") AM.AddItem ("162 s.unit") AM.AddItem ("163 s.unit") AM.AddItem ("164 s.unit") AM.AddItem ("165 s.unit") AM.AddItem ("above") CON.AddItem ("0.1mg/dl") CON.AddItem ("0.2mg/dl") UCO.AddItem ("0.1mg/dl") UCO.AddItem ("0.2mg/dl") UCO.AddItem ("0.3mg/dl") UCO.AddItem ("0.4mg/dl") UCO.AddItem ("0.5mg/dl") UCO.AddItem ("0.6mg/dl") UCO.AddItem ("0.7mg/dl") UCO.AddItem ("0.8mg/dl") UCO.AddItem ("above") HR.AddItem ("0 mg/24 hrs") HR.AddItem ("0.1 mg/24 hrs") SAL.AddItem ("4 k.a units/ml") SAL.AddItem ("5 k.a units/ml") SAL.AddItem ("6 k.a units/ml")

162

SAL.AddItem ("7 k.a units/ml") SAL.AddItem ("8 k.a units/ml") SAL.AddItem ("9 k.a units/ml") SAL.AddItem ("10 k.a units/ml") SAL.AddItem ("11 k.a units/ml") SAL.AddItem ("above") HRS.AddItem ("50 units/dl") HRS.AddItem ("60 units/dl") HRS.AddItem ("70 units/dl") HRS.AddItem ("80 units/dl") HRS.AddItem ("90 units/dl") HRS.AddItem ("100 units/dl") HRS.AddItem ("110 units/dl") HRS.AddItem ("120 units/dl") HRS.AddItem ("130 units/dl") HRS.AddItem ("140 units/dl") HRS.AddItem ("150 units/dl") HRS.AddItem ("160 units/dl") HRS.AddItem ("170 units/dl") HRS.AddItem ("180 units/dl") HRS.AddItem ("190 units/dl") HRS.AddItem ("200 units/dl") HRS.AddItem ("210 units/dl") HRS.AddItem ("220 units/dl") HRS.AddItem ("230 units/dl") HRS.AddItem ("240 units/dl") HRS.AddItem ("250 units/dl") HRS.AddItem ("260 units/dl") HRS.AddItem ("270 units/dl") HRS.AddItem ("280 units/dl") HRS.AddItem ("290 units/dl") HRS.AddItem ("300 units/dl") HRS.AddItem ("above") PRO.AddItem ("6.0 mg/dl") PRO.AddItem ("6.1 mg/dl") PRO.AddItem ("6.2 mg/dl") PRO.AddItem ("6.3 mg/dl") PRO.AddItem ("6.4 mg/dl") PRO.AddItem ("6.5 mg/dl") PRO.AddItem ("6.6 mg/dl") PRO.AddItem ("6.7 mg/dl") PRO.AddItem ("6.8 mg/dl") PRO.AddItem ("6.9 mg/dl") PRO.AddItem ("7.0 mg/dl")

163

PRO.AddItem ("7.1 mg/dl") PRO.AddItem ("7.2 mg/dl") PRO.AddItem ("7.3 mg/dl") PRO.AddItem ("7.4 mg/dl") PRO.AddItem ("7.5 mg/dl") PRO.AddItem ("7.6 mg/dl") PRO.AddItem ("7.7 mg/dl") PRO.AddItem ("7.8 mg/dl") PRO.AddItem ("7.9 mg/dl") PRO.AddItem ("8.0 mg/dl") PRO.AddItem ("above") Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "liver", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub RE_Click() PA.Text = " " NA.Text = "" SB.Text = " " SG.Text = " " SP.Text = " " GO.Text = " " AL.Text = " " AM.Text = " " CON.Text = " " UCO.Text = " " SAL.Text = " " HR.Text = " " HRS.Text = " " PRO.Text = " " PA.SetFocus End Sub Private Sub SA_Click() rss.AddNew rss!patientno = PA.Text rss!Name = NA.Text rss!sbilirubintotal = SB.Text rss!sgot = SG.Text rss!sgpt = SP.Text rss!globulin = GO.Text rss!albumin = AL.Text

164

rss!amylase = AM.Text rss!conjugated = CON.Text rss!unconjugated = UCO.Text rss!salkphosp = SAL.Text rss!protein = HR.Text rss!uamylase = HRS.Text rss!proteintotal = PRO.Text rss.Save MsgBox ("recordsaved") End Sub

165

WIDAL TEST

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() ST.AddItem ("+1:20") ST.AddItem ("+1:40") ST.AddItem ("+1:80") ST.AddItem ("-1:160") ST.AddItem ("-1:320") ST.AddItem ("-1:640") ST.AddItem ("above") SH.AddItem ("+1:20") SH.AddItem ("+1:40") SH.AddItem ("+1:80") SH.AddItem ("+1:160") SH.AddItem ("-1:320") SH.AddItem ("-1:640") SH.AddItem ("above") SP.AddItem ("+1:20") SP.AddItem ("+1:40") SP.AddItem ("+1:80") SP.AddItem ("+1:160") SP.AddItem ("-1:320") SP.AddItem ("-1:640") SP.AddItem ("above") SPR.AddItem ("+1:20") SPR.AddItem ("+1:40") SPR.AddItem ("+1:80") SPR.AddItem ("-1:160") SPR.AddItem ("-1:320") SPR.AddItem ("-1:640") SPR.AddItem ("above")

166

Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "widal", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub RE_Click() PA.Text = " " NA.Text = " " ST.Text = " " SH.Text = " " SP.Text = " " SPR.Text = " " PA.SetFocus End Sub Private Sub SA_Click() rss.AddNew rss!patientno = PA.Text rss!Name = NA.Text rss!styphio = ST.Text rss!styphih = SH.Text rss!sparatyphiah = SP.Text rss!sparatyphibh = SPR.Text rss.Save MsgBox ("recordsaved") End Sub

167

HEART TEST

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() SC.AddItem ("130mg/dl") SC.AddItem ("140mg/dl") SC.AddItem ("150mg/dl") SC.AddItem ("160mg/dl") SC.AddItem ("170mg/dl") SC.AddItem ("180mg/dl") SC.AddItem ("190mg/dl") SC.AddItem ("200mg/dl") SC.AddItem ("210mg/dl") SC.AddItem ("220mg/dl") SC.AddItem ("230mg/dl") SC.AddItem ("240mg/dl") SC.AddItem ("250mg/dl") SC.AddItem ("above") HC.AddItem ("30mg/dl") HC.AddItem ("31mg/dl") HC.AddItem ("32mg/dl") HC.AddItem ("33mg/dl") HC.AddItem ("34mg/dl") HC.AddItem ("35mg/dl") HC.AddItem ("36mg/dl") HC.AddItem ("37mg/dl") HC.AddItem ("38mg/dl") HC.AddItem ("39mg/dl") HC.AddItem ("40mg/dl") HC.AddItem ("41mg/dl") HC.AddItem ("42mg/dl") HC.AddItem ("43mg/dl") HC.AddItem ("44mg/dl")

168

HC.AddItem ("45mg/dl") HC.AddItem ("46mg/dl") HC.AddItem ("47mg/dl") HC.AddItem ("48mg/dl") HC.AddItem ("49mg/dl") HC.AddItem ("50mg/dl") HC.AddItem ("51mg/dl") HC.AddItem ("52mg/dl") HC.AddItem ("53mg/dl") HC.AddItem ("54mg/dl") HC.AddItem ("55mg/dl") HC.AddItem ("56mg/dl") HC.AddItem ("57mg/dl") HC.AddItem ("58mg/dl") HC.AddItem ("59mg/dl") HC.AddItem ("60mg/dl") HC.AddItem ("61mg/dl") HC.AddItem ("62mg/dl") HC.AddItem ("63mg/dl") HC.AddItem ("64mg/dl") HC.AddItem ("65mg/dl") HC.AddItem ("66mg/dl") HC.AddItem ("67mg/dl") HC.AddItem ("68mg/dl") HC.AddItem ("69mg/dl") HC.AddItem ("70mg/dl") HC.AddItem ("above") LC.AddItem ("80mg/dl") LC.AddItem ("81mg/dl") LC.AddItem ("82mg/dl") LC.AddItem ("83mg/dl") LC.AddItem ("84mg/dl") LC.AddItem ("85mg/dl") LC.AddItem ("86mg/dl") LC.AddItem ("87mg/dl") LC.AddItem ("88mg/dl") LC.AddItem ("89mg/dl") LC.AddItem ("90mg/dl") LC.AddItem ("91mg/dl") LC.AddItem ("92mg/dl") LC.AddItem ("93mg/dl") LC.AddItem ("94mg/dl") LC.AddItem ("95mg/dl") LC.AddItem ("96mg/dl") LC.AddItem ("97mg/dl")

169

LC.AddItem ("98mg/dl") LC.AddItem ("99mg/dl") LC.AddItem ("100mg/dl") LC.AddItem ("101mg/dl") LC.AddItem ("102mg/dl") LC.AddItem ("103mg/dl") LC.AddItem ("104mg/dl") LC.AddItem ("105mg/dl") LC.AddItem ("106mg/dl") LC.AddItem ("107mg/dl") LC.AddItem ("108mg/dl") LC.AddItem ("109mg/dl") LC.AddItem ("110mg/dl") LC.AddItem ("111mg/dl") LC.AddItem ("112mg/dl") LC.AddItem ("113mg/dl") LC.AddItem ("114mg/dl") LC.AddItem ("115mg/dl") LC.AddItem ("116mg/dl") LC.AddItem ("117mg/dl") LC.AddItem ("118mg/dl") LC.AddItem ("119mg/dl") LC.AddItem ("120mg/dl") LC.AddItem ("above") TR.AddItem ("25mg/dl") TR.AddItem ("26mg/dl") TR.AddItem ("27mg/dl") TR.AddItem ("28mg/dl") TR.AddItem ("29mg/dl") TR.AddItem ("30mg/dl") TR.AddItem ("31mg/dl") TR.AddItem ("32mg/dl") TR.AddItem ("33mg/dl") TR.AddItem ("34mg/dl") TR.AddItem ("35mg/dl") TR.AddItem ("36mg/dl") TR.AddItem ("37mg/dl") TR.AddItem ("38mg/dl") TR.AddItem ("39mg/dl") TR.AddItem ("40mg/dl") TR.AddItem ("41mg/dl") TR.AddItem ("42mg/dl") TR.AddItem ("43mg/dl") TR.AddItem ("44mg/dl") TR.AddItem ("45mg/dl")

170

TR.AddItem ("46mg/dl") TR.AddItem ("47mg/dl") TR.AddItem ("48mg/dl") TR.AddItem ("49mg/dl") TR.AddItem ("50mg/dl") TR.AddItem ("51mg/dl") TR.AddItem ("52mg/dl") TR.AddItem ("53mg/dl") TR.AddItem ("54mg/dl") TR.AddItem ("55mg/dl") TR.AddItem ("56mg/dl") TR.AddItem ("57mg/dl") TR.AddItem ("58mg/dl") TR.AddItem ("59mg/dl") TR.AddItem ("60mg/dl") TR.AddItem ("61mg/dl") TR.AddItem ("62mg/dl") TR.AddItem ("63mg/dl") TR.AddItem ("64mg/dl") TR.AddItem ("65mg/dl") TR.AddItem ("66mg/dl") TR.AddItem ("67mg/dl") TR.AddItem ("68mg/dl") TR.AddItem ("69mg/dl") TR.AddItem ("70mg/dl") TR.AddItem ("71mg/dl") TR.AddItem ("72mg/dl") TR.AddItem ("73mg/dl") TR.AddItem ("74mg/dl") TR.AddItem ("75mg/dl") TR.AddItem ("76mg/dl") TR.AddItem ("77mg/dl") TR.AddItem ("78mg/dl") TR.AddItem ("79mg/dl") TR.AddItem ("80mg/dl") TR.AddItem ("81mg/dl") TR.AddItem ("82mg/dl") TR.AddItem ("83mg/dl") TR.AddItem ("84mg/dl") TR.AddItem ("85mg/dl") TR.AddItem ("86mg/dl") TR.AddItem ("87mg/dl") TR.AddItem ("88mg/dl") TR.AddItem ("89mg/dl") TR.AddItem ("90mg/dl") TR.AddItem ("91mg/dl")

171

TR.AddItem ("92mg/dl") TR.AddItem ("93mg/dl") TR.AddItem ("94mg/dl") TR.AddItem ("95mg/dl") TR.AddItem ("96mg/dl") TR.AddItem ("97mg/dl") TR.AddItem ("98mg/dl") TR.AddItem ("99mg/dl") TR.AddItem ("100mg/dl") TR.AddItem ("101mg/dl") TR.AddItem ("102mg/dl") TR.AddItem ("103mg/dl") TR.AddItem ("104mg/dl") TR.AddItem ("105mg/dl") TR.AddItem ("106mg/dl") TR.AddItem ("107mg/dl") TR.AddItem ("108mg/dl") TR.AddItem ("109mg/dl") TR.AddItem ("110mg/dl") TR.AddItem ("111mg/dl") TR.AddItem ("112mg/dl") TR.AddItem ("113mg/dl") TR.AddItem ("114mg/dl") TR.AddItem ("115mg/dl") TR.AddItem ("116mg/dl") TR.AddItem ("117mg/dl") TR.AddItem ("118mg/dl") TR.AddItem ("119mg/dl") TR.AddItem ("120mg/dl") TR.AddItem ("121mg/dl") TR.AddItem ("122mg/dl") TR.AddItem ("123mg/dl") TR.AddItem ("124mg/dl") TR.AddItem ("125mg/dl") TR.AddItem ("126mg/dl") TR.AddItem ("127mg/dl") TR.AddItem ("128mg/dl") TR.AddItem ("129mg/dl") TR.AddItem ("130mg/dl") TR.AddItem ("131mg/dl") TR.AddItem ("132mg/dl") TR.AddItem ("133mg/dl") TR.AddItem ("134mg/dl") TR.AddItem ("135mg/dl") TR.AddItem ("136mg/dl") TR.AddItem ("137mg/dl")

172

TR.AddItem ("138mg/dl") TR.AddItem ("139mg/dl") TR.AddItem ("140mg/dl") TR.AddItem ("141mg/dl") TR.AddItem ("142mg/dl") TR.AddItem ("143mg/dl") TR.AddItem ("144mg/dl") TR.AddItem ("145mg/dl") TR.AddItem ("146mg/dl") TR.AddItem ("147mg/dl") TR.AddItem ("148mg/dl") TR.AddItem ("149mg/dl") TR.AddItem ("150mg/dl") TR.AddItem ("151mg/dl") TR.AddItem ("152mg/dl") TR.AddItem ("153mg/dl") TR.AddItem ("154mg/dl") TR.AddItem ("155mg/dl") TR.AddItem ("156mg/dl") TR.AddItem ("157mg/dl") TR.AddItem ("158mg/dl") TR.AddItem ("159mg/dl") TR.AddItem ("160mg/dl") TR.AddItem ("above") TL.AddItem ("400mg.dl") TL.AddItem ("410mg.dl") TL.AddItem ("420mg.dl") TL.AddItem ("430mg.dl") TL.AddItem ("440mg.dl") TL.AddItem ("450mg.dl") TL.AddItem ("460mg.dl") TL.AddItem ("470mg.dl") TL.AddItem ("480mg.dl") TL.AddItem ("490mg.dl") TL.AddItem ("500mg.dl") TL.AddItem ("510mg.dl") TL.AddItem ("520mg.dl") TL.AddItem ("530mg.dl") TL.AddItem ("540mg.dl") TL.AddItem ("550mg.dl") TL.AddItem ("560mg.dl") TL.AddItem ("570mg.dl") TL.AddItem ("580mg.dl") TL.AddItem ("590mg.dl") TL.AddItem ("600mg.dl")

173

TL.AddItem ("610mg.dl") TL.AddItem ("620mg.dl") TL.AddItem ("630mg.dl") TL.AddItem ("640mg.dl") TL.AddItem ("650mg.dl") TL.AddItem ("660mg.dl") TL.AddItem ("670mg.dl") TL.AddItem ("680mg.dl") TL.AddItem ("690mg.dl") TL.AddItem ("700mg.dl") TL.AddItem ("above") IR.AddItem ("45mg/dl") IR.AddItem ("46mg/dl") IR.AddItem ("47mg/dl") IR.AddItem ("48mg/dl") IR.AddItem ("49mg/dl") IR.AddItem ("50mg/dl") IR.AddItem ("51mg/dl") IR.AddItem ("52mg/dl") IR.AddItem ("53mg/dl") IR.AddItem ("54mg/dl") IR.AddItem ("55mg/dl") IR.AddItem ("56mg/dl") IR.AddItem ("57mg/dl") IR.AddItem ("58mg/dl") IR.AddItem ("59mg/dl") IR.AddItem ("60mg/dl") IR.AddItem ("61mg/dl") IR.AddItem ("62mg/dl") IR.AddItem ("63mg/dl") IR.AddItem ("64mg/dl") IR.AddItem ("65mg/dl") IR.AddItem ("66mg/dl") IR.AddItem ("67mg/dl") IR.AddItem ("68mg/dl") IR.AddItem ("69mg/dl") IR.AddItem ("70mg/dl") IR.AddItem ("71mg/dl") IR.AddItem ("72mg/dl") IR.AddItem ("73mg/dl") IR.AddItem ("74mg/dl") IR.AddItem ("75mg/dl") IR.AddItem ("76mg/dl") IR.AddItem ("77mg/dl") IR.AddItem ("78mg/dl")

174

IR.AddItem ("79mg/dl") IR.AddItem ("80mg/dl") IR.AddItem ("81mg/dl") IR.AddItem ("82mg/dl") IR.AddItem ("83mg/dl") IR.AddItem ("84mg/dl") IR.AddItem ("85mg/dl") IR.AddItem ("86mg/dl") IR.AddItem ("87mg/dl") IR.AddItem ("88mg/dl") IR.AddItem ("89mg/dl") IR.AddItem ("90mg/dl") IR.AddItem ("91mg/dl") IR.AddItem ("92mg/dl") IR.AddItem ("93mg/dl") IR.AddItem ("94mg/dl") IR.AddItem ("95mg/dl") IR.AddItem ("96mg/dl") IR.AddItem ("97mg/dl") IR.AddItem ("98mg/dl") IR.AddItem ("99mg/dl") IR.AddItem ("100mg/dl") IR.AddItem ("101mg/dl") IR.AddItem ("102mg/dl") IR.AddItem ("103mg/dl") IR.AddItem ("104mg/dl") IR.AddItem ("105mg/dl") IR.AddItem ("106mg/dl") IR.AddItem ("107mg/dl") IR.AddItem ("108mg/dl") IR.AddItem ("109mg/dl") IR.AddItem ("110mg/dl") IR.AddItem ("111mg/dl") IR.AddItem ("112mg/dl") IR.AddItem ("113mg/dl") IR.AddItem ("114mg/dl") IR.AddItem ("115mg/dl") IR.AddItem ("116mg/dl") IR.AddItem ("117mg/dl") IR.AddItem ("118mg/dl") IR.AddItem ("119mg/dl") IR.AddItem ("120mg/dl") IR.AddItem ("121mg/dl") IR.AddItem ("122mg/dl") IR.AddItem ("123mg/dl") IR.AddItem ("124mg/dl")

175

IR.AddItem ("125mg/dl") IR.AddItem ("126mg/dl") IR.AddItem ("127mg/dl") IR.AddItem ("128mg/dl") IR.AddItem ("129mg/dl") IR.AddItem ("130mg/dl") IR.AddItem ("131mg/dl") IR.AddItem ("132mg/dl") IR.AddItem ("133mg/dl") IR.AddItem ("134mg/dl") IR.AddItem ("135mg/dl") IR.AddItem ("136mg/dl") IR.AddItem ("137mg/dl") IR.AddItem ("138mg/dl") IR.AddItem ("139mg/dl") IR.AddItem ("140mg/dl") IR.AddItem ("141mg/dl") IR.AddItem ("142mg/dl") IR.AddItem ("143mg/dl") IR.AddItem ("144mg/dl") IR.AddItem ("145mg/dl") IR.AddItem ("146mg/dl") IR.AddItem ("147mg/dl") IR.AddItem ("148mg/dl") IR.AddItem ("149mg/dl") IR.AddItem ("150mg/dl") IR.AddItem ("151mg/dl") IR.AddItem ("152mg/dl") IR.AddItem ("153mg/dl") IR.AddItem ("154mg/dl") IR.AddItem ("155mg/dl") IR.AddItem ("156mg/dl") IR.AddItem ("157mg/dl") IR.AddItem ("158mg/dl") IR.AddItem ("159mg/dl") IR.AddItem ("160mg/dl") IR.AddItem ("above") TOT.AddItem ("3mg/dl") TOT.AddItem ("3.1mg/dl") TOT.AddItem ("3.2mg/dl") TOT.AddItem ("3.3mg/dl") TOT.AddItem ("3.4mg/dl") TOT.AddItem ("3.5mg/dl") TOT.AddItem ("3.6mg/dl") TOT.AddItem ("3.7mg/dl")

176

TOT.AddItem ("3.8mg/dl") TOT.AddItem ("3.9mg/dl") TOT.AddItem ("4.0mg/dl") TOT.AddItem ("4.1mg/dl") TOT.AddItem ("4.2mg/dl") TOT.AddItem ("4.3mg/dl") TOT.AddItem ("4.4mg/dl") TOT.AddItem ("4.5mg/dl") TOT.AddItem ("above") CPK.AddItem ("15 iu/l") CPK.AddItem ("16 iu/l") CPK.AddItem ("17 iu/l") CPK.AddItem ("18 iu/l") CPK.AddItem ("19 iu/l") CPK.AddItem ("20 iu/l") CPK.AddItem ("21 iu/l") CPK.AddItem ("22 iu/l") CPK.AddItem ("23 iu/l") CPK.AddItem ("24 iu/l") CPK.AddItem ("25 iu/l") CPK.AddItem ("26 iu/l") CPK.AddItem ("27 iu/l") CPK.AddItem ("28 iu/l") CPK.AddItem ("29 iu/l") CPK.AddItem ("30 iu/l") CPK.AddItem ("31 iu/l") CPK.AddItem ("32 iu/l") CPK.AddItem ("33 iu/l") CPK.AddItem ("34 iu/l") CPK.AddItem ("35 iu/l") CPK.AddItem ("36 iu/l") CPK.AddItem ("37 iu/l") CPK.AddItem ("38 iu/l") CPK.AddItem ("39 iu/l") CPK.AddItem ("40 iu/l") CPK.AddItem ("41 iu/l") CPK.AddItem ("42 iu/l") CPK.AddItem ("43 iu/l") CPK.AddItem ("44 iu/l") CPK.AddItem ("45 iu/l") CPK.AddItem ("46 iu/l") CPK.AddItem ("47 iu/l") CPK.AddItem ("48 iu/l") CPK.AddItem ("49 iu/l")

177

CPK.AddItem ("50 iu/l") CPK.AddItem ("51 iu/l") CPK.AddItem ("52 iu/l") CPK.AddItem ("53 iu/l") CPK.AddItem ("54 iu/l") CPK.AddItem ("55 iu/l") CPK.AddItem ("56 iu/l") CPK.AddItem ("57 iu/l") CPK.AddItem ("58 iu/l") CPK.AddItem ("59 iu/l") CPK.AddItem ("60 iu/l") CPK.AddItem ("61 iu/l") CPK.AddItem ("62 iu/l") CPK.AddItem ("63 iu/l") CPK.AddItem ("64 iu/l") CPK.AddItem ("65 iu/l") CPK.AddItem ("66 iu/l") CPK.AddItem ("67 iu/l") CPK.AddItem ("68 iu/l") CPK.AddItem ("69 iu/l") CPK.AddItem ("70 iu/l") CPK.AddItem ("71 iu/l") CPK.AddItem ("72 iu/l") CPK.AddItem ("73 iu/l") CPK.AddItem ("74 iu/l") CPK.AddItem ("75 iu/l") CPK.AddItem ("76 iu/l") CPK.AddItem ("77 iu/l") CPK.AddItem ("78 iu/l") CPK.AddItem ("79 iu/l") CPK.AddItem ("80 iu/l") CPK.AddItem ("81 iu/l") CPK.AddItem ("82 iu/l") CPK.AddItem ("83 iu/l") CPK.AddItem ("84 iu/l") CPK.AddItem ("85 iu/l") CPK.AddItem ("86 iu/l") CPK.AddItem ("87 iu/l") CPK.AddItem ("88 iu/l") CPK.AddItem ("89 iu/l") CPK.AddItem ("90 iu/l") CPK.AddItem ("91 iu/l") CPK.AddItem ("92 iu/l") CPK.AddItem ("93 iu/l") CPK.AddItem ("94 iu/l") CPK.AddItem ("95 iu/l")

178

CPK.AddItem ("96 iu/l") CPK.AddItem ("97 iu/l") CPK.AddItem ("98 iu/l") CPK.AddItem ("99 iu/l") CPK.AddItem ("100 iu/l") CPK.AddItem ("101 iu/l") CPK.AddItem ("102 iu/l") CPK.AddItem ("103 iu/l") CPK.AddItem ("104 iu/l") CPK.AddItem ("105 iu/l") CPK.AddItem ("106 iu/l") CPK.AddItem ("107 iu/l") CPK.AddItem ("108 iu/l") CPK.AddItem ("109 iu/l") CPK.AddItem ("110 iu/l") CPK.AddItem ("above") MB.AddItem ("2 iu/l") MB.AddItem ("3 iu/l") MB.AddItem ("4 iu/l") MB.AddItem ("5 iu/l") MB.AddItem ("6 iu/l") MB.AddItem ("7 iu/l") MB.AddItem ("8 iu/l") MB.AddItem ("9 iu/l") MB.AddItem ("10 iu/l") MB.AddItem ("11 iu/l") MB.AddItem ("12 iu/l") MB.AddItem ("13 iu/l") MB.AddItem ("14 iu/l") MB.AddItem ("15 iu/l") MB.AddItem ("16 iu/l") MB.AddItem ("17 iu/l") MB.AddItem ("18 iu/l") MB.AddItem ("19 iu/l") MB.AddItem ("20 iu/l") MB.AddItem ("21 iu/l") MB.AddItem ("above") TIB.AddItem ("250 mg/dl") TIB.AddItem ("260 mg/dl") TIB.AddItem ("270 mg/dl") TIB.AddItem ("280 mg/dl") TIB.AddItem ("290 mg/dl") TIB.AddItem ("300 mg/dl") TIB.AddItem ("310 mg/dl")

179

TIB.AddItem ("320 mg/dl") TIB.AddItem ("330 mg/dl") TIB.AddItem ("340 mg/dl") TIB.AddItem ("350 mg/dl") TIB.AddItem ("360 mg/dl") TIB.AddItem ("370 mg/dl") TIB.AddItem ("380 mg/dl") TIB.AddItem ("390 mg/dl") TIB.AddItem ("400 mg/dl") TIB.AddItem ("above") LIT.AddItem ("zero mEq/l") LIT.AddItem ("above") LIP.AddItem ("20 iu/l") LIP.AddItem ("30 iu/l") LIP.AddItem ("40 iu/l") LIP.AddItem ("50 iu/l") LIP.AddItem ("60 iu/l") LIP.AddItem ("70 iu/l") LIP.AddItem ("80 iu/l") LIP.AddItem ("90 iu/l") LIP.AddItem ("100 iu/l") LIP.AddItem ("110 iu/l") LIP.AddItem ("120 iu/l") LIP.AddItem ("130 iu/l") LIP.AddItem ("140 iu/l") LIP.AddItem ("150 iu/l") LIP.AddItem ("160 iu/l") LIP.AddItem ("170 iu/l") LIP.AddItem ("180 iu/l") LIP.AddItem ("190 iu/l") LIP.AddItem ("above") Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "lipi", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub RE_Click() PA.Text = " " NA.Text = "" SC.Text = " " LC.Text = " "

180

HC.Text = " " TL.Text = " " TOT.Text = " " HC.Text = " " TR.Text = " " IR.Text = " " CPK.Text = " " MB.Text = " " TIB.Text = " " LIT.Text = " " LIP.Text = " " PA.SetFocus End Sub Private Sub SA_Click() rss.AddNew rss!patientno = PA.Text rss!Name = NA.Text rss!scholesterol = SC.Text rss!ldlcholesterol = HC.Text rss!totallipids = TL.Text rss!totalhdlratio = TOT.Text rss!hdlcholesterol = HC.Text rss!triglycerides = TR.Text rss!iron = IR.Text rss!cpknac = CPK.Text rss!cpkmb = MB.Text rss!TIBC = TIB.Text rss!lithium = LIT.Text rss!lipase = LIP.Text rss.Save MsgBox ("recordsaved") End Sub

181

CULTURE REPORT

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub Form_Load() UR.AddItem ("ciproflocin") UR.AddItem ("chloramphenicol") UR.AddItem ("norfloxacim") SE.AddItem ("erythromicin") SE.AddItem ("amikacin") SE.AddItem ("ofloxacim") ST.AddItem ("furazolidins") ST.AddItem ("amikacin") ST.AddItem ("ofloxacin") BL.AddItem ("cefixime") BL.AddItem ("amikacin") BL.AddItem ("ciprofloxcin") SP.AddItem ("roxithroycin") SP.AddItem ("cefuroxime") SP.AddItem ("azithromycin") Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "cul", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub RE_Click()

182

PAN.Text = " " NA.Text = "" UR.Text = " " SE.Text = " " ST.Text = " " BL.Text = " " SP.Text = " " PAN.SetFocus End Sub Private Sub SA_Click() rss.AddNew rss!patientno = PAN.Text rss!Name = NA.Text rss!urine = UR.Text rss!semen = SE.Text rss!stool = ST.Text rss!blood = BL.Text rss!sputum = SP.Text rss.Save MsgBox ("recordsaved") End Sub

183

CHARGE LIST

Private Sub BG_Click() MsgBox ("Rs70") End Sub Private Sub CA_Click() MsgBox ("Rs150") End Sub Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub HA_Click() MsgBox ("Rs20") End Sub Private Sub HI_Click() MsgBox ("Rs250") End Sub Private Sub LI_Click() MsgBox ("Rs350") End Sub Private Sub PC_Click() MsgBox ("Rs100") End Sub Private Sub PO_Click() MsgBox ("Rs100") End Sub Private Sub PR_Click() MsgBox ("Rs50") End Sub Private Sub SCH_Click() MsgBox ("Rs100")

184

End Sub Private Sub SER_Click() MsgBox ("Rs160") End Sub Private Sub SR_Click() MsgBox ("Rs50") End Sub Private Sub SU_Click() MsgBox ("Rs70") End Sub Private Sub UR_Click() MsgBox ("Rs40") End Sub Private Sub WI_Click() MsgBox ("Rs36") End Sub

185

SEARCHING AND REMOVING

Private Sub br_Click() bioch.Show End Sub Private Sub HA_Click() haem.Show End Sub Private Sub EX_Click() MA.Show Unload Me End Sub Private Sub SE_Click() SER.Show End Sub Private Sub UR_Click() urin.Show End Sub

186

HEAM1

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub DE_Click() Dim ch As Integer Dim ss ch = Val(InputBox("patientno for delete")) rss.MoveFirst Do Until rss.EOF = True If rss!patientno = ch Then PA.Text = rss!patientno NA.Text = rss!Name HA.Text = rss!haemoglobin BG.Text = rss!bloodgroup CT.Text = rss!clottingtime RC.Text = rss!redcellcount PC.Text = rss!plateletcount ES.Text = rss!esr ss = MsgBox("do you want delete", vbYesNo) If ss = vbYes Then rss.Delete MsgBox ("successfully deleted") Else MsgBox ("not deleted") End If Exit Sub End If rss.MoveNext Loop MsgBox ("patientno is not found") End Sub Private Sub EX_Click() sear.Show Unload Me End Sub Private Sub OP_Click() rss.MoveFirst

187

Dim temp As Integer temp = Val(PA.Text) Do Until rss.EOF = True If rss!patientno = temp Then MsgBox (rss!patientno) NA.Text = rss!Name HA.Text = rss!haemoglobin BG.Text = rss!bloodgroup CT.Text = rss!clottingtime RC.Text = rss!redcellcount PC.Text = rss!plateletcount ES.Text = rss!esr Exit Sub End If rss.MoveNext Loop MsgBox "patient no. not found" End Sub Private Sub Form_Load() Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "haema", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub REF_Click() PA.Text = " " NA.Text = " " HA.Text = " " RC.Text = " " PC.Text = " " CT.Text = " " BG.Text = " " ES.Text = " " PA.SetFocus End Sub

188

SEROLOGY 1

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub DEL_Click() Dim ch As Integer Dim ss ch = Val(InputBox("patientno for delete")) rss.MoveFirst Do Until rss.EOF = True If rss!patientno = ch Then PA.Text = rss!patientno NA.Text = rss!Name CP.Text = rss!crprotein RA.Text = rss!rafactor HI.Text = rss!hivtest AO.Text = rss!asotitre AN.Text = rss!antihcv VD.Text = rss!vdrl ss = MsgBox("do you want delete", vbYesNo) If ss = vbYes Then rss.Delete MsgBox ("successfully deleted") Else MsgBox ("not deleted") End If Exit Sub End If rss.MoveNext Loop MsgBox ("patientno is not found") End Sub Private Sub EX_Click() sear.Show Unload Me End Sub Private Sub OP_Click() rss.MoveFirst

189

Dim temp As Integer temp = Val(PA.Text) Do Until rss.EOF = True If rss!patientno = temp Then MsgBox (rss!patientno) NA.Text = rss!Name CP.Text = rss!crprotein RA.Text = rss!rafactor HI.Text = rss!hivtest AO.Text = rss!asotitre AN.Text = rss!antihcv VD.Text = rss!vdrl Exit Sub End If rss.MoveNext Loop MsgBox "patient no. not found" End Sub Private Sub Form_Load() Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "sero2", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub REF_Click() PA.Text = " " NA.Text = " " CP.Text = " " RA.Text = " " HI.Text = " " AO.Text = " " AN.Text = " " VD.Text = " " PA.SetFocus End Sub

190

BIOCH 1

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub DEL_Click() Dim ch As Integer Dim ss ch = Val(InputBox("patientno for delete")) rss.MoveFirst Do Until rss.EOF = True If rss!patientno = ch Then PA.Text = rss!patientno NA.Text = rss!Name BS.Text = rss!bloodsugar PO.Text = rss!potassium SO.Text = rss!sodium BU.Text = rss!bloodurea CA.Text = rss!calcium MA.Text = rss!magnesium ss = MsgBox("do you want delete", vbYesNo) If ss = vbYes Then rss.Delete MsgBox ("successfully deleted") Else MsgBox ("not deleted") End If Exit Sub End If rss.MoveNext Loop MsgBox ("patientno is not found") End Sub Private Sub EX_Click() sear.Show Unload Me End Sub Private Sub Form_Load() Set cnn = New ADODB.Connection

191

Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "bioch1", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub Private Sub OP_Click() rss.MoveFirst Dim temp As Integer temp = Val(PA.Text) Do Until rss.EOF = True If rss!patientno = temp Then MsgBox (rss!patientno) NA.Text = rss!Name BS.Text = rss!bloodsugar PO.Text = rss!potassium SO.Text = rss!sodium BU.Text = rss!bloodurea CA.Text = rss!calcium MA.Text = rss!magnesium Exit Sub End If rss.MoveNext Loop MsgBox "patient no. not found" End Sub Private Sub REF_Click() PA.Text = " " NA.Text = " " BS.Text = " " PO.Text = " " SO.Text = " " BU.Text = " " CA.Text = " " MA.Text = " " PA.SetFocus End Sub

192

URINE 1

Dim cnn As ADODB.Connection Dim rss As ADODB.Recordset Private Sub OP_Click() rss.MoveFirst Dim temp As Integer temp = Val(PA.Text) Do Until rss.EOF = True If rss!patientno = temp Then MsgBox (rss!patientno) NA.Text = rss!Name AP.Text = rss!Appearance CO.Text = rss!colour SU.Text = rss!sugar AL.Text = rss!albumin CA.Text = rss!casts PU.Text = rss!puscell Exit Sub End If rss.MoveNext Loop MsgBox "patient no. not found" End Sub Private Sub REF_Click() PA.Text = " " NA.Text = " " AP.Text = " " CO.Text = " " SU.Text = " " AL.Text = " " CA.Text = " " PU.Text = " " PA.SetFocus End Sub Private Sub DEL_Click() Dim ch As Integer

193

Dim ss ch = Val(InputBox("patientno for delete")) rss.MoveFirst Do Until rss.EOF = True If rss!patientno = ch Then PA.Text = rss!patientno NA.Text = rss!Name AP.Text = rss!Appearance CO.Text = rss!colour SU.Text = rss!sugar AL.Text = rss!albumin CA.Text = rss!casts PU.Text = rss!puscell ss = MsgBox("do you want delete", vbYesNo) If ss = vbYes Then rss.Delete MsgBox ("successfully deleted") Else MsgBox ("not deleted") End If Exit Sub End If rss.MoveNext Loop MsgBox ("patientno is not found") End Sub Private Sub EX_Click() sear.Show Unload Me End Sub Private Sub Form_Load() Set cnn = New ADODB.Connection Set rss = New ADODB.Recordset cnn.Provider = "microsoft.jet.oledb.4.0" cnn.Open "D:\raj\LAB.mdb" rss.Open "uri", cnn, adOpenDynamic, adLockOptimistic, adCmdTable End Sub

194

195

196

197

198

199

200

201

202

BIBLOGRAPHY

BOOK NAME

AUTHOR NAME

203

S-ar putea să vă placă și