Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAlerts ¶
func CheckAlerts(patientContext []model.SessionSymptom) ([]string, error)
func GuessQuestion ¶
func GuessQuestion(patientContext []model.SessionSymptom) (string, []string, bool)
Types ¶
type ByCoverage ¶
type ByCoverage []diseaseCoverage
func (ByCoverage) Len ¶
func (a ByCoverage) Len() int
func (ByCoverage) Less ¶
func (a ByCoverage) Less(i, j int) bool
func (ByCoverage) Swap ¶
func (a ByCoverage) Swap(i, j int)
type ExamResponse ¶
type ExamResponse struct { Context []model.SessionSymptom Question string Symptoms []string Done bool Alert []string Code int Err error }
func Exam ¶
func Exam(context []model.SessionSymptom) ExamResponse
Click to show internal directories.
Click to hide internal directories.