Class: OrcaApi::PatientService::HealthPublicInsurance

Inherits:
HealthPublicInsuranceCommon show all
Defined in:
lib/orca_api/patient_service/health_public_insurance.rb

Overview

患者保険・公費情報を扱うサービス

Instance Attribute Summary

Attributes inherited from Service

#orca_api

Instance Method Summary collapse

Methods inherited from HealthPublicInsuranceCommon

#fetch, #get

Methods inherited from Service

#initialize, reuse_session

Constructor Details

This class inherits a constructor from OrcaApi::Service

Constructor Details

This class inherits a constructor from OrcaApi::Service

Instance Method Details

#update(id, args) ⇒ Object

患者保険・公費情報を更新する

Parameters:

  • id (String)

    患者ID

  • args (Hash)

    患者保険情報パラメータ

    • "HealthInsurance_Information" (Hash) 患者保険情報
    • "PublicInsurance_Information" (Hash) 患者公費情報
    • "Patient_Select_Information" (Array[Hash]) 確認メッセージ

See Also:



33
34
35
36
37
38
# File 'lib/orca_api/patient_service/health_public_insurance.rb', line 33

def update(id, args)
  super(
    id,
    args.select { |key, _| OPTION_KEYS.include? key }
  )
end