GET Documents

Developer Tools

HTTP Method

Applicable Emissary Products

Chart Retrieval
Clinical Analytics
Interactive Workflow

Allscripts

Released

Athena

In Dev

Cerner

Released

Meditech

Released

Sandbox

Released

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

EncounterId

Gets or sets the encounter identifier.

string

None

FromDateTime

Gets or sets from date time.

date

None

ToDateTime

Gets or sets to date time.

date

None

 
Body Parameters
None
 

Response Information

 
Resource Description
None
 
Response Codes

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

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
[
  {
    "DocumentId": "sample string 1",
    "DocumentDateTime": "2018-02-13T21:45:47.0627072Z",
    "DocumentTitle": "sample string 2",
    "DocumentType": "sample string 3",
    "DocumentStatus": "sample string 4",
    "PatientId": "sample string 5",
    "EncounterId": "sample string 6",
    "EncounterType": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "PatientClass": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "OrderId": "sample string 7",
    "ActiveInd": true,
    "AuthorName": "sample string 8",
    "DocumentFormat": "sample string 9"
  },
  {
    "DocumentId": "sample string 1",
    "DocumentDateTime": "2018-02-13T21:45:47.0627072Z",
    "DocumentTitle": "sample string 2",
    "DocumentType": "sample string 3",
    "DocumentStatus": "sample string 4",
    "PatientId": "sample string 5",
    "EncounterId": "sample string 6",
    "EncounterType": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "PatientClass": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "OrderId": "sample string 7",
    "ActiveInd": true,
    "AuthorName": "sample string 8",
    "DocumentFormat": "sample string 9"
  }
]
Sample Message
<ArrayOfDocumentViewModel xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models.BaseViewModels">
  <DocumentViewModel>
    <ActiveInd>true</ActiveInd>
    <AuthorName>sample string 8</AuthorName>
    <DocumentDateTime>2018-02-13T15:45:47.0627072-06:00</DocumentDateTime>
    <DocumentFormat>sample string 9</DocumentFormat>
    <DocumentId>sample string 1</DocumentId>
    <DocumentStatus>sample string 4</DocumentStatus>
    <DocumentTitle>sample string 2</DocumentTitle>
    <DocumentType>sample string 3</DocumentType>
    <EncounterId>sample string 6</EncounterId>
    <EncounterType>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </EncounterType>
    <OrderId>sample string 7</OrderId>
    <PatientClass>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </PatientClass>
    <PatientId>sample string 5</PatientId>
  </DocumentViewModel>
  <DocumentViewModel>
    <ActiveInd>true</ActiveInd>
    <AuthorName>sample string 8</AuthorName>
    <DocumentDateTime>2018-02-13T15:45:47.0627072-06:00</DocumentDateTime>
    <DocumentFormat>sample string 9</DocumentFormat>
    <DocumentId>sample string 1</DocumentId>
    <DocumentStatus>sample string 4</DocumentStatus>
    <DocumentTitle>sample string 2</DocumentTitle>
    <DocumentType>sample string 3</DocumentType>
    <EncounterId>sample string 6</EncounterId>
    <EncounterType>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </EncounterType>
    <OrderId>sample string 7</OrderId>
    <PatientClass>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </PatientClass>
    <PatientId>sample string 5</PatientId>
  </DocumentViewModel>
</ArrayOfDocumentViewModel>

Submit a Comment

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

 

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