Documentation ¶
Index ¶
Constants ¶
View Source
const ( UnitsUnits = "units" TotalMinimum = 0 TotalMaximum = 100 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dose ¶
type Dose struct { Total *float64 `json:"total,omitempty" bson:"total,omitempty"` Units *string `json:"units,omitempty" bson:"units,omitempty"` }
func ParseDose ¶
func ParseDose(parser data.ObjectParser) *Dose
func (*Dose) Normalize ¶
func (d *Dose) Normalize(normalizer data.Normalizer)
func (*Dose) Parse ¶
func (d *Dose) Parse(parser data.ObjectParser)
Click to show internal directories.
Click to hide internal directories.