Skip to content
Ivan William Harsono edited this page Oct 27, 2023 · 4 revisions

Welcome to the satusehat-integration library wiki!

Quick Installation

Composer Require

composer require ivanwilliammd/satusehat-integration

Publish Config

php artisan vendor:publish --provider="Satusehat\Integration\SatusehatIntegrationServiceProvider" --tag=config

Publish Migration

php artisan vendor:publish --provider="Satusehat\Integration\SatusehatIntegrationServiceProvider" --tag=migrations

Run Migration

php artisan migrate

Publish ICD-10 Migration, Seeder, and CSV file

# Run to publish all assets regarding ICD-10
php artisan vendor:publish --provider="Satusehat\Integration\SatusehatIntegrationServiceProvider" --tag=icd10

# Run to migrate the ICD-10 table
php artisan migrate

# Run to seed the data
php artisan db:seed --class=Icd10Seeder
Clone this wiki locally