Class: Renalware::Forms::Generic::Homecare::V1::PatientDetails
- Defined in:
- lib/renalware/forms/generic/homecare/v1/patient_details.rb
Constant Summary
Constants inherited from Base
Constants inherited from Base
Base::CHECKBOX, Base::EMPTY_CHECKBOX
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from Base
#borderless_table_style, #cell_with_leading_checkbox, #cell_with_trailing_checkbox, #underlined_table_style
Instance Method Details
#build ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/renalware/forms/generic/homecare/v1/patient_details.rb', line 6 def build move_down 10 font_size 10 table( [ [heading("Name"), args.patient_name], [heading("Modality"), args.modality], [heading("Date of Birth"), args.born_on], [heading("NHS Number"), args.nhs_number], [heading("Hospital no"), args.hospital_number], [heading("Address"), args.formatted_address_and_postcode] ], **table_styles(border_width: 0) ) end |