• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

Database Design

Extracts from this document...

Introduction

Database Design There are four main entries for this database, they are; Patients, Admission, Equipment Definition of data requirement Patient Table This is the Patient table; it stores all the information on each of the patients, like their address and contact details. Attribute Name Comments Data Type & Length Validation Patient ID Title Forename Address Town County Post Code Patients Phone No. GP's Name GP's No. Automatically incremented Auto number Text (6) Text (20) Text (20) Text (20) Text (20) Text (20) Number (15) Text (20) Number (15) Unique Primary Key Default to Kent Admissions Table This is the Admission Table; this stores the information of who is in the hospital and what ward they are in. It also gives details of who is treating them, and also dates of when they will be in hospital. ...read more.

Middle

Attribute Name Comments Data Type & Length Validation Loan ID Patient ID Equipment ID Date Borrowed Date Due Back Date returned Automatically incremented Retrieved from patient tab. Retrieved from Equip. tab. Auto number Number Text (6) Date/Time Date/Time Date/Time Unique Primary Key =Date() =date + 42 Consultant Table This table holds the information about the Consultant treating each patient. This is then linked to the admission table. Attribute Name Comments Data Type & Length Validation Consultant ID Consultant Name Automatically incremented Auto number Text (30) Unique Primary Key Design of Input Form Patient Form This is the form that is used for the use of inputting patient details. It has a nice clear layout, and should be simple to use. This form is used for adding, looking up and editing any patient details on the data base. ...read more.

Conclusion

more than one table, so I could adjust what information would be shown and be able to be edited in the forms. Admission Query - This links information from Admission table and Patient table. This query is used in the admission form. Information from both tables can be edited and added from this form. Loan Query - This links information from Equipment table, Loan table and Patient table. This query is used in the Loan form. Information from both tables can be edited and added from this form. Current Patient Query - This links information from Admission table and Patient table. This query is used in the Equipment Status report and the Loaning form. Information from both tables can be edited and added from this form. Equipment Query - This one was added because not all fields of the equipment record was needed for this query. So some of the fields were removed. Menu Design ...read more.

The above preview is unformatted text

This student written piece of work is one of many that can be found in our AS and A Level Computer Science section.

Found what you're looking for?

  • Start learning 29% faster today
  • 150,000+ documents available
  • Just £6.99 a month

Not the one? Search for your essay title...
  • Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

See related essaysSee related essays

Related AS and A Level Computer Science essays

  1. I have been given the task to design a database for a company called ...

    The modified order form is better because the user has to enter in less information. All the user has to enter in is the Customer ID, Parcel ID Destination ID and delivery date. All the other information is automatically brought up as you type in the auto numbers (relational database)

  2. Spare Parts Database Project

    Add all records and put only 6 digits in 'Mobile Tel Number' A message box must appear saying 'Mobile Tel Number must contain 7 digits' OK Module: Transaction File TEST NO. TEST EXPECTED RESULT REMARKS 1 Click on 'Add' command button.

  1. Computer Aided Design Package

    adopted the hardware that will have to be in the machine will be the same and is listed below: * Motherboard which will support all other hardware required for the computer * Video card to output a display on the monitor for the user to see what they are doing

  2. Robot Prototype design principles.

    Each button on the bar invoked a pop-up window that was responsible for some aspect of the tool's high-level operation. The consistency principle: Things that are similar should look similar, and things that are different should look different [Brown 88, pp.

  1. I have been given the task of creating a system for a hospital to ...

    This is an extremely inefficient way of recording the data as information can easily be lost or misplaced. We are also told that there is a need for a new system to "cut down on loss and wastage", so the new system must be reliable.

  2. Logo design

    and the logos were more accurate and professional than they would have been if I used paint. Advantages and disadvantages of software chosen AO1N Advantages: * It's quick * It's easy to use * There are different designs to choose from Disadvantages: * No instructions on how to use the

  1. Setting up a database for a shop selling P.C.'s.

    - Can be saved on a back-up file if accidentally lost or saved over by another client working in tiny. - The database is user- friendly since it uses bright colours which are a warm contrast purposely designed for users to develop familiarity with a computer and therefore are encouraged to use the computer more often.

  2. Basic Database Building

    The database works on the principles of one to one relationships, the one to one being because the individual members can only use any one piece of sports equipment at any one time. This is the same for their ID, as only one of these can be possessed.

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work