generated from spatie/package-skeleton-php
-
-
Notifications
You must be signed in to change notification settings - Fork 41
Installation
Ivan William Harsono edited this page Apr 6, 2024
·
2 revisions
composer require ivanwilliammd/satusehat-integration
php artisan vendor:publish --provider="Satusehat\Integration\SatusehatIntegrationServiceProvider" --tag=config
php artisan vendor:publish --provider="Satusehat\Integration\SatusehatIntegrationServiceProvider" --tag=migrations
php artisan migrate
# 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
Isilah Organization ID, Client ID dan Client Secret yang diberikan oleh SATUSEHAT di file .env
SATUSEHAT_ENV=xxxxxx (DEV/STG/PROD)
SATUSEHAT_BASE_URL_PROD=https://api-satusehat.kemkes.go.id
SATUSEHAT_BASE_URL_STG=https://api-satusehat-stg.dto.kemkes.go.id
SATUSEHAT_BASE_URL_DEV=https://api-satusehat-dev.dto.kemkes.go.id
SATUSEHAT_AUTH_ENDPOINT=/oauth2/v1
SATUSEHAT_FHIR_ENDPOINT=/fhir-r4/v1
ORGID_DEV=xxxxxx
CLIENTID_DEV=xxxxxx
CLIENTSECRET_DEV=xxxxxx
ORGID_STG=xxxxxx
CLIENTID_STG=xxxxxx
CLIENTSECRET_STG=xxxxxx
ORGID_PROD=xxxxxx
CLIENTID_PROD=xxxxxx
CLIENTSECRET_PROD=xxxxxx