create doctor and get doctor ID

50 views
Skip to first unread message

bramar...@gmail.com

unread,
Mar 6, 2018, 12:33:34 PM3/6/18
to drchrono Medical Healthcare API SDK
I created doctor from Account<Staff Member<doctor and verified through email But when I make a GET request to the doctors endpoint /api/doctors . I cant see them. Then I made a GET request to api/users then I can see all the doctors I created over there And It show 

  • username"some user",
  • is_stafftrue,
  • is_doctorfalse,
  • doctor123456,
  • id123456,
  • practice_group123456,
  • permissions
    {
    • share_patientstrue,
    • access_all_messages_for_practice_grouptrue,
    • show_patient_balancetrue,
    • access_to_erxtrue
    • ...


I'm trying to get doctor-Id so that I can use to it to create a patient through patient endpoint (/api/patients)
So how can I get the doctor id ??

Enter code here...


Denis Malinovskiy

unread,
Mar 6, 2018, 12:37:33 PM3/6/18
to drchro...@googlegroups.com
As you see, `is_staff` field is True.  It means you created a staff member account, not a provider one.  I don't think it's possible to create a provider account the way you did.

--
You received this message because you are subscribed to the Google Groups "drchrono Medical Healthcare API SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drchrono-api...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Denis Malinovskiy
Software Engineer, drchrono

bramar...@gmail.com

unread,
Mar 6, 2018, 12:52:51 PM3/6/18
to drchrono Medical Healthcare API SDK
In the staff member I added them as doctor. Could you help me how can I add provider ?

Denis Malinovskiy

unread,
Mar 6, 2018, 12:58:59 PM3/6/18
to drchro...@googlegroups.com
You can't add a provider yourself, you need to contact your account manager to add a new provider to your practice group.  
Reply all
Reply to author
Forward
0 new messages