# Emis Web API GetMedicationIssues on PatientAcessEMISWEBV4_3 **Category:** [open forum](https://openhealthhub.org/c/open-forum/9) **Created:** 2024-06-25 08:27 UTC **Views:** 287 **Replies:** 5 **URL:** https://openhealthhub.org/t/emis-web-api-getmedicationissues-on-patientacessemiswebv4-3/2766 --- ## Post #1 by @komal I am calling getMedicationIssues web api and it has a parameter patientId which is integer type the value I have assigned it is 9999999999 which is too large to be shored in integer type and long type is not acceptable. So, how to pass this argument? --- ## Post #2 by @dunmail `patientId` in EMIS Web is a locally assigned integer, scoped to a single EMIS Web database. I guess that `9999999999` is a dummy NHS Number? --- ## Post #3 by @john.salter It may be worthwhile picking up a valid dummy NHS number rather than 9999999999 as the last digit is a checksum that should be trapped. There are some dummy NHS numbers here : [Dummy NHS numbers - Discovery Data Service](https://wiki.discoverydataservice.org/index.php?title=Dummy_NHS_numbers) Not sure why long isn't acceptable? However I have seen it as text from some systems for formatting purposes to aid easier reading / data entry e.g. 123-456-7890, or 123 456 7890. I frequently receive NHS numbers as text but I would never request them as such! Apologies I have no knowledge of the API can only speak of my experience with NHS numbers. --- ## Post #4 by @mayfield.g.kev As above. We use GetMatchedPatient API to find the patient first and use the EMIS ID in the response from that call in subsequent calls. --- ## Post #5 by @alimusa @mayfield.g.kev, are you using Partner APIs? If so, could you guide me on how to get started, particularly with authentication and request/response examples? I’m working in Python and am fairly new to this, so any help would be greatly appreciated. Thank you in advance! --- ## Post #6 by @msg-dhsit if anyone has anyinfo on connecting to partner API please do respond. --- **Canonical:** https://openhealthhub.org/t/emis-web-api-getmedicationissues-on-patientacessemiswebv4-3/2766 **Original content:** https://openhealthhub.org/t/emis-web-api-getmedicationissues-on-patientacessemiswebv4-3/2766