Re: Educational disease database
- From: "Allen Browne" <AllenBrowne@xxxxxxxxxxxxxx>
- Date: Mon, 11 Jul 2005 11:08:59 +0800
It is certainly possible to do this kind of thing in Access, but it will
need a normalized data structure to give you the searchability you need.
One disease has many symptoms.
One symptom can apply to many diseases.
This many-to-many relation is resolved using 3 tables:
Disease table (one record for each disease):
DiseaseID Unique ID
...
Symptom table (one record for each symptom):
SymptomID Unique ID
Disease (a record for each combination):
DiseaseID
SymptomID
So, if a disease has 10 symptoms, there are 10 records in this table that
have the DiseaseID.
In a similar way, there is a many-to-many relation between disease and drug.
You may also want to associate many keywords with different
diseases/symptoms/drugs/whatever, so there are further relations. Sounds
like you have further descriptive text (and possibly links) associated with
these entities.
The core aspect of making this searchable is to get the right data
structure. This is called "normalization", and is the first step towards
building any database. It is the design phase, like drawing up the
blue-prints for building a house, and the usefulness of the entire database
relies on getting the right structure, with the right mix of rigidity
(locking out bad data) and flexibility (coping with unforseen issues.)
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"austplow" <austplow@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A49F94AB-A8B0-47E8-BA7B-C453DAB30D68@xxxxxxxxxxxxxxxx
> My aim is to create a searchable database that can display tables with
> similar values (eg. all the things that cause watery eyes; or all the
> things
> that cause watery eyes AND red eyes AND are treated by drug 'X').
> You can see an example of a record in flow chart form at:
> (http://members.westnet.com.au/austplow/diseases%20database.gif). My data
> types will appear mainly as three word fields with a few paragraph types.
>
> Subsequently to a search, I hope to display the similar data in tables.
>
> Is my intended database suited to MS Access or not?
>
> Would hand coding in XML be appropriate?
>
> How can I make the database searchable by multiple keywords?
>
> Any assistance would be greatly appreciated,
> Kind Regards,
> Leigh
.
- Follow-Ups:
- Re: Educational disease database
- From: austplow
- Re: Educational disease database
- References:
- Educational disease database
- From: austplow
- Educational disease database
- Prev by Date: Re: Combination of fields must be unique
- Next by Date: Re: Combination of fields must be unique
- Previous by thread: Educational disease database
- Next by thread: Re: Educational disease database
- Index(es):
Relevant Pages
|