Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADT ¶
type ADT struct {
MSH MessageModel `hl7:"MSH"`
EVN EventModel `hl7:"EVN"`
PID PatientModel `hl7:"PID"`
PV1 VisitModel `hl7:"PV1"`
IN1 InsuranceModel `hl7:"IN1"`
}
type CE ¶
type CE struct {
Identifier string `hl7:"1"`
Text string `hl7:"2"`
CodingSystem string `hl7:"3"`
AltIdentifier string `hl7:"4"`
AltText string `hl7:"5"`
AltCodingSystem string `hl7:"6"`
}
Coded Element
type CX ¶
type CX struct {
ID string `hl7:"1"`
CheckDigit string `hl7:"2"`
CheckDigitScheme string `hl7:"3"`
AssigningAuthority string `hl7:"4"`
IdentifierTypeCode string `hl7:"5"`
}
Extended Composite ID
type EventModel ¶
type ExamModel ¶
type HD ¶
type HD struct {
NamespaceID string `hl7:"1"`
UniversalID string `hl7:"2"`
UniversalIDType string `hl7:"3"`
}
Hierarchic Designator
type InsuranceModel ¶
type MessageModel ¶
type MessageModel struct {
FieldSeparator string `hl7:"MSH.1"`
EncodingChars string `hl7:"MSH.2"`
SendingApp string `hl7:"MSH.3"`
SendingFac string `hl7:"MSH.4"`
ReceivingApp string `hl7:"MSH.5"`
ReceivingFac string `hl7:"MSH.6"`
DateTime string `hl7:"MSH.7"`
Type CM_MSG `hl7:"MSH.9"`
ControlID string `hl7:"MSH.10"`
ProcessingID string `hl7:"MSH.11"`
Version string `hl7:"MSH.12"`
}
func (*MessageModel) ToEntity ¶
func (m *MessageModel) ToEntity() entity.Message
type ORM ¶
type ORM struct {
MSH MessageModel `hl7:"MSH"`
PID PatientModel `hl7:"PID"`
PV1 VisitModel `hl7:"PV1"`
ORC OrderModel `hl7:"ORC"`
OBR ExamModel `hl7:"OBR"`
}
type ORU ¶
type ORU struct {
MSH MessageModel `hl7:"MSH"`
PID PatientModel `hl7:"PID"`
PV1 VisitModel `hl7:"PV1"`
ORC OrderModel `hl7:"ORC"`
OBR ExamModel `hl7:"OBR"`
OBX []ReportModel `hl7:"OBX"`
}
type OrderModel ¶
type OrderModel struct {
OrderNo string `hl7:"ORC.2"`
FillerOrderNo string `hl7:"ORC.3"`
Status string `hl7:"ORC.5"`
OrderDT string `hl7:"ORC.9"`
OrderingProvider XCN `hl7:"ORC.12"`
}
func (*OrderModel) ToEntity ¶
func (o *OrderModel) ToEntity() entity.Order
type PL ¶
type PL struct {
PointOfCare string `hl7:"1"`
Room string `hl7:"2"`
Bed string `hl7:"3"`
Facility string `hl7:"4"`
LocationStatus string `hl7:"5"`
PersonLocationType string `hl7:"6"`
Building string `hl7:"7"`
Floor string `hl7:"8"`
LocationDescription string `hl7:"9"`
}
Person Location
type PatientModel ¶
type PatientModel struct {
MRN CX `hl7:"PID.3"`
Name XPN `hl7:"PID.5"`
DOB string `hl7:"PID.7"`
Sex string `hl7:"PID.8"`
SSN string `hl7:"PID.19"`
}
func (*PatientModel) ToEntity ¶
func (p *PatientModel) ToEntity() entity.Patient
type ReportModel ¶
type VisitModel ¶
type XAD ¶
type XAD struct {
StreetAddress string `hl7:"1"`
OtherDesignation string `hl7:"2"`
City string `hl7:"3"`
State string `hl7:"4"`
Zip string `hl7:"5"`
Country string `hl7:"6"`
}
Extended Address
Click to show internal directories.
Click to hide internal directories.