POST Problems

Developer Tools

POST api/v1/{EMRSystem}/Problems

Creates a new Problem for a given patient.

HTTP Method

POST

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

 
Body Parameters

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

UserId

The identifier of the user creating the Problem record.

string

Required

PatientId

The identifier of the patient

string

Required

PatientIdType

The type of the patient identifier

string

None.

ProblemCodeId

The identifier of the problem code

string

Required.

ClassId

The identifier of the classification

string

Required if EMRSystem = Cerner

PriorityId

The identifier of the Priority.

string

None.

IsChronic

Flag if problem is chronic

string

None.

Comments

Additional problem information

string

None.

OnsetDate

The estimated date (string) of the Problem onset.

string

None.

 

Response Information

 
Resource Description
Http response containing newly created Problem Id

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

 
Response Codes

Http Status Code 201 – 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 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",
  "PatientId": "sample string 2",
  "PatientIdType": "sample string 3",
  "ProblemCodeId": "sample string 4",
  "ClassId": "sample string 5",
  "PriorityId": "sample string 6",
  "IsChronic": true,
  "Comments": "sample string 7",
  "OnsetDate": "sample string 8",
  "Domain": "sample string 9",
  "LoginId": "sample string 10",
  "Password": "sample string 11",
  "EmrInstance": "sample string 12",
  "ApplicationName": "sample string 13",
  "ApplicationKey": "sample string 14"
}
Sample Message
<ProblemCreateRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models">
<ApplicationKey>sample string 14 </ApplicationKey>
<ApplicationName>sample string 13 </ApplicationName>
<Domain>sample string 9 </Domain>
<EmrInstance>sample string 12 </EmrInstance>
<LoginId>sample string 10 </LoginId>
<Password>sample string 11 </Password>
<ClassId>sample string 5 </ClassId>
<Comments>sample string 7 </Comments>
<IsChronic>true </IsChronic>
<OnsetDate>sample string 8 </OnsetDate>
<PatientId>sample string 2 </PatientId>
<PatientIdType>sample string 3 </PatientIdType>
<PriorityId>sample string 6 </PriorityId>
<ProblemCodeId>sample string 4 </ProblemCodeId>
 <UserId>sample string 1 </UserId>
</ProblemCreateRequestViewModel>

Submit a Comment

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

 

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