candidhealth 1.16.0 → 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.
- checksums.yaml +4 -4
- data/lib/candid/client.rb +1 -6
- data/lib/candid/contracts/client.rb +5 -0
- data/lib/candid/contracts/v_2/client.rb +4 -0
- data/lib/candid/contracts/v_3/client.rb +176 -0
- data/lib/candid/contracts/v_3/types/contract.rb +18 -0
- data/lib/candid/contracts/v_3/types/contract_base.rb +28 -0
- data/lib/candid/contracts/v_3/types/contract_create.rb +15 -0
- data/lib/candid/contracts/v_3/types/contract_create_union.rb +18 -0
- data/lib/candid/contracts/v_3/types/contract_service_facility.rb +14 -0
- data/lib/candid/contracts/v_3/types/contract_service_facility_base.rb +14 -0
- data/lib/candid/contracts/v_3/types/contract_service_facility_create.rb +15 -0
- data/lib/candid/contracts/v_3/types/contract_service_facility_update.rb +16 -0
- data/lib/candid/contracts/v_3/types/contract_type.rb +16 -0
- data/lib/candid/contracts/v_3/types/contract_union.rb +18 -0
- data/lib/candid/contracts/v_3/types/contract_update.rb +28 -0
- data/lib/candid/contracts/v_3/types/contract_update_union.rb +18 -0
- data/lib/candid/contracts/v_3/types/contract_with_providers_union.rb +18 -0
- data/lib/candid/contracts/v_3/types/contracts_page.rb +15 -0
- data/lib/candid/contracts/v_3/types/get_multi_contracts_request.rb +22 -0
- data/lib/candid/contracts/v_3/types/institutional_contract.rb +15 -0
- data/lib/candid/contracts/v_3/types/institutional_contract_create.rb +15 -0
- data/lib/candid/contracts/v_3/types/institutional_contract_update.rb +13 -0
- data/lib/candid/contracts/v_3/types/professional_contract.rb +13 -0
- data/lib/candid/contracts/v_3/types/professional_contract_create.rb +13 -0
- data/lib/candid/contracts/v_3/types/professional_contract_update.rb +13 -0
- data/lib/candid/encounter_providers/v_2/types/billing_provider.rb +3 -0
- data/lib/candid/encounter_providers/v_2/types/billing_provider_update.rb +3 -0
- data/lib/candid/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +3 -0
- data/lib/candid/encounter_providers/v_2/types/encounter_provider.rb +3 -0
- data/lib/candid/encounter_providers/v_2/types/provider_secondary_identification.rb +13 -0
- data/lib/candid/encounter_providers/v_2/types/rendering_provider.rb +3 -0
- data/lib/candid/encounter_providers/v_2/types/rendering_provider_update.rb +3 -0
- data/lib/candid/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb +3 -0
- data/lib/candid/encounters/v_4/client.rb +15 -0
- data/lib/candid/encounters/v_4/types/encounter.rb +3 -0
- data/lib/candid/encounters_universal/types/universal_encounter_create_base.rb +3 -0
- data/lib/candid/encounters_universal/types/universal_encounter_create_from_pre_encounter_base.rb +3 -0
- data/lib/candid/encounters_universal/types/universal_encounter_update_base.rb +3 -0
- data/lib/candid/fee_schedules/v_3/client.rb +9 -1
- data/lib/candid/fee_schedules/v_3/types/payer_threshold.rb +6 -1
- data/lib/candid/related_causes_information/v_1/types/related_causes_code.rb +20 -0
- data/lib/candid/related_causes_information/v_1/types/related_causes_information.rb +19 -0
- data/lib/candid/related_causes_information/v_1/types/related_causes_information_create.rb +11 -0
- data/lib/candid/related_causes_information/v_1/types/related_causes_information_update.rb +11 -0
- data/lib/candid/version.rb +1 -1
- data/lib/candid.rb +28 -7
- data/reference.md +541 -213
- metadata +28 -7
- data/lib/candid/insurance_payments/client.rb +0 -17
- data/lib/candid/insurance_payments/v_1/client.rb +0 -68
- data/lib/candid/insurance_payments/v_1/types/get_multi_insurance_payment_request.rb +0 -22
- data/lib/candid/insurance_payments/v_1/types/insurance_payment.rb +0 -20
- data/lib/candid/insurance_payments/v_1/types/insurance_payment_sort_field.rb +0 -17
- 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>
|
|
@@ -1641,19 +1669,425 @@ client.contracts.v_2.create(
|
|
|
1641
1669
|
<dl>
|
|
1642
1670
|
<dd>
|
|
1643
1671
|
|
|
1644
|
-
**rendering_provider_ids:** `Internal::Types::Array[String]`
|
|
1645
|
-
|
|
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
|
-
|
|
1650
|
-
</dd>
|
|
1651
|
-
</dl>
|
|
1652
|
-
|
|
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
|
+
|
|
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
|
+
|
|
1653
2087
|
<dl>
|
|
1654
2088
|
<dd>
|
|
1655
2089
|
|
|
1656
|
-
**
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
1765
|
-
|
|
1766
|
-
</dd>
|
|
1767
|
-
</dl>
|
|
2198
|
+
#### 🔌 Usage
|
|
1768
2199
|
|
|
1769
2200
|
<dl>
|
|
1770
2201
|
<dd>
|
|
1771
2202
|
|
|
1772
|
-
|
|
2203
|
+
<dl>
|
|
2204
|
+
<dd>
|
|
1773
2205
|
|
|
1774
|
-
|
|
1775
|
-
|
|
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
|
+
```
|
|
2212
|
+
</dd>
|
|
2213
|
+
</dl>
|
|
1777
2214
|
</dd>
|
|
1778
2215
|
</dl>
|
|
1779
2216
|
|
|
2217
|
+
#### ⚙️ Parameters
|
|
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
|
-
**
|
|
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
|
-
**
|
|
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
|
-
**
|
|
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
|
-
**
|
|
2249
|
+
**provider_ids:** `Internal::Types::Array[String]` — The providers who are authorized under the contract
|
|
1816
2250
|
|
|
1817
2251
|
</dd>
|
|
1818
2252
|
</dl>
|
|
@@ -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>
|
|
@@ -4540,7 +5013,20 @@ client.events.v_1.scan();
|
|
|
4540
5013
|
<dl>
|
|
4541
5014
|
<dd>
|
|
4542
5015
|
|
|
4543
|
-
**event_types:** `String`
|
|
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 |
|
|
4544
5030
|
|
|
4545
5031
|
</dd>
|
|
4546
5032
|
</dl>
|
|
@@ -5513,7 +5999,15 @@ client.fee_schedules.v_3.get_rate_history();
|
|
|
5513
5999
|
<dl>
|
|
5514
6000
|
<dd>
|
|
5515
6001
|
|
|
5516
|
-
Uploads a new fee schedule
|
|
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.
|
|
5517
6011
|
</dd>
|
|
5518
6012
|
</dl>
|
|
5519
6013
|
</dd>
|
|
@@ -6536,172 +7030,6 @@ client.insurance_adjudications.v_1.get();
|
|
|
6536
7030
|
</dl>
|
|
6537
7031
|
|
|
6538
7032
|
|
|
6539
|
-
</dd>
|
|
6540
|
-
</dl>
|
|
6541
|
-
</details>
|
|
6542
|
-
|
|
6543
|
-
## InsurancePayments V1
|
|
6544
|
-
<details><summary><code>client.insurance_payments.v_1.get_multi() -> Candid::InsurancePayments::V1::Types::InsurancePaymentsPage</code></summary>
|
|
6545
|
-
<dl>
|
|
6546
|
-
<dd>
|
|
6547
|
-
|
|
6548
|
-
#### 📝 Description
|
|
6549
|
-
|
|
6550
|
-
<dl>
|
|
6551
|
-
<dd>
|
|
6552
|
-
|
|
6553
|
-
<dl>
|
|
6554
|
-
<dd>
|
|
6555
|
-
|
|
6556
|
-
Returns all non-ERA originated insurance payments satisfying the search criteria
|
|
6557
|
-
</dd>
|
|
6558
|
-
</dl>
|
|
6559
|
-
</dd>
|
|
6560
|
-
</dl>
|
|
6561
|
-
|
|
6562
|
-
#### 🔌 Usage
|
|
6563
|
-
|
|
6564
|
-
<dl>
|
|
6565
|
-
<dd>
|
|
6566
|
-
|
|
6567
|
-
<dl>
|
|
6568
|
-
<dd>
|
|
6569
|
-
|
|
6570
|
-
```ruby
|
|
6571
|
-
client.insurance_payments.v_1.get_multi();
|
|
6572
|
-
```
|
|
6573
|
-
</dd>
|
|
6574
|
-
</dl>
|
|
6575
|
-
</dd>
|
|
6576
|
-
</dl>
|
|
6577
|
-
|
|
6578
|
-
#### ⚙️ Parameters
|
|
6579
|
-
|
|
6580
|
-
<dl>
|
|
6581
|
-
<dd>
|
|
6582
|
-
|
|
6583
|
-
<dl>
|
|
6584
|
-
<dd>
|
|
6585
|
-
|
|
6586
|
-
**limit:** `Integer` — Defaults to 100. The value must be greater than 0 and less than 1000.
|
|
6587
|
-
|
|
6588
|
-
</dd>
|
|
6589
|
-
</dl>
|
|
6590
|
-
|
|
6591
|
-
<dl>
|
|
6592
|
-
<dd>
|
|
6593
|
-
|
|
6594
|
-
**payer_uuid:** `String`
|
|
6595
|
-
|
|
6596
|
-
</dd>
|
|
6597
|
-
</dl>
|
|
6598
|
-
|
|
6599
|
-
<dl>
|
|
6600
|
-
<dd>
|
|
6601
|
-
|
|
6602
|
-
**claim_id:** `String`
|
|
6603
|
-
|
|
6604
|
-
</dd>
|
|
6605
|
-
</dl>
|
|
6606
|
-
|
|
6607
|
-
<dl>
|
|
6608
|
-
<dd>
|
|
6609
|
-
|
|
6610
|
-
**service_line_id:** `String`
|
|
6611
|
-
|
|
6612
|
-
</dd>
|
|
6613
|
-
</dl>
|
|
6614
|
-
|
|
6615
|
-
<dl>
|
|
6616
|
-
<dd>
|
|
6617
|
-
|
|
6618
|
-
**billing_provider_id:** `String`
|
|
6619
|
-
|
|
6620
|
-
</dd>
|
|
6621
|
-
</dl>
|
|
6622
|
-
|
|
6623
|
-
<dl>
|
|
6624
|
-
<dd>
|
|
6625
|
-
|
|
6626
|
-
**sort:** `Candid::InsurancePayments::V1::Types::InsurancePaymentSortField` — Defaults to payment_timestamp
|
|
6627
|
-
|
|
6628
|
-
</dd>
|
|
6629
|
-
</dl>
|
|
6630
|
-
|
|
6631
|
-
<dl>
|
|
6632
|
-
<dd>
|
|
6633
|
-
|
|
6634
|
-
**sort_direction:** `Candid::Commons::Types::SortDirection` — Sort direction. Defaults to descending order if not provided.
|
|
6635
|
-
|
|
6636
|
-
</dd>
|
|
6637
|
-
</dl>
|
|
6638
|
-
|
|
6639
|
-
<dl>
|
|
6640
|
-
<dd>
|
|
6641
|
-
|
|
6642
|
-
**page_token:** `String`
|
|
6643
|
-
|
|
6644
|
-
</dd>
|
|
6645
|
-
</dl>
|
|
6646
|
-
</dd>
|
|
6647
|
-
</dl>
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
</dd>
|
|
6651
|
-
</dl>
|
|
6652
|
-
</details>
|
|
6653
|
-
|
|
6654
|
-
<details><summary><code>client.insurance_payments.v_1.get(insurance_payment_id) -> Candid::InsurancePayments::V1::Types::InsurancePayment</code></summary>
|
|
6655
|
-
<dl>
|
|
6656
|
-
<dd>
|
|
6657
|
-
|
|
6658
|
-
#### 📝 Description
|
|
6659
|
-
|
|
6660
|
-
<dl>
|
|
6661
|
-
<dd>
|
|
6662
|
-
|
|
6663
|
-
<dl>
|
|
6664
|
-
<dd>
|
|
6665
|
-
|
|
6666
|
-
Retrieves a previously created insurance payment by its `insurance_payment_id`.
|
|
6667
|
-
If the payment does not exist, a `403` will be thrown.
|
|
6668
|
-
</dd>
|
|
6669
|
-
</dl>
|
|
6670
|
-
</dd>
|
|
6671
|
-
</dl>
|
|
6672
|
-
|
|
6673
|
-
#### 🔌 Usage
|
|
6674
|
-
|
|
6675
|
-
<dl>
|
|
6676
|
-
<dd>
|
|
6677
|
-
|
|
6678
|
-
<dl>
|
|
6679
|
-
<dd>
|
|
6680
|
-
|
|
6681
|
-
```ruby
|
|
6682
|
-
client.insurance_payments.v_1.get();
|
|
6683
|
-
```
|
|
6684
|
-
</dd>
|
|
6685
|
-
</dl>
|
|
6686
|
-
</dd>
|
|
6687
|
-
</dl>
|
|
6688
|
-
|
|
6689
|
-
#### ⚙️ Parameters
|
|
6690
|
-
|
|
6691
|
-
<dl>
|
|
6692
|
-
<dd>
|
|
6693
|
-
|
|
6694
|
-
<dl>
|
|
6695
|
-
<dd>
|
|
6696
|
-
|
|
6697
|
-
**insurance_payment_id:** `String`
|
|
6698
|
-
|
|
6699
|
-
</dd>
|
|
6700
|
-
</dl>
|
|
6701
|
-
</dd>
|
|
6702
|
-
</dl>
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
7033
|
</dd>
|
|
6706
7034
|
</dl>
|
|
6707
7035
|
</details>
|