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