candidhealth 0.24.4 → 0.24.5
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/commons/types/ProcedureModifier.d.ts +4 -0
- package/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.d.ts +19 -10
- package/api/resources/customSchemas/resources/v1/client/Client.js +23 -14
- package/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +12 -3
- package/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +4 -4
- package/api/resources/customSchemas/resources/v1/types/Schema.d.ts +44 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +31 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +23 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- 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/financials/types/AccountType.d.ts +2 -1
- package/api/resources/financials/types/AccountType.js +1 -0
- 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/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/coverages/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- 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/commons/types/ProcedureModifier.d.ts +4 -0
- package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +19 -10
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +23 -14
- package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +12 -3
- package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +4 -4
- package/dist/api/resources/customSchemas/resources/v1/types/Schema.d.ts +44 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +31 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +23 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- 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/financials/types/AccountType.d.ts +2 -1
- package/dist/api/resources/financials/types/AccountType.js +1 -0
- 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/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/coverages/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- 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/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/serialization/resources/financials/types/AccountType.d.ts +1 -1
- package/dist/serialization/resources/financials/types/AccountType.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +3 -0
- package/package.json +1 -1
- package/reference.md +22 -10
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/serialization/resources/financials/types/AccountType.d.ts +1 -1
- package/serialization/resources/financials/types/AccountType.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +3 -0
package/reference.md
CHANGED
|
@@ -547,7 +547,7 @@ Return a custom schema with a given ID.
|
|
|
547
547
|
<dd>
|
|
548
548
|
|
|
549
549
|
```typescript
|
|
550
|
-
await client.customSchemas.v1.get(CandidApi.SchemaId("
|
|
550
|
+
await client.customSchemas.v1.get(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"));
|
|
551
551
|
```
|
|
552
552
|
|
|
553
553
|
</dd>
|
|
@@ -594,7 +594,7 @@ await client.customSchemas.v1.get(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7f
|
|
|
594
594
|
<dl>
|
|
595
595
|
<dd>
|
|
596
596
|
|
|
597
|
-
Create a
|
|
597
|
+
Create custom schema with a set of typed keys. Schema keys can be referenced as inputs in user-configurable rules in the Rules
|
|
598
598
|
Engine, and key-value pairs can be attached to claims via the Encounters API.
|
|
599
599
|
|
|
600
600
|
</dd>
|
|
@@ -612,13 +612,25 @@ Engine, and key-value pairs can be attached to claims via the Encounters API.
|
|
|
612
612
|
|
|
613
613
|
```typescript
|
|
614
614
|
await client.customSchemas.v1.create({
|
|
615
|
-
name: "
|
|
616
|
-
description: "
|
|
615
|
+
name: "General Medicine",
|
|
616
|
+
description: "Values associated with a generic visit",
|
|
617
617
|
fields: [
|
|
618
618
|
{
|
|
619
|
-
key: "
|
|
619
|
+
key: "provider_category",
|
|
620
|
+
type: CandidApi.Primitive.String,
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
key: "is_urgent_care",
|
|
620
624
|
type: CandidApi.Primitive.Boolean,
|
|
621
625
|
},
|
|
626
|
+
{
|
|
627
|
+
key: "bmi",
|
|
628
|
+
type: CandidApi.Primitive.Double,
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
key: "age",
|
|
632
|
+
type: CandidApi.Primitive.Integer,
|
|
633
|
+
},
|
|
622
634
|
],
|
|
623
635
|
});
|
|
624
636
|
```
|
|
@@ -683,13 +695,13 @@ Update the name, description, or keys on a preexisting schema.
|
|
|
683
695
|
<dd>
|
|
684
696
|
|
|
685
697
|
```typescript
|
|
686
|
-
await client.customSchemas.v1.update(CandidApi.SchemaId("
|
|
687
|
-
name: "
|
|
688
|
-
description: "
|
|
698
|
+
await client.customSchemas.v1.update(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"), {
|
|
699
|
+
name: "General Medicine and Health",
|
|
700
|
+
description: "Values collected during all visits",
|
|
689
701
|
fieldsToAdd: [
|
|
690
702
|
{
|
|
691
|
-
key: "
|
|
692
|
-
type: CandidApi.Primitive.
|
|
703
|
+
key: "visit_type",
|
|
704
|
+
type: CandidApi.Primitive.String,
|
|
693
705
|
},
|
|
694
706
|
],
|
|
695
707
|
});
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const ProcedureModifier: core.serialization.Schema<serializers.ProcedureModifier.Raw, CandidApi.ProcedureModifier>;
|
|
8
8
|
export declare namespace ProcedureModifier {
|
|
9
|
-
type Raw = "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "XE";
|
|
9
|
+
type Raw = "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "XE";
|
|
10
10
|
}
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const AccountType: core.serialization.Schema<serializers.AccountType.Raw, CandidApi.AccountType>;
|
|
8
8
|
export declare namespace AccountType {
|
|
9
|
-
type Raw = "PATIENT" | "INSURANCE";
|
|
9
|
+
type Raw = "PATIENT" | "INSURANCE" | "THIRD_PARTY_PAYER";
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.AccountType = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
-
exports.AccountType = core.serialization.enum_(["PATIENT", "INSURANCE"]);
|
|
31
|
+
exports.AccountType = core.serialization.enum_(["PATIENT", "INSURANCE", "THIRD_PARTY_PAYER"]);
|
|
@@ -27,6 +27,9 @@ export declare namespace ServiceLine {
|
|
|
27
27
|
insurance_balance_cents?: number | null;
|
|
28
28
|
patient_balance_cents?: number | null;
|
|
29
29
|
paid_amount_cents?: number | null;
|
|
30
|
+
primary_paid_amount_cents?: number | null;
|
|
31
|
+
secondary_paid_amount_cents?: number | null;
|
|
32
|
+
tertiary_paid_amount_cents?: number | null;
|
|
30
33
|
patient_responsibility_cents?: number | null;
|
|
31
34
|
diagnosis_id_zero?: DiagnosisId.Raw | null;
|
|
32
35
|
diagnosis_id_one?: DiagnosisId.Raw | null;
|
|
@@ -49,6 +49,9 @@ exports.ServiceLine = core.serialization.object({
|
|
|
49
49
|
insuranceBalanceCents: core.serialization.property("insurance_balance_cents", core.serialization.number().optional()),
|
|
50
50
|
patientBalanceCents: core.serialization.property("patient_balance_cents", core.serialization.number().optional()),
|
|
51
51
|
paidAmountCents: core.serialization.property("paid_amount_cents", core.serialization.number().optional()),
|
|
52
|
+
primaryPaidAmountCents: core.serialization.property("primary_paid_amount_cents", core.serialization.number().optional()),
|
|
53
|
+
secondaryPaidAmountCents: core.serialization.property("secondary_paid_amount_cents", core.serialization.number().optional()),
|
|
54
|
+
tertiaryPaidAmountCents: core.serialization.property("tertiary_paid_amount_cents", core.serialization.number().optional()),
|
|
52
55
|
patientResponsibilityCents: core.serialization.property("patient_responsibility_cents", core.serialization.number().optional()),
|
|
53
56
|
diagnosisIdZero: core.serialization.property("diagnosis_id_zero", DiagnosisId_1.DiagnosisId.optional()),
|
|
54
57
|
diagnosisIdOne: core.serialization.property("diagnosis_id_one", DiagnosisId_1.DiagnosisId.optional()),
|