candidhealth 1.15.0 → 1.17.0

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/candid/client.rb +6 -1
  3. data/lib/candid/commons/types/bad_request_error_message.rb +11 -0
  4. data/lib/candid/commons/types/internal_error_message.rb +11 -0
  5. data/lib/candid/contracts/client.rb +5 -0
  6. data/lib/candid/contracts/v_2/client.rb +4 -0
  7. data/lib/candid/contracts/v_3/client.rb +176 -0
  8. data/lib/candid/contracts/v_3/types/contract.rb +18 -0
  9. data/lib/candid/contracts/v_3/types/contract_base.rb +28 -0
  10. data/lib/candid/contracts/v_3/types/contract_create.rb +15 -0
  11. data/lib/candid/contracts/v_3/types/contract_create_union.rb +18 -0
  12. data/lib/candid/contracts/v_3/types/contract_service_facility.rb +14 -0
  13. data/lib/candid/contracts/v_3/types/contract_service_facility_base.rb +14 -0
  14. data/lib/candid/contracts/v_3/types/contract_service_facility_create.rb +15 -0
  15. data/lib/candid/contracts/v_3/types/contract_service_facility_update.rb +16 -0
  16. data/lib/candid/contracts/v_3/types/contract_type.rb +16 -0
  17. data/lib/candid/contracts/v_3/types/contract_union.rb +18 -0
  18. data/lib/candid/contracts/v_3/types/contract_update.rb +28 -0
  19. data/lib/candid/contracts/v_3/types/contract_update_union.rb +18 -0
  20. data/lib/candid/contracts/v_3/types/contract_with_providers_union.rb +18 -0
  21. data/lib/candid/contracts/v_3/types/contracts_page.rb +15 -0
  22. data/lib/candid/contracts/v_3/types/get_multi_contracts_request.rb +22 -0
  23. data/lib/candid/contracts/v_3/types/institutional_contract.rb +15 -0
  24. data/lib/candid/contracts/v_3/types/institutional_contract_create.rb +15 -0
  25. data/lib/candid/contracts/v_3/types/institutional_contract_update.rb +13 -0
  26. data/lib/candid/contracts/v_3/types/professional_contract.rb +13 -0
  27. data/lib/candid/contracts/v_3/types/professional_contract_create.rb +13 -0
  28. data/lib/candid/contracts/v_3/types/professional_contract_update.rb +13 -0
  29. data/lib/candid/events/client.rb +17 -0
  30. data/lib/candid/events/v_1/client.rb +64 -0
  31. data/lib/candid/events/v_1/types/event.rb +18 -0
  32. data/lib/candid/events/v_1/types/event_scan_page.rb +16 -0
  33. data/lib/candid/events/v_1/types/get_event_scan_request.rb +17 -0
  34. data/lib/candid/patient_ar/v_1/client.rb +0 -4
  35. data/lib/candid/version.rb +1 -1
  36. data/lib/candid.rb +29 -0
  37. data/reference.md +617 -60
  38. metadata +30 -1
data/reference.md CHANGED
@@ -1442,6 +1442,421 @@ 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
+
1459
+ #### 🔌 Usage
1460
+
1461
+ <dl>
1462
+ <dd>
1463
+
1464
+ <dl>
1465
+ <dd>
1466
+
1467
+ ```ruby
1468
+ client.contracts.v_2.get();
1469
+ ```
1470
+ </dd>
1471
+ </dl>
1472
+ </dd>
1473
+ </dl>
1474
+
1475
+ #### ⚙️ Parameters
1476
+
1477
+ <dl>
1478
+ <dd>
1479
+
1480
+ <dl>
1481
+ <dd>
1482
+
1483
+ **contract_id:** `String`
1484
+
1485
+ </dd>
1486
+ </dl>
1487
+ </dd>
1488
+ </dl>
1489
+
1490
+
1491
+ </dd>
1492
+ </dl>
1493
+ </details>
1494
+
1495
+ <details><summary><code>client.contracts.v_2.get_multi() -> Candid::Contracts::V2::Types::ContractsPage</code></summary>
1496
+ <dl>
1497
+ <dd>
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
+
1513
+ #### 🔌 Usage
1514
+
1515
+ <dl>
1516
+ <dd>
1517
+
1518
+ <dl>
1519
+ <dd>
1520
+
1521
+ ```ruby
1522
+ client.contracts.v_2.get_multi();
1523
+ ```
1524
+ </dd>
1525
+ </dl>
1526
+ </dd>
1527
+ </dl>
1528
+
1529
+ #### ⚙️ Parameters
1530
+
1531
+ <dl>
1532
+ <dd>
1533
+
1534
+ <dl>
1535
+ <dd>
1536
+
1537
+ **page_token:** `String`
1538
+
1539
+ </dd>
1540
+ </dl>
1541
+
1542
+ <dl>
1543
+ <dd>
1544
+
1545
+ **limit:** `Integer` — Max number of contracts returned. Defaults to 1000. Max is 1000.
1546
+
1547
+ </dd>
1548
+ </dl>
1549
+
1550
+ <dl>
1551
+ <dd>
1552
+
1553
+ **contracting_provider_id:** `String`
1554
+
1555
+ </dd>
1556
+ </dl>
1557
+
1558
+ <dl>
1559
+ <dd>
1560
+
1561
+ **rendering_provider_ids:** `String`
1562
+
1563
+ </dd>
1564
+ </dl>
1565
+
1566
+ <dl>
1567
+ <dd>
1568
+
1569
+ **payer_names:** `String` — Filter to contracts that include any of the included payer names.
1570
+
1571
+ </dd>
1572
+ </dl>
1573
+
1574
+ <dl>
1575
+ <dd>
1576
+
1577
+ **states:** `Candid::Commons::Types::State`
1578
+
1579
+ </dd>
1580
+ </dl>
1581
+
1582
+ <dl>
1583
+ <dd>
1584
+
1585
+ **contract_status:** `Candid::Contracts::V2::Types::ContractStatus` — The status of the contract. Defaults to `pending`
1586
+
1587
+ </dd>
1588
+ </dl>
1589
+
1590
+ <dl>
1591
+ <dd>
1592
+
1593
+ **sort:** `Candid::Contracts::V2::Types::ContractSortField` — Potentially sort by a contract related attribute. Defaults to created_at
1594
+
1595
+ </dd>
1596
+ </dl>
1597
+
1598
+ <dl>
1599
+ <dd>
1600
+
1601
+ **sort_direction:** `Candid::Commons::Types::SortDirection` — Direction of sort, defaulting to desc
1602
+
1603
+ </dd>
1604
+ </dl>
1605
+ </dd>
1606
+ </dl>
1607
+
1608
+
1609
+ </dd>
1610
+ </dl>
1611
+ </details>
1612
+
1613
+ <details><summary><code>client.contracts.v_2.create(request) -> Candid::Contracts::V2::Types::ContractWithProviders</code></summary>
1614
+ <dl>
1615
+ <dd>
1616
+
1617
+ #### 📝 Description
1618
+
1619
+ <dl>
1620
+ <dd>
1621
+
1622
+ <dl>
1623
+ <dd>
1624
+
1625
+ Creates a new contract within the user's current organization
1626
+ </dd>
1627
+ </dl>
1628
+ </dd>
1629
+ </dl>
1630
+
1631
+ #### 🔌 Usage
1632
+
1633
+ <dl>
1634
+ <dd>
1635
+
1636
+ <dl>
1637
+ <dd>
1638
+
1639
+ ```ruby
1640
+ client.contracts.v_2.create(
1641
+ effectiveDate: 'effective_date',
1642
+ regions: ,
1643
+ commercialInsuranceTypes: ,
1644
+ medicareInsuranceTypes: ,
1645
+ medicaidInsuranceTypes: ,
1646
+ contractingProviderId: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32',
1647
+ renderingProviderIds: Set.new(['d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32']),
1648
+ payerUuid: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32'
1649
+ );
1650
+ ```
1651
+ </dd>
1652
+ </dl>
1653
+ </dd>
1654
+ </dl>
1655
+
1656
+ #### ⚙️ Parameters
1657
+
1658
+ <dl>
1659
+ <dd>
1660
+
1661
+ <dl>
1662
+ <dd>
1663
+
1664
+ **contracting_provider_id:** `String` — The UUID of the provider under agreement to the contract
1665
+
1666
+ </dd>
1667
+ </dl>
1668
+
1669
+ <dl>
1670
+ <dd>
1671
+
1672
+ **rendering_provider_ids:** `Internal::Types::Array[String]`
1673
+
1674
+ A rendering provider isn't contracted directly with the payer but can render
1675
+ services under the contract held by the contracting provider.
1676
+ Max items is 4000.
1677
+
1678
+ </dd>
1679
+ </dl>
1680
+
1681
+ <dl>
1682
+ <dd>
1683
+
1684
+ **payer_uuid:** `String` — The UUID of the insurance company under agreement to the contract
1685
+
1686
+ </dd>
1687
+ </dl>
1688
+ </dd>
1689
+ </dl>
1690
+
1691
+
1692
+ </dd>
1693
+ </dl>
1694
+ </details>
1695
+
1696
+ <details><summary><code>client.contracts.v_2.delete(contract_id) -> </code></summary>
1697
+ <dl>
1698
+ <dd>
1699
+
1700
+ #### 🔌 Usage
1701
+
1702
+ <dl>
1703
+ <dd>
1704
+
1705
+ <dl>
1706
+ <dd>
1707
+
1708
+ ```ruby
1709
+ client.contracts.v_2.delete();
1710
+ ```
1711
+ </dd>
1712
+ </dl>
1713
+ </dd>
1714
+ </dl>
1715
+
1716
+ #### ⚙️ Parameters
1717
+
1718
+ <dl>
1719
+ <dd>
1720
+
1721
+ <dl>
1722
+ <dd>
1723
+
1724
+ **contract_id:** `String`
1725
+
1726
+ </dd>
1727
+ </dl>
1728
+ </dd>
1729
+ </dl>
1730
+
1731
+
1732
+ </dd>
1733
+ </dl>
1734
+ </details>
1735
+
1736
+ <details><summary><code>client.contracts.v_2.update(contract_id, request) -> Candid::Contracts::V2::Types::ContractWithProviders</code></summary>
1737
+ <dl>
1738
+ <dd>
1739
+
1740
+ #### 🔌 Usage
1741
+
1742
+ <dl>
1743
+ <dd>
1744
+
1745
+ <dl>
1746
+ <dd>
1747
+
1748
+ ```ruby
1749
+ client.contracts.v_2.update(contractId: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32');
1750
+ ```
1751
+ </dd>
1752
+ </dl>
1753
+ </dd>
1754
+ </dl>
1755
+
1756
+ #### ⚙️ Parameters
1757
+
1758
+ <dl>
1759
+ <dd>
1760
+
1761
+ <dl>
1762
+ <dd>
1763
+
1764
+ **contract_id:** `String`
1765
+
1766
+ </dd>
1767
+ </dl>
1768
+
1769
+ <dl>
1770
+ <dd>
1771
+
1772
+ **rendering_provider_ids:** `Internal::Types::Array[String]`
1773
+
1774
+ A rendering provider isn't contracted directly with the payer but can render
1775
+ services under the contract held by the contracting provider.
1776
+ Max items is 4000.
1777
+
1778
+ </dd>
1779
+ </dl>
1780
+
1781
+ <dl>
1782
+ <dd>
1783
+
1784
+ **effective_date:** `String` — The starting day upon which the contract is effective
1785
+
1786
+ </dd>
1787
+ </dl>
1788
+
1789
+ <dl>
1790
+ <dd>
1791
+
1792
+ **expiration_date:** `Candid::Contracts::V2::Types::DateUpdate` — An optional end day upon which the contract expires
1793
+
1794
+ </dd>
1795
+ </dl>
1796
+
1797
+ <dl>
1798
+ <dd>
1799
+
1800
+ **regions:** `Candid::Contracts::V2::Types::RegionsUpdate`
1801
+
1802
+ If present, the contract's rendering providers will be patched to this exact
1803
+ value, overriding what was set before.
1804
+
1805
+ </dd>
1806
+ </dl>
1807
+
1808
+ <dl>
1809
+ <dd>
1810
+
1811
+ **contract_status:** `Candid::Contracts::V2::Types::ContractStatus`
1812
+
1813
+ </dd>
1814
+ </dl>
1815
+
1816
+ <dl>
1817
+ <dd>
1818
+
1819
+ **authorized_signatory:** `Candid::Contracts::V2::Types::AuthorizedSignatoryUpdate`
1820
+
1821
+ </dd>
1822
+ </dl>
1823
+
1824
+ <dl>
1825
+ <dd>
1826
+
1827
+ **commercial_insurance_types:** `Candid::Contracts::V2::Types::InsuranceTypes`
1828
+
1829
+ </dd>
1830
+ </dl>
1831
+
1832
+ <dl>
1833
+ <dd>
1834
+
1835
+ **medicare_insurance_types:** `Candid::Contracts::V2::Types::InsuranceTypes`
1836
+
1837
+ </dd>
1838
+ </dl>
1839
+
1840
+ <dl>
1841
+ <dd>
1842
+
1843
+ **medicaid_insurance_types:** `Candid::Contracts::V2::Types::InsuranceTypes`
1844
+
1845
+ </dd>
1846
+ </dl>
1847
+ </dd>
1848
+ </dl>
1849
+
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
+
1445
1860
  #### 🔌 Usage
1446
1861
 
1447
1862
  <dl>
@@ -1451,7 +1866,7 @@ If false, the change will be marked as unresolved.
1451
1866
  <dd>
1452
1867
 
1453
1868
  ```ruby
1454
- client.contracts.v_2.get();
1869
+ client.contracts.v_3.get();
1455
1870
  ```
1456
1871
  </dd>
1457
1872
  </dl>
@@ -1478,7 +1893,7 @@ client.contracts.v_2.get();
1478
1893
  </dl>
1479
1894
  </details>
1480
1895
 
1481
- <details><summary><code>client.contracts.v_2.get_multi() -> Candid::Contracts::V2::Types::ContractsPage</code></summary>
1896
+ <details><summary><code>client.contracts.v_3.get_multi() -> Candid::Contracts::V3::Types::ContractsPage</code></summary>
1482
1897
  <dl>
1483
1898
  <dd>
1484
1899
 
@@ -1491,7 +1906,7 @@ client.contracts.v_2.get();
1491
1906
  <dd>
1492
1907
 
1493
1908
  ```ruby
1494
- client.contracts.v_2.get_multi();
1909
+ client.contracts.v_3.get_multi();
1495
1910
  ```
1496
1911
  </dd>
1497
1912
  </dl>
@@ -1522,6 +1937,14 @@ client.contracts.v_2.get_multi();
1522
1937
  <dl>
1523
1938
  <dd>
1524
1939
 
1940
+ **type:** `Candid::Contracts::V3::Types::ContractType` — The type of contract
1941
+
1942
+ </dd>
1943
+ </dl>
1944
+
1945
+ <dl>
1946
+ <dd>
1947
+
1525
1948
  **contracting_provider_id:** `String`
1526
1949
 
1527
1950
  </dd>
@@ -1582,7 +2005,7 @@ client.contracts.v_2.get_multi();
1582
2005
  </dl>
1583
2006
  </details>
1584
2007
 
1585
- <details><summary><code>client.contracts.v_2.create(request) -> Candid::Contracts::V2::Types::ContractWithProviders</code></summary>
2008
+ <details><summary><code>client.contracts.v_3.create(request) -> Candid::Contracts::V3::Types::ContractWithProvidersUnion</code></summary>
1586
2009
  <dl>
1587
2010
  <dd>
1588
2011
 
@@ -1609,16 +2032,7 @@ Creates a new contract within the user's current organization
1609
2032
  <dd>
1610
2033
 
1611
2034
  ```ruby
1612
- client.contracts.v_2.create(
1613
- effectiveDate: 'effective_date',
1614
- regions: ,
1615
- commercialInsuranceTypes: ,
1616
- medicareInsuranceTypes: ,
1617
- medicaidInsuranceTypes: ,
1618
- contractingProviderId: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32',
1619
- renderingProviderIds: Set.new(['d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32']),
1620
- payerUuid: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32'
1621
- );
2035
+ client.contracts.v_3.create();
1622
2036
  ```
1623
2037
  </dd>
1624
2038
  </dl>
@@ -1633,27 +2047,47 @@ client.contracts.v_2.create(
1633
2047
  <dl>
1634
2048
  <dd>
1635
2049
 
1636
- **contracting_provider_id:** `String` — The UUID of the provider under agreement to the contract
2050
+ **request:** `Candid::Contracts::V3::Types::ContractCreateUnion`
1637
2051
 
1638
2052
  </dd>
1639
2053
  </dl>
2054
+ </dd>
2055
+ </dl>
2056
+
2057
+
2058
+ </dd>
2059
+ </dl>
2060
+ </details>
1640
2061
 
2062
+ <details><summary><code>client.contracts.v_3.delete(contract_id) -> </code></summary>
1641
2063
  <dl>
1642
2064
  <dd>
1643
2065
 
1644
- **rendering_provider_ids:** `Internal::Types::Array[String]`
2066
+ #### 🔌 Usage
1645
2067
 
1646
- A rendering provider isn't contracted directly with the payer but can render
1647
- services under the contract held by the contracting provider.
1648
- Max items is 4000.
1649
-
2068
+ <dl>
2069
+ <dd>
2070
+
2071
+ <dl>
2072
+ <dd>
2073
+
2074
+ ```ruby
2075
+ client.contracts.v_3.delete();
2076
+ ```
2077
+ </dd>
2078
+ </dl>
1650
2079
  </dd>
1651
2080
  </dl>
1652
2081
 
2082
+ #### ⚙️ Parameters
2083
+
1653
2084
  <dl>
1654
2085
  <dd>
1655
2086
 
1656
- **payer_uuid:** `String` — The UUID of the insurance company under agreement to the contract
2087
+ <dl>
2088
+ <dd>
2089
+
2090
+ **contract_id:** `String`
1657
2091
 
1658
2092
  </dd>
1659
2093
  </dl>
@@ -1665,7 +2099,7 @@ Max items is 4000.
1665
2099
  </dl>
1666
2100
  </details>
1667
2101
 
1668
- <details><summary><code>client.contracts.v_2.delete(contract_id) -> </code></summary>
2102
+ <details><summary><code>client.contracts.v_3.update(contract_id, request) -> Candid::Contracts::V3::Types::ContractWithProvidersUnion</code></summary>
1669
2103
  <dl>
1670
2104
  <dd>
1671
2105
 
@@ -1678,7 +2112,7 @@ Max items is 4000.
1678
2112
  <dd>
1679
2113
 
1680
2114
  ```ruby
1681
- client.contracts.v_2.delete();
2115
+ client.contracts.v_3.update();
1682
2116
  ```
1683
2117
  </dd>
1684
2118
  </dl>
@@ -1695,6 +2129,14 @@ client.contracts.v_2.delete();
1695
2129
 
1696
2130
  **contract_id:** `String`
1697
2131
 
2132
+ </dd>
2133
+ </dl>
2134
+
2135
+ <dl>
2136
+ <dd>
2137
+
2138
+ **request:** `Candid::Contracts::V3::Types::ContractUpdateUnion`
2139
+
1698
2140
  </dd>
1699
2141
  </dl>
1700
2142
  </dd>
@@ -1705,7 +2147,7 @@ client.contracts.v_2.delete();
1705
2147
  </dl>
1706
2148
  </details>
1707
2149
 
1708
- <details><summary><code>client.contracts.v_2.update(contract_id, request) -> Candid::Contracts::V2::Types::ContractWithProviders</code></summary>
2150
+ <details><summary><code>client.contracts.v_3.create_contract_service_facility(contract_id, request) -> Candid::Contracts::V3::Types::ContractServiceFacility</code></summary>
1709
2151
  <dl>
1710
2152
  <dd>
1711
2153
 
@@ -1718,7 +2160,11 @@ client.contracts.v_2.delete();
1718
2160
  <dd>
1719
2161
 
1720
2162
  ```ruby
1721
- client.contracts.v_2.update(contractId: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32');
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
+ );
1722
2168
  ```
1723
2169
  </dd>
1724
2170
  </dl>
@@ -1737,58 +2183,46 @@ client.contracts.v_2.update(contractId: 'd5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32');
1737
2183
 
1738
2184
  </dd>
1739
2185
  </dl>
1740
-
1741
- <dl>
1742
- <dd>
1743
-
1744
- **rendering_provider_ids:** `Internal::Types::Array[String]`
1745
-
1746
- A rendering provider isn't contracted directly with the payer but can render
1747
- services under the contract held by the contracting provider.
1748
- Max items is 4000.
1749
-
1750
2186
  </dd>
1751
2187
  </dl>
1752
2188
 
1753
- <dl>
1754
- <dd>
1755
2189
 
1756
- **effective_date:** `String` — The starting day upon which the contract is effective
1757
-
1758
2190
  </dd>
1759
2191
  </dl>
2192
+ </details>
1760
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>
1761
2195
  <dl>
1762
2196
  <dd>
1763
2197
 
1764
- **expiration_date:** `Candid::Contracts::V2::Types::DateUpdate` — An optional end day upon which the contract expires
1765
-
1766
- </dd>
1767
- </dl>
2198
+ #### 🔌 Usage
1768
2199
 
1769
2200
  <dl>
1770
2201
  <dd>
1771
2202
 
1772
- **regions:** `Candid::Contracts::V2::Types::RegionsUpdate`
2203
+ <dl>
2204
+ <dd>
1773
2205
 
1774
- If present, the contract's rendering providers will be patched to this exact
1775
- value, overriding what was set before.
1776
-
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
+ ```
1777
2212
  </dd>
1778
2213
  </dl>
2214
+ </dd>
2215
+ </dl>
2216
+
2217
+ #### ⚙️ Parameters
1779
2218
 
1780
2219
  <dl>
1781
2220
  <dd>
1782
2221
 
1783
- **contract_status:** `Candid::Contracts::V2::Types::ContractStatus`
1784
-
1785
- </dd>
1786
- </dl>
1787
-
1788
2222
  <dl>
1789
2223
  <dd>
1790
2224
 
1791
- **authorized_signatory:** `Candid::Contracts::V2::Types::AuthorizedSignatoryUpdate`
2225
+ **contract_id:** `String`
1792
2226
 
1793
2227
  </dd>
1794
2228
  </dl>
@@ -1796,7 +2230,7 @@ value, overriding what was set before.
1796
2230
  <dl>
1797
2231
  <dd>
1798
2232
 
1799
- **commercial_insurance_types:** `Candid::Contracts::V2::Types::InsuranceTypes`
2233
+ **contract_service_facility_id:** `String`
1800
2234
 
1801
2235
  </dd>
1802
2236
  </dl>
@@ -1804,7 +2238,7 @@ value, overriding what was set before.
1804
2238
  <dl>
1805
2239
  <dd>
1806
2240
 
1807
- **medicare_insurance_types:** `Candid::Contracts::V2::Types::InsuranceTypes`
2241
+ **service_facility_id:** `String` — The UUID of the service facility
1808
2242
 
1809
2243
  </dd>
1810
2244
  </dl>
@@ -1812,7 +2246,7 @@ value, overriding what was set before.
1812
2246
  <dl>
1813
2247
  <dd>
1814
2248
 
1815
- **medicaid_insurance_types:** `Candid::Contracts::V2::Types::InsuranceTypes`
2249
+ **provider_ids:** `Internal::Types::Array[String]` — The providers who are authorized under the contract
1816
2250
 
1817
2251
  </dd>
1818
2252
  </dl>
@@ -4477,6 +4911,133 @@ client.encounters.v_4.update({});
4477
4911
  </dl>
4478
4912
 
4479
4913
 
4914
+ </dd>
4915
+ </dl>
4916
+ </details>
4917
+
4918
+ ## Events V1
4919
+ <details><summary><code>client.events.v_1.scan() -> Candid::Events::V1::Types::EventScanPage</code></summary>
4920
+ <dl>
4921
+ <dd>
4922
+
4923
+ #### 📝 Description
4924
+
4925
+ <dl>
4926
+ <dd>
4927
+
4928
+ <dl>
4929
+ <dd>
4930
+
4931
+ Scans the last 30 days of events. All results are sorted by created date, descending.
4932
+ </dd>
4933
+ </dl>
4934
+ </dd>
4935
+ </dl>
4936
+
4937
+ #### 🔌 Usage
4938
+
4939
+ <dl>
4940
+ <dd>
4941
+
4942
+ <dl>
4943
+ <dd>
4944
+
4945
+ ```ruby
4946
+ client.events.v_1.scan();
4947
+ ```
4948
+ </dd>
4949
+ </dl>
4950
+ </dd>
4951
+ </dl>
4952
+
4953
+ #### ⚙️ Parameters
4954
+
4955
+ <dl>
4956
+ <dd>
4957
+
4958
+ <dl>
4959
+ <dd>
4960
+
4961
+ **page_token:** `String`
4962
+
4963
+ </dd>
4964
+ </dl>
4965
+
4966
+ <dl>
4967
+ <dd>
4968
+
4969
+ **limit:** `Integer` — Number of events to return. Minimum value is 1, maximum is 100. Defaults to 10.
4970
+
4971
+ </dd>
4972
+ </dl>
4973
+
4974
+ <dl>
4975
+ <dd>
4976
+
4977
+ **event_types:** `String` — Event types to filter on. Defaults to showing all event types.
4978
+
4979
+ </dd>
4980
+ </dl>
4981
+
4982
+ <dl>
4983
+ <dd>
4984
+
4985
+ **created_before:** `String` — Filters for only events created before this time (inclusive).
4986
+
4987
+ </dd>
4988
+ </dl>
4989
+
4990
+ <dl>
4991
+ <dd>
4992
+
4993
+ **created_after:** `String` — Filters for only events created after this time (inclusive).
4994
+
4995
+ </dd>
4996
+ </dl>
4997
+ </dd>
4998
+ </dl>
4999
+
5000
+
5001
+ </dd>
5002
+ </dl>
5003
+ </details>
5004
+
5005
+ <details><summary><code>client.events.v_1.get(event_id) -> Candid::Events::V1::Types::Event</code></summary>
5006
+ <dl>
5007
+ <dd>
5008
+
5009
+ #### 🔌 Usage
5010
+
5011
+ <dl>
5012
+ <dd>
5013
+
5014
+ <dl>
5015
+ <dd>
5016
+
5017
+ ```ruby
5018
+ client.events.v_1.get();
5019
+ ```
5020
+ </dd>
5021
+ </dl>
5022
+ </dd>
5023
+ </dl>
5024
+
5025
+ #### ⚙️ Parameters
5026
+
5027
+ <dl>
5028
+ <dd>
5029
+
5030
+ <dl>
5031
+ <dd>
5032
+
5033
+ **event_id:** `String`
5034
+
5035
+ </dd>
5036
+ </dl>
5037
+ </dd>
5038
+ </dl>
5039
+
5040
+
4480
5041
  </dd>
4481
5042
  </dl>
4482
5043
  </details>
@@ -8668,8 +9229,6 @@ client.organization_service_facilities.v_2.delete();
8668
9229
  <dl>
8669
9230
  <dd>
8670
9231
 
8671
- NOTE: This service is in-development and can only be used by select partners. Please contact Candid Health to request access.
8672
-
8673
9232
  Retrieve a list of inventory records based on the provided filters. Each inventory record provides the latest invoiceable status of the associated claim.
8674
9233
  The response is paginated, and the `page_token` can be used to retrieve subsequent pages. Initial requests should not include `page_token`.
8675
9234
  </dd>
@@ -8741,8 +9300,6 @@ client.patient_ar.v_1.list_inventory();
8741
9300
  <dl>
8742
9301
  <dd>
8743
9302
 
8744
- NOTE: This service is in-development and can only be used by select partners. Please contact Candid Health to request access.
8745
-
8746
9303
  Provides detailed itemization of invoice data for a specific claim.
8747
9304
  </dd>
8748
9305
  </dl>