Skip to content

ekomh170/bpjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BPJS Kesehatan Indonesia

This Package clone from nsulistiyawan/bpjs under maintenance.

PHP package to access BPJS Kesehatan API 🚑. This package is a wrapper of BPJS VClaim Web Service https://dvlp.bpjs-kesehatan.go.id/VClaim-Katalog

Installation 🔥

composer require mbahmario/bpjs

Example Usage 🎊

//use your own bpjs config
$vclaim_conf = [
    'cons_id' => '123456',
    'secret_key' => '123456',
    'base_url' => 'https://dvlp.bpjs-kesehatan.go.id',
    'service_name' => 'vclaim-rest'
];

// use Referensi service
// https://dvlp.bpjs-kesehatan.go.id/VClaim-Katalog/Referensi

$referensi = new Mbahmario\Bpjs\VClaim\Referensi($vclaim_conf);
var_dump($referensi->diagnosa('A00'));

//use Peserta service
//https://dvlp.bpjs-kesehatan.go.id/VClaim-Katalog/Peserta

$peserta = new \Mbahmario\Bpjs\VClaim\Peserta($vclaim_conf);
var_dump($peserta->getByNoKartu('123456789','2018-09-16'));

Supported Services (WIP) 🚀

  • Referensi
  • Peserta
  • SEP
  • Rujukan
  • Lembar Pengajuan Klaim
  • Monitoring
  • Aplicare

Contributions 👌

Your contribution is always welcome!

About

BPJS Wraper For Bridging SIMRS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%