Documentation
¶
Index ¶
- type CreateExamParams
- type CreateExamRow
- type CreateMessageParams
- type CreateMrnParams
- type CreateMrnRow
- type CreatePatientParams
- type CreatePatientRow
- type CreatePhysicianParams
- type CreatePhysicianRow
- type CreateProcedureParams
- type CreateProcedureRow
- type CreateReportParams
- type CreateReportRow
- type CreateSiteParams
- type CreateSiteRow
- type CreateVisitParams
- type CreateVisitRow
- type DBTX
- type Exam
- type GetExamBySiteIDAccessionParams
- type GetExamBySiteIDAccessionRow
- type GetMrnBySitePatientParams
- type GetPatientByNameSSNParams
- type GetPhysicianByNameAppCodeParams
- type GetPhysicianByNameNPIParams
- type GetProcedureBySiteIDCodeParams
- type GetReportByUniqueFieldsParams
- type GetVisitByIdRow
- type GetVisitBySiteIdNumberParams
- type GetVisitBySiteIdNumberRow
- type Message
- type Metasite
- type Mrn
- type OutsideSystem
- type Patient
- type Physician
- type Procedure
- type Queries
- func (q *Queries) CreateExam(ctx context.Context, arg CreateExamParams) (CreateExamRow, error)
- func (q *Queries) CreateMessage(ctx context.Context, arg CreateMessageParams) (Message, error)
- func (q *Queries) CreateMrn(ctx context.Context, arg CreateMrnParams) (CreateMrnRow, error)
- func (q *Queries) CreatePatient(ctx context.Context, arg CreatePatientParams) (CreatePatientRow, error)
- func (q *Queries) CreatePhysician(ctx context.Context, arg CreatePhysicianParams) (CreatePhysicianRow, error)
- func (q *Queries) CreateProcedure(ctx context.Context, arg CreateProcedureParams) (CreateProcedureRow, error)
- func (q *Queries) CreateReport(ctx context.Context, arg CreateReportParams) (CreateReportRow, error)
- func (q *Queries) CreateSite(ctx context.Context, arg CreateSiteParams) (CreateSiteRow, error)
- func (q *Queries) CreateVisit(ctx context.Context, arg CreateVisitParams) (CreateVisitRow, error)
- func (q *Queries) GetAllExams(ctx context.Context) ([]Exam, error)
- func (q *Queries) GetAllReports(ctx context.Context) ([]Report, error)
- func (q *Queries) GetExamById(ctx context.Context, id int64) (Exam, error)
- func (q *Queries) GetExamBySiteIDAccession(ctx context.Context, arg GetExamBySiteIDAccessionParams) (GetExamBySiteIDAccessionRow, error)
- func (q *Queries) GetMessageByID(ctx context.Context, id int64) (Message, error)
- func (q *Queries) GetMrnById(ctx context.Context, id int64) (Mrn, error)
- func (q *Queries) GetMrnBySitePatient(ctx context.Context, arg GetMrnBySitePatientParams) (Mrn, error)
- func (q *Queries) GetPatientById(ctx context.Context, id int64) (Patient, error)
- func (q *Queries) GetPatientByNameSSN(ctx context.Context, arg GetPatientByNameSSNParams) (Patient, error)
- func (q *Queries) GetPhysicianById(ctx context.Context, id int64) (Physician, error)
- func (q *Queries) GetPhysicianByNameAppCode(ctx context.Context, arg GetPhysicianByNameAppCodeParams) (Physician, error)
- func (q *Queries) GetPhysicianByNameNPI(ctx context.Context, arg GetPhysicianByNameNPIParams) (Physician, error)
- func (q *Queries) GetProcedureById(ctx context.Context, id int32) (Procedure, error)
- func (q *Queries) GetProcedureBySiteIDCode(ctx context.Context, arg GetProcedureBySiteIDCodeParams) (Procedure, error)
- func (q *Queries) GetReportById(ctx context.Context, id int64) (Report, error)
- func (q *Queries) GetReportByRadID(ctx context.Context, radiologistID pgtype.Int8) (Report, error)
- func (q *Queries) GetReportByUniqueFields(ctx context.Context, arg GetReportByUniqueFieldsParams) (Report, error)
- func (q *Queries) GetSiteByCode(ctx context.Context, code string) (Site, error)
- func (q *Queries) GetSiteById(ctx context.Context, id int32) (Site, error)
- func (q *Queries) GetVisitById(ctx context.Context, id int64) (GetVisitByIdRow, error)
- func (q *Queries) GetVisitBySiteIdNumber(ctx context.Context, arg GetVisitBySiteIdNumberParams) (GetVisitBySiteIdNumberRow, error)
- func (q *Queries) UpdateExam(ctx context.Context, arg UpdateExamParams) (Exam, error)
- func (q *Queries) UpdateExamAddendumReport(ctx context.Context, arg UpdateExamAddendumReportParams) (Exam, error)
- func (q *Queries) UpdateExamFinalReport(ctx context.Context, arg UpdateExamFinalReportParams) (Exam, error)
- func (q *Queries) UpdateExamPrelimReport(ctx context.Context, arg UpdateExamPrelimReportParams) (Exam, error)
- func (q *Queries) UpdatePatient(ctx context.Context, arg UpdatePatientParams) (Patient, error)
- func (q *Queries) UpdatePhysician(ctx context.Context, arg UpdatePhysicianParams) (Physician, error)
- func (q *Queries) UpdateVisit(ctx context.Context, arg UpdateVisitParams) (Visit, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Report
- type Site
- type UpdateExamAddendumReportParams
- type UpdateExamFinalReportParams
- type UpdateExamParams
- type UpdateExamPrelimReportParams
- type UpdatePatientParams
- type UpdatePhysicianParams
- type UpdateVisitParams
- type Visit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateExamParams ¶
type CreateExamParams struct {
VisitID pgtype.Int8
MrnID pgtype.Int8
SiteID pgtype.Int4
ProcedureID pgtype.Int4
OrderingPhysicianID pgtype.Int8
Accession string
CurrentStatus string
ScheduleDt pgtype.Timestamp
BeginExamDt pgtype.Timestamp
EndExamDt pgtype.Timestamp
ExamCancelledDt pgtype.Timestamp
}
type CreateExamRow ¶
type CreateExamRow struct {
ID int64
CreatedAt pgtype.Timestamp
UpdatedAt pgtype.Timestamp
OutsideSystemID pgtype.Int4
VisitID pgtype.Int8
MrnID pgtype.Int8
SiteID pgtype.Int4
ProcedureID pgtype.Int4
FinalReportID pgtype.Int8
AddendumReportID pgtype.Int8
Accession string
CurrentStatus string
ScheduleDt pgtype.Timestamp
BeginExamDt pgtype.Timestamp
EndExamDt pgtype.Timestamp
ExamCancelledDt pgtype.Timestamp
PrelimReportID pgtype.Int8
OrderingPhysicianID pgtype.Int8
}
type CreateMessageParams ¶
type CreateMessageParams struct {
FieldSeparator string
EncodingCharacters string
SendingApplication string
SendingFacility string
ReceivingApplication string
ReceivingFacility string
ReceivedAt pgtype.Timestamp
MessageType string
TriggerEvent string
ControlID string
ProcessingID string
VersionID string
}
type CreateMrnParams ¶
type CreateMrnRow ¶
type CreatePatientParams ¶
type CreatePatientRow ¶
type CreatePatientRow struct {
ID int64
CreatedAt pgtype.Timestamp
UpdatedAt pgtype.Timestamp
FirstName string
LastName string
MiddleName pgtype.Text
Suffix pgtype.Text
Prefix pgtype.Text
Degree pgtype.Text
Dob pgtype.Date
Sex string
Ssn pgtype.Text
HomePhone pgtype.Text
WorkPhone pgtype.Text
CellPhone pgtype.Text
}
type CreatePhysicianParams ¶
type CreatePhysicianRow ¶
type CreateProcedureParams ¶
type CreateProcedureRow ¶
type CreateReportParams ¶
type CreateReportRow ¶ added in v0.5.5
type CreateSiteParams ¶
type CreateSiteRow ¶
type CreateVisitParams ¶
type CreateVisitRow ¶
type Exam ¶
type Exam struct {
ID int64
CreatedAt pgtype.Timestamp
UpdatedAt pgtype.Timestamp
OutsideSystemID pgtype.Int4
VisitID pgtype.Int8
MrnID pgtype.Int8
SiteID pgtype.Int4
ProcedureID pgtype.Int4
FinalReportID pgtype.Int8
AddendumReportID pgtype.Int8
Accession string
CurrentStatus string
ScheduleDt pgtype.Timestamp
BeginExamDt pgtype.Timestamp
EndExamDt pgtype.Timestamp
ExamCancelledDt pgtype.Timestamp
PrelimReportID pgtype.Int8
OrderingPhysicianID pgtype.Int8
}
type GetExamBySiteIDAccessionRow ¶
type GetExamBySiteIDAccessionRow struct {
ID int64
CreatedAt pgtype.Timestamp
UpdatedAt pgtype.Timestamp
OutsideSystemID pgtype.Int4
VisitID pgtype.Int8
MrnID pgtype.Int8
SiteID pgtype.Int4
ProcedureID pgtype.Int4
FinalReportID pgtype.Int8
AddendumReportID pgtype.Int8
Accession string
CurrentStatus string
ScheduleDt pgtype.Timestamp
BeginExamDt pgtype.Timestamp
EndExamDt pgtype.Timestamp
ExamCancelledDt pgtype.Timestamp
PrelimReportID pgtype.Int8
OrderingPhysicianID pgtype.Int8
MrnCreatedAt pgtype.Timestamp
MrnUpdatedAt pgtype.Timestamp
MrnValue pgtype.Text
ProcedureCreatedAt pgtype.Timestamp
ProcedureUpdatedAt pgtype.Timestamp
ProcedureCode pgtype.Text
ProcedureDescription pgtype.Text
ProcedureSpecialty pgtype.Text
ProcedureModality pgtype.Text
ProviderCreatedAt pgtype.Timestamp
ProviderUpdatedAt pgtype.Timestamp
ProviderFirstName pgtype.Text
ProviderLastName pgtype.Text
ProviderMiddleName pgtype.Text
ProviderSuffix pgtype.Text
ProviderPrefix pgtype.Text
ProviderDegree pgtype.Text
ProviderNpi pgtype.Text
ProviderSpecialty pgtype.Text
SiteCreatedAt pgtype.Timestamp
SiteUpdatedAt pgtype.Timestamp
SiteCode pgtype.Text
SiteName pgtype.Text
SiteAddress pgtype.Text
SiteIsCms pgtype.Bool
}
type GetPhysicianByNameAppCodeParams ¶ added in v0.6.0
type GetVisitByIdRow ¶
type GetVisitByIdRow struct {
ID int64
CreatedAt pgtype.Timestamp
UpdatedAt pgtype.Timestamp
OutsideSystemID pgtype.Int4
SiteID pgtype.Int4
MrnID pgtype.Int8
Number string
PatientType int16
SiteCreatedAt pgtype.Timestamp
SiteUpdatedAt pgtype.Timestamp
SiteCode pgtype.Text
SiteName pgtype.Text
SiteAddress pgtype.Text
SiteIsCms pgtype.Bool
MrnCreatedAt pgtype.Timestamp
MrnUpdatedAt pgtype.Timestamp
MrnValue pgtype.Text
}
type GetVisitBySiteIdNumberRow ¶
type GetVisitBySiteIdNumberRow struct {
ID int64
CreatedAt pgtype.Timestamp
UpdatedAt pgtype.Timestamp
OutsideSystemID pgtype.Int4
SiteID pgtype.Int4
MrnID pgtype.Int8
Number string
PatientType int16
SiteCreatedAt pgtype.Timestamp
SiteUpdatedAt pgtype.Timestamp
SiteCode pgtype.Text
SiteName pgtype.Text
SiteAddress pgtype.Text
SiteIsCms pgtype.Bool
MrnCreatedAt pgtype.Timestamp
MrnUpdatedAt pgtype.Timestamp
MrnValue pgtype.Text
}
type Message ¶
type Message struct {
ID int64
CreatedAt pgtype.Timestamp
UpdatedAt pgtype.Timestamp
FieldSeparator string
EncodingCharacters string
SendingApplication string
SendingFacility string
ReceivingApplication string
ReceivingFacility string
ReceivedAt pgtype.Timestamp
MessageType string
TriggerEvent string
ControlID string
ProcessingID string
VersionID string
}
type OutsideSystem ¶
type Patient ¶
type Patient struct {
ID int64
CreatedAt pgtype.Timestamp
UpdatedAt pgtype.Timestamp
FirstName string
LastName string
MiddleName pgtype.Text
Suffix pgtype.Text
Prefix pgtype.Text
Degree pgtype.Text
Dob pgtype.Date
Sex string
Ssn pgtype.Text
HomePhone pgtype.Text
WorkPhone pgtype.Text
CellPhone pgtype.Text
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateExam ¶
func (q *Queries) CreateExam(ctx context.Context, arg CreateExamParams) (CreateExamRow, error)
func (*Queries) CreateMessage ¶
func (*Queries) CreateMrn ¶
func (q *Queries) CreateMrn(ctx context.Context, arg CreateMrnParams) (CreateMrnRow, error)
func (*Queries) CreatePatient ¶
func (q *Queries) CreatePatient(ctx context.Context, arg CreatePatientParams) (CreatePatientRow, error)
func (*Queries) CreatePhysician ¶
func (q *Queries) CreatePhysician(ctx context.Context, arg CreatePhysicianParams) (CreatePhysicianRow, error)
func (*Queries) CreateProcedure ¶
func (q *Queries) CreateProcedure(ctx context.Context, arg CreateProcedureParams) (CreateProcedureRow, error)
func (*Queries) CreateReport ¶
func (q *Queries) CreateReport(ctx context.Context, arg CreateReportParams) (CreateReportRow, error)
func (*Queries) CreateSite ¶
func (q *Queries) CreateSite(ctx context.Context, arg CreateSiteParams) (CreateSiteRow, error)
func (*Queries) CreateVisit ¶
func (q *Queries) CreateVisit(ctx context.Context, arg CreateVisitParams) (CreateVisitRow, error)
func (*Queries) GetAllReports ¶
func (*Queries) GetExamById ¶
func (*Queries) GetExamBySiteIDAccession ¶
func (q *Queries) GetExamBySiteIDAccession(ctx context.Context, arg GetExamBySiteIDAccessionParams) (GetExamBySiteIDAccessionRow, error)
func (*Queries) GetMessageByID ¶
func (*Queries) GetMrnById ¶
func (*Queries) GetMrnBySitePatient ¶
func (*Queries) GetPatientById ¶
func (*Queries) GetPatientByNameSSN ¶
func (*Queries) GetPhysicianById ¶
func (*Queries) GetPhysicianByNameAppCode ¶ added in v0.6.0
func (*Queries) GetPhysicianByNameNPI ¶
func (*Queries) GetProcedureById ¶
func (*Queries) GetProcedureBySiteIDCode ¶
func (*Queries) GetReportById ¶
func (*Queries) GetReportByRadID ¶ added in v0.6.0
func (*Queries) GetReportByUniqueFields ¶
func (*Queries) GetSiteByCode ¶
func (*Queries) GetSiteById ¶
func (*Queries) GetVisitById ¶
func (*Queries) GetVisitBySiteIdNumber ¶
func (q *Queries) GetVisitBySiteIdNumber(ctx context.Context, arg GetVisitBySiteIdNumberParams) (GetVisitBySiteIdNumberRow, error)
func (*Queries) UpdateExam ¶
func (*Queries) UpdateExamAddendumReport ¶
func (*Queries) UpdateExamFinalReport ¶
func (*Queries) UpdateExamPrelimReport ¶ added in v0.5.1
func (*Queries) UpdatePatient ¶
func (*Queries) UpdatePhysician ¶
func (*Queries) UpdateVisit ¶
type UpdateExamParams ¶
type UpdateExamPrelimReportParams ¶ added in v0.5.1
type UpdatePatientParams ¶
type UpdatePhysicianParams ¶
type UpdateVisitParams ¶
Click to show internal directories.
Click to hide internal directories.