Documentation
¶
Index ¶
Constants ¶
View Source
const ( OrderScheduled orderStatus = "SC" OrderInProgress orderStatus = "IP" OrderComplete orderStatus = "CM" OrderCancelled orderStatus = "CA" OrderRescheduled orderStatus = "RS" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exam ¶
type Exam struct {
Base
Accession string
MRN MRN
Procedure Procedure
Site Site
Scheduled time.Time
Begin time.Time
End time.Time
Cancelled time.Time
Rescheduled map[time.Time]struct{} // this might be interesting
}
func DBtoExam ¶
func DBtoExam(exam database.GetExamBySiteIDAccessionRow) Exam
type Message ¶
type Order ¶
type Order struct {
Base
Number string
CurrentStatus orderStatus
Date time.Time
Site Site
Visit Visit
MRN MRN
Provider Physician
}
func DBtoOrder ¶
func DBtoOrder(order database.GetOrderBySiteIDNumberRow) Order
type Patient ¶
type Patient struct {
Base
Name objects.Name
DOB time.Time
Sex string
// TODO: encrypt SSN
SSN objects.SSN
HomePhone objects.PhoneNumber
WorkPhone objects.PhoneNumber
CellPhone objects.PhoneNumber
}
func DBtoPatient ¶
type Physician ¶
func DBtoPhysician ¶
type Procedure ¶
type Report ¶
Click to show internal directories.
Click to hide internal directories.