GET api/ProviderService/PatientAlergies

to retrieve a list of the patient allergies

Request Information

URI Parameters

None.

Body Parameters

Patient GUID

PatientIDQuery
NameDescriptionTypeAdditional information
PatientID

Patient ID

globally unique identifier

Required

Count

COunt -1 all otherwise above zero

integer

None.

DrugID

Drug ID

globally unique identifier

None.

ApplicationID

Application using Absolute EMR API

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "PatientID": "ccc0cce0-5541-4b24-9554-f287f893901f",
  "Count": 1,
  "DrugID": "10a0a1ed-4f1a-4030-8049-284d39428fa1",
  "ApplicationID": "70fb18ee-a7bf-41f3-8ded-f806fac3c092"
}

application/xml, text/xml

Sample:
<PatientIDQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models">
  <ApplicationID>70fb18ee-a7bf-41f3-8ded-f806fac3c092</ApplicationID>
  <Count>1</Count>
  <DrugID>10a0a1ed-4f1a-4030-8049-284d39428fa1</DrugID>
  <PatientID>ccc0cce0-5541-4b24-9554-f287f893901f</PatientID>
</PatientIDQuery>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PatientIDQuery'.

Response Information

Resource Description

Collection of AllergyViewModel
NameDescriptionTypeAdditional information
AllergyName

Gets or sets the Allergy Name

string

None.

AllergyID

Gets or sets the Drug ID

integer

None.

Permanent

Gets or set value indicating if the Allergy is Permanent

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AllergyName": "sample string 1",
    "AllergyID": 2,
    "Permanent": true
  },
  {
    "AllergyName": "sample string 1",
    "AllergyID": 2,
    "Permanent": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfAllergyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models">
  <AllergyViewModel>
    <AllergyID>2</AllergyID>
    <AllergyName>sample string 1</AllergyName>
    <Permanent>true</Permanent>
  </AllergyViewModel>
  <AllergyViewModel>
    <AllergyID>2</AllergyID>
    <AllergyName>sample string 1</AllergyName>
    <Permanent>true</Permanent>
  </AllergyViewModel>
</ArrayOfAllergyViewModel>