Skip to content

Commit

Permalink
put in jsonpropery for new fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Dert1129 committed Nov 11, 2024
1 parent f64f89b commit 468e2d8
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ public void setEnrollmentCategory(Set<String> enrollmentCategory) {
this.enrollmentCategory = enrollmentCategory;
}

@JsonProperty("primaryadjudicatedcategory")
public Set<String> getPrimaryAdjudicatedCategory() {
if(primaryAdjudicatedCategory.isEmpty()){
return null;
Expand All @@ -391,6 +392,7 @@ public void setPrimaryAdjudicatedCategory(Set<String> primaryAdjudicatedCategory
this.primaryAdjudicatedCategory = primaryAdjudicatedCategory;
}

@JsonProperty("kdigostage")
public Set<String> getKdigoStage() {
if(kdigoStage.isEmpty()){
return null;
Expand All @@ -409,6 +411,7 @@ public void setKdigoStage(Set<String> kdigoStage) {
this.kdigoStage = kdigoStage;
}

@JsonProperty("baselineegfr")
public Set<String> getBaselineEgfr() {
if(baselineEgfr.isEmpty()){
return null;
Expand All @@ -427,6 +430,7 @@ public void setBaselineEgfr(Set<String> baselineEgfr) {
this.baselineEgfr = baselineEgfr;
}

@JsonProperty("proteinuria")
public Set<String> getProteinuria() {
if(proteinuria.isEmpty()){
return null;
Expand All @@ -435,7 +439,7 @@ public Set<String> getProteinuria() {
}
}

public addProteinuria(String proteinuria){
public void addProteinuria(String proteinuria){
if(this.proteinuria != null && !proteinuria.isEmpty()){
this.proteinuria.add(proteinuria);
}
Expand All @@ -445,6 +449,7 @@ public void setProteinuria(Set<String> proteinuria) {
this.proteinuria = proteinuria;
}

@JsonProperty("a1c")
public Set<String> getA1c() {
if(a1c.isEmpty()){
return null;
Expand All @@ -463,6 +468,7 @@ public void setA1c(Set<String> a1c) {
this.a1c = a1c;
}

@JsonProperty("albuminuria")
public Set<String> getAlbuminuria() {
if(albuminuria.isEmpty()){
return null;
Expand All @@ -481,6 +487,7 @@ public void setAlbuminuria(Set<String> albuminuria) {
this.albuminuria = albuminuria;
}

@JsonProperty("diabeteshistory")
public Set<String> getDiabetesHistory() {
if(diabetesHistory.isEmpty()){
return null;
Expand All @@ -499,6 +506,7 @@ public void setDiabetesHistory(Set<String> diabetesHistory) {
this.diabetesHistory = diabetesHistory;
}

@JsonProperty("diabetesduration")
public Set<String> getDiabetesDuration() {
if(this.diabetesDuration.isEmpty()){
return null;
Expand All @@ -517,6 +525,7 @@ public void setDiabetesDuration(Set<String> diabetesDuration) {
this.diabetesDuration = diabetesDuration;
}

@JsonProperty("hypertensionhistory")
public Set<String> getHypertensionHistory() {
if(hypertensionHistory.isEmpty()){
return null;
Expand All @@ -535,6 +544,7 @@ public void setHypertensionHistory(Set<String> hypertensionHistory) {
this.hypertensionHistory = hypertensionHistory;
}

@JsonProperty("hypertensionduration")
public Set<String> getHypertensionDuration() {
if(hypertensionDuration.isEmpty()){
return null;
Expand All @@ -553,6 +563,7 @@ public void setHypertensionDuration(Set<String> hypertensionDuration) {
this.hypertensionDuration = hypertensionDuration;
}

@JsonProperty("onraasblockade")
public Set<String> getOnRaasBlockade() {
if(onRaasBlockade.isEmpty()){
return null;
Expand All @@ -571,6 +582,7 @@ public void setOnRaasBlockade(Set<String> onRaasBlockade) {
this.onRaasBlockade = onRaasBlockade;
}

@JsonProperty("ethnicity")
public Set<String> getRace() {
if(race.isEmpty()){
return null;
Expand Down

0 comments on commit 468e2d8

Please sign in to comment.