Hi Adrian,
You can use the endpoint and webservice search with POST method and using params: startIndex and itemsToReturn
as an example:
/ws/services/demographics/search?startIndex=0&itemsToReturn=100
on the post Body: to search by HIN, select HIN as type and use term for HIN number value to search for.
{
"type": "HIN",
"term": "1234567890",
"active": true,
"integrator": false,
"outofdomain": true
}
See attachment for an example on postman and a code..
Regards,
Yehia Qaisy, MD
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: Adrian Starzynski<mailto:ad...@ad...>
Sent: Wednesday, April 5, 2023 9:16 AM
To: A list for advanced OSCAR user discussions<mailto:osc...@li...>; osc...@li...<mailto:osc...@li...>
Subject: [Oscarmcmaster-devel] REST endpoint for lookup demographic by HIN
Hello,
Can anyone who knows share what is the Rest Api endpoint in OSCAR for looking up a patient demographic by HIN ?
i.e. /ws/demographic/......search?hin=1234567890
It's a commonly used endpoint in 99% of integrations but can't find any documentation on what the correct endpoint is exactly
Thanks
--
Adrian Starzynski
|