GET Diagnoses

GET api/v1/{EMRSystem}/Diagnoses

Returns both active and inactive diagnoses along with relevant diagnostic data for a given patient.

HTTP Method

GET

Applicable Emissary Products

Chart Retrieval
Analytics
Interactive

Allscripts

Released

Athena

Released

Cerner

Released

Epic

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

EncounterId

Gets or sets the encounter identifier.

string

Required

PatientId

Gets or sets the patient identifier.

string

None

ShowInactive

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

boolean

None

 
Body Parameters
None
 

Response Information

 
Resource Description
Http response containing a list of Diagnosis View Model.

NAME

DESCRIPTION

TYPE

ADDITIONAL INFO

DiagnosisId

Gets or sets the diagnosis identifier.

string

None.

ClinicalDiagnosis

Gets or sets the clinical diagnosis.

string

None.

PatientId

Gets or sets the patient identifier.

string

None.

EncounterId

Gets or sets the encounter identifier.

string

None.

EncounterType

Gets or sets the encounter type.

CodedObjectViewModel

None.

PatientClass

Gets or sets the encounter type.

CodedObjectViewModel

None.

ConceptSource

Gets or sets the concept source.

string

None.

SourceVocabulary

Gets or sets the source vocabulary.

string

None.

ConfirmationStatus

Gets or sets the confirmation status.

string

None.

DiagnosisDateTime

Gets or sets the diagnosis date time.

date

None.

Classification

Gets or sets the classification.

string

None.

DiagnosisType

Gets or sets the type of the diagnosis.

string

None.

AdmitDiagnosis

Gets or sets the admit diagnosis.

boolean

None.

Severity

Gets or sets the severity.

string

None.

DiagnosisProvider

Gets or sets the diagnosis provider.

string

None.

ActiveInd

Gets or sets a value indicating whether /[active ind].

boolean

None.

DiagnosisCode

Gets or sets the diagnosis code.

string

None.

ICD9

Gets or sets the ICD 9 code.

string

None.

ICD10

Gets or sets the ICD 10 code.

string

None.

SNOMED

Gets or sets the snomed.

string

None.

Codes

List of diagnosis codes

Collection of DiagnosisCodeViewModel

None.

 
Response Codes

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

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
[
  {
    "DiagnosisId": "sample string 1",
    "ClinicalDiagnosis": "sample string 2",
    "PatientId": "sample string 3",
    "EncounterId": "sample string 4",
    "EncounterType": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "PatientClass": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "ConceptSource": "sample string 5",
    "SourceVocabulary": "sample string 6",
    "ConfirmationStatus": "sample string 7",
    "DiagnosisDateTime": "2018-02-13T19:46:01.6903039Z",
    "Classification": "sample string 8",
    "DiagnosisType": "sample string 9",
    "AdmitDiagnosis": true,
    "Severity": "sample string 10",
    "DiagnosisProvider": "sample string 11",
    "ActiveInd": true,
    "DiagnosisCode": "sample string 12",
    "ICD9": "sample string 13",
    "ICD10": "sample string 14",
    "SNOMED": "sample string 15",
    "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"
      }
    ]
  },
  {
    "DiagnosisId": "sample string 1",
    "ClinicalDiagnosis": "sample string 2",
    "PatientId": "sample string 3",
    "EncounterId": "sample string 4",
    "EncounterType": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "PatientClass": {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    "ConceptSource": "sample string 5",
    "SourceVocabulary": "sample string 6",
    "ConfirmationStatus": "sample string 7",
    "DiagnosisDateTime": "2018-02-13T19:46:01.6903039Z",
    "Classification": "sample string 8",
    "DiagnosisType": "sample string 9",
    "AdmitDiagnosis": true,
    "Severity": "sample string 10",
    "DiagnosisProvider": "sample string 11",
    "ActiveInd": true,
    "DiagnosisCode": "sample string 12",
    "ICD9": "sample string 13",
    "ICD10": "sample string 14",
    "SNOMED": "sample string 15",
    "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
<ArrayOfDiagnosisViewModel xmlns:i="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://schemas.datacontract.org/2004/07/Sansoro.Shared.SansoroServiceBus.Models.BaseViewModels">
  <DiagnosisViewModel>
    <ActiveInd>true</ActiveInd>
    <AdmitDiagnosis>true</AdmitDiagnosis>
    <Classification>sample string 8</Classification>
    <ClinicalDiagnosis>sample string 2</ClinicalDiagnosis>
    <Codes>
      <DiagnosisCodeViewModel>
        <Code>sample string 2</Code>
        <CodeSet>sample string 1</CodeSet>
        <Description>sample string 3</Description>
      </DiagnosisCodeViewModel>
      <DiagnosisCodeViewModel>
        <Code>sample string 2</Code>
        <CodeSet>sample string 1</CodeSet>
        <Description>sample string 3</Description>
      </DiagnosisCodeViewModel>
    </Codes>
    <ConceptSource>sample string 5</ConceptSource>
    <ConfirmationStatus>sample string 7</ConfirmationStatus>
    <DiagnosisCode>sample string 12</DiagnosisCode>
    <DiagnosisDateTime>2018-02-13T13:46:01.6903039-06:00</DiagnosisDateTime>
    <DiagnosisId>sample string 1</DiagnosisId>
    <DiagnosisProvider>sample string 11</DiagnosisProvider>
    <DiagnosisType>sample string 9</DiagnosisType>
    <EncounterId>sample string 4</EncounterId>
    <EncounterType>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </EncounterType>
    <ICD10>sample string 14</ICD10>
    <ICD9>sample string 13</ICD9>
    <PatientClass>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </PatientClass>
    <PatientId>sample string 3</PatientId>
    <SNOMED>sample string 15</SNOMED>
    <Severity>sample string 10</Severity>
    <SourceVocabulary>sample string 6</SourceVocabulary>
  </DiagnosisViewModel>
  <DiagnosisViewModel>
    <ActiveInd>true</ActiveInd>
    <AdmitDiagnosis>true</AdmitDiagnosis>
    <Classification>sample string 8</Classification>
    <ClinicalDiagnosis>sample string 2</ClinicalDiagnosis>
    <Codes>
      <DiagnosisCodeViewModel>
        <Code>sample string 2</Code>
        <CodeSet>sample string 1</CodeSet>
        <Description>sample string 3</Description>
      </DiagnosisCodeViewModel>
      <DiagnosisCodeViewModel>
        <Code>sample string 2</Code>
        <CodeSet>sample string 1</CodeSet>
        <Description>sample string 3</Description>
      </DiagnosisCodeViewModel>
    </Codes>
    <ConceptSource>sample string 5</ConceptSource>
    <ConfirmationStatus>sample string 7</ConfirmationStatus>
    <DiagnosisCode>sample string 12</DiagnosisCode>
    <DiagnosisDateTime>2018-02-13T13:46:01.6903039-06:00</DiagnosisDateTime>
    <DiagnosisId>sample string 1</DiagnosisId>
    <DiagnosisProvider>sample string 11</DiagnosisProvider>
    <DiagnosisType>sample string 9</DiagnosisType>
    <EncounterId>sample string 4</EncounterId>
    <EncounterType>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </EncounterType>
    <ICD10>sample string 14</ICD10>
    <ICD9>sample string 13</ICD9>
    <PatientClass>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </PatientClass>
    <PatientId>sample string 3</PatientId>
    <SNOMED>sample string 15</SNOMED>
    <Severity>sample string 10</Severity>
    <SourceVocabulary>sample string 6</SourceVocabulary>
  </DiagnosisViewModel>
</ArrayOfDiagnosisViewModel>

Submit a Comment

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

 

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