# Reference
## Auth Default
<details><summary><code>client.auth.default.<a href="/src/api/resources/auth/resources/default/client/Client.ts">getToken</a>({ ...params }) -> core.APIResponse&lt;CandidApi.AuthGetTokenResponse, CandidApi.auth.default_.getToken.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

<Callout intent="info">
Candid Health SDKs automatically handle authentication workflows after configuring them with the `client_id` and
`client_secret`.
</Callout>

Candid Health utilizes the [OAuth 2.0 bearer token authentication scheme](https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication) in our auth flow. You obtain the bearer token for all
subsequent API requests via the `/auth/v2/token` endpoint defined below, which requires you to provide your `client_id` and `client_secret`. Your `client_id` and `client_secret` can be [generated](https://support.joincandidhealth.com/hc/en-us/articles/23065219476244--Generating-Candid-API-Keys) from the "Users & Credentials" tab by your org admin.

The `/auth/v2/token` endpoint accepts both `Content-Type: application/json` and `Content-Type: application/x-www-form-urlencoded`. The request body should contain the `client_id` and `client_secret` as follows:

```json
{
  "client_id": "YOUR_CLIENT_ID",
  "client_secret": "YOUR_CLIENT_SECRET"
}
```
or as URL-encoded form data:

```
client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET
```

The bearer token is a signed [JWT](https://jwt.io/). The public key for the JWT can be found [here](https://candidhealth.auth0.com/pem) for any verification workflows.

The bearer token should be provided in the `Authorization` header for all subsequent API calls.

<Callout intent="warning">
The bearer token expires 5 hours after it has been created. After it has expired, the client will receive an "HTTP 401
Unauthorized" error, at which point the client should generate a new token. It is important that tokens be reused between
requests; if the client attempts to generate a token too often, it will be rate-limited and will receive an `HTTP 429 Too Many Requests` error.
</Callout>
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.auth.default.getToken({
    clientId: "YOUR_CLIENT_ID",
    clientSecret: "YOUR_CLIENT_SECRET"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.auth.default_.AuthGetTokenRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DefaultClient.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## BillingNotes V2
<details><summary><code>client.billingNotes.v2.<a href="/src/api/resources/billingNotes/resources/v2/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.BillingNote, CandidApi.billingNotes.v2.create.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.billingNotes.v2.create({
    encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    text: "text"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.billingNotes.v2.StandaloneBillingNoteCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.billingNotes.v2.<a href="/src/api/resources/billingNotes/resources/v2/client/Client.ts">delete</a>(billing_note_id) -> core.APIResponse&lt;void, CandidApi.billingNotes.v2.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.billingNotes.v2.delete(CandidApi.BillingNoteId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**billing_note_id:** `CandidApi.BillingNoteId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.billingNotes.v2.<a href="/src/api/resources/billingNotes/resources/v2/client/Client.ts">update</a>(billing_note_id, { ...params }) -> core.APIResponse&lt;CandidApi.BillingNote, CandidApi.billingNotes.v2.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.billingNotes.v2.update(CandidApi.BillingNoteId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    text: "text"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**billing_note_id:** `CandidApi.BillingNoteId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.billingNotes.v2.BillingNoteUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## ChargeCaptureBundles V1
<details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">get</a>(charge_capture_claim_creation_id) -> core.APIResponse&lt;CandidApi.ChargeCaptureClaimCreation, CandidApi.chargeCaptureBundles.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.chargeCaptureBundles.v1.get(CandidApi.ChargeCaptureClaimCreationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**charge_capture_claim_creation_id:** `CandidApi.ChargeCaptureClaimCreationId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">getSummary</a>() -> core.APIResponse&lt;CandidApi.ChargeCaptureClaimCreationSummary, CandidApi.chargeCaptureBundles.v1.getSummary.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.chargeCaptureBundles.v1.getSummary();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">resolveChargeCreationError</a>(charge_capture_bundle_error_id, { ...params }) -> core.APIResponse&lt;void, CandidApi.chargeCaptureBundles.v1.resolveChargeCreationError.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.chargeCaptureBundles.v1.resolveChargeCreationError("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**charge_capture_bundle_error_id:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.chargeCaptureBundles.v1.ChargeCaptureBundleErrorResolution` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.chargeCaptureBundles.v1.<a href="/src/api/resources/chargeCaptureBundles/resources/v1/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ChargeCaptureClaimCreationPage, CandidApi.chargeCaptureBundles.v1.getAll.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.chargeCaptureBundles.v1.getAll();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.chargeCaptureBundles.v1.GetAllChargeCaptureClaimCreationsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## ChargeCapture V1
<details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ChargeCapture, CandidApi.chargeCapture.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.chargeCapture.v1.create({
    data: {},
    chargeExternalId: "charge_external_id",
    patientExternalId: "patient_external_id",
    status: "planned"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.chargeCapture.v1.CreateChargeCaptureRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">createFromPreEncounterPatient</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ChargeCapture, CandidApi.chargeCapture.v1.createFromPreEncounterPatient.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Create a Charge Capture from a pre-encounter patient and appointment. This endpoint is intended to be used by consumers who are managing
patients and appointments in the pre-encounter service and is currently under development. Consumers who are not taking advantage
of the pre-encounter service should use the standard create endpoint.

At encounter creation time, information from the provided patient and appointment objects will be populated
where applicable. In particular, the following fields are populated from the patient and appointment objects:
  - Patient
  - Referring Provider
  - Subscriber Primary
  - Subscriber Secondary
  - Referral Number
  - Responsible Party
  - Guarantor

Note that these fields should not be populated in the ChargeCaptureData property of this endpoint, as they will be overwritten at encounter creation time.

Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
encounter has not already been submitted or adjudicated.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.chargeCapture.v1.createFromPreEncounterPatient({
    data: {},
    chargeExternalId: "charge_external_id",
    preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    preEncounterAppointmentIds: [CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
    status: "planned"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.chargeCapture.v1.CreateChargeCaptureFromPreEncounterRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">updatePostBilledChanges</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ChargeCapturePostBilledChange[], CandidApi.chargeCapture.v1.updatePostBilledChanges.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.chargeCapture.v1.updatePostBilledChanges({
    chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
    resolved: true
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">update</a>(charge_capture_id, { ...params }) -> core.APIResponse&lt;CandidApi.ChargeCapture, CandidApi.chargeCapture.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.chargeCapture.v1.update(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**charge_capture_id:** `CandidApi.ChargeCaptureId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.chargeCapture.v1.ChargeCaptureUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">get</a>(charge_capture_id) -> core.APIResponse&lt;CandidApi.ChargeCapture, CandidApi.chargeCapture.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.chargeCapture.v1.get(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**charge_capture_id:** `CandidApi.ChargeCaptureId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ChargeCapturePage, CandidApi.chargeCapture.v1.getAll.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.chargeCapture.v1.getAll();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.chargeCapture.v1.GetAllChargeCapturesRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Contracts V2
<details><summary><code>client.contracts.v2.<a href="/src/api/resources/contracts/resources/v2/client/Client.ts">get</a>(contract_id) -> core.APIResponse&lt;CandidApi.ContractWithProviders, CandidApi.contracts.v2.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

This API provides access to Professional Contracts. For Professional and Institutional Contracts use Contracts V3.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.contracts.v2.get(CandidApi.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**contract_id:** `CandidApi.ContractId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.contracts.v2.<a href="/src/api/resources/contracts/resources/v2/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ContractsPage, CandidApi.contracts.v2.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

This API provides access to Professional Contracts. For Professional and Institutional Contracts use Contracts V3.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.contracts.v2.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.contracts.v2.GetMultiContractsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.contracts.v2.<a href="/src/api/resources/contracts/resources/v2/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ContractWithProviders, CandidApi.contracts.v2.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates a new contract within the user's current organization
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.contracts.v2.create({
    contractingProviderId: CandidApi.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    renderingProviderIds: new Set([CandidApi.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
    payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    effectiveDate: CandidApi.Date_("effective_date"),
    regions: {
        type: "states",
        states: ["AA", "AA"]
    },
    commercialInsuranceTypes: {
        type: "allApply"
    },
    medicareInsuranceTypes: {
        type: "allApply"
    },
    medicaidInsuranceTypes: {
        type: "allApply"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.contracts.v2.ContractCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.contracts.v2.<a href="/src/api/resources/contracts/resources/v2/client/Client.ts">delete</a>(contract_id) -> core.APIResponse&lt;void, CandidApi.contracts.v2.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.contracts.v2.delete(CandidApi.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**contract_id:** `CandidApi.ContractId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.contracts.v2.<a href="/src/api/resources/contracts/resources/v2/client/Client.ts">update</a>(contract_id, { ...params }) -> core.APIResponse&lt;CandidApi.ContractWithProviders, CandidApi.contracts.v2.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.contracts.v2.update(CandidApi.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**contract_id:** `CandidApi.ContractId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.contracts.v2.ContractUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Contracts V3
<details><summary><code>client.contracts.v3.<a href="/src/api/resources/contracts/resources/v3/client/Client.ts">get</a>(contract_id) -> core.APIResponse&lt;CandidApi.ContractWithProvidersUnion, CandidApi.contracts.v3.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.contracts.v3.get(CandidApi.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**contract_id:** `CandidApi.ContractId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.contracts.v3.<a href="/src/api/resources/contracts/resources/v3/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ContractsPage, CandidApi.contracts.v3.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.contracts.v3.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.contracts.v3.GetMultiContractsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.contracts.v3.<a href="/src/api/resources/contracts/resources/v3/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ContractWithProvidersUnion, CandidApi.contracts.v3.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates a new contract within the user's current organization
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.contracts.v3.create({
    type: "professional",
    renderingProviderIds: new Set([CandidApi.RenderingProviderid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
    contractType: "professional",
    contractingProviderId: CandidApi.ContractingProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    effectiveDate: CandidApi.Date_("effective_date"),
    regions: {
        type: "states",
        states: ["AA", "AA"]
    },
    commercialInsuranceTypes: {
        type: "allApply"
    },
    medicareInsuranceTypes: {
        type: "allApply"
    },
    medicaidInsuranceTypes: {
        type: "allApply"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.ContractCreateUnion` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.contracts.v3.<a href="/src/api/resources/contracts/resources/v3/client/Client.ts">delete</a>(contract_id) -> core.APIResponse&lt;void, CandidApi.contracts.v3.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.contracts.v3.delete(CandidApi.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**contract_id:** `CandidApi.ContractId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.contracts.v3.<a href="/src/api/resources/contracts/resources/v3/client/Client.ts">update</a>(contract_id, { ...params }) -> core.APIResponse&lt;CandidApi.ContractWithProvidersUnion, CandidApi.contracts.v3.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.contracts.v3.update(CandidApi.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    type: "professional"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**contract_id:** `CandidApi.ContractId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.ContractUpdateUnion` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.contracts.v3.<a href="/src/api/resources/contracts/resources/v3/client/Client.ts">createContractServiceFacility</a>(contract_id, { ...params }) -> core.APIResponse&lt;CandidApi.ContractServiceFacility, CandidApi.contracts.v3.createContractServiceFacility.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.contracts.v3.createContractServiceFacility(CandidApi.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    serviceFacilityId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    providerIds: new Set(["d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"])
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**contract_id:** `CandidApi.ContractId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.contracts.v3.ContractServiceFacilityCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.contracts.v3.<a href="/src/api/resources/contracts/resources/v3/client/Client.ts">updateContractServiceFacility</a>(contract_id, contract_service_facility_id, { ...params }) -> core.APIResponse&lt;CandidApi.ContractServiceFacility, CandidApi.contracts.v3.updateContractServiceFacility.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.contracts.v3.updateContractServiceFacility(CandidApi.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.ContractServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**contract_id:** `CandidApi.ContractId` 
    
</dd>
</dl>

<dl>
<dd>

**contract_service_facility_id:** `CandidApi.ContractServiceFacilityId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.contracts.v3.ContractServiceFacilityUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Credentialing V2
<details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">createFacility</a>({ ...params }) -> core.APIResponse&lt;CandidApi.FacilityCredentialingSpan, CandidApi.credentialing.v2.createFacility.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentialing.v2.createFacility({
    serviceFacilityId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.credentialing.v2.FacilityCredentialingSpanCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">getFacility</a>(facility_credentialing_id) -> core.APIResponse&lt;CandidApi.FacilityCredentialingSpan, CandidApi.credentialing.v2.getFacility.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentialing.v2.getFacility(CandidApi.FacilityCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**facility_credentialing_id:** `CandidApi.FacilityCredentialingSpanId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">getAllFacilities</a>({ ...params }) -> core.APIResponse&lt;CandidApi.FacilityCredentialingSpanPage, CandidApi.credentialing.v2.getAllFacilities.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentialing.v2.getAllFacilities();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.credentialing.v2.GetAllFacilityCredentialingSpansRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">deleteFacility</a>(facility_credentialing_id) -> core.APIResponse&lt;void, CandidApi.credentialing.v2.deleteFacility.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Soft deletes a credentialing span rate from the system.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentialing.v2.deleteFacility(CandidApi.FacilityCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**facility_credentialing_id:** `CandidApi.FacilityCredentialingSpanId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">updateFacility</a>(facility_credentialing_id, { ...params }) -> core.APIResponse&lt;CandidApi.FacilityCredentialingSpan, CandidApi.credentialing.v2.updateFacility.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentialing.v2.updateFacility(CandidApi.FacilityCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**facility_credentialing_id:** `CandidApi.FacilityCredentialingSpanId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.credentialing.v2.FacilityCredentialingSpanUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ProviderCredentialingSpan, CandidApi.credentialing.v2.create.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentialing.v2.create({
    renderingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    contractingProviderId: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    payerUuid: "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    regions: {
        type: "states",
        states: ["AA", "AA"]
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.credentialing.v2.ProviderCredentialingSpanCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">get</a>(provider_credentialing_id) -> core.APIResponse&lt;CandidApi.ProviderCredentialingSpan, CandidApi.credentialing.v2.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentialing.v2.get(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**provider_credentialing_id:** `CandidApi.ProviderCredentialingSpanId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ProviderCredentialingSpanPage, CandidApi.credentialing.v2.getAll.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentialing.v2.getAll();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.credentialing.v2.GetAllProviderCredentialingSpansRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">delete</a>(provider_credentialing_id) -> core.APIResponse&lt;void, CandidApi.credentialing.v2.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Soft deletes a credentialing span rate from the system.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentialing.v2.delete(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**provider_credentialing_id:** `CandidApi.ProviderCredentialingSpanId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.credentialing.v2.<a href="/src/api/resources/credentialing/resources/v2/client/Client.ts">update</a>(provider_credentialing_id, { ...params }) -> core.APIResponse&lt;CandidApi.ProviderCredentialingSpan, CandidApi.credentialing.v2.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.credentialing.v2.update(CandidApi.ProviderCredentialingSpanId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**provider_credentialing_id:** `CandidApi.ProviderCredentialingSpanId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.credentialing.v2.ProviderCredentialingSpanUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## CustomSchemas V1
<details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">getMulti</a>() -> core.APIResponse&lt;CandidApi.SchemaGetMultiResponse, CandidApi.customSchemas.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns all custom schemas.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.customSchemas.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">get</a>(schema_id) -> core.APIResponse&lt;CandidApi.Schema, CandidApi.customSchemas.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Return a custom schema with a given ID.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.customSchemas.v1.get(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**schema_id:** `CandidApi.SchemaId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Schema, CandidApi.customSchemas.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Create custom schema with a set of typed keys. Schema keys can be referenced as inputs in user-configurable rules in the Rules
Engine, and key-value pairs can be attached to claims via the Encounters API.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.customSchemas.v1.create({
    name: "General Medicine",
    description: "Values associated with a generic visit",
    fields: [{
            key: "provider_category",
            type: "STRING"
        }, {
            key: "is_urgent_care",
            type: "BOOLEAN"
        }, {
            key: "bmi",
            type: "DOUBLE"
        }, {
            key: "age",
            type: "INTEGER"
        }]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.customSchemas.v1.SchemaCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">update</a>(schema_id, { ...params }) -> core.APIResponse&lt;CandidApi.Schema, CandidApi.customSchemas.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update the name, description, or keys on a preexisting schema.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.customSchemas.v1.update(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"), {
    name: "General Medicine and Health",
    description: "Values collected during all visits",
    fieldsToAdd: [{
            key: "visit_type",
            type: "STRING"
        }]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**schema_id:** `CandidApi.SchemaId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.customSchemas.v1.SchemaUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Eligibility V2
<details><summary><code>client.eligibility.v2.<a href="/src/api/resources/eligibility/resources/v2/client/Client.ts">submitEligibilityCheckAvaility</a>() -> core.APIResponse&lt;unknown, CandidApi.eligibility.v2.submitEligibilityCheckAvaility.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

<Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/pre-encounter/eligibility-checks/v-1/post).
For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>

**Availity has transitioned their GET endpoint to a POST endpoint. Candid has updated their pass-through integration to enable backwards compatibility for the GET endpoint so that customers do not have to immediately update their integrations.**

**Candid recommends integrations with the [POST endpoint](https://docs.joincandidhealth.com/api-reference/eligibility/v-2/submit-eligibility-check-availity-post) to ensure the best possible integration experience. Given the transition, Availity’s documentation will be out of sync with this endpoint.**

If you'd like access to this endpoint, please reach out to support@joincandidhealth.com with the subject line "Action: Activate Availity Eligibility API Endpoint

This API is a wrapper around Availity's coverages API. Below are some helpful documentation links:

- [Availity - Coverages 1.0.0 API](https://developer.availity.com/partner/documentation#c_coverages_references)
- [Candid Availity Eligibility Integration Guide](https://support.joincandidhealth.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)

A schema of the response object can be found here: [Availity Docs](https://developer.availity.com/partner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages%2F{id}/get)
* Note Availity requires a free developer account to access this documentation.

Check connection status of Availity API and partners here:
- [Availity Trading Partner Connection Status](https://www.availity.com/status/)
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.eligibility.v2.submitEligibilityCheckAvaility();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.eligibility.v2.<a href="/src/api/resources/eligibility/resources/v2/client/Client.ts">submitEligibilityCheckAvailityPost</a>({ ...params }) -> core.APIResponse&lt;unknown, CandidApi.eligibility.v2.submitEligibilityCheckAvailityPost.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

<Tip>Candid is deprecating support for this endpoint. It is instead recommended to use [Candid's Stedi passthrough endpoint](https://docs.joincandidhealth.com/api-reference/pre-encounter/eligibility-checks/v-1/post).
For assistance with the transition, please reference the [Transitioning to Candid's New Eligibility Endpoint](https://support.joincandidhealth.com/hc/en-us/articles/34918552872980) document in the Candid Support Center.</Tip>

If you'd like access to this endpoint, please reach out to support@joincandidhealth.com with the subject line "Action: Activate Availity Eligibility API Endpoint

This API is a wrapper around Availity's coverages API. Below are some helpful documentation links:

- [Availity - Coverages 1.0.0 API](https://developer.availity.com/partner/documentation#c_coverages_references)
- [Candid Availity Eligibility Integration Guide](https://support.joincandidhealth.com/hc/en-us/articles/24218441631892--Availity-Eligibility-Integration-Guide)

A schema of the response object can be found here: [Availity Docs](https://developer.availity.com/partner/product/191210/api/190898#/Coverages_100/operation/%2Fcoverages%2F{id}/get)
* Note Availity requires a free developer account to access this documentation.

Check connection status of Availity API and partners here:
- [Availity Trading Partner Connection Status](https://www.availity.com/status/)
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.eligibility.v2.submitEligibilityCheckAvailityPost({
    "key": "value"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `unknown` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## EncounterAttachments V1
<details><summary><code>client.encounterAttachments.v1.<a href="/src/api/resources/encounterAttachments/resources/v1/client/Client.ts">get</a>(encounter_id) -> core.APIResponse&lt;CandidApi.EncounterAttachment[], CandidApi.encounterAttachments.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterAttachments.v1.get(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterAttachments.v1.<a href="/src/api/resources/encounterAttachments/resources/v1/client/Client.ts">getByChargeCaptureExternalId</a>(charge_capture_external_id) -> core.APIResponse&lt;CandidApi.ChargeCaptureAttachment[], CandidApi.encounterAttachments.v1.getByChargeCaptureExternalId.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns all attachments associated with the given charge capture external ID.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterAttachments.v1.getByChargeCaptureExternalId("charge_capture_external_id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**charge_capture_external_id:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterAttachments.v1.<a href="/src/api/resources/encounterAttachments/resources/v1/client/Client.ts">deleteByChargeCaptureExternalId</a>(charge_capture_external_id, { ...params }) -> core.APIResponse&lt;void, CandidApi.encounterAttachments.v1.deleteByChargeCaptureExternalId.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Deletes an attachment associated with the given charge capture external ID.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterAttachments.v1.deleteByChargeCaptureExternalId("charge_capture_external_id", {
    attachmentId: CandidApi.AttachmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**charge_capture_external_id:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.encounterAttachments.v1.DeleteExternalAttachmentRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterAttachments.v1.<a href="/src/api/resources/encounterAttachments/resources/v1/client/Client.ts">delete</a>(encounter_id, { ...params }) -> core.APIResponse&lt;void, CandidApi.encounterAttachments.v1.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterAttachments.v1.delete(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    attachmentId: CandidApi.AttachmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.encounterAttachments.v1.DeleteAttachmentRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## EncounterProviders V2
<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">updateReferringProvider</a>(encounter_id, { ...params }) -> core.APIResponse&lt;CandidApi.EncounterProvider, CandidApi.encounterProviders.v2.updateReferringProvider.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterProviders.v2.updateReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.ReferringProviderUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">updateInitialReferringProvider</a>(encounter_id, { ...params }) -> core.APIResponse&lt;CandidApi.EncounterProvider, CandidApi.encounterProviders.v2.updateInitialReferringProvider.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterProviders.v2.updateInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.InitialReferringProviderUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">updateSupervisingProvider</a>(encounter_id, { ...params }) -> core.APIResponse&lt;CandidApi.EncounterProvider, CandidApi.encounterProviders.v2.updateSupervisingProvider.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterProviders.v2.updateSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.SupervisingProviderUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">updateOrderingProvider</a>(service_line_id, { ...params }) -> core.APIResponse&lt;CandidApi.EncounterProvider, CandidApi.encounterProviders.v2.updateOrderingProvider.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterProviders.v2.updateOrderingProvider(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**service_line_id:** `CandidApi.ServiceLineId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.OrderingProviderUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">createReferringProvider</a>(encounter_id, { ...params }) -> core.APIResponse&lt;CandidApi.EncounterProvider, CandidApi.encounterProviders.v2.createReferringProvider.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterProviders.v2.createReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    npi: "npi"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.ReferringProvider` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">createInitialReferringProvider</a>(encounter_id, { ...params }) -> core.APIResponse&lt;CandidApi.EncounterProvider, CandidApi.encounterProviders.v2.createInitialReferringProvider.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterProviders.v2.createInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    npi: "npi"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.InitialReferringProvider` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">createSupervisingProvider</a>(encounter_id, { ...params }) -> core.APIResponse&lt;CandidApi.EncounterProvider, CandidApi.encounterProviders.v2.createSupervisingProvider.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterProviders.v2.createSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    npi: "npi"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.SupervisingProvider` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">createOrderingProvider</a>(service_line_id, { ...params }) -> core.APIResponse&lt;CandidApi.EncounterProvider, CandidApi.encounterProviders.v2.createOrderingProvider.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterProviders.v2.createOrderingProvider(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    npi: "npi"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**service_line_id:** `CandidApi.ServiceLineId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.OrderingProvider` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">deleteReferringProvider</a>(encounter_id) -> core.APIResponse&lt;void, CandidApi.encounterProviders.v2.deleteReferringProvider.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterProviders.v2.deleteReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">deleteInitialReferringProvider</a>(encounter_id) -> core.APIResponse&lt;void, CandidApi.encounterProviders.v2.deleteInitialReferringProvider.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterProviders.v2.deleteInitialReferringProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">deleteSupervisingProvider</a>(encounter_id) -> core.APIResponse&lt;void, CandidApi.encounterProviders.v2.deleteSupervisingProvider.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterProviders.v2.deleteSupervisingProvider(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterProviders.v2.<a href="/src/api/resources/encounterProviders/resources/v2/client/Client.ts">deleteOrderingProvider</a>(service_line_id) -> core.APIResponse&lt;void, CandidApi.encounterProviders.v2.deleteOrderingProvider.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterProviders.v2.deleteOrderingProvider(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**service_line_id:** `CandidApi.ServiceLineId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## EncounterSupplementalInformation V1
<details><summary><code>client.encounterSupplementalInformation.v1.<a href="/src/api/resources/encounterSupplementalInformation/resources/v1/client/Client.ts">get</a>(encounter_id) -> core.APIResponse&lt;CandidApi.SupplementalInformation[], CandidApi.encounterSupplementalInformation.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterSupplementalInformation.v1.get(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterSupplementalInformation.v1.<a href="/src/api/resources/encounterSupplementalInformation/resources/v1/client/Client.ts">create</a>(encounter_id, { ...params }) -> core.APIResponse&lt;CandidApi.SupplementalInformation, CandidApi.encounterSupplementalInformation.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterSupplementalInformation.v1.create(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    attachmentReportTypeCode: "03",
    attachmentTransmissionCode: "BM",
    attachmentInclusion: "not_included"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.CreateSupplementalInformationRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterSupplementalInformation.v1.<a href="/src/api/resources/encounterSupplementalInformation/resources/v1/client/Client.ts">update</a>(encounter_id, supplemental_information_id, { ...params }) -> core.APIResponse&lt;CandidApi.SupplementalInformation, CandidApi.encounterSupplementalInformation.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterSupplementalInformation.v1.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.SupplementalInformationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**supplemental_information_id:** `CandidApi.SupplementalInformationId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.UpdateSupplementalInformationRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounterSupplementalInformation.v1.<a href="/src/api/resources/encounterSupplementalInformation/resources/v1/client/Client.ts">delete</a>(encounter_id, supplemental_information_id) -> core.APIResponse&lt;void, CandidApi.encounterSupplementalInformation.v1.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounterSupplementalInformation.v1.delete(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.SupplementalInformationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**supplemental_information_id:** `CandidApi.SupplementalInformationId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Encounters V4
<details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse&lt;CandidApi.EncounterPage, CandidApi.encounters.v4.getAll.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounters.v4.getAll({
    limit: 100,
    claimStatus: "biller_received",
    sort: "created_at:asc",
    pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
    dateOfServiceMin: "2019-08-24",
    dateOfServiceMax: "2019-08-25",
    primaryPayerNames: "Medicare,Medicaid",
    searchTerm: "doe",
    externalId: CandidApi.EncounterExternalId("123456"),
    diagnosesUpdatedSince: new Date("2019-08-24T14:15:22.000Z")
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.encounters.v4.GetAllEncountersRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">get</a>(encounter_id) -> core.APIResponse&lt;CandidApi.Encounter, CandidApi.encounters.v4.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounters.v4.get(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">createUniversal</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Encounter, CandidApi.encounters.v4.createUniversal.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
express, written consent of AHA.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounters.v4.createUniversal({
    billingProvider: {
        address: {
            zipPlusFourCode: "zip_plus_four_code",
            address1: "address1",
            city: "city",
            state: "AA",
            zipCode: "zip_code"
        },
        taxId: "tax_id",
        npi: "npi"
    },
    submissionExpectation: "TARGET_PROFESSIONAL",
    patient: {
        externalId: "external_id",
        dateOfBirth: "2023-01-15",
        address: {
            address1: "address1",
            city: "city",
            state: "AA",
            zipCode: "zip_code"
        },
        firstName: "first_name",
        lastName: "last_name",
        gender: "male"
    },
    responsibleParty: "INSURANCE_PAY",
    externalId: CandidApi.EncounterExternalId("external_id"),
    patientAuthorizedRelease: true,
    benefitsAssignedToProvider: true,
    providerAcceptsAssignment: true,
    billableStatus: "BILLABLE"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.UniversalEncounterCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Encounter, CandidApi.encounters.v4.create.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounters.v4.create({
    billingProvider: {
        address: {
            zipPlusFourCode: "zip_plus_four_code",
            address1: "address1",
            city: "city",
            state: "AA",
            zipCode: "zip_code"
        },
        taxId: "tax_id",
        npi: "npi"
    },
    diagnoses: [{
            codeType: "ABF",
            code: "code"
        }, {
            codeType: "ABF",
            code: "code"
        }],
    placeOfServiceCode: "01",
    renderingProvider: {
        npi: "npi"
    },
    patient: {
        externalId: "external_id",
        dateOfBirth: "2023-01-15",
        address: {
            address1: "address1",
            city: "city",
            state: "AA",
            zipCode: "zip_code"
        },
        firstName: "first_name",
        lastName: "last_name",
        gender: "male"
    },
    responsibleParty: "INSURANCE_PAY",
    externalId: CandidApi.EncounterExternalId("external_id"),
    patientAuthorizedRelease: true,
    benefitsAssignedToProvider: true,
    providerAcceptsAssignment: true,
    billableStatus: "BILLABLE"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.EncounterCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">createFromPreEncounterPatientUniversal</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Create an encounter from a pre-encounter patient and appointment. This endpoint is intended to be used by consumers who are managing
patients and appointments in the pre-encounter service and is currently under development. Consumers who are not taking advantage
of the pre-encounter service should use the standard create endpoint.

The endpoint will create an encounter from the provided fields, pulling information from the provided patient and appointment objects
where applicable. In particular, the following fields are populated from the patient and appointment objects:
  - Patient
  - Referring Provider
  - Subscriber Primary
  - Subscriber Secondary
  - Referral Number
  - Responsible Party
  - Guarantor

Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
encounter has not already been submitted or adjudicated.

Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
express, written consent of AHA.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounters.v4.createFromPreEncounterPatientUniversal({
    submissionExpectation: "TARGET_PROFESSIONAL",
    preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    preEncounterAppointmentIds: [CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
    billingProvider: {
        address: {
            zipPlusFourCode: "zip_plus_four_code",
            address1: "address1",
            city: "city",
            state: "AA",
            zipCode: "zip_code"
        },
        taxId: "tax_id",
        npi: "npi"
    },
    externalId: CandidApi.EncounterExternalId("external_id"),
    patientAuthorizedRelease: true,
    benefitsAssignedToProvider: true,
    providerAcceptsAssignment: true,
    billableStatus: "BILLABLE"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.UniversalEncounterCreateFromPreEncounter` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">createFromPreEncounterPatient</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatient.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Create an encounter from a pre-encounter patient and appointment. This endpoint is intended to be used by consumers who are managing
patients and appointments in the pre-encounter service and is currently under development. Consumers who are not taking advantage
of the pre-encounter service should use the standard create endpoint.

The endpoint will create an encounter from the provided fields, pulling information from the provided patient and appointment objects
where applicable. In particular, the following fields are populated from the patient and appointment objects:
  - Patient
  - Referring Provider
  - Subscriber Primary
  - Subscriber Secondary
  - Referral Number
  - Responsible Party
  - Guarantor

Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
encounter has not already been submitted or adjudicated.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounters.v4.createFromPreEncounterPatient({
    renderingProvider: {
        npi: "npi"
    },
    placeOfServiceCode: "01",
    diagnoses: [{
            codeType: "ABF",
            code: "code"
        }, {
            codeType: "ABF",
            code: "code"
        }],
    preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    preEncounterAppointmentIds: [CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
    billingProvider: {
        address: {
            zipPlusFourCode: "zip_plus_four_code",
            address1: "address1",
            city: "city",
            state: "AA",
            zipCode: "zip_code"
        },
        taxId: "tax_id",
        npi: "npi"
    },
    externalId: CandidApi.EncounterExternalId("external_id"),
    patientAuthorizedRelease: true,
    benefitsAssignedToProvider: true,
    providerAcceptsAssignment: true,
    billableStatus: "BILLABLE"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.EncounterCreateFromPreEncounter` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">updateUniversal</a>(encounter_id, { ...params }) -> core.APIResponse&lt;CandidApi.Encounter, CandidApi.encounters.v4.updateUniversal.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Notice: The UB-04 Data File, 2025, is copyrighted by American Hospital Association (AHA), Chicago, Illinois.
No portion of the THE UB-04 Data File, may be reproduced, stored in a retrieval system, or transmitted,
in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without prior
express, written consent of AHA.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounters.v4.updateUniversal(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.UniversalEncounterUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">update</a>(encounter_id, { ...params }) -> core.APIResponse&lt;CandidApi.Encounter, CandidApi.encounters.v4.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.EncounterUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Events V1
<details><summary><code>client.events.v1.<a href="/src/api/resources/events/resources/v1/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse&lt;CandidApi.EventScanPage, CandidApi.events.v1.scan.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Scans the last 30 days of events. All results are sorted by created date, descending.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.events.v1.scan();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.events.v1.GetEventScanRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.events.v1.<a href="/src/api/resources/events/resources/v1/client/Client.ts">get</a>(event_id) -> core.APIResponse&lt;CandidApi.Event, CandidApi.events.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.events.v1.get(CandidApi.EventId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**event_id:** `CandidApi.EventId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Exports V3
<details><summary><code>client.exports.v3.<a href="/src/api/resources/exports/resources/v3/client/Client.ts">getExports</a>({ ...params }) -> core.APIResponse&lt;CandidApi.GetExportsResponse, CandidApi.exports.v3.getExports.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

<Warning>
API-based exports are in the process of being deprecated in favor of Candid Data Share and are not being offered to new customers.
Please see the [Candid Data Share docs](https://docs.joincandidhealth.com/introduction/candid-data-share) for more information.
</Warning>

Retrieve CSV-formatted reports on claim submissions and outcomes. This endpoint returns Export objects that contain an
authenticated URL to a customer's reports with a 2min TTL. The schema for the CSV export can be found [here](https://app.joincandidhealth.com/files/exports_schema.csv).

**Schema changes:** Changing column order, removing columns, or changing the name of a column is considered a
[Breaking Change](../../../api-principles/breaking-changes). Adding new columns to the end of the Exports file is not considered a
Breaking Change and happens periodically. For this reason, it is important that any downstream automation or processes built on top
of Candid Health's export files be resilient to the addition of new columns at the end of the file.

**SLA guarantees:** Files for a given date are guaranteed to be available after 3 business days. For example, Friday's file will be
available by Wednesday at the latest. If file generation is still in progress upon request before 3 business days have passed, the
caller will receive a 422 response. If the file has already been generated, it will be served. Historic files should be available
up to 90 days in the past by default. Please email our [Support team](mailto:support@joincandidhealth.com) with any data requests
outside of these stated guarantees.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.exports.v3.getExports({
    startDate: "2023-10-01",
    endDate: "2023-10-02"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.exports.v3.GetExportsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## ExternalPaymentAccountConfig V1
<details><summary><code>client.externalPaymentAccountConfig.v1.<a href="/src/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ExternalPaymentAccountConfigPage, CandidApi.externalPaymentAccountConfig.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.externalPaymentAccountConfig.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.externalPaymentAccountConfig.v1.GetExternalPaymentAccountConfigsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## FeeSchedules V3
<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">getMatch</a>(service_line_id) -> core.APIResponse&lt;CandidApi.MatchResult | undefined, CandidApi.feeSchedules.v3.getMatch.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets the rate that matches a service line.  No result means no rate exists matching the service line's dimensions.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.feeSchedules.v3.getMatch(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**service_line_id:** `CandidApi.ServiceLineId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">testMatch</a>(service_line_id, rate_id) -> core.APIResponse&lt;CandidApi.MatchTestResult, CandidApi.feeSchedules.v3.testMatch.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Tests a service line against a rate to see if it matches.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.feeSchedules.v3.testMatch(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.RateId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**service_line_id:** `CandidApi.ServiceLineId` 
    
</dd>
</dl>

<dl>
<dd>

**rate_id:** `CandidApi.RateId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.RatesPage, CandidApi.feeSchedules.v3.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets a list of dimensions with their rates. The rates returned will always be the most recent versions of those rates.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.feeSchedules.v3.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.feeSchedules.v3.GetMultiRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">getUniqueValuesForDimension</a>({ ...params }) -> core.APIResponse&lt;CandidApi.DimensionsPage, CandidApi.feeSchedules.v3.getUniqueValuesForDimension.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets unique values for a dimension based on other selection criteria. The response is a list of dimensions with your criteria and the unique values populated. This API is useful for driving pivots on dimension values.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.feeSchedules.v3.getUniqueValuesForDimension({
    pivotDimension: "payer_uuid"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.feeSchedules.v3.GetUniqueDimensionValuesRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">getRateHistory</a>(rate_id) -> core.APIResponse&lt;CandidApi.Rate[], CandidApi.feeSchedules.v3.getRateHistory.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets every version of a rate.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.feeSchedules.v3.getRateHistory(CandidApi.RateId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**rate_id:** `CandidApi.RateId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">uploadFeeSchedule</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Rate[], CandidApi.feeSchedules.v3.uploadFeeSchedule.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Uploads a new fee schedule.

Each rate may either be totally new as qualified by it's dimensions or a new version for an existing rate.

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.

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.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.feeSchedules.v3.uploadFeeSchedule({
    dryRun: true,
    rates: [{
            type: "new_rate",
            dimensions: {
                payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
                organizationBillingProviderId: CandidApi.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
                states: new Set(["AA"]),
                zipCodes: new Set(["zip_codes"]),
                licenseTypes: new Set(["MD"]),
                facilityTypeCodes: new Set(["01"]),
                networkTypes: new Set(["12"]),
                payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
                cptCode: "cpt_code",
                modifiers: new Set(["AV"])
            },
            entries: [{
                    startDate: "2023-01-15",
                    rateCents: 1,
                    isDeactivated: true
                }, {
                    startDate: "2023-01-15",
                    rateCents: 1,
                    isDeactivated: true
                }]
        }, {
            type: "new_rate",
            dimensions: {
                payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
                organizationBillingProviderId: CandidApi.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
                states: new Set(["AA"]),
                zipCodes: new Set(["zip_codes"]),
                licenseTypes: new Set(["MD"]),
                facilityTypeCodes: new Set(["01"]),
                networkTypes: new Set(["12"]),
                payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
                cptCode: "cpt_code",
                modifiers: new Set(["AV"])
            },
            entries: [{
                    startDate: "2023-01-15",
                    rateCents: 1,
                    isDeactivated: true
                }, {
                    startDate: "2023-01-15",
                    rateCents: 1,
                    isDeactivated: true
                }]
        }]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.feeSchedules.v3.FeeScheduleUploadRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">deleteRate</a>(rate_id, version) -> core.APIResponse&lt;void, CandidApi.feeSchedules.v3.deleteRate.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Soft deletes a rate from the system.  Only the most recent version of a rate can be deleted.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.feeSchedules.v3.deleteRate(CandidApi.RateId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), 1);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**rate_id:** `CandidApi.RateId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `number` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">getPayerThresholdsDefault</a>() -> core.APIResponse&lt;CandidApi.PayerThreshold, CandidApi.feeSchedules.v3.getPayerThresholdsDefault.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets the default payer threshold
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.feeSchedules.v3.getPayerThresholdsDefault();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">getPayerThresholds</a>({ ...params }) -> core.APIResponse&lt;CandidApi.PayerThresholdsPage, CandidApi.feeSchedules.v3.getPayerThresholds.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets a list of payers and thresholds by their uuids
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.feeSchedules.v3.getPayerThresholds({
    payerUuids: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.feeSchedules.v3.PayerThresholdGetRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">setPayerThreshold</a>(payer_uuid, { ...params }) -> core.APIResponse&lt;CandidApi.PayerThreshold, CandidApi.feeSchedules.v3.setPayerThreshold.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Sets the threshold information for a payer
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.feeSchedules.v3.setPayerThreshold(CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    disablePaidIncorrectly: true
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**payer_uuid:** `CandidApi.PayerUuid` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.PayerThreshold` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">hardDeleteRates</a>({ ...params }) -> core.APIResponse&lt;number, CandidApi.feeSchedules.v3.hardDeleteRates.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Hard deletes rates from the system that match the provided dimensions.  This is a destructive operation and cannot be undone.  If an empty dimensions object is provided, all rates will be hard deleted.  The maximum number of rates this API will delete at a time is 10000.  Returns the number of rates deleted and if that number is the maximum, the caller should call this API again to continue deleting rates.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.feeSchedules.v3.hardDeleteRates({
    states: new Set(["AA"]),
    zipCodes: new Set(["zip_codes"]),
    licenseTypes: new Set(["MD"]),
    facilityTypeCodes: new Set(["01"]),
    networkTypes: new Set(["12"]),
    payerPlanGroupIds: new Set([CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]),
    modifiers: new Set(["AV"])
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.OptionalDimensions` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.feeSchedules.v3.<a href="/src/api/resources/feeSchedules/resources/v3/client/Client.ts">hardDeleteRatesByIds</a>({ ...params }) -> core.APIResponse&lt;number, CandidApi.feeSchedules.v3.hardDeleteRatesByIds.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Hard deletes specific rates from the system by their IDs. This is a destructive operation and cannot be undone. Limited to 100 rate IDs maximum per request. For bulk deletion of more than 100 rates, use the hard_delete_rates endpoint with dimension filters. Returns the number of rates deleted.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.feeSchedules.v3.hardDeleteRatesByIds({
    rateIds: [CandidApi.RateId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.RateId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.feeSchedules.v3.HardDeleteRatesByIdsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Guarantor V1
<details><summary><code>client.guarantor.v1.<a href="/src/api/resources/guarantor/resources/v1/client/Client.ts">create</a>(encounter_id, { ...params }) -> core.APIResponse&lt;CandidApi.Guarantor, CandidApi.guarantor.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates a new guarantor and returns the newly created Guarantor object.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.guarantor.v1.create(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    firstName: "first_name",
    lastName: "last_name",
    externalId: "external_id",
    address: {
        address1: "address1",
        city: "city",
        state: "AA",
        zipCode: "zip_code"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.GuarantorCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.guarantor.v1.<a href="/src/api/resources/guarantor/resources/v1/client/Client.ts">get</a>(guarantor_id) -> core.APIResponse&lt;CandidApi.Guarantor, CandidApi.guarantor.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieves a guarantor by its `guarantor_id`.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.guarantor.v1.get(CandidApi.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**guarantor_id:** `CandidApi.GuarantorId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.guarantor.v1.<a href="/src/api/resources/guarantor/resources/v1/client/Client.ts">update</a>(guarantor_id, { ...params }) -> core.APIResponse&lt;CandidApi.Guarantor, CandidApi.guarantor.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates a guarantor by its `guarantor_id`.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.guarantor.v1.update(CandidApi.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**guarantor_id:** `CandidApi.GuarantorId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.GuarantorUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## HealthCareCodeInformation V1
<details><summary><code>client.healthCareCodeInformation.v1.<a href="/src/api/resources/healthCareCodeInformation/resources/v1/client/Client.ts">update</a>(encounter_id, { ...params }) -> core.APIResponse&lt;CandidApi.HealthCareCodeInformationGetAllResponse, CandidApi.healthCareCodeInformation.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.healthCareCodeInformation.v1.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.HealthCareCodeInformationUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.healthCareCodeInformation.v1.<a href="/src/api/resources/healthCareCodeInformation/resources/v1/client/Client.ts">getAllForEncounter</a>(encounter_id) -> core.APIResponse&lt;CandidApi.HealthCareCodeInformationGetAllResponse, CandidApi.healthCareCodeInformation.v1.getAllForEncounter.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.healthCareCodeInformation.v1.getAllForEncounter(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**encounter_id:** `CandidApi.EncounterId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## ImportInvoice V1
<details><summary><code>client.importInvoice.v1.<a href="/src/api/resources/importInvoice/resources/v1/client/Client.ts">importInvoice</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ImportInvoice, CandidApi.importInvoice.v1.importInvoice.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Import an existing invoice from a third party service to reflect state in Candid.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.importInvoice.v1.importInvoice({
    externalPaymentAccountConfigId: CandidApi.PaymentAccountConfigId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
    externalCustomerIdentifier: "external_customer_identifier",
    items: [{
            attribution: {
                type: "service_line_id",
                value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
            },
            amountCents: 1
        }, {
            attribution: {
                type: "service_line_id",
                value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
            },
            amountCents: 1
        }],
    status: "DRAFT",
    externalIdentifier: "external_identifier"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.CreateImportInvoiceRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.importInvoice.v1.<a href="/src/api/resources/importInvoice/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ImportInvoicesPage, CandidApi.importInvoice.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns all Invoices for the authenticated user's organziation with all filters applied.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.importInvoice.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.importInvoice.v1.SearchImportedInvoicesRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.importInvoice.v1.<a href="/src/api/resources/importInvoice/resources/v1/client/Client.ts">get</a>(invoice_id) -> core.APIResponse&lt;CandidApi.ImportInvoice, CandidApi.importInvoice.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieve and view an import invoice
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.importInvoice.v1.get(CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**invoice_id:** `CandidApi.InvoiceId` — InvoiceId to be returned
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.importInvoice.v1.<a href="/src/api/resources/importInvoice/resources/v1/client/Client.ts">update</a>(invoice_id, { ...params }) -> core.APIResponse&lt;CandidApi.ImportInvoice, CandidApi.importInvoice.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update the information on the imported invoice
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.importInvoice.v1.update(CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**invoice_id:** `CandidApi.InvoiceId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.ImportInvoiceUpdateRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## InsuranceAdjudications V1
<details><summary><code>client.insuranceAdjudications.v1.<a href="/src/api/resources/insuranceAdjudications/resources/v1/client/Client.ts">get</a>(insurance_adjudication_id) -> core.APIResponse&lt;CandidApi.InsuranceAdjudication, CandidApi.insuranceAdjudications.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieves a previously created insurance adjudication by its `insurance_adjudication_id`.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.insuranceAdjudications.v1.get(CandidApi.InsuranceAdjudicationId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**insurance_adjudication_id:** `CandidApi.InsuranceAdjudicationId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## InsuranceRefunds V1
<details><summary><code>client.insuranceRefunds.v1.<a href="/src/api/resources/insuranceRefunds/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.InsuranceRefundsPage, CandidApi.insuranceRefunds.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns all insurance refunds satisfying the search criteria AND whose organization_id matches
the current organization_id of the authenticated user.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.insuranceRefunds.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.insuranceRefunds.v1.GetMultiInsuranceRefundsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.insuranceRefunds.v1.<a href="/src/api/resources/insuranceRefunds/resources/v1/client/Client.ts">get</a>(insurance_refund_id) -> core.APIResponse&lt;CandidApi.InsuranceRefund, CandidApi.insuranceRefunds.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieves a previously created insurance refund by its `insurance_refund_id`.
If the refund does not exist, a `403` will be thrown.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.insuranceRefunds.v1.get(CandidApi.InsuranceRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**insurance_refund_id:** `CandidApi.InsuranceRefundId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.insuranceRefunds.v1.<a href="/src/api/resources/insuranceRefunds/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.InsuranceRefund, CandidApi.insuranceRefunds.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates a new insurance refund record and returns the newly created `InsuranceRefund` object.
The allocations can describe whether the refund is being applied toward a specific service line,
claim, or billing provider.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.insuranceRefunds.v1.create({
    payerIdentifier: {
        type: "payer_info",
        payerId: CandidApi.PayerId("payer_id"),
        payerName: CandidApi.PayerName("payer_name")
    },
    amountCents: 1,
    allocations: [{
            amountCents: 1,
            target: {
                type: "service_line_by_id",
                value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
            }
        }, {
            amountCents: 1,
            target: {
                type: "service_line_by_id",
                value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
            }
        }]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.InsuranceRefundCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.insuranceRefunds.v1.<a href="/src/api/resources/insuranceRefunds/resources/v1/client/Client.ts">update</a>(insurance_refund_id, { ...params }) -> core.APIResponse&lt;CandidApi.InsuranceRefund, CandidApi.insuranceRefunds.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates the patient refund record matching the provided insurance_refund_id. If updating the refund amount,
then the allocations must be appropriately updated as well.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.insuranceRefunds.v1.update(CandidApi.InsuranceRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**insurance_refund_id:** `CandidApi.InsuranceRefundId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.insuranceRefunds.v1.InsuranceRefundUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.insuranceRefunds.v1.<a href="/src/api/resources/insuranceRefunds/resources/v1/client/Client.ts">delete</a>(insurance_refund_id) -> core.APIResponse&lt;void, CandidApi.insuranceRefunds.v1.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Deletes the insurance refund record matching the provided `insurance_refund_id`.
If the matching record's organization_id does not match the authenticated user's
current organization_id, then a response code of `403` will be returned.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.insuranceRefunds.v1.delete(CandidApi.InsuranceRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**insurance_refund_id:** `CandidApi.InsuranceRefundId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## MedicationDispense V1
<details><summary><code>client.medicationDispense.v1.<a href="/src/api/resources/medicationDispense/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Encounter, CandidApi.medicationDispense.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.medicationDispense.v1.create({
    medicationDispenseExternalId: "medication_dispense_external_id",
    patientExternalId: "patient_external_id",
    procedureCode: "procedure_code",
    quantity: CandidApi.Decimal("quantity"),
    units: "MJ",
    dateOfService: "2023-01-15"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.MedicationDispenseCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## NonInsurancePayerPayments V1
<details><summary><code>client.nonInsurancePayerPayments.v1.<a href="/src/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.NonInsurancePayerPaymentsPage, CandidApi.nonInsurancePayerPayments.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns all non-insurance payer payments
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayerPayments.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.nonInsurancePayerPayments.v1.GetMultiNonInsurancePayerPaymentRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayerPayments.v1.<a href="/src/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.ts">get</a>(non_insurance_payer_payment_id) -> core.APIResponse&lt;CandidApi.NonInsurancePayerPayment, CandidApi.nonInsurancePayerPayments.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieves a previously created non-insurance payer payment by its `non_insurance_payer_payment_id`.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayerPayments.v1.get(CandidApi.NonInsurancePayerPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**non_insurance_payer_payment_id:** `CandidApi.NonInsurancePayerPaymentId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayerPayments.v1.<a href="/src/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.NonInsurancePayerPayment, CandidApi.nonInsurancePayerPayments.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayerPayments.v1.create({
    nonInsurancePayerId: CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    amountCents: 1,
    allocations: [{
            amountCents: 1,
            target: {
                type: "service_line_by_id",
                value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
            }
        }, {
            amountCents: 1,
            target: {
                type: "service_line_by_id",
                value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
            }
        }]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.NonInsurancePayerPaymentCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayerPayments.v1.<a href="/src/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.ts">update</a>(non_insurance_payer_payment_id, { ...params }) -> core.APIResponse&lt;CandidApi.NonInsurancePayerPayment, CandidApi.nonInsurancePayerPayments.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayerPayments.v1.update(CandidApi.NonInsurancePayerPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**non_insurance_payer_payment_id:** `CandidApi.NonInsurancePayerPaymentId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.nonInsurancePayerPayments.v1.UpdateNonInsurancePayerPaymentRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayerPayments.v1.<a href="/src/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.ts">delete</a>(non_insurance_payer_payment_id) -> core.APIResponse&lt;void, CandidApi.nonInsurancePayerPayments.v1.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Deletes the non-insurance payer payment record matching the provided `non_insurance_payer_payment_id`.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayerPayments.v1.delete(CandidApi.NonInsurancePayerPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**non_insurance_payer_payment_id:** `CandidApi.NonInsurancePayerPaymentId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## NonInsurancePayerRefunds V1
<details><summary><code>client.nonInsurancePayerRefunds.v1.<a href="/src/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.NonInsurancePayerRefundsPage, CandidApi.nonInsurancePayerRefunds.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns all non-insurance payer refunds satisfying the search criteria
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayerRefunds.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.nonInsurancePayerRefunds.v1.GetMultiNonInsurancePayerRefundsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayerRefunds.v1.<a href="/src/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.ts">get</a>(non_insurance_payer_refund_id) -> core.APIResponse&lt;CandidApi.NonInsurancePayerRefund, CandidApi.nonInsurancePayerRefunds.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieves a previously created non-insurance payer refund by its `non_insurance_payer_refund_id`.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayerRefunds.v1.get(CandidApi.NonInsurancePayerRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**non_insurance_payer_refund_id:** `CandidApi.NonInsurancePayerRefundId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayerRefunds.v1.<a href="/src/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.NonInsurancePayerRefund, CandidApi.nonInsurancePayerRefunds.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates a new non-insurance payer refund record and returns the newly created `NonInsurancePayerRefund` object.
The allocations can describe whether the refund is being applied toward a specific service line,
claim, or billing provider.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayerRefunds.v1.create({
    nonInsurancePayerId: CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    amountCents: 1,
    allocations: [{
            amountCents: 1,
            target: {
                type: "service_line_by_id",
                value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
            }
        }, {
            amountCents: 1,
            target: {
                type: "service_line_by_id",
                value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
            }
        }]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.NonInsurancePayerRefundCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayerRefunds.v1.<a href="/src/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.ts">update</a>(non_insurance_payer_refund_id, { ...params }) -> core.APIResponse&lt;CandidApi.NonInsurancePayerRefund, CandidApi.nonInsurancePayerRefunds.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates the non-insurance payer refund record matching the provided non_insurance_payer_refund_id. If updating the refund amount,
then the allocations must be appropriately updated as well.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayerRefunds.v1.update(CandidApi.NonInsurancePayerRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**non_insurance_payer_refund_id:** `CandidApi.NonInsurancePayerRefundId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.nonInsurancePayerRefunds.v1.NonInsurancePayerRefundUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayerRefunds.v1.<a href="/src/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.ts">delete</a>(non_insurance_payer_refund_id) -> core.APIResponse&lt;void, CandidApi.nonInsurancePayerRefunds.v1.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Deletes the non-insurance payer refund record matching the provided `non_insurance_payer_refund_id`.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayerRefunds.v1.delete(CandidApi.NonInsurancePayerRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**non_insurance_payer_refund_id:** `CandidApi.NonInsurancePayerRefundId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## NonInsurancePayers V1
<details><summary><code>client.nonInsurancePayers.v1.<a href="/src/api/resources/nonInsurancePayers/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.NonInsurancePayer, CandidApi.nonInsurancePayers.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayers.v1.create({
    name: "name"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.CreateNonInsurancePayerRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayers.v1.<a href="/src/api/resources/nonInsurancePayers/resources/v1/client/Client.ts">toggleEnablement</a>(non_insurance_payer_id, { ...params }) -> core.APIResponse&lt;CandidApi.NonInsurancePayer, CandidApi.nonInsurancePayers.v1.toggleEnablement.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayers.v1.toggleEnablement(CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    enabled: true
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**non_insurance_payer_id:** `CandidApi.NonInsurancePayerId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.ToggleNonInsurancePayerEnablementRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayers.v1.<a href="/src/api/resources/nonInsurancePayers/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.NonInsurancePayerPage, CandidApi.nonInsurancePayers.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayers.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.nonInsurancePayers.v1.GetMultiNonInsurancePayersRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayers.v1.<a href="/src/api/resources/nonInsurancePayers/resources/v1/client/Client.ts">getCategories</a>({ ...params }) -> core.APIResponse&lt;CandidApi.NonInsurancePayerCategoriesPage, CandidApi.nonInsurancePayers.v1.getCategories.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns a paginated list of all non-insurance payer categories.

Non-insurance payer categories are simply strings and are not stored as a
separate object in Candid. They are created when added to at least one
non-insurance payer's `category` field and are deleted when there are no
longer any non-insurance payers that contain them.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayers.v1.getCategories();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.nonInsurancePayers.v1.GetNonInsurancePayersCategoriesRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayers.v1.<a href="/src/api/resources/nonInsurancePayers/resources/v1/client/Client.ts">get</a>(non_insurance_payer_id) -> core.APIResponse&lt;CandidApi.NonInsurancePayer, CandidApi.nonInsurancePayers.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayers.v1.get(CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**non_insurance_payer_id:** `CandidApi.NonInsurancePayerId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayers.v1.<a href="/src/api/resources/nonInsurancePayers/resources/v1/client/Client.ts">update</a>(non_insurance_payer_id, { ...params }) -> core.APIResponse&lt;CandidApi.NonInsurancePayer, CandidApi.nonInsurancePayers.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayers.v1.update(CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**non_insurance_payer_id:** `CandidApi.NonInsurancePayerId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.NonInsurancePayerUpdateRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.nonInsurancePayers.v1.<a href="/src/api/resources/nonInsurancePayers/resources/v1/client/Client.ts">delete</a>(non_insurance_payer_id) -> core.APIResponse&lt;void, CandidApi.nonInsurancePayers.v1.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.nonInsurancePayers.v1.delete(CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**non_insurance_payer_id:** `CandidApi.NonInsurancePayerId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## OrganizationProviders V3
<details><summary><code>client.organizationProviders.v3.<a href="/src/api/resources/organizationProviders/resources/v3/client/Client.ts">get</a>(organization_provider_id) -> core.APIResponse&lt;CandidApi.OrganizationProviderV2, CandidApi.organizationProviders.v3.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.organizationProviders.v3.get(CandidApi.OrganizationProviderId("965A563A-0285-4910-9569-E3739C0F6EAB"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**organization_provider_id:** `CandidApi.OrganizationProviderId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.organizationProviders.v3.<a href="/src/api/resources/organizationProviders/resources/v3/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.OrganizationProviderPageV2, CandidApi.organizationProviders.v3.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.organizationProviders.v3.getMulti({
    limit: 100,
    searchTerm: "john",
    npi: "1234567890",
    isRendering: true,
    isBilling: true,
    pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9"),
    sort: "provider_name:asc"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.organizationProviders.v3.GetAllOrganizationProvidersRequestV2` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.organizationProviders.v3.<a href="/src/api/resources/organizationProviders/resources/v3/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.OrganizationProviderV2, CandidApi.organizationProviders.v3.create.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.organizationProviders.v3.create({
    npi: "npi",
    isRendering: true,
    isBilling: true,
    providerType: "INDIVIDUAL",
    licenseType: "MD",
    qualifications: [{
            identifierCode: "MCR",
            identifierValue: {
                type: "medicare_provider_identifier",
                state: "AA",
                providerNumber: "provider_number"
            }
        }, {
            identifierCode: "MCR",
            identifierValue: {
                type: "medicare_provider_identifier",
                state: "AA",
                providerNumber: "provider_number"
            }
        }]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.OrganizationProviderCreateV2` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.organizationProviders.v3.<a href="/src/api/resources/organizationProviders/resources/v3/client/Client.ts">update</a>(organization_provider_id, { ...params }) -> core.APIResponse&lt;CandidApi.OrganizationProviderV2, CandidApi.organizationProviders.v3.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.organizationProviders.v3.update(CandidApi.OrganizationProviderId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**organization_provider_id:** `CandidApi.OrganizationProviderId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.OrganizationProviderUpdateV2` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## OrganizationServiceFacilities V2
<details><summary><code>client.organizationServiceFacilities.v2.<a href="/src/api/resources/organizationServiceFacilities/resources/v2/client/Client.ts">get</a>(organization_service_facility_id) -> core.APIResponse&lt;CandidApi.OrganizationServiceFacility, CandidApi.organizationServiceFacilities.v2.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.organizationServiceFacilities.v2.get(CandidApi.OrganizationServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**organization_service_facility_id:** `CandidApi.OrganizationServiceFacilityId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.organizationServiceFacilities.v2.<a href="/src/api/resources/organizationServiceFacilities/resources/v2/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.OrganizationServiceFacilityPage, CandidApi.organizationServiceFacilities.v2.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.organizationServiceFacilities.v2.getMulti({
    limit: 100,
    name: "Test Service Facility",
    pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.organizationServiceFacilities.v2.GetAllOrganizationServiceFacilitiesRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.organizationServiceFacilities.v2.<a href="/src/api/resources/organizationServiceFacilities/resources/v2/client/Client.ts">getByExternalId</a>(external_id) -> core.APIResponse&lt;CandidApi.OrganizationServiceFacility, CandidApi.organizationServiceFacilities.v2.getByExternalId.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Looks up a single organization service facility by its `external_id` field. This can be useful
for finding service facilities within Candid which are associated with service facilities in
an external system.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.organizationServiceFacilities.v2.getByExternalId("external_id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**external_id:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.organizationServiceFacilities.v2.<a href="/src/api/resources/organizationServiceFacilities/resources/v2/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.OrganizationServiceFacility, CandidApi.organizationServiceFacilities.v2.create.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.organizationServiceFacilities.v2.create({
    name: "Test Service Facility",
    aliases: ["Test Service Facility Alias"],
    description: "Test Service Facility Description",
    status: "active",
    operationalStatus: "C",
    mode: "instance",
    type: "DX",
    physicalType: "si",
    telecoms: ["555-555-5555"],
    address: {
        address1: "123 Main St",
        address2: "Apt 1",
        city: "New York",
        state: "NY",
        zipCode: "10001",
        zipPlusFourCode: "1234"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.OrganizationServiceFacilityCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.organizationServiceFacilities.v2.<a href="/src/api/resources/organizationServiceFacilities/resources/v2/client/Client.ts">update</a>(organization_service_facility_id, { ...params }) -> core.APIResponse&lt;CandidApi.OrganizationServiceFacility, CandidApi.organizationServiceFacilities.v2.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.organizationServiceFacilities.v2.update(CandidApi.OrganizationServiceFacilityId("30F55EE6-8C0E-43FC-A7FC-DAC00D5BF569"), {
    name: "Test Service Facility",
    aliases: ["Test Service Facility Alias"],
    description: "Test Service Facility Description",
    status: "active",
    operationalStatus: "C",
    mode: "instance",
    type: "DX",
    physicalType: "si",
    telecoms: ["555-555-5555"],
    address: {
        address1: "123 Main St",
        address2: "Apt 1",
        city: "New York",
        state: "NY",
        zipCode: "10001",
        zipPlusFourCode: "1234"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**organization_service_facility_id:** `CandidApi.OrganizationServiceFacilityId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.OrganizationServiceFacilityUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.organizationServiceFacilities.v2.<a href="/src/api/resources/organizationServiceFacilities/resources/v2/client/Client.ts">delete</a>(organization_service_facility_id) -> core.APIResponse&lt;void, CandidApi.organizationServiceFacilities.v2.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.organizationServiceFacilities.v2.delete(CandidApi.OrganizationServiceFacilityId("30F55EE6-8C0E-43FC-A7FC-DAC00D5BF569"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**organization_service_facility_id:** `CandidApi.OrganizationServiceFacilityId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## PatientAr V1
<details><summary><code>client.patientAr.v1.<a href="/src/api/resources/patientAr/resources/v1/client/Client.ts">listInventory</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ListInventoryPagedResponse, CandidApi.patientAr.v1.listInventory.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieve a list of inventory records based on the provided filters. Each inventory record provides the latest invoiceable status of the associated claim.
The response is paginated, and the `page_token` can be used to retrieve subsequent pages. Initial requests should not include `page_token`.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.patientAr.v1.listInventory();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.patientAr.v1.GetInventoryRecordsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.patientAr.v1.<a href="/src/api/resources/patientAr/resources/v1/client/Client.ts">itemize</a>(claim_id) -> core.APIResponse&lt;CandidApi.InvoiceItemizationResponse, CandidApi.patientAr.v1.itemize.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Provides detailed itemization of invoice data for a specific claim.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.patientAr.v1.itemize(CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**claim_id:** `CandidApi.ClaimId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## PatientPayments V4
<details><summary><code>client.patientPayments.v4.<a href="/src/api/resources/patientPayments/resources/v4/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.PatientPaymentsPage, CandidApi.patientPayments.v4.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns all patient payments satisfying the search criteria AND whose organization_id matches
the current organization_id of the authenticated user.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.patientPayments.v4.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.patientPayments.v4.GetMultiPatientPaymentsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.patientPayments.v4.<a href="/src/api/resources/patientPayments/resources/v4/client/Client.ts">get</a>(patient_payment_id) -> core.APIResponse&lt;CandidApi.PatientPayment, CandidApi.patientPayments.v4.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieves a previously created patient payment by its `patient_payment_id`.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.patientPayments.v4.get(CandidApi.PatientPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**patient_payment_id:** `CandidApi.PatientPaymentId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.patientPayments.v4.<a href="/src/api/resources/patientPayments/resources/v4/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.PatientPayment, CandidApi.patientPayments.v4.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates a new patient payment record and returns the newly created PatientPayment object.
The allocations can describe whether the payment is being applied toward a specific service line,
claim, or billing provider.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.patientPayments.v4.create({
    amountCents: 1,
    patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
    allocations: [{
            amountCents: 1,
            target: {
                type: "service_line_by_id",
                value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
            }
        }, {
            amountCents: 1,
            target: {
                type: "service_line_by_id",
                value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
            }
        }]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.patientPayments.v4.PatientPaymentCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.patientPayments.v4.<a href="/src/api/resources/patientPayments/resources/v4/client/Client.ts">update</a>(patient_payment_id, { ...params }) -> core.APIResponse&lt;CandidApi.PatientPayment, CandidApi.patientPayments.v4.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates the patient payment record matching the provided patient_payment_id.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.patientPayments.v4.update(CandidApi.PatientPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**patient_payment_id:** `CandidApi.PatientPaymentId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.patientPayments.v4.PatientPaymentUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.patientPayments.v4.<a href="/src/api/resources/patientPayments/resources/v4/client/Client.ts">delete</a>(patient_payment_id) -> core.APIResponse&lt;void, CandidApi.patientPayments.v4.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Deletes the patient payment record matching the provided patient_payment_id.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.patientPayments.v4.delete(CandidApi.PatientPaymentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**patient_payment_id:** `CandidApi.PatientPaymentId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## PatientRefunds V1
<details><summary><code>client.patientRefunds.v1.<a href="/src/api/resources/patientRefunds/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.PatientRefundsPage, CandidApi.patientRefunds.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns all patient refunds satisfying the search criteria AND whose organization_id matches
the current organization_id of the authenticated user.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.patientRefunds.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.patientRefunds.v1.GetMultiPatientRefundsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.patientRefunds.v1.<a href="/src/api/resources/patientRefunds/resources/v1/client/Client.ts">get</a>(patient_refund_id) -> core.APIResponse&lt;CandidApi.PatientRefund, CandidApi.patientRefunds.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieves a previously created patient refund by its `patient_refund_id`.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.patientRefunds.v1.get(CandidApi.PatientRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**patient_refund_id:** `CandidApi.PatientRefundId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.patientRefunds.v1.<a href="/src/api/resources/patientRefunds/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.PatientRefund, CandidApi.patientRefunds.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates a new patient refund record and returns the newly created PatientRefund object.
The allocations can describe whether the refund is being applied toward a specific service line,
claim, or billing provider.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.patientRefunds.v1.create({
    amountCents: 1,
    patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
    allocations: [{
            amountCents: 1,
            target: {
                type: "service_line_by_id",
                value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
            }
        }, {
            amountCents: 1,
            target: {
                type: "service_line_by_id",
                value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
            }
        }]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.patientRefunds.v1.PatientRefundCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.patientRefunds.v1.<a href="/src/api/resources/patientRefunds/resources/v1/client/Client.ts">update</a>(patient_refund_id, { ...params }) -> core.APIResponse&lt;CandidApi.PatientRefund, CandidApi.patientRefunds.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates the patient refund record matching the provided patient_refund_id.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.patientRefunds.v1.update(CandidApi.PatientRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**patient_refund_id:** `CandidApi.PatientRefundId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.patientRefunds.v1.PatientRefundUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.patientRefunds.v1.<a href="/src/api/resources/patientRefunds/resources/v1/client/Client.ts">delete</a>(patient_refund_id) -> core.APIResponse&lt;void, CandidApi.patientRefunds.v1.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Deletes the patient refund record matching the provided patient_refund_id.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.patientRefunds.v1.delete(CandidApi.PatientRefundId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**patient_refund_id:** `CandidApi.PatientRefundId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## PayerPlanGroups V1
<details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.PayerPlanGroupPage, CandidApi.payerPlanGroups.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns all payer plan groups matching filter criteria.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.payerPlanGroups.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.payerPlanGroups.v1.PayerPlanGroupGetMultiRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">get</a>(payer_plan_group_id) -> core.APIResponse&lt;CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Return a plan group with a given ID.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.payerPlanGroups.v1.get(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**payer_plan_group_id:** `CandidApi.PayerPlanGroupId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Create a payer plan group
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.payerPlanGroups.v1.create({
    planGroupName: "plan_group_name",
    payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    planType: "09"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.MutablePayerPlanGroup` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">update</a>(payer_plan_group_id, { ...params }) -> core.APIResponse&lt;CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Update any of the fields on a payer plan group
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.payerPlanGroups.v1.update(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    planGroupName: "plan_group_name",
    payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    planType: "09"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**payer_plan_group_id:** `CandidApi.PayerPlanGroupId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.MutablePayerPlanGroup` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.payerPlanGroups.v1.<a href="/src/api/resources/payerPlanGroups/resources/v1/client/Client.ts">deactivate</a>(payer_plan_group_id) -> core.APIResponse&lt;CandidApi.PayerPlanGroup, CandidApi.payerPlanGroups.v1.deactivate.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Marks the payer plan group as deactivated
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.payerPlanGroups.v1.deactivate(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**payer_plan_group_id:** `CandidApi.PayerPlanGroupId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Payers V3
<details><summary><code>client.payers.v3.<a href="/src/api/resources/payers/resources/v3/client/Client.ts">get</a>(payer_uuid) -> core.APIResponse&lt;CandidApi.Payer, CandidApi.payers.v3.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.payers.v3.get(CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**payer_uuid:** `CandidApi.PayerUuid` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.payers.v3.<a href="/src/api/resources/payers/resources/v3/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse&lt;CandidApi.PayerPage, CandidApi.payers.v3.getAll.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.payers.v3.getAll({
    limit: 100,
    searchTerm: "john",
    pageToken: CandidApi.PageToken("eyJ0b2tlbiI6IjEiLCJwYWdlX3Rva2VuIjoiMiJ9")
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.payers.v3.GetAllPayersRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Payers V4
<details><summary><code>client.payers.v4.<a href="/src/api/resources/payers/resources/v4/client/Client.ts">get</a>(payer_uuid) -> core.APIResponse&lt;CandidApi.Payer, CandidApi.payers.v4.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.payers.v4.get(CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**payer_uuid:** `CandidApi.PayerUuid` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.payers.v4.<a href="/src/api/resources/payers/resources/v4/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse&lt;CandidApi.PayerPage, CandidApi.payers.v4.getAll.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.payers.v4.getAll();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.payers.v4.GetAllPayersRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V4Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## ServiceLines V2
<details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ServiceLine, CandidApi.serviceLines.v2.create.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.serviceLines.v2.create({
    procedureCode: "procedure_code",
    quantity: CandidApi.Decimal("quantity"),
    units: "MJ",
    claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.ServiceLineCreateStandalone` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">createUniversal</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ServiceLine, CandidApi.serviceLines.v2.createUniversal.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.serviceLines.v2.createUniversal({
    quantity: CandidApi.Decimal("quantity"),
    units: "MJ",
    claimId: CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.UniversalServiceLineCreateStandalone` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">updateUniversal</a>(service_line_id, { ...params }) -> core.APIResponse&lt;CandidApi.ServiceLine, CandidApi.serviceLines.v2.updateUniversal.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.serviceLines.v2.updateUniversal(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**service_line_id:** `CandidApi.ServiceLineId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.UniversalServiceLineUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">update</a>(service_line_id, { ...params }) -> core.APIResponse&lt;CandidApi.ServiceLine, CandidApi.serviceLines.v2.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**service_line_id:** `CandidApi.ServiceLineId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.ServiceLineUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.serviceLines.v2.<a href="/src/api/resources/serviceLines/resources/v2/client/Client.ts">delete</a>(service_line_id) -> core.APIResponse&lt;void, CandidApi.serviceLines.v2.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.serviceLines.v2.delete(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**service_line_id:** `CandidApi.ServiceLineId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V2Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Superbills V1
<details><summary><code>client.superbills.v1.<a href="/src/api/resources/superbills/resources/v1/client/Client.ts">createSuperbill</a>({ ...params }) -> core.APIResponse&lt;CandidApi.SuperbillResponse, CandidApi.superbills.v1.createSuperbill.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.superbills.v1.createSuperbill({
    patientExternalId: CandidApi.PatientExternalId("patient_external_id"),
    dateRangeMin: "2023-01-15",
    dateRangeMax: "2023-01-15"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.superbills.v1.CreateSuperbillRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Tasks V3
<details><summary><code>client.tasks.v3.<a href="/src/api/resources/tasks/resources/v3/client/Client.ts">getActions</a>(task_id) -> core.APIResponse&lt;CandidApi.TaskActions, CandidApi.tasks.v3.getActions.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.tasks.v3.getActions(CandidApi.TaskId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**task_id:** `CandidApi.TaskId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.tasks.v3.<a href="/src/api/resources/tasks/resources/v3/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.TaskPage, CandidApi.tasks.v3.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.tasks.v3.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.tasks.v3.GetAllTasksRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.tasks.v3.<a href="/src/api/resources/tasks/resources/v3/client/Client.ts">get</a>(task_id) -> core.APIResponse&lt;CandidApi.Task, CandidApi.tasks.v3.get.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.tasks.v3.get(CandidApi.TaskId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**task_id:** `CandidApi.TaskId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.tasks.v3.<a href="/src/api/resources/tasks/resources/v3/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Task, CandidApi.tasks.v3.create.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.tasks.v3.create({
    encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    taskType: "CUSTOMER_DATA_REQUEST",
    description: "description",
    workQueueId: CandidApi.WorkQueueId("work_queue_id")
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.TaskCreateV3` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.tasks.v3.<a href="/src/api/resources/tasks/resources/v3/client/Client.ts">update</a>(task_id, { ...params }) -> core.APIResponse&lt;CandidApi.Task, CandidApi.tasks.v3.update.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.tasks.v3.update(CandidApi.TaskId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**task_id:** `CandidApi.TaskId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.TaskUpdateV3` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V3Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## WriteOffs V1
<details><summary><code>client.writeOffs.v1.<a href="/src/api/resources/writeOffs/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.WriteOffsPage, CandidApi.writeOffs.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns all write-offs satisfying the search criteria.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.writeOffs.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.writeOffs.v1.GetMultiWriteOffsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.writeOffs.v1.<a href="/src/api/resources/writeOffs/resources/v1/client/Client.ts">get</a>(write_off_id) -> core.APIResponse&lt;CandidApi.WriteOff, CandidApi.writeOffs.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieves a previously created write off by its `write_off_id`.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.writeOffs.v1.get(CandidApi.WriteOffId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**write_off_id:** `CandidApi.WriteOffId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.writeOffs.v1.<a href="/src/api/resources/writeOffs/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.CreateWriteOffsResponse, CandidApi.writeOffs.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates one or many write-offs applied toward a specific service line,
claim, or billing provider.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.writeOffs.v1.create({
    writeOffs: [{
            type: "patient",
            writeOffTimestamp: new Date("2024-01-15T09:30:00.000Z"),
            writeOffReason: "SMALL_BALANCE",
            serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
            amountCents: 1
        }, {
            type: "patient",
            writeOffTimestamp: new Date("2024-01-15T09:30:00.000Z"),
            writeOffReason: "SMALL_BALANCE",
            serviceLineId: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
            amountCents: 1
        }]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.writeOffs.v1.CreateWriteOffsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.writeOffs.v1.<a href="/src/api/resources/writeOffs/resources/v1/client/Client.ts">revert</a>(write_off_id) -> core.APIResponse&lt;CandidApi.WriteOff, CandidApi.writeOffs.v1.revert.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Reverts a write off given a `write_off_id`.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.writeOffs.v1.revert(CandidApi.WriteOffId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**write_off_id:** `CandidApi.WriteOffId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.writeOffs.v1.<a href="/src/api/resources/writeOffs/resources/v1/client/Client.ts">revertInsuranceBalanceAdjustment</a>(adjustment_id) -> core.APIResponse&lt;CandidApi.WriteOff, CandidApi.writeOffs.v1.revertInsuranceBalanceAdjustment.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Reverts an Insurance Balance Adjustment given an `adjustment_id`
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.writeOffs.v1.revertInsuranceBalanceAdjustment(CandidApi.AdjustmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**adjustment_id:** `CandidApi.AdjustmentId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.writeOffs.v1.<a href="/src/api/resources/writeOffs/resources/v1/client/Client.ts">revertEraOriginatedInsuranceBalanceAdjustment</a>(adjustment_id) -> core.APIResponse&lt;CandidApi.AdjustmentId, CandidApi.writeOffs.v1.revertEraOriginatedInsuranceBalanceAdjustment.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Reverts an ERA-originated Insurance Balance Adjustment given an `adjustment_id`
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.writeOffs.v1.revertEraOriginatedInsuranceBalanceAdjustment(CandidApi.AdjustmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**adjustment_id:** `CandidApi.AdjustmentId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## PreEncounter Appointments V1
<details><summary><code>client.preEncounter.appointments.v1.<a href="/src/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Appointment, CandidApi.preEncounter.appointments.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Adds an appointment.  VersionConflictError is returned when the placer_appointment_id is already in use.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.appointments.v1.create({
    patientId: CandidApi.PatientId("patient_id"),
    startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
    serviceDuration: 1,
    services: [{}, {}]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.MutableAppointment` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.appointments.v1.<a href="/src/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.ts">getVisits</a>({ ...params }) -> core.APIResponse&lt;CandidApi.VisitsPage, CandidApi.preEncounter.appointments.v1.getVisits.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets all Visits within a given time range. The return list is ordered by start_time ascending.

**IMPORTANT:** This endpoint requires a date filter on `appointment.startTimestamp` to ensure acceptable query performance.
Without date filtering, the query can take 50+ seconds on large datasets due to grouping and aggregation operations.

Example filters:
- `appointment.startTimestamp|gt|2024-01-01` - appointments after January 1, 2024
- `appointment.startTimestamp|eq|2024-12-08` - appointments on December 8, 2024
- `appointment.startTimestamp|lt|2024-12-31` - appointments before December 31, 2024

You can combine the date filter with other filters using commas:
- `appointment.startTimestamp|gt|2024-01-01,appointment.status|eq|PENDING`
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.appointments.v1.getVisits();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.appointments.v1.VisitsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.appointments.v1.<a href="/src/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse&lt;CandidApi.Appointment, CandidApi.preEncounter.appointments.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets an appointment.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.appointments.v1.get(CandidApi.AppointmentId("id"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.AppointmentId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.appointments.v1.<a href="/src/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse&lt;CandidApi.Appointment[], CandidApi.preEncounter.appointments.v1.getHistory.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets an appointment along with it's full history.  The return list is ordered by version ascending.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.appointments.v1.getHistory(CandidApi.AppointmentId("id"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.AppointmentId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.appointments.v1.<a href="/src/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse&lt;CandidApi.Appointment, CandidApi.preEncounter.appointments.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates an appointment. The path must contain the next version number to prevent race conditions. For example, if the current version of the appointment is n, you will need to send a request to this endpoint with `/{id}/n+1` to update the appointment. Updating historic versions is not supported.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.appointments.v1.update(CandidApi.AppointmentId("id"), "version", {
    patientId: CandidApi.PatientId("patient_id"),
    startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
    serviceDuration: 1,
    services: [{}, {}]
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.AppointmentId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.MutableAppointment` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.appointments.v1.<a href="/src/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Appointment[], CandidApi.preEncounter.appointments.v1.scan.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Scans up to 100 appointment updates.  The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.appointments.v1.scan({
    since: new Date("2024-01-15T09:30:00.000Z")
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.appointments.v1.AppointmentScanRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.appointments.v1.<a href="/src/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.ts">deactivate</a>(id, version) -> core.APIResponse&lt;void, CandidApi.preEncounter.appointments.v1.deactivate.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Sets an appointment as deactivated.  The path must contain the most recent version to prevent race conditions.  Deactivating historic versions is not supported. Subsequent updates via PUT to the appointment will "reactivate" the appointment and set the deactivated flag to false.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.appointments.v1.deactivate(CandidApi.AppointmentId("id"), "version");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.AppointmentId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## PreEncounter Coverages V1
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates a new Coverage. A Coverage provides the high-level identifiers and descriptors of a specific insurance plan for a specific individual - typically the information you can find on an insurance card. Additionally a coverage will include detailed benefits information covered by the specific plan for the individual.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.coverages.v1.create({
    status: "ACTIVE",
    subscriber: {
        name: {
            family: "family",
            given: ["given", "given"],
            use: "USUAL"
        },
        biologicalSex: "FEMALE"
    },
    relationship: "SELF",
    patient: CandidApi.PatientId("patient"),
    insurancePlan: {
        memberId: "member_id",
        payerId: CandidApi.PayerId("payer_id"),
        payerName: "payer_name"
    },
    verified: true
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.MutableCoverage` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse&lt;CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates a Coverage. The path must contain the next version number to prevent race conditions. For example, if the current version of the coverage is n, you will need to send a request to this endpoint with `/{id}/n+1` to update the coverage. Updating historic versions is not supported.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "version", {
    status: "ACTIVE",
    subscriber: {
        name: {
            family: "family",
            given: ["given", "given"],
            use: "USUAL"
        },
        biologicalSex: "FEMALE"
    },
    relationship: "SELF",
    patient: CandidApi.PatientId("patient"),
    insurancePlan: {
        memberId: "member_id",
        payerId: CandidApi.PayerId("payer_id"),
        payerName: "payer_name"
    },
    verified: true
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.CoverageId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.MutableCoverage` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getMultiPaginated</a>({ ...params }) -> core.APIResponse&lt;CandidApi.CoveragesPage, CandidApi.preEncounter.coverages.v1.getMultiPaginated.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns a page of Coverages based on the search criteria.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.coverages.v1.getMultiPaginated();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.coverages.v1.CoverageGetMultiPaginatedRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse&lt;CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

gets a specific Coverage
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.coverages.v1.get(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.CoverageId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getHistory</a>(id, { ...params }) -> core.APIResponse&lt;CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.getHistory.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets a coverage's history. Full history is returned if no filters are 
defined. The return list is ordered by version, defaulting to ascending.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.coverages.v1.getHistory(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.CoverageId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.preEncounter.coverages.v1.CoveragesGetHistoryRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns a list of Coverages based on the search criteria.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.coverages.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.coverages.v1.CoverageGetMultiRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.scan.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Scans up to 100 coverage updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.

**Polling Pattern:**
To continuously poll for updates without gaps:
1. Make your initial request with a `since` timestamp (e.g., `since=2020-01-01T13:00:00.000Z`)
2. The API returns up to 100 coverage records, sorted by `updated_at` ascending
3. Find the `updated_at` value from the last record in the response
4. Use that `updated_at` value as the `since` parameter in your next request
5. Repeat steps 2-4 to ingest updates until you receive an empty list

**Important Notes:**
- The `since` parameter is inclusive, so you may receive the last record from the previous batch again (you can deduplicate by ID and version)
- All coverage records include `updated_at`, `id`, `version`, `deactivated`, and `updating_user` fields for tracking changes
- Timestamps have millisecond resolution for precise ordering
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.coverages.v1.scan({
    since: new Date("2024-01-15T09:30:00.000Z")
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.coverages.v1.CoverageScanRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">batchUpdatePpg</a>(ppg_id, { ...params }) -> core.APIResponse&lt;void, CandidApi.preEncounter.coverages.v1.batchUpdatePpg.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Finds all coverages associated with the given ppg_id and updates the ppg_fields for each coverage.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.coverages.v1.batchUpdatePpg(CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    payerId: CandidApi.PayerId("payer_id"),
    payerName: "payer_name",
    planType: "09"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**ppg_id:** `CandidApi.PayerPlanGroupId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.PayerPlanGroupFields` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">checkEligibility</a>(id, { ...params }) -> core.APIResponse&lt;CandidApi.EligibilityCheckMetadata, CandidApi.preEncounter.coverages.v1.checkEligibility.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Initiates an eligibility check. Returns the metadata of the check if successfully initiated.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.coverages.v1.checkEligibility(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
    serviceCode: "1",
    dateOfService: "2023-01-15",
    npi: "npi"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.CoverageId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.preEncounter.coverages.v1.CheckEligibilityRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getEligibility</a>(id, check_id) -> core.APIResponse&lt;CandidApi.CoverageEligibilityCheckResponse, CandidApi.preEncounter.coverages.v1.getEligibility.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets the eligibility of a patient for a specific coverage if successful.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.coverages.v1.getEligibility(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "check_id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.CoverageId` 
    
</dd>
</dl>

<dl>
<dd>

**check_id:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## PreEncounter EligibilityChecks V1
<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">post</a>({ ...params }) -> core.APIResponse&lt;CandidApi.EligibilityResponse, CandidApi.preEncounter.eligibilityChecks.v1.post.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Sends real-time eligibility checks to payers through Stedi.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.eligibilityChecks.v1.post({
    payerId: "payer_id",
    provider: {
        npi: "npi"
    },
    subscriber: {
        firstName: "first_name",
        lastName: "last_name"
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.EligibilityRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">batch</a>({ ...params }) -> core.APIResponse&lt;CandidApi.BatchEligibilityResponse, CandidApi.preEncounter.eligibilityChecks.v1.batch.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Sends a batch of eligibility checks to payers through Stedi.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.eligibilityChecks.v1.batch([{
        payerId: "payer_id",
        provider: {
            npi: "npi"
        },
        subscriber: {
            firstName: "first_name",
            lastName: "last_name"
        }
    }, {
        payerId: "payer_id",
        provider: {
            npi: "npi"
        },
        subscriber: {
            firstName: "first_name",
            lastName: "last_name"
        }
    }]);

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.EligibilityRequest[]` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">pollBatch</a>(batch_id, { ...params }) -> core.APIResponse&lt;CandidApi.EligibilityCheckPage, CandidApi.preEncounter.eligibilityChecks.v1.pollBatch.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Polls the status of a batch eligibility check.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.eligibilityChecks.v1.pollBatch("batch_id");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**batch_id:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.preEncounter.eligibilityChecks.v1.BatchEligibilityPollRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">payerSearch</a>({ ...params }) -> core.APIResponse&lt;CandidApi.PayerSearchResponse, CandidApi.preEncounter.eligibilityChecks.v1.payerSearch.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Searches for payers that match the query parameters.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.eligibilityChecks.v1.payerSearch();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.eligibilityChecks.v1.PayerSearchRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">recommendation</a>({ ...params }) -> core.APIResponse&lt;CandidApi.EligibilityRecommendation[], CandidApi.preEncounter.eligibilityChecks.v1.recommendation.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets recommendation for eligibility checks based on filters. This endpoint will retrieve all the latest eligibility recommendations for each 
eligibility recommendation type for the given filters. If you want to get a specific recommendation type, you can use the `type` query parameter.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.eligibilityChecks.v1.recommendation();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.eligibilityChecks.v1.EligibilityRecommendationRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">createRecommendation</a>({ ...params }) -> core.APIResponse&lt;CandidApi.EligibilityRecommendation, CandidApi.preEncounter.eligibilityChecks.v1.createRecommendation.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Create an eligibiilty recommendation based on the request.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.eligibilityChecks.v1.createRecommendation({
    eligibilityCheckId: "eligibility_check_id",
    patient: {},
    recommendation: {
        type: "MEDICARE_ADVANTAGE",
        payload: {}
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.PostEligibilityRecommendationRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">voteRecommendation</a>(recommendation_id, version, { ...params }) -> core.APIResponse&lt;CandidApi.EligibilityRecommendation, CandidApi.preEncounter.eligibilityChecks.v1.voteRecommendation.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Submit user feedback on an eligibility recommendation. The path must contain the next version number to prevent race conditions. For example, if the current version of the recommendation is n, you will need to send a request to this endpoint with `/{recommendation_id}/{n+1}/vote` to update the vote.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.eligibilityChecks.v1.voteRecommendation("recommendation_id", "version", {
    userId: CandidApi.UserId("user_id"),
    value: "UPVOTE"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**recommendation_id:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.Vote` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.eligibilityChecks.v1.<a href="/src/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.EligibilityCheckPage, CandidApi.preEncounter.eligibilityChecks.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.eligibilityChecks.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.eligibilityChecks.v1.EligibilityChecksGetMultiRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## PreEncounter Images V1
<details><summary><code>client.preEncounter.images.v1.<a href="/src/api/resources/preEncounter/resources/images/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Image, CandidApi.preEncounter.images.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Adds an image.  VersionConflictError is returned if a front or back of this coverage already exists.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.images.v1.create({
    fileName: "file_name",
    displayName: "display_name",
    fileType: "file_type",
    status: "PENDING"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.MutableImage` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.images.v1.<a href="/src/api/resources/preEncounter/resources/images/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse&lt;CandidApi.Image, CandidApi.preEncounter.images.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets an image by imageId.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.images.v1.get(CandidApi.ImageId("id"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.ImageId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.images.v1.<a href="/src/api/resources/preEncounter/resources/images/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse&lt;CandidApi.Image, CandidApi.preEncounter.images.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates an Image.  The path must contain the most recent version to prevent races.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.images.v1.update(CandidApi.ImageId("id"), "version", {
    fileName: "file_name",
    displayName: "display_name",
    fileType: "file_type",
    status: "PENDING"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.ImageId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.MutableImage` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.images.v1.<a href="/src/api/resources/preEncounter/resources/images/resources/v1/client/Client.ts">deactivate</a>(id, version) -> core.APIResponse&lt;void, CandidApi.preEncounter.images.v1.deactivate.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Sets an Image as deactivated.  The path must contain the most recent version to prevent races.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.images.v1.deactivate(CandidApi.ImageId("id"), "version");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.ImageId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.images.v1.<a href="/src/api/resources/preEncounter/resources/images/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Image[], CandidApi.preEncounter.images.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Searches for images that match the query parameters.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.images.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.images.v1.ImageGetMultiRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## PreEncounter Lists V1
<details><summary><code>client.preEncounter.lists.v1.<a href="/src/api/resources/preEncounter/resources/lists/resources/v1/client/Client.ts">getPatientList</a>({ ...params }) -> core.APIResponse&lt;CandidApi.PatientListPage, CandidApi.preEncounter.lists.v1.getPatientList.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets patients with dependent objects for patients that match the query parameters.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.lists.v1.getPatientList();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.lists.v1.PatientListRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.lists.v1.<a href="/src/api/resources/preEncounter/resources/lists/resources/v1/client/Client.ts">getAppointmentList</a>({ ...params }) -> core.APIResponse&lt;CandidApi.AppointmentListPage, CandidApi.preEncounter.lists.v1.getAppointmentList.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Searches for appointments that match the query parameters.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.lists.v1.getAppointmentList();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.lists.v1.AppointmentsGetListRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## PreEncounter Notes V1
<details><summary><code>client.preEncounter.notes.v1.<a href="/src/api/resources/preEncounter/resources/notes/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse&lt;CandidApi.Note, CandidApi.preEncounter.notes.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets a note by NoteId.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.notes.v1.get(CandidApi.NoteId("id"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.NoteId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.notes.v1.<a href="/src/api/resources/preEncounter/resources/notes/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Note, CandidApi.preEncounter.notes.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Adds a new note.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.notes.v1.create({
    value: "value"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.MutableNote` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.notes.v1.<a href="/src/api/resources/preEncounter/resources/notes/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse&lt;CandidApi.Note, CandidApi.preEncounter.notes.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates a note. The path must contain the most recent version to prevent races.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.notes.v1.update(CandidApi.NoteId("id"), "version", {
    value: "value"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.NoteId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.MutableNote` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.notes.v1.<a href="/src/api/resources/preEncounter/resources/notes/resources/v1/client/Client.ts">deactivate</a>(id, version) -> core.APIResponse&lt;void, CandidApi.preEncounter.notes.v1.deactivate.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Sets a note as deactivated.  The path must contain the most recent version to prevent races.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.notes.v1.deactivate(CandidApi.NoteId("id"), "version");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.NoteId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## PreEncounter Patients V1
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Patient, CandidApi.preEncounter.patients.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Adds a patient.  VersionConflictError is returned when the patient's external ID is already in use.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.create({
    body: {
        name: {
            family: "family",
            given: ["given", "given"],
            use: "USUAL"
        },
        otherNames: [{
                family: "family",
                given: ["given", "given"],
                use: "USUAL"
            }, {
                family: "family",
                given: ["given", "given"],
                use: "USUAL"
            }],
        birthDate: "2023-01-15",
        biologicalSex: "FEMALE",
        primaryAddress: {
            use: "HOME",
            line: ["line", "line"],
            city: "city",
            state: "state",
            postalCode: "postal_code",
            country: "country"
        },
        otherAddresses: [{
                use: "HOME",
                line: ["line", "line"],
                city: "city",
                state: "state",
                postalCode: "postal_code",
                country: "country"
            }, {
                use: "HOME",
                line: ["line", "line"],
                city: "city",
                state: "state",
                postalCode: "postal_code",
                country: "country"
            }],
        otherTelecoms: [{
                value: "value",
                use: "HOME"
            }, {
                value: "value",
                use: "HOME"
            }],
        contacts: [{
                relationship: ["SELF", "SELF"],
                name: {
                    family: "family",
                    given: ["given", "given"],
                    use: "USUAL"
                },
                telecoms: [{
                        value: "value",
                        use: "HOME"
                    }, {
                        value: "value",
                        use: "HOME"
                    }],
                addresses: [{
                        use: "HOME",
                        line: ["line", "line"],
                        city: "city",
                        state: "state",
                        postalCode: "postal_code",
                        country: "country"
                    }, {
                        use: "HOME",
                        line: ["line", "line"],
                        city: "city",
                        state: "state",
                        postalCode: "postal_code",
                        country: "country"
                    }]
            }, {
                relationship: ["SELF", "SELF"],
                name: {
                    family: "family",
                    given: ["given", "given"],
                    use: "USUAL"
                },
                telecoms: [{
                        value: "value",
                        use: "HOME"
                    }, {
                        value: "value",
                        use: "HOME"
                    }],
                addresses: [{
                        use: "HOME",
                        line: ["line", "line"],
                        city: "city",
                        state: "state",
                        postalCode: "postal_code",
                        country: "country"
                    }, {
                        use: "HOME",
                        line: ["line", "line"],
                        city: "city",
                        state: "state",
                        postalCode: "postal_code",
                        country: "country"
                    }]
            }],
        generalPractitioners: [{
                name: {
                    family: "family",
                    given: ["given", "given"],
                    use: "USUAL"
                },
                telecoms: [{
                        value: "value",
                        use: "HOME"
                    }, {
                        value: "value",
                        use: "HOME"
                    }]
            }, {
                name: {
                    family: "family",
                    given: ["given", "given"],
                    use: "USUAL"
                },
                telecoms: [{
                        value: "value",
                        use: "HOME"
                    }, {
                        value: "value",
                        use: "HOME"
                    }]
            }],
        filingOrder: {
            coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
        }
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.patients.v1.CreatePatientRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">createWithMrn</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Patient, CandidApi.preEncounter.patients.v1.createWithMrn.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Adds a patient and hydrates their MRN with a pre-existing MRN.  Once this patient is created their MRN will not be editable. BadRequestError is returned when the MRN is greater than 20 characters. VersionConflictError is returned when the patient's external ID is already in use.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.createWithMrn({
    body: {
        mrn: "mrn",
        name: {
            family: "family",
            given: ["given", "given"],
            use: "USUAL"
        },
        otherNames: [{
                family: "family",
                given: ["given", "given"],
                use: "USUAL"
            }, {
                family: "family",
                given: ["given", "given"],
                use: "USUAL"
            }],
        birthDate: "2023-01-15",
        biologicalSex: "FEMALE",
        primaryAddress: {
            use: "HOME",
            line: ["line", "line"],
            city: "city",
            state: "state",
            postalCode: "postal_code",
            country: "country"
        },
        otherAddresses: [{
                use: "HOME",
                line: ["line", "line"],
                city: "city",
                state: "state",
                postalCode: "postal_code",
                country: "country"
            }, {
                use: "HOME",
                line: ["line", "line"],
                city: "city",
                state: "state",
                postalCode: "postal_code",
                country: "country"
            }],
        otherTelecoms: [{
                value: "value",
                use: "HOME"
            }, {
                value: "value",
                use: "HOME"
            }],
        contacts: [{
                relationship: ["SELF", "SELF"],
                name: {
                    family: "family",
                    given: ["given", "given"],
                    use: "USUAL"
                },
                telecoms: [{
                        value: "value",
                        use: "HOME"
                    }, {
                        value: "value",
                        use: "HOME"
                    }],
                addresses: [{
                        use: "HOME",
                        line: ["line", "line"],
                        city: "city",
                        state: "state",
                        postalCode: "postal_code",
                        country: "country"
                    }, {
                        use: "HOME",
                        line: ["line", "line"],
                        city: "city",
                        state: "state",
                        postalCode: "postal_code",
                        country: "country"
                    }]
            }, {
                relationship: ["SELF", "SELF"],
                name: {
                    family: "family",
                    given: ["given", "given"],
                    use: "USUAL"
                },
                telecoms: [{
                        value: "value",
                        use: "HOME"
                    }, {
                        value: "value",
                        use: "HOME"
                    }],
                addresses: [{
                        use: "HOME",
                        line: ["line", "line"],
                        city: "city",
                        state: "state",
                        postalCode: "postal_code",
                        country: "country"
                    }, {
                        use: "HOME",
                        line: ["line", "line"],
                        city: "city",
                        state: "state",
                        postalCode: "postal_code",
                        country: "country"
                    }]
            }],
        generalPractitioners: [{
                name: {
                    family: "family",
                    given: ["given", "given"],
                    use: "USUAL"
                },
                telecoms: [{
                        value: "value",
                        use: "HOME"
                    }, {
                        value: "value",
                        use: "HOME"
                    }]
            }, {
                name: {
                    family: "family",
                    given: ["given", "given"],
                    use: "USUAL"
                },
                telecoms: [{
                        value: "value",
                        use: "HOME"
                    }, {
                        value: "value",
                        use: "HOME"
                    }]
            }],
        filingOrder: {
            coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
        }
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.patients.v1.CreatePatientWithMrnRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse&lt;CandidApi.PatientPage, CandidApi.preEncounter.patients.v1.getMulti.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Searches for patients that match the query parameters.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.getMulti();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.patients.v1.PatientsSearchRequestPaginated` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">searchProviders</a>({ ...params }) -> core.APIResponse&lt;CandidApi.ExternalProvider[], CandidApi.preEncounter.patients.v1.searchProviders.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Searches for referring providers that match the query parameters.  The search is case-insensitive, supports fuzzy matching, and matches against provider name and NPI. The search criteria must be an alphanumeric string, and the search is limited to the first 20 results.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.searchProviders({
    searchCriteria: "search_criteria"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.patients.v1.SearchProvidersRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse&lt;CandidApi.Patient, CandidApi.preEncounter.patients.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets a patient.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.get(CandidApi.PatientId("id"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.PatientId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getByMrn</a>(mrn) -> core.APIResponse&lt;CandidApi.Patient, CandidApi.preEncounter.patients.v1.getByMrn.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets a patient by mrn.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.getByMrn("mrn");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**mrn:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse&lt;CandidApi.Patient[], CandidApi.preEncounter.patients.v1.getHistory.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets a patient along with it's full history.  The return list is ordered by version ascending.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("id"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.PatientId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getCoverageSnapshot</a>(id, { ...params }) -> core.APIResponse&lt;CandidApi.PatientCoverageSnapshot, CandidApi.preEncounter.patients.v1.getCoverageSnapshot.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets a patient along with their coverages at a specific point in time. Note that the date passed in is only used to determine what the filing order was for that patient during that time. The actual data returned will always be the latest version of the patient and coverages.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.getCoverageSnapshot(CandidApi.PatientId("id"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.PatientId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.preEncounter.patients.v1.GetCoverageSnapshotRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse&lt;CandidApi.Patient, CandidApi.preEncounter.patients.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates a patient. The path must contain the next version number to prevent race conditions. For example, if the current version of the patient is n, you will need to send a request to this endpoint with `/{id}/n+1` to update the patient. Updating historic versions is not supported.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.update(CandidApi.PatientId("id"), "version", {
    name: {
        family: "family",
        given: ["given", "given"],
        use: "USUAL"
    },
    otherNames: [{
            family: "family",
            given: ["given", "given"],
            use: "USUAL"
        }, {
            family: "family",
            given: ["given", "given"],
            use: "USUAL"
        }],
    birthDate: "2023-01-15",
    biologicalSex: "FEMALE",
    primaryAddress: {
        use: "HOME",
        line: ["line", "line"],
        city: "city",
        state: "state",
        postalCode: "postal_code",
        country: "country"
    },
    otherAddresses: [{
            use: "HOME",
            line: ["line", "line"],
            city: "city",
            state: "state",
            postalCode: "postal_code",
            country: "country"
        }, {
            use: "HOME",
            line: ["line", "line"],
            city: "city",
            state: "state",
            postalCode: "postal_code",
            country: "country"
        }],
    otherTelecoms: [{
            value: "value",
            use: "HOME"
        }, {
            value: "value",
            use: "HOME"
        }],
    contacts: [{
            relationship: ["SELF", "SELF"],
            name: {
                family: "family",
                given: ["given", "given"],
                use: "USUAL"
            },
            telecoms: [{
                    value: "value",
                    use: "HOME"
                }, {
                    value: "value",
                    use: "HOME"
                }],
            addresses: [{
                    use: "HOME",
                    line: ["line", "line"],
                    city: "city",
                    state: "state",
                    postalCode: "postal_code",
                    country: "country"
                }, {
                    use: "HOME",
                    line: ["line", "line"],
                    city: "city",
                    state: "state",
                    postalCode: "postal_code",
                    country: "country"
                }]
        }, {
            relationship: ["SELF", "SELF"],
            name: {
                family: "family",
                given: ["given", "given"],
                use: "USUAL"
            },
            telecoms: [{
                    value: "value",
                    use: "HOME"
                }, {
                    value: "value",
                    use: "HOME"
                }],
            addresses: [{
                    use: "HOME",
                    line: ["line", "line"],
                    city: "city",
                    state: "state",
                    postalCode: "postal_code",
                    country: "country"
                }, {
                    use: "HOME",
                    line: ["line", "line"],
                    city: "city",
                    state: "state",
                    postalCode: "postal_code",
                    country: "country"
                }]
        }],
    generalPractitioners: [{
            name: {
                family: "family",
                given: ["given", "given"],
                use: "USUAL"
            },
            telecoms: [{
                    value: "value",
                    use: "HOME"
                }, {
                    value: "value",
                    use: "HOME"
                }]
        }, {
            name: {
                family: "family",
                given: ["given", "given"],
                use: "USUAL"
            },
            telecoms: [{
                    value: "value",
                    use: "HOME"
                }, {
                    value: "value",
                    use: "HOME"
                }]
        }],
    filingOrder: {
        coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
    }
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.PatientId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.MutablePatient` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">deactivate</a>(id, version) -> core.APIResponse&lt;void, CandidApi.preEncounter.patients.v1.deactivate.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Sets a patient as deactivated.  The path must contain the most recent version plus 1 to prevent race conditions.  Deactivating historic versions is not supported.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.deactivate(CandidApi.PatientId("id"), "version");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.PatientId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">reactivate</a>(id, version) -> core.APIResponse&lt;void, CandidApi.preEncounter.patients.v1.reactivate.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Removes the deactivated flag for a patient.  The path must contain the most recent version plus 1 to prevent race conditions.  Reactivating historic versions is not supported.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.reactivate(CandidApi.PatientId("id"), "version");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.PatientId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">search</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Patient[], CandidApi.preEncounter.patients.v1.search.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Returns a list of Patients based on the search criteria.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.search();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.patients.v1.PatientGetMultiRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Patient[], CandidApi.preEncounter.patients.v1.scan.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Scans up to 1000 patient updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.

**Polling Pattern:**
To continuously poll for updates without gaps:
1. Make your initial request with a `since` timestamp (e.g., `since=2020-01-01T13:00:00.000Z`)
2. The API returns 100 by default and up to 1000 patient records, sorted by `updated_at` ascending
3. Find the `updated_at` value from the last record in the response
4. Use that `updated_at` value as the `since` parameter in your next request
5. Repeat steps 2-4 to ingest updates until you receive an empty list

**Important Notes:**
- The `since` parameter is inclusive, so you may receive the last record from the previous batch again (you can deduplicate by ID and version)
- All patient records include `updated_at`, `id`, `version`, `deactivated`, and `updating_user` fields for tracking changes
- Timestamps have millisecond resolution for precise ordering
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.patients.v1.scan({
    since: new Date("2024-01-15T09:30:00.000Z")
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.patients.v1.PatientScanRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## PreEncounter Tags V1
<details><summary><code>client.preEncounter.tags.v1.<a href="/src/api/resources/preEncounter/resources/tags/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse&lt;CandidApi.Tag, CandidApi.preEncounter.tags.v1.get.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets a tag by TagId.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.tags.v1.get(CandidApi.TagId("id"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.TagId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.tags.v1.<a href="/src/api/resources/preEncounter/resources/tags/resources/v1/client/Client.ts">getAll</a>({ ...params }) -> core.APIResponse&lt;CandidApi.TagPage, CandidApi.preEncounter.tags.v1.getAll.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets all tags. Defaults to page size of 1000.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.tags.v1.getAll();

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.preEncounter.tags.v1.GetAllTagsRequest` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.tags.v1.<a href="/src/api/resources/preEncounter/resources/tags/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Tag, CandidApi.preEncounter.tags.v1.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Adds a new tag if it does not already exist, otherwise, returns the existing tag.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.tags.v1.create({
    value: "value"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.MutableTag` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.tags.v1.<a href="/src/api/resources/preEncounter/resources/tags/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse&lt;CandidApi.Tag, CandidApi.preEncounter.tags.v1.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates a tag. The path must contain the most recent version to prevent races.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.tags.v1.update(CandidApi.TagId("id"), "version", {
    value: "value"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.TagId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.MutableTag` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.preEncounter.tags.v1.<a href="/src/api/resources/preEncounter/resources/tags/resources/v1/client/Client.ts">deactivate</a>(id, version) -> core.APIResponse&lt;void, CandidApi.preEncounter.tags.v1.deactivate.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Sets a tag as deactivated.  The path must contain the most recent version to prevent races.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.preEncounter.tags.v1.deactivate(CandidApi.TagId("id"), "version");

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `CandidApi.TagId` 
    
</dd>
</dl>

<dl>
<dd>

**version:** `string` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `V1Client.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

## Diagnoses
<details><summary><code>client.diagnoses.<a href="/src/api/resources/diagnoses/client/Client.ts">create</a>({ ...params }) -> core.APIResponse&lt;CandidApi.Diagnosis, CandidApi.diagnoses.create.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Creates a new diagnosis for an encounter
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.diagnoses.create({
    encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
    codeType: "ABF",
    code: "code"
});

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `CandidApi.StandaloneDiagnosisCreate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DiagnosesClient.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.diagnoses.<a href="/src/api/resources/diagnoses/client/Client.ts">update</a>(diagnosis_id, { ...params }) -> core.APIResponse&lt;CandidApi.Diagnosis, CandidApi.diagnoses.update.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates the diagnosis record matching the provided `diagnosis_id`
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.diagnoses.update(CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**diagnosis_id:** `CandidApi.DiagnosisId` 
    
</dd>
</dl>

<dl>
<dd>

**request:** `CandidApi.DiagnosisUpdate` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DiagnosesClient.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.diagnoses.<a href="/src/api/resources/diagnoses/client/Client.ts">delete</a>(diagnosis_id) -> core.APIResponse&lt;void, CandidApi.diagnoses.delete.Error&gt;</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Deletes the diagnosis record associated with the provided `diagnosis_id`
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.diagnoses.delete(CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**diagnosis_id:** `CandidApi.DiagnosisId` 
    
</dd>
</dl>

<dl>
<dd>

**requestOptions:** `DiagnosesClient.RequestOptions` 
    
</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

