GET Message Subjects

Developer Tools

GET api/v1/{EMRSystem}/PatientMessageSubjects

Returns the available Patient Message Subjects for a given user and patient.

HTTP Method

GET

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

UserId

Gets or sets the user identifier.

string

Required

PatientId

Gets or sets the patient identifier.

string

Required

 
Body Parameters
None
 

Response Information

 
Resource Description
Http response containing a list of Patient Message Subjects.

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

SubjectId

Gets or sets the subject identifier.

string

None.

SubjectName

Gets or sets the subject name.

string

None.

 
Response Codes

Http Status Code 200 – Returns Sansoro.Shared.SansoroServiceBus.Models.PatientMessageSubjectsResponseViewModel

Http Status Code 204 – Indicates that there were Zero records found.

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

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

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
[
  {
    "SubjectId": "sample string 1",
    "SubjectName": "sample string 2"
  },
  {
    "SubjectId": "sample string 1",
    "SubjectName": "sample string 2"
  }
]
Sample Message
<ArrayOfPatientMessageSubjectViewModel xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models.BaseViewModels">
  <PatientMessageSubjectViewModel>
    <SubjectId>sample string 1</SubjectId>
    <SubjectName>sample string 2</SubjectName>
  </PatientMessageSubjectViewModel>
  <PatientMessageSubjectViewModel>
    <SubjectId>sample string 1</SubjectId>
    <SubjectName>sample string 2</SubjectName>
  </PatientMessageSubjectViewModel>
</ArrayOfPatientMessageSubjectViewModel>

Submit a Comment

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

 

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