<aside> 💡 COVID Kaya will make retrieve from Philhealth database the Philhealth Number of a patient based from the patient's first, middle and last name.
</aside>
HTTP Command: GET
API end point: (surname = Santos, first name = Juan, second name = Protacio)
<http://example.org/FHIR/Patient?family=Santos&given=Juan,Protacio>
where: http://example.org will be the REST API endpoint from Philhealth
Response:
{
"resourceType": "Patient",
"identifier": [
{
"use": "official",
"type": {
"coding": [
{
"code": "PHIC"
}
]
},
"value": "12345", //this will be the value of the Philhealth number
"assigner": {
"display": "Philhealth"
}
}
]
}