PUT Encounters

Developer Tools

PUT api/v1/{EMRSystem}/PatientEncounters/{EncounterId}

Updates an existing patient encounter.

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

EncounterId

The encounter id being updated.

string

Required

 
Body Parameters
The patient encounter update request view model.

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

UserId

Gets or sets the user identifier.

string

Required

Encounter

Gets or sets the encounter.

EncounterUpdateViewModel

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",
  "Encounter": {
    "EncounterDateTime": "2018-02-14T18:56:12.8169838Z",
    "AttendingProviderId": "sample string 1",
    "DischargeDateTime": "2018-02-14T18:56:12.8169838Z",
    "EncounterStatusId": "sample string 2",
    "EncounterTypeId": "sample string 3",
    "Location": {
      "BedId": "sample string 1",
      "UnitId": "sample string 2",
      "HospitalId": "sample string 3",
      "RoomId": "sample string 4"
    },
    "MedicalServiceId": "sample string 4",
    "ReasonForVisit": "sample string 5",
    "PatientClassId": "sample string 6",
    "AdmitPriorityId": "sample string 7",
    "AdmitSourceId": "sample string 8",
    "Insurances": [
      {
        "CompanyId": "sample string 1",
        "EligibilityStatusId": "sample string 2",
        "EligibilityStatusDate": "2018-02-14T18:56:12.8169838Z",
        "Subscriber": "sample string 3",
        "PolicyNumber": "sample string 4",
        "PatientRelationshipToSubscriber": "sample string 5"
      },
      {
        "CompanyId": "sample string 1",
        "EligibilityStatusId": "sample string 2",
        "EligibilityStatusDate": "2018-02-14T18:56:12.8169838Z",
        "Subscriber": "sample string 3",
        "PolicyNumber": "sample string 4",
        "PatientRelationshipToSubscriber": "sample string 5"
      }
    ]
  },
  "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
<PatientEncounterUpdateRequestViewModel 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>
  <Encounter xmlns:d2p1="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models.BaseViewModels">
    <d2p1:AdmitPriorityId>sample string 7</d2p1:AdmitPriorityId>
    <d2p1:AdmitSourceId>sample string 8</d2p1:AdmitSourceId>
    <d2p1:AttendingProviderId>sample string 1</d2p1:AttendingProviderId>
    <d2p1:DischargeDateTime>2018-02-14T12:56:12.8169838-06:00</d2p1:DischargeDateTime>
    <d2p1:EncounterDateTime>2018-02-14T12:56:12.8169838-06:00</d2p1:EncounterDateTime>
    <d2p1:EncounterStatusId>sample string 2</d2p1:EncounterStatusId>
    <d2p1:EncounterTypeId>sample string 3</d2p1:EncounterTypeId>
    <d2p1:Insurances>
      <d2p1:InsuranceUpdateViewModel>
        <d2p1:CompanyId>sample string 1</d2p1:CompanyId>
        <d2p1:EligibilityStatusDate>2018-02-14T12:56:12.8169838-06:00</d2p1:EligibilityStatusDate>
        <d2p1:EligibilityStatusId>sample string 2</d2p1:EligibilityStatusId>
        <d2p1:PatientRelationshipToSubscriber>sample string 5</d2p1:PatientRelationshipToSubscriber>
        <d2p1:PolicyNumber>sample string 4</d2p1:PolicyNumber>
        <d2p1:Subscriber>sample string 3</d2p1:Subscriber>
      </d2p1:InsuranceUpdateViewModel>
      <d2p1:InsuranceUpdateViewModel>
        <d2p1:CompanyId>sample string 1</d2p1:CompanyId>
        <d2p1:EligibilityStatusDate>2018-02-14T12:56:12.8169838-06:00</d2p1:EligibilityStatusDate>
        <d2p1:EligibilityStatusId>sample string 2</d2p1:EligibilityStatusId>
        <d2p1:PatientRelationshipToSubscriber>sample string 5</d2p1:PatientRelationshipToSubscriber>
        <d2p1:PolicyNumber>sample string 4</d2p1:PolicyNumber>
        <d2p1:Subscriber>sample string 3</d2p1:Subscriber>
      </d2p1:InsuranceUpdateViewModel>
    </d2p1:Insurances>
    <d2p1:Location>
      <d2p1:BedId>sample string 1</d2p1:BedId>
      <d2p1:HospitalId>sample string 3</d2p1:HospitalId>
      <d2p1:RoomId>sample string 4</d2p1:RoomId>
      <d2p1:UnitId>sample string 2</d2p1:UnitId>
    </d2p1:Location>
    <d2p1:MedicalServiceId>sample string 4</d2p1:MedicalServiceId>
    <d2p1:PatientClassId>sample string 6</d2p1:PatientClassId>
    <d2p1:ReasonForVisit>sample string 5</d2p1:ReasonForVisit>
  </Encounter>
  <UserId>sample string 1</UserId>
</PatientEncounterUpdateRequestViewModel>

Submit a Comment

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

 

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