Questions tagged [drchrono-api]

4 questions
1
vote
1 answer

How to properly re-write certain Python code to curl in PHP

Drchrono API provides sample code in Python for uploading medical documents. Here is the sample in Python: import datetime, json, requests headers = { 'Authorization': 'Bearer ACCESS_TOKEN', } data = { 'doctor': 1234, 'patient': 5678, …
Nancy Moore
  • 2,322
  • 2
  • 21
  • 38
1
vote
1 answer

How to get API Curl authorisation to work via PHP

I am working with dr chrono API and am trying to initialized the First step which is authorisation The API documentation is here. Here is an Authorisation…
Nancy Moore
  • 2,322
  • 2
  • 21
  • 38
1
vote
1 answer

Unable to upload a pdf document using dr chrono api via php cURL

I am using php curl to upload pdf document using in dr chrono using api/documents. Actually I am not clear on how to pass my pdf file so that it gets uploaded. Here is my params array $handle = fopen('pdfsPatientInformation_1446467593.pdf',…
0
votes
1 answer

Authorisation in Drchrono

For authorization at DRchrono, I had created a GET request at https://drchrono.com/o/authorize/ with a redirect URL and clientId, as soon as I click on authorize I redirect to my redirect URL with code value in params, then I made a POST request on…
shivani
  • 1
  • 1
  • 5