Note that there are some explanatory texts on larger screens.

plurals
  1. POMS Access database design - tracking patient referrals
    primarykey
    data
    text
    <p>I am building a database on Access that, among other things, tracks who has referred patients to our office (I work in an optometrist's office which does a specialized kind of therapy).</p> <p>I don't have much experience creating relational databases, and I am wondering if I'm heading the right direction. Before posting here, I've asked 5 of my computer programmer friends for help, but suddenly every is busy... So here goes.</p> <p>1 patient can have Many referrals</p> <ul> <li>my son's teacher and my coworker referred me here (2 referring sources)</li> <li>my doctor told me about you, and then I saw your website (2 referring sources)</li> </ul> <p>1 referral can consist of:</p> <ul> <li>an individual (Dr Blah-Blah, or My Friend Jane Doe)</li> <li>an organization (Doctors Group)</li> <li>an individual that is part of an organization (Dr. So-and-So from Doctors Group)</li> <li>a media source (website, pamphlet, commercial, tv show, etc)</li> </ul> <p>Often it's not possible to determine which individual at an organization referred the patient (because patients can't remember), so only the organization is recorded. But sometimes it is possible, so the individual and the organization are recorded. And sometimes individuals are not part of any organization. </p> <p>This is the partial design that I came up with: <a href="http://postimg.org/image/uipaq7rrl/" rel="nofollow">http://postimg.org/image/uipaq7rrl/</a></p> <ul> <li>Patients Table</li> <li>Referring Media Table <ul> <li>stores details of media sources</li> </ul></li> <li>Referring Organization Table <ul> <li>stores the names/details of organizations</li> </ul></li> <li>Referring Individuals Table <ul> <li>stores names/details of individuals</li> <li>uses Ref Org ID as a foreign key, in case individuals are members of an organization</li> </ul></li> <li>Referrals Table <ul> <li>uses the Patient ID as a foreign key to link the referrals to the patients</li> </ul></li> </ul> <p>How should I link the Referrals Table to the Ref Org, Ref Indv, and Ref Media tables?</p> <p>I came up with something like this: <a href="http://postimg.org/image/qtpoiflmv/" rel="nofollow">http://postimg.org/image/qtpoiflmv/</a></p> <p>But that seems redundant and leaves a lot of blank spaces, depending on the type of referral: <a href="http://postimg.org/image/oepj99ohz/" rel="nofollow">http://postimg.org/image/oepj99ohz/</a></p> <p>What should I do? What is a good way to build relationships between these tables?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload