Class: Dcm4chee::Patient
- Inherits:
-
Object
- Object
- Dcm4chee::Patient
- Includes:
- DataMapper::Resource, DataMapper::Searcher, HasDicomObject
- Defined in:
- app/models/dcm4chee/patient.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#birthday ⇒ String
Birthday.
-
#gender ⇒ String
Gender.
-
#id ⇒ Integer
Primary key.
- #move_to_trash ⇒ Object
-
#name ⇒ String
Patient name.
-
#pat_attrs ⇒ String
DICOM attributes.
-
#pid ⇒ Integer
ID of the patient.
-
#pid_issuer ⇒ String
Issuer of the patient id.
Methods included from HasDicomObject
Class Method Details
Instance Method Details
#birthday ⇒ String
Returns birthday.
24 |
# File 'app/models/dcm4chee/patient.rb', line 24 property :birthday, String, field: 'pat_birthdate' |
#gender ⇒ String
Returns gender.
27 |
# File 'app/models/dcm4chee/patient.rb', line 27 property :gender, String, field: 'pat_sex' |
#id ⇒ Integer
Returns primary key.
12 |
# File 'app/models/dcm4chee/patient.rb', line 12 property :id, Serial, field: 'pk' |
#move_to_trash ⇒ Object
34 35 36 |
# File 'app/models/dcm4chee/patient.rb', line 34 def move_to_trash Dcm4chee.content_edit_service.move_patient_to_trash(id) end |
#name ⇒ String
Returns patient name.
21 |
# File 'app/models/dcm4chee/patient.rb', line 21 property :name, String, field: 'pat_name' |
#pat_attrs ⇒ String
Returns DICOM attributes.
30 |
# File 'app/models/dcm4chee/patient.rb', line 30 dicom_field 'pat_attrs' |
#pid ⇒ Integer
Returns ID of the patient.
15 |
# File 'app/models/dcm4chee/patient.rb', line 15 property :pid, String, field: 'pat_id' |
#pid_issuer ⇒ String
Returns Issuer of the patient id.
18 |
# File 'app/models/dcm4chee/patient.rb', line 18 property :pid_issuer, String, field: 'pat_id_issuer' |