PUT Referrals

Developer Tools

PUT api/v1/{EMRSystem}/Referrals/{ReferralId}

Updates a Referral in a patient’s chart.

HTTP Method

PUT

Applicable Emissary Products

Interactive Workflow

Allscripts

In Dev

Athena

In Dev

Cerner

In Dev

Meditech

In Dev

Sandbox

In Dev

Don't see the data field you are looking for?

Request Information

URI Parameters

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

EMRSystem

The emr system.

EMRsystem

Required

ReferralId

The referral identifier.

string

Required

 
Body Parameters
The referral update request view model.

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

UserId

Identifier of the user updating the referral

string

Required

Referral

The updated referral

ReferralUpdateViewModel

Required

 

Response Information

 
Resource Description
Http response containing http status code indicating success or failure.
None
 
Response Codes

Http Status Code 204 – Indicates that the request was processed successfully.

Http Status Code 400 – Indicates that the request did not contain all the required fields.

Http Status Code 500 – Indicates that an internal server error occurred during processing of the request.

Http Status Code 502 – Indicates that a request made to the underlying EMR server could not be completed.

 
Response Formats
Sample Message
Download Json Schema
{
  "UserId": "sample string 1",
  "Referral": {
    "StatusId": "sample string 1",
    "AuthorizationNumber": "sample string 2",
    "StartDate": "2018-02-15T16:54:07.8311337Z",
    "EndDate": "2018-02-15T16:54:07.8311337Z"
  },
  "Domain": "sample string 2",
  "LoginId": "sample string 3",
  "Password": "sample string 4",
  "EmrInstance": "sample string 5",
  "ApplicationName": "sample string 6",
  "ApplicationKey": "sample string 7"
}
Sample Message
<ReferralUpdateRequestViewModel xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models">
  <ApplicationKey>sample string 7</ApplicationKey>
  <ApplicationName>sample string 6</ApplicationName>
  <Domain>sample string 2</Domain>
  <EmrInstance>sample string 5</EmrInstance>
  <LoginId>sample string 3</LoginId>
  <Password>sample string 4</Password>
  <Referral xmlns:d2p1="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models.BaseViewModels">
    <d2p1:AuthorizationNumber>sample string 2</d2p1:AuthorizationNumber>
    <d2p1:EndDate>2018-02-15T10:54:07.8311337-06:00</d2p1:EndDate>
    <d2p1:StartDate>2018-02-15T10:54:07.8311337-06:00</d2p1:StartDate>
    <d2p1:StatusId>sample string 1</d2p1:StatusId>
  </Referral>
  <UserId>sample string 1</UserId>
</ReferralUpdateRequestViewModel>

Submit a Comment

Your email address will not be published. Required fields are marked *

 

Don't see the data field you are looking for?