Class: OrcaApi::PatientService::HealthInsurance

Inherits:
HealthPublicInsuranceCommon show all
Defined in:
lib/orca_api/patient_service/health_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_Info" (Array[Hash]) 患者保険情報
    • "Patient_Select_Information" (Array[Hash]) 確認メッセージ

See Also:



25
26
27
28
29
30
31
32
33
34
35
# File 'lib/orca_api/patient_service/health_insurance.rb', line 25

def update(id, args)
  super(
    id,
    {
      "HealthInsurance_Information" => {
        "HealthInsurance_Info" => Array(args["HealthInsurance_Info"])
      },
      "Patient_Select_Information" => Array(args["Patient_Select_Information"])
    }
  )
end