191e69116448

latestSwagger 2.02026-08-061791731.4 MB
Allergies and Intolerances

{{baseUrl}}/persons/:personId/chart/encounters/:encounterId/allergies

Gets a list of allergy summaries for the given person id and encounter id, with the option of including resolved allergies.

get/persons/{personId}/chart/encounters/{encounterId}/allergies

Path parameters

personIdstring required

(Required) (Required) The id of the patient whose allergies are being retrieved

encounterIdstring required

(Required) (Required) The id of the encounter in which the allergies were added

Query parameters

includeResolvedstring required

A true or false value that includes or excludes allergies that are resolved

Headers

Acceptstring required

Response

OK

idstring required
enterpriseIdstring required
practiceIdstring required
personIdstring required
encounterIdstring required
encounterTimestampstring required
encounterTimestampTimezonestring required
allergyIdstring required
allergyTypeIdstring required
descriptionstring required
allergyTypestring required
locationIdstring required
providerIdstring required
onsetDatestring required
resolvedDatestring required
commentstring required
reactionDescriptionstring required
criticalityCodestring required
isLockedstring required
isReadOnlystring required
rxNormCodestring required
rxNormDescriptionstring required

Example response

{
  "id": "<string>",
  "enterpriseId": "<string>",
  "practiceId": "<string>",
  "personId": "<string>",
  "encounterId": "<string>",
  "encounterTimestamp": "<string>",
  "encounterTimestampTimezone": "<string>",
  "allergyId": "<string>",
  "allergyTypeId": "<string>",
  "description": "<string>",
  "allergyType": "<string>",
  "locationId": "<string>",
  "providerId": "<string>",
  "onsetDate": "<string>",
  "resolvedDate": "<string>",
  "comment": "<string>",
  "reactionDescription": "<string>",
  "criticalityCode": "<string>",
  "isLocked": "<string>",
  "isReadOnly": "<string>",
  "rxNormCode": "<string>",
  "rxNormDescription": "<string>",
  "_links": [
    {
      "href": "<string>",
      "method": "<string>",
      "rel": "<string>",
      "description": "<string>",
      "vendorExtensions": "<string>"
    },
    {
      "href": "<string>",
      "method": "<string>",
      "rel": "<string>",
      "description": "<string>",
      "vendorExtensions": "<string>"
    }
  ]
}