Class: HealthcarePhony::VisitDoctors
- Inherits:
-
Object
- Object
- HealthcarePhony::VisitDoctors
- Defined in:
- lib/healthcare_phony/visit_doctors.rb
Overview
Public: Creates providers associated with visit. Attending (PV1.7), Referring (PV1.8), Consulting (PV1.9), and Admitting (PV1.17)
Instance Attribute Summary collapse
-
#admitting ⇒ Object
Returns the value of attribute admitting.
-
#attending ⇒ Object
Returns the value of attribute attending.
-
#consulting ⇒ Object
Returns the value of attribute consulting.
-
#referring ⇒ Object
Returns the value of attribute referring.
Instance Method Summary collapse
-
#initialize(init_args = {}) ⇒ VisitDoctors
constructor
A new instance of VisitDoctors.
Constructor Details
#initialize(init_args = {}) ⇒ VisitDoctors
Returns a new instance of VisitDoctors.
12 13 14 15 16 17 |
# File 'lib/healthcare_phony/visit_doctors.rb', line 12 def initialize(init_args = {}) @attending = Doctor.new(init_args) @referring = Doctor.new(init_args) @consulting = Doctor.new(init_args) @admitting = Doctor.new(init_args) end |
Instance Attribute Details
#admitting ⇒ Object
Returns the value of attribute admitting.
7 8 9 |
# File 'lib/healthcare_phony/visit_doctors.rb', line 7 def admitting @admitting end |
#attending ⇒ Object
Returns the value of attribute attending.
7 8 9 |
# File 'lib/healthcare_phony/visit_doctors.rb', line 7 def attending @attending end |
#consulting ⇒ Object
Returns the value of attribute consulting.
7 8 9 |
# File 'lib/healthcare_phony/visit_doctors.rb', line 7 def consulting @consulting end |
#referring ⇒ Object
Returns the value of attribute referring.
7 8 9 |
# File 'lib/healthcare_phony/visit_doctors.rb', line 7 def referring @referring end |