GET api/v1/{EMRSystem}/Diagnoses

Returns both active and inactive Diagnoses for a given patient. FHIR connectors use the following resources for R4: Condition.Search, Patient.Read, Practitioner.Read, and Encounter.Read.

Status: Released

URI Parameters

NameDescriptionTypeAdditional information
EMRSystem

The emr system.

EMRSystem

None.

UserId

Gets or sets the user identifier.

string

Required

EncounterId

Gets or sets the encounter identifier.

string

Required if EMRSystem = Allscripts, or Athena, or Cerner, or Meditech, or MeditechSql, or TouchWorksUnity

PatientId

Gets or sets the patient identifier.

string

Required if EMRSystem = Epic, or CernerFHIR

ShowInactive

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

boolean

None.

Header Parameters

NameDescriptionTypeAdditional information
LoginId

Gets or sets the login identifier. This Login Id will be encrypted and passed in Sansoro specific Http Request Headers.

string

Required if EMRSystem = Allscripts, or Athena, or Cerner, or Meditech, or Sandbox

Password

Gets or sets the password. This Password will be encrypted and passed in Sansoro specific Http Request Headers.

string

Data type: Password

Required if EMRSystem = Allscripts, or Athena, or Cerner, or Meditech, or Sandbox

EmrInstance

Gets or sets the emr instance. This emr instance info will be encrypted and passed in Sansoro specific Http Request Headers.

string

None.

ApplicationName

Gets or sets the requesting application name. This requesting application name will be encrypted and passed in Sansoro specific Http Request Headers.

string

Required if using application keys

ApplicationKey

Gets or sets the requesting application key. This requesting application key will be encrypted and passed in Sansoro specific Http Request Headers.

string

Data type: Password

Required if using application keys

AuthorizationToken

Gets or sets the custom authorization token. This requesting authorization token will be encrypted and passed in Sansoro specific Http Request Headers.

string

None.

RequestVerboseLogging

Enables verbose logging for a single request. When "true", verbose logging will occur. When "false", the configuration setting will be respected. This value will be passed in Sansoro specific Http Request Headers.

boolean

None.

Response Information

Collection of Diagnosis
NameDescriptionTypeAdditional information
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.

CodedObject

None.

PatientClass

Gets or sets the encounter type.

CodedObject

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.

datetime

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 DiagnosisCode

None.

CustomClassifications

List of custom classifications for this diagnosis

Collection of CustomClassification

None.

Response Codes

Http Status Code 200 - Indicates that the request was processed successfully.

Http Status Code 400 - Indicates that the request did not contain all the required fields or had an invalid value.

Http Status Code 401 - Indicates that authentication to the underlying EMR server using the provided LoginId and Password failed.

Http Status Code 403 - Indicates that there is an issue with the request UserId.

Http Status Code 408 - Indicates that the request to the underlying EMR server timed out.

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

application/json

[
  {
    "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": "2025-12-12T21:08:38.5996266+00:00",
    "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"
      }
    ],
    "CustomClassifications": [
      {
        "ClassificationId": "sample string 1",
        "ClassificationName": "sample string 2"
      },
      {
        "ClassificationId": "sample string 1",
        "ClassificationName": "sample string 2"
      }
    ]
  },
  {
    "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": "2025-12-12T21:08:38.5996266+00:00",
    "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"
      }
    ],
    "CustomClassifications": [
      {
        "ClassificationId": "sample string 1",
        "ClassificationName": "sample string 2"
      },
      {
        "ClassificationId": "sample string 1",
        "ClassificationName": "sample string 2"
      }
    ]
  }
]

'

GET api/v1/{EMRSystem}/Diagnoses

Returns both active and inactive Diagnoses for a given patient. FHIR connectors use the following resources for R4: Condition.Search, Patient.Read, Practitioner.Read, and Encounter.Read.

Status: Released

URI Parameters


Required
Required if EMRSystem = Allscripts, or Athena, or Cerner, or Meditech, or MeditechSql, or TouchWorksUnity
Required if EMRSystem = Epic, or CernerFHIR

Header Parameters

Required if EMRSystem = Allscripts, or Athena, or Cerner, or Meditech, or Sandbox
Data type: Password , Required if EMRSystem = Allscripts, or Athena, or Cerner, or Meditech, or Sandbox
Required if using application keys
Data type: Password , Required if using application keys

Request: {{ method }} {{ url }}

  • Http Request Headers
  • {{header.name}} : {{header.value}} ******
  • Http Request Body
  • {{httpRequestBody}}
  • Http Response Headers
  • {{header.name}} : {{header.value}} ******
  • Http Response Data
  • {{httpResponseData}}