Retreiving test patients

For requests or help with our API
Post Reply
acaziz
Posts: 6
Joined: Tue Jan 26, 2021 5:33 pm

Retreiving test patients

Post by acaziz » Thu Aug 19, 2021 10:58 pm

I am searching for patients by last name. When I search for "Smith" (this is in my local demo DB), the API returns empty set. When I search "Test", I receive a list of about 30 patients, who seem to be someone else's test patients. Seems to me API doesn't "see" my local OD instance?

342 John Test 0010-10-01 EditImport
343 John Test 0010-10-01 EditImport
318 Rahul Test 0025-09-01 EditImport
48 Amos Diggory Test 0005-02-01 EditImport
13 Luna Lovegoodd Test 0008-06-01 EditImport
15 Draco Malfoy Test 0003-04-01 EditImport
364 OD Sync Test OD Sync Test 0027-12-01 EditImport
363 OD Sync Test 007 OD Sync Test 007 0027-12-01 EditImport
365 OD Sync Test v1 OD Sync Test v1 0027-12-01 EditImport
360 OD Test Last OD Test 1 0012-01-01 EditImport
361 OD Test Last OD Test 1 0001-01-01 EditImport
30 testing_steve TD_Steve_testing 0011-11-01 EditImport
269 Chetu 11 Test 7 0001-01-01 EditImport
276 Chetu 11 Test 8 0001-01-01 EditImport
270 Chetu 11 Test 9 0001-01-01 EditImport
348 11 Jan Test New 0027-12-01 EditImport
351 11 Jan Test New 000000 0027-12-01 EditImport
352 11 Jan Test New 00000000 0027-12-01 EditImport
353 11 Jan Test New 0000000000 0027-12-01 EditImport
354 11 Jan Test New 000000000000 0027-12-01 EditImport
355 11 Jan Test New 0000000000000 0027-12-01 EditImport
349 11 Jan Test New 111 0027-12-01 EditImport
350 11 Jan Test New 11100 0027-12-01 EditImport
358 Test OD Sync Test OD Sync 0001-11-01 EditImport
356 Test OD Sync 1 Test OD Sync 1 0011-11-01 EditImport
357 Test OD Sync 2 Test OD Sync 2 0011-11-01 EditImport
362 Test OD Sync 2 Test OD Sync 2 0031-12-01 EditImport
359 Test OD Sync New New Test OD Sync New New 0012-01-01 EditImport
299 TestFirstName TestLastName 0002-08-01 EditImport
316 testo testo123 0025-09-01 EditImport
280 Aberforth Dumbledore testt 0001-01-01 EditImport
274 Angelina Johnson testt 0001-01-01 EditImport
265 Argus H Filch testt 0001-01-01 EditImport
246 Charlie Weasley testt 0001-01-01 EditImport
264 chetuu testt 0001-01-01 EditImport
255 Horace Slughorn testt 0001-01-01 EditImport
251 Luna Lovegood testt 0001-01-01 EditImport
252 Minerva McGonagall testt 0001-01-01 EditImport
242 Molly Weasley testt 0001-01-01 EditImport
249 Mundungus Fletcher testt 0001-01-01 EditImport
245 neha testt 0001-01-01 EditImport
271 Padma Patil testt 0001-01-01 EditImport
261 Pansy Parkinson testt 0001-01-01 EditImport
253 Petunia Dursley testt 0001-01-01 EditImport
247 Regulus Black testt 0001-01-01 EditImport
279 Remus Lupin testt 0001-01-01 EditImport
259 TOM 'LORD VOLDEMORT' M RIDDLE testt 0001-01-01

SLeon
Posts: 43
Joined: Mon Mar 01, 2021 11:00 am

Re: Retreiving test patients

Post by SLeon » Fri Aug 20, 2021 8:25 am

These patients appear to be from the our demo database for the API. In your API requests, are you using your own credentials in the Authorization header or the test ones from the documentation?

acaziz
Posts: 6
Joined: Tue Jan 26, 2021 5:33 pm

Re: Retreiving test patients

Post by acaziz » Mon Sep 27, 2021 9:21 pm

Was using test credentials. My bad

Post Reply