recommendation

package
v0.0.0-...-5d294c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HeartBeatNormDifference     = 10.0
	BloodPressureNormDifference = 15.0
	WeightNormDifference        = 20.0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RecommendationService

type RecommendationService struct {
	// contains filtered or unexported fields
}

func NewRecommendationService

func NewRecommendationService(db *gorm.DB) *RecommendationService

func (*RecommendationService) GetRecommendationByName

func (rs *RecommendationService) GetRecommendationByName(indicatorName, patientName string, indicators []float64) (bool, error)

func (*RecommendationService) PatientBloodPressureInNorm

func (rs *RecommendationService) PatientBloodPressureInNorm(patientName string, indicators []float64) (bool, error)

func (*RecommendationService) PatientHeartRateInNorm

func (rs *RecommendationService) PatientHeartRateInNorm(patientName string, indicators []float64) (bool, error)

func (*RecommendationService) PatientWeightInNorm

func (rs *RecommendationService) PatientWeightInNorm(patientName string, indicator float64) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL