redox.datamodel.clinicalsummary.common.Allergy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redox-java-data-model Show documentation
Show all versions of redox-java-data-model Show documentation
This project contains Java POJOs representing the data model of Redox API
package redox.datamodel.clinicalsummary.common;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"Type",
"Substance",
"Reaction",
"Severity",
"Criticality",
"Status",
"StartDate",
"EndDate",
"Comment"
})
public class Allergy {
@JsonProperty("Type")
private Type type;
@JsonProperty("Substance")
private Substance substance;
@JsonProperty("Reaction")
private List reaction = null;
@JsonProperty("Severity")
private Severity severity;
@JsonProperty("Criticality")
private Criticality criticality;
@JsonProperty("Status")
private Status status;
@JsonProperty("StartDate")
private Object startDate;
@JsonProperty("EndDate")
private Object endDate;
@JsonProperty("Comment")
private Object comment;
@JsonIgnore
private Map additionalProperties = new HashMap();
@JsonProperty("Type")
public Type getType() {
return type;
}
@JsonProperty("Type")
public void setType(Type type) {
this.type = type;
}
@JsonProperty("Substance")
public Substance getSubstance() {
return substance;
}
@JsonProperty("Substance")
public void setSubstance(Substance substance) {
this.substance = substance;
}
@JsonProperty("Reaction")
public List getReaction() {
return reaction;
}
@JsonProperty("Reaction")
public void setReaction(List reaction) {
this.reaction = reaction;
}
@JsonProperty("Severity")
public Severity getSeverity() {
return severity;
}
@JsonProperty("Severity")
public void setSeverity(Severity severity) {
this.severity = severity;
}
@JsonProperty("Criticality")
public Criticality getCriticality() {
return criticality;
}
@JsonProperty("Criticality")
public void setCriticality(Criticality criticality) {
this.criticality = criticality;
}
@JsonProperty("Status")
public Status getStatus() {
return status;
}
@JsonProperty("Status")
public void setStatus(Status status) {
this.status = status;
}
@JsonProperty("StartDate")
public Object getStartDate() {
return startDate;
}
@JsonProperty("StartDate")
public void setStartDate(Object startDate) {
this.startDate = startDate;
}
@JsonProperty("EndDate")
public Object getEndDate() {
return endDate;
}
@JsonProperty("EndDate")
public void setEndDate(Object endDate) {
this.endDate = endDate;
}
@JsonProperty("Comment")
public Object getComment() {
return comment;
}
@JsonProperty("Comment")
public void setComment(Object comment) {
this.comment = comment;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}