PUT Patients

Developer Tools

PUT api/v1/{EMRSystem}/Patients/{PatientId}

Updates an existing Patient.

HTTP Method

PUT

Applicable Emissary Products

Interactive Workflow

Allscripts

In Dev

Athena

In Dev

Cerner

In Dev

Meditech

Released

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

PatientId

The patient id being updated.

string

Required

 
Body Parameters
The patient update request view model.

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

UserId

Gets or sets the user identifier.

string

Required

Patient

Gets or sets the patient.

PatientUpdateViewModel

Required

PatientIdType

Gets or sets the type of the patient identifier.

string

None.

 

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",
  "Patient": {
    "LastName": "sample string 1",
    "FirstName": "sample string 2",
    "MiddleName": "sample string 3",
    "Suffix": "sample string 4",
    "Prefix": "sample string 5",
    "BirthDateTime": "2018-02-14T21:09:18.8729729Z",
    "GenderId": "sample string 6",
    "SSN": "sample string 7",
    "VipId": "sample string 8",
    "ConfidentialityId": "sample string 9",
    "DeceasedDateTime": "2018-02-14T21:09:18.8729729Z",
    "ExtendedInfo": {
      "Addresses": [
        {
          "AddressId": "sample string 1",
          "Address1": "sample string 2",
          "Address2": "sample string 3",
          "City": "sample string 4",
          "State": "sample string 5",
          "ZIP": "sample string 6",
          "TypeId": "sample string 7"
        },
        {
          "AddressId": "sample string 1",
          "Address1": "sample string 2",
          "Address2": "sample string 3",
          "City": "sample string 4",
          "State": "sample string 5",
          "ZIP": "sample string 6",
          "TypeId": "sample string 7"
        }
      ],
      "Phones": [
        {
          "PhoneId": "sample string 1",
          "Number": "sample string 2",
          "TypeId": "sample string 3"
        },
        {
          "PhoneId": "sample string 1",
          "Number": "sample string 2",
          "TypeId": "sample string 3"
        }
      ],
      "EthnicityId": "sample string 1",
      "LanguageId": "sample string 2",
      "RaceId": "sample string 3",
      "ReligionId": "sample string 4",
      "MaritalStatusId": "sample string 5",
      "Email": "sample string 6",
      "NeedsInterpreter": true
    }
  },
  "PatientIdType": "sample string 2",
  "Domain": "sample string 3",
  "LoginId": "sample string 4",
  "Password": "sample string 5",
  "EmrInstance": "sample string 6",
  "ApplicationName": "sample string 7",
  "ApplicationKey": "sample string 8"
}
Sample Message
<PatientUpdateRequestViewModel xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models">
  <ApplicationKey>sample string 8</ApplicationKey>
  <ApplicationName>sample string 7</ApplicationName>
  <Domain>sample string 3</Domain>
  <EmrInstance>sample string 6</EmrInstance>
  <LoginId>sample string 4</LoginId>
  <Password>sample string 5</Password>
  <Patient xmlns:d2p1="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models.BaseViewModels">
    <d2p1:BirthDateTime>2018-02-14T15:09:18.8729729-06:00</d2p1:BirthDateTime>
    <d2p1:ConfidentialityId>sample string 9</d2p1:ConfidentialityId>
    <d2p1:DeceasedDateTime>2018-02-14T15:09:18.8729729-06:00</d2p1:DeceasedDateTime>
    <d2p1:ExtendedInfo>
      <d2p1:Addresses>
        <d2p1:AddressUpdateViewModel>
          <d2p1:Address1>sample string 2</d2p1:Address1>
          <d2p1:Address2>sample string 3</d2p1:Address2>
          <d2p1:AddressId>sample string 1</d2p1:AddressId>
          <d2p1:City>sample string 4</d2p1:City>
          <d2p1:State>sample string 5</d2p1:State>
          <d2p1:TypeId>sample string 7</d2p1:TypeId>
          <d2p1:ZIP>sample string 6</d2p1:ZIP>
        </d2p1:AddressUpdateViewModel>
        <d2p1:AddressUpdateViewModel>
          <d2p1:Address1>sample string 2</d2p1:Address1>
          <d2p1:Address2>sample string 3</d2p1:Address2>
          <d2p1:AddressId>sample string 1</d2p1:AddressId>
          <d2p1:City>sample string 4</d2p1:City>
          <d2p1:State>sample string 5</d2p1:State>
          <d2p1:TypeId>sample string 7</d2p1:TypeId>
          <d2p1:ZIP>sample string 6</d2p1:ZIP>
        </d2p1:AddressUpdateViewModel>
      </d2p1:Addresses>
      <d2p1:Email>sample string 6</d2p1:Email>
      <d2p1:EthnicityId>sample string 1</d2p1:EthnicityId>
      <d2p1:LanguageId>sample string 2</d2p1:LanguageId>
      <d2p1:MaritalStatusId>sample string 5</d2p1:MaritalStatusId>
      <d2p1:NeedsInterpreter>true</d2p1:NeedsInterpreter>
      <d2p1:Phones>
        <d2p1:PhoneUpdateViewModel>
          <d2p1:Number>sample string 2</d2p1:Number>
          <d2p1:PhoneId>sample string 1</d2p1:PhoneId>
          <d2p1:TypeId>sample string 3</d2p1:TypeId>
        </d2p1:PhoneUpdateViewModel>
        <d2p1:PhoneUpdateViewModel>
          <d2p1:Number>sample string 2</d2p1:Number>
          <d2p1:PhoneId>sample string 1</d2p1:PhoneId>
          <d2p1:TypeId>sample string 3</d2p1:TypeId>
        </d2p1:PhoneUpdateViewModel>
      </d2p1:Phones>
      <d2p1:RaceId>sample string 3</d2p1:RaceId>
      <d2p1:ReligionId>sample string 4</d2p1:ReligionId>
    </d2p1:ExtendedInfo>
    <d2p1:FirstName>sample string 2</d2p1:FirstName>
    <d2p1:GenderId>sample string 6</d2p1:GenderId>
    <d2p1:LastName>sample string 1</d2p1:LastName>
    <d2p1:MiddleName>sample string 3</d2p1:MiddleName>
    <d2p1:Prefix>sample string 5</d2p1:Prefix>
    <d2p1:SSN>sample string 7</d2p1:SSN>
    <d2p1:Suffix>sample string 4</d2p1:Suffix>
    <d2p1:VipId>sample string 8</d2p1:VipId>
  </Patient>
  <PatientIdType>sample string 2</PatientIdType>
  <UserId>sample string 1</UserId>
</PatientUpdateRequestViewModel>

Submit a Comment

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

 

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