schema

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeLabel

func NormalizeLabel(label string) string

Types

type Definition

type Definition struct {
	Name     string              `json:"name"`
	Version  string              `json:"version"`
	Sections map[Section][]Field `json:"sections"`
}

func Default

func Default() Definition

func HealthlinkReferralV1

func HealthlinkReferralV1() Definition

func (Definition) AliasMap

func (d Definition) AliasMap() map[string]string

func (Definition) AllFields

func (d Definition) AllFields() []Field

type Field

type Field struct {
	Key    string   `json:"key"`
	Labels []string `json:"labels,omitempty"`
}

type Section

type Section string
const (
	SectionPatient     Section = "patient"
	SectionExamination Section = "examination"
	SectionHistory     Section = "history"
	SectionMetrics     Section = "metrics"
	SectionSocial      Section = "social"
	SectionMedication  Section = "medication"
)

Jump to

Keyboard shortcuts

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