objects

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Modality

type Modality string

type NPI

type NPI [10]byte

func NewNPI

func NewNPI(s string) (NPI, error)

func (*NPI) Int

func (n *NPI) Int() int

func (*NPI) String

func (n *NPI) String() string

type Name

type Name struct {
	Last   string
	First  string
	Middle string
	Suffix string
	Prefix string
	Degree string
}

func NewName

func NewName(last, first, middle, suffix, prefix, degree string) Name

func (*Name) Coalesce

func (n *Name) Coalesce(other Name)

func (*Name) Full

func (n *Name) Full() string

func (*Name) Record

func (n *Name) Record() string

Returns a string representation of the name in format "Last, First Middle"

type PatientType

type PatientType int16
const (
	OutPatient PatientType = iota + 1
	InPatient
	EdPatient
)

func NewPatientType added in v0.6.9

func NewPatientType(s string) PatientType

func (PatientType) Int16

func (p PatientType) Int16() int16

type PhoneNumber

type PhoneNumber uint64

func NewPhoneNumber

func NewPhoneNumber(s string) (PhoneNumber, error)

func (PhoneNumber) Print

func (ph PhoneNumber) Print() string

format the phone number (USA & Canada only -- other countries will work, but it will look weird) 1234567890 -> 123-456-7890 11234567890 -> +1 123-456-7890

func (PhoneNumber) String

func (ph PhoneNumber) String() string

type ReportStatus

type ReportStatus string
const (
	Pending  ReportStatus = "P"
	Final    ReportStatus = "F"
	Addendum ReportStatus = "A"
)

func NewReportStatus

func NewReportStatus(s string) ReportStatus

func (ReportStatus) String

func (r ReportStatus) String() string

type SSN

type SSN string

func NewSSN

func NewSSN(s string) SSN

func (SSN) String

func (s SSN) String() string

type Specialty

type Specialty string
const (
	Body     Specialty = "Body"
	Breast   Specialty = "Breast"
	General  Specialty = "General"
	IR       Specialty = "IR"
	MSK      Specialty = "MSK"
	MSKIR    Specialty = "MSKIR"
	Neuro    Specialty = "Neuro"
	Spine    Specialty = "Spine"
	Vascular Specialty = "Vascular"
)

func NewSpecialty

func NewSpecialty(s string) Specialty

func (Specialty) String

func (s Specialty) String() string

Jump to

Keyboard shortcuts

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