A simple Django application that provides a UI and RESTFul API for read only access to NPPES data.
django-providerregistry is a simple Django application that provides UI and a RESTFul API for read-only access to public information contained within NPPES (a.k.a. the NPI database).
Detailed documentation for using the API is in the “docs” directory. Installation instructions are below.
- Install MongoDB according to http://docs.mongodb.org/manual/installation/
- Download and import the NPPES Public Data into MongoDB.
You can use the script “loadnppes.py”, part of to do this for you in one big step. loadnppes.py is part of the provider-data-tools package.
Pip install django-providerregistry and prerequisites:
pip install pymongo django-providerregistry
Add “providerregistry” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'providerregistry', )
Include the direct URLconf in your project urls.py like this:
Create the models that contain informationto help with searching:
python manage.py syncdb
Collect static content:
python manage.py collectstatic
Start the development server:
python manage.py runserver
Point your browser to htpp://127.0.0.1:8000/registry