exam

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

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