Class: TencentCloud::Mrs::V20200910::DiseaseMedicalHistory
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::DiseaseMedicalHistory
- Defined in:
- lib/v20200910/models.rb
Overview
疾病史
Instance Attribute Summary collapse
- #AllergyHistory ⇒ Object
- #InfectHistory ⇒ Object
- #MainDiseaseHistory ⇒ Object
- #OperationHistory ⇒ Object
- #TransfusionHistory ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(maindiseasehistory = nil, allergyhistory = nil, infecthistory = nil, operationhistory = nil, transfusionhistory = nil) ⇒ DiseaseMedicalHistory
constructor
A new instance of DiseaseMedicalHistory.
Constructor Details
#initialize(maindiseasehistory = nil, allergyhistory = nil, infecthistory = nil, operationhistory = nil, transfusionhistory = nil) ⇒ DiseaseMedicalHistory
Returns a new instance of DiseaseMedicalHistory.
2723 2724 2725 2726 2727 2728 2729 |
# File 'lib/v20200910/models.rb', line 2723 def initialize(maindiseasehistory=nil, allergyhistory=nil, infecthistory=nil, operationhistory=nil, transfusionhistory=nil) @MainDiseaseHistory = maindiseasehistory @AllergyHistory = allergyhistory @InfectHistory = infecthistory @OperationHistory = operationhistory @TransfusionHistory = transfusionhistory end |
Instance Attribute Details
#AllergyHistory ⇒ Object
2721 2722 2723 |
# File 'lib/v20200910/models.rb', line 2721 def AllergyHistory @AllergyHistory end |
#InfectHistory ⇒ Object
2721 2722 2723 |
# File 'lib/v20200910/models.rb', line 2721 def InfectHistory @InfectHistory end |
#MainDiseaseHistory ⇒ Object
2721 2722 2723 |
# File 'lib/v20200910/models.rb', line 2721 def MainDiseaseHistory @MainDiseaseHistory end |
#OperationHistory ⇒ Object
2721 2722 2723 |
# File 'lib/v20200910/models.rb', line 2721 def OperationHistory @OperationHistory end |
#TransfusionHistory ⇒ Object
2721 2722 2723 |
# File 'lib/v20200910/models.rb', line 2721 def TransfusionHistory @TransfusionHistory end |
Instance Method Details
#deserialize(params) ⇒ Object
2731 2732 2733 2734 2735 2736 2737 |
# File 'lib/v20200910/models.rb', line 2731 def deserialize(params) @MainDiseaseHistory = params['MainDiseaseHistory'] @AllergyHistory = params['AllergyHistory'] @InfectHistory = params['InfectHistory'] @OperationHistory = params['OperationHistory'] @TransfusionHistory = params['TransfusionHistory'] end |