GET References Allergens

Developer Tools

GET api/v1/{EMRSystem}/References/Allergens

Returns the allergens build in the EMR

HTTP Method

GET

Applicable Emissary Products

Chart Retrieval
Clinical Analytics
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

SearchString

Gets or sets the Allergen Search String.

string

None

IncludeInactive

Gets or sets a value indicating whether [include inactive].

boolean

None

 
Body Parameters
None
 

Response Information

 
Resource Description
Http response containing Allergens Discovery Response View Model.

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

AllergenId

Gets or sets the allergen code.

string

None.

Description

Gets or sets the allergen desc.

string

None.

Category

Gets or sets the allergen type.

CodedObject

None.

IsActive

Gets or sets the allergen status.

boolean

None.

 
Response Codes

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

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
[
  {
    "AllergenId": "sample string 1",
    "Description": "sample string 2",
    "Category": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "IsActive": true
  },
  {
    "AllergenId": "sample string 1",
    "Description": "sample string 2",
    "Category": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "IsActive": true
  }
]
Sample Message
<ArrayOfAllergensDiscoveryResponseViewModel xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models">
  <AllergensDiscoveryResponseViewModel>
    <AllergenId>sample string 1</AllergenId>
    <Category xmlns:d3p1="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Services.Models.BaseModels">
      <d3p1:Id>sample string 1</d3p1:Id>
      <d3p1:Name>sample string 2</d3p1:Name>
    </Category>
    <Description>sample string 2</Description>
    <IsActive>true</IsActive>
  </AllergensDiscoveryResponseViewModel>
  <AllergensDiscoveryResponseViewModel>
    <AllergenId>sample string 1</AllergenId>
    <Category xmlns:d3p1="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Services.Models.BaseModels">
      <d3p1:Id>sample string 1</d3p1:Id>
      <d3p1:Name>sample string 2</d3p1:Name>
    </Category>
    <Description>sample string 2</Description>
    <IsActive>true</IsActive>
  </AllergensDiscoveryResponseViewModel>
</ArrayOfAllergensDiscoveryResponseViewModel>

Submit a Comment

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

 

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