candidhealth 0.34.3 → 0.34.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claims/types/Claim.d.ts +5 -1
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +8 -0
- package/api/resources/encounters/resources/v4/client/Client.js +13 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +4 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.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 +5 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +8 -4
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +15 -0
- package/api/resources/serviceLines/resources/v2/types/TestResult.js +5 -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/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 +5 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +8 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +13 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +4 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.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 +5 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +8 -4
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +15 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResult.js +5 -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/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +18 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.js +43 -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 +12 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +18 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.js +43 -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,43 @@
|
|
|
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.TestResult = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TestResult = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
hematocrit: core.serialization.object({
|
|
34
|
+
value: core.serialization.number(),
|
|
35
|
+
}),
|
|
36
|
+
hemoglobin: core.serialization.object({
|
|
37
|
+
value: core.serialization.number(),
|
|
38
|
+
}),
|
|
39
|
+
})
|
|
40
|
+
.transform({
|
|
41
|
+
transform: (value) => value,
|
|
42
|
+
untransform: (value) => value,
|
|
43
|
+
});
|
|
@@ -7,5 +7,6 @@ export * from "./ServiceLineAdjustment";
|
|
|
7
7
|
export * from "./ServiceLineDenialReason";
|
|
8
8
|
export * from "./DenialReasonContent";
|
|
9
9
|
export * from "./DrugIdentification";
|
|
10
|
+
export * from "./TestResult";
|
|
10
11
|
export * from "./ServiceIdQualifier";
|
|
11
12
|
export * from "./MeasurementUnitCode";
|
|
@@ -23,5 +23,6 @@ __exportStar(require("./ServiceLineAdjustment"), exports);
|
|
|
23
23
|
__exportStar(require("./ServiceLineDenialReason"), exports);
|
|
24
24
|
__exportStar(require("./DenialReasonContent"), exports);
|
|
25
25
|
__exportStar(require("./DrugIdentification"), exports);
|
|
26
|
+
__exportStar(require("./TestResult"), exports);
|
|
26
27
|
__exportStar(require("./ServiceIdQualifier"), exports);
|
|
27
28
|
__exportStar(require("./MeasurementUnitCode"), exports);
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2152,6 +2152,10 @@ await client.encounters.v4.create({
|
|
|
2152
2152
|
lastName: "string",
|
|
2153
2153
|
organizationName: "string",
|
|
2154
2154
|
},
|
|
2155
|
+
testResult: {
|
|
2156
|
+
type: "hematocrit",
|
|
2157
|
+
value: 1.1,
|
|
2158
|
+
},
|
|
2155
2159
|
},
|
|
2156
2160
|
],
|
|
2157
2161
|
guarantor: {
|
|
@@ -2514,6 +2518,10 @@ await client.encounters.v4.createFromPreEncounterPatient({
|
|
|
2514
2518
|
lastName: "string",
|
|
2515
2519
|
organizationName: "string",
|
|
2516
2520
|
},
|
|
2521
|
+
testResult: {
|
|
2522
|
+
type: "hematocrit",
|
|
2523
|
+
value: 1.1,
|
|
2524
|
+
},
|
|
2517
2525
|
},
|
|
2518
2526
|
],
|
|
2519
2527
|
externalClaimSubmission: {
|
|
@@ -8228,6 +8236,10 @@ await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-
|
|
|
8228
8236
|
description: "string",
|
|
8229
8237
|
dateOfService: "2023-01-15",
|
|
8230
8238
|
endDateOfService: "2023-01-15",
|
|
8239
|
+
testResult: {
|
|
8240
|
+
type: "hematocrit",
|
|
8241
|
+
value: 1.1,
|
|
8242
|
+
},
|
|
8231
8243
|
});
|
|
8232
8244
|
```
|
|
8233
8245
|
|
|
@@ -19,6 +19,7 @@ import { Decimal } from "../../../../commons/types/Decimal";
|
|
|
19
19
|
import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
|
|
20
20
|
import { ClaimId } from "../../../../commons/types/ClaimId";
|
|
21
21
|
import { DateRangeOptionalEnd } from "../../../../commons/types/DateRangeOptionalEnd";
|
|
22
|
+
import { TestResult } from "./TestResult";
|
|
22
23
|
export declare const ServiceLine: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLine.Raw, CandidApi.serviceLines.v2.ServiceLine>;
|
|
23
24
|
export declare namespace ServiceLine {
|
|
24
25
|
interface Raw {
|
|
@@ -54,5 +55,6 @@ export declare namespace ServiceLine {
|
|
|
54
55
|
description?: string | null;
|
|
55
56
|
date_of_service: string;
|
|
56
57
|
end_date_of_service?: string | null;
|
|
58
|
+
test_result?: TestResult.Raw | null;
|
|
57
59
|
}
|
|
58
60
|
}
|
|
@@ -43,6 +43,7 @@ const Decimal_1 = require("../../../../commons/types/Decimal");
|
|
|
43
43
|
const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
|
|
44
44
|
const ClaimId_1 = require("../../../../commons/types/ClaimId");
|
|
45
45
|
const DateRangeOptionalEnd_1 = require("../../../../commons/types/DateRangeOptionalEnd");
|
|
46
|
+
const TestResult_1 = require("./TestResult");
|
|
46
47
|
exports.ServiceLine = core.serialization.object({
|
|
47
48
|
modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
|
|
48
49
|
chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
|
|
@@ -76,4 +77,5 @@ exports.ServiceLine = core.serialization.object({
|
|
|
76
77
|
description: core.serialization.string().optional(),
|
|
77
78
|
dateOfService: core.serialization.property("date_of_service", core.serialization.string()),
|
|
78
79
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
80
|
+
testResult: core.serialization.property("test_result", TestResult_1.TestResult.optional()),
|
|
79
81
|
});
|
|
@@ -10,6 +10,7 @@ import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
|
|
|
10
10
|
import { DrugIdentification } from "./DrugIdentification";
|
|
11
11
|
import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
|
|
12
12
|
import { OrderingProvider } from "../../../../encounterProviders/resources/v2/types/OrderingProvider";
|
|
13
|
+
import { TestResult } from "./TestResult";
|
|
13
14
|
export declare const ServiceLineCreate: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineCreate.Raw, CandidApi.serviceLines.v2.ServiceLineCreate>;
|
|
14
15
|
export declare namespace ServiceLineCreate {
|
|
15
16
|
interface Raw {
|
|
@@ -25,5 +26,6 @@ export declare namespace ServiceLineCreate {
|
|
|
25
26
|
date_of_service?: string | null;
|
|
26
27
|
end_date_of_service?: string | null;
|
|
27
28
|
ordering_provider?: OrderingProvider.Raw | null;
|
|
29
|
+
test_result?: TestResult.Raw | null;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
@@ -34,6 +34,7 @@ const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits")
|
|
|
34
34
|
const DrugIdentification_1 = require("./DrugIdentification");
|
|
35
35
|
const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
|
|
36
36
|
const OrderingProvider_1 = require("../../../../encounterProviders/resources/v2/types/OrderingProvider");
|
|
37
|
+
const TestResult_1 = require("./TestResult");
|
|
37
38
|
exports.ServiceLineCreate = core.serialization.object({
|
|
38
39
|
modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
|
|
39
40
|
procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
|
|
@@ -47,4 +48,5 @@ exports.ServiceLineCreate = core.serialization.object({
|
|
|
47
48
|
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
48
49
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
49
50
|
orderingProvider: core.serialization.property("ordering_provider", OrderingProvider_1.OrderingProvider.optional()),
|
|
51
|
+
testResult: core.serialization.property("test_result", TestResult_1.TestResult.optional()),
|
|
50
52
|
});
|
|
@@ -11,6 +11,7 @@ import { ServiceLineDenialReason } from "./ServiceLineDenialReason";
|
|
|
11
11
|
import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
|
|
12
12
|
import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
|
|
13
13
|
import { Decimal } from "../../../../commons/types/Decimal";
|
|
14
|
+
import { TestResult } from "./TestResult";
|
|
14
15
|
export declare const ServiceLineUpdate: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineUpdate.Raw, CandidApi.serviceLines.v2.ServiceLineUpdate>;
|
|
15
16
|
export declare namespace ServiceLineUpdate {
|
|
16
17
|
interface Raw {
|
|
@@ -30,5 +31,6 @@ export declare namespace ServiceLineUpdate {
|
|
|
30
31
|
description?: string | null;
|
|
31
32
|
date_of_service?: string | null;
|
|
32
33
|
end_date_of_service?: string | null;
|
|
34
|
+
test_result?: TestResult.Raw | null;
|
|
33
35
|
}
|
|
34
36
|
}
|
|
@@ -35,6 +35,7 @@ const ServiceLineDenialReason_1 = require("./ServiceLineDenialReason");
|
|
|
35
35
|
const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
|
|
36
36
|
const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
|
|
37
37
|
const Decimal_1 = require("../../../../commons/types/Decimal");
|
|
38
|
+
const TestResult_1 = require("./TestResult");
|
|
38
39
|
exports.ServiceLineUpdate = core.serialization.object({
|
|
39
40
|
editReason: core.serialization.property("edit_reason", core.serialization.string().optional()),
|
|
40
41
|
modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
|
|
@@ -52,4 +53,5 @@ exports.ServiceLineUpdate = core.serialization.object({
|
|
|
52
53
|
description: core.serialization.string().optional(),
|
|
53
54
|
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
54
55
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
56
|
+
testResult: core.serialization.property("test_result", TestResult_1.TestResult.optional()),
|
|
55
57
|
});
|
|
@@ -0,0 +1,18 @@
|
|
|
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 TestResult: core.serialization.Schema<serializers.serviceLines.v2.TestResult.Raw, CandidApi.serviceLines.v2.TestResult>;
|
|
8
|
+
export declare namespace TestResult {
|
|
9
|
+
type Raw = TestResult.Hematocrit | TestResult.Hemoglobin;
|
|
10
|
+
interface Hematocrit {
|
|
11
|
+
type: "hematocrit";
|
|
12
|
+
value: number;
|
|
13
|
+
}
|
|
14
|
+
interface Hemoglobin {
|
|
15
|
+
type: "hemoglobin";
|
|
16
|
+
value: number;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.TestResult = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TestResult = core.serialization
|
|
32
|
+
.union("type", {
|
|
33
|
+
hematocrit: core.serialization.object({
|
|
34
|
+
value: core.serialization.number(),
|
|
35
|
+
}),
|
|
36
|
+
hemoglobin: core.serialization.object({
|
|
37
|
+
value: core.serialization.number(),
|
|
38
|
+
}),
|
|
39
|
+
})
|
|
40
|
+
.transform({
|
|
41
|
+
transform: (value) => value,
|
|
42
|
+
untransform: (value) => value,
|
|
43
|
+
});
|
|
@@ -7,5 +7,6 @@ export * from "./ServiceLineAdjustment";
|
|
|
7
7
|
export * from "./ServiceLineDenialReason";
|
|
8
8
|
export * from "./DenialReasonContent";
|
|
9
9
|
export * from "./DrugIdentification";
|
|
10
|
+
export * from "./TestResult";
|
|
10
11
|
export * from "./ServiceIdQualifier";
|
|
11
12
|
export * from "./MeasurementUnitCode";
|
|
@@ -23,5 +23,6 @@ __exportStar(require("./ServiceLineAdjustment"), exports);
|
|
|
23
23
|
__exportStar(require("./ServiceLineDenialReason"), exports);
|
|
24
24
|
__exportStar(require("./DenialReasonContent"), exports);
|
|
25
25
|
__exportStar(require("./DrugIdentification"), exports);
|
|
26
|
+
__exportStar(require("./TestResult"), exports);
|
|
26
27
|
__exportStar(require("./ServiceIdQualifier"), exports);
|
|
27
28
|
__exportStar(require("./MeasurementUnitCode"), exports);
|