candidhealth 1.14.3 → 1.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/lib/candid/client.rb +9 -4
  3. data/lib/candid/commons/types/bad_request_error_message.rb +11 -0
  4. data/lib/candid/commons/types/claim_adjustment_group_codes.rb +22 -0
  5. data/lib/candid/commons/types/internal_error_message.rb +11 -0
  6. data/lib/candid/commons/types/procedure_modifier.rb +1 -0
  7. data/lib/candid/contracts/client.rb +5 -0
  8. data/lib/candid/contracts/v_2/client.rb +4 -0
  9. data/lib/candid/contracts/v_3/client.rb +176 -0
  10. data/lib/candid/contracts/v_3/types/contract.rb +18 -0
  11. data/lib/candid/contracts/v_3/types/contract_base.rb +28 -0
  12. data/lib/candid/contracts/v_3/types/contract_create.rb +15 -0
  13. data/lib/candid/contracts/v_3/types/contract_create_union.rb +18 -0
  14. data/lib/candid/contracts/v_3/types/contract_service_facility.rb +14 -0
  15. data/lib/candid/contracts/v_3/types/contract_service_facility_base.rb +14 -0
  16. data/lib/candid/contracts/v_3/types/contract_service_facility_create.rb +15 -0
  17. data/lib/candid/contracts/v_3/types/contract_service_facility_update.rb +16 -0
  18. data/lib/candid/contracts/v_3/types/contract_type.rb +16 -0
  19. data/lib/candid/contracts/v_3/types/contract_union.rb +18 -0
  20. data/lib/candid/contracts/v_3/types/contract_update.rb +28 -0
  21. data/lib/candid/contracts/v_3/types/contract_update_union.rb +18 -0
  22. data/lib/candid/contracts/v_3/types/contract_with_providers_union.rb +18 -0
  23. data/lib/candid/contracts/v_3/types/contracts_page.rb +15 -0
  24. data/lib/candid/contracts/v_3/types/get_multi_contracts_request.rb +22 -0
  25. data/lib/candid/contracts/v_3/types/institutional_contract.rb +15 -0
  26. data/lib/candid/contracts/v_3/types/institutional_contract_create.rb +15 -0
  27. data/lib/candid/contracts/v_3/types/institutional_contract_update.rb +13 -0
  28. data/lib/candid/contracts/v_3/types/professional_contract.rb +13 -0
  29. data/lib/candid/contracts/v_3/types/professional_contract_create.rb +13 -0
  30. data/lib/candid/contracts/v_3/types/professional_contract_update.rb +13 -0
  31. data/lib/candid/encounter_providers/v_2/types/billing_provider.rb +3 -0
  32. data/lib/candid/encounter_providers/v_2/types/billing_provider_update.rb +3 -0
  33. data/lib/candid/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +3 -0
  34. data/lib/candid/encounter_providers/v_2/types/encounter_provider.rb +3 -0
  35. data/lib/candid/encounter_providers/v_2/types/provider_secondary_identification.rb +13 -0
  36. data/lib/candid/encounter_providers/v_2/types/rendering_provider.rb +3 -0
  37. data/lib/candid/encounter_providers/v_2/types/rendering_provider_update.rb +3 -0
  38. data/lib/candid/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb +3 -0
  39. data/lib/candid/encounters/v_4/client.rb +15 -0
  40. data/lib/candid/encounters/v_4/types/encounter.rb +3 -0
  41. data/lib/candid/encounters_universal/types/universal_encounter_create_base.rb +3 -0
  42. data/lib/candid/encounters_universal/types/universal_encounter_create_from_pre_encounter_base.rb +3 -0
  43. data/lib/candid/encounters_universal/types/universal_encounter_update_base.rb +3 -0
  44. data/lib/candid/{insurance_payments → events}/client.rb +3 -3
  45. data/lib/candid/{insurance_payments → events}/v_1/client.rb +11 -15
  46. data/lib/candid/events/v_1/types/event.rb +18 -0
  47. data/lib/candid/events/v_1/types/event_scan_page.rb +16 -0
  48. data/lib/candid/events/v_1/types/get_event_scan_request.rb +17 -0
  49. data/lib/candid/fee_schedules/v_3/client.rb +9 -1
  50. data/lib/candid/fee_schedules/v_3/types/payer_threshold.rb +6 -1
  51. data/lib/candid/insurance_adjudications/client.rb +17 -0
  52. data/lib/candid/insurance_adjudications/v_1/client.rb +37 -0
  53. data/lib/candid/insurance_adjudications/v_1/types/claim_adjudication.rb +23 -0
  54. data/lib/candid/insurance_adjudications/v_1/types/insurance_adjudication.rb +21 -0
  55. data/lib/candid/insurance_adjudications/v_1/types/service_line_adjudication.rb +27 -0
  56. data/lib/candid/patient_ar/v_1/client.rb +0 -4
  57. data/lib/candid/patient_payments/v_4/types/card_payment_method.rb +11 -0
  58. data/lib/candid/patient_payments/v_4/types/cash_payment_method.rb +11 -0
  59. data/lib/candid/patient_payments/v_4/types/check_payment_method.rb +13 -0
  60. data/lib/candid/patient_payments/v_4/types/patient_payment.rb +3 -0
  61. data/lib/candid/patient_payments/v_4/types/payment_method.rb +19 -0
  62. data/lib/candid/patient_payments/v_4/types/payment_method_detail.rb +18 -0
  63. data/lib/candid/pre_encounter/eligibility_checks/v_1/types/eligibility_request.rb +2 -0
  64. data/lib/candid/related_causes_information/v_1/types/related_causes_code.rb +20 -0
  65. data/lib/candid/related_causes_information/v_1/types/related_causes_information.rb +19 -0
  66. data/lib/candid/related_causes_information/v_1/types/related_causes_information_create.rb +11 -0
  67. data/lib/candid/related_causes_information/v_1/types/related_causes_information_update.rb +11 -0
  68. data/lib/candid/service_lines/v_2/types/service_line.rb +1 -0
  69. data/lib/candid/service_lines/v_2/types/service_line_create_base_base.rb +1 -0
  70. data/lib/candid/service_lines/v_2/types/service_line_create_optional.rb +1 -0
  71. data/lib/candid/service_lines/v_2/types/service_line_create_standalone.rb +1 -0
  72. data/lib/candid/service_lines/v_2/types/service_line_update_base.rb +1 -0
  73. data/lib/candid/service_lines/v_2/types/universal_service_line_create_standalone.rb +1 -0
  74. data/lib/candid/version.rb +1 -1
  75. data/lib/candid/x_12/v_1/types/carc.rb +418 -0
  76. data/lib/candid/x_12/v_1/types/claim_adjustment_reason_code.rb +15 -0
  77. data/lib/candid/x_12/v_1/types/rarc.rb +1201 -0
  78. data/lib/candid/x_12/v_1/types/remittance_advice_remark_code.rb +13 -0
  79. data/lib/candid.rb +50 -7
  80. data/reference.md +627 -121
  81. metadata +50 -7
  82. data/lib/candid/insurance_payments/v_1/types/get_multi_insurance_payment_request.rb +0 -22
  83. data/lib/candid/insurance_payments/v_1/types/insurance_payment.rb +0 -20
  84. data/lib/candid/insurance_payments/v_1/types/insurance_payment_sort_field.rb +0 -17
  85. data/lib/candid/insurance_payments/v_1/types/insurance_payments_page.rb +0 -15
data/reference.md CHANGED
@@ -1442,6 +1442,20 @@ If false, the change will be marked as unresolved.
1442
1442
  <dl>
1443
1443
  <dd>
1444
1444
 
1445
+ #### 📝 Description
1446
+
1447
+ <dl>
1448
+ <dd>
1449
+
1450
+ <dl>
1451
+ <dd>
1452
+
1453
+ This API provides access to Professional Contracts. For Professional and Institutional Contracts use Contracts V3.
1454
+ </dd>
1455
+ </dl>
1456
+ </dd>
1457
+ </dl>
1458
+
1445
1459
  #### 🔌 Usage
1446
1460
 
1447
1461
  <dl>
@@ -1482,6 +1496,20 @@ client.contracts.v_2.get();
1482
1496
  <dl>
1483
1497
  <dd>
1484
1498
 
1499
+ #### 📝 Description
1500
+
1501
+ <dl>
1502
+ <dd>
1503
+
1504
+ <dl>
1505
+ <dd>
1506
+
1507
+ This API provides access to Professional Contracts. For Professional and Institutional Contracts use Contracts V3.
1508
+ </dd>
1509
+ </dl>
1510
+ </dd>
1511
+ </dl>
1512
+
1485
1513
  #### 🔌 Usage
1486
1514
 
1487
1515
  <dl>
@@ -1820,6 +1848,412 @@ value, overriding what was set before.
1820
1848
  </dl>
1821
1849
 
1822
1850
 
1851
+ </dd>
1852
+ </dl>
1853
+ </details>
1854
+
1855
+ ## Contracts V3
1856
+ <details><summary><code>client.contracts.v_3.get(contract_id) -> Candid::Contracts::V3::Types::ContractWithProvidersUnion</code></summary>
1857
+ <dl>
1858
+ <dd>
1859
+
1860
+ #### 🔌 Usage
1861
+
1862
+ <dl>
1863
+ <dd>
1864
+
1865
+ <dl>
1866
+ <dd>
1867
+
1868
+ ```ruby
1869
+ client.contracts.v_3.get();
1870
+ ```
1871
+ </dd>
1872
+ </dl>
1873
+ </dd>
1874
+ </dl>
1875
+
1876
+ #### ⚙️ Parameters
1877
+
1878
+ <dl>
1879
+ <dd>
1880
+
1881
+ <dl>
1882
+ <dd>
1883
+
1884
+ **contract_id:** `String`
1885
+
1886
+ </dd>
1887
+ </dl>
1888
+ </dd>
1889
+ </dl>
1890
+
1891
+
1892
+ </dd>
1893
+ </dl>
1894
+ </details>
1895
+
1896
+ <details><summary><code>client.contracts.v_3.get_multi() -> Candid::Contracts::V3::Types::ContractsPage</code></summary>
1897
+ <dl>
1898
+ <dd>
1899
+
1900
+ #### 🔌 Usage
1901
+
1902
+ <dl>
1903
+ <dd>
1904
+
1905
+ <dl>
1906
+ <dd>
1907
+
1908
+ ```ruby
1909
+ client.contracts.v_3.get_multi();
1910
+ ```
1911
+ </dd>
1912
+ </dl>
1913
+ </dd>
1914
+ </dl>
1915
+
1916
+ #### ⚙️ Parameters
1917
+
1918
+ <dl>
1919
+ <dd>
1920
+
1921
+ <dl>
1922
+ <dd>
1923
+
1924
+ **page_token:** `String`
1925
+
1926
+ </dd>
1927
+ </dl>
1928
+
1929
+ <dl>
1930
+ <dd>
1931
+
1932
+ **limit:** `Integer` — Max number of contracts returned. Defaults to 1000. Max is 1000.
1933
+
1934
+ </dd>
1935
+ </dl>
1936
+
1937
+ <dl>
1938
+ <dd>
1939
+
1940
+ **type:** `Candid::Contracts::V3::Types::ContractType` — The type of contract
1941
+
1942
+ </dd>
1943
+ </dl>
1944
+
1945
+ <dl>
1946
+ <dd>
1947
+
1948
+ **contracting_provider_id:** `String`
1949
+
1950
+ </dd>
1951
+ </dl>
1952
+
1953
+ <dl>
1954
+ <dd>
1955
+
1956
+ **rendering_provider_ids:** `String`
1957
+
1958
+ </dd>
1959
+ </dl>
1960
+
1961
+ <dl>
1962
+ <dd>
1963
+
1964
+ **payer_names:** `String` — Filter to contracts that include any of the included payer names.
1965
+
1966
+ </dd>
1967
+ </dl>
1968
+
1969
+ <dl>
1970
+ <dd>
1971
+
1972
+ **states:** `Candid::Commons::Types::State`
1973
+
1974
+ </dd>
1975
+ </dl>
1976
+
1977
+ <dl>
1978
+ <dd>
1979
+
1980
+ **contract_status:** `Candid::Contracts::V2::Types::ContractStatus` — The status of the contract. Defaults to `pending`
1981
+
1982
+ </dd>
1983
+ </dl>
1984
+
1985
+ <dl>
1986
+ <dd>
1987
+
1988
+ **sort:** `Candid::Contracts::V2::Types::ContractSortField` — Potentially sort by a contract related attribute. Defaults to created_at
1989
+
1990
+ </dd>
1991
+ </dl>
1992
+
1993
+ <dl>
1994
+ <dd>
1995
+
1996
+ **sort_direction:** `Candid::Commons::Types::SortDirection` — Direction of sort, defaulting to desc
1997
+
1998
+ </dd>
1999
+ </dl>
2000
+ </dd>
2001
+ </dl>
2002
+
2003
+
2004
+ </dd>
2005
+ </dl>
2006
+ </details>
2007
+
2008
+ <details><summary><code>client.contracts.v_3.create(request) -> Candid::Contracts::V3::Types::ContractWithProvidersUnion</code></summary>
2009
+ <dl>
2010
+ <dd>
2011
+
2012
+ #### 📝 Description
2013
+
2014
+ <dl>
2015
+ <dd>
2016
+
2017
+ <dl>
2018
+ <dd>
2019
+
2020
+ Creates a new contract within the user's current organization
2021
+ </dd>
2022
+ </dl>
2023
+ </dd>
2024
+ </dl>
2025
+
2026
+ #### 🔌 Usage
2027
+
2028
+ <dl>
2029
+ <dd>
2030
+
2031
+ <dl>
2032
+ <dd>
2033
+
2034
+ ```ruby
2035
+ client.contracts.v_3.create();
2036
+ ```
2037
+ </dd>
2038
+ </dl>
2039
+ </dd>
2040
+ </dl>
2041
+
2042
+ #### ⚙️ Parameters
2043
+
2044
+ <dl>
2045
+ <dd>
2046
+
2047
+ <dl>
2048
+ <dd>
2049
+
2050
+ **request:** `Candid::Contracts::V3::Types::ContractCreateUnion`
2051
+
2052
+ </dd>
2053
+ </dl>
2054
+ </dd>
2055
+ </dl>
2056
+
2057
+
2058
+ </dd>
2059
+ </dl>
2060
+ </details>
2061
+
2062
+ <details><summary><code>client.contracts.v_3.delete(contract_id) -> </code></summary>
2063
+ <dl>
2064
+ <dd>
2065
+
2066
+ #### 🔌 Usage
2067
+
2068
+ <dl>
2069
+ <dd>
2070
+
2071
+ <dl>
2072
+ <dd>
2073
+
2074
+ ```ruby
2075
+ client.contracts.v_3.delete();
2076
+ ```
2077
+ </dd>
2078
+ </dl>
2079
+ </dd>
2080
+ </dl>
2081
+
2082
+ #### ⚙️ Parameters
2083
+
2084
+ <dl>
2085
+ <dd>
2086
+
2087
+ <dl>
2088
+ <dd>
2089
+
2090
+ **contract_id:** `String`
2091
+
2092
+ </dd>
2093
+ </dl>
2094
+ </dd>
2095
+ </dl>
2096
+
2097
+
2098
+ </dd>
2099
+ </dl>
2100
+ </details>
2101
+
2102
+ <details><summary><code>client.contracts.v_3.update(contract_id, request) -> Candid::Contracts::V3::Types::ContractWithProvidersUnion</code></summary>
2103
+ <dl>
2104
+ <dd>
2105
+
2106
+ #### 🔌 Usage
2107
+
2108
+ <dl>
2109
+ <dd>
2110
+
2111
+ <dl>
2112
+ <dd>
2113
+
2114
+ ```ruby
2115
+ client.contracts.v_3.update();
2116
+ ```
2117
+ </dd>
2118
+ </dl>
2119
+ </dd>
2120
+ </dl>
2121
+
2122
+ #### ⚙️ Parameters
2123
+
2124
+ <dl>
2125
+ <dd>
2126
+
2127
+ <dl>
2128
+ <dd>
2129
+
2130
+ **contract_id:** `String`
2131
+
2132
+ </dd>
2133
+ </dl>
2134
+
2135
+ <dl>
2136
+ <dd>
2137
+
2138
+ **request:** `Candid::Contracts::V3::Types::ContractUpdateUnion`
2139
+
2140
+ </dd>
2141
+ </dl>
2142
+ </dd>
2143
+ </dl>
2144
+
2145
+
2146
+ </dd>
2147
+ </dl>
2148
+ </details>
2149
+
2150
+ <details><summary><code>client.contracts.v_3.create_contract_service_facility(contract_id, request) -> Candid::Contracts::V3::Types::ContractServiceFacility</code></summary>
2151
+ <dl>
2152
+ <dd>
2153
+
2154
+ #### 🔌 Usage
2155
+
2156
+ <dl>
2157
+ <dd>
2158
+
2159
+ <dl>
2160
+ <dd>
2161
+
2162
+ ```ruby
2163
+ client.contracts.v_3.create_contract_service_facility(
2164
+ contractId: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32',
2165
+ serviceFacilityId: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32',
2166
+ providerIds: Set.new(['d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32'])
2167
+ );
2168
+ ```
2169
+ </dd>
2170
+ </dl>
2171
+ </dd>
2172
+ </dl>
2173
+
2174
+ #### ⚙️ Parameters
2175
+
2176
+ <dl>
2177
+ <dd>
2178
+
2179
+ <dl>
2180
+ <dd>
2181
+
2182
+ **contract_id:** `String`
2183
+
2184
+ </dd>
2185
+ </dl>
2186
+ </dd>
2187
+ </dl>
2188
+
2189
+
2190
+ </dd>
2191
+ </dl>
2192
+ </details>
2193
+
2194
+ <details><summary><code>client.contracts.v_3.update_contract_service_facility(contract_id, contract_service_facility_id, request) -> Candid::Contracts::V3::Types::ContractServiceFacility</code></summary>
2195
+ <dl>
2196
+ <dd>
2197
+
2198
+ #### 🔌 Usage
2199
+
2200
+ <dl>
2201
+ <dd>
2202
+
2203
+ <dl>
2204
+ <dd>
2205
+
2206
+ ```ruby
2207
+ client.contracts.v_3.update_contract_service_facility(
2208
+ contractId: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32',
2209
+ contractServiceFacilityId: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32'
2210
+ );
2211
+ ```
2212
+ </dd>
2213
+ </dl>
2214
+ </dd>
2215
+ </dl>
2216
+
2217
+ #### ⚙️ Parameters
2218
+
2219
+ <dl>
2220
+ <dd>
2221
+
2222
+ <dl>
2223
+ <dd>
2224
+
2225
+ **contract_id:** `String`
2226
+
2227
+ </dd>
2228
+ </dl>
2229
+
2230
+ <dl>
2231
+ <dd>
2232
+
2233
+ **contract_service_facility_id:** `String`
2234
+
2235
+ </dd>
2236
+ </dl>
2237
+
2238
+ <dl>
2239
+ <dd>
2240
+
2241
+ **service_facility_id:** `String` — The UUID of the service facility
2242
+
2243
+ </dd>
2244
+ </dl>
2245
+
2246
+ <dl>
2247
+ <dd>
2248
+
2249
+ **provider_ids:** `Internal::Types::Array[String]` — The providers who are authorized under the contract
2250
+
2251
+ </dd>
2252
+ </dl>
2253
+ </dd>
2254
+ </dl>
2255
+
2256
+
1823
2257
  </dd>
1824
2258
  </dl>
1825
2259
  </details>
@@ -4069,6 +4503,23 @@ client.encounters.v_4.get();
4069
4503
  <dl>
4070
4504
  <dd>
4071
4505
 
4506
+ #### 📝 Description
4507
+
4508
+ <dl>
4509
+ <dd>
4510
+
4511
+ <dl>
4512
+ <dd>
4513
+
4514
+ Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
4515
+ No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
4516
+ in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
4517
+ express, written consent of AHA.
4518
+ </dd>
4519
+ </dl>
4520
+ </dd>
4521
+ </dl>
4522
+
4072
4523
  #### 🔌 Usage
4073
4524
 
4074
4525
  <dl>
@@ -4233,6 +4684,11 @@ where applicable. In particular, the following fields are populated from the pat
4233
4684
 
4234
4685
  Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
4235
4686
  encounter has not already been submitted or adjudicated.
4687
+
4688
+ Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
4689
+ No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
4690
+ in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
4691
+ express, written consent of AHA.
4236
4692
  </dd>
4237
4693
  </dl>
4238
4694
  </dd>
@@ -4389,6 +4845,23 @@ client.encounters.v_4.create_from_pre_encounter_patient({
4389
4845
  <dl>
4390
4846
  <dd>
4391
4847
 
4848
+ #### 📝 Description
4849
+
4850
+ <dl>
4851
+ <dd>
4852
+
4853
+ <dl>
4854
+ <dd>
4855
+
4856
+ Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
4857
+ No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
4858
+ in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
4859
+ express, written consent of AHA.
4860
+ </dd>
4861
+ </dl>
4862
+ </dd>
4863
+ </dl>
4864
+
4392
4865
  #### 🔌 Usage
4393
4866
 
4394
4867
  <dl>
@@ -4477,6 +4950,146 @@ client.encounters.v_4.update({});
4477
4950
  </dl>
4478
4951
 
4479
4952
 
4953
+ </dd>
4954
+ </dl>
4955
+ </details>
4956
+
4957
+ ## Events V1
4958
+ <details><summary><code>client.events.v_1.scan() -> Candid::Events::V1::Types::EventScanPage</code></summary>
4959
+ <dl>
4960
+ <dd>
4961
+
4962
+ #### 📝 Description
4963
+
4964
+ <dl>
4965
+ <dd>
4966
+
4967
+ <dl>
4968
+ <dd>
4969
+
4970
+ Scans the last 30 days of events. All results are sorted by created date, descending.
4971
+ </dd>
4972
+ </dl>
4973
+ </dd>
4974
+ </dl>
4975
+
4976
+ #### 🔌 Usage
4977
+
4978
+ <dl>
4979
+ <dd>
4980
+
4981
+ <dl>
4982
+ <dd>
4983
+
4984
+ ```ruby
4985
+ client.events.v_1.scan();
4986
+ ```
4987
+ </dd>
4988
+ </dl>
4989
+ </dd>
4990
+ </dl>
4991
+
4992
+ #### ⚙️ Parameters
4993
+
4994
+ <dl>
4995
+ <dd>
4996
+
4997
+ <dl>
4998
+ <dd>
4999
+
5000
+ **page_token:** `String`
5001
+
5002
+ </dd>
5003
+ </dl>
5004
+
5005
+ <dl>
5006
+ <dd>
5007
+
5008
+ **limit:** `Integer` — Number of events to return. Minimum value is 1, maximum is 100. Defaults to 10.
5009
+
5010
+ </dd>
5011
+ </dl>
5012
+
5013
+ <dl>
5014
+ <dd>
5015
+
5016
+ **event_types:** `String`
5017
+
5018
+ Event types to filter on. Defaults to showing all event types.
5019
+
5020
+ | Event Type | Description |
5021
+ |------------|-------------|
5022
+ | `CandidApi.Encounter.Created` | When a new claim is created |
5023
+ | `CandidApi.Encounter.StatusUpdated` | When a claim's status has been updated |
5024
+ | `PreEncounter.Patient.Created` | When a new patient has been created |
5025
+ | `PreEncounter.Patient.Updated` | When a patient's information has been updated |
5026
+ | `PreEncounter.Coverage.Created` | When a new coverage has been created for a patient |
5027
+ | `PreEncounter.Coverage.Updated` | When a patient's coverage has been updated |
5028
+ | `PreEncounter.Tag.Created` | When a new tag has been created for a patient |
5029
+ | `PreEncounter.Tag.Updated` | When a patient's tag has been updated |
5030
+
5031
+ </dd>
5032
+ </dl>
5033
+
5034
+ <dl>
5035
+ <dd>
5036
+
5037
+ **created_before:** `String` — Filters for only events created before this time (inclusive).
5038
+
5039
+ </dd>
5040
+ </dl>
5041
+
5042
+ <dl>
5043
+ <dd>
5044
+
5045
+ **created_after:** `String` — Filters for only events created after this time (inclusive).
5046
+
5047
+ </dd>
5048
+ </dl>
5049
+ </dd>
5050
+ </dl>
5051
+
5052
+
5053
+ </dd>
5054
+ </dl>
5055
+ </details>
5056
+
5057
+ <details><summary><code>client.events.v_1.get(event_id) -> Candid::Events::V1::Types::Event</code></summary>
5058
+ <dl>
5059
+ <dd>
5060
+
5061
+ #### 🔌 Usage
5062
+
5063
+ <dl>
5064
+ <dd>
5065
+
5066
+ <dl>
5067
+ <dd>
5068
+
5069
+ ```ruby
5070
+ client.events.v_1.get();
5071
+ ```
5072
+ </dd>
5073
+ </dl>
5074
+ </dd>
5075
+ </dl>
5076
+
5077
+ #### ⚙️ Parameters
5078
+
5079
+ <dl>
5080
+ <dd>
5081
+
5082
+ <dl>
5083
+ <dd>
5084
+
5085
+ **event_id:** `String`
5086
+
5087
+ </dd>
5088
+ </dl>
5089
+ </dd>
5090
+ </dl>
5091
+
5092
+
4480
5093
  </dd>
4481
5094
  </dl>
4482
5095
  </details>
@@ -5386,7 +5999,15 @@ client.fee_schedules.v_3.get_rate_history();
5386
5999
  <dl>
5387
6000
  <dd>
5388
6001
 
5389
- Uploads a new fee schedule.\n Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.\n If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will be returned.\n Use the dry run flag to discover already existing rates and to run validations. If validations for any rate fail, no rates will be saved to the system.
6002
+ Uploads a new fee schedule.
6003
+
6004
+ Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.
6005
+
6006
+ If adding a new version to an existing rate, the rate must be posted with the next version number (previous version + 1) or a EntityConflictError will
6007
+ be returned.
6008
+
6009
+ Use the dry run flag to discover already existing rates and to run validations. If validations for any rate fail, no rates will
6010
+ be saved to the system.
5390
6011
  </dd>
5391
6012
  </dl>
5392
6013
  </dd>
@@ -6358,118 +6979,8 @@ client.import_invoice.v_1.update({});
6358
6979
  </dl>
6359
6980
  </details>
6360
6981
 
6361
- ## InsurancePayments V1
6362
- <details><summary><code>client.insurance_payments.v_1.get_multi() -> Candid::InsurancePayments::V1::Types::InsurancePaymentsPage</code></summary>
6363
- <dl>
6364
- <dd>
6365
-
6366
- #### 📝 Description
6367
-
6368
- <dl>
6369
- <dd>
6370
-
6371
- <dl>
6372
- <dd>
6373
-
6374
- Returns all non-ERA originated insurance payments satisfying the search criteria
6375
- </dd>
6376
- </dl>
6377
- </dd>
6378
- </dl>
6379
-
6380
- #### 🔌 Usage
6381
-
6382
- <dl>
6383
- <dd>
6384
-
6385
- <dl>
6386
- <dd>
6387
-
6388
- ```ruby
6389
- client.insurance_payments.v_1.get_multi();
6390
- ```
6391
- </dd>
6392
- </dl>
6393
- </dd>
6394
- </dl>
6395
-
6396
- #### ⚙️ Parameters
6397
-
6398
- <dl>
6399
- <dd>
6400
-
6401
- <dl>
6402
- <dd>
6403
-
6404
- **limit:** `Integer` — Defaults to 100. The value must be greater than 0 and less than 1000.
6405
-
6406
- </dd>
6407
- </dl>
6408
-
6409
- <dl>
6410
- <dd>
6411
-
6412
- **payer_uuid:** `String`
6413
-
6414
- </dd>
6415
- </dl>
6416
-
6417
- <dl>
6418
- <dd>
6419
-
6420
- **claim_id:** `String`
6421
-
6422
- </dd>
6423
- </dl>
6424
-
6425
- <dl>
6426
- <dd>
6427
-
6428
- **service_line_id:** `String`
6429
-
6430
- </dd>
6431
- </dl>
6432
-
6433
- <dl>
6434
- <dd>
6435
-
6436
- **billing_provider_id:** `String`
6437
-
6438
- </dd>
6439
- </dl>
6440
-
6441
- <dl>
6442
- <dd>
6443
-
6444
- **sort:** `Candid::InsurancePayments::V1::Types::InsurancePaymentSortField` — Defaults to payment_timestamp
6445
-
6446
- </dd>
6447
- </dl>
6448
-
6449
- <dl>
6450
- <dd>
6451
-
6452
- **sort_direction:** `Candid::Commons::Types::SortDirection` — Sort direction. Defaults to descending order if not provided.
6453
-
6454
- </dd>
6455
- </dl>
6456
-
6457
- <dl>
6458
- <dd>
6459
-
6460
- **page_token:** `String`
6461
-
6462
- </dd>
6463
- </dl>
6464
- </dd>
6465
- </dl>
6466
-
6467
-
6468
- </dd>
6469
- </dl>
6470
- </details>
6471
-
6472
- <details><summary><code>client.insurance_payments.v_1.get(insurance_payment_id) -> Candid::InsurancePayments::V1::Types::InsurancePayment</code></summary>
6982
+ ## InsuranceAdjudications V1
6983
+ <details><summary><code>client.insurance_adjudications.v_1.get(insurance_adjudication_id) -> Candid::InsuranceAdjudications::V1::Types::InsuranceAdjudication</code></summary>
6473
6984
  <dl>
6474
6985
  <dd>
6475
6986
 
@@ -6481,8 +6992,7 @@ client.insurance_payments.v_1.get_multi();
6481
6992
  <dl>
6482
6993
  <dd>
6483
6994
 
6484
- Retrieves a previously created insurance payment by its `insurance_payment_id`.
6485
- If the payment does not exist, a `403` will be thrown.
6995
+ Retrieves a previously created insurance adjudication by its `insurance_adjudication_id`.
6486
6996
  </dd>
6487
6997
  </dl>
6488
6998
  </dd>
@@ -6497,7 +7007,7 @@ If the payment does not exist, a `403` will be thrown.
6497
7007
  <dd>
6498
7008
 
6499
7009
  ```ruby
6500
- client.insurance_payments.v_1.get();
7010
+ client.insurance_adjudications.v_1.get();
6501
7011
  ```
6502
7012
  </dd>
6503
7013
  </dl>
@@ -6512,7 +7022,7 @@ client.insurance_payments.v_1.get();
6512
7022
  <dl>
6513
7023
  <dd>
6514
7024
 
6515
- **insurance_payment_id:** `String`
7025
+ **insurance_adjudication_id:** `String`
6516
7026
 
6517
7027
  </dd>
6518
7028
  </dl>
@@ -8613,8 +9123,6 @@ client.organization_service_facilities.v_2.delete();
8613
9123
  <dl>
8614
9124
  <dd>
8615
9125
 
8616
- NOTE: This service is in-development and can only be used by select partners. Please contact Candid Health to request access.
8617
-
8618
9126
  Retrieve a list of inventory records based on the provided filters. Each inventory record provides the latest invoiceable status of the associated claim.
8619
9127
  The response is paginated, and the `page_token` can be used to retrieve subsequent pages. Initial requests should not include `page_token`.
8620
9128
  </dd>
@@ -8686,8 +9194,6 @@ client.patient_ar.v_1.list_inventory();
8686
9194
  <dl>
8687
9195
  <dd>
8688
9196
 
8689
- NOTE: This service is in-development and can only be used by select partners. Please contact Candid Health to request access.
8690
-
8691
9197
  Provides detailed itemization of invoice data for a specific claim.
8692
9198
  </dd>
8693
9199
  </dl>