• 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 ...

    * maximum total dimension of 300 cm, which is the validation rule for the Total Dimensions field in the parcel table. The validation rule stated that the value entered in the total dimension field must be between 0 and 300 centimeters.

  2. Computer Aided Design Package

    One advantage of the system for the plotters is that there would only need to be one cheap plotter that prints off the drawings in low quality. The reason that they can print them off in low quality is that they are only going to the client for them to

  1. Spare Parts Database Project

    Unique primary key Customer code Text (4) Item code Text (4) Quantity Numeric (3) Price Currency 2.4Relationship Item Detail Item code Type Make Model Quantity Price Customer Detail Customer Code Name Other Name Address Tel Number Mobile Number Transaction Detail Transaction Code Customer Code Item Code Quantity Price 2.5 Design of input forms Two data entry form are needed.

  2. Robot Prototype design principles.

    9, 21-24, 32, 101]. When successfully applied, a user interface is easier to understand because the user can reliably respond to visual cues of similarity and difference in the interface, aiding recall and also the ability to guess how unfamiliar parts of the tool might behave when used.

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

    Sending out questionnaires and analyzing results. 3. Observing current procedures with current system. 4. Examine current business and systems documents and outputs Problems of Existing System The present system in use at the hospital is a manual one, this means everything is recorded by hand on paper.

  2. Basic Database Building

    Database Working Above we can see the tables that I have created and from each of these we can generate input forms for the operatives to enter the details, these can all be seen below on the next page; So to the left we can see the switchboard, the switchboard

  1. 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

  2. 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.

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