candidhealth 0.34.5 → 0.34.6
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/Client.d.ts +3 -0
- package/Client.js +7 -2
- 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/claims/types/Claim.d.ts +4 -4
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +65 -0
- package/api/resources/diagnoses/client/Client.js +237 -0
- package/api/resources/diagnoses/client/create.d.ts +22 -0
- package/api/resources/diagnoses/client/create.js +47 -0
- package/api/resources/diagnoses/client/delete.d.ts +28 -0
- package/api/resources/diagnoses/client/delete.js +58 -0
- package/api/resources/diagnoses/client/index.d.ts +4 -0
- package/api/resources/diagnoses/client/index.js +33 -0
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
- package/api/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/api/resources/diagnoses/client/requests/index.js +2 -0
- package/api/resources/diagnoses/client/update.d.ts +28 -0
- package/api/resources/diagnoses/client/update.js +58 -0
- package/api/resources/diagnoses/index.d.ts +1 -0
- package/api/resources/diagnoses/index.js +1 -0
- package/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
- package/api/resources/diagnoses/types/DiagnosisNotFoundError.js +5 -0
- package/api/resources/diagnoses/types/index.d.ts +1 -0
- package/api/resources/diagnoses/types/index.js +1 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +12 -10
- package/api/resources/encounters/resources/v4/client/Client.js +17 -15
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -5
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -4
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +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/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- 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.d.ts +2 -1
- package/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
- 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.js +8 -8
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +6 -5
- package/api/resources/serviceLines/resources/v2/client/Client.js +9 -8
- package/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
- package/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
- package/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +1 -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/Client.d.ts +3 -0
- package/dist/Client.js +7 -2
- 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/claims/types/Claim.d.ts +4 -4
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.d.ts +65 -0
- package/dist/api/resources/diagnoses/client/Client.js +237 -0
- package/dist/api/resources/diagnoses/client/create.d.ts +22 -0
- package/dist/api/resources/diagnoses/client/create.js +47 -0
- package/dist/api/resources/diagnoses/client/delete.d.ts +28 -0
- package/dist/api/resources/diagnoses/client/delete.js +58 -0
- package/dist/api/resources/diagnoses/client/index.d.ts +4 -0
- package/dist/api/resources/diagnoses/client/index.js +33 -0
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
- package/dist/api/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/client/requests/index.js +2 -0
- package/dist/api/resources/diagnoses/client/update.d.ts +28 -0
- package/dist/api/resources/diagnoses/client/update.js +58 -0
- package/dist/api/resources/diagnoses/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/index.js +1 -0
- package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
- package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.js +5 -0
- package/dist/api/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/types/index.js +1 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +12 -10
- package/dist/api/resources/encounters/resources/v4/client/Client.js +17 -15
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -5
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -4
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +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/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- 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.d.ts +2 -1
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
- 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.js +8 -8
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +6 -5
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +9 -8
- package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
- package/dist/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -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/diagnoses/client/delete.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/delete.js +61 -0
- package/dist/serialization/resources/diagnoses/client/index.d.ts +3 -0
- package/dist/serialization/resources/diagnoses/client/index.js +32 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
- package/dist/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/client/requests/index.js +5 -0
- package/dist/serialization/resources/diagnoses/client/update.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/update.js +61 -0
- package/dist/serialization/resources/diagnoses/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/index.js +1 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -0
- package/dist/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +15 -5260
- package/serialization/resources/diagnoses/client/delete.d.ts +15 -0
- package/serialization/resources/diagnoses/client/delete.js +61 -0
- package/serialization/resources/diagnoses/client/index.d.ts +3 -0
- package/serialization/resources/diagnoses/client/index.js +32 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
- package/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/serialization/resources/diagnoses/client/requests/index.js +5 -0
- package/serialization/resources/diagnoses/client/update.d.ts +15 -0
- package/serialization/resources/diagnoses/client/update.js +61 -0
- package/serialization/resources/diagnoses/index.d.ts +1 -0
- package/serialization/resources/diagnoses/index.js +1 -0
- package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
- package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -0
- package/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/serialization/resources/diagnoses/types/index.js +1 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
- package/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
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.delete = exports.update = exports.create = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.create = __importStar(require("./create"));
|
|
32
|
+
exports.update = __importStar(require("./update"));
|
|
33
|
+
exports.delete = __importStar(require("./delete"));
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* name: "string",
|
|
9
|
+
* codeType: CandidApi.DiagnosisTypeCode.Abf,
|
|
10
|
+
* code: "string"
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
export interface DiagnosisUpdate {
|
|
14
|
+
/** Empty string not allowed. */
|
|
15
|
+
name?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Typically, providers submitting claims to Candid are using ICD-10 diagnosis codes. If you are using ICD-10 codes, the primary diagnosis code listed on the claim should use the ABK code_type. If more than one diagnosis is being submitted on a claim, please use ABF for the rest of the listed diagnoses. If you are using ICD-9 diagnosis codes, use BK and BF for the principal and following diagnosis code(s) respectively.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
codeType?: CandidApi.DiagnosisTypeCode;
|
|
21
|
+
/**
|
|
22
|
+
* Empty string not allowed.
|
|
23
|
+
* Should be of the appropriate format for the provided `code_type`.
|
|
24
|
+
* Must obey the ICD-10 format if an ICD-10 code_type is provided, specifically:
|
|
25
|
+
* - Letter
|
|
26
|
+
* - Digit
|
|
27
|
+
* - Digit or the letter `A` or `B`
|
|
28
|
+
* - (Optional) Period `.`
|
|
29
|
+
* - Up to 4 (or as few as 0) letters and digits
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
code?: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type DiagnosisUpdate } from "./DiagnosisUpdate";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../index";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.diagnoses.update.Error.DiagnosisNotFoundHttpError | CandidApi.diagnoses.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface DiagnosisNotFoundHttpError extends _Utils {
|
|
9
|
+
errorName: "DiagnosisNotFoundHTTPError";
|
|
10
|
+
content: CandidApi.DiagnosisNotFoundError;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.diagnoses.update.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
diagnosisNotFoundHttpError: (value: CandidApi.DiagnosisNotFoundError) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly diagnosisNotFoundHttpError: (value: CandidApi.DiagnosisNotFoundError) => CandidApi.diagnoses.update.Error.DiagnosisNotFoundHttpError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.diagnoses.update.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.diagnoses.update.Error, visitor: CandidApi.diagnoses.update.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
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.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
diagnosisNotFoundHttpError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "DiagnosisNotFoundHTTPError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.diagnoses.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.diagnoses.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "DiagnosisNotFoundHTTPError":
|
|
53
|
+
return visitor.diagnosisNotFoundHttpError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -19,3 +19,4 @@ __exportStar(require("./DiagnosisCreate"), exports);
|
|
|
19
19
|
__exportStar(require("./StandaloneDiagnosisCreate"), exports);
|
|
20
20
|
__exportStar(require("./DiagnosisTypeCode"), exports);
|
|
21
21
|
__exportStar(require("./Diagnosis"), exports);
|
|
22
|
+
__exportStar(require("./DiagnosisNotFoundError"), exports);
|
|
@@ -83,7 +83,7 @@ class V2 {
|
|
|
83
83
|
Authorization: yield this._getAuthorizationHeader(),
|
|
84
84
|
"X-Fern-Language": "JavaScript",
|
|
85
85
|
"X-Fern-SDK-Name": "candidhealth",
|
|
86
|
-
"X-Fern-SDK-Version": "0.34.
|
|
86
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
87
87
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
88
88
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
89
89
|
},
|
|
@@ -156,7 +156,7 @@ class V2 {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "candidhealth",
|
|
159
|
-
"X-Fern-SDK-Version": "0.34.
|
|
159
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
160
160
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
161
161
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
162
162
|
},
|
|
@@ -227,7 +227,7 @@ class V2 {
|
|
|
227
227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
228
228
|
"X-Fern-Language": "JavaScript",
|
|
229
229
|
"X-Fern-SDK-Name": "candidhealth",
|
|
230
|
-
"X-Fern-SDK-Version": "0.34.
|
|
230
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
231
231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
232
232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
233
233
|
},
|
|
@@ -81,7 +81,7 @@ class V2 {
|
|
|
81
81
|
Authorization: yield this._getAuthorizationHeader(),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "candidhealth",
|
|
84
|
-
"X-Fern-SDK-Version": "0.34.
|
|
84
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
85
85
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
86
86
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
87
87
|
},
|
|
@@ -160,7 +160,7 @@ class V2 {
|
|
|
160
160
|
Authorization: yield this._getAuthorizationHeader(),
|
|
161
161
|
"X-Fern-Language": "JavaScript",
|
|
162
162
|
"X-Fern-SDK-Name": "candidhealth",
|
|
163
|
-
"X-Fern-SDK-Version": "0.34.
|
|
163
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
164
164
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
165
165
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
166
166
|
},
|
|
@@ -239,7 +239,7 @@ class V2 {
|
|
|
239
239
|
Authorization: yield this._getAuthorizationHeader(),
|
|
240
240
|
"X-Fern-Language": "JavaScript",
|
|
241
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.34.
|
|
242
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
243
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
245
|
},
|
|
@@ -318,7 +318,7 @@ class V2 {
|
|
|
318
318
|
Authorization: yield this._getAuthorizationHeader(),
|
|
319
319
|
"X-Fern-Language": "JavaScript",
|
|
320
320
|
"X-Fern-SDK-Name": "candidhealth",
|
|
321
|
-
"X-Fern-SDK-Version": "0.34.
|
|
321
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
322
322
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
323
323
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
324
324
|
},
|
|
@@ -396,7 +396,7 @@ class V2 {
|
|
|
396
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
397
397
|
"X-Fern-Language": "JavaScript",
|
|
398
398
|
"X-Fern-SDK-Name": "candidhealth",
|
|
399
|
-
"X-Fern-SDK-Version": "0.34.
|
|
399
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
400
400
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
401
401
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
402
402
|
},
|
|
@@ -476,7 +476,7 @@ class V2 {
|
|
|
476
476
|
Authorization: yield this._getAuthorizationHeader(),
|
|
477
477
|
"X-Fern-Language": "JavaScript",
|
|
478
478
|
"X-Fern-SDK-Name": "candidhealth",
|
|
479
|
-
"X-Fern-SDK-Version": "0.34.
|
|
479
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
480
480
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
481
481
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
482
482
|
},
|
|
@@ -557,7 +557,7 @@ class V2 {
|
|
|
557
557
|
Authorization: yield this._getAuthorizationHeader(),
|
|
558
558
|
"X-Fern-Language": "JavaScript",
|
|
559
559
|
"X-Fern-SDK-Name": "candidhealth",
|
|
560
|
-
"X-Fern-SDK-Version": "0.34.
|
|
560
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
561
561
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
562
562
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
563
563
|
},
|
|
@@ -637,7 +637,7 @@ class V2 {
|
|
|
637
637
|
Authorization: yield this._getAuthorizationHeader(),
|
|
638
638
|
"X-Fern-Language": "JavaScript",
|
|
639
639
|
"X-Fern-SDK-Name": "candidhealth",
|
|
640
|
-
"X-Fern-SDK-Version": "0.34.
|
|
640
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
641
641
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
642
642
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
643
643
|
},
|
|
@@ -701,7 +701,7 @@ class V2 {
|
|
|
701
701
|
Authorization: yield this._getAuthorizationHeader(),
|
|
702
702
|
"X-Fern-Language": "JavaScript",
|
|
703
703
|
"X-Fern-SDK-Name": "candidhealth",
|
|
704
|
-
"X-Fern-SDK-Version": "0.34.
|
|
704
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
705
705
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
706
706
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
707
707
|
},
|
|
@@ -756,7 +756,7 @@ class V2 {
|
|
|
756
756
|
Authorization: yield this._getAuthorizationHeader(),
|
|
757
757
|
"X-Fern-Language": "JavaScript",
|
|
758
758
|
"X-Fern-SDK-Name": "candidhealth",
|
|
759
|
-
"X-Fern-SDK-Version": "0.34.
|
|
759
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
760
760
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
761
761
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
762
762
|
},
|
|
@@ -811,7 +811,7 @@ class V2 {
|
|
|
811
811
|
Authorization: yield this._getAuthorizationHeader(),
|
|
812
812
|
"X-Fern-Language": "JavaScript",
|
|
813
813
|
"X-Fern-SDK-Name": "candidhealth",
|
|
814
|
-
"X-Fern-SDK-Version": "0.34.
|
|
814
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
815
815
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
816
816
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
817
817
|
},
|
|
@@ -866,7 +866,7 @@ class V2 {
|
|
|
866
866
|
Authorization: yield this._getAuthorizationHeader(),
|
|
867
867
|
"X-Fern-Language": "JavaScript",
|
|
868
868
|
"X-Fern-SDK-Name": "candidhealth",
|
|
869
|
-
"X-Fern-SDK-Version": "0.34.
|
|
869
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
870
870
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
871
871
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
872
872
|
},
|
|
@@ -273,7 +273,8 @@ export declare class V4 {
|
|
|
273
273
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
274
274
|
* linkSequenceNumber: "string",
|
|
275
275
|
* pharmacyPrescriptionNumber: "string",
|
|
276
|
-
* conversionFormula: "string"
|
|
276
|
+
* conversionFormula: "string",
|
|
277
|
+
* drugDescription: "string"
|
|
277
278
|
* },
|
|
278
279
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
279
280
|
* description: "string",
|
|
@@ -294,10 +295,10 @@ export declare class V4 {
|
|
|
294
295
|
* lastName: "string",
|
|
295
296
|
* organizationName: "string"
|
|
296
297
|
* },
|
|
297
|
-
*
|
|
298
|
-
*
|
|
299
|
-
*
|
|
300
|
-
*
|
|
298
|
+
* testResults: [{
|
|
299
|
+
* value: 1.1,
|
|
300
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
301
|
+
* }]
|
|
301
302
|
* }],
|
|
302
303
|
* guarantor: {
|
|
303
304
|
* phoneNumbers: [{
|
|
@@ -554,7 +555,8 @@ export declare class V4 {
|
|
|
554
555
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
555
556
|
* linkSequenceNumber: "string",
|
|
556
557
|
* pharmacyPrescriptionNumber: "string",
|
|
557
|
-
* conversionFormula: "string"
|
|
558
|
+
* conversionFormula: "string",
|
|
559
|
+
* drugDescription: "string"
|
|
558
560
|
* },
|
|
559
561
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
560
562
|
* description: "string",
|
|
@@ -575,10 +577,10 @@ export declare class V4 {
|
|
|
575
577
|
* lastName: "string",
|
|
576
578
|
* organizationName: "string"
|
|
577
579
|
* },
|
|
578
|
-
*
|
|
579
|
-
*
|
|
580
|
-
*
|
|
581
|
-
*
|
|
580
|
+
* testResults: [{
|
|
581
|
+
* value: 1.1,
|
|
582
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
583
|
+
* }]
|
|
582
584
|
* }],
|
|
583
585
|
* externalClaimSubmission: {
|
|
584
586
|
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
@@ -132,7 +132,7 @@ class V4 {
|
|
|
132
132
|
Authorization: yield this._getAuthorizationHeader(),
|
|
133
133
|
"X-Fern-Language": "JavaScript",
|
|
134
134
|
"X-Fern-SDK-Name": "candidhealth",
|
|
135
|
-
"X-Fern-SDK-Version": "0.34.
|
|
135
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
136
136
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
137
137
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
138
138
|
},
|
|
@@ -178,7 +178,7 @@ class V4 {
|
|
|
178
178
|
Authorization: yield this._getAuthorizationHeader(),
|
|
179
179
|
"X-Fern-Language": "JavaScript",
|
|
180
180
|
"X-Fern-SDK-Name": "candidhealth",
|
|
181
|
-
"X-Fern-SDK-Version": "0.34.
|
|
181
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
182
182
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
183
183
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
184
184
|
},
|
|
@@ -430,7 +430,8 @@ class V4 {
|
|
|
430
430
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
431
431
|
* linkSequenceNumber: "string",
|
|
432
432
|
* pharmacyPrescriptionNumber: "string",
|
|
433
|
-
* conversionFormula: "string"
|
|
433
|
+
* conversionFormula: "string",
|
|
434
|
+
* drugDescription: "string"
|
|
434
435
|
* },
|
|
435
436
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
436
437
|
* description: "string",
|
|
@@ -451,10 +452,10 @@ class V4 {
|
|
|
451
452
|
* lastName: "string",
|
|
452
453
|
* organizationName: "string"
|
|
453
454
|
* },
|
|
454
|
-
*
|
|
455
|
-
*
|
|
456
|
-
*
|
|
457
|
-
*
|
|
455
|
+
* testResults: [{
|
|
456
|
+
* value: 1.1,
|
|
457
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
458
|
+
* }]
|
|
458
459
|
* }],
|
|
459
460
|
* guarantor: {
|
|
460
461
|
* phoneNumbers: [{
|
|
@@ -574,7 +575,7 @@ class V4 {
|
|
|
574
575
|
Authorization: yield this._getAuthorizationHeader(),
|
|
575
576
|
"X-Fern-Language": "JavaScript",
|
|
576
577
|
"X-Fern-SDK-Name": "candidhealth",
|
|
577
|
-
"X-Fern-SDK-Version": "0.34.
|
|
578
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
578
579
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
579
580
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
580
581
|
},
|
|
@@ -769,7 +770,8 @@ class V4 {
|
|
|
769
770
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
770
771
|
* linkSequenceNumber: "string",
|
|
771
772
|
* pharmacyPrescriptionNumber: "string",
|
|
772
|
-
* conversionFormula: "string"
|
|
773
|
+
* conversionFormula: "string",
|
|
774
|
+
* drugDescription: "string"
|
|
773
775
|
* },
|
|
774
776
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
775
777
|
* description: "string",
|
|
@@ -790,10 +792,10 @@ class V4 {
|
|
|
790
792
|
* lastName: "string",
|
|
791
793
|
* organizationName: "string"
|
|
792
794
|
* },
|
|
793
|
-
*
|
|
794
|
-
*
|
|
795
|
-
*
|
|
796
|
-
*
|
|
795
|
+
* testResults: [{
|
|
796
|
+
* value: 1.1,
|
|
797
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
798
|
+
* }]
|
|
797
799
|
* }],
|
|
798
800
|
* externalClaimSubmission: {
|
|
799
801
|
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
@@ -892,7 +894,7 @@ class V4 {
|
|
|
892
894
|
Authorization: yield this._getAuthorizationHeader(),
|
|
893
895
|
"X-Fern-Language": "JavaScript",
|
|
894
896
|
"X-Fern-SDK-Name": "candidhealth",
|
|
895
|
-
"X-Fern-SDK-Version": "0.34.
|
|
897
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
896
898
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
897
899
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
898
900
|
},
|
|
@@ -1216,7 +1218,7 @@ class V4 {
|
|
|
1216
1218
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1217
1219
|
"X-Fern-Language": "JavaScript",
|
|
1218
1220
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1219
|
-
"X-Fern-SDK-Version": "0.34.
|
|
1221
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
1220
1222
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1221
1223
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1222
1224
|
},
|
|
@@ -224,7 +224,8 @@ import * as CandidApi from "../../../../../../index";
|
|
|
224
224
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
225
225
|
* linkSequenceNumber: "string",
|
|
226
226
|
* pharmacyPrescriptionNumber: "string",
|
|
227
|
-
* conversionFormula: "string"
|
|
227
|
+
* conversionFormula: "string",
|
|
228
|
+
* drugDescription: "string"
|
|
228
229
|
* },
|
|
229
230
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
230
231
|
* description: "string",
|
|
@@ -245,10 +246,10 @@ import * as CandidApi from "../../../../../../index";
|
|
|
245
246
|
* lastName: "string",
|
|
246
247
|
* organizationName: "string"
|
|
247
248
|
* },
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
249
|
+
* testResults: [{
|
|
250
|
+
* value: 1.1,
|
|
251
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
252
|
+
* }]
|
|
252
253
|
* }],
|
|
253
254
|
* guarantor: {
|
|
254
255
|
* phoneNumbers: [{
|
package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts
CHANGED
|
@@ -128,7 +128,8 @@ import * as CandidApi from "../../../../../../index";
|
|
|
128
128
|
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
129
129
|
* linkSequenceNumber: "string",
|
|
130
130
|
* pharmacyPrescriptionNumber: "string",
|
|
131
|
-
* conversionFormula: "string"
|
|
131
|
+
* conversionFormula: "string",
|
|
132
|
+
* drugDescription: "string"
|
|
132
133
|
* },
|
|
133
134
|
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
134
135
|
* description: "string",
|
|
@@ -149,10 +150,10 @@ import * as CandidApi from "../../../../../../index";
|
|
|
149
150
|
* lastName: "string",
|
|
150
151
|
* organizationName: "string"
|
|
151
152
|
* },
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
153
|
+
* testResults: [{
|
|
154
|
+
* value: 1.1,
|
|
155
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
156
|
+
* }]
|
|
156
157
|
* }],
|
|
157
158
|
* externalClaimSubmission: {
|
|
158
159
|
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
@@ -74,10 +74,10 @@ import * as CandidApi from "../../../../../index";
|
|
|
74
74
|
* },
|
|
75
75
|
* dateOfService: "2023-01-01",
|
|
76
76
|
* endDateOfService: "2023-01-03",
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
77
|
+
* testResults: [{
|
|
78
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hemoglobin,
|
|
79
|
+
* value: 51
|
|
80
|
+
* }]
|
|
81
81
|
* }],
|
|
82
82
|
* eras: [{
|
|
83
83
|
* eraId: CandidApi.EraId("4D844EF1-2253-43CD-A4F1-6DB7E65CB54B"),
|
|
@@ -75,10 +75,10 @@ import * as CandidApi from "../../../../../index";
|
|
|
75
75
|
* },
|
|
76
76
|
* dateOfService: "2023-01-01",
|
|
77
77
|
* endDateOfService: "2023-01-03",
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
78
|
+
* testResults: [{
|
|
79
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Hemoglobin,
|
|
80
|
+
* value: 51
|
|
81
|
+
* }]
|
|
82
82
|
* }],
|
|
83
83
|
* eras: [{
|
|
84
84
|
* eraId: CandidApi.EraId("4D844EF1-2253-43CD-A4F1-6DB7E65CB54B"),
|
|
@@ -79,7 +79,7 @@ class V1 {
|
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "candidhealth",
|
|
82
|
-
"X-Fern-SDK-Version": "0.34.
|
|
82
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -96,7 +96,7 @@ class V2 {
|
|
|
96
96
|
Authorization: yield this._getAuthorizationHeader(),
|
|
97
97
|
"X-Fern-Language": "JavaScript",
|
|
98
98
|
"X-Fern-SDK-Name": "candidhealth",
|
|
99
|
-
"X-Fern-SDK-Version": "0.34.
|
|
99
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
100
100
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
101
101
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
102
102
|
},
|
|
@@ -189,7 +189,7 @@ class V2 {
|
|
|
189
189
|
Authorization: yield this._getAuthorizationHeader(),
|
|
190
190
|
"X-Fern-Language": "JavaScript",
|
|
191
191
|
"X-Fern-SDK-Name": "candidhealth",
|
|
192
|
-
"X-Fern-SDK-Version": "0.34.
|
|
192
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
193
193
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
194
194
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
195
195
|
},
|
|
@@ -86,7 +86,7 @@ class V3 {
|
|
|
86
86
|
Authorization: yield this._getAuthorizationHeader(),
|
|
87
87
|
"X-Fern-Language": "JavaScript",
|
|
88
88
|
"X-Fern-SDK-Name": "candidhealth",
|
|
89
|
-
"X-Fern-SDK-Version": "0.34.
|
|
89
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
90
90
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
91
91
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
92
92
|
},
|
|
@@ -82,7 +82,7 @@ class V1 {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "candidhealth",
|
|
85
|
-
"X-Fern-SDK-Version": "0.34.
|
|
85
|
+
"X-Fern-SDK-Version": "0.34.6",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|