Class: TencentCloud::Mrs::V20200910::PatientInfo

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20200910/models.rb

Overview

患者信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, sex = nil, age = nil, phone = nil, address = nil, idcard = nil, healthcardno = nil, socialsecuritycardno = nil, birthday = nil, ethnicity = nil, married = nil, profession = nil, educationbackground = nil, nationality = nil, birthplace = nil, medicalinsurancetype = nil, agenorm = nil, nation = nil, marriedcode = nil, professioncode = nil, medicalinsurancetypecode = nil, bedno = nil) ⇒ PatientInfo



8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
# File 'lib/v20200910/models.rb', line 8591

def initialize(name=nil, sex=nil, age=nil, phone=nil, address=nil, idcard=nil, healthcardno=nil, socialsecuritycardno=nil, birthday=nil, ethnicity=nil, married=nil, profession=nil, educationbackground=nil, nationality=nil, birthplace=nil, medicalinsurancetype=nil, agenorm=nil, nation=nil, marriedcode=nil, professioncode=nil, medicalinsurancetypecode=nil, bedno=nil)
  @Name = name
  @Sex = sex
  @Age = age
  @Phone = phone
  @Address = address
  @IdCard = idcard
  @HealthCardNo = healthcardno
  @SocialSecurityCardNo = socialsecuritycardno
  @Birthday = birthday
  @Ethnicity = ethnicity
  @Married = married
  @Profession = profession
  @EducationBackground = educationbackground
  @Nationality = nationality
  @BirthPlace = birthplace
  @MedicalInsuranceType = medicalinsurancetype
  @AgeNorm = agenorm
  @Nation = nation
  @MarriedCode = marriedcode
  @ProfessionCode = professioncode
  @MedicalInsuranceTypeCode = medicalinsurancetypecode
  @BedNo = bedno
end

Instance Attribute Details

#AddressObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def Address
  @Address
end

#AgeObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def Age
  @Age
end

#AgeNormObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def AgeNorm
  @AgeNorm
end

#BedNoObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def BedNo
  @BedNo
end

#BirthdayObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def Birthday
  @Birthday
end

#BirthPlaceObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def BirthPlace
  @BirthPlace
end

#EducationBackgroundObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def EducationBackground
  @EducationBackground
end

#EthnicityObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def Ethnicity
  @Ethnicity
end

#HealthCardNoObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def HealthCardNo
  @HealthCardNo
end

#IdCardObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def IdCard
  @IdCard
end

#MarriedObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def Married
  @Married
end

#MarriedCodeObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def MarriedCode
  @MarriedCode
end

#MedicalInsuranceTypeObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def MedicalInsuranceType
  @MedicalInsuranceType
end

#MedicalInsuranceTypeCodeObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def MedicalInsuranceTypeCode
  @MedicalInsuranceTypeCode
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def Name
  @Name
end

#NationObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def Nation
  @Nation
end

#NationalityObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def Nationality
  @Nationality
end

#PhoneObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def Phone
  @Phone
end

#ProfessionObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def Profession
  @Profession
end

#ProfessionCodeObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def ProfessionCode
  @ProfessionCode
end

#SexObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def Sex
  @Sex
end

#SocialSecurityCardNoObject

注意:此字段可能返回 null,表示取不到有效值。



8586
8587
8588
# File 'lib/v20200910/models.rb', line 8586

def SocialSecurityCardNo
  @SocialSecurityCardNo
end

Instance Method Details

#deserialize(params) ⇒ Object



8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
# File 'lib/v20200910/models.rb', line 8616

def deserialize(params)
  @Name = params['Name']
  @Sex = params['Sex']
  @Age = params['Age']
  @Phone = params['Phone']
  @Address = params['Address']
  @IdCard = params['IdCard']
  @HealthCardNo = params['HealthCardNo']
  @SocialSecurityCardNo = params['SocialSecurityCardNo']
  @Birthday = params['Birthday']
  @Ethnicity = params['Ethnicity']
  @Married = params['Married']
  @Profession = params['Profession']
  @EducationBackground = params['EducationBackground']
  @Nationality = params['Nationality']
  @BirthPlace = params['BirthPlace']
  @MedicalInsuranceType = params['MedicalInsuranceType']
  @AgeNorm = params['AgeNorm']
  @Nation = params['Nation']
  @MarriedCode = params['MarriedCode']
  @ProfessionCode = params['ProfessionCode']
  @MedicalInsuranceTypeCode = params['MedicalInsuranceTypeCode']
  @BedNo = params['BedNo']
end