Class: OrcaApi::DepartmentService
- Defined in:
- lib/orca_api/department_service.rb
Overview
診療科コードを扱うサービスを表現したクラス
Instance Attribute Summary
Attributes inherited from Service
Instance Method Summary collapse
-
#list(base_date = "") ⇒ OrcaApi::Result
診療科コード一覧の取得.
Methods inherited from Service
Constructor Details
This class inherits a constructor from OrcaApi::Service
Constructor Details
This class inherits a constructor from OrcaApi::Service
Instance Method Details
#list(base_date = "") ⇒ OrcaApi::Result
診療科コード一覧の取得
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/orca_api/department_service.rb', line 15 def list(base_date = "") api_path = "/api01rv2/system01lstv2" req_name = "system01_managereq" body = { req_name => { "Request_Number" => "01", "Base_Date" => base_date, } } Result.new(orca_api.call(api_path, body: body)) end |