testnotes

package
v0.0.0-...-d424132 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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

func (g Generator) RandomNotesForResult() []string

RandomNotesForResult returns notes deterministically, iterating through the notes the generator has been initialized with.

Jump to

Keyboard shortcuts

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