R
rick m
My daughter's school asked me to design a database to track immunization
records. This freebie will have the following fields:
ID (autonumber)
FirstName
LastName
DOB
It will also have to have fields for each vaccine (7 of them) along with
fields for the times kids are supposed to have gotten their shots, so
Hep will need to have a the following fields: HEPBbirth, HEPB4month,
HEPB6month.
Would "best practice" be to have a table for each vaccine, so HEPB is
it's own table with the ID number linked from the "master table" along
with the vaccine times? Or should I just lump them all into one table?
There are 40 kids, each year 6 leave and 6 or so come on board.
My idea would be to have the following tables:
MasterTable (ID, FirstName, LastName, MedWaiver, RelWaiver)
HEPB (ID, birth, 4mo, 6mo)
DTAP (ID, 2mo, 4mo, 6mo, 1yr, 4yr)
NIB (ID, 2mo, 4mo, 6mo, 1yr)
POLIO (ID, 4mo, 1yr, 4yr)
MMR (ID, 1yr, 4yr)
VARICELLA (ID, 1yr)
PREUNAR (ID, 1yr)
The "ID" is what will link them together. All of the fields except for
ID are short dates. MedWaiver and RelWaiver are checkboxes for medical
and religious waivers.
Lastly, when I do a report, can I have it print the first name and
initial of the last name? They kids are "sorted" by first name and last
initial.
Thanks much,
rick
records. This freebie will have the following fields:
ID (autonumber)
FirstName
LastName
DOB
It will also have to have fields for each vaccine (7 of them) along with
fields for the times kids are supposed to have gotten their shots, so
Hep will need to have a the following fields: HEPBbirth, HEPB4month,
HEPB6month.
Would "best practice" be to have a table for each vaccine, so HEPB is
it's own table with the ID number linked from the "master table" along
with the vaccine times? Or should I just lump them all into one table?
There are 40 kids, each year 6 leave and 6 or so come on board.
My idea would be to have the following tables:
MasterTable (ID, FirstName, LastName, MedWaiver, RelWaiver)
HEPB (ID, birth, 4mo, 6mo)
DTAP (ID, 2mo, 4mo, 6mo, 1yr, 4yr)
NIB (ID, 2mo, 4mo, 6mo, 1yr)
POLIO (ID, 4mo, 1yr, 4yr)
MMR (ID, 1yr, 4yr)
VARICELLA (ID, 1yr)
PREUNAR (ID, 1yr)
The "ID" is what will link them together. All of the fields except for
ID are short dates. MedWaiver and RelWaiver are checkboxes for medical
and religious waivers.
Lastly, when I do a report, can I have it print the first name and
initial of the last name? They kids are "sorted" by first name and last
initial.
Thanks much,
rick