https://github.com/cbeuw/dmd
NHS Dictionary of medicines and devices (dm+d) SQL parser
https://github.com/cbeuw/dmd
Last synced: 4 months ago
JSON representation
NHS Dictionary of medicines and devices (dm+d) SQL parser
- Host: GitHub
- URL: https://github.com/cbeuw/dmd
- Owner: cbeuw
- License: apache-2.0
- Created: 2019-03-10T11:55:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-07T17:12:10.000Z (over 5 years ago)
- Last Synced: 2024-12-25T01:42:51.627Z (6 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dmd
>**No society can legitimately call itself civilised if a sick person is denied medical aid because of lack of means.**
>
>Aneurin Bevan, _In Place of Fear_NHS Dictionary of medicines and devices (dm+d) SQL parser
These Python and SQL scripts are used to parse the dm+d releases in XML format into a MySQL database. Relational fields are referenced together using foreign keys, and the description of the columns are stored in their comments.
You can download the official releases of dm+d for free from https://isd.digital.nhs.uk.
## Usage
Install MySQL server, unzip the dm+d releases into a folder and clone this repo.Run `python parser.py -u [your mysql username] -p [your mysql password] -d [relative or absolute path to the directory containing the dm+d folders]`