Class: TencentCloud::Aca::V20210323::PatientBaseInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210323/models.rb

Overview

患者信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sex = nil, height = nil, weight = nil, patientid = nil, name = nil, age = nil, birthplace = nil, liveplace = nil, birthday = nil) ⇒ PatientBaseInfo

Returns a new instance of PatientBaseInfo.



1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
# File 'lib/v20210323/models.rb', line 1125

def initialize(sex=nil, height=nil, weight=nil, patientid=nil, name=nil, age=nil, birthplace=nil, liveplace=nil, birthday=nil)
  @Sex = sex
  @Height = height
  @Weight = weight
  @PatientId = patientid
  @Name = name
  @Age = age
  @BirthPlace = birthplace
  @LivePlace = liveplace
  @BirthDay = birthday
end

Instance Attribute Details

#AgeObject

Parameters:

  • Sex:

    性别

  • Height:

    身高 单位cm

  • Weight:

    体重 单位kg

  • PatientId:

    患者ID

  • Name:

    名称

  • Age:

    年龄

  • BirthPlace:

    出生地

  • LivePlace:

    居住地

  • BirthDay:

    出生日期和年龄必须传一个



1123
1124
1125
# File 'lib/v20210323/models.rb', line 1123

def Age
  @Age
end

#BirthDayObject

Parameters:

  • Sex:

    性别

  • Height:

    身高 单位cm

  • Weight:

    体重 单位kg

  • PatientId:

    患者ID

  • Name:

    名称

  • Age:

    年龄

  • BirthPlace:

    出生地

  • LivePlace:

    居住地

  • BirthDay:

    出生日期和年龄必须传一个



1123
1124
1125
# File 'lib/v20210323/models.rb', line 1123

def BirthDay
  @BirthDay
end

#BirthPlaceObject

Parameters:

  • Sex:

    性别

  • Height:

    身高 单位cm

  • Weight:

    体重 单位kg

  • PatientId:

    患者ID

  • Name:

    名称

  • Age:

    年龄

  • BirthPlace:

    出生地

  • LivePlace:

    居住地

  • BirthDay:

    出生日期和年龄必须传一个



1123
1124
1125
# File 'lib/v20210323/models.rb', line 1123

def BirthPlace
  @BirthPlace
end

#HeightObject

Parameters:

  • Sex:

    性别

  • Height:

    身高 单位cm

  • Weight:

    体重 单位kg

  • PatientId:

    患者ID

  • Name:

    名称

  • Age:

    年龄

  • BirthPlace:

    出生地

  • LivePlace:

    居住地

  • BirthDay:

    出生日期和年龄必须传一个



1123
1124
1125
# File 'lib/v20210323/models.rb', line 1123

def Height
  @Height
end

#LivePlaceObject

Parameters:

  • Sex:

    性别

  • Height:

    身高 单位cm

  • Weight:

    体重 单位kg

  • PatientId:

    患者ID

  • Name:

    名称

  • Age:

    年龄

  • BirthPlace:

    出生地

  • LivePlace:

    居住地

  • BirthDay:

    出生日期和年龄必须传一个



1123
1124
1125
# File 'lib/v20210323/models.rb', line 1123

def LivePlace
  @LivePlace
end

#NameObject

Parameters:

  • Sex:

    性别

  • Height:

    身高 单位cm

  • Weight:

    体重 单位kg

  • PatientId:

    患者ID

  • Name:

    名称

  • Age:

    年龄

  • BirthPlace:

    出生地

  • LivePlace:

    居住地

  • BirthDay:

    出生日期和年龄必须传一个



1123
1124
1125
# File 'lib/v20210323/models.rb', line 1123

def Name
  @Name
end

#PatientIdObject

Parameters:

  • Sex:

    性别

  • Height:

    身高 单位cm

  • Weight:

    体重 单位kg

  • PatientId:

    患者ID

  • Name:

    名称

  • Age:

    年龄

  • BirthPlace:

    出生地

  • LivePlace:

    居住地

  • BirthDay:

    出生日期和年龄必须传一个



1123
1124
1125
# File 'lib/v20210323/models.rb', line 1123

def PatientId
  @PatientId
end

#SexObject

Parameters:

  • Sex:

    性别

  • Height:

    身高 单位cm

  • Weight:

    体重 单位kg

  • PatientId:

    患者ID

  • Name:

    名称

  • Age:

    年龄

  • BirthPlace:

    出生地

  • LivePlace:

    居住地

  • BirthDay:

    出生日期和年龄必须传一个



1123
1124
1125
# File 'lib/v20210323/models.rb', line 1123

def Sex
  @Sex
end

#WeightObject

Parameters:

  • Sex:

    性别

  • Height:

    身高 单位cm

  • Weight:

    体重 单位kg

  • PatientId:

    患者ID

  • Name:

    名称

  • Age:

    年龄

  • BirthPlace:

    出生地

  • LivePlace:

    居住地

  • BirthDay:

    出生日期和年龄必须传一个



1123
1124
1125
# File 'lib/v20210323/models.rb', line 1123

def Weight
  @Weight
end

Instance Method Details

#deserialize(params) ⇒ Object



1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'lib/v20210323/models.rb', line 1137

def deserialize(params)
  @Sex = params['Sex']
  @Height = params['Height']
  @Weight = params['Weight']
  @PatientId = params['PatientId']
  @Name = params['Name']
  @Age = params['Age']
  @BirthPlace = params['BirthPlace']
  @LivePlace = params['LivePlace']
  @BirthDay = params['BirthDay']
end