Closed zsenousy closed 1 month ago
Well done @zsenousy Great work. I have one concern which is that AMR supports ATC but I do not think it supports RxNorm
. I appreciate you might be busy with the new project now and I am happy to help amend this if you prefer.
@razekmh Thanks, Mahmoud for your review. Yes, I am aware of that. As you can see in the code, 'Rxnorm' has been assigned to all records just for the sake of having non nullable columns. What I focused on is to have logical connection between drug and concept while generating the synthetic data. Please feel free to modify the code to accommodate with your needs and to be fully logical.
I am merging this now as I would like to use the data generator in the development for the administration table. We can add to the data generator later if needed.
A script has been developed for issue #35 to generate Synthetic drug_exposure and Concept data. The data is generated using restrictions of: 1) concept table's
concept_id
maps to drug_exposure table'sdrug_concept_id
) and (route_concept_id
maps to 7 different routes from 20 unique drug names in the concept table). Number of Routes, Vocab_id, domain_id, and other variables can be changed to accommodate your needs.