Centralized import from Ed.mdb: Difference between revisions
Ttenbergen (talk | contribs) |
Ttenbergen (talk | contribs) No edit summary |
||
Line 25: | Line 25: | ||
* automate running of phathogen fixer | * automate running of phathogen fixer | ||
* add code to import the current "other .mdbs" | * add code to import the current "other .mdbs" | ||
* import ADLs | |||
== ver 2013-11-18 == | == ver 2013-11-18 == | ||
Line 35: | Line 36: | ||
[[Category:2013 data upgrades]] | [[Category:2013 data upgrades]] | ||
[[Category:Development Documentation]] |
Revision as of 13:50, 2013 November 19
The Access file Creating Centralized import from Ed.mdb contains the code needed to import Ed's old data into centralized_data.mdb.
It is stored on x:\ccmdb\Centralized import from Ed
Use
Open Modules, make sure paths in public constants on top are correct, run Public Sub Import().
resolutions for differences between ed's and centralized
serials for early CC data
Early CC records don't have serial numbers. I assigned negative numbers arbitrarily to these to be able to generate D_IDs.
duplicates
turned out there were a few duplicates in ed's where a serial was used twice for the same hospital/location. These were resolved in Ed's data and should not be a problem for the final import.
legacy labs
Confirming with Julie that it is OK not to import the legacy ones we are no longer collecting. Ttenbergen
Apache, LOS, etc
Importing these into a table "L_Aux".
extra data
Is there more?
Fixes still needed
- automate running of phathogen fixer
- add code to import the current "other .mdbs"
- import ADLs
ver 2013-11-18
This is not the date it was made, but the date documenting started. after I lost and had to find the file. :-)
- fixed lab importing
- moved L_aux into centralized db and including in import and linking.
- set the record_Status to complete for all imported
- added query "x_Infection_pathogen_fix" to put dx code and pathogen number into their respective places.
- fixed PHI import query for medicine, it was excluding names and DOB for some reason.