• Designing a database

    • This topic has 7 replies, 5 voices, and was last updated 11 years ago.
    Author
    Topic
    #494403

    Dear All
    I want to analyze the system and a small clinic you design tables for the patients … but the question has to sometimes be booked by appointment Telephone Will I do the design table reservations or do I put the main data table bookings for patients immediately with

    Viewing 6 reply threads
    Author
    Replies
    • #1449889

      I don’t see how the way an appointment is done would affect table design (other than maybe an attribute to represent the way appointment was done, if that is relevant), unless you want to treat appointments differently depending on the way they are done.

    • #1450672

      it’s ok thank you my dear teacher

    • #1450808

      You want one table for Patient info, and a separate table for appointments. A one-to-many relationship between Patients and appointments (each patient can have many appointments, but not the other way around). Within the appointment table, looks like you’ll need as many optional (Nullable) columns/attributes (such as TelephoneNumber) as necessary to facilitate an appointment. Won’t matter too much, though, because the Appointment record will always tie back to the Patient table via the foreign key. What you’ll really need is a flexible search input form to make appointments, and an equally good one to search/view appointments by using multiple criteria. Hope this helps.

    • #1450835

      thank you my dear teacher

    • #1451010

      The first thing you must do in designing a database is to identify the ENTITIES. You have patients, Dr.’s and appointments to start. Each patient has a one to many relationship with appointments and also a one to many with Dr’s. Each Dr. also has a one to many relationship with both appointments and patients. Probably all of your relationships for this type of system will be on to many.
      I strongly suggest that you go through the examples that came with your system. The most relevant I have seen is designing a system for video rentals. You can apply most of what you learn there to you Clinic system. Pay attention to the part of the video rentals that deals with payments. You can use that for your patient insurance entity.
      Having designed one of these myself, I can tell you to be prepared for it to grow fast, and requests for additional functionality will follow.

      HTH
      Peter

    • #1451015

      Please identify the database system you are trying to use, perhaps I can help you, or at least verify that you are setting things up correctly.
      Peter

    • #1451508

      Before you do anything, make absolutely sure you understand the full requirements for the system. Appointment systems sound simple, right? Heck, maybe you just use a standard calendar app (google, outlook, whatever) and schedule appointments that way. I can almost bet you that there are constraints to the design you don’t yet know. for instance, are you booking a patient into a time slot? What about a specific exam room? What about a specific doctor/nurse/pa? What about special equipment required for the visit? What if you need to change time, room, or medical specialist? How does your system handle unusual cases?

      I’d strongly recommend you sit down and work with several of the people who handle scheduling and see what kind of issues they need to handle, THEN figure out your design.

      Good luck!

    Viewing 6 reply threads
    Reply To: Designing a database

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: