| Package | Description |
|---|---|
| org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
| Modifier and Type | Method and Description |
|---|---|
AllergyReaction |
Allergy.getAllergyReaction(Integer allergyReactionId)
Gets an allergy reaction with a given id
|
AllergyReaction |
Allergy.getReaction(Concept concept)
Gets the reaction with a given concept
|
| Modifier and Type | Method and Description |
|---|---|
List<AllergyReaction> |
Allergy.getReactions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Allergy.addReaction(AllergyReaction reaction)
Adds a new allergy reaction
|
boolean |
AllergyReaction.hasSameValues(AllergyReaction reaction)
Checks if this reaction has the same values as the given one
|
boolean |
Allergy.removeReaction(AllergyReaction reaction)
Removes an allergy reaction
|
| Modifier and Type | Method and Description |
|---|---|
void |
Allergy.setReactions(List<AllergyReaction> reactions) |
| Constructor and Description |
|---|
Allergy(Patient patient,
Allergen allergen,
Concept severity,
String comments,
List<AllergyReaction> reactions) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.