candidhealth 0.39.3 → 0.39.4
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 +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- 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.js +6 -6
- 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.js +6 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +2 -12
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -20
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +15 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -12
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +5 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +5 -1
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- 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 +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- 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.js +6 -6
- 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.js +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +2 -12
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -20
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +15 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -12
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +5 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +5 -1
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- 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/package.json +1 -1
- package/reference.md +2636 -12
package/reference.md
CHANGED
|
@@ -10270,12 +10270,7 @@ await client.preEncounter.coverages.v1.create({
|
|
|
10270
10270
|
memberId: "string",
|
|
10271
10271
|
payerId: CandidApi.PayerId("string"),
|
|
10272
10272
|
payerName: "string",
|
|
10273
|
-
additionalPayerInformation: {
|
|
10274
|
-
availityEligibilityId: "string",
|
|
10275
|
-
availityPayerId: "string",
|
|
10276
|
-
availityPayerName: "string",
|
|
10277
|
-
availityRemittancePayerId: "string",
|
|
10278
|
-
},
|
|
10273
|
+
additionalPayerInformation: {},
|
|
10279
10274
|
groupNumber: "string",
|
|
10280
10275
|
name: "string",
|
|
10281
10276
|
planType: CandidApi.NetworkType.SelfPay,
|
|
@@ -10389,12 +10384,7 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
|
|
|
10389
10384
|
memberId: "string",
|
|
10390
10385
|
payerId: CandidApi.PayerId("string"),
|
|
10391
10386
|
payerName: "string",
|
|
10392
|
-
additionalPayerInformation: {
|
|
10393
|
-
availityEligibilityId: "string",
|
|
10394
|
-
availityPayerId: "string",
|
|
10395
|
-
availityPayerName: "string",
|
|
10396
|
-
availityRemittancePayerId: "string",
|
|
10397
|
-
},
|
|
10387
|
+
additionalPayerInformation: {},
|
|
10398
10388
|
groupNumber: "string",
|
|
10399
10389
|
name: "string",
|
|
10400
10390
|
planType: CandidApi.NetworkType.SelfPay,
|
|
@@ -10467,3 +10457,2637 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
|
|
|
10467
10457
|
|
|
10468
10458
|
</dd>
|
|
10469
10459
|
</dl>
|
|
10460
|
+
</details>
|
|
10461
|
+
|
|
10462
|
+
<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<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.get.Error></code></summary>
|
|
10463
|
+
<dl>
|
|
10464
|
+
<dd>
|
|
10465
|
+
|
|
10466
|
+
#### 📝 Description
|
|
10467
|
+
|
|
10468
|
+
<dl>
|
|
10469
|
+
<dd>
|
|
10470
|
+
|
|
10471
|
+
<dl>
|
|
10472
|
+
<dd>
|
|
10473
|
+
|
|
10474
|
+
gets a specific Coverage
|
|
10475
|
+
|
|
10476
|
+
</dd>
|
|
10477
|
+
</dl>
|
|
10478
|
+
</dd>
|
|
10479
|
+
</dl>
|
|
10480
|
+
|
|
10481
|
+
#### 🔌 Usage
|
|
10482
|
+
|
|
10483
|
+
<dl>
|
|
10484
|
+
<dd>
|
|
10485
|
+
|
|
10486
|
+
<dl>
|
|
10487
|
+
<dd>
|
|
10488
|
+
|
|
10489
|
+
```typescript
|
|
10490
|
+
await client.preEncounter.coverages.v1.get(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
10491
|
+
```
|
|
10492
|
+
|
|
10493
|
+
</dd>
|
|
10494
|
+
</dl>
|
|
10495
|
+
</dd>
|
|
10496
|
+
</dl>
|
|
10497
|
+
|
|
10498
|
+
#### ⚙️ Parameters
|
|
10499
|
+
|
|
10500
|
+
<dl>
|
|
10501
|
+
<dd>
|
|
10502
|
+
|
|
10503
|
+
<dl>
|
|
10504
|
+
<dd>
|
|
10505
|
+
|
|
10506
|
+
**id:** `CandidApi.CoverageId`
|
|
10507
|
+
|
|
10508
|
+
</dd>
|
|
10509
|
+
</dl>
|
|
10510
|
+
|
|
10511
|
+
<dl>
|
|
10512
|
+
<dd>
|
|
10513
|
+
|
|
10514
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10515
|
+
|
|
10516
|
+
</dd>
|
|
10517
|
+
</dl>
|
|
10518
|
+
</dd>
|
|
10519
|
+
</dl>
|
|
10520
|
+
|
|
10521
|
+
</dd>
|
|
10522
|
+
</dl>
|
|
10523
|
+
</details>
|
|
10524
|
+
|
|
10525
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.getHistory.Error></code></summary>
|
|
10526
|
+
<dl>
|
|
10527
|
+
<dd>
|
|
10528
|
+
|
|
10529
|
+
#### 📝 Description
|
|
10530
|
+
|
|
10531
|
+
<dl>
|
|
10532
|
+
<dd>
|
|
10533
|
+
|
|
10534
|
+
<dl>
|
|
10535
|
+
<dd>
|
|
10536
|
+
|
|
10537
|
+
Gets a coverage along with it's full history. The return list is ordered by version ascending.
|
|
10538
|
+
|
|
10539
|
+
</dd>
|
|
10540
|
+
</dl>
|
|
10541
|
+
</dd>
|
|
10542
|
+
</dl>
|
|
10543
|
+
|
|
10544
|
+
#### 🔌 Usage
|
|
10545
|
+
|
|
10546
|
+
<dl>
|
|
10547
|
+
<dd>
|
|
10548
|
+
|
|
10549
|
+
<dl>
|
|
10550
|
+
<dd>
|
|
10551
|
+
|
|
10552
|
+
```typescript
|
|
10553
|
+
await client.preEncounter.coverages.v1.getHistory(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
10554
|
+
```
|
|
10555
|
+
|
|
10556
|
+
</dd>
|
|
10557
|
+
</dl>
|
|
10558
|
+
</dd>
|
|
10559
|
+
</dl>
|
|
10560
|
+
|
|
10561
|
+
#### ⚙️ Parameters
|
|
10562
|
+
|
|
10563
|
+
<dl>
|
|
10564
|
+
<dd>
|
|
10565
|
+
|
|
10566
|
+
<dl>
|
|
10567
|
+
<dd>
|
|
10568
|
+
|
|
10569
|
+
**id:** `CandidApi.CoverageId`
|
|
10570
|
+
|
|
10571
|
+
</dd>
|
|
10572
|
+
</dl>
|
|
10573
|
+
|
|
10574
|
+
<dl>
|
|
10575
|
+
<dd>
|
|
10576
|
+
|
|
10577
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10578
|
+
|
|
10579
|
+
</dd>
|
|
10580
|
+
</dl>
|
|
10581
|
+
</dd>
|
|
10582
|
+
</dl>
|
|
10583
|
+
|
|
10584
|
+
</dd>
|
|
10585
|
+
</dl>
|
|
10586
|
+
</details>
|
|
10587
|
+
|
|
10588
|
+
<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<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.getMulti.Error></code></summary>
|
|
10589
|
+
<dl>
|
|
10590
|
+
<dd>
|
|
10591
|
+
|
|
10592
|
+
#### 📝 Description
|
|
10593
|
+
|
|
10594
|
+
<dl>
|
|
10595
|
+
<dd>
|
|
10596
|
+
|
|
10597
|
+
<dl>
|
|
10598
|
+
<dd>
|
|
10599
|
+
|
|
10600
|
+
Returns a list of Coverages based on the search criteria.
|
|
10601
|
+
|
|
10602
|
+
</dd>
|
|
10603
|
+
</dl>
|
|
10604
|
+
</dd>
|
|
10605
|
+
</dl>
|
|
10606
|
+
|
|
10607
|
+
#### 🔌 Usage
|
|
10608
|
+
|
|
10609
|
+
<dl>
|
|
10610
|
+
<dd>
|
|
10611
|
+
|
|
10612
|
+
<dl>
|
|
10613
|
+
<dd>
|
|
10614
|
+
|
|
10615
|
+
```typescript
|
|
10616
|
+
await client.preEncounter.coverages.v1.getMulti({
|
|
10617
|
+
patientId: "string",
|
|
10618
|
+
});
|
|
10619
|
+
```
|
|
10620
|
+
|
|
10621
|
+
</dd>
|
|
10622
|
+
</dl>
|
|
10623
|
+
</dd>
|
|
10624
|
+
</dl>
|
|
10625
|
+
|
|
10626
|
+
#### ⚙️ Parameters
|
|
10627
|
+
|
|
10628
|
+
<dl>
|
|
10629
|
+
<dd>
|
|
10630
|
+
|
|
10631
|
+
<dl>
|
|
10632
|
+
<dd>
|
|
10633
|
+
|
|
10634
|
+
**request:** `CandidApi.preEncounter.coverages.v1.CoverageGetMultiRequest`
|
|
10635
|
+
|
|
10636
|
+
</dd>
|
|
10637
|
+
</dl>
|
|
10638
|
+
|
|
10639
|
+
<dl>
|
|
10640
|
+
<dd>
|
|
10641
|
+
|
|
10642
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10643
|
+
|
|
10644
|
+
</dd>
|
|
10645
|
+
</dl>
|
|
10646
|
+
</dd>
|
|
10647
|
+
</dl>
|
|
10648
|
+
|
|
10649
|
+
</dd>
|
|
10650
|
+
</dl>
|
|
10651
|
+
</details>
|
|
10652
|
+
|
|
10653
|
+
<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<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.scan.Error></code></summary>
|
|
10654
|
+
<dl>
|
|
10655
|
+
<dd>
|
|
10656
|
+
|
|
10657
|
+
#### 📝 Description
|
|
10658
|
+
|
|
10659
|
+
<dl>
|
|
10660
|
+
<dd>
|
|
10661
|
+
|
|
10662
|
+
<dl>
|
|
10663
|
+
<dd>
|
|
10664
|
+
|
|
10665
|
+
Scans up to 100 coverage updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
|
|
10666
|
+
|
|
10667
|
+
</dd>
|
|
10668
|
+
</dl>
|
|
10669
|
+
</dd>
|
|
10670
|
+
</dl>
|
|
10671
|
+
|
|
10672
|
+
#### 🔌 Usage
|
|
10673
|
+
|
|
10674
|
+
<dl>
|
|
10675
|
+
<dd>
|
|
10676
|
+
|
|
10677
|
+
<dl>
|
|
10678
|
+
<dd>
|
|
10679
|
+
|
|
10680
|
+
```typescript
|
|
10681
|
+
await client.preEncounter.coverages.v1.scan({
|
|
10682
|
+
since: new Date("2024-01-15T09:30:00.000Z"),
|
|
10683
|
+
});
|
|
10684
|
+
```
|
|
10685
|
+
|
|
10686
|
+
</dd>
|
|
10687
|
+
</dl>
|
|
10688
|
+
</dd>
|
|
10689
|
+
</dl>
|
|
10690
|
+
|
|
10691
|
+
#### ⚙️ Parameters
|
|
10692
|
+
|
|
10693
|
+
<dl>
|
|
10694
|
+
<dd>
|
|
10695
|
+
|
|
10696
|
+
<dl>
|
|
10697
|
+
<dd>
|
|
10698
|
+
|
|
10699
|
+
**request:** `CandidApi.preEncounter.coverages.v1.CoverageScanRequest`
|
|
10700
|
+
|
|
10701
|
+
</dd>
|
|
10702
|
+
</dl>
|
|
10703
|
+
|
|
10704
|
+
<dl>
|
|
10705
|
+
<dd>
|
|
10706
|
+
|
|
10707
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10708
|
+
|
|
10709
|
+
</dd>
|
|
10710
|
+
</dl>
|
|
10711
|
+
</dd>
|
|
10712
|
+
</dl>
|
|
10713
|
+
|
|
10714
|
+
</dd>
|
|
10715
|
+
</dl>
|
|
10716
|
+
</details>
|
|
10717
|
+
|
|
10718
|
+
<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<CandidApi.EligibilityCheckMetadata, CandidApi.preEncounter.coverages.v1.checkEligibility.Error></code></summary>
|
|
10719
|
+
<dl>
|
|
10720
|
+
<dd>
|
|
10721
|
+
|
|
10722
|
+
#### 📝 Description
|
|
10723
|
+
|
|
10724
|
+
<dl>
|
|
10725
|
+
<dd>
|
|
10726
|
+
|
|
10727
|
+
<dl>
|
|
10728
|
+
<dd>
|
|
10729
|
+
|
|
10730
|
+
Initiates an eligibility check. Returns the metadata of the check if successfully initiated.
|
|
10731
|
+
|
|
10732
|
+
</dd>
|
|
10733
|
+
</dl>
|
|
10734
|
+
</dd>
|
|
10735
|
+
</dl>
|
|
10736
|
+
|
|
10737
|
+
#### 🔌 Usage
|
|
10738
|
+
|
|
10739
|
+
<dl>
|
|
10740
|
+
<dd>
|
|
10741
|
+
|
|
10742
|
+
<dl>
|
|
10743
|
+
<dd>
|
|
10744
|
+
|
|
10745
|
+
```typescript
|
|
10746
|
+
await client.preEncounter.coverages.v1.checkEligibility(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
10747
|
+
serviceCode: CandidApi.ServiceTypeCode.MedicalCare,
|
|
10748
|
+
dateOfService: "2023-01-15",
|
|
10749
|
+
npi: "string",
|
|
10750
|
+
});
|
|
10751
|
+
```
|
|
10752
|
+
|
|
10753
|
+
</dd>
|
|
10754
|
+
</dl>
|
|
10755
|
+
</dd>
|
|
10756
|
+
</dl>
|
|
10757
|
+
|
|
10758
|
+
#### ⚙️ Parameters
|
|
10759
|
+
|
|
10760
|
+
<dl>
|
|
10761
|
+
<dd>
|
|
10762
|
+
|
|
10763
|
+
<dl>
|
|
10764
|
+
<dd>
|
|
10765
|
+
|
|
10766
|
+
**id:** `CandidApi.CoverageId`
|
|
10767
|
+
|
|
10768
|
+
</dd>
|
|
10769
|
+
</dl>
|
|
10770
|
+
|
|
10771
|
+
<dl>
|
|
10772
|
+
<dd>
|
|
10773
|
+
|
|
10774
|
+
**request:** `CandidApi.preEncounter.coverages.v1.CheckEligibilityRequest`
|
|
10775
|
+
|
|
10776
|
+
</dd>
|
|
10777
|
+
</dl>
|
|
10778
|
+
|
|
10779
|
+
<dl>
|
|
10780
|
+
<dd>
|
|
10781
|
+
|
|
10782
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10783
|
+
|
|
10784
|
+
</dd>
|
|
10785
|
+
</dl>
|
|
10786
|
+
</dd>
|
|
10787
|
+
</dl>
|
|
10788
|
+
|
|
10789
|
+
</dd>
|
|
10790
|
+
</dl>
|
|
10791
|
+
</details>
|
|
10792
|
+
|
|
10793
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getEligibility</a>(id, checkId) -> core.APIResponse<CandidApi.CoverageEligibilityCheckResponse, CandidApi.preEncounter.coverages.v1.getEligibility.Error></code></summary>
|
|
10794
|
+
<dl>
|
|
10795
|
+
<dd>
|
|
10796
|
+
|
|
10797
|
+
#### 📝 Description
|
|
10798
|
+
|
|
10799
|
+
<dl>
|
|
10800
|
+
<dd>
|
|
10801
|
+
|
|
10802
|
+
<dl>
|
|
10803
|
+
<dd>
|
|
10804
|
+
|
|
10805
|
+
Gets the eligibility of a patient for a specific coverage if successful.
|
|
10806
|
+
|
|
10807
|
+
</dd>
|
|
10808
|
+
</dl>
|
|
10809
|
+
</dd>
|
|
10810
|
+
</dl>
|
|
10811
|
+
|
|
10812
|
+
#### 🔌 Usage
|
|
10813
|
+
|
|
10814
|
+
<dl>
|
|
10815
|
+
<dd>
|
|
10816
|
+
|
|
10817
|
+
<dl>
|
|
10818
|
+
<dd>
|
|
10819
|
+
|
|
10820
|
+
```typescript
|
|
10821
|
+
await client.preEncounter.coverages.v1.getEligibility(
|
|
10822
|
+
CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
10823
|
+
"string"
|
|
10824
|
+
);
|
|
10825
|
+
```
|
|
10826
|
+
|
|
10827
|
+
</dd>
|
|
10828
|
+
</dl>
|
|
10829
|
+
</dd>
|
|
10830
|
+
</dl>
|
|
10831
|
+
|
|
10832
|
+
#### ⚙️ Parameters
|
|
10833
|
+
|
|
10834
|
+
<dl>
|
|
10835
|
+
<dd>
|
|
10836
|
+
|
|
10837
|
+
<dl>
|
|
10838
|
+
<dd>
|
|
10839
|
+
|
|
10840
|
+
**id:** `CandidApi.CoverageId`
|
|
10841
|
+
|
|
10842
|
+
</dd>
|
|
10843
|
+
</dl>
|
|
10844
|
+
|
|
10845
|
+
<dl>
|
|
10846
|
+
<dd>
|
|
10847
|
+
|
|
10848
|
+
**checkId:** `string`
|
|
10849
|
+
|
|
10850
|
+
</dd>
|
|
10851
|
+
</dl>
|
|
10852
|
+
|
|
10853
|
+
<dl>
|
|
10854
|
+
<dd>
|
|
10855
|
+
|
|
10856
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10857
|
+
|
|
10858
|
+
</dd>
|
|
10859
|
+
</dl>
|
|
10860
|
+
</dd>
|
|
10861
|
+
</dl>
|
|
10862
|
+
|
|
10863
|
+
</dd>
|
|
10864
|
+
</dl>
|
|
10865
|
+
</details>
|
|
10866
|
+
|
|
10867
|
+
## PreEncounter Lists V1
|
|
10868
|
+
|
|
10869
|
+
<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<CandidApi.PatientListPage, CandidApi.preEncounter.lists.v1.getPatientList.Error></code></summary>
|
|
10870
|
+
<dl>
|
|
10871
|
+
<dd>
|
|
10872
|
+
|
|
10873
|
+
#### 📝 Description
|
|
10874
|
+
|
|
10875
|
+
<dl>
|
|
10876
|
+
<dd>
|
|
10877
|
+
|
|
10878
|
+
<dl>
|
|
10879
|
+
<dd>
|
|
10880
|
+
|
|
10881
|
+
Gets patients with dependent objects for patients that match the query parameters.
|
|
10882
|
+
|
|
10883
|
+
</dd>
|
|
10884
|
+
</dl>
|
|
10885
|
+
</dd>
|
|
10886
|
+
</dl>
|
|
10887
|
+
|
|
10888
|
+
#### 🔌 Usage
|
|
10889
|
+
|
|
10890
|
+
<dl>
|
|
10891
|
+
<dd>
|
|
10892
|
+
|
|
10893
|
+
<dl>
|
|
10894
|
+
<dd>
|
|
10895
|
+
|
|
10896
|
+
```typescript
|
|
10897
|
+
await client.preEncounter.lists.v1.getPatientList({
|
|
10898
|
+
pageToken: CandidApi.PageToken("string"),
|
|
10899
|
+
limit: 1,
|
|
10900
|
+
sortField: CandidApi.SortFieldString("string"),
|
|
10901
|
+
sortDirection: CandidApi.SortDirection.Asc,
|
|
10902
|
+
filters: CandidApi.FilterQueryString("string"),
|
|
10903
|
+
});
|
|
10904
|
+
```
|
|
10905
|
+
|
|
10906
|
+
</dd>
|
|
10907
|
+
</dl>
|
|
10908
|
+
</dd>
|
|
10909
|
+
</dl>
|
|
10910
|
+
|
|
10911
|
+
#### ⚙️ Parameters
|
|
10912
|
+
|
|
10913
|
+
<dl>
|
|
10914
|
+
<dd>
|
|
10915
|
+
|
|
10916
|
+
<dl>
|
|
10917
|
+
<dd>
|
|
10918
|
+
|
|
10919
|
+
**request:** `CandidApi.preEncounter.lists.v1.PatientListRequest`
|
|
10920
|
+
|
|
10921
|
+
</dd>
|
|
10922
|
+
</dl>
|
|
10923
|
+
|
|
10924
|
+
<dl>
|
|
10925
|
+
<dd>
|
|
10926
|
+
|
|
10927
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10928
|
+
|
|
10929
|
+
</dd>
|
|
10930
|
+
</dl>
|
|
10931
|
+
</dd>
|
|
10932
|
+
</dl>
|
|
10933
|
+
|
|
10934
|
+
</dd>
|
|
10935
|
+
</dl>
|
|
10936
|
+
</details>
|
|
10937
|
+
|
|
10938
|
+
<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<CandidApi.AppointmentListPage, CandidApi.preEncounter.lists.v1.getAppointmentList.Error></code></summary>
|
|
10939
|
+
<dl>
|
|
10940
|
+
<dd>
|
|
10941
|
+
|
|
10942
|
+
#### 📝 Description
|
|
10943
|
+
|
|
10944
|
+
<dl>
|
|
10945
|
+
<dd>
|
|
10946
|
+
|
|
10947
|
+
<dl>
|
|
10948
|
+
<dd>
|
|
10949
|
+
|
|
10950
|
+
Searches for appointments that match the query parameters.
|
|
10951
|
+
|
|
10952
|
+
</dd>
|
|
10953
|
+
</dl>
|
|
10954
|
+
</dd>
|
|
10955
|
+
</dl>
|
|
10956
|
+
|
|
10957
|
+
#### 🔌 Usage
|
|
10958
|
+
|
|
10959
|
+
<dl>
|
|
10960
|
+
<dd>
|
|
10961
|
+
|
|
10962
|
+
<dl>
|
|
10963
|
+
<dd>
|
|
10964
|
+
|
|
10965
|
+
```typescript
|
|
10966
|
+
await client.preEncounter.lists.v1.getAppointmentList({
|
|
10967
|
+
sortField: CandidApi.SortFieldString("string"),
|
|
10968
|
+
sortDirection: CandidApi.SortDirection.Asc,
|
|
10969
|
+
limit: 1,
|
|
10970
|
+
pageToken: CandidApi.PageToken("string"),
|
|
10971
|
+
filters: CandidApi.FilterQueryString("string"),
|
|
10972
|
+
});
|
|
10973
|
+
```
|
|
10974
|
+
|
|
10975
|
+
</dd>
|
|
10976
|
+
</dl>
|
|
10977
|
+
</dd>
|
|
10978
|
+
</dl>
|
|
10979
|
+
|
|
10980
|
+
#### ⚙️ Parameters
|
|
10981
|
+
|
|
10982
|
+
<dl>
|
|
10983
|
+
<dd>
|
|
10984
|
+
|
|
10985
|
+
<dl>
|
|
10986
|
+
<dd>
|
|
10987
|
+
|
|
10988
|
+
**request:** `CandidApi.preEncounter.lists.v1.AppointmentsGetListRequest`
|
|
10989
|
+
|
|
10990
|
+
</dd>
|
|
10991
|
+
</dl>
|
|
10992
|
+
|
|
10993
|
+
<dl>
|
|
10994
|
+
<dd>
|
|
10995
|
+
|
|
10996
|
+
**requestOptions:** `V1.RequestOptions`
|
|
10997
|
+
|
|
10998
|
+
</dd>
|
|
10999
|
+
</dl>
|
|
11000
|
+
</dd>
|
|
11001
|
+
</dl>
|
|
11002
|
+
|
|
11003
|
+
</dd>
|
|
11004
|
+
</dl>
|
|
11005
|
+
</details>
|
|
11006
|
+
|
|
11007
|
+
## PreEncounter Notes V1
|
|
11008
|
+
|
|
11009
|
+
<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<CandidApi.Note, CandidApi.preEncounter.notes.v1.get.Error></code></summary>
|
|
11010
|
+
<dl>
|
|
11011
|
+
<dd>
|
|
11012
|
+
|
|
11013
|
+
#### 📝 Description
|
|
11014
|
+
|
|
11015
|
+
<dl>
|
|
11016
|
+
<dd>
|
|
11017
|
+
|
|
11018
|
+
<dl>
|
|
11019
|
+
<dd>
|
|
11020
|
+
|
|
11021
|
+
Gets a note by NoteId.
|
|
11022
|
+
|
|
11023
|
+
</dd>
|
|
11024
|
+
</dl>
|
|
11025
|
+
</dd>
|
|
11026
|
+
</dl>
|
|
11027
|
+
|
|
11028
|
+
#### 🔌 Usage
|
|
11029
|
+
|
|
11030
|
+
<dl>
|
|
11031
|
+
<dd>
|
|
11032
|
+
|
|
11033
|
+
<dl>
|
|
11034
|
+
<dd>
|
|
11035
|
+
|
|
11036
|
+
```typescript
|
|
11037
|
+
await client.preEncounter.notes.v1.get(CandidApi.NoteId("string"));
|
|
11038
|
+
```
|
|
11039
|
+
|
|
11040
|
+
</dd>
|
|
11041
|
+
</dl>
|
|
11042
|
+
</dd>
|
|
11043
|
+
</dl>
|
|
11044
|
+
|
|
11045
|
+
#### ⚙️ Parameters
|
|
11046
|
+
|
|
11047
|
+
<dl>
|
|
11048
|
+
<dd>
|
|
11049
|
+
|
|
11050
|
+
<dl>
|
|
11051
|
+
<dd>
|
|
11052
|
+
|
|
11053
|
+
**id:** `CandidApi.NoteId`
|
|
11054
|
+
|
|
11055
|
+
</dd>
|
|
11056
|
+
</dl>
|
|
11057
|
+
|
|
11058
|
+
<dl>
|
|
11059
|
+
<dd>
|
|
11060
|
+
|
|
11061
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11062
|
+
|
|
11063
|
+
</dd>
|
|
11064
|
+
</dl>
|
|
11065
|
+
</dd>
|
|
11066
|
+
</dl>
|
|
11067
|
+
|
|
11068
|
+
</dd>
|
|
11069
|
+
</dl>
|
|
11070
|
+
</details>
|
|
11071
|
+
|
|
11072
|
+
<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<CandidApi.Note, CandidApi.preEncounter.notes.v1.create.Error></code></summary>
|
|
11073
|
+
<dl>
|
|
11074
|
+
<dd>
|
|
11075
|
+
|
|
11076
|
+
#### 📝 Description
|
|
11077
|
+
|
|
11078
|
+
<dl>
|
|
11079
|
+
<dd>
|
|
11080
|
+
|
|
11081
|
+
<dl>
|
|
11082
|
+
<dd>
|
|
11083
|
+
|
|
11084
|
+
Adds a new note.
|
|
11085
|
+
|
|
11086
|
+
</dd>
|
|
11087
|
+
</dl>
|
|
11088
|
+
</dd>
|
|
11089
|
+
</dl>
|
|
11090
|
+
|
|
11091
|
+
#### 🔌 Usage
|
|
11092
|
+
|
|
11093
|
+
<dl>
|
|
11094
|
+
<dd>
|
|
11095
|
+
|
|
11096
|
+
<dl>
|
|
11097
|
+
<dd>
|
|
11098
|
+
|
|
11099
|
+
```typescript
|
|
11100
|
+
await client.preEncounter.notes.v1.create({
|
|
11101
|
+
value: "string",
|
|
11102
|
+
authorEmail: "string",
|
|
11103
|
+
authorName: "string",
|
|
11104
|
+
});
|
|
11105
|
+
```
|
|
11106
|
+
|
|
11107
|
+
</dd>
|
|
11108
|
+
</dl>
|
|
11109
|
+
</dd>
|
|
11110
|
+
</dl>
|
|
11111
|
+
|
|
11112
|
+
#### ⚙️ Parameters
|
|
11113
|
+
|
|
11114
|
+
<dl>
|
|
11115
|
+
<dd>
|
|
11116
|
+
|
|
11117
|
+
<dl>
|
|
11118
|
+
<dd>
|
|
11119
|
+
|
|
11120
|
+
**request:** `CandidApi.MutableNote`
|
|
11121
|
+
|
|
11122
|
+
</dd>
|
|
11123
|
+
</dl>
|
|
11124
|
+
|
|
11125
|
+
<dl>
|
|
11126
|
+
<dd>
|
|
11127
|
+
|
|
11128
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11129
|
+
|
|
11130
|
+
</dd>
|
|
11131
|
+
</dl>
|
|
11132
|
+
</dd>
|
|
11133
|
+
</dl>
|
|
11134
|
+
|
|
11135
|
+
</dd>
|
|
11136
|
+
</dl>
|
|
11137
|
+
</details>
|
|
11138
|
+
|
|
11139
|
+
<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<CandidApi.Note, CandidApi.preEncounter.notes.v1.update.Error></code></summary>
|
|
11140
|
+
<dl>
|
|
11141
|
+
<dd>
|
|
11142
|
+
|
|
11143
|
+
#### 📝 Description
|
|
11144
|
+
|
|
11145
|
+
<dl>
|
|
11146
|
+
<dd>
|
|
11147
|
+
|
|
11148
|
+
<dl>
|
|
11149
|
+
<dd>
|
|
11150
|
+
|
|
11151
|
+
Updates a note. The path must contain the most recent version to prevent races.
|
|
11152
|
+
|
|
11153
|
+
</dd>
|
|
11154
|
+
</dl>
|
|
11155
|
+
</dd>
|
|
11156
|
+
</dl>
|
|
11157
|
+
|
|
11158
|
+
#### 🔌 Usage
|
|
11159
|
+
|
|
11160
|
+
<dl>
|
|
11161
|
+
<dd>
|
|
11162
|
+
|
|
11163
|
+
<dl>
|
|
11164
|
+
<dd>
|
|
11165
|
+
|
|
11166
|
+
```typescript
|
|
11167
|
+
await client.preEncounter.notes.v1.update(CandidApi.NoteId("string"), "string", {
|
|
11168
|
+
value: "string",
|
|
11169
|
+
authorEmail: "string",
|
|
11170
|
+
authorName: "string",
|
|
11171
|
+
});
|
|
11172
|
+
```
|
|
11173
|
+
|
|
11174
|
+
</dd>
|
|
11175
|
+
</dl>
|
|
11176
|
+
</dd>
|
|
11177
|
+
</dl>
|
|
11178
|
+
|
|
11179
|
+
#### ⚙️ Parameters
|
|
11180
|
+
|
|
11181
|
+
<dl>
|
|
11182
|
+
<dd>
|
|
11183
|
+
|
|
11184
|
+
<dl>
|
|
11185
|
+
<dd>
|
|
11186
|
+
|
|
11187
|
+
**id:** `CandidApi.NoteId`
|
|
11188
|
+
|
|
11189
|
+
</dd>
|
|
11190
|
+
</dl>
|
|
11191
|
+
|
|
11192
|
+
<dl>
|
|
11193
|
+
<dd>
|
|
11194
|
+
|
|
11195
|
+
**version:** `string`
|
|
11196
|
+
|
|
11197
|
+
</dd>
|
|
11198
|
+
</dl>
|
|
11199
|
+
|
|
11200
|
+
<dl>
|
|
11201
|
+
<dd>
|
|
11202
|
+
|
|
11203
|
+
**request:** `CandidApi.MutableNote`
|
|
11204
|
+
|
|
11205
|
+
</dd>
|
|
11206
|
+
</dl>
|
|
11207
|
+
|
|
11208
|
+
<dl>
|
|
11209
|
+
<dd>
|
|
11210
|
+
|
|
11211
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11212
|
+
|
|
11213
|
+
</dd>
|
|
11214
|
+
</dl>
|
|
11215
|
+
</dd>
|
|
11216
|
+
</dl>
|
|
11217
|
+
|
|
11218
|
+
</dd>
|
|
11219
|
+
</dl>
|
|
11220
|
+
</details>
|
|
11221
|
+
|
|
11222
|
+
<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<void, CandidApi.preEncounter.notes.v1.deactivate.Error></code></summary>
|
|
11223
|
+
<dl>
|
|
11224
|
+
<dd>
|
|
11225
|
+
|
|
11226
|
+
#### 📝 Description
|
|
11227
|
+
|
|
11228
|
+
<dl>
|
|
11229
|
+
<dd>
|
|
11230
|
+
|
|
11231
|
+
<dl>
|
|
11232
|
+
<dd>
|
|
11233
|
+
|
|
11234
|
+
Sets a note as deactivated. The path must contain the most recent version to prevent races.
|
|
11235
|
+
|
|
11236
|
+
</dd>
|
|
11237
|
+
</dl>
|
|
11238
|
+
</dd>
|
|
11239
|
+
</dl>
|
|
11240
|
+
|
|
11241
|
+
#### 🔌 Usage
|
|
11242
|
+
|
|
11243
|
+
<dl>
|
|
11244
|
+
<dd>
|
|
11245
|
+
|
|
11246
|
+
<dl>
|
|
11247
|
+
<dd>
|
|
11248
|
+
|
|
11249
|
+
```typescript
|
|
11250
|
+
await client.preEncounter.notes.v1.deactivate(CandidApi.NoteId("string"), "string");
|
|
11251
|
+
```
|
|
11252
|
+
|
|
11253
|
+
</dd>
|
|
11254
|
+
</dl>
|
|
11255
|
+
</dd>
|
|
11256
|
+
</dl>
|
|
11257
|
+
|
|
11258
|
+
#### ⚙️ Parameters
|
|
11259
|
+
|
|
11260
|
+
<dl>
|
|
11261
|
+
<dd>
|
|
11262
|
+
|
|
11263
|
+
<dl>
|
|
11264
|
+
<dd>
|
|
11265
|
+
|
|
11266
|
+
**id:** `CandidApi.NoteId`
|
|
11267
|
+
|
|
11268
|
+
</dd>
|
|
11269
|
+
</dl>
|
|
11270
|
+
|
|
11271
|
+
<dl>
|
|
11272
|
+
<dd>
|
|
11273
|
+
|
|
11274
|
+
**version:** `string`
|
|
11275
|
+
|
|
11276
|
+
</dd>
|
|
11277
|
+
</dl>
|
|
11278
|
+
|
|
11279
|
+
<dl>
|
|
11280
|
+
<dd>
|
|
11281
|
+
|
|
11282
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11283
|
+
|
|
11284
|
+
</dd>
|
|
11285
|
+
</dl>
|
|
11286
|
+
</dd>
|
|
11287
|
+
</dl>
|
|
11288
|
+
|
|
11289
|
+
</dd>
|
|
11290
|
+
</dl>
|
|
11291
|
+
</details>
|
|
11292
|
+
|
|
11293
|
+
## PreEncounter Patients V1
|
|
11294
|
+
|
|
11295
|
+
<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<CandidApi.Patient, CandidApi.preEncounter.patients.v1.create.Error></code></summary>
|
|
11296
|
+
<dl>
|
|
11297
|
+
<dd>
|
|
11298
|
+
|
|
11299
|
+
#### 📝 Description
|
|
11300
|
+
|
|
11301
|
+
<dl>
|
|
11302
|
+
<dd>
|
|
11303
|
+
|
|
11304
|
+
<dl>
|
|
11305
|
+
<dd>
|
|
11306
|
+
|
|
11307
|
+
Adds a patient. VersionConflictError is returned when the patient's external ID is already in use.
|
|
11308
|
+
|
|
11309
|
+
</dd>
|
|
11310
|
+
</dl>
|
|
11311
|
+
</dd>
|
|
11312
|
+
</dl>
|
|
11313
|
+
|
|
11314
|
+
#### 🔌 Usage
|
|
11315
|
+
|
|
11316
|
+
<dl>
|
|
11317
|
+
<dd>
|
|
11318
|
+
|
|
11319
|
+
<dl>
|
|
11320
|
+
<dd>
|
|
11321
|
+
|
|
11322
|
+
```typescript
|
|
11323
|
+
await client.preEncounter.patients.v1.create({
|
|
11324
|
+
skipDuplicateCheck: true,
|
|
11325
|
+
body: {
|
|
11326
|
+
name: {
|
|
11327
|
+
family: "string",
|
|
11328
|
+
given: ["string"],
|
|
11329
|
+
use: CandidApi.NameUse.Usual,
|
|
11330
|
+
period: {},
|
|
11331
|
+
},
|
|
11332
|
+
otherNames: [
|
|
11333
|
+
{
|
|
11334
|
+
family: "string",
|
|
11335
|
+
given: ["string"],
|
|
11336
|
+
use: CandidApi.NameUse.Usual,
|
|
11337
|
+
period: {},
|
|
11338
|
+
},
|
|
11339
|
+
],
|
|
11340
|
+
gender: CandidApi.Gender.Man,
|
|
11341
|
+
birthDate: "2023-01-15",
|
|
11342
|
+
socialSecurityNumber: "string",
|
|
11343
|
+
biologicalSex: CandidApi.Sex.Female,
|
|
11344
|
+
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
11345
|
+
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
11346
|
+
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
11347
|
+
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
11348
|
+
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
11349
|
+
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
11350
|
+
multipleBirth: 1,
|
|
11351
|
+
primaryAddress: {
|
|
11352
|
+
use: CandidApi.AddressUse.Home,
|
|
11353
|
+
line: ["string"],
|
|
11354
|
+
city: "string",
|
|
11355
|
+
state: "string",
|
|
11356
|
+
postalCode: "string",
|
|
11357
|
+
country: "string",
|
|
11358
|
+
period: {},
|
|
11359
|
+
},
|
|
11360
|
+
otherAddresses: [
|
|
11361
|
+
{
|
|
11362
|
+
use: CandidApi.AddressUse.Home,
|
|
11363
|
+
line: ["string"],
|
|
11364
|
+
city: "string",
|
|
11365
|
+
state: "string",
|
|
11366
|
+
postalCode: "string",
|
|
11367
|
+
country: "string",
|
|
11368
|
+
period: {},
|
|
11369
|
+
},
|
|
11370
|
+
],
|
|
11371
|
+
primaryTelecom: {
|
|
11372
|
+
value: "string",
|
|
11373
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11374
|
+
},
|
|
11375
|
+
otherTelecoms: [
|
|
11376
|
+
{
|
|
11377
|
+
value: "string",
|
|
11378
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11379
|
+
},
|
|
11380
|
+
],
|
|
11381
|
+
email: "string",
|
|
11382
|
+
electronicCommunicationOptIn: true,
|
|
11383
|
+
photo: "string",
|
|
11384
|
+
language: "string",
|
|
11385
|
+
externalProvenance: {
|
|
11386
|
+
externalId: "string",
|
|
11387
|
+
systemName: "string",
|
|
11388
|
+
},
|
|
11389
|
+
contacts: [
|
|
11390
|
+
{
|
|
11391
|
+
relationship: [CandidApi.Relationship.Self],
|
|
11392
|
+
name: {
|
|
11393
|
+
family: "string",
|
|
11394
|
+
given: ["string"],
|
|
11395
|
+
use: CandidApi.NameUse.Usual,
|
|
11396
|
+
period: {},
|
|
11397
|
+
},
|
|
11398
|
+
telecoms: [
|
|
11399
|
+
{
|
|
11400
|
+
value: "string",
|
|
11401
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11402
|
+
},
|
|
11403
|
+
],
|
|
11404
|
+
addresses: [
|
|
11405
|
+
{
|
|
11406
|
+
use: CandidApi.AddressUse.Home,
|
|
11407
|
+
line: ["string"],
|
|
11408
|
+
city: "string",
|
|
11409
|
+
state: "string",
|
|
11410
|
+
postalCode: "string",
|
|
11411
|
+
country: "string",
|
|
11412
|
+
period: {},
|
|
11413
|
+
},
|
|
11414
|
+
],
|
|
11415
|
+
period: {},
|
|
11416
|
+
hipaaAuthorization: true,
|
|
11417
|
+
},
|
|
11418
|
+
],
|
|
11419
|
+
generalPractitioners: [
|
|
11420
|
+
{
|
|
11421
|
+
name: {
|
|
11422
|
+
family: "string",
|
|
11423
|
+
given: ["string"],
|
|
11424
|
+
use: CandidApi.NameUse.Usual,
|
|
11425
|
+
period: {},
|
|
11426
|
+
},
|
|
11427
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
11428
|
+
npi: "string",
|
|
11429
|
+
telecoms: [
|
|
11430
|
+
{
|
|
11431
|
+
value: "string",
|
|
11432
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11433
|
+
},
|
|
11434
|
+
],
|
|
11435
|
+
addresses: [],
|
|
11436
|
+
period: {},
|
|
11437
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
11438
|
+
},
|
|
11439
|
+
],
|
|
11440
|
+
filingOrder: {
|
|
11441
|
+
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
11442
|
+
},
|
|
11443
|
+
nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
|
|
11444
|
+
nonInsurancePayerAssociations: [
|
|
11445
|
+
{
|
|
11446
|
+
id: CandidApi.CanonicalNonInsurancePayerId("string"),
|
|
11447
|
+
},
|
|
11448
|
+
],
|
|
11449
|
+
guarantor: {
|
|
11450
|
+
name: {
|
|
11451
|
+
family: "string",
|
|
11452
|
+
given: ["string"],
|
|
11453
|
+
use: CandidApi.NameUse.Usual,
|
|
11454
|
+
period: {},
|
|
11455
|
+
},
|
|
11456
|
+
telecom: {
|
|
11457
|
+
value: "string",
|
|
11458
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11459
|
+
},
|
|
11460
|
+
email: "string",
|
|
11461
|
+
birthDate: "2023-01-15",
|
|
11462
|
+
address: {
|
|
11463
|
+
use: CandidApi.AddressUse.Home,
|
|
11464
|
+
line: ["string"],
|
|
11465
|
+
city: "string",
|
|
11466
|
+
state: "string",
|
|
11467
|
+
postalCode: "string",
|
|
11468
|
+
country: "string",
|
|
11469
|
+
period: {},
|
|
11470
|
+
},
|
|
11471
|
+
},
|
|
11472
|
+
selfPay: true,
|
|
11473
|
+
authorizations: [
|
|
11474
|
+
{
|
|
11475
|
+
payerId: CandidApi.PayerId("string"),
|
|
11476
|
+
payerName: "string",
|
|
11477
|
+
additionalPayerInformation: {},
|
|
11478
|
+
authorizationNumber: "string",
|
|
11479
|
+
cptCode: "string",
|
|
11480
|
+
units: CandidApi.AuthorizationUnit.Visit,
|
|
11481
|
+
quantity: 1,
|
|
11482
|
+
period: {},
|
|
11483
|
+
notes: "string",
|
|
11484
|
+
},
|
|
11485
|
+
],
|
|
11486
|
+
referrals: [
|
|
11487
|
+
{
|
|
11488
|
+
provider: {
|
|
11489
|
+
name: {
|
|
11490
|
+
family: "string",
|
|
11491
|
+
given: ["string"],
|
|
11492
|
+
use: CandidApi.NameUse.Usual,
|
|
11493
|
+
period: {},
|
|
11494
|
+
},
|
|
11495
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
11496
|
+
npi: "string",
|
|
11497
|
+
telecoms: [
|
|
11498
|
+
{
|
|
11499
|
+
value: "string",
|
|
11500
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11501
|
+
},
|
|
11502
|
+
],
|
|
11503
|
+
addresses: [],
|
|
11504
|
+
period: {},
|
|
11505
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
11506
|
+
},
|
|
11507
|
+
referralNumber: "string",
|
|
11508
|
+
},
|
|
11509
|
+
],
|
|
11510
|
+
primaryServiceFacilityId: "string",
|
|
11511
|
+
doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
|
|
11512
|
+
noteIds: [CandidApi.NoteId("string")],
|
|
11513
|
+
tagIds: [CandidApi.TagId("string")],
|
|
11514
|
+
},
|
|
11515
|
+
});
|
|
11516
|
+
```
|
|
11517
|
+
|
|
11518
|
+
</dd>
|
|
11519
|
+
</dl>
|
|
11520
|
+
</dd>
|
|
11521
|
+
</dl>
|
|
11522
|
+
|
|
11523
|
+
#### ⚙️ Parameters
|
|
11524
|
+
|
|
11525
|
+
<dl>
|
|
11526
|
+
<dd>
|
|
11527
|
+
|
|
11528
|
+
<dl>
|
|
11529
|
+
<dd>
|
|
11530
|
+
|
|
11531
|
+
**request:** `CandidApi.preEncounter.patients.v1.CreatePatientRequest`
|
|
11532
|
+
|
|
11533
|
+
</dd>
|
|
11534
|
+
</dl>
|
|
11535
|
+
|
|
11536
|
+
<dl>
|
|
11537
|
+
<dd>
|
|
11538
|
+
|
|
11539
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11540
|
+
|
|
11541
|
+
</dd>
|
|
11542
|
+
</dl>
|
|
11543
|
+
</dd>
|
|
11544
|
+
</dl>
|
|
11545
|
+
|
|
11546
|
+
</dd>
|
|
11547
|
+
</dl>
|
|
11548
|
+
</details>
|
|
11549
|
+
|
|
11550
|
+
<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<CandidApi.Patient, CandidApi.preEncounter.patients.v1.createWithMrn.Error></code></summary>
|
|
11551
|
+
<dl>
|
|
11552
|
+
<dd>
|
|
11553
|
+
|
|
11554
|
+
#### 📝 Description
|
|
11555
|
+
|
|
11556
|
+
<dl>
|
|
11557
|
+
<dd>
|
|
11558
|
+
|
|
11559
|
+
<dl>
|
|
11560
|
+
<dd>
|
|
11561
|
+
|
|
11562
|
+
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.
|
|
11563
|
+
|
|
11564
|
+
</dd>
|
|
11565
|
+
</dl>
|
|
11566
|
+
</dd>
|
|
11567
|
+
</dl>
|
|
11568
|
+
|
|
11569
|
+
#### 🔌 Usage
|
|
11570
|
+
|
|
11571
|
+
<dl>
|
|
11572
|
+
<dd>
|
|
11573
|
+
|
|
11574
|
+
<dl>
|
|
11575
|
+
<dd>
|
|
11576
|
+
|
|
11577
|
+
```typescript
|
|
11578
|
+
await client.preEncounter.patients.v1.createWithMrn({
|
|
11579
|
+
skipDuplicateCheck: true,
|
|
11580
|
+
body: {
|
|
11581
|
+
mrn: "string",
|
|
11582
|
+
name: {
|
|
11583
|
+
family: "string",
|
|
11584
|
+
given: ["string"],
|
|
11585
|
+
use: CandidApi.NameUse.Usual,
|
|
11586
|
+
period: {},
|
|
11587
|
+
},
|
|
11588
|
+
otherNames: [
|
|
11589
|
+
{
|
|
11590
|
+
family: "string",
|
|
11591
|
+
given: ["string"],
|
|
11592
|
+
use: CandidApi.NameUse.Usual,
|
|
11593
|
+
period: {},
|
|
11594
|
+
},
|
|
11595
|
+
],
|
|
11596
|
+
gender: CandidApi.Gender.Man,
|
|
11597
|
+
birthDate: "2023-01-15",
|
|
11598
|
+
socialSecurityNumber: "string",
|
|
11599
|
+
biologicalSex: CandidApi.Sex.Female,
|
|
11600
|
+
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
11601
|
+
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
11602
|
+
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
11603
|
+
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
11604
|
+
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
11605
|
+
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
11606
|
+
multipleBirth: 1,
|
|
11607
|
+
primaryAddress: {
|
|
11608
|
+
use: CandidApi.AddressUse.Home,
|
|
11609
|
+
line: ["string"],
|
|
11610
|
+
city: "string",
|
|
11611
|
+
state: "string",
|
|
11612
|
+
postalCode: "string",
|
|
11613
|
+
country: "string",
|
|
11614
|
+
period: {},
|
|
11615
|
+
},
|
|
11616
|
+
otherAddresses: [
|
|
11617
|
+
{
|
|
11618
|
+
use: CandidApi.AddressUse.Home,
|
|
11619
|
+
line: ["string"],
|
|
11620
|
+
city: "string",
|
|
11621
|
+
state: "string",
|
|
11622
|
+
postalCode: "string",
|
|
11623
|
+
country: "string",
|
|
11624
|
+
period: {},
|
|
11625
|
+
},
|
|
11626
|
+
],
|
|
11627
|
+
primaryTelecom: {
|
|
11628
|
+
value: "string",
|
|
11629
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11630
|
+
},
|
|
11631
|
+
otherTelecoms: [
|
|
11632
|
+
{
|
|
11633
|
+
value: "string",
|
|
11634
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11635
|
+
},
|
|
11636
|
+
],
|
|
11637
|
+
email: "string",
|
|
11638
|
+
electronicCommunicationOptIn: true,
|
|
11639
|
+
photo: "string",
|
|
11640
|
+
language: "string",
|
|
11641
|
+
externalProvenance: {
|
|
11642
|
+
externalId: "string",
|
|
11643
|
+
systemName: "string",
|
|
11644
|
+
},
|
|
11645
|
+
contacts: [
|
|
11646
|
+
{
|
|
11647
|
+
relationship: [CandidApi.Relationship.Self],
|
|
11648
|
+
name: {
|
|
11649
|
+
family: "string",
|
|
11650
|
+
given: ["string"],
|
|
11651
|
+
use: CandidApi.NameUse.Usual,
|
|
11652
|
+
period: {},
|
|
11653
|
+
},
|
|
11654
|
+
telecoms: [
|
|
11655
|
+
{
|
|
11656
|
+
value: "string",
|
|
11657
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11658
|
+
},
|
|
11659
|
+
],
|
|
11660
|
+
addresses: [
|
|
11661
|
+
{
|
|
11662
|
+
use: CandidApi.AddressUse.Home,
|
|
11663
|
+
line: ["string"],
|
|
11664
|
+
city: "string",
|
|
11665
|
+
state: "string",
|
|
11666
|
+
postalCode: "string",
|
|
11667
|
+
country: "string",
|
|
11668
|
+
period: {},
|
|
11669
|
+
},
|
|
11670
|
+
],
|
|
11671
|
+
period: {},
|
|
11672
|
+
hipaaAuthorization: true,
|
|
11673
|
+
},
|
|
11674
|
+
],
|
|
11675
|
+
generalPractitioners: [
|
|
11676
|
+
{
|
|
11677
|
+
name: {
|
|
11678
|
+
family: "string",
|
|
11679
|
+
given: ["string"],
|
|
11680
|
+
use: CandidApi.NameUse.Usual,
|
|
11681
|
+
period: {},
|
|
11682
|
+
},
|
|
11683
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
11684
|
+
npi: "string",
|
|
11685
|
+
telecoms: [
|
|
11686
|
+
{
|
|
11687
|
+
value: "string",
|
|
11688
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11689
|
+
},
|
|
11690
|
+
],
|
|
11691
|
+
addresses: [],
|
|
11692
|
+
period: {},
|
|
11693
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
11694
|
+
},
|
|
11695
|
+
],
|
|
11696
|
+
filingOrder: {
|
|
11697
|
+
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
11698
|
+
},
|
|
11699
|
+
nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
|
|
11700
|
+
nonInsurancePayerAssociations: [
|
|
11701
|
+
{
|
|
11702
|
+
id: CandidApi.CanonicalNonInsurancePayerId("string"),
|
|
11703
|
+
},
|
|
11704
|
+
],
|
|
11705
|
+
guarantor: {
|
|
11706
|
+
name: {
|
|
11707
|
+
family: "string",
|
|
11708
|
+
given: ["string"],
|
|
11709
|
+
use: CandidApi.NameUse.Usual,
|
|
11710
|
+
period: {},
|
|
11711
|
+
},
|
|
11712
|
+
telecom: {
|
|
11713
|
+
value: "string",
|
|
11714
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11715
|
+
},
|
|
11716
|
+
email: "string",
|
|
11717
|
+
birthDate: "2023-01-15",
|
|
11718
|
+
address: {
|
|
11719
|
+
use: CandidApi.AddressUse.Home,
|
|
11720
|
+
line: ["string"],
|
|
11721
|
+
city: "string",
|
|
11722
|
+
state: "string",
|
|
11723
|
+
postalCode: "string",
|
|
11724
|
+
country: "string",
|
|
11725
|
+
period: {},
|
|
11726
|
+
},
|
|
11727
|
+
},
|
|
11728
|
+
selfPay: true,
|
|
11729
|
+
authorizations: [
|
|
11730
|
+
{
|
|
11731
|
+
payerId: CandidApi.PayerId("string"),
|
|
11732
|
+
payerName: "string",
|
|
11733
|
+
additionalPayerInformation: {},
|
|
11734
|
+
authorizationNumber: "string",
|
|
11735
|
+
cptCode: "string",
|
|
11736
|
+
units: CandidApi.AuthorizationUnit.Visit,
|
|
11737
|
+
quantity: 1,
|
|
11738
|
+
period: {},
|
|
11739
|
+
notes: "string",
|
|
11740
|
+
},
|
|
11741
|
+
],
|
|
11742
|
+
referrals: [
|
|
11743
|
+
{
|
|
11744
|
+
provider: {
|
|
11745
|
+
name: {
|
|
11746
|
+
family: "string",
|
|
11747
|
+
given: ["string"],
|
|
11748
|
+
use: CandidApi.NameUse.Usual,
|
|
11749
|
+
period: {},
|
|
11750
|
+
},
|
|
11751
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
11752
|
+
npi: "string",
|
|
11753
|
+
telecoms: [
|
|
11754
|
+
{
|
|
11755
|
+
value: "string",
|
|
11756
|
+
use: CandidApi.ContactPointUse.Home,
|
|
11757
|
+
},
|
|
11758
|
+
],
|
|
11759
|
+
addresses: [],
|
|
11760
|
+
period: {},
|
|
11761
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
11762
|
+
},
|
|
11763
|
+
referralNumber: "string",
|
|
11764
|
+
},
|
|
11765
|
+
],
|
|
11766
|
+
primaryServiceFacilityId: "string",
|
|
11767
|
+
doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
|
|
11768
|
+
noteIds: [CandidApi.NoteId("string")],
|
|
11769
|
+
tagIds: [CandidApi.TagId("string")],
|
|
11770
|
+
},
|
|
11771
|
+
});
|
|
11772
|
+
```
|
|
11773
|
+
|
|
11774
|
+
</dd>
|
|
11775
|
+
</dl>
|
|
11776
|
+
</dd>
|
|
11777
|
+
</dl>
|
|
11778
|
+
|
|
11779
|
+
#### ⚙️ Parameters
|
|
11780
|
+
|
|
11781
|
+
<dl>
|
|
11782
|
+
<dd>
|
|
11783
|
+
|
|
11784
|
+
<dl>
|
|
11785
|
+
<dd>
|
|
11786
|
+
|
|
11787
|
+
**request:** `CandidApi.preEncounter.patients.v1.CreatePatientWithMrnRequest`
|
|
11788
|
+
|
|
11789
|
+
</dd>
|
|
11790
|
+
</dl>
|
|
11791
|
+
|
|
11792
|
+
<dl>
|
|
11793
|
+
<dd>
|
|
11794
|
+
|
|
11795
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11796
|
+
|
|
11797
|
+
</dd>
|
|
11798
|
+
</dl>
|
|
11799
|
+
</dd>
|
|
11800
|
+
</dl>
|
|
11801
|
+
|
|
11802
|
+
</dd>
|
|
11803
|
+
</dl>
|
|
11804
|
+
</details>
|
|
11805
|
+
|
|
11806
|
+
<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<CandidApi.PatientPage, CandidApi.preEncounter.patients.v1.getMulti.Error></code></summary>
|
|
11807
|
+
<dl>
|
|
11808
|
+
<dd>
|
|
11809
|
+
|
|
11810
|
+
#### 📝 Description
|
|
11811
|
+
|
|
11812
|
+
<dl>
|
|
11813
|
+
<dd>
|
|
11814
|
+
|
|
11815
|
+
<dl>
|
|
11816
|
+
<dd>
|
|
11817
|
+
|
|
11818
|
+
Searches for patients that match the query parameters.
|
|
11819
|
+
|
|
11820
|
+
</dd>
|
|
11821
|
+
</dl>
|
|
11822
|
+
</dd>
|
|
11823
|
+
</dl>
|
|
11824
|
+
|
|
11825
|
+
#### 🔌 Usage
|
|
11826
|
+
|
|
11827
|
+
<dl>
|
|
11828
|
+
<dd>
|
|
11829
|
+
|
|
11830
|
+
<dl>
|
|
11831
|
+
<dd>
|
|
11832
|
+
|
|
11833
|
+
```typescript
|
|
11834
|
+
await client.preEncounter.patients.v1.getMulti({
|
|
11835
|
+
limit: 1,
|
|
11836
|
+
mrn: "string",
|
|
11837
|
+
pageToken: CandidApi.PageToken("string"),
|
|
11838
|
+
sortField: CandidApi.PatientSortField("string"),
|
|
11839
|
+
sortDirection: CandidApi.SortDirection.Asc,
|
|
11840
|
+
});
|
|
11841
|
+
```
|
|
11842
|
+
|
|
11843
|
+
</dd>
|
|
11844
|
+
</dl>
|
|
11845
|
+
</dd>
|
|
11846
|
+
</dl>
|
|
11847
|
+
|
|
11848
|
+
#### ⚙️ Parameters
|
|
11849
|
+
|
|
11850
|
+
<dl>
|
|
11851
|
+
<dd>
|
|
11852
|
+
|
|
11853
|
+
<dl>
|
|
11854
|
+
<dd>
|
|
11855
|
+
|
|
11856
|
+
**request:** `CandidApi.preEncounter.patients.v1.PatientsSearchRequestPaginated`
|
|
11857
|
+
|
|
11858
|
+
</dd>
|
|
11859
|
+
</dl>
|
|
11860
|
+
|
|
11861
|
+
<dl>
|
|
11862
|
+
<dd>
|
|
11863
|
+
|
|
11864
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11865
|
+
|
|
11866
|
+
</dd>
|
|
11867
|
+
</dl>
|
|
11868
|
+
</dd>
|
|
11869
|
+
</dl>
|
|
11870
|
+
|
|
11871
|
+
</dd>
|
|
11872
|
+
</dl>
|
|
11873
|
+
</details>
|
|
11874
|
+
|
|
11875
|
+
<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<CandidApi.Patient, CandidApi.preEncounter.patients.v1.get.Error></code></summary>
|
|
11876
|
+
<dl>
|
|
11877
|
+
<dd>
|
|
11878
|
+
|
|
11879
|
+
#### 📝 Description
|
|
11880
|
+
|
|
11881
|
+
<dl>
|
|
11882
|
+
<dd>
|
|
11883
|
+
|
|
11884
|
+
<dl>
|
|
11885
|
+
<dd>
|
|
11886
|
+
|
|
11887
|
+
Gets a patient.
|
|
11888
|
+
|
|
11889
|
+
</dd>
|
|
11890
|
+
</dl>
|
|
11891
|
+
</dd>
|
|
11892
|
+
</dl>
|
|
11893
|
+
|
|
11894
|
+
#### 🔌 Usage
|
|
11895
|
+
|
|
11896
|
+
<dl>
|
|
11897
|
+
<dd>
|
|
11898
|
+
|
|
11899
|
+
<dl>
|
|
11900
|
+
<dd>
|
|
11901
|
+
|
|
11902
|
+
```typescript
|
|
11903
|
+
await client.preEncounter.patients.v1.get(CandidApi.PatientId("string"));
|
|
11904
|
+
```
|
|
11905
|
+
|
|
11906
|
+
</dd>
|
|
11907
|
+
</dl>
|
|
11908
|
+
</dd>
|
|
11909
|
+
</dl>
|
|
11910
|
+
|
|
11911
|
+
#### ⚙️ Parameters
|
|
11912
|
+
|
|
11913
|
+
<dl>
|
|
11914
|
+
<dd>
|
|
11915
|
+
|
|
11916
|
+
<dl>
|
|
11917
|
+
<dd>
|
|
11918
|
+
|
|
11919
|
+
**id:** `CandidApi.PatientId`
|
|
11920
|
+
|
|
11921
|
+
</dd>
|
|
11922
|
+
</dl>
|
|
11923
|
+
|
|
11924
|
+
<dl>
|
|
11925
|
+
<dd>
|
|
11926
|
+
|
|
11927
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11928
|
+
|
|
11929
|
+
</dd>
|
|
11930
|
+
</dl>
|
|
11931
|
+
</dd>
|
|
11932
|
+
</dl>
|
|
11933
|
+
|
|
11934
|
+
</dd>
|
|
11935
|
+
</dl>
|
|
11936
|
+
</details>
|
|
11937
|
+
|
|
11938
|
+
<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<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.getHistory.Error></code></summary>
|
|
11939
|
+
<dl>
|
|
11940
|
+
<dd>
|
|
11941
|
+
|
|
11942
|
+
#### 📝 Description
|
|
11943
|
+
|
|
11944
|
+
<dl>
|
|
11945
|
+
<dd>
|
|
11946
|
+
|
|
11947
|
+
<dl>
|
|
11948
|
+
<dd>
|
|
11949
|
+
|
|
11950
|
+
Gets a patient along with it's full history. The return list is ordered by version ascending.
|
|
11951
|
+
|
|
11952
|
+
</dd>
|
|
11953
|
+
</dl>
|
|
11954
|
+
</dd>
|
|
11955
|
+
</dl>
|
|
11956
|
+
|
|
11957
|
+
#### 🔌 Usage
|
|
11958
|
+
|
|
11959
|
+
<dl>
|
|
11960
|
+
<dd>
|
|
11961
|
+
|
|
11962
|
+
<dl>
|
|
11963
|
+
<dd>
|
|
11964
|
+
|
|
11965
|
+
```typescript
|
|
11966
|
+
await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("string"));
|
|
11967
|
+
```
|
|
11968
|
+
|
|
11969
|
+
</dd>
|
|
11970
|
+
</dl>
|
|
11971
|
+
</dd>
|
|
11972
|
+
</dl>
|
|
11973
|
+
|
|
11974
|
+
#### ⚙️ Parameters
|
|
11975
|
+
|
|
11976
|
+
<dl>
|
|
11977
|
+
<dd>
|
|
11978
|
+
|
|
11979
|
+
<dl>
|
|
11980
|
+
<dd>
|
|
11981
|
+
|
|
11982
|
+
**id:** `CandidApi.PatientId`
|
|
11983
|
+
|
|
11984
|
+
</dd>
|
|
11985
|
+
</dl>
|
|
11986
|
+
|
|
11987
|
+
<dl>
|
|
11988
|
+
<dd>
|
|
11989
|
+
|
|
11990
|
+
**requestOptions:** `V1.RequestOptions`
|
|
11991
|
+
|
|
11992
|
+
</dd>
|
|
11993
|
+
</dl>
|
|
11994
|
+
</dd>
|
|
11995
|
+
</dl>
|
|
11996
|
+
|
|
11997
|
+
</dd>
|
|
11998
|
+
</dl>
|
|
11999
|
+
</details>
|
|
12000
|
+
|
|
12001
|
+
<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<CandidApi.Patient, CandidApi.preEncounter.patients.v1.update.Error></code></summary>
|
|
12002
|
+
<dl>
|
|
12003
|
+
<dd>
|
|
12004
|
+
|
|
12005
|
+
#### 📝 Description
|
|
12006
|
+
|
|
12007
|
+
<dl>
|
|
12008
|
+
<dd>
|
|
12009
|
+
|
|
12010
|
+
<dl>
|
|
12011
|
+
<dd>
|
|
12012
|
+
|
|
12013
|
+
Updates a patient. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
|
|
12014
|
+
|
|
12015
|
+
</dd>
|
|
12016
|
+
</dl>
|
|
12017
|
+
</dd>
|
|
12018
|
+
</dl>
|
|
12019
|
+
|
|
12020
|
+
#### 🔌 Usage
|
|
12021
|
+
|
|
12022
|
+
<dl>
|
|
12023
|
+
<dd>
|
|
12024
|
+
|
|
12025
|
+
<dl>
|
|
12026
|
+
<dd>
|
|
12027
|
+
|
|
12028
|
+
```typescript
|
|
12029
|
+
await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "string", {
|
|
12030
|
+
name: {
|
|
12031
|
+
family: "string",
|
|
12032
|
+
given: ["string"],
|
|
12033
|
+
use: CandidApi.NameUse.Usual,
|
|
12034
|
+
period: {},
|
|
12035
|
+
},
|
|
12036
|
+
otherNames: [
|
|
12037
|
+
{
|
|
12038
|
+
family: "string",
|
|
12039
|
+
given: ["string"],
|
|
12040
|
+
use: CandidApi.NameUse.Usual,
|
|
12041
|
+
period: {},
|
|
12042
|
+
},
|
|
12043
|
+
],
|
|
12044
|
+
gender: CandidApi.Gender.Man,
|
|
12045
|
+
birthDate: "2023-01-15",
|
|
12046
|
+
socialSecurityNumber: "string",
|
|
12047
|
+
biologicalSex: CandidApi.Sex.Female,
|
|
12048
|
+
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
12049
|
+
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
12050
|
+
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
12051
|
+
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
12052
|
+
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
12053
|
+
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
12054
|
+
multipleBirth: 1,
|
|
12055
|
+
primaryAddress: {
|
|
12056
|
+
use: CandidApi.AddressUse.Home,
|
|
12057
|
+
line: ["string"],
|
|
12058
|
+
city: "string",
|
|
12059
|
+
state: "string",
|
|
12060
|
+
postalCode: "string",
|
|
12061
|
+
country: "string",
|
|
12062
|
+
period: {},
|
|
12063
|
+
},
|
|
12064
|
+
otherAddresses: [
|
|
12065
|
+
{
|
|
12066
|
+
use: CandidApi.AddressUse.Home,
|
|
12067
|
+
line: ["string"],
|
|
12068
|
+
city: "string",
|
|
12069
|
+
state: "string",
|
|
12070
|
+
postalCode: "string",
|
|
12071
|
+
country: "string",
|
|
12072
|
+
period: {},
|
|
12073
|
+
},
|
|
12074
|
+
],
|
|
12075
|
+
primaryTelecom: {
|
|
12076
|
+
value: "string",
|
|
12077
|
+
use: CandidApi.ContactPointUse.Home,
|
|
12078
|
+
},
|
|
12079
|
+
otherTelecoms: [
|
|
12080
|
+
{
|
|
12081
|
+
value: "string",
|
|
12082
|
+
use: CandidApi.ContactPointUse.Home,
|
|
12083
|
+
},
|
|
12084
|
+
],
|
|
12085
|
+
email: "string",
|
|
12086
|
+
electronicCommunicationOptIn: true,
|
|
12087
|
+
photo: "string",
|
|
12088
|
+
language: "string",
|
|
12089
|
+
externalProvenance: {
|
|
12090
|
+
externalId: "string",
|
|
12091
|
+
systemName: "string",
|
|
12092
|
+
},
|
|
12093
|
+
contacts: [
|
|
12094
|
+
{
|
|
12095
|
+
relationship: [CandidApi.Relationship.Self],
|
|
12096
|
+
name: {
|
|
12097
|
+
family: "string",
|
|
12098
|
+
given: ["string"],
|
|
12099
|
+
use: CandidApi.NameUse.Usual,
|
|
12100
|
+
period: {},
|
|
12101
|
+
},
|
|
12102
|
+
telecoms: [
|
|
12103
|
+
{
|
|
12104
|
+
value: "string",
|
|
12105
|
+
use: CandidApi.ContactPointUse.Home,
|
|
12106
|
+
},
|
|
12107
|
+
],
|
|
12108
|
+
addresses: [
|
|
12109
|
+
{
|
|
12110
|
+
use: CandidApi.AddressUse.Home,
|
|
12111
|
+
line: ["string"],
|
|
12112
|
+
city: "string",
|
|
12113
|
+
state: "string",
|
|
12114
|
+
postalCode: "string",
|
|
12115
|
+
country: "string",
|
|
12116
|
+
period: {},
|
|
12117
|
+
},
|
|
12118
|
+
],
|
|
12119
|
+
period: {},
|
|
12120
|
+
hipaaAuthorization: true,
|
|
12121
|
+
},
|
|
12122
|
+
],
|
|
12123
|
+
generalPractitioners: [
|
|
12124
|
+
{
|
|
12125
|
+
name: {
|
|
12126
|
+
family: "string",
|
|
12127
|
+
given: ["string"],
|
|
12128
|
+
use: CandidApi.NameUse.Usual,
|
|
12129
|
+
period: {},
|
|
12130
|
+
},
|
|
12131
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
12132
|
+
npi: "string",
|
|
12133
|
+
telecoms: [
|
|
12134
|
+
{
|
|
12135
|
+
value: "string",
|
|
12136
|
+
use: CandidApi.ContactPointUse.Home,
|
|
12137
|
+
},
|
|
12138
|
+
],
|
|
12139
|
+
addresses: [],
|
|
12140
|
+
period: {},
|
|
12141
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
12142
|
+
},
|
|
12143
|
+
],
|
|
12144
|
+
filingOrder: {
|
|
12145
|
+
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
12146
|
+
},
|
|
12147
|
+
nonInsurancePayers: [CandidApi.CanonicalNonInsurancePayerId("string")],
|
|
12148
|
+
nonInsurancePayerAssociations: [
|
|
12149
|
+
{
|
|
12150
|
+
id: CandidApi.CanonicalNonInsurancePayerId("string"),
|
|
12151
|
+
},
|
|
12152
|
+
],
|
|
12153
|
+
guarantor: {
|
|
12154
|
+
name: {
|
|
12155
|
+
family: "string",
|
|
12156
|
+
given: ["string"],
|
|
12157
|
+
use: CandidApi.NameUse.Usual,
|
|
12158
|
+
period: {},
|
|
12159
|
+
},
|
|
12160
|
+
telecom: {
|
|
12161
|
+
value: "string",
|
|
12162
|
+
use: CandidApi.ContactPointUse.Home,
|
|
12163
|
+
},
|
|
12164
|
+
email: "string",
|
|
12165
|
+
birthDate: "2023-01-15",
|
|
12166
|
+
address: {
|
|
12167
|
+
use: CandidApi.AddressUse.Home,
|
|
12168
|
+
line: ["string"],
|
|
12169
|
+
city: "string",
|
|
12170
|
+
state: "string",
|
|
12171
|
+
postalCode: "string",
|
|
12172
|
+
country: "string",
|
|
12173
|
+
period: {},
|
|
12174
|
+
},
|
|
12175
|
+
},
|
|
12176
|
+
selfPay: true,
|
|
12177
|
+
authorizations: [
|
|
12178
|
+
{
|
|
12179
|
+
payerId: CandidApi.PayerId("string"),
|
|
12180
|
+
payerName: "string",
|
|
12181
|
+
additionalPayerInformation: {},
|
|
12182
|
+
authorizationNumber: "string",
|
|
12183
|
+
cptCode: "string",
|
|
12184
|
+
units: CandidApi.AuthorizationUnit.Visit,
|
|
12185
|
+
quantity: 1,
|
|
12186
|
+
period: {},
|
|
12187
|
+
notes: "string",
|
|
12188
|
+
},
|
|
12189
|
+
],
|
|
12190
|
+
referrals: [
|
|
12191
|
+
{
|
|
12192
|
+
provider: {
|
|
12193
|
+
name: {
|
|
12194
|
+
family: "string",
|
|
12195
|
+
given: ["string"],
|
|
12196
|
+
use: CandidApi.NameUse.Usual,
|
|
12197
|
+
period: {},
|
|
12198
|
+
},
|
|
12199
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
12200
|
+
npi: "string",
|
|
12201
|
+
telecoms: [
|
|
12202
|
+
{
|
|
12203
|
+
value: "string",
|
|
12204
|
+
use: CandidApi.ContactPointUse.Home,
|
|
12205
|
+
},
|
|
12206
|
+
],
|
|
12207
|
+
addresses: [],
|
|
12208
|
+
period: {},
|
|
12209
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
12210
|
+
},
|
|
12211
|
+
referralNumber: "string",
|
|
12212
|
+
},
|
|
12213
|
+
],
|
|
12214
|
+
primaryServiceFacilityId: "string",
|
|
12215
|
+
doNotInvoiceReason: CandidApi.DoNotInvoiceReason.Bankruptcy,
|
|
12216
|
+
noteIds: [CandidApi.NoteId("string")],
|
|
12217
|
+
tagIds: [CandidApi.TagId("string")],
|
|
12218
|
+
});
|
|
12219
|
+
```
|
|
12220
|
+
|
|
12221
|
+
</dd>
|
|
12222
|
+
</dl>
|
|
12223
|
+
</dd>
|
|
12224
|
+
</dl>
|
|
12225
|
+
|
|
12226
|
+
#### ⚙️ Parameters
|
|
12227
|
+
|
|
12228
|
+
<dl>
|
|
12229
|
+
<dd>
|
|
12230
|
+
|
|
12231
|
+
<dl>
|
|
12232
|
+
<dd>
|
|
12233
|
+
|
|
12234
|
+
**id:** `CandidApi.PatientId`
|
|
12235
|
+
|
|
12236
|
+
</dd>
|
|
12237
|
+
</dl>
|
|
12238
|
+
|
|
12239
|
+
<dl>
|
|
12240
|
+
<dd>
|
|
12241
|
+
|
|
12242
|
+
**version:** `string`
|
|
12243
|
+
|
|
12244
|
+
</dd>
|
|
12245
|
+
</dl>
|
|
12246
|
+
|
|
12247
|
+
<dl>
|
|
12248
|
+
<dd>
|
|
12249
|
+
|
|
12250
|
+
**request:** `CandidApi.MutablePatient`
|
|
12251
|
+
|
|
12252
|
+
</dd>
|
|
12253
|
+
</dl>
|
|
12254
|
+
|
|
12255
|
+
<dl>
|
|
12256
|
+
<dd>
|
|
12257
|
+
|
|
12258
|
+
**requestOptions:** `V1.RequestOptions`
|
|
12259
|
+
|
|
12260
|
+
</dd>
|
|
12261
|
+
</dl>
|
|
12262
|
+
</dd>
|
|
12263
|
+
</dl>
|
|
12264
|
+
|
|
12265
|
+
</dd>
|
|
12266
|
+
</dl>
|
|
12267
|
+
</details>
|
|
12268
|
+
|
|
12269
|
+
<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<void, CandidApi.preEncounter.patients.v1.deactivate.Error></code></summary>
|
|
12270
|
+
<dl>
|
|
12271
|
+
<dd>
|
|
12272
|
+
|
|
12273
|
+
#### 📝 Description
|
|
12274
|
+
|
|
12275
|
+
<dl>
|
|
12276
|
+
<dd>
|
|
12277
|
+
|
|
12278
|
+
<dl>
|
|
12279
|
+
<dd>
|
|
12280
|
+
|
|
12281
|
+
Sets a patient 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 patient will "reactivate" the patient and set the deactivated flag to false.
|
|
12282
|
+
|
|
12283
|
+
</dd>
|
|
12284
|
+
</dl>
|
|
12285
|
+
</dd>
|
|
12286
|
+
</dl>
|
|
12287
|
+
|
|
12288
|
+
#### 🔌 Usage
|
|
12289
|
+
|
|
12290
|
+
<dl>
|
|
12291
|
+
<dd>
|
|
12292
|
+
|
|
12293
|
+
<dl>
|
|
12294
|
+
<dd>
|
|
12295
|
+
|
|
12296
|
+
```typescript
|
|
12297
|
+
await client.preEncounter.patients.v1.deactivate(CandidApi.PatientId("string"), "string");
|
|
12298
|
+
```
|
|
12299
|
+
|
|
12300
|
+
</dd>
|
|
12301
|
+
</dl>
|
|
12302
|
+
</dd>
|
|
12303
|
+
</dl>
|
|
12304
|
+
|
|
12305
|
+
#### ⚙️ Parameters
|
|
12306
|
+
|
|
12307
|
+
<dl>
|
|
12308
|
+
<dd>
|
|
12309
|
+
|
|
12310
|
+
<dl>
|
|
12311
|
+
<dd>
|
|
12312
|
+
|
|
12313
|
+
**id:** `CandidApi.PatientId`
|
|
12314
|
+
|
|
12315
|
+
</dd>
|
|
12316
|
+
</dl>
|
|
12317
|
+
|
|
12318
|
+
<dl>
|
|
12319
|
+
<dd>
|
|
12320
|
+
|
|
12321
|
+
**version:** `string`
|
|
12322
|
+
|
|
12323
|
+
</dd>
|
|
12324
|
+
</dl>
|
|
12325
|
+
|
|
12326
|
+
<dl>
|
|
12327
|
+
<dd>
|
|
12328
|
+
|
|
12329
|
+
**requestOptions:** `V1.RequestOptions`
|
|
12330
|
+
|
|
12331
|
+
</dd>
|
|
12332
|
+
</dl>
|
|
12333
|
+
</dd>
|
|
12334
|
+
</dl>
|
|
12335
|
+
|
|
12336
|
+
</dd>
|
|
12337
|
+
</dl>
|
|
12338
|
+
</details>
|
|
12339
|
+
|
|
12340
|
+
<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<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.search.Error></code></summary>
|
|
12341
|
+
<dl>
|
|
12342
|
+
<dd>
|
|
12343
|
+
|
|
12344
|
+
#### 📝 Description
|
|
12345
|
+
|
|
12346
|
+
<dl>
|
|
12347
|
+
<dd>
|
|
12348
|
+
|
|
12349
|
+
<dl>
|
|
12350
|
+
<dd>
|
|
12351
|
+
|
|
12352
|
+
Returns a list of Patients based on the search criteria.
|
|
12353
|
+
|
|
12354
|
+
</dd>
|
|
12355
|
+
</dl>
|
|
12356
|
+
</dd>
|
|
12357
|
+
</dl>
|
|
12358
|
+
|
|
12359
|
+
#### 🔌 Usage
|
|
12360
|
+
|
|
12361
|
+
<dl>
|
|
12362
|
+
<dd>
|
|
12363
|
+
|
|
12364
|
+
<dl>
|
|
12365
|
+
<dd>
|
|
12366
|
+
|
|
12367
|
+
```typescript
|
|
12368
|
+
await client.preEncounter.patients.v1.search({
|
|
12369
|
+
mrn: "string",
|
|
12370
|
+
similarNameOrdering: "string",
|
|
12371
|
+
});
|
|
12372
|
+
```
|
|
12373
|
+
|
|
12374
|
+
</dd>
|
|
12375
|
+
</dl>
|
|
12376
|
+
</dd>
|
|
12377
|
+
</dl>
|
|
12378
|
+
|
|
12379
|
+
#### ⚙️ Parameters
|
|
12380
|
+
|
|
12381
|
+
<dl>
|
|
12382
|
+
<dd>
|
|
12383
|
+
|
|
12384
|
+
<dl>
|
|
12385
|
+
<dd>
|
|
12386
|
+
|
|
12387
|
+
**request:** `CandidApi.preEncounter.patients.v1.PatientGetMultiRequest`
|
|
12388
|
+
|
|
12389
|
+
</dd>
|
|
12390
|
+
</dl>
|
|
12391
|
+
|
|
12392
|
+
<dl>
|
|
12393
|
+
<dd>
|
|
12394
|
+
|
|
12395
|
+
**requestOptions:** `V1.RequestOptions`
|
|
12396
|
+
|
|
12397
|
+
</dd>
|
|
12398
|
+
</dl>
|
|
12399
|
+
</dd>
|
|
12400
|
+
</dl>
|
|
12401
|
+
|
|
12402
|
+
</dd>
|
|
12403
|
+
</dl>
|
|
12404
|
+
</details>
|
|
12405
|
+
|
|
12406
|
+
<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<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.scan.Error></code></summary>
|
|
12407
|
+
<dl>
|
|
12408
|
+
<dd>
|
|
12409
|
+
|
|
12410
|
+
#### 📝 Description
|
|
12411
|
+
|
|
12412
|
+
<dl>
|
|
12413
|
+
<dd>
|
|
12414
|
+
|
|
12415
|
+
<dl>
|
|
12416
|
+
<dd>
|
|
12417
|
+
|
|
12418
|
+
Scans up to 100 patient updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
|
|
12419
|
+
|
|
12420
|
+
</dd>
|
|
12421
|
+
</dl>
|
|
12422
|
+
</dd>
|
|
12423
|
+
</dl>
|
|
12424
|
+
|
|
12425
|
+
#### 🔌 Usage
|
|
12426
|
+
|
|
12427
|
+
<dl>
|
|
12428
|
+
<dd>
|
|
12429
|
+
|
|
12430
|
+
<dl>
|
|
12431
|
+
<dd>
|
|
12432
|
+
|
|
12433
|
+
```typescript
|
|
12434
|
+
await client.preEncounter.patients.v1.scan({
|
|
12435
|
+
since: new Date("2024-01-15T09:30:00.000Z"),
|
|
12436
|
+
});
|
|
12437
|
+
```
|
|
12438
|
+
|
|
12439
|
+
</dd>
|
|
12440
|
+
</dl>
|
|
12441
|
+
</dd>
|
|
12442
|
+
</dl>
|
|
12443
|
+
|
|
12444
|
+
#### ⚙️ Parameters
|
|
12445
|
+
|
|
12446
|
+
<dl>
|
|
12447
|
+
<dd>
|
|
12448
|
+
|
|
12449
|
+
<dl>
|
|
12450
|
+
<dd>
|
|
12451
|
+
|
|
12452
|
+
**request:** `CandidApi.preEncounter.patients.v1.PatientScanRequest`
|
|
12453
|
+
|
|
12454
|
+
</dd>
|
|
12455
|
+
</dl>
|
|
12456
|
+
|
|
12457
|
+
<dl>
|
|
12458
|
+
<dd>
|
|
12459
|
+
|
|
12460
|
+
**requestOptions:** `V1.RequestOptions`
|
|
12461
|
+
|
|
12462
|
+
</dd>
|
|
12463
|
+
</dl>
|
|
12464
|
+
</dd>
|
|
12465
|
+
</dl>
|
|
12466
|
+
|
|
12467
|
+
</dd>
|
|
12468
|
+
</dl>
|
|
12469
|
+
</details>
|
|
12470
|
+
|
|
12471
|
+
## PreEncounter Tags V1
|
|
12472
|
+
|
|
12473
|
+
<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<CandidApi.Tag, CandidApi.preEncounter.tags.v1.get.Error></code></summary>
|
|
12474
|
+
<dl>
|
|
12475
|
+
<dd>
|
|
12476
|
+
|
|
12477
|
+
#### 📝 Description
|
|
12478
|
+
|
|
12479
|
+
<dl>
|
|
12480
|
+
<dd>
|
|
12481
|
+
|
|
12482
|
+
<dl>
|
|
12483
|
+
<dd>
|
|
12484
|
+
|
|
12485
|
+
Gets a tag by TagId.
|
|
12486
|
+
|
|
12487
|
+
</dd>
|
|
12488
|
+
</dl>
|
|
12489
|
+
</dd>
|
|
12490
|
+
</dl>
|
|
12491
|
+
|
|
12492
|
+
#### 🔌 Usage
|
|
12493
|
+
|
|
12494
|
+
<dl>
|
|
12495
|
+
<dd>
|
|
12496
|
+
|
|
12497
|
+
<dl>
|
|
12498
|
+
<dd>
|
|
12499
|
+
|
|
12500
|
+
```typescript
|
|
12501
|
+
await client.preEncounter.tags.v1.get(CandidApi.TagId("string"));
|
|
12502
|
+
```
|
|
12503
|
+
|
|
12504
|
+
</dd>
|
|
12505
|
+
</dl>
|
|
12506
|
+
</dd>
|
|
12507
|
+
</dl>
|
|
12508
|
+
|
|
12509
|
+
#### ⚙️ Parameters
|
|
12510
|
+
|
|
12511
|
+
<dl>
|
|
12512
|
+
<dd>
|
|
12513
|
+
|
|
12514
|
+
<dl>
|
|
12515
|
+
<dd>
|
|
12516
|
+
|
|
12517
|
+
**id:** `CandidApi.TagId`
|
|
12518
|
+
|
|
12519
|
+
</dd>
|
|
12520
|
+
</dl>
|
|
12521
|
+
|
|
12522
|
+
<dl>
|
|
12523
|
+
<dd>
|
|
12524
|
+
|
|
12525
|
+
**requestOptions:** `V1.RequestOptions`
|
|
12526
|
+
|
|
12527
|
+
</dd>
|
|
12528
|
+
</dl>
|
|
12529
|
+
</dd>
|
|
12530
|
+
</dl>
|
|
12531
|
+
|
|
12532
|
+
</dd>
|
|
12533
|
+
</dl>
|
|
12534
|
+
</details>
|
|
12535
|
+
|
|
12536
|
+
<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<CandidApi.TagPage, CandidApi.preEncounter.tags.v1.getAll.Error></code></summary>
|
|
12537
|
+
<dl>
|
|
12538
|
+
<dd>
|
|
12539
|
+
|
|
12540
|
+
#### 📝 Description
|
|
12541
|
+
|
|
12542
|
+
<dl>
|
|
12543
|
+
<dd>
|
|
12544
|
+
|
|
12545
|
+
<dl>
|
|
12546
|
+
<dd>
|
|
12547
|
+
|
|
12548
|
+
Gets all tags. Defaults to page size of 1000.
|
|
12549
|
+
|
|
12550
|
+
</dd>
|
|
12551
|
+
</dl>
|
|
12552
|
+
</dd>
|
|
12553
|
+
</dl>
|
|
12554
|
+
|
|
12555
|
+
#### 🔌 Usage
|
|
12556
|
+
|
|
12557
|
+
<dl>
|
|
12558
|
+
<dd>
|
|
12559
|
+
|
|
12560
|
+
<dl>
|
|
12561
|
+
<dd>
|
|
12562
|
+
|
|
12563
|
+
```typescript
|
|
12564
|
+
await client.preEncounter.tags.v1.getAll({
|
|
12565
|
+
limit: 1,
|
|
12566
|
+
pageToken: CandidApi.PageToken("string"),
|
|
12567
|
+
});
|
|
12568
|
+
```
|
|
12569
|
+
|
|
12570
|
+
</dd>
|
|
12571
|
+
</dl>
|
|
12572
|
+
</dd>
|
|
12573
|
+
</dl>
|
|
12574
|
+
|
|
12575
|
+
#### ⚙️ Parameters
|
|
12576
|
+
|
|
12577
|
+
<dl>
|
|
12578
|
+
<dd>
|
|
12579
|
+
|
|
12580
|
+
<dl>
|
|
12581
|
+
<dd>
|
|
12582
|
+
|
|
12583
|
+
**request:** `CandidApi.preEncounter.tags.v1.GetAllTagsRequest`
|
|
12584
|
+
|
|
12585
|
+
</dd>
|
|
12586
|
+
</dl>
|
|
12587
|
+
|
|
12588
|
+
<dl>
|
|
12589
|
+
<dd>
|
|
12590
|
+
|
|
12591
|
+
**requestOptions:** `V1.RequestOptions`
|
|
12592
|
+
|
|
12593
|
+
</dd>
|
|
12594
|
+
</dl>
|
|
12595
|
+
</dd>
|
|
12596
|
+
</dl>
|
|
12597
|
+
|
|
12598
|
+
</dd>
|
|
12599
|
+
</dl>
|
|
12600
|
+
</details>
|
|
12601
|
+
|
|
12602
|
+
<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<CandidApi.Tag, CandidApi.preEncounter.tags.v1.create.Error></code></summary>
|
|
12603
|
+
<dl>
|
|
12604
|
+
<dd>
|
|
12605
|
+
|
|
12606
|
+
#### 📝 Description
|
|
12607
|
+
|
|
12608
|
+
<dl>
|
|
12609
|
+
<dd>
|
|
12610
|
+
|
|
12611
|
+
<dl>
|
|
12612
|
+
<dd>
|
|
12613
|
+
|
|
12614
|
+
Adds a new tag if it does not already exist, otherwise, returns the existing tag.
|
|
12615
|
+
|
|
12616
|
+
</dd>
|
|
12617
|
+
</dl>
|
|
12618
|
+
</dd>
|
|
12619
|
+
</dl>
|
|
12620
|
+
|
|
12621
|
+
#### 🔌 Usage
|
|
12622
|
+
|
|
12623
|
+
<dl>
|
|
12624
|
+
<dd>
|
|
12625
|
+
|
|
12626
|
+
<dl>
|
|
12627
|
+
<dd>
|
|
12628
|
+
|
|
12629
|
+
```typescript
|
|
12630
|
+
await client.preEncounter.tags.v1.create({
|
|
12631
|
+
value: "string",
|
|
12632
|
+
});
|
|
12633
|
+
```
|
|
12634
|
+
|
|
12635
|
+
</dd>
|
|
12636
|
+
</dl>
|
|
12637
|
+
</dd>
|
|
12638
|
+
</dl>
|
|
12639
|
+
|
|
12640
|
+
#### ⚙️ Parameters
|
|
12641
|
+
|
|
12642
|
+
<dl>
|
|
12643
|
+
<dd>
|
|
12644
|
+
|
|
12645
|
+
<dl>
|
|
12646
|
+
<dd>
|
|
12647
|
+
|
|
12648
|
+
**request:** `CandidApi.MutableTag`
|
|
12649
|
+
|
|
12650
|
+
</dd>
|
|
12651
|
+
</dl>
|
|
12652
|
+
|
|
12653
|
+
<dl>
|
|
12654
|
+
<dd>
|
|
12655
|
+
|
|
12656
|
+
**requestOptions:** `V1.RequestOptions`
|
|
12657
|
+
|
|
12658
|
+
</dd>
|
|
12659
|
+
</dl>
|
|
12660
|
+
</dd>
|
|
12661
|
+
</dl>
|
|
12662
|
+
|
|
12663
|
+
</dd>
|
|
12664
|
+
</dl>
|
|
12665
|
+
</details>
|
|
12666
|
+
|
|
12667
|
+
<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<CandidApi.Tag, CandidApi.preEncounter.tags.v1.update.Error></code></summary>
|
|
12668
|
+
<dl>
|
|
12669
|
+
<dd>
|
|
12670
|
+
|
|
12671
|
+
#### 📝 Description
|
|
12672
|
+
|
|
12673
|
+
<dl>
|
|
12674
|
+
<dd>
|
|
12675
|
+
|
|
12676
|
+
<dl>
|
|
12677
|
+
<dd>
|
|
12678
|
+
|
|
12679
|
+
Updates a tag. The path must contain the most recent version to prevent races.
|
|
12680
|
+
|
|
12681
|
+
</dd>
|
|
12682
|
+
</dl>
|
|
12683
|
+
</dd>
|
|
12684
|
+
</dl>
|
|
12685
|
+
|
|
12686
|
+
#### 🔌 Usage
|
|
12687
|
+
|
|
12688
|
+
<dl>
|
|
12689
|
+
<dd>
|
|
12690
|
+
|
|
12691
|
+
<dl>
|
|
12692
|
+
<dd>
|
|
12693
|
+
|
|
12694
|
+
```typescript
|
|
12695
|
+
await client.preEncounter.tags.v1.update(CandidApi.TagId("string"), "string", {
|
|
12696
|
+
value: "string",
|
|
12697
|
+
});
|
|
12698
|
+
```
|
|
12699
|
+
|
|
12700
|
+
</dd>
|
|
12701
|
+
</dl>
|
|
12702
|
+
</dd>
|
|
12703
|
+
</dl>
|
|
12704
|
+
|
|
12705
|
+
#### ⚙️ Parameters
|
|
12706
|
+
|
|
12707
|
+
<dl>
|
|
12708
|
+
<dd>
|
|
12709
|
+
|
|
12710
|
+
<dl>
|
|
12711
|
+
<dd>
|
|
12712
|
+
|
|
12713
|
+
**id:** `CandidApi.TagId`
|
|
12714
|
+
|
|
12715
|
+
</dd>
|
|
12716
|
+
</dl>
|
|
12717
|
+
|
|
12718
|
+
<dl>
|
|
12719
|
+
<dd>
|
|
12720
|
+
|
|
12721
|
+
**version:** `string`
|
|
12722
|
+
|
|
12723
|
+
</dd>
|
|
12724
|
+
</dl>
|
|
12725
|
+
|
|
12726
|
+
<dl>
|
|
12727
|
+
<dd>
|
|
12728
|
+
|
|
12729
|
+
**request:** `CandidApi.MutableTag`
|
|
12730
|
+
|
|
12731
|
+
</dd>
|
|
12732
|
+
</dl>
|
|
12733
|
+
|
|
12734
|
+
<dl>
|
|
12735
|
+
<dd>
|
|
12736
|
+
|
|
12737
|
+
**requestOptions:** `V1.RequestOptions`
|
|
12738
|
+
|
|
12739
|
+
</dd>
|
|
12740
|
+
</dl>
|
|
12741
|
+
</dd>
|
|
12742
|
+
</dl>
|
|
12743
|
+
|
|
12744
|
+
</dd>
|
|
12745
|
+
</dl>
|
|
12746
|
+
</details>
|
|
12747
|
+
|
|
12748
|
+
<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<void, CandidApi.preEncounter.tags.v1.deactivate.Error></code></summary>
|
|
12749
|
+
<dl>
|
|
12750
|
+
<dd>
|
|
12751
|
+
|
|
12752
|
+
#### 📝 Description
|
|
12753
|
+
|
|
12754
|
+
<dl>
|
|
12755
|
+
<dd>
|
|
12756
|
+
|
|
12757
|
+
<dl>
|
|
12758
|
+
<dd>
|
|
12759
|
+
|
|
12760
|
+
Sets a tag as deactivated. The path must contain the most recent version to prevent races.
|
|
12761
|
+
|
|
12762
|
+
</dd>
|
|
12763
|
+
</dl>
|
|
12764
|
+
</dd>
|
|
12765
|
+
</dl>
|
|
12766
|
+
|
|
12767
|
+
#### 🔌 Usage
|
|
12768
|
+
|
|
12769
|
+
<dl>
|
|
12770
|
+
<dd>
|
|
12771
|
+
|
|
12772
|
+
<dl>
|
|
12773
|
+
<dd>
|
|
12774
|
+
|
|
12775
|
+
```typescript
|
|
12776
|
+
await client.preEncounter.tags.v1.deactivate(CandidApi.TagId("string"), "string");
|
|
12777
|
+
```
|
|
12778
|
+
|
|
12779
|
+
</dd>
|
|
12780
|
+
</dl>
|
|
12781
|
+
</dd>
|
|
12782
|
+
</dl>
|
|
12783
|
+
|
|
12784
|
+
#### ⚙️ Parameters
|
|
12785
|
+
|
|
12786
|
+
<dl>
|
|
12787
|
+
<dd>
|
|
12788
|
+
|
|
12789
|
+
<dl>
|
|
12790
|
+
<dd>
|
|
12791
|
+
|
|
12792
|
+
**id:** `CandidApi.TagId`
|
|
12793
|
+
|
|
12794
|
+
</dd>
|
|
12795
|
+
</dl>
|
|
12796
|
+
|
|
12797
|
+
<dl>
|
|
12798
|
+
<dd>
|
|
12799
|
+
|
|
12800
|
+
**version:** `string`
|
|
12801
|
+
|
|
12802
|
+
</dd>
|
|
12803
|
+
</dl>
|
|
12804
|
+
|
|
12805
|
+
<dl>
|
|
12806
|
+
<dd>
|
|
12807
|
+
|
|
12808
|
+
**requestOptions:** `V1.RequestOptions`
|
|
12809
|
+
|
|
12810
|
+
</dd>
|
|
12811
|
+
</dl>
|
|
12812
|
+
</dd>
|
|
12813
|
+
</dl>
|
|
12814
|
+
|
|
12815
|
+
</dd>
|
|
12816
|
+
</dl>
|
|
12817
|
+
</details>
|
|
12818
|
+
|
|
12819
|
+
## Diagnoses
|
|
12820
|
+
|
|
12821
|
+
<details><summary><code>client.diagnoses.<a href="/src/api/resources/diagnoses/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Diagnosis, CandidApi.diagnoses.create.Error></code></summary>
|
|
12822
|
+
<dl>
|
|
12823
|
+
<dd>
|
|
12824
|
+
|
|
12825
|
+
#### 📝 Description
|
|
12826
|
+
|
|
12827
|
+
<dl>
|
|
12828
|
+
<dd>
|
|
12829
|
+
|
|
12830
|
+
<dl>
|
|
12831
|
+
<dd>
|
|
12832
|
+
|
|
12833
|
+
Creates a new diagnosis for an encounter
|
|
12834
|
+
|
|
12835
|
+
</dd>
|
|
12836
|
+
</dl>
|
|
12837
|
+
</dd>
|
|
12838
|
+
</dl>
|
|
12839
|
+
|
|
12840
|
+
#### 🔌 Usage
|
|
12841
|
+
|
|
12842
|
+
<dl>
|
|
12843
|
+
<dd>
|
|
12844
|
+
|
|
12845
|
+
<dl>
|
|
12846
|
+
<dd>
|
|
12847
|
+
|
|
12848
|
+
```typescript
|
|
12849
|
+
await client.diagnoses.create({
|
|
12850
|
+
encounterId: CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
12851
|
+
name: "string",
|
|
12852
|
+
codeType: CandidApi.DiagnosisTypeCode.Abf,
|
|
12853
|
+
code: "string",
|
|
12854
|
+
});
|
|
12855
|
+
```
|
|
12856
|
+
|
|
12857
|
+
</dd>
|
|
12858
|
+
</dl>
|
|
12859
|
+
</dd>
|
|
12860
|
+
</dl>
|
|
12861
|
+
|
|
12862
|
+
#### ⚙️ Parameters
|
|
12863
|
+
|
|
12864
|
+
<dl>
|
|
12865
|
+
<dd>
|
|
12866
|
+
|
|
12867
|
+
<dl>
|
|
12868
|
+
<dd>
|
|
12869
|
+
|
|
12870
|
+
**request:** `CandidApi.StandaloneDiagnosisCreate`
|
|
12871
|
+
|
|
12872
|
+
</dd>
|
|
12873
|
+
</dl>
|
|
12874
|
+
|
|
12875
|
+
<dl>
|
|
12876
|
+
<dd>
|
|
12877
|
+
|
|
12878
|
+
**requestOptions:** `Diagnoses.RequestOptions`
|
|
12879
|
+
|
|
12880
|
+
</dd>
|
|
12881
|
+
</dl>
|
|
12882
|
+
</dd>
|
|
12883
|
+
</dl>
|
|
12884
|
+
|
|
12885
|
+
</dd>
|
|
12886
|
+
</dl>
|
|
12887
|
+
</details>
|
|
12888
|
+
|
|
12889
|
+
<details><summary><code>client.diagnoses.<a href="/src/api/resources/diagnoses/client/Client.ts">update</a>(diagnosisId, { ...params }) -> core.APIResponse<CandidApi.Diagnosis, CandidApi.diagnoses.update.Error></code></summary>
|
|
12890
|
+
<dl>
|
|
12891
|
+
<dd>
|
|
12892
|
+
|
|
12893
|
+
#### 📝 Description
|
|
12894
|
+
|
|
12895
|
+
<dl>
|
|
12896
|
+
<dd>
|
|
12897
|
+
|
|
12898
|
+
<dl>
|
|
12899
|
+
<dd>
|
|
12900
|
+
|
|
12901
|
+
Updates the diagnosis record matching the provided `diagnosis_id`
|
|
12902
|
+
|
|
12903
|
+
</dd>
|
|
12904
|
+
</dl>
|
|
12905
|
+
</dd>
|
|
12906
|
+
</dl>
|
|
12907
|
+
|
|
12908
|
+
#### 🔌 Usage
|
|
12909
|
+
|
|
12910
|
+
<dl>
|
|
12911
|
+
<dd>
|
|
12912
|
+
|
|
12913
|
+
<dl>
|
|
12914
|
+
<dd>
|
|
12915
|
+
|
|
12916
|
+
```typescript
|
|
12917
|
+
await client.diagnoses.update(CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
12918
|
+
name: "string",
|
|
12919
|
+
codeType: CandidApi.DiagnosisTypeCode.Abf,
|
|
12920
|
+
code: "string",
|
|
12921
|
+
});
|
|
12922
|
+
```
|
|
12923
|
+
|
|
12924
|
+
</dd>
|
|
12925
|
+
</dl>
|
|
12926
|
+
</dd>
|
|
12927
|
+
</dl>
|
|
12928
|
+
|
|
12929
|
+
#### ⚙️ Parameters
|
|
12930
|
+
|
|
12931
|
+
<dl>
|
|
12932
|
+
<dd>
|
|
12933
|
+
|
|
12934
|
+
<dl>
|
|
12935
|
+
<dd>
|
|
12936
|
+
|
|
12937
|
+
**diagnosisId:** `CandidApi.DiagnosisId`
|
|
12938
|
+
|
|
12939
|
+
</dd>
|
|
12940
|
+
</dl>
|
|
12941
|
+
|
|
12942
|
+
<dl>
|
|
12943
|
+
<dd>
|
|
12944
|
+
|
|
12945
|
+
**request:** `CandidApi.DiagnosisUpdate`
|
|
12946
|
+
|
|
12947
|
+
</dd>
|
|
12948
|
+
</dl>
|
|
12949
|
+
|
|
12950
|
+
<dl>
|
|
12951
|
+
<dd>
|
|
12952
|
+
|
|
12953
|
+
**requestOptions:** `Diagnoses.RequestOptions`
|
|
12954
|
+
|
|
12955
|
+
</dd>
|
|
12956
|
+
</dl>
|
|
12957
|
+
</dd>
|
|
12958
|
+
</dl>
|
|
12959
|
+
|
|
12960
|
+
</dd>
|
|
12961
|
+
</dl>
|
|
12962
|
+
</details>
|
|
12963
|
+
|
|
12964
|
+
<details><summary><code>client.diagnoses.<a href="/src/api/resources/diagnoses/client/Client.ts">delete</a>(diagnosisId) -> core.APIResponse<void, CandidApi.diagnoses.delete.Error></code></summary>
|
|
12965
|
+
<dl>
|
|
12966
|
+
<dd>
|
|
12967
|
+
|
|
12968
|
+
#### 📝 Description
|
|
12969
|
+
|
|
12970
|
+
<dl>
|
|
12971
|
+
<dd>
|
|
12972
|
+
|
|
12973
|
+
<dl>
|
|
12974
|
+
<dd>
|
|
12975
|
+
|
|
12976
|
+
Deletes the diagnosis record associated with the provided `diagnosis_id`
|
|
12977
|
+
|
|
12978
|
+
</dd>
|
|
12979
|
+
</dl>
|
|
12980
|
+
</dd>
|
|
12981
|
+
</dl>
|
|
12982
|
+
|
|
12983
|
+
#### 🔌 Usage
|
|
12984
|
+
|
|
12985
|
+
<dl>
|
|
12986
|
+
<dd>
|
|
12987
|
+
|
|
12988
|
+
<dl>
|
|
12989
|
+
<dd>
|
|
12990
|
+
|
|
12991
|
+
```typescript
|
|
12992
|
+
await client.diagnoses.delete(CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
12993
|
+
```
|
|
12994
|
+
|
|
12995
|
+
</dd>
|
|
12996
|
+
</dl>
|
|
12997
|
+
</dd>
|
|
12998
|
+
</dl>
|
|
12999
|
+
|
|
13000
|
+
#### ⚙️ Parameters
|
|
13001
|
+
|
|
13002
|
+
<dl>
|
|
13003
|
+
<dd>
|
|
13004
|
+
|
|
13005
|
+
<dl>
|
|
13006
|
+
<dd>
|
|
13007
|
+
|
|
13008
|
+
**diagnosisId:** `CandidApi.DiagnosisId`
|
|
13009
|
+
|
|
13010
|
+
</dd>
|
|
13011
|
+
</dl>
|
|
13012
|
+
|
|
13013
|
+
<dl>
|
|
13014
|
+
<dd>
|
|
13015
|
+
|
|
13016
|
+
**requestOptions:** `Diagnoses.RequestOptions`
|
|
13017
|
+
|
|
13018
|
+
</dd>
|
|
13019
|
+
</dl>
|
|
13020
|
+
</dd>
|
|
13021
|
+
</dl>
|
|
13022
|
+
|
|
13023
|
+
</dd>
|
|
13024
|
+
</dl>
|
|
13025
|
+
</details>
|
|
13026
|
+
|
|
13027
|
+
## ServiceFacility
|
|
13028
|
+
|
|
13029
|
+
<details><summary><code>client.serviceFacility.<a href="/src/api/resources/serviceFacility/client/Client.ts">update</a>(serviceFacilityId, { ...params }) -> core.APIResponse<CandidApi.EncounterServiceFacility, CandidApi.serviceFacility.update.Error></code></summary>
|
|
13030
|
+
<dl>
|
|
13031
|
+
<dd>
|
|
13032
|
+
|
|
13033
|
+
#### 🔌 Usage
|
|
13034
|
+
|
|
13035
|
+
<dl>
|
|
13036
|
+
<dd>
|
|
13037
|
+
|
|
13038
|
+
<dl>
|
|
13039
|
+
<dd>
|
|
13040
|
+
|
|
13041
|
+
```typescript
|
|
13042
|
+
await client.serviceFacility.update(CandidApi.ServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
13043
|
+
organizationName: "Test Organization",
|
|
13044
|
+
address: {
|
|
13045
|
+
address1: "123 Main St",
|
|
13046
|
+
address2: "Apt 1",
|
|
13047
|
+
city: "New York",
|
|
13048
|
+
state: CandidApi.State.Ny,
|
|
13049
|
+
zipCode: "10001",
|
|
13050
|
+
zipPlusFourCode: "1234",
|
|
13051
|
+
},
|
|
13052
|
+
});
|
|
13053
|
+
```
|
|
13054
|
+
|
|
13055
|
+
</dd>
|
|
13056
|
+
</dl>
|
|
13057
|
+
</dd>
|
|
13058
|
+
</dl>
|
|
13059
|
+
|
|
13060
|
+
#### ⚙️ Parameters
|
|
13061
|
+
|
|
13062
|
+
<dl>
|
|
13063
|
+
<dd>
|
|
13064
|
+
|
|
13065
|
+
<dl>
|
|
13066
|
+
<dd>
|
|
13067
|
+
|
|
13068
|
+
**serviceFacilityId:** `CandidApi.ServiceFacilityId`
|
|
13069
|
+
|
|
13070
|
+
</dd>
|
|
13071
|
+
</dl>
|
|
13072
|
+
|
|
13073
|
+
<dl>
|
|
13074
|
+
<dd>
|
|
13075
|
+
|
|
13076
|
+
**request:** `CandidApi.EncounterServiceFacilityUpdate`
|
|
13077
|
+
|
|
13078
|
+
</dd>
|
|
13079
|
+
</dl>
|
|
13080
|
+
|
|
13081
|
+
<dl>
|
|
13082
|
+
<dd>
|
|
13083
|
+
|
|
13084
|
+
**requestOptions:** `ServiceFacility.RequestOptions`
|
|
13085
|
+
|
|
13086
|
+
</dd>
|
|
13087
|
+
</dl>
|
|
13088
|
+
</dd>
|
|
13089
|
+
</dl>
|
|
13090
|
+
|
|
13091
|
+
</dd>
|
|
13092
|
+
</dl>
|
|
13093
|
+
</details>
|