Inspiration

Nurses often keep discharge summaries of patients in hard-copies and when they are lost, they struggle to find them.

What it does

Allows discharge summaries to be securely stored in cloud database and only accessed through Okta auth.

How we built it

MERN Stack

Challenges we ran into

Not enough time to complete some features. Like creating a discharge summary and updating them

Accomplishments that we're proud of

Rushing out a basic workable app to retrieve discharge summaries

What we learned

How to use Okta Redirect Sign In with React

What's next for HelpNurse

Continue developing of features and deploy to prod.

Share this project:

Updates

posted an update

Dear judges,

Here are the exact steps to get the project up and running.

First, clone the repository from the link provided. Next, create a .env file in both the client and server folder. The .env file in client should have REACT_APP_ISSUER and REACT_APP_CLIENT_ID defined. Make sure to set up Okta as per documented here: https://developer.okta.com/docs/guides/sampleapp-oie-redirectauth/react/main/

In the .env file for the server folder, you need to define the CONNECTION_URL to a MongoDB Atlas Cluster.

After those steps are completed, cd client and run npm install. Open another terminal, cd server and run npm install.

Now, npm start for both and you will be able to use the application!

As of now, the only way to create, update and delete discharge summaries, would be using an API call to localhost:5000/internal. Due to the lack of time, we did not manage to implement a lot of the features for this application but will continue to work on it.

Here is a sample body to Create a Discharge Summary: Make a POST request to http://localhost:5000/internal/ with the body as follows:

{
    "patientName": "Benny",
    "creatorName": "Ryan",
    "ic": "S12345678A",
    "allergies": ["Aspirin"],
    "temperature": "36.3",
    "bloodPressure": "60/120 mmHg",
    "heartRate": "70",
    "respiratoryRate": "16",
    "spoTwo": "99",
    "diagnosis": "Gastroenteritis (Primary) Type 2 Diabetes Mellitus",
    "appointments": {
        "location": "Tampines Polyclinic"
    },
    "medications": [
        {
            "name": "Amlodipine",
            "frequency": "1 tablets per day",
            "specialInstructions": "drink with warm water 100ml"
        }
    ]
}

For updates, make a PATCH request to http://localhost:5000/internal/:id with body:

{
    "patientName": "Benny",
    "creatorName": "Bryan Rigourous",
    "ic": "S12345678A",
    "allergies": ["Aspirin"],
    "temperature": "36.3",
    "bloodPressure": "60/120 mmHg",
    "heartRate": "70",
    "respiratoryRate": "16",
    "spoTwo": "99",
    "diagnosis": "Gastroenteritis (Primary) Type 2 Diabetes Mellitus",
    "appointments": {
        "location": "Tampines Polyclinic"
    },
    "medications": [
        {
            "name": "Amlodipine",
            "frequency": "1 tablets per day",
            "specialInstructions": "drink with warm water 100ml"
        }
    ]
}

id would be: the _id of the DischargeSummary retrieved from your MongoDB database table.

To delete a post, make a DELETE request to http://localhost:5000/internal/:id where id is _id of a DischargeSummary retrieved from your MongoDB database table.

Log in or sign up for Devpost to join the conversation.