Skip to content

Commit

Permalink
bug fixing in ENTTreatment
Browse files Browse the repository at this point in the history
  • Loading branch information
slogan621 committed Mar 2, 2020
1 parent 91423fa commit 336a6b5
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions app/src/main/java/org/thousandsmiles/tscharts_lib/ENTTreatment.java
Original file line number Diff line number Diff line change
Expand Up @@ -935,83 +935,83 @@ public JSONObject toJSONObject(boolean includeId)
data.put("clinic", getClinic());
data.put("comment", getComment());
data.put("username", getUsername());
data.put("earCleanedSide", getEarCleanedSide());
data.put("earCleanedSide", earSideToString(getEarCleanedSide()));
data.put("earCleanedComment", getEarCleanedComment());
data.put("audiogramSide", getAudiogramSide());
data.put("audiogramSide", earSideToString(getAudiogramSide()));
data.put("audiogramComment", getAudiogramComment());
data.put("audiogramRightAway", getAudiogramRightAway());
data.put("audiogramRightAway", boolToString(getAudiogramRightAway()));
data.put("audiogramRightAwayComment", getAudiogramRightAwayComment());
data.put("tympanogramSide", getTympanogramSide());
data.put("tympanogramSide", earSideToString(getTympanogramSide()));
data.put("tympanogramComment", getTympanogramComment());
data.put("tympanogramRightAway", getTympanogramRightAway());
data.put("tympanogramRightAway", boolToString(getTympanogramRightAway()));
data.put("tympanogramRightAwayComment", getTympanogramRightAwayComment());
data.put("mastoidDebridedSide", getMastoidDebridedSide());
data.put("mastoidDebridedSide", earSideToString(getMastoidDebridedSide()));
data.put("mastoidDebridedComment", getMastoidDebridedComment());
data.put("mastoidDebridedHearingAidEval", getMastoidDebridedHearingAidEval());
data.put("mastoidDebridedHearingAidEval", boolToString(getMastoidDebridedHearingAidEval()));
data.put("mastoidDebridedHearingAidEvalComment", getMastoidDebridedHearingAidEvalComment());
data.put("antibioticDrops", getAntibioticDrops());
data.put("antibioticDrops", boolToString(getAntibioticDrops()));
data.put("antibioticDropsComment", getAntibioticDropsComment());
data.put("antibioticOrally", getAntibioticOrally());
data.put("antibioticOrally", boolToString(getAntibioticOrally()));
data.put("antibioticOrallyComment", getAntibioticOrallyComment());
data.put("antibioticAcuteInfection", getAntibioticAcuteInfection());
data.put("antibioticAcuteInfection", boolToString(getAntibioticAcuteInfection()));
data.put("antibioticAcuteInfectionComment", getAntibioticAcuteInfectionComment());
data.put("antibioticAfterWaterExposureInfectionPrevention", getAntibioticAfterWaterExposureInfectionPrevention());
data.put("antibioticAfterWaterExposureInfectionPrevention", boolToString(getAntibioticAfterWaterExposureInfectionPrevention()));
data.put("antibioticAfterWaterExposureInfectionPreventionComment", getAntibioticAfterWaterExposureInfectionPreventionComment());
data.put("boricAcidToday", getBoricAcidToday());
data.put("boricAcidToday", boolToString(getBoricAcidToday()));
data.put("boricAcidTodayComment", getBoricAcidTodayComment());
data.put("boricAcidForHomeUse", getBoricAcidForHomeUse());
data.put("boricAcidForHomeUse", boolToString(getBoricAcidForHomeUse()));
data.put("boricAcidForHomeUseComment", getBoricAcidForHomeUseComment());
data.put("boricAcidSide", getBoricAcidSide());
data.put("boricAcidSide", earSideToString(getBoricAcidSide()));
data.put("boricAcidSideComment", getBoricAcidSideComment());
data.put("foreignBodyRemoved", getForeignBodyRemoved());
data.put("foreignBodyRemoved", earSideToString(getForeignBodyRemoved()));
data.put("foreignBodyRemovedComment", getForeignBodyRemovedComment());
data.put("return3Months", getReturn3Months());
data.put("return6Months", getReturn6Months());
data.put("returnPrn", getReturnPrn());
data.put("return3Months", boolToString(getReturn3Months()));
data.put("return6Months", boolToString(getReturn6Months()));
data.put("returnPrn", boolToString(getReturnPrn()));
data.put("returnComment", getReturnComment());
data.put("referredPvtENTEnsenada", getReferredPvtENTEnsenada());
data.put("referredPvtENTEnsenada", boolToString(getReferredPvtENTEnsenada()));
data.put("referredPvtENTEnsenadaComment", getReferredPvtENTEnsenadaComment());
data.put("referredChildrensHospitalTJ", getReferredChildrensHospitalTJ());
data.put("referredChildrensHospitalTJ", boolToString(getReferredChildrensHospitalTJ()));
data.put("referredChildrensHospitalTJComment", getReferredChildrensHospitalTJComment());
data.put("tubesTomorrow", getTubesTomorrow());
data.put("tubesTomorrow", earSideToString(getTubesTomorrow()));
data.put("tubesTomorrowComment", getTubesTomorrowComment());
data.put("tPlastyTomorrow", getTPlastyTomorrow());
data.put("tPlastyTomorrow", earSideToString(getTPlastyTomorrow()));
data.put("tPlastyTomorrowComment", getTPlastyTomorrowComment());
data.put("euaTomorrow", getEuaTomorrow());
data.put("euaTomorrow", earSideToString(getEuaTomorrow()));
data.put("euaTomorrowComment", getEuaTomorrowComment());
data.put("fbRemovalTomorrow", getFbRemovalTomorrow());
data.put("fbRemovalTomorrow", earSideToString(getFbRemovalTomorrow()));
data.put("fbRemovalTomorrowComment", getFbRemovalTomorrowComment());
data.put("middleEarExploreMyringotomyTomorrow", getMiddleEarExploreMyringotomyTomorrow());
data.put("middleEarExploreMyringotomyTomorrow", earSideToString(getMiddleEarExploreMyringotomyTomorrow()));
data.put("middleEarExploreMyringotomyTomorrowComment", getMiddleEarExploreMyringotomyTomorrowComment());
data.put("cerumenTomorrow", getCerumenTomorrow());
data.put("cerumenTomorrow", earSideToString(getCerumenTomorrow()));
data.put("cerumenTomorrowComment", getCerumenTomorrowComment());
data.put("granulomaTomorrow", getGranulomaTomorrow());
data.put("granulomaTomorrow", earSideToString(getGranulomaTomorrow()));
data.put("granulomaTomorrowComment", getGranulomaTomorrowComment());
data.put("septorhinoplastyTomorrow", getSeptorhinoplastyTomorrow());
data.put("septorhinoplastyTomorrow", boolToString(getSeptorhinoplastyTomorrow()));
data.put("septorhinoplastyTomorrowComment", getSeptorhinoplastyTomorrowComment());
data.put("scarRevisionCleftLipTomorrow", getScarRevisionCleftLipTomorrow());
data.put("scarRevisionCleftLipTomorrow", boolToString(getScarRevisionCleftLipTomorrow()));
data.put("scarRevisionCleftLipTomorrowComment", getScarRevisionCleftLipTomorrowComment());
data.put("frenulectomyTomorrow", getFrenulectomyTomorrow());
data.put("frenulectomyTomorrow", boolToString(getFrenulectomyTomorrow()));
data.put("frenulectomyTomorrowComment", getFrenulectomyTomorrowComment());
data.put("tubesFuture", getTubesFuture());
data.put("tubesFuture", earSideToString(getTubesFuture()));
data.put("tubesFutureComment", getTubesFutureComment());
data.put("tPlastyFuture", getTPlastyFuture());
data.put("tPlastyFuture", earSideToString(getTPlastyFuture()));
data.put("tPlastyFutureComment", getTPlastyFutureComment());
data.put("euaFuture", getEuaFuture());
data.put("euaFuture", earSideToString(getEuaFuture()));
data.put("euaFutureComment", getEuaFutureComment());
data.put("fbRemovalFuture", getFbRemovalFuture());
data.put("fbRemovalFuture", earSideToString(getFbRemovalFuture()));
data.put("fbRemovalFutureComment", getFbRemovalFutureComment());
data.put("middleEarExploreMyringotomyFuture", getMiddleEarExploreMyringotomyFuture());
data.put("middleEarExploreMyringotomyFuture", earSideToString(getMiddleEarExploreMyringotomyFuture()));
data.put("middleEarExploreMyringotomyFutureComment", getMiddleEarExploreMyringotomyFutureComment());
data.put("cerumenFuture", getCerumenFuture());
data.put("cerumenFuture", earSideToString(getCerumenFuture()));
data.put("cerumenFutureComment", getCerumenFutureComment());
data.put("granulomaFuture", getGranulomaFuture());
data.put("granulomaFuture", earSideToString(getGranulomaFuture()));
data.put("granulomaFutureComment", getGranulomaFutureComment());
data.put("septorhinoplastyFuture", getSeptorhinoplastyFuture());
data.put("septorhinoplastyFuture", boolToString(getSeptorhinoplastyFuture()));
data.put("septorhinoplastyFutureComment", getSeptorhinoplastyFutureComment());
data.put("scarRevisionCleftLipFuture", getScarRevisionCleftLipFuture());
data.put("scarRevisionCleftLipFuture", boolToString(getScarRevisionCleftLipFuture()));
data.put("scarRevisionCleftLipFutureComment", getScarRevisionCleftLipFutureComment());
data.put("frenulectomyFuture", getFrenulectomyFuture());
data.put("frenulectomyFuture", boolToString(getFrenulectomyFuture()));
data.put("frenulectomyFutureComment", getFrenulectomyFutureComment());
} catch(Exception e) {
// not sure this would ever happen, ignore. Continue on with the request with the expectation it fails
Expand Down

0 comments on commit 336a6b5

Please sign in to comment.