Proposal
Going along with #38 I would suggest we break apart this module. The module itself is commented out to specify function domains. We should consider creating a utils.py or common.py to house common functions that can be used anywhere in the codebase. Perhaps all functions related to the database could be housed in a db.py module. The reader modules are already broken out into meps and rxnorm readers, maybe it makes more sense to combine these into a single readers.py module. Another consideration would be to use rxnorm and meps as module names themselves this way when invoking methods they are namespaced, ie rxnom.reader() or with the db module db.create_mdt_con().
This is all mostly just food for thought, with the idea that the directory structure of the repo can provide syntactical meaning depending on how methods are imported.
Inspiration from other repos
Proposal
Going along with #38 I would suggest we break apart this module. The module itself is commented out to specify function domains. We should consider creating a
utils.pyorcommon.pyto house common functions that can be used anywhere in the codebase. Perhaps all functions related to the database could be housed in adb.pymodule. The reader modules are already broken out into meps and rxnorm readers, maybe it makes more sense to combine these into a singlereaders.pymodule. Another consideration would be to use rxnorm and meps as module names themselves this way when invoking methods they are namespaced, ierxnom.reader()or with the db moduledb.create_mdt_con().This is all mostly just food for thought, with the idea that the directory structure of the repo can provide syntactical meaning depending on how methods are imported.
Inspiration from other repos