Hi there,
I was wondering if someone could lend some advice to designing a database which uses some information from a excel file.
I'm pretty new to access and I'm struggling to get my head around this particular problem; there are a few other threads that almost but not-quite answer my question. I have a feeling the answer lies in an update query but I'd appreciate any further pointers.
I am trying to ease data collection on patients who had an operation.
I have 3 main tables:
Booking episode:
-Booking ID (primary key)
-Patient ID
-Operation ID
-Booking date
-etc etc
Patient details:
-Patient ID (primary key)
-Patient's medical resource number (MRN)
-Age
-etc etc
Operation type
-Operation ID (primary key)
-Specialty
-Operation name
So that's pretty easy.
What's tricky is that I have data from an external source in Excel:
-External booking number (each patient may have more than one)
-Patient MRN (unique to each patient)
-Booking date
-etc etc
What I would like to happen during data entry:
-A list showing the external bookings which don't yet have a corresponding entry in the 'booking episode' table; this should reduce as each entry is made until all are done
-An easy way to create a new entry in the 'booking episode' table from this list, automatically inputting values such as operation date
-The simultaneous creation of a new entry in the 'patient details' table including the automatic input of the patient's MRN (if another entry doesn't already have the same MRN)
TL;DR - How to take data from an excel file, split a value into one table and another value into another table while maintaining the relationship between the two.
If I have made things more complicated than they need to be feel free to tell me to start from scratch!
Regards,
Uppertoe