candidhealth 0.34.2 → 0.34.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +6 -6
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +2 -2
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +12 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +58 -5
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +6 -1
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +12 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.js +5 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.js +2 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts +22 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/scan.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +6 -6
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +2 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +58 -5
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +6 -1
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/scan.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.js +32 -0
- package/package.json +1 -1
- package/reference.md +66 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.js +1 -1
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.js +32 -0
package/reference.md
CHANGED
|
@@ -2354,7 +2354,7 @@ encounter has not already been submitted or adjudicated.
|
|
|
2354
2354
|
```typescript
|
|
2355
2355
|
await client.encounters.v4.createFromPreEncounterPatient({
|
|
2356
2356
|
preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
2357
|
-
|
|
2357
|
+
preEncounterAppointmentIds: [CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
2358
2358
|
billingProvider: {
|
|
2359
2359
|
address: {
|
|
2360
2360
|
address1: "123 Main St",
|
|
@@ -9262,6 +9262,71 @@ await client.preEncounter.appointments.v1.update(CandidApi.AppointmentId("string
|
|
|
9262
9262
|
</dl>
|
|
9263
9263
|
</details>
|
|
9264
9264
|
|
|
9265
|
+
<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<CandidApi.Appointment[], CandidApi.preEncounter.appointments.v1.scan.Error></code></summary>
|
|
9266
|
+
<dl>
|
|
9267
|
+
<dd>
|
|
9268
|
+
|
|
9269
|
+
#### 📝 Description
|
|
9270
|
+
|
|
9271
|
+
<dl>
|
|
9272
|
+
<dd>
|
|
9273
|
+
|
|
9274
|
+
<dl>
|
|
9275
|
+
<dd>
|
|
9276
|
+
|
|
9277
|
+
Scans up to 100 appointment updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
|
|
9278
|
+
|
|
9279
|
+
</dd>
|
|
9280
|
+
</dl>
|
|
9281
|
+
</dd>
|
|
9282
|
+
</dl>
|
|
9283
|
+
|
|
9284
|
+
#### 🔌 Usage
|
|
9285
|
+
|
|
9286
|
+
<dl>
|
|
9287
|
+
<dd>
|
|
9288
|
+
|
|
9289
|
+
<dl>
|
|
9290
|
+
<dd>
|
|
9291
|
+
|
|
9292
|
+
```typescript
|
|
9293
|
+
await client.preEncounter.appointments.v1.scan({
|
|
9294
|
+
since: new Date("2024-01-15T09:30:00.000Z"),
|
|
9295
|
+
});
|
|
9296
|
+
```
|
|
9297
|
+
|
|
9298
|
+
</dd>
|
|
9299
|
+
</dl>
|
|
9300
|
+
</dd>
|
|
9301
|
+
</dl>
|
|
9302
|
+
|
|
9303
|
+
#### ⚙️ Parameters
|
|
9304
|
+
|
|
9305
|
+
<dl>
|
|
9306
|
+
<dd>
|
|
9307
|
+
|
|
9308
|
+
<dl>
|
|
9309
|
+
<dd>
|
|
9310
|
+
|
|
9311
|
+
**request:** `CandidApi.preEncounter.appointments.v1.AppointmentScanRequest`
|
|
9312
|
+
|
|
9313
|
+
</dd>
|
|
9314
|
+
</dl>
|
|
9315
|
+
|
|
9316
|
+
<dl>
|
|
9317
|
+
<dd>
|
|
9318
|
+
|
|
9319
|
+
**requestOptions:** `V1.RequestOptions`
|
|
9320
|
+
|
|
9321
|
+
</dd>
|
|
9322
|
+
</dl>
|
|
9323
|
+
</dd>
|
|
9324
|
+
</dl>
|
|
9325
|
+
|
|
9326
|
+
</dd>
|
|
9327
|
+
</dl>
|
|
9328
|
+
</details>
|
|
9329
|
+
|
|
9265
9330
|
<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<void, CandidApi.preEncounter.appointments.v1.deactivate.Error></code></summary>
|
|
9266
9331
|
<dl>
|
|
9267
9332
|
<dd>
|
|
@@ -25,7 +25,7 @@ export declare const EncounterCreateFromPreEncounter: core.serialization.Schema<
|
|
|
25
25
|
export declare namespace EncounterCreateFromPreEncounter {
|
|
26
26
|
interface Raw extends EncounterBase.Raw {
|
|
27
27
|
pre_encounter_patient_id: PreEncounterPatientId.Raw;
|
|
28
|
-
|
|
28
|
+
pre_encounter_appointment_ids: PreEncounterAppointmentId.Raw[];
|
|
29
29
|
billing_provider: BillingProvider.Raw;
|
|
30
30
|
rendering_provider: RenderingProvider.Raw;
|
|
31
31
|
initial_referring_provider?: InitialReferringProvider.Raw | null;
|
|
@@ -48,7 +48,7 @@ const EncounterBase_1 = require("../../types/EncounterBase");
|
|
|
48
48
|
exports.EncounterCreateFromPreEncounter = core.serialization
|
|
49
49
|
.object({
|
|
50
50
|
preEncounterPatientId: core.serialization.property("pre_encounter_patient_id", PreEncounterPatientId_1.PreEncounterPatientId),
|
|
51
|
-
|
|
51
|
+
preEncounterAppointmentIds: core.serialization.property("pre_encounter_appointment_ids", core.serialization.list(PreEncounterAppointmentId_1.PreEncounterAppointmentId)),
|
|
52
52
|
billingProvider: core.serialization.property("billing_provider", BillingProvider_1.BillingProvider),
|
|
53
53
|
renderingProvider: core.serialization.property("rendering_provider", RenderingProvider_1.RenderingProvider),
|
|
54
54
|
initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProvider_1.InitialReferringProvider.optional()),
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js
CHANGED
|
@@ -23,9 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.deactivate = exports.update = exports.getHistory = exports.get = exports.create = void 0;
|
|
26
|
+
exports.deactivate = exports.scan = exports.update = exports.getHistory = exports.get = exports.create = void 0;
|
|
27
27
|
exports.create = __importStar(require("./create"));
|
|
28
28
|
exports.get = __importStar(require("./get"));
|
|
29
29
|
exports.getHistory = __importStar(require("./getHistory"));
|
|
30
30
|
exports.update = __importStar(require("./update"));
|
|
31
|
+
exports.scan = __importStar(require("./scan"));
|
|
31
32
|
exports.deactivate = __importStar(require("./deactivate"));
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
import { Appointment } from "../types/Appointment";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.preEncounter.appointments.v1.scan.Response.Raw, CandidApi.preEncounter.appointments.v1.Appointment[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Appointment.Raw[];
|
|
11
|
+
}
|
package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Response = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
const Appointment_1 = require("../types/Appointment");
|
|
32
|
+
exports.Response = core.serialization.list(Appointment_1.Appointment);
|