Class: TencentCloud::Aca::V20210323::Abnormals

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

Overview

异常提醒

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, title = nil, abnormalreason = nil) ⇒ Abnormals

Returns a new instance of Abnormals.



31
32
33
34
35
# File 'lib/v20210323/models.rb', line 31

def initialize(type=nil, title=nil, abnormalreason=nil)
  @Type = type
  @Title = title
  @AbnormalReason = abnormalreason
end

Instance Attribute Details

#AbnormalReasonObject

Parameters:

  • Type:

    类型

  • Title:

    标题

  • AbnormalReason:

    异常原因 PatientInfo 病人信息缺失;OrderInfo 医嘱信息缺失; PrescriptionError 处方异常提醒



29
30
31
# File 'lib/v20210323/models.rb', line 29

def AbnormalReason
  @AbnormalReason
end

#TitleObject

Parameters:

  • Type:

    类型

  • Title:

    标题

  • AbnormalReason:

    异常原因 PatientInfo 病人信息缺失;OrderInfo 医嘱信息缺失; PrescriptionError 处方异常提醒



29
30
31
# File 'lib/v20210323/models.rb', line 29

def Title
  @Title
end

#TypeObject

Parameters:

  • Type:

    类型

  • Title:

    标题

  • AbnormalReason:

    异常原因 PatientInfo 病人信息缺失;OrderInfo 医嘱信息缺失; PrescriptionError 处方异常提醒



29
30
31
# File 'lib/v20210323/models.rb', line 29

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



37
38
39
40
41
# File 'lib/v20210323/models.rb', line 37

def deserialize(params)
  @Type = params['Type']
  @Title = params['Title']
  @AbnormalReason = params['AbnormalReason']
end