Class: Dcm4chee::TrashedStudy
- Inherits:
-
Object
- Object
- Dcm4chee::TrashedStudy
- Includes:
- DataMapper::Resource, DataMapper::Searcher, HasDicomObject
- Defined in:
- app/models/dcm4chee/trashed_study.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#accession_no ⇒ String
DICOM Accesion NO(0008,0050).
-
#id ⇒ Integer
Primary key.
- #remove_from_trash ⇒ Object
- #restore_from_trash ⇒ Object
-
#study_iuid ⇒ String
DICOM Study Instance UID(0020,000D).
-
#trashed_patient_id ⇒ Integer
Foreign key of Patient.
Methods included from HasDicomObject
Class Method Details
Instance Method Details
#accession_no ⇒ String
Returns DICOM Accesion NO(0008,0050).
21 |
# File 'app/models/dcm4chee/trashed_study.rb', line 21 property :accession_no, String, field: 'accession_no' |
#id ⇒ Integer
Returns primary key.
12 |
# File 'app/models/dcm4chee/trashed_study.rb', line 12 property :id, Serial, field: 'pk' |
#remove_from_trash ⇒ Object
32 33 34 |
# File 'app/models/dcm4chee/trashed_study.rb', line 32 def remove_from_trash Dcm4chee.content_edit_service.delete_study(id) end |
#restore_from_trash ⇒ Object
28 29 30 |
# File 'app/models/dcm4chee/trashed_study.rb', line 28 def restore_from_trash Dcm4chee.content_edit_service.undelete_study(id) end |
#study_iuid ⇒ String
Returns DICOM Study Instance UID(0020,000D).
18 |
# File 'app/models/dcm4chee/trashed_study.rb', line 18 property :study_iuid, Text, field: 'study_iuid' |
#trashed_patient_id ⇒ Integer
Returns foreign key of Patient.
15 |
# File 'app/models/dcm4chee/trashed_study.rb', line 15 property :trashed_patient_id, Integer, field: 'patient_fk' |