action drchrono_allergies_list { label: "allergies_list" description: "Retrieve or search patient allergies" provider: drchrono method: GET path: "/api/allergies" encoding: json input: { type: "object" properties: { cursor: { type: "string" description: "The pagination cursor value." } doctor: { type: "integer" } page_size: { type: "integer" description: "Number of results to return per page." } patient: { type: "integer" } } additionalProperties: false } output: { type: "object" description: "Paginated Result" properties: { data: { type: "array" description: "result data" items: { type: "object" required: ["doctor", "patient"] properties: { description: { type: "string" description: "Description of the allergy, such as `\"Cat hair\"`" } doctor: { type: "integer" description: "Id of the doctor who diagnosed the allergy" } id: { type: "integer" } notes: { type: "string" description: "Any additional notes from the provider" } patient: { type: "integer" } reaction: { type: "string" description: "Short description of the patient's allergic reaction, such as `\"Hives\"`" } rxnorm: { type: "string" description: "If the allergy is a drug allergy, this is the RxNorm code of the drug" } snomed_reaction: { type: "string" description: "SNOMED code for the reaction. For possible SnoMED codes, please see [this link from PHIN VADS](https://phinvads.cdc.gov/vads/ViewValueSet.action?id=896AABB4-5ACD-DE11-913D-0015173D1785)" enum: ["", "14669001", "39579001", "57676002", "43724002", "49727002", "386661006", "25064002", "247472004", "271795006", "68962001", "68235000", "422587007", "95388000", "271807003", "271825005", "64531003", "267036007", "162397003", "65124004"] } status: { type: "string" description: "One of `\"active\"`, `\"inactive\"`. If absent in `POST`, default to `\"active\"`" enum: ["active", "inactive"] } } } } next: { type: "string" description: "Next Paginated page" } previous: { type: "string" description: "Previous paginated page" } } } }