Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

77 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CareSanar

Manage fast and securely

license last-commit repo-top-language repo-language-count

supabase nextjs


πŸ”— Table of Contents


πŸ“ Overview

CareSanar is an innovative Hospital Management System designed to streamline and automate administrative, financial, and clinical processes within a hospital. By integrating AI capabilities, HMS enhances decision-making, optimizes workflows, and provides insightful analytics to improve hospital operations. From patient management to staff scheduling, billing, and medical record-keeping, HMS is a comprehensive solution for modern healthcare facilities.


πŸ“½ Demo Video


πŸ‘Ύ Features

  • Data Analytics: Data visualization for various pages, Visualize key metrics and operational data in real-time
  • Patient Management: Efficiently manage patient records, admissions, and discharges.
  • Appointment Management:Efficiently manage and track appointments, with insights.
  • Staff Management: Staff management to ensure optimal resource allocation. Schedules staff based on their availability.
  • Bed Management: Bed management to ensure optimal ocuppancy allocation.
  • Reports Scheduler: Simplify sending of reports with automated email reports.
  • Medical Records: Maintain secure and accessible electronic medical records.
  • Iventory Management: Keep track of inventory and give insigths to each item. Ensuring an item doesn't go low in stock.
  • AI-Powered Diagnosis Assistant: Leverage AI to support medical healthcare, identify symptoms, and support decision-making..
  • Billing and Invoices: Track, send, and print invoices in the dashboard; Process and manage bills/invoice efficiently.

πŸ“βœοΈπŸ‘·β€β™€οΈ Overview Techical Details

ERD ARCHITECTURE

Ah yes, ofc monolithic, for the serverless model we are using from https://www.together.ai inference.


πŸš€ Getting Started

Test Account in production (Demo)

This account will be deleted once the judging period of the hackathon is finished.

β˜‘οΈ Prerequisites

Before getting started with hms, ensure your runtime environment meets the following requirements:

  • Programming Language: TypeScript
  • Package Manager: Pnpm

βš™οΈ Installation

Install hms using one of the following methods:

Build from source:

  1. Clone the hms repository:
❯ git clone https://github.com/jericho1050/hms
  1. Navigate to the project directory:
❯ cd hms
  1. Install the project dependencies:

Using pnpm Β  PNPM

❯ pnpm install

πŸ€– Usage

Run hms using the following command: Using pnpm Β  PNPM

❯ pnpm dev

or

❯ pnpm start

Important: Read below for supabase configurations, also don't forgot paste the necessary environment variables in .env

Supabase Config

  1. Create a new supabase project

Image

  1. Go to the SQL EDITOR, then copy and paste the code from db-schema.sql

Image

  1. Then go fetch your Porject URL and API Key and paste it in .env or .env.local to connect

  2. Go to project settings, get your project ID, then in your terminal, copy and paste the code below to generate types

npx supabase gen types typescript --project-id your_project_id  --schema public > types/supabase.ts

πŸ§ͺ Testing

Run the test suite using the following command: Using pnpm Β  PNPM

❯ pnpm test

πŸ”° Contributing

Contributing Guidelines
  1. Fork the Repository: Start by forking the project repository to your github account.

  2. Clone Locally: Clone the forked repository to your local machine using a git client.

    git clone https://github.com/jericho1050/caresanar
  3. Create a New Branch: Always work on a new branch, giving it a descriptive name.

    git checkout -b new-feature-x
  4. Make Your Changes: Develop and test your changes locally.

  5. Commit Your Changes: Commit with a clear message describing your updates.

    git commit -m 'Implemented new feature x.'
  6. Push to github: Push the changes to your forked repository.

    git push origin new-feature-x
  7. Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.

  8. Review: Once your PR is reviewed and approved, it will be merged into the main branch. Congratulations on your contribution!

Contributor Graph


πŸŽ— License

This project is protected under the Apache License License. For more details, refer to the LICENSE file.


πŸ™Œ Acknowledgments

Discord

Discord jericho1050


About

A hospital management system (Web based)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages