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="[email protected]" MAIL_FROM_NAME="${APP_NAME}" [email protected]
-
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