NHIF Member Verification
1.1) NHIF Member Verification
Verification of NHIF beneficiaries must be done by the health facility before issuing service. This is to ensure that patient receiving NHIF Service is a valid NHIF beneficiary according to NHIF regulations. Upon successful verification the Authorization number will be issued and needs to be availed to NHIF during claim submission (In electronic claim and/or claim form). This verification service can be called through the following URL:
1 2 3 |
|
Visit Type ID has the following possible values
- 1 = Normal Visit
- 2 = Emergency
- 3 = Referral
- 4 = Follow up Visit
NHIF beneficiary is allowed to visit one facility per day under normal visit. Under emergency visit, member may be successful verified even if member has already visited another facility in that particular day.
For example, Patient visited Temeke Hospital in the morning under normal visit. Then in the evening, he/she comes under a situation where a need rises to see a doctor and goes to another hospital other than Temeke Hospital. Under this emergency, the patient may authorized as an Emergency Visit.
The third situation is when a beneficiary visits a facility and gets basic treatment but later it becomes apparent that the he/she must be referred to another facility.
For example a beneficiary visited with Mwananyamala Hospital and later is referred to Muhimbili Hospital. Under this situation the first facility (Mwnanyamala Hospital) will refer the beneficiary to another facility (e.g Muhimbili Hospital) using a referral system as provided by NHIF service portal.
The fourth scenario arises when a patient who is already under treatment at a referral hospital need to come back for a follow up visit. Since he/she will not be accepted under normal visit, service provider may authorize him/her using a Follow up visit.
In this case, a referral number
issued earlier must be specified. When this action (function) is called from the web service
the following results will be returned if the call runs successfully.
a) The following is the result when card exists
and request is accepted
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
b) The following is the result when card exists
but card is inactive
or rejected
by any other reason:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
c) The result when the card does not exist
in the NHIF database but due to the reasons known to NHIF the beneficiary has been allowed
service with a warning to submit his/her card to the NHIF office for verification:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
d) When the patient in c returns to the facility to get service without verifying his/her card at NHIF:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
e) The result when the card number entered is not a valid card number that if an old card number does not comply with with the NHIF format or if the card number is in in new number format does not exists in the database.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
The old NHIF card number has a format 0-[1-6]-[\w]
for regular expression
or 0[1-6]-%
for SQL e.g. 01-890765644.
The new NHIF card number has a format [1-5][01-99][\d]
.
The length of card number is 12 digits and does not contain alphanumeric characters. eg. 308900035308.
Most important thing in the result is the AuthorizationStatus
whether "ACCEPTED"
or "REJECTED"
.
That determines whether the beneficiary should receive service or not. To connect to the API use TOKEN
authentication.
Username
and Passwords
will be provided by NHIF upon request. To get card details make an authenticated call as follows. The result is a JSON that contain card details.
1 |
|
Authentication Token request
To Get Authentication Token the request will be sent to: https://verification.nhif.or.tz/nhifservice/Token
when user name and passwords while be provided through a POST`.
The snipped below shows how to get Authorization header with PHP that can later be put on the request.
Assume you an include file that has a constant TOKEN_END_POINT defined
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
|