Class CohortController
java.lang.Object
org.diabetestechnology.drh.service.http.hub.prime.ux.CohortController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCohort(CohortRequest request) org.springframework.http.ResponseEntity<?> getCohortAverageAge(CohortRequest request, String extension) org.springframework.http.ResponseEntity<?> getCohortCgmCount(CohortRequest request, String extension) org.springframework.http.ResponseEntity<?> getCohortFemalePercentage(CohortRequest request, String extension) getCohortReport(CohortRequest request) org.springframework.http.ResponseEntity<?> getCohortTotalParticipant(CohortRequest request, String extension)
-
Constructor Details
-
CohortController
public CohortController()
-
-
Method Details
-
getCohort
@PostMapping("/svm/cohort/participant") @ResponseBody public Object getCohort(@RequestBody @Nonnull CohortRequest request) -
getCohortReport
@PostMapping("/svm/cohort/report") @ResponseBody public Object getCohortReport(@RequestBody @Nonnull CohortRequest request) -
getCohortTotalParticipant
@PostMapping(value="/svm/cohort/totalParticipant.{extension}", produces="text/html") @ResponseBody public org.springframework.http.ResponseEntity<?> getCohortTotalParticipant(@RequestBody @Nonnull CohortRequest request, @PathVariable String extension) -
getCohortFemalePercentage
@PostMapping(value="/svm/cohort/femalePercentage.{extension}", produces="text/html") @ResponseBody public org.springframework.http.ResponseEntity<?> getCohortFemalePercentage(@RequestBody @Nonnull CohortRequest request, @PathVariable String extension) -
getCohortAverageAge
@PostMapping(value="/svm/cohort/average-age.{extension}", produces="text/html") @ResponseBody public org.springframework.http.ResponseEntity<?> getCohortAverageAge(@RequestBody @Nonnull CohortRequest request, @PathVariable String extension) -
getCohortCgmCount
@PostMapping(value="/svm/cohort/cgm-count.{extension}", produces="text/html") @ResponseBody public org.springframework.http.ResponseEntity<?> getCohortCgmCount(@RequestBody @Nonnull CohortRequest request, @PathVariable String extension)
-