GET Problems

Developer Tools

GET api/v1/{EMRSystem}/Problems

Returns both active and inactive problems for a given patient.

HTTP Method

GET

Applicable Emissary Products

Chart Retrieval
Clinical Analytics
Interactive Workflow

Allscripts

Released

Athena

Released

Cerner

Released

Meditech

Released

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

UserType

Gets or sets the type of the user.

UserType

None

 
Body Parameters
None
 

Response Information

 
Resource Description
Http response containing Problems Response View Model.

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

ProblemId

Gets or sets the problem identifier.

string

None.

ProblemDesc

Gets or sets the problem desc.

string

None.

ICD9Code

Gets or sets the ic d9 code.

string

None.

ICD10Code

Gets or sets the ic D10 code.

string

None.

SNOMED

Gets or sets the snomed.

string

None.

OnsetDateTime

Gets or sets the onset date time. Note this is a string field because the value is really a string and not a date. e.g. "Approx. 2005"

string

None.

ResolvedDateTime

Gets or sets the resolved date time.

date

None.

DateOfEntry

Gets or sets the date of entry.

date

None.

EntryPerson

Gets or sets the entry person.

string

None.

Chronic

Gets or sets a value indicating whether this is chronic.

boolean

None.

Status

Gets or sets the status.

string

None.

Priority

Gets or sets the priority.

string

None.

Class

Gets or sets the class.

string

None.

PresentOnAdmission

Gets or sets the present on admission.

string

None.

PatientFriendlyName

Gets or sets the name of the patient friendly.

string

None.

PatientId

Gets or sets the patient identifier.

string

None.

Codes

List of diagnosis codes

Collection of DiagnosisCodeViewModel

None.

 
Response Codes

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

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
[
  {
    "ProblemId": "sample string 1",
    "ProblemDesc": "sample string 2",
    "ICD9Code": "sample string 3",
    "ICD10Code": "sample string 4",
    "SNOMED": "sample string 5",
    "OnsetDateTime": "sample string 6",
    "ResolvedDateTime": "2018-02-15T15:59:44.9866079Z",
    "DateOfEntry": "2018-02-15T15:59:44.9866079Z",
    "EntryPerson": "sample string 7",
    "Chronic": true,
    "Status": "sample string 8",
    "Priority": "sample string 9",
    "Class": "sample string 10",
    "PresentOnAdmission": "sample string 11",
    "PatientFriendlyName": "sample string 12",
    "PatientId": "sample string 13",
    "Codes": [
      {
        "CodeSet": "sample string 1",
        "Code": "sample string 2",
        "Description": "sample string 3"
      },
      {
        "CodeSet": "sample string 1",
        "Code": "sample string 2",
        "Description": "sample string 3"
      }
    ]
  },
  {
    "ProblemId": "sample string 1",
    "ProblemDesc": "sample string 2",
    "ICD9Code": "sample string 3",
    "ICD10Code": "sample string 4",
    "SNOMED": "sample string 5",
    "OnsetDateTime": "sample string 6",
    "ResolvedDateTime": "2018-02-15T15:59:44.9866079Z",
    "DateOfEntry": "2018-02-15T15:59:44.9866079Z",
    "EntryPerson": "sample string 7",
    "Chronic": true,
    "Status": "sample string 8",
    "Priority": "sample string 9",
    "Class": "sample string 10",
    "PresentOnAdmission": "sample string 11",
    "PatientFriendlyName": "sample string 12",
    "PatientId": "sample string 13",
    "Codes": [
      {
        "CodeSet": "sample string 1",
        "Code": "sample string 2",
        "Description": "sample string 3"
      },
      {
        "CodeSet": "sample string 1",
        "Code": "sample string 2",
        "Description": "sample string 3"
      }
    ]
  }
]
Sample Message
<ArrayOfProblemsResponseViewModel xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models">
  <ProblemsResponseViewModel>
    <Chronic>true</Chronic>
    <Class>sample string 10</Class>
    <Codes xmlns:d3p1="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models.BaseViewModels">
      <d3p1:DiagnosisCodeViewModel>
        <d3p1:Code>sample string 2</d3p1:Code>
        <d3p1:CodeSet>sample string 1</d3p1:CodeSet>
        <d3p1:Description>sample string 3</d3p1:Description>
      </d3p1:DiagnosisCodeViewModel>
      <d3p1:DiagnosisCodeViewModel>
        <d3p1:Code>sample string 2</d3p1:Code>
        <d3p1:CodeSet>sample string 1</d3p1:CodeSet>
        <d3p1:Description>sample string 3</d3p1:Description>
      </d3p1:DiagnosisCodeViewModel>
    </Codes>
    <DateOfEntry>2018-02-15T09:59:44.9866079-06:00</DateOfEntry>
    <EntryPerson>sample string 7</EntryPerson>
    <ICD10Code>sample string 4</ICD10Code>
    <ICD9Code>sample string 3</ICD9Code>
    <OnsetDateTime>sample string 6</OnsetDateTime>
    <PatientFriendlyName>sample string 12</PatientFriendlyName>
    <PatientId>sample string 13</PatientId>
    <PresentOnAdmission>sample string 11</PresentOnAdmission>
    <Priority>sample string 9</Priority>
    <ProblemDesc>sample string 2</ProblemDesc>
    <ProblemId>sample string 1</ProblemId>
    <ResolvedDateTime>2018-02-15T09:59:44.9866079-06:00</ResolvedDateTime>
    <SNOMED>sample string 5</SNOMED>
    <Status>sample string 8</Status>
  </ProblemsResponseViewModel>
  <ProblemsResponseViewModel>
    <Chronic>true</Chronic>
    <Class>sample string 10</Class>
    <Codes xmlns:d3p1="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models.BaseViewModels">
      <d3p1:DiagnosisCodeViewModel>
        <d3p1:Code>sample string 2</d3p1:Code>
        <d3p1:CodeSet>sample string 1</d3p1:CodeSet>
        <d3p1:Description>sample string 3</d3p1:Description>
      </d3p1:DiagnosisCodeViewModel>
      <d3p1:DiagnosisCodeViewModel>
        <d3p1:Code>sample string 2</d3p1:Code>
        <d3p1:CodeSet>sample string 1</d3p1:CodeSet>
        <d3p1:Description>sample string 3</d3p1:Description>
      </d3p1:DiagnosisCodeViewModel>
    </Codes>
    <DateOfEntry>2018-02-15T09:59:44.9866079-06:00</DateOfEntry>
    <EntryPerson>sample string 7</EntryPerson>
    <ICD10Code>sample string 4</ICD10Code>
    <ICD9Code>sample string 3</ICD9Code>
    <OnsetDateTime>sample string 6</OnsetDateTime>
    <PatientFriendlyName>sample string 12</PatientFriendlyName>
    <PatientId>sample string 13</PatientId>
    <PresentOnAdmission>sample string 11</PresentOnAdmission>
    <Priority>sample string 9</Priority>
    <ProblemDesc>sample string 2</ProblemDesc>
    <ProblemId>sample string 1</ProblemId>
    <ResolvedDateTime>2018-02-15T09:59:44.9866079-06:00</ResolvedDateTime>
    <SNOMED>sample string 5</SNOMED>
    <Status>sample string 8</Status>
  </ProblemsResponseViewModel>
</ArrayOfProblemsResponseViewModel>

Submit a Comment

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

 

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