class TencentCloud::Mrs::V20200910::DiseaseHistoryBlock
疾病史
def deserialize(params)
def deserialize(params) unless params['MainDiseaseHistory'].nil? @MainDiseaseHistory = MainDiseaseHistoryBlock.new @MainDiseaseHistory.deserialize(params['MainDiseaseHistory']) end unless params['AllergyHistory'].nil? @AllergyHistory = MainDiseaseHistoryBlock.new @AllergyHistory.deserialize(params['AllergyHistory']) end unless params['InfectHistory'].nil? @InfectHistory = MainDiseaseHistoryBlock.new @InfectHistory.deserialize(params['InfectHistory']) end unless params['SurgeryHistory'].nil? @SurgeryHistory = SurgeryHistoryBlock.new @SurgeryHistory.deserialize(params['SurgeryHistory']) end unless params['TransfusionHistory'].nil? @TransfusionHistory = TransfusionHistoryBlock.new @TransfusionHistory.deserialize(params['TransfusionHistory']) end end
def initialize(maindiseasehistory=nil, allergyhistory=nil, infecthistory=nil, surgeryhistory=nil, transfusionhistory=nil)
def initialize(maindiseasehistory=nil, allergyhistory=nil, infecthistory=nil, surgeryhistory=nil, transfusionhistory=nil) @MainDiseaseHistory = maindiseasehistory @AllergyHistory = allergyhistory @InfectHistory = infecthistory @SurgeryHistory = surgeryhistory @TransfusionHistory = transfusionhistory end