GithubHelp home page GithubHelp logo

emids-2022's Introduction

emids-2022

Description

To be able to enter a prescription with structured data in a software system, within a comparable time to hand written prescription

EMR software is used by doctors to enter all patient information. They also add the prescribed prescriptions, prescription data entry in software makes it possible for pharmacy and insurance firms to access prescription information and lends itself to research and analytics, but it takes far longer than entering a prescription by hand.

We will therefore simplify and make prescription data entry comparable to handwritten prescription data entry.

๐Ÿ› ๏ธ Tech Stack

  • React.js for Frontend
  • Node.js and Express.js for Backend
  • MonogDB for Database
  • Tailwind CSS for frontend UI

cURL for backend

Finding Patient by Name

curl --location --request GET 'http://localhost:5000/api/patient/find?q={name}'

Finding Doctor by Name

curl --location --request GET 'http://localhost:5000/api/doctor/find?q={name}'

Adding a new Doctor

curl --location --request POST 'http://localhost:5000/api/doctor/new' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ARRAffinity=59ed4a69001d7adf38f26ae63c4e590c47dbb2ac549c856f50127e235fd98cf4; ARRAffinitySameSite=59ed4a69001d7adf38f26ae63c4e590c47dbb2ac549c856f50127e235fd98cf4' \
--data-urlencode 'name=Dr. Saumya Gupta
' \
--data-urlencode 'degree=MBBS' \
--data-urlencode 'specialization=Dentist' \
--data-urlencode 'address=D57/51B, Siddhgiri Bagh, Varanasi 201001' \
--data-urlencode 'registrationNumber=02916'

Adding a new Patient

curl --location --request POST 'http://localhost:5000/api/patient/new' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: ARRAffinity=59ed4a69001d7adf38f26ae63c4e590c47dbb2ac549c856f50127e235fd98cf4; ARRAffinitySameSite=59ed4a69001d7adf38f26ae63c4e590c47dbb2ac549c856f50127e235fd98cf4' \
--data-urlencode 'name=Sahil Kumar Jena' \
--data-urlencode 'age=21' \
--data-urlencode 'symtoms=complain of fever' \
--data-urlencode 'gender=Male' \
--data-urlencode 'address=chennai' \
--data-urlencode 'phoneNumber=8787064557'

๐Ÿ“‚ Project Organization

โ”œโ”€โ”€ README.md          <- The top-level README for developers using this project.
โ”‚
โ”œโ”€โ”€ emids-frontend
โ”‚       โ”œโ”€โ”€ package.json        <- Containing the required node modules start up scripts etc
โ”‚       โ”œโ”€โ”€ postcss.config.js   <- Tailwind css file
โ”‚       โ”œโ”€โ”€ tailwind.config.js  <- Tailwind css file
โ”‚       โ”œโ”€โ”€ public             
โ”‚       โ””โ”€โ”€ src
โ”‚           โ”œโ”€โ”€ App.js          <- React App 
โ”‚           โ”œโ”€โ”€ index.js        <- React App startup 
โ”‚           โ”œโ”€โ”€ Home.js         <- Home Page 
โ”‚           โ”œโ”€โ”€ Layout.js       <- Navigation Structure 
โ”‚           โ”œโ”€โ”€ pages           <- Folder for pages
โ”‚           โ””โ”€โ”€ components      <- Folder for react components
โ”‚
โ”‚
โ””โ”€โ”€ emids-backend
    โ”œโ”€โ”€ node_modules      <- Folder containg node modules 
    โ”œโ”€โ”€ .env              <- MongoDB connection string
    โ”œโ”€โ”€ prescription
    โ”‚    โ””โ”€โ”€ index.js     <- Making the html for EHR and converting to pdf format  
    โ”œโ”€โ”€ routes
    โ”‚    โ”œโ”€โ”€ patient.js   <- API  Routes for add/deleting a patient  
    โ”‚    โ””โ”€โ”€ doctor.js    <- API Routes for add/deleting a doctor
    โ”œโ”€โ”€ models
    โ”‚    โ”œโ”€โ”€ patient.js   <- Defining  Database Structure Routes for  a patient  
    โ”‚    โ””โ”€โ”€ doctor.js    <- Defining  Database Structure Routes for  a doctor 
    โ”‚
    โ”œโ”€โ”€ Prescription.pdf. <- Sample PDF File for editing
    โ”‚
    โ”œโ”€โ”€ index.js          <- Express app with startu
    โ”œโ”€โ”€ package.json      <- Containing the required node modules start up scripts etc
    โ””โ”€โ”€ db
         โ””โ”€โ”€  conn.js     <- Connect to MongoDB 

Clone and Start

Starting the frontend

cd emids-frotned
npm start

Starting the backend

cd emids-backend
node index

Progress till now

Day - 3

DOC-1 DOC-2 DOC-3 DOC-4 DOC-5

Day - 2

response

sa-presc

Screenshot-2022-11-12-173145

emids-2022's People

Contributors

gaurangagarwal15 avatar sahiljena avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.