Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DcmDataset ¶
type DcmDataset struct { PatientName string PatientID string Modality string SOPInstanceUID string Rows string Columns string WindowWidth string WindowCenter string PixelData string // PixelWidth string // PixelHeight string BitsAllocated string BitsStored string HighBit string PhotometricInterpretation string SamplesPerPixel string PixelRepresentation string NumberOfFrames string RescaleIntercept string RescaleSlope string }
DcmDataset contains all the dicom elements
type MetaInfo ¶
type MetaInfo struct { FileMetaInformationGroupLength string FileMetaInformationVersion string MediaStorageSOPClassUID string MediaStorageSOPInstanceUID string TransferSyntaxUID string ImplementationClassUID string ImplementationVersionName string SourceApplicationEntityTitle string SendingApplicationEntityTitle string ReceivingApplicationEntityTitle string PrivateInformationCreatorUID string PrivateInformation string }
MetaInfo contains the dicom meta tags
type Patient ¶
type Patient struct { ID int64 `orm:"pk;auto;column(id)"` dcmmodel.Patient Created time.Time `orm:"auto_now_add;type(datetime)"` Updated time.Time `orm:"auto_now;type(datetime)"` Study []Study `orm:"-"` }
func GetPatients ¶
func GetPatients() []Patient
type Series ¶
type Slice ¶
type Slice struct { ID int64 `orm:"pk;auto;column(id)"` dcmmodel.Slice SeriesUID int64 `orm:"column(seriesuid)"` Filepath string Created time.Time `orm:"auto_now_add;type(datetime)"` Updated time.Time `orm:"auto_now;type(datetime)"` }
func (Slice) UpdateFilepathBySOP ¶
type Study ¶
type Study struct { ID int64 `orm:"pk;auto;column(id)"` dcmmodel.Study PatientUID int64 `orm:"column(patientuid)"` Created time.Time `orm:"auto_now_add;type(datetime)"` Updated time.Time `orm:"auto_now;type(datetime)"` Series []Series `orm:"-"` }
func GetStudies ¶
type UploadFile ¶
type UploadFile struct { ID int64 `orm:"pk;auto;column(id)"` Filepath string Status UploadStatus Created time.Time `orm:"auto_now_add;type(datetime)"` Updated time.Time `orm:"auto_now;type(datetime)"` }
func (*UploadFile) Insert ¶
func (f *UploadFile) Insert() error
func (*UploadFile) TableName ¶
func (f *UploadFile) TableName() string
type UploadStatus ¶
type UploadStatus int64
const ( UPLOADED UploadStatus = iota IMPORTING IMPORTED FAILED )
Click to show internal directories.
Click to hide internal directories.