Prerequisites
- Python 3.5.2
- Django 1.10.1 (pip install django)
- Django Rest framework (pip install djangorestframework)
REDCap
-
Example bookmarks must setup a project bookmark with the following link and Link type set to Advanced Link:
- http://localhost:8000/redcap_rest/authorize - shows an authorization
- http://localhost:8000/redcap_rest/mrns/ - show list of mrns for a given patient
- http://localhost:8000/redcap_rest/personinfo - patient demographics (this can be a Simple link)
- http://localhost:8000/redcap_rest/add/ - adds a patient (you must add new patient on redcap side first)
to run
$ python manage.py runserver
to add an admin user
$ python manage.py createsuperuser