PUT Problems by Problem Id

Developer Tools

PUT api/v1/{EMRSystem}/Problems/{ProblemId}

Updates a Problem.

HTTP Method

PUT

Applicable Emissary Products

Interactive Workflow

Allscripts

Released

Athena

Released

Cerner

Released

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

ProblemId

The problem identifier to update

string

Required

 
Body Parameters

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

UserId

The identifier of the user updating the Problem record.

string

Required

StatusId

The identifier of the Problem status (must be an active status).

string

None.

ClassId

The identifier of the Classification.

string

Required if EMRSystem = Cerner

PriorityId

The identifier of the Priority.

string

None.

IsChronic

Flag if the problem is chronic

boolean

None.

Comments

Additional Problem information.

string

None.

OnsetDate

The estimated date (string) of the Problem onset.

string

None.

 

Response Information

 
Resource Description
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 401- Indicates that authentication to the underlying EMR server using the provided LoginId and Password failed.

Http Status Code 403- Indicates that there is an issue with the request UserId.

Http Status Code 404 – Indicates that the resource to get could not be found.

Http Status Code 408 – Indicates that the request to the underlying EMR server timed out.

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",
  "StatusId": "sample string 3",
  "ClassId": "sample string 4",
  "PriorityId": "sample string 5",
  "IsChronic": true,
  "Comments": "sample string 6",
  "OnsetDate": "sample string 7"
}
Sample Message
<ProblemUpdateRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models">
  <ApplicationKey i:nil="true" />
  <ApplicationName>sample string 11</ApplicationName>
  <EMRSystem>Allscripts</EMRSystem>
  <EmrInstance>sample string 10</EmrInstance>
  <LoginId>sample string 8</LoginId>
  <Password>sample string 9</Password>
  <ClassId>sample string 4</ClassId>
  <Comments>sample string 6</Comments>
  <IsChronic>true</IsChronic>
  <OnsetDate>sample string 7</OnsetDate>
  <PriorityId>sample string 5</PriorityId>
  <ProblemId>sample string 2</ProblemId>
  <StatusId>sample string 3</StatusId>
  <UserId>sample string 1</UserId>
</ProblemUpdateRequestViewModel>

Submit a Comment

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

 

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