<?php

namespace App\Http\Controllers\AntrolBpjs;

use App\Service\Bpjs\Bridging;
use Illuminate\Http\Request;
use App\Helpers\BPJSHelper;

class AntriController extends BpjsController
{
    protected $bpjs;

    public function __construct(\Illuminate\Http\Request $request)
    {
        parent::__construct();
        $this->request = $request;
        $this->bpjs = new Bridging($this->consid, $this->timestamp, $this->signature);
    }


    // get request
    public function Dokter()
    {
        $endpoint = "ref/dokter";
        $dokter = $this->bpjs->getRequest($endpoint);
        return $dokter;
    }

    public function Poli()
    {
        $endpoint = "ref/poli";
        $poli = $this->bpjs->getRequest($endpoint);
        // $time = BPJSHelper::bpjsTimestamp();
        // echo $time . '<br>';
        return $poli;
    }

    public function Jadwal($kodepoli, $tgl)
    {
        $endpoint = "jadwaldokter/kodepoli/" . $kodepoli . "/tanggal/" . $tgl;
        $jadwal = $this->bpjs->getRequest($endpoint);
        return $jadwal;
    }

    public function DashboardTanggal($tgl, $waktu)
    {
        $endpoint = "dashboard/waktutunggu/tanggal/" . $tgl . "/waktu/" . $waktu;
        $dashboard = $this->bpjs->getRequest2($endpoint);
        return $dashboard;
    }

    public function DashboardBulan($bulan, $tahun, $waktu)
    {
        $endpoint = "dashboard/waktutunggu/bulan/" . $bulan . "/tahun/" . $tahun . "/waktu/" . $waktu;
        $dashboard = $this->bpjs->getRequest2($endpoint);
        return $dashboard;
    }


    // post update delete request
    public function UpdateJadwal(request $request)
    {
        $data = json_encode($request->all());
        $endpoint = "jadwaldokter/updatejadwaldokter";
        $update = $this->bpjs->postRequest2($endpoint, $data);
        return $update;
    }

    public function TambahAntrean(request $request)
    {
        $data = json_encode($request->all());
        $endpoint = "antrean/add";
        $tambah = $this->bpjs->postRequest2($endpoint, $data);
        return $tambah;
    }

    public function UpdateWaktuAntrean(request $request)
    {
        $data = json_encode($request->all());
        $endpoint = "antrean/updatewaktu";
        $update = $this->bpjs->postRequest2($endpoint, $data);
        return $update;
    }

    public function BatalAntrean(request $request)
    {
        $data = json_encode($request->all());
        $endpoint = "antrean/batal";
        $batal = $this->bpjs->postRequest2($endpoint, $data);
        return $batal;
    }

    public function GetListTask(request $request)
    {
        $data = json_encode($request->all());
        $endpoint = "antrean/getlisttask";
        $task = $this->bpjs->postRequest($endpoint, $data);
        return $task;
    }

    // ------------------------------update antrol versi 3---------------------------------------------------------//


    public function GetListFPPoli()
    {
        // $data = json_encode($request->all());
        $endpoint = "ref/poli/fp";
        $task = $this->bpjs->getRequest($endpoint);
        return $task;
    }

    public function RefPasienFP($jnsid , $noid)
    {
        // $endpoint = "dashboard/waktutunggu/bulan/" . $bulan . "/tahun/" . $tahun . "/waktu/" . $waktu;
        $endpoint = "ref/pasien/fp/identitas/". $jnsid ."/noidentitas/". $noid;
        $dashboard = $this->bpjs->getRequest($endpoint);
        return $dashboard;
    }

    public function AntreanPerTanggal($tanggal)
    {
        // $endpoint = "dashboard/waktutunggu/bulan/" . $bulan . "/tahun/" . $tahun . "/waktu/" . $waktu;
        $endpoint = "antrean/pendaftaran/tanggal/". $tanggal;
        $dashboard = $this->bpjs->getRequest($endpoint);
        return $dashboard;
    }

    public function AntreanPerKodeBooking($kodebooking)
    {
        // $endpoint = "dashboard/waktutunggu/bulan/" . $bulan . "/tahun/" . $tahun . "/waktu/" . $waktu;
        $endpoint = "antrean/pendaftaran/kodebooking/". $kodebooking;
        $dashboard = $this->bpjs->getRequest($endpoint);
        return $dashboard;
    }

    public function AntreanDiLayani()
    {
        // $endpoint = "dashboard/waktutunggu/bulan/" . $bulan . "/tahun/" . $tahun . "/waktu/" . $waktu;
        $endpoint = "antrean/pendaftaran/aktif";
        $dashboard = $this->bpjs->getRequest($endpoint);
        return $dashboard;
    }

    public function AntreanDiLayaniHariDokterPoli($kodepoli,$kodedokter,$hari,$jampraktek)
    {
        // $endpoint = "dashboard/waktutunggu/bulan/" . $bulan . "/tahun/" . $tahun . "/waktu/" . $waktu;
        $endpoint = "antrean/pendaftaran/kodepoli/".$kodepoli."/kodedokter/".$kodedokter."/hari/".$hari."/jampraktek/". $jampraktek;
        $dashboard = $this->bpjs->getRequest($endpoint);
        return $dashboard;
    }
    

    public function AddAntrianFarmasi(request $request)
    {
        $data = json_encode($request->all());
        $endpoint = "antrean/farmasi/add";
        $tambah = $this->bpjs->postRequest2($endpoint, $data);
        return $tambah;
    }



// ---- APCARE---
    public function Referensi_kamar()
    {
        // $endpoint = "dashboard/waktutunggu/bulan/" . $bulan . "/tahun/" . $tahun . "/waktu/" . $waktu;
        $endpoint = "aplicaresws/rest/ref/kelas";
        $dashboard = $this->bpjs->getRequest($endpoint);
        return $dashboard;
    }

    public function Ketersediaan_kamar($mulai, $limit)
    {
        // $endpoint = "dashboard/waktutunggu/bulan/" . $bulan . "/tahun/" . $tahun . "/waktu/" . $waktu;
        $endpoint = "aplicaresws/rest/bed/read/0139R009/$mulai/$limit";
        $dashboard = $this->bpjs->getRequest($endpoint);
        return $dashboard;
    }


    public function decompressed()
    {
        $string = "e0GidhtXDQLftE2O2PXx6IFbJxAWc36xyOihLSNDdGyLSIuvSbWIomLRNWmLBTsCaDTgcT8cP7tzSdokmQFZE27SmOQhzVOrVVCdCY69NGKP9sGWxsD3VKIM25gz7KKeii17z2Gy8ViiQqo0Rbl6UWHmYsPIYcFrWDNzxsh2TnyuX1mQsMDxLjReDCj2sMMnJeFlZBI\/ntW6c9DaSwv88ZwRd06ydlXLmk\/9WBIWG2QJPpAB7ck2rVm4Dt3pK29oZKOkt\/w\/tjnkG1uSaLpCLyZd1ePHT\/f9m7i\/U9\/4M2XIpN4Kv4EJiNSAuReEZpZxKSniQCUq8EU4Ehq\/rB1Gsiy6vQ6h0+fVRFTBKcisQNrwf2Jr1S6baCDR8oYKWwXYNZJsBRJhb2CDDWcc0JAy3qnc9gmbL3biHdMAue5y55sfJTuF7B9AshKX\/+Ke6kTVoL7TtEDIzFTWqphwLyOx17iY8PetIhQJTKUIphpkfja3qUp+LvNRMqey4MA++9r5ebzLaF0E+sSoKN4NPnwZbIitohUtIs1dtZNr5qIezLPui\/PJXWL6zI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YLYmW8T5ZKEzKMV\/RbtRPbuhWi+Mk79S54rmY6evGB75Fm9JqimcMMJ0batLHZjjun+i9nHkj1MsEkOCTVA+UDDSLCuUygBFNkI5CKXF4dZXfbYHjt+XuS5OCNgvFucIpX2N4C2aFzGr4Oa5BHSrGSc114n1RGpsS6T3JCqC+wb1Zo8Vo7wbf2o04FeNTj6Igs1bSE2mCVCqeeE9v6ocRHbfHPn1hpWT1RnLazenJ+nXUnRgx4MEw4E9\/eeRTgKDfavb7fosQyKpv6Ib2oKTVCgyt+TXJ5aBrDyyP+pV1knE12N23ty6rqRpdayq+C44JYXeR2qUQDe99hQ\/OomMr8sJQ\/0z7mfFkYCBohzk\/pep0KM8XOvZ+eYYTu0e9AzbD63yVH7eNqoIYR7coA==";
        $key1 = "11895rsk24t0n1640762772";
        $key = "104913oX8B1042C1642742551";
        $data = BPJSHelper::decompress(BPJSHelper::stringDecrypt($key, $string1));
        echo $data;
    }
}
