GET api/patients/{patientId}/allergies
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| patientId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ListResponseOfAllergy| Name | Description | Type | Additional information |
|---|---|---|---|
| Items | Collection of Allergy |
None. |
|
| Result | Result |
None. |
Response Formats
application/json, text/json
Sample:
{
"Items": [
{
"PatientAllergyId": 1,
"Name": "sample string 2",
"Code": "sample string 3",
"RxCUI": 1,
"CodeType": 1,
"Reaction": "sample string 4",
"ReactionType": 1,
"StatusType": 1,
"OnsetDate": "2025-12-17T00:48:38.5513106+00:00",
"LastUpdatedUserId": 1
},
{
"PatientAllergyId": 1,
"Name": "sample string 2",
"Code": "sample string 3",
"RxCUI": 1,
"CodeType": 1,
"Reaction": "sample string 4",
"ReactionType": 1,
"StatusType": 1,
"OnsetDate": "2025-12-17T00:48:38.5513106+00:00",
"LastUpdatedUserId": 1
}
],
"Result": {
"ResultCode": "sample string 1",
"ResultDescription": "sample string 2"
}
}
application/xml, text/xml
Sample:
<ListResponseOfAllergy8Vkccj_Sk xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DoseSpot.UI.API.DataContracts._13">
<Result>
<ResultCode>sample string 1</ResultCode>
<ResultDescription>sample string 2</ResultDescription>
</Result>
<Items>
<Allergy>
<Code>sample string 3</Code>
<CodeType>AllergyClass</CodeType>
<LastUpdatedUserId>1</LastUpdatedUserId>
<Name>sample string 2</Name>
<OnsetDate>2025-12-17T00:48:38.5513106+00:00</OnsetDate>
<PatientAllergyId>1</PatientAllergyId>
<Reaction>sample string 4</Reaction>
<ReactionType>Allergy</ReactionType>
<RxCUI>1</RxCUI>
<StatusType>Active</StatusType>
</Allergy>
<Allergy>
<Code>sample string 3</Code>
<CodeType>AllergyClass</CodeType>
<LastUpdatedUserId>1</LastUpdatedUserId>
<Name>sample string 2</Name>
<OnsetDate>2025-12-17T00:48:38.5513106+00:00</OnsetDate>
<PatientAllergyId>1</PatientAllergyId>
<Reaction>sample string 4</Reaction>
<ReactionType>Allergy</ReactionType>
<RxCUI>1</RxCUI>
<StatusType>Active</StatusType>
</Allergy>
</Items>
</ListResponseOfAllergy8Vkccj_Sk>