candidhealth 0.24.4 → 0.24.7
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/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
- package/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
- package/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/common/types/index.js +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
- 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/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
- 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/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
- package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -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 +30 -34
- 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/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
- package/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
- package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -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/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
- /package/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +0 -0
- /package/dist/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +0 -0
|
@@ -84,18 +84,11 @@ class V1 {
|
|
|
84
84
|
* contacts: [{
|
|
85
85
|
* relationship: [CandidApi.preEncounter.Relationship.Self],
|
|
86
86
|
* name: {},
|
|
87
|
-
* gender: CandidApi.preEncounter.Gender.Man,
|
|
88
|
-
* telecoms: [{}],
|
|
89
|
-
* addresses: [{}],
|
|
90
|
-
* period: {}
|
|
91
|
-
* }],
|
|
92
|
-
* generalPractitioners: [{
|
|
93
|
-
* name: {},
|
|
94
|
-
* npi: "string",
|
|
95
87
|
* telecoms: [{}],
|
|
96
88
|
* addresses: [{}],
|
|
97
89
|
* period: {}
|
|
98
90
|
* }],
|
|
91
|
+
* generalPractitioners: [{}],
|
|
99
92
|
* filingOrder: {
|
|
100
93
|
* coverages: [CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
101
94
|
* }
|
|
@@ -112,7 +105,7 @@ class V1 {
|
|
|
112
105
|
Authorization: yield this._getAuthorizationHeader(),
|
|
113
106
|
"X-Fern-Language": "JavaScript",
|
|
114
107
|
"X-Fern-SDK-Name": "candidhealth",
|
|
115
|
-
"X-Fern-SDK-Version": "0.24.
|
|
108
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
116
109
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
117
110
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
118
111
|
},
|
|
@@ -176,7 +169,7 @@ class V1 {
|
|
|
176
169
|
Authorization: yield this._getAuthorizationHeader(),
|
|
177
170
|
"X-Fern-Language": "JavaScript",
|
|
178
171
|
"X-Fern-SDK-Name": "candidhealth",
|
|
179
|
-
"X-Fern-SDK-Version": "0.24.
|
|
172
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
180
173
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
181
174
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
182
175
|
},
|
|
@@ -237,7 +230,7 @@ class V1 {
|
|
|
237
230
|
Authorization: yield this._getAuthorizationHeader(),
|
|
238
231
|
"X-Fern-Language": "JavaScript",
|
|
239
232
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.24.
|
|
233
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
241
234
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
242
235
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
243
236
|
},
|
|
@@ -316,18 +309,11 @@ class V1 {
|
|
|
316
309
|
* contacts: [{
|
|
317
310
|
* relationship: [CandidApi.preEncounter.Relationship.Self],
|
|
318
311
|
* name: {},
|
|
319
|
-
* gender: CandidApi.preEncounter.Gender.Man,
|
|
320
|
-
* telecoms: [{}],
|
|
321
|
-
* addresses: [{}],
|
|
322
|
-
* period: {}
|
|
323
|
-
* }],
|
|
324
|
-
* generalPractitioners: [{
|
|
325
|
-
* name: {},
|
|
326
|
-
* npi: "string",
|
|
327
312
|
* telecoms: [{}],
|
|
328
313
|
* addresses: [{}],
|
|
329
314
|
* period: {}
|
|
330
315
|
* }],
|
|
316
|
+
* generalPractitioners: [{}],
|
|
331
317
|
* filingOrder: {
|
|
332
318
|
* coverages: [CandidApi.preEncounter.coverages.v1.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
333
319
|
* }
|
|
@@ -344,7 +330,7 @@ class V1 {
|
|
|
344
330
|
Authorization: yield this._getAuthorizationHeader(),
|
|
345
331
|
"X-Fern-Language": "JavaScript",
|
|
346
332
|
"X-Fern-SDK-Name": "candidhealth",
|
|
347
|
-
"X-Fern-SDK-Version": "0.24.
|
|
333
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
348
334
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
349
335
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
350
336
|
},
|
|
@@ -410,7 +396,7 @@ class V1 {
|
|
|
410
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
411
397
|
"X-Fern-Language": "JavaScript",
|
|
412
398
|
"X-Fern-SDK-Name": "candidhealth",
|
|
413
|
-
"X-Fern-SDK-Version": "0.24.
|
|
399
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
414
400
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
415
401
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
416
402
|
},
|
|
@@ -474,7 +460,7 @@ class V1 {
|
|
|
474
460
|
Authorization: yield this._getAuthorizationHeader(),
|
|
475
461
|
"X-Fern-Language": "JavaScript",
|
|
476
462
|
"X-Fern-SDK-Name": "candidhealth",
|
|
477
|
-
"X-Fern-SDK-Version": "0.24.
|
|
463
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
478
464
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
479
465
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
480
466
|
},
|
|
@@ -527,7 +513,7 @@ class V1 {
|
|
|
527
513
|
Authorization: yield this._getAuthorizationHeader(),
|
|
528
514
|
"X-Fern-Language": "JavaScript",
|
|
529
515
|
"X-Fern-SDK-Name": "candidhealth",
|
|
530
|
-
"X-Fern-SDK-Version": "0.24.
|
|
516
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
531
517
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
532
518
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
533
519
|
},
|
|
@@ -5,7 +5,6 @@ import * as CandidApi from "../../../../../../../index";
|
|
|
5
5
|
export interface Contact {
|
|
6
6
|
relationship: CandidApi.preEncounter.Relationship[];
|
|
7
7
|
name: CandidApi.preEncounter.HumanName;
|
|
8
|
-
gender?: CandidApi.preEncounter.Gender;
|
|
9
8
|
telecoms: CandidApi.preEncounter.ContactPoint[];
|
|
10
9
|
addresses: CandidApi.preEncounter.Address[];
|
|
11
10
|
period?: CandidApi.preEncounter.Period;
|
package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts
CHANGED
|
@@ -9,11 +9,11 @@ export interface MutablePatient {
|
|
|
9
9
|
name: CandidApi.preEncounter.HumanName;
|
|
10
10
|
/** Other names for the patient. */
|
|
11
11
|
otherNames: CandidApi.preEncounter.HumanName[];
|
|
12
|
-
gender
|
|
12
|
+
gender?: CandidApi.preEncounter.Gender;
|
|
13
13
|
birthDate: string;
|
|
14
14
|
socialSecurityNumber?: string;
|
|
15
|
-
/** The biological sex of the patient. */
|
|
16
|
-
biologicalSex
|
|
15
|
+
/** The biological sex of the patient. This corresponds to the HL7 AdministrativeGender https://www.hl7.org/fhir/valueset-administrative-gender.html */
|
|
16
|
+
biologicalSex: CandidApi.preEncounter.Sex;
|
|
17
17
|
/** The sexual orientation of the patient. */
|
|
18
18
|
sexualOrientation?: CandidApi.preEncounter.SexualOrientation;
|
|
19
19
|
race?: CandidApi.preEncounter.Race;
|
|
@@ -40,6 +40,6 @@ export interface MutablePatient {
|
|
|
40
40
|
externalProvenance?: CandidApi.preEncounter.patients.v1.ExternalProvenance;
|
|
41
41
|
/** Contacts for the patient. */
|
|
42
42
|
contacts: CandidApi.preEncounter.patients.v1.Contact[];
|
|
43
|
-
generalPractitioners: CandidApi.preEncounter.
|
|
43
|
+
generalPractitioners: CandidApi.preEncounter.ExternalProvider[];
|
|
44
44
|
filingOrder: CandidApi.preEncounter.patients.v1.FilingOrder;
|
|
45
45
|
}
|
|
@@ -18,7 +18,6 @@ __exportStar(require("./PatientId"), exports);
|
|
|
18
18
|
__exportStar(require("./MaritalStatus"), exports);
|
|
19
19
|
__exportStar(require("./ExternalProvenance"), exports);
|
|
20
20
|
__exportStar(require("./Contact"), exports);
|
|
21
|
-
__exportStar(require("./ExternalProvider"), exports);
|
|
22
21
|
__exportStar(require("./FilingOrder"), exports);
|
|
23
22
|
__exportStar(require("./MutablePatient"), exports);
|
|
24
23
|
__exportStar(require("./Patient"), exports);
|
|
@@ -78,7 +78,7 @@ class ServiceFacility {
|
|
|
78
78
|
Authorization: yield this._getAuthorizationHeader(),
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "candidhealth",
|
|
81
|
-
"X-Fern-SDK-Version": "0.24.
|
|
81
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
82
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
83
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
84
84
|
},
|
|
@@ -75,6 +75,9 @@ export interface ServiceLine {
|
|
|
75
75
|
insuranceBalanceCents?: number;
|
|
76
76
|
patientBalanceCents?: number;
|
|
77
77
|
paidAmountCents?: number;
|
|
78
|
+
primaryPaidAmountCents?: number;
|
|
79
|
+
secondaryPaidAmountCents?: number;
|
|
80
|
+
tertiaryPaidAmountCents?: number;
|
|
78
81
|
patientResponsibilityCents?: number;
|
|
79
82
|
diagnosisIdZero?: CandidApi.DiagnosisId;
|
|
80
83
|
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.24.
|
|
69
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -166,7 +166,7 @@ class V3 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.24.
|
|
169
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -226,7 +226,7 @@ class V3 {
|
|
|
226
226
|
Authorization: yield this._getAuthorizationHeader(),
|
|
227
227
|
"X-Fern-Language": "JavaScript",
|
|
228
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
229
|
-
"X-Fern-SDK-Version": "0.24.
|
|
229
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
230
230
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
231
231
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
232
232
|
},
|
|
@@ -294,7 +294,7 @@ class V3 {
|
|
|
294
294
|
Authorization: yield this._getAuthorizationHeader(),
|
|
295
295
|
"X-Fern-Language": "JavaScript",
|
|
296
296
|
"X-Fern-SDK-Name": "candidhealth",
|
|
297
|
-
"X-Fern-SDK-Version": "0.24.
|
|
297
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
298
298
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
299
299
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
300
300
|
},
|
|
@@ -345,7 +345,7 @@ class V3 {
|
|
|
345
345
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "candidhealth",
|
|
348
|
-
"X-Fern-SDK-Version": "0.24.
|
|
348
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
349
349
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
350
350
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
351
351
|
},
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
Authorization: yield this._getAuthorizationHeader(),
|
|
117
117
|
"X-Fern-Language": "JavaScript",
|
|
118
118
|
"X-Fern-SDK-Name": "candidhealth",
|
|
119
|
-
"X-Fern-SDK-Version": "0.24.
|
|
119
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
120
120
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
121
121
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
122
122
|
},
|
|
@@ -164,7 +164,7 @@ class V1 {
|
|
|
164
164
|
Authorization: yield this._getAuthorizationHeader(),
|
|
165
165
|
"X-Fern-Language": "JavaScript",
|
|
166
166
|
"X-Fern-SDK-Name": "candidhealth",
|
|
167
|
-
"X-Fern-SDK-Version": "0.24.
|
|
167
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
168
168
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
169
169
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
170
170
|
},
|
|
@@ -221,7 +221,7 @@ class V1 {
|
|
|
221
221
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
222
|
"X-Fern-Language": "JavaScript",
|
|
223
223
|
"X-Fern-SDK-Name": "candidhealth",
|
|
224
|
-
"X-Fern-SDK-Version": "0.24.
|
|
224
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
225
225
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
226
226
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
227
227
|
},
|
|
@@ -271,7 +271,7 @@ class V1 {
|
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
|
272
272
|
"X-Fern-Language": "JavaScript",
|
|
273
273
|
"X-Fern-SDK-Name": "candidhealth",
|
|
274
|
-
"X-Fern-SDK-Version": "0.24.
|
|
274
|
+
"X-Fern-SDK-Version": "0.24.7",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
|
@@ -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"]);
|
package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { HumanName } from "./HumanName";
|
|
8
|
+
import { ExternalProviderType } from "./ExternalProviderType";
|
|
9
|
+
import { ContactPoint } from "./ContactPoint";
|
|
10
|
+
import { Address } from "./Address";
|
|
11
|
+
import { Period } from "./Period";
|
|
12
|
+
export declare const ExternalProvider: core.serialization.ObjectSchema<serializers.preEncounter.ExternalProvider.Raw, CandidApi.preEncounter.ExternalProvider>;
|
|
13
|
+
export declare namespace ExternalProvider {
|
|
14
|
+
interface Raw {
|
|
15
|
+
name: HumanName.Raw;
|
|
16
|
+
type?: ExternalProviderType.Raw | null;
|
|
17
|
+
npi?: string | null;
|
|
18
|
+
telecoms: ContactPoint.Raw[];
|
|
19
|
+
addresses: Address.Raw[];
|
|
20
|
+
period?: Period.Raw | null;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -27,14 +27,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ExternalProvider = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const HumanName_1 = require("
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const HumanName_1 = require("./HumanName");
|
|
32
|
+
const ExternalProviderType_1 = require("./ExternalProviderType");
|
|
33
|
+
const ContactPoint_1 = require("./ContactPoint");
|
|
34
|
+
const Address_1 = require("./Address");
|
|
35
|
+
const Period_1 = require("./Period");
|
|
35
36
|
exports.ExternalProvider = core.serialization.object({
|
|
36
37
|
name: HumanName_1.HumanName,
|
|
37
|
-
|
|
38
|
+
type: ExternalProviderType_1.ExternalProviderType.optional(),
|
|
39
|
+
npi: core.serialization.string().optional(),
|
|
38
40
|
telecoms: core.serialization.list(ContactPoint_1.ContactPoint),
|
|
39
41
|
addresses: core.serialization.list(Address_1.Address),
|
|
40
42
|
period: Period_1.Period.optional(),
|
package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ExternalProviderType: core.serialization.Schema<serializers.preEncounter.ExternalProviderType.Raw, CandidApi.preEncounter.ExternalProviderType>;
|
|
8
|
+
export declare namespace ExternalProviderType {
|
|
9
|
+
type Raw = "PRIMARY" | "REFERRING";
|
|
10
|
+
}
|
package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ExternalProviderType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.ExternalProviderType = core.serialization.enum_(["PRIMARY", "REFERRING"]);
|
|
@@ -34,3 +34,5 @@ __exportStar(require("./ContactPoint"), exports);
|
|
|
34
34
|
__exportStar(require("./ErrorBase"), exports);
|
|
35
35
|
__exportStar(require("./NotFoundErrorBody"), exports);
|
|
36
36
|
__exportStar(require("./VersionConflictErrorBody"), exports);
|
|
37
|
+
__exportStar(require("./ExternalProviderType"), exports);
|
|
38
|
+
__exportStar(require("./ExternalProvider"), exports);
|
|
@@ -6,6 +6,7 @@ import * as CandidApi from "../../../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { PayerId } from "../../../../common/types/PayerId";
|
|
8
8
|
import { NetworkType } from "./NetworkType";
|
|
9
|
+
import { InsuranceTypeCode } from "./InsuranceTypeCode";
|
|
9
10
|
import { Period } from "../../../../common/types/Period";
|
|
10
11
|
export declare const InsurancePlan: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.InsurancePlan.Raw, CandidApi.preEncounter.coverages.v1.InsurancePlan>;
|
|
11
12
|
export declare namespace InsurancePlan {
|
|
@@ -15,7 +16,8 @@ export declare namespace InsurancePlan {
|
|
|
15
16
|
payer_name: string;
|
|
16
17
|
group_number?: string | null;
|
|
17
18
|
name?: string | null;
|
|
18
|
-
|
|
19
|
+
plan_type?: NetworkType.Raw | null;
|
|
20
|
+
type?: InsuranceTypeCode.Raw | null;
|
|
19
21
|
period?: Period.Raw | null;
|
|
20
22
|
insurance_card_image_locator?: string | null;
|
|
21
23
|
}
|
|
@@ -30,6 +30,7 @@ exports.InsurancePlan = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
const PayerId_1 = require("../../../../common/types/PayerId");
|
|
32
32
|
const NetworkType_1 = require("./NetworkType");
|
|
33
|
+
const InsuranceTypeCode_1 = require("./InsuranceTypeCode");
|
|
33
34
|
const Period_1 = require("../../../../common/types/Period");
|
|
34
35
|
exports.InsurancePlan = core.serialization.object({
|
|
35
36
|
memberId: core.serialization.property("member_id", core.serialization.string()),
|
|
@@ -37,7 +38,8 @@ exports.InsurancePlan = core.serialization.object({
|
|
|
37
38
|
payerName: core.serialization.property("payer_name", core.serialization.string()),
|
|
38
39
|
groupNumber: core.serialization.property("group_number", core.serialization.string().optional()),
|
|
39
40
|
name: core.serialization.string().optional(),
|
|
40
|
-
|
|
41
|
+
planType: core.serialization.property("plan_type", NetworkType_1.NetworkType.optional()),
|
|
42
|
+
type: InsuranceTypeCode_1.InsuranceTypeCode.optional(),
|
|
41
43
|
period: Period_1.Period.optional(),
|
|
42
44
|
insuranceCardImageLocator: core.serialization.property("insurance_card_image_locator", core.serialization.string().optional()),
|
|
43
45
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
export declare const InsuranceTypeCode: core.serialization.Schema<serializers.preEncounter.coverages.v1.InsuranceTypeCode.Raw, CandidApi.preEncounter.coverages.v1.InsuranceTypeCode>;
|
|
8
|
+
export declare namespace InsuranceTypeCode {
|
|
9
|
+
type Raw = "01" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "41" | "42" | "43" | "47" | "AP" | "C1" | "CO" | "CP" | "D" | "DB" | "E" | "EP" | "FF" | "GP" | "HA" | "HB" | "HD" | "HG" | "HM" | "HN" | "HP" | "HS" | "IN" | "IP" | "LC" | "LD" | "LI" | "LT" | "M" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MH" | "MI" | "MJ" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MR" | "MT" | "MV" | "OA" | "OT" | "PE" | "PL" | "PP" | "PR" | "PS" | "QM" | "RP" | "SP" | "TF" | "U" | "WC" | "WU";
|
|
10
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.InsuranceTypeCode = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.InsuranceTypeCode = core.serialization.enum_([
|
|
32
|
+
"01",
|
|
33
|
+
"12",
|
|
34
|
+
"13",
|
|
35
|
+
"14",
|
|
36
|
+
"15",
|
|
37
|
+
"16",
|
|
38
|
+
"17",
|
|
39
|
+
"18",
|
|
40
|
+
"19",
|
|
41
|
+
"41",
|
|
42
|
+
"42",
|
|
43
|
+
"43",
|
|
44
|
+
"47",
|
|
45
|
+
"AP",
|
|
46
|
+
"C1",
|
|
47
|
+
"CO",
|
|
48
|
+
"CP",
|
|
49
|
+
"D",
|
|
50
|
+
"DB",
|
|
51
|
+
"E",
|
|
52
|
+
"EP",
|
|
53
|
+
"FF",
|
|
54
|
+
"GP",
|
|
55
|
+
"HA",
|
|
56
|
+
"HB",
|
|
57
|
+
"HD",
|
|
58
|
+
"HG",
|
|
59
|
+
"HM",
|
|
60
|
+
"HN",
|
|
61
|
+
"HP",
|
|
62
|
+
"HS",
|
|
63
|
+
"IN",
|
|
64
|
+
"IP",
|
|
65
|
+
"LC",
|
|
66
|
+
"LD",
|
|
67
|
+
"LI",
|
|
68
|
+
"LT",
|
|
69
|
+
"M",
|
|
70
|
+
"MA",
|
|
71
|
+
"MB",
|
|
72
|
+
"MC",
|
|
73
|
+
"MD",
|
|
74
|
+
"ME",
|
|
75
|
+
"MF",
|
|
76
|
+
"MH",
|
|
77
|
+
"MI",
|
|
78
|
+
"MJ",
|
|
79
|
+
"MK",
|
|
80
|
+
"ML",
|
|
81
|
+
"MM",
|
|
82
|
+
"MN",
|
|
83
|
+
"MO",
|
|
84
|
+
"MP",
|
|
85
|
+
"MR",
|
|
86
|
+
"MT",
|
|
87
|
+
"MV",
|
|
88
|
+
"OA",
|
|
89
|
+
"OT",
|
|
90
|
+
"PE",
|
|
91
|
+
"PL",
|
|
92
|
+
"PP",
|
|
93
|
+
"PR",
|
|
94
|
+
"PS",
|
|
95
|
+
"QM",
|
|
96
|
+
"RP",
|
|
97
|
+
"SP",
|
|
98
|
+
"TF",
|
|
99
|
+
"U",
|
|
100
|
+
"WC",
|
|
101
|
+
"WU",
|
|
102
|
+
]);
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
export declare const NetworkType: core.serialization.Schema<serializers.preEncounter.coverages.v1.NetworkType.Raw, CandidApi.preEncounter.coverages.v1.NetworkType>;
|
|
8
8
|
export declare namespace NetworkType {
|
|
9
|
-
type Raw = "12" | "13" | "14" | "15" | "16" | "17" | "AM" | "CH" | "DS" | "HM" | "LM" | "MA" | "MB" | "MC" | "OF" | "TV" | "VA" | "WC" | "ZZ";
|
|
9
|
+
type Raw = "09" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "AM" | "BL" | "CH" | "CI" | "DS" | "FI" | "HM" | "LM" | "MA" | "MB" | "MC" | "OF" | "TV" | "VA" | "WC" | "ZZ";
|
|
10
10
|
}
|
|
@@ -29,6 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.NetworkType = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
exports.NetworkType = core.serialization.enum_([
|
|
32
|
+
"09",
|
|
33
|
+
"11",
|
|
32
34
|
"12",
|
|
33
35
|
"13",
|
|
34
36
|
"14",
|
|
@@ -36,8 +38,11 @@ exports.NetworkType = core.serialization.enum_([
|
|
|
36
38
|
"16",
|
|
37
39
|
"17",
|
|
38
40
|
"AM",
|
|
41
|
+
"BL",
|
|
39
42
|
"CH",
|
|
43
|
+
"CI",
|
|
40
44
|
"DS",
|
|
45
|
+
"FI",
|
|
41
46
|
"HM",
|
|
42
47
|
"LM",
|
|
43
48
|
"MA",
|
|
@@ -5,12 +5,12 @@ import * as serializers from "../../../../../../../index";
|
|
|
5
5
|
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { HumanName } from "../../../../common/types/HumanName";
|
|
8
|
-
import {
|
|
8
|
+
import { Sex } from "../../../../common/types/Sex";
|
|
9
9
|
export declare const Subscriber: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.Subscriber.Raw, CandidApi.preEncounter.coverages.v1.Subscriber>;
|
|
10
10
|
export declare namespace Subscriber {
|
|
11
11
|
interface Raw {
|
|
12
12
|
name: HumanName.Raw;
|
|
13
13
|
date_of_birth: string;
|
|
14
|
-
|
|
14
|
+
biological_sex: Sex.Raw;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -29,9 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Subscriber = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
const HumanName_1 = require("../../../../common/types/HumanName");
|
|
32
|
-
const
|
|
32
|
+
const Sex_1 = require("../../../../common/types/Sex");
|
|
33
33
|
exports.Subscriber = core.serialization.object({
|
|
34
34
|
name: HumanName_1.HumanName,
|
|
35
35
|
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string()),
|
|
36
|
-
|
|
36
|
+
biologicalSex: core.serialization.property("biological_sex", Sex_1.Sex),
|
|
37
37
|
});
|