Class: TencentCloud::Mrs::V20200910::DischargeInfoBlock

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

Overview

出入院结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DiseaseHistoryObject

Parameters:

  • DiseaseHistory:

    疾病史

  • PersonalHistory:

    个人史

  • DrugHistory:

    药物史

  • TreatmentRecord:

    治疗相关

  • ParagraphBlock:

    文本段落

  • Page:

    数据在原PDF文件中的第几页



2625
2626
2627
# File 'lib/v20200910/models.rb', line 2625

def DiseaseHistory
  @DiseaseHistory
end

#DrugHistoryObject

Parameters:

  • DiseaseHistory:

    疾病史

  • PersonalHistory:

    个人史

  • DrugHistory:

    药物史

  • TreatmentRecord:

    治疗相关

  • ParagraphBlock:

    文本段落

  • Page:

    数据在原PDF文件中的第几页



2625
2626
2627
# File 'lib/v20200910/models.rb', line 2625

def DrugHistory
  @DrugHistory
end

#PageObject

Parameters:

  • DiseaseHistory:

    疾病史

  • PersonalHistory:

    个人史

  • DrugHistory:

    药物史

  • TreatmentRecord:

    治疗相关

  • ParagraphBlock:

    文本段落

  • Page:

    数据在原PDF文件中的第几页



2625
2626
2627
# File 'lib/v20200910/models.rb', line 2625

def Page
  @Page
end

#ParagraphBlockObject

Parameters:

  • DiseaseHistory:

    疾病史

  • PersonalHistory:

    个人史

  • DrugHistory:

    药物史

  • TreatmentRecord:

    治疗相关

  • ParagraphBlock:

    文本段落

  • Page:

    数据在原PDF文件中的第几页



2625
2626
2627
# File 'lib/v20200910/models.rb', line 2625

def ParagraphBlock
  @ParagraphBlock
end

#PersonalHistoryObject

Parameters:

  • DiseaseHistory:

    疾病史

  • PersonalHistory:

    个人史

  • DrugHistory:

    药物史

  • TreatmentRecord:

    治疗相关

  • ParagraphBlock:

    文本段落

  • Page:

    数据在原PDF文件中的第几页



2625
2626
2627
# File 'lib/v20200910/models.rb', line 2625

def PersonalHistory
  @PersonalHistory
end

#TreatmentRecordObject

Parameters:

  • DiseaseHistory:

    疾病史

  • PersonalHistory:

    个人史

  • DrugHistory:

    药物史

  • TreatmentRecord:

    治疗相关

  • ParagraphBlock:

    文本段落

  • Page:

    数据在原PDF文件中的第几页



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