Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2007
    Posts
    1

    Need help checking database design


    Thanks, jya.

  2. #2
    jya is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Sep 2007
    Location
    Chicagoland
    Posts
    109

    From my perspective

    If I were to do it...

    Patient
    PatID--PK (primary key)

    Physician
    PhysID--PK

    Appoinment
    ApptID--PK
    PatID--FK (foreign key)
    PhysID--FK

    Ailment
    AilmtId--PK

    Appoinment Detail
    ApptDetID--PK
    AppID--FK
    AilmtID--FK

    I wouldn't put PatID under Physician or Ailment. Appointment links the Patient with the Physician. Appointment Details allows for multiple ailments for one appointment. Any information that is specific to the appointment belong either in Appointment or Appointment Detail.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Database Design Problem
    By Kurth in forum Access
    Replies: 0
    Last Post: 08-14-2008, 04:09 AM
  2. Checking a record in a table
    By widstje in forum Programming
    Replies: 4
    Last Post: 11-07-2007, 11:28 AM
  3. Design help
    By marix in forum Database Design
    Replies: 1
    Last Post: 04-18-2007, 07:54 AM
  4. Design for productivity
    By code_warrior in forum Database Design
    Replies: 2
    Last Post: 06-18-2006, 08:05 AM
  5. Challenging design
    By Zoroxeus in forum Database Design
    Replies: 0
    Last Post: 01-30-2006, 11:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums