post https://sandbox.elationemr.com/api/2.0/discontinued_medications/
Responses
xxxxxxxxxx
19import requests
import json
​
access_token = "TyEPKw8fVGRKpCBa81ygwjCLXDNIAm"
auth_header = "Bearer %s" % (access_token)
​
data = {
"med_order": 140758531047450,
"reason": "new_reason",
"discontinue_date": "2020-08-08"
}
​
resp = requests.post(
"https://sandbox.elationemr.com/api/2.0/discontinued_medication",
data=json.dumps(data),
headers={'Authorization': auth_header, 'Content-type': 'application/json'})
​
print resp.status_code
print json.dumps(json.loads(resp.content), indent=2)
Try It!
to start a request and see the response here! Or choose an example: