composer require absystem/wsbpjs
▪️ PHP >=5.6.
▪️ Composer.
▪️ Guzzle v6.x sudah include di package.
//vclaim
$config = [
'cons_id' => '',
'secret_key' => '',
'base_url' => 'https://new-api.bpjs-kesehatan.go.id:8080',
'service_name' => 'new-vclaim-rest'
];
//aplicaresws
$config = [
'cons_id' => '',
'secret_key' => '',
'base_url' => 'https://new-api.bpjs-kesehatan.go.id:8080',
'service_name' => 'aplicaresws/rest'
];
//pcare
$config = [
'cons_id' => '',
'secret_key' => '',
'base_url' => 'https://dvlp.bpjs-kesehatan.go.id:9081',
'service_name' => 'pcare-rest-v3.0',
'pcare_user' => '',
'pcare_pass' => '',
'kd_aplikasi' => ''
];
require_once __DIR__ . '/vendor/autoload.php';
$referensi = new \ABSystem\Bpjs\VClaim\Referensi($config);
var_dump($referensi->diagnosa('A00'));
▫️ vclaim & aplicaresws = https://dvlp.bpjs-kesehatan.go.id/VClaim-Katalog
▫️ pcare = https://dvlp.bpjs-kesehatan.go.id:9081/pcare-rest-v3.0/