Class: OrcaApi::PatientService::PublicInsurance

Inherits:
HealthPublicInsuranceCommon show all
Defined in:
lib/orca_api/patient_service/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)

    患者公費情報パラメータ

    • "PublicInsurance_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/public_insurance.rb', line 25

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