combination

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatum

func NewDatum() data.Datum

func SubType

func SubType() string

Types

type Combination

type Combination struct {
	bolus.Bolus `bson:",inline"`

	Normal           *float64 `json:"normal,omitempty" bson:"normal,omitempty"`
	ExpectedNormal   *float64 `json:"expectedNormal,omitempty" bson:"expectedNormal,omitempty"`
	Extended         *float64 `json:"extended,omitempty" bson:"extended,omitempty"`
	ExpectedExtended *float64 `json:"expectedExtended,omitempty" bson:"expectedExtended,omitempty"`
	Duration         *int     `json:"duration,omitempty" bson:"duration,omitempty"`
	ExpectedDuration *int     `json:"expectedDuration,omitempty" bson:"expectedDuration,omitempty"`
}

func Init

func Init() *Combination

func New

func New() *Combination

func (*Combination) Init

func (c *Combination) Init()

func (*Combination) Parse

func (c *Combination) Parse(parser data.ObjectParser) error

func (*Combination) Validate

func (c *Combination) Validate(validator data.Validator) error

Jump to

Keyboard shortcuts

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