model

package
v0.0.0-...-0d50045 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	Name      *string `json:"name"`
	Substance *string `json:"substance"`
}

type Ingredient

type Ingredient struct {
	PharmaceuticalForm *PharmaceuticalForm `json:"pharmaceuticalForm"`
	From               time.Time           `json:"from"`
	Substance          *Substance          `json:"substance"`
	Strength           *Strength           `json:"strength"`
}

type Medicine

type Medicine struct {
	Code          string      `json:"code"`
	Name          string      `json:"name"`
	Ingredient    *Ingredient `json:"ingredient"`
	PosologyNotes []string    `json:"posologyNotes"`
}

type PharmaceuticalForm

type PharmaceuticalForm struct {
	Code string `json:"code"`
	Name string `json:"name"`
}

type Strength

type Strength struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type Substance

type Substance struct {
	Code string `json:"code"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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