Closed Awinja-j closed 6 years ago
We are currently using the old NHIF document specification but these have changed. This PR therefore does the following:
Introduces:
nhif-inpatient
nhif-outpatient
nhif-outpatient-cs
This will allow users to be able to use:
http://127.0.0.1:5000/search/nhif-outpatient-cs?q=MATHARE
http://127.0.0.1:5000/search/nhif-outpatient?q=MATHARE
http://127.0.0.1:5000/search/nhif-inpatient?q=EDELVALE
and make searches such as:
http://127.0.0.1:5000/search?q=inpatient insurance fund kenyatta
http://127.0.0.1:5000/search?q=nhif outpatient Mombasa
http://127.0.0.1:5000/search?q=outpatient cs insurance Kakamega
@DavidLemayian i have made corrections, please check.
@DavidLemayian i have made new pep8 changes that my pylint highlighted.
We are currently using the old NHIF document specification but these have changed. This PR therefore does the following:
Introduces:
nhif-inpatient
nhif-outpatient
nhif-outpatient-cs
This will allow users to be able to use:
http://127.0.0.1:5000/search/nhif-outpatient-cs?q=MATHARE
http://127.0.0.1:5000/search/nhif-outpatient?q=MATHARE
http://127.0.0.1:5000/search/nhif-inpatient?q=EDELVALE
and make searches such as:
http://127.0.0.1:5000/search?q=inpatient insurance fund kenyatta
http://127.0.0.1:5000/search?q=nhif outpatient Mombasa
http://127.0.0.1:5000/search?q=outpatient cs insurance Kakamega
Relevant Github Issue:
21