geniusrw/rhie
最新稳定版本:v0.4
Composer 安装命令:
composer create-project geniusrw/rhie
包简介
PHP Package to integration with Rwanda HIE platform
README 文档
README
Installation
Run the following command to install the package using composer
composer require geniusrw/rhie
or download the zip from github
Setup the package
Setting required configuration
-
Configuration information Make sure to have the config folder in your root project
Copy the hie.php.example file name it to hie.php into you config folder -
Environment information Rename .env.example file to .env file and change required values to match you setup
-
Using the package to get Patient's UPID
<?php
require_once "vendor/autoload.php";
use Geniusrw\Rhie\HieClient;
$patient = HieClient::getUpid("xxxxxxxxxxxxxxxx", "NID");
The above code will return the Patient RhiePatient Object or null when the identifier is not found
Supported Document Type
- NID
- NID_APPLICATION
- UPI(stands for UPID)
Requesting Insurance Portal Information
- Make sure the .env file hold required params
RHIP_URL=URL_PREFIX
RHIP_KEY=APP_KEY
RHIP_ORIGIN=APP_ORIGIN
Those parameters should be marched with real values shared from RHIP Team.
- Check for CBHI Elibility
<?php
require_once "vendor/autoload.php";
use Geniusrw\Rhie\Rhip\RhipClient;
define("GENIUS_RHIE_BASE_PATH", __DIR__);
$patient = RhipClient::checkCbhiEligibity("xxxxxxxxxxxxxxxx");
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-08-30