Add Allergy Command

Command to add a new allergy or adverse reaction to a patient's record

Overview

The AddAllergyCommand documents a patient allergy or adverse reaction, a safety-critical piece of information used in prescribing and ordering.

Command Schema

{
"commandId": "uuid",
"commandType": "AddAllergyCommand",
"data": {
"patientId": "string",
"allergen": "string",
"allergyType": "drug | food | environmental | other",
"reaction": "string",
"severity": "mild | moderate | severe | life-threatening",
"onsetDate": "ISO 8601",
"documentedBy": "string",
"verificationStatus": "confirmed | unconfirmed | refuted"
}
}

Allergy Types

  • Drug: Penicillin, sulfa drugs, contrast dye
  • Food: Peanuts, shellfish, latex
  • Environmental: Pollen, pet dander
  • Other: Tape adhesive, iodine

Reactions

  • Mild: Rash, itching
  • Moderate: Hives, wheezing
  • Severe: Anaphylaxis, angioedema
  • Life-Threatening: Respiratory failure, anaphylactic shock