Skip to content

The PMC is able to pull up a patient's past medication history in order to analyze whether a new medication will cause adverse interactions with current medication.

License

Notifications You must be signed in to change notification settings

pravin-sivabalan/HackIllinois

Repository files navigation

Prescription Merge Conflict (PMC)

The PMC is able to pull up a patient's past medication history in order to analyze whether a new medication will cause adverse interactions with current medication.

Installation

Install pip and Python 2.7

Prerequisites

Libraries

  • A requirements.txt file has been provided to download Python libraries and dependencies
  • Download required libraries with the following command


pip install -r requirements.txt

Usage

To run the Flask server run the following command

python app.py
  1. Everytime a change is made to any file the server is updated automatically

2. In order to stop the server CTRL+C
3. You can verify the server is runniong by going to http://127.0.0.1:5000 and looking for Hello World!
4. In order to view the website open the login.html file with a browser of your choice

API Endpoints

####/taken/firstName="firstName"&lastName="lastName" Description: Takes name of patient and returns an array of the names of medication being taken and their lexicographical codes
Method: GET
####/combine/drug="drug"&check_drug="check_drug" Description: Takes all currently prescribed medication and newly proposed medication and returns the descriptions of their potential interactions
Method: GET
NOTE: When entering in drug names separate current drug names by 0. There can be no spaces in drug names

Contributors and Contributing

Link to Contributors: CONTRIBUTORS.md
Link to Contributing: CONTRIBUTING.md

About

The PMC is able to pull up a patient's past medication history in order to analyze whether a new medication will cause adverse interactions with current medication.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published