bolus

package
v1.32.2-hotfix.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: BSD-2-Clause Imports: 5 Imported by: 5

Documentation

Index

Constants

View Source
const (
	Type = "bolus"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Bolus

type Bolus struct {
	types.Base `bson:",inline"`

	SubType string `json:"subType,omitempty" bson:"subType,omitempty"`

	InsulinFormulation *insulin.Formulation `json:"insulinFormulation,omitempty" bson:"insulinFormulation,omitempty"`
}

func New added in v1.26.0

func New(subType string) Bolus

func (*Bolus) IdentityFields

func (b *Bolus) IdentityFields() ([]string, error)

func (*Bolus) Meta

func (b *Bolus) Meta() interface{}

func (*Bolus) Normalize

func (b *Bolus) Normalize(normalizer data.Normalizer)

func (*Bolus) Parse

func (b *Bolus) Parse(parser structure.ObjectParser)

func (*Bolus) Validate

func (b *Bolus) Validate(validator structure.Validator)

type Meta

type Meta struct {
	Type    string `json:"type,omitempty"`
	SubType string `json:"subType,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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