Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added allergies item at data-config.xml
- Loading branch information
Showing
7 changed files
with
297 additions
and
80 deletions.
There are no files selected for viewing
94 changes: 94 additions & 0 deletions
94
api/src/main/java/org/openmrs/module/chartsearch/AllergyItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
/** | ||
* This Source Code Form is subject to the terms of the Mozilla Public License, | ||
* v. 2.0. If a copy of the MPL was not distributed with this file, You can | ||
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under | ||
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license. | ||
* | ||
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS | ||
* graphic logo is a trademark of OpenMRS Inc. | ||
*/ | ||
package org.openmrs.module.chartsearch; | ||
|
||
public class AllergyItem extends ChartListItem { | ||
|
||
private Integer allergyId; | ||
|
||
private String allergenCodedName; | ||
|
||
private String allergenNonCodedName; | ||
|
||
private String allergenSeverity; | ||
|
||
private String allergenType; | ||
|
||
private String allergenCodedReaction; | ||
|
||
private String allergenNonCodedReaction; | ||
|
||
private String allergenComment; | ||
|
||
public Integer getAllergyId() { | ||
return allergyId; | ||
} | ||
|
||
public void setAllergyId(Integer allergyId) { | ||
this.allergyId = allergyId; | ||
} | ||
|
||
public String getAllergenCodedName() { | ||
return allergenCodedName; | ||
} | ||
|
||
public void setAllergenCodedName(String allergenCodedName) { | ||
this.allergenCodedName = allergenCodedName; | ||
} | ||
|
||
public String getAllergenNonCodedName() { | ||
return allergenNonCodedName; | ||
} | ||
|
||
public void setAllergenNonCodedName(String allergenNonCodedName) { | ||
this.allergenNonCodedName = allergenNonCodedName; | ||
} | ||
|
||
public String getAllergenSeverity() { | ||
return allergenSeverity; | ||
} | ||
|
||
public void setAllergenSeverity(String allergenSeverity) { | ||
this.allergenSeverity = allergenSeverity; | ||
} | ||
|
||
public String getAllergenType() { | ||
return allergenType; | ||
} | ||
|
||
public void setAllergenType(String allergenType) { | ||
this.allergenType = allergenType; | ||
} | ||
|
||
public String getAllergenCodedReaction() { | ||
return allergenCodedReaction; | ||
} | ||
|
||
public void setAllergenCodedReaction(String allergenCodedReaction) { | ||
this.allergenCodedReaction = allergenCodedReaction; | ||
} | ||
|
||
public String getAllergenNonCodedReaction() { | ||
return allergenNonCodedReaction; | ||
} | ||
|
||
public void setAllergenNonCodedReaction(String allergenNonCodedReaction) { | ||
this.allergenNonCodedReaction = allergenNonCodedReaction; | ||
} | ||
|
||
public String getAllergenComment() { | ||
return allergenComment; | ||
} | ||
|
||
public void setAllergenComment(String allergenComment) { | ||
this.allergenComment = allergenComment; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.