Class ParticipantController
java.lang.Object
org.diabetestechnology.drh.service.http.hub.prime.ux.ParticipantController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAmbulatoryGlucoseProfile
(String studyId, String participantId, String startDate, String endDate) calculateAverageDailyRisk
(String studyId, String participantId, String startDate, String endDate) calculateCONGA
(String studyId, String participantId, String startDate, String endDate) calculateGRADE
(String studyId, String participantId, String startDate, String endDate) calculateJIndex
(String studyId, String participantId, String startDate, String endDate) calculateLBGIandHBGI
(String studyId, String participantId, String startDate, String endDate) calculateMeanOfDailyDifferences
(String studyId, String participantId, String startDate, String endDate) calculateMValue
(String studyId, String participantId, String startDate, String endDate) calculateTimeAboveRangeHigh
(String studyId, String participantId, String startDate, String endDate) calculateTimeAboveRangeVeryHigh
(String studyId, String participantId, String startDate, String endDate) calculateTimeBelowRangeLow
(String studyId, String participantId, String startDate, String endDate) calculateTimeBelowRangeVeryLow
(String studyId, String participantId, String startDate, String endDate) calculateTimeInRange
(String studyId, String participantId, String startDate, String endDate) calculateTimeInTightRange
(String studyId, String participantId, String startDate, String endDate) CoefficientOfVariation
(String studyId, String participantId, String startDate, String endDate) computeAllMetrics
(String studyId, String participantId, String startDate, String endDate) org.springframework.http.ResponseEntity
<?> org.springframework.http.ResponseEntity
<?> getDailyGlucoseProfile
(String studyId, String participantId, String startDate, String endDate) getGlucoseManagementIndicator
(String studyId, String participantId, String startDate, String endDate) getMeanAmplitude
(String studyId, String participantId, String startDate, String endDate) getMeanGlucose
(String studyId, String participantId, String startDate, String endDate) getNumberOfDaysCGMWorn
(String studyId, String participantId, String startDate, String endDate) getParticipantCGMDates
(String studyId, String participantId) getParticipantInfo
(String studyId, String participantId) getParticipantMetrics
(String studyId, String participantId, String startDate, String endDate) getPercentageTimeCGMActive
(String studyId, String participantId, String startDate, String endDate) getTimeRangeStackedData
(String studyId, String participantId, String startDate, String endDate) glycemicRiskIndicator
(String studyId, String participantId, String startDate, String endDate) liabilityIndex
(String studyId, String participantId, String startDate, String endDate) participantdetail
(String studyId, String participantId, org.springframework.ui.Model model, jakarta.servlet.http.HttpServletRequest request) participantinfo
(String studyId, String participantId)
-
Constructor Details
-
ParticipantController
-
-
Method Details
-
participantdetail
-
participantinfo
-
getParticipantCGMDates
@GetMapping("/participant-cgm-dates/{studyId}/{participantId}") @Cacheable(value="participantCgmDatesCache", key="#studyId + \'_\' + #participantId + \'_\' + #startDate + \'_\' + #endDate") @ResponseBody public Object getParticipantCGMDates(@PathVariable String studyId, @PathVariable String participantId) -
CoefficientOfVariation
-
AmbulatoryGlucoseProfile
@GetMapping("/participant/ambulatory-glucose-profile/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody @Cacheable(value="ambulatoryGlucoseProfileCache", key="#studyId + \'_\' + #participantId + \'_\' + #startDate + \'_\' + #endDate") public Object AmbulatoryGlucoseProfile(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) -
calculateTimeBelowRangeLow
-
calculateTimeBelowRangeVeryLow
-
calculateTimeInRange
-
calculateTimeAboveRangeVeryHigh
-
calculateTimeInTightRange
-
calculateTimeAboveRangeHigh
-
glycemicRiskIndicator
@GetMapping("/participant/glycemicRiskIndicator/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object glycemicRiskIndicator(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws SQLException - Throws:
SQLException
-
liabilityIndex
-
getMeanAmplitude
@GetMapping("/participant/mean-amplitude/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object getMeanAmplitude(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws InterruptedException, ExecutionException -
calculateMValue
@GetMapping("/participant/m-value/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object calculateMValue(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws InterruptedException, ExecutionException -
getParticipantMetrics
@GetMapping("/participant-metrics/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object getParticipantMetrics(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws SQLException - Throws:
SQLException
-
getTimeRangeStackedData
@GetMapping("/time-range-stacked-data/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object getTimeRangeStackedData(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws SQLException - Throws:
SQLException
-
getParticipantInfo
-
calculateAverageDailyRisk
@GetMapping("/participant/average-daily-risk/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object calculateAverageDailyRisk(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws SQLException, InterruptedException, ExecutionException -
calculateJIndex
@GetMapping("/participant/j-index/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object calculateJIndex(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws SQLException, InterruptedException, ExecutionException, InterruptedException, ExecutionException -
calculateLBGIandHBGI
@GetMapping("/participant/lbgi-hbgi/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object calculateLBGIandHBGI(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws SQLException, InterruptedException, ExecutionException -
calculateGRADE
@GetMapping("/participant/grade/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object calculateGRADE(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws SQLException, InterruptedException, ExecutionException -
calculateMeanOfDailyDifferences
@GetMapping("/participant/mean-of-daily-differences/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object calculateMeanOfDailyDifferences(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws SQLException, InterruptedException, ExecutionException -
calculateCONGA
@GetMapping("/participant/conga/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object calculateCONGA(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws SQLException, InterruptedException, ExecutionException -
emptyAmbulatoryGlucoseProfileCache
@GetMapping("/ambulatoryGlucoseProfile/clear") @CacheEvict(value="ambulatoryGlucoseProfileCache", allEntries=true) public org.springframework.http.ResponseEntity<?> emptyAmbulatoryGlucoseProfileCache() -
computeAllMetrics
@GetMapping("/compute-all-metrics/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object computeAllMetrics(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws SQLException - Throws:
SQLException
-
getDailyGlucoseProfile
@GetMapping("/participant/get-daily-glcuose-profile/{studyId}/{participantId}/{startDate}/{endDate}") @ResponseBody public Object getDailyGlucoseProfile(@PathVariable String studyId, @PathVariable String participantId, @PathVariable String startDate, @PathVariable String endDate) throws SQLException - Throws:
SQLException
-
emptyParticipantCgmDatesCache
@GetMapping("/participant-cgm-dates/clear") @CacheEvict(value="participantCgmDatesCache", allEntries=true) public org.springframework.http.ResponseEntity<?> emptyParticipantCgmDatesCache() -
getMeanGlucose
-
getNumberOfDaysCGMWorn
-
getPercentageTimeCGMActive
-
getGlucoseManagementIndicator
-