POST Update referral status

POST Update referral status

Description
Update status for existing referral

URI
https://{server}/referrals-api/services/v1/practices/{practiceUuid}/referrals/{referralUuid}/status-update
HTTP Method
POST
Required URI Values
Server
The domain name of the test or production system.

  • Test system: integration.demo.medfusion.net
  • Production system: integration.medfusion.net
PracticeUuid
The unique practice integration ID for a given practice. Medfusion will provide a practice ID that you can use during development.
Required Data
JSON containing following data:

status
One of the following statuses:

  • Open
  • Viewed
  • Appointment Scheduled
  • Appointment Not Scheduled – Patient Refused
  • Appointment Not Scheduled – See Comments
  • Completed
  • Disregarded – See Comments
  • No Show
  • Document Sent
externalStaffId
string up to 100 characters long
comment
string up to 4000 characters long

Success Response
  • 200 – Success with referral types listed in response
  • 400 – Bad request
  • 401 – Unauthorized request

Sample Call
HTTP Request

POST https://integration.medfusion.net/referrals-api/services/v1/practices/12345678-1234-1234-1234-1234567890ab/referrals/12345678-1234-1234-1234-1234567890ac /status-update

Header

•	Authorization: Bearer {OAuth token}
•	ExternalSystemId: {External System ID}
•	Content-Type: application/json
Body

{
  “status”: “Viewed”,
  “externalStaffId”: “PracticeStaff1”,
  “comment”: “”
}

Sample Response
Response Header

No headers

Response Body

No Body