Rest Api to search list of patient seen by a doctor


(Kundan Sinha) #1

Is there any existing REST Api to search list of patient seen by a doctor?

This can be done by using ‘username’ used to login.

  1. selecting ‘user_id’ in users table.
  2. ‘patient_id’ in encounter table via user_id.
  3. And finally ‘given_name’ and ‘family_name’ from person_name table via patient_id.

@wyclif @raff @bwolfe @ngoel2


(Wyclif Luyima) #2

I’d think those are patients with at least one encounter or observation, I doubt we provide a way to query for such patients in the core API or rest, perhaps you could do it via a custom module.