Table of Contents
The referral system is a web-based application that allows users to create and manage referrals for medical services. It facilitates the seamless transfer of patients from one healthcare provider to another, ensuring efficient coordination and continuity of care.
For more information, please refer to the Documentation
-
Clone the repo
git clone https://github.com/github_username/repo_name.git
-
Navigate into the system directory
cd Referral-Request-FrontEnd/system
-
Install dependencies - missing
composer packages
composer install
-
Install NPM packages
npm install
-
Create a .env file
- Copy content of the .env.example file
- Paste it in your .env file
-
Run
php artisan key:generate
-
Setup Database Credentials in the .env file.
- DB_HOST=localhost
- DB_DATABASE=''
- DB_USERNAME=''
- DB_PASSWORD=''
-
Publish all the schema to the database.
php artisan migrate
-
Seed the database with dummy users.
php artisan tinker User::factory()->count(5)->create()
-
Navigate to your browser and type “localhost/foldernameinHTdocs/” in the address bar to access the login page.
-
How to get the users' credentials
- Access your database
- Open the users table
- Copy any of the usernames and paste it in the login page - username section
- The password is, "password"
-
Create faker for user and roles
- Edit the roles table.
- Insert the role, guard_name, and the logged in user id in the role_id
The flowchart shows the high-level process flow for the patient referral system. The process begins with client registration, and continues with the capture of medical information and clinical summary. A referral is then created, and the referral status is tracked until feedback is received.
The use case diagram shows the different actors that interact with the patient referral system and the use cases that they can perform. The actors include the client, referring health worker, referral coordinator, receiving facility and shared health record
The flowchart shows the high-level process flow for the patient referral system. The process begins with client registration, and continues with the capture of medical information and clinical summary. A referral is then created, and the referral status is tracked until feedback is received.
The data flow diagram shows the flow of information in the patient referral system. The system captures information about clients, medical information, referrals, and feedback, and stores this information in a database. The information is then used to generate reports and provide feedback to the referring health worker.)
The activity diagram shows the detailed process flow for creating a referral in the patient referral system. The process begins with the creation of a new referral, and continues with the selection of the referral priority, entry of the diagnosis and reason for referral, selection of the physician/provider, and submission of the referral. The process concludes with the tracking of the referral status until feedback is received.
If you have a suggestion that would make this better, please fork the repo and create a pull request. Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature-name
) - Commit your Changes (
git commit -m 'Add Feature'
) - Push to the Branch (
git push origin feature-name
) - Submit a pull request explaining the changes you have made.
This referral system is open-source and released under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.
If you have any questions, suggestions, or feedback, please reach out to the project maintainers at [email protected].
Thank you for using the referral system!