This is a web-based Electronic Medical Record systems application which complies with Indonesia's FHIR Implementation (SATUSEHAT).
API Documentation can be accessed through Postman
- User Registration
- Practitioner Onboarding
- Patient Onboarding
- Rawat Jalan Jilid 1
- Rawat Inap Jilid 1
- IGD Jilid 1
This project is built using:
- PHP 8.2
- Laravel 10
- MySQL
- Vue.js 3 with Inertia.js
- Tailwind CSS 3
-
Clone the project
-
Run these commands:
# install Laravel dependencies composer install # install Vue dependencies npm install # Create env file from example cp .env.example .env
-
Change these values in
.env
:DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=rme DB_USERNAME=root DB_PASSWORD= MAIL_MAILER=smtp MAIL_HOST=mailpit MAIL_PORT=1025 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS="hello@example.com" MAIL_FROM_NAME="${APP_NAME}" MAIL_ADMIN=hello@example.com
-
Use SATUSEHAT Postman to create Organization and Location resource. Paste the resource data in
storage/onboarding-resource
. -
Change these values in
.env
, get the latest values through SATUSEHAT Developer Portalauth_url=https://api-satusehat-dev.dto.kemkes.go.id/oauth2/v1 base_url=https://api-satusehat-dev.dto.kemkes.go.id/fhir-r4/v1 consent_url=https://api-satusehat-dev.dto.kemkes.go.id/consent/v1 kfa_v1_url=https://api-satusehat-dev.dto.kemkes.go.id/kfa kfa_v2_url=https://api-satusehat-dev.dto.kemkes.go.id/kfa-v2 client_id=your_client_id client_secret=your_client_secret organization_id=your_organization_id location_id=your_location_id
-
Run these commands:
# Generate app key php artisan key:generate # Migrate and seed database php artisan migrate --seed # (Optional) seed database with dummies if needed php artisan db:seed DummyDataSeeder # (Optional) seed database with example data if needed php artisan db:seed IdFhirResourceSeeder # Build the front-end npm run build
-
Serve the app using web servers or local server with
php artisan serve
-
Run Task Scheduler. Please refer to Laravel's documentation
- @itsLeonB - Back-end
- @mandorzqy - Front-end
- @salmahatta - UI/UX
Rekam Medis Elektronik LMA © 2024 by Ellion Blessan, Hanif Mitsal Mahatta, and Muhammad Armando Nur Rizqy Ansar is licensed under CC BY-NC 4.0.
You are free to:
- Share: Copy and redistribute the material in any medium or format.
- Adapt: Remix, transform, and build upon the material.
Under the following terms:
- Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made.
- NonCommercial: You may not use the material for commercial purposes.
See the full license text in the LICENSE
file.