Documentation
¶
Index ¶
- type CreateExamParams
- type CreateMessageParams
- type CreateMrnParams
- type CreatePatientParams
- type CreatePhysicianParams
- type CreateProcedureParams
- type CreateReportParams
- type CreateSiteParams
- type CreateVisitParams
- type DBTX
- type Exam
- type GetExamBySendingAppAccessionParams
- type GetExamBySendingAppAccessionRow
- type GetExamIDBySendingAppAccessionParams
- 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 Patient
- type Physician
- type Procedure
- type Queries
- func (q *Queries) CreateExam(ctx context.Context, arg CreateExamParams) (int64, error)
- func (q *Queries) CreateMessage(ctx context.Context, arg CreateMessageParams) (int64, error)
- func (q *Queries) CreateMrn(ctx context.Context, arg CreateMrnParams) (int64, error)
- func (q *Queries) CreatePatient(ctx context.Context, arg CreatePatientParams) (int64, error)
- func (q *Queries) CreatePhysician(ctx context.Context, arg CreatePhysicianParams) (int64, error)
- func (q *Queries) CreateProcedure(ctx context.Context, arg CreateProcedureParams) (int32, error)
- func (q *Queries) CreateReport(ctx context.Context, arg CreateReportParams) (int64, error)
- func (q *Queries) CreateSite(ctx context.Context, arg CreateSiteParams) (int32, error)
- func (q *Queries) CreateVisit(ctx context.Context, arg CreateVisitParams) (int64, 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) GetExamBySendingAppAccession(ctx context.Context, arg GetExamBySendingAppAccessionParams) (GetExamBySendingAppAccessionRow, error)
- func (q *Queries) GetExamIDBySendingAppAccession(ctx context.Context, arg GetExamIDBySendingAppAccessionParams) (int64, 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) GetProceduresForModalityUpdate(ctx context.Context, id int32) ([]Procedure, error)
- func (q *Queries) GetProceduresForSpecialtyUpdate(ctx context.Context, id int32) ([]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) UpdateProcedureModality(ctx context.Context, arg UpdateProcedureModalityParams) error
- func (q *Queries) UpdateProcedureSpecialty(ctx context.Context, arg UpdateProcedureSpecialtyParams) 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 UpdateProcedureModalityParams
- type UpdateProcedureSpecialtyParams
- 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
MessageID pgtype.Int8
SendingApp string
Priority pgtype.Text
}
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 CreatePatientParams ¶
type CreatePhysicianParams ¶
type CreateProcedureParams ¶
type CreateReportParams ¶
type CreateSiteParams ¶
type CreateVisitParams ¶
type Exam ¶
type Exam struct {
ID int64
CreatedAt pgtype.Timestamp
UpdatedAt pgtype.Timestamp
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
MessageID pgtype.Int8
SendingApp string
Priority pgtype.Text
}
type GetExamBySendingAppAccessionParams ¶ added in v0.7.0
type GetExamBySendingAppAccessionRow ¶ added in v0.7.0
type GetExamBySendingAppAccessionRow struct {
ID int64
CreatedAt pgtype.Timestamp
UpdatedAt pgtype.Timestamp
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
MessageID pgtype.Int8
SendingApp string
Priority pgtype.Text
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 GetExamIDBySendingAppAccessionParams ¶ added in v0.7.0
type GetPhysicianByNameAppCodeParams ¶ added in v0.6.0
type GetVisitByIdRow ¶
type GetVisitByIdRow struct {
ID int64
CreatedAt pgtype.Timestamp
UpdatedAt pgtype.Timestamp
SiteID pgtype.Int4
MrnID pgtype.Int8
Number string
PatientType int16
MessageID pgtype.Int8
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
SiteID pgtype.Int4
MrnID pgtype.Int8
Number string
PatientType int16
MessageID pgtype.Int8
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 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
MessageID pgtype.Int8
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateExam ¶
func (*Queries) CreateMessage ¶
func (*Queries) CreatePatient ¶
func (*Queries) CreatePhysician ¶
func (*Queries) CreateProcedure ¶
func (*Queries) CreateReport ¶
func (*Queries) CreateSite ¶
func (*Queries) CreateVisit ¶
func (*Queries) GetAllReports ¶
func (*Queries) GetExamById ¶
func (*Queries) GetExamBySendingAppAccession ¶ added in v0.7.0
func (q *Queries) GetExamBySendingAppAccession(ctx context.Context, arg GetExamBySendingAppAccessionParams) (GetExamBySendingAppAccessionRow, error)
func (*Queries) GetExamIDBySendingAppAccession ¶ added in v0.7.0
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) GetProceduresForModalityUpdate ¶ added in v0.6.12
func (*Queries) GetProceduresForSpecialtyUpdate ¶ added in v0.6.11
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) UpdateProcedureModality ¶ added in v0.6.12
func (q *Queries) UpdateProcedureModality(ctx context.Context, arg UpdateProcedureModalityParams) error
func (*Queries) UpdateProcedureSpecialty ¶ added in v0.6.11
func (q *Queries) UpdateProcedureSpecialty(ctx context.Context, arg UpdateProcedureSpecialtyParams) error
func (*Queries) UpdateVisit ¶
type UpdateExamParams ¶
type UpdateExamPrelimReportParams ¶ added in v0.5.1
type UpdatePatientParams ¶
type UpdatePhysicianParams ¶
type UpdateProcedureModalityParams ¶ added in v0.6.12
type UpdateProcedureSpecialtyParams ¶ added in v0.6.11
type UpdateVisitParams ¶
Click to show internal directories.
Click to hide internal directories.