Class: TencentCloud::Mrs::V20200910::DischargeInfoBlock
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::DischargeInfoBlock
- Defined in:
- lib/v20200910/models.rb
Overview
出入院结构体
Instance Attribute Summary collapse
- #DiseaseHistory ⇒ Object
- #DrugHistory ⇒ Object
- #Page ⇒ Object
- #ParagraphBlock ⇒ Object
- #PersonalHistory ⇒ Object
- #TreatmentRecord ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(diseasehistory = nil, personalhistory = nil, drughistory = nil, treatmentrecord = nil, paragraphblock = nil, page = nil) ⇒ DischargeInfoBlock
constructor
A new instance of DischargeInfoBlock.
Constructor Details
#initialize(diseasehistory = nil, personalhistory = nil, drughistory = nil, treatmentrecord = nil, paragraphblock = nil, page = nil) ⇒ DischargeInfoBlock
Returns a new instance of DischargeInfoBlock.
2627 2628 2629 2630 2631 2632 2633 2634 |
# File 'lib/v20200910/models.rb', line 2627 def initialize(diseasehistory=nil, personalhistory=nil, drughistory=nil, treatmentrecord=nil, paragraphblock=nil, page=nil) @DiseaseHistory = diseasehistory @PersonalHistory = personalhistory @DrugHistory = drughistory @TreatmentRecord = treatmentrecord @ParagraphBlock = paragraphblock @Page = page end |
Instance Attribute Details
#DiseaseHistory ⇒ Object
2625 2626 2627 |
# File 'lib/v20200910/models.rb', line 2625 def DiseaseHistory @DiseaseHistory end |
#DrugHistory ⇒ Object
2625 2626 2627 |
# File 'lib/v20200910/models.rb', line 2625 def DrugHistory @DrugHistory end |
#Page ⇒ Object
2625 2626 2627 |
# File 'lib/v20200910/models.rb', line 2625 def Page @Page end |
#ParagraphBlock ⇒ Object
2625 2626 2627 |
# File 'lib/v20200910/models.rb', line 2625 def ParagraphBlock @ParagraphBlock end |
#PersonalHistory ⇒ Object
2625 2626 2627 |
# File 'lib/v20200910/models.rb', line 2625 def PersonalHistory @PersonalHistory end |
#TreatmentRecord ⇒ Object
2625 2626 2627 |
# File 'lib/v20200910/models.rb', line 2625 def TreatmentRecord @TreatmentRecord end |
Instance Method Details
#deserialize(params) ⇒ Object
2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'lib/v20200910/models.rb', line 2636 def deserialize(params) unless params['DiseaseHistory'].nil? @DiseaseHistory = DiseaseHistoryBlock.new @DiseaseHistory.deserialize(params['DiseaseHistory']) end unless params['PersonalHistory'].nil? @PersonalHistory = PersonalHistoryBlock.new @PersonalHistory.deserialize(params['PersonalHistory']) end unless params['DrugHistory'].nil? @DrugHistory = DrugHistoryBlock.new @DrugHistory.deserialize(params['DrugHistory']) end unless params['TreatmentRecord'].nil? @TreatmentRecord = TreatmentRecordBlock.new @TreatmentRecord.deserialize(params['TreatmentRecord']) end unless params['ParagraphBlock'].nil? @ParagraphBlock = ParagraphBlock.new @ParagraphBlock.deserialize(params['ParagraphBlock']) end @Page = params['Page'] end |