Documentation ¶
Overview ¶
Package testnotes contains functionality to generate deterministic notes for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { Notes [][]string // contains filtered or unexported fields }
Generator generates notes for testing.
func (Generator) RandomDocumentForClinicalNote ¶
func (g Generator) RandomDocumentForClinicalNote(_ *pathway.ClinicalNote) (*ir.ClinicalNote, error)
RandomDocumentForClinicalNote is not supported in Generator and it returns an error.
func (Generator) RandomNotesForResult ¶
RandomNotesForResult returns notes deterministically, iterating through the notes the generator has been initialized with.
Click to show internal directories.
Click to hide internal directories.