@tryvital/vital-node 3.1.270 → 3.1.272
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/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.js +3 -3
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/electrocardiogram/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +3 -3
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +12 -0
- package/api/resources/labTests/client/Client.js +107 -41
- package/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +4 -0
- package/api/resources/link/client/Client.js +19 -19
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/order/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/sleepCycle/client/Client.js +1 -1
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.js +78 -78
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingCriticalResult.d.ts +1 -1
- package/api/types/ClientFacingOrder.d.ts +2 -0
- package/api/types/ContinuousQueryTaskHistoryEntry.d.ts +0 -1
- package/api/types/Interpretation.d.ts +12 -0
- package/api/types/Interpretation.js +11 -0
- package/api/types/PatientDetailsWithValidation.d.ts +4 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +3 -3
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +3 -3
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +12 -0
- package/dist/api/resources/labTests/client/Client.js +107 -41
- package/dist/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +4 -0
- package/dist/api/resources/link/client/Client.js +19 -19
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/order/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/sleepCycle/client/Client.js +1 -1
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/vitals/client/Client.js +78 -78
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingCriticalResult.d.ts +1 -1
- package/dist/api/types/ClientFacingOrder.d.ts +2 -0
- package/dist/api/types/ContinuousQueryTaskHistoryEntry.d.ts +0 -1
- package/dist/api/types/Interpretation.d.ts +12 -0
- package/dist/api/types/Interpretation.js +11 -0
- package/dist/api/types/PatientDetailsWithValidation.d.ts +4 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/types/ClientFacingOrder.d.ts +2 -0
- package/dist/serialization/types/ClientFacingOrder.js +2 -0
- package/dist/serialization/types/ContinuousQueryTaskHistoryEntry.d.ts +0 -1
- package/dist/serialization/types/ContinuousQueryTaskHistoryEntry.js +0 -1
- package/dist/serialization/types/Interpretation.d.ts +10 -0
- package/dist/serialization/types/Interpretation.js +31 -0
- package/dist/serialization/types/PatientDetailsWithValidation.d.ts +2 -0
- package/dist/serialization/types/PatientDetailsWithValidation.js +2 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +63 -0
- package/serialization/types/ClientFacingOrder.d.ts +2 -0
- package/serialization/types/ClientFacingOrder.js +2 -0
- package/serialization/types/ContinuousQueryTaskHistoryEntry.d.ts +0 -1
- package/serialization/types/ContinuousQueryTaskHistoryEntry.js +0 -1
- package/serialization/types/Interpretation.d.ts +10 -0
- package/serialization/types/Interpretation.js +31 -0
- package/serialization/types/PatientDetailsWithValidation.d.ts +2 -0
- package/serialization/types/PatientDetailsWithValidation.js +2 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -78,7 +78,7 @@ class Workouts {
|
|
78
78
|
const _response = yield core.fetcher({
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}`),
|
80
80
|
method: "GET",
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.272", "User-Agent": "@tryvital/vital-node/3.1.272", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
82
82
|
contentType: "application/json",
|
83
83
|
queryParameters: _queryParams,
|
84
84
|
requestType: "json",
|
@@ -154,7 +154,7 @@ class Workouts {
|
|
154
154
|
const _response = yield core.fetcher({
|
155
155
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}/raw`),
|
156
156
|
method: "GET",
|
157
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
157
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.272", "User-Agent": "@tryvital/vital-node/3.1.272", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
158
158
|
contentType: "application/json",
|
159
159
|
queryParameters: _queryParams,
|
160
160
|
requestType: "json",
|
@@ -216,7 +216,7 @@ class Workouts {
|
|
216
216
|
const _response = yield core.fetcher({
|
217
217
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/workouts/${encodeURIComponent(workoutId)}/stream`),
|
218
218
|
method: "GET",
|
219
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
219
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.272", "User-Agent": "@tryvital/vital-node/3.1.272", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
220
220
|
contentType: "application/json",
|
221
221
|
requestType: "json",
|
222
222
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
@@ -8,7 +8,7 @@ export interface ClientFacingCriticalResult {
|
|
8
8
|
sampleId: string;
|
9
9
|
/** The current results status, can be either (final, partial). */
|
10
10
|
status: string;
|
11
|
-
/** The results interpretation, can be
|
11
|
+
/** The results interpretation, can be one of (normal, abnormal, critical). */
|
12
12
|
interpretation: string;
|
13
13
|
/** Your team id. */
|
14
14
|
teamId: string;
|
@@ -42,4 +42,6 @@ export interface ClientFacingOrder {
|
|
42
42
|
icdCodes?: string[];
|
43
43
|
/** Defines whether the order has an Advanced Beneficiary Notice (ABN) form or not. */
|
44
44
|
hasAbn: boolean;
|
45
|
+
/** Interpretation of the order result. Can be one of (normal, abnormal, critical). */
|
46
|
+
interpretation?: Vital.Interpretation;
|
45
47
|
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
/**
|
5
|
+
* ℹ️ This enum is non-exhaustive.
|
6
|
+
*/
|
7
|
+
export declare type Interpretation = "normal" | "abnormal" | "critical";
|
8
|
+
export declare const Interpretation: {
|
9
|
+
readonly Normal: "normal";
|
10
|
+
readonly Abnormal: "abnormal";
|
11
|
+
readonly Critical: "critical";
|
12
|
+
};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.Interpretation = void 0;
|
7
|
+
exports.Interpretation = {
|
8
|
+
Normal: "normal",
|
9
|
+
Abnormal: "abnormal",
|
10
|
+
Critical: "critical",
|
11
|
+
};
|
@@ -22,4 +22,8 @@ export interface PatientDetailsWithValidation {
|
|
22
22
|
sexualOrientation?: Vital.SexualOrientation;
|
23
23
|
/** If not provided, will be set to 'Not Specified' */
|
24
24
|
genderIdentity?: Vital.GenderIdentity;
|
25
|
+
/** Household income in USD. If not provided, will be set to None */
|
26
|
+
householdIncome?: number;
|
27
|
+
/** Household size. If not provided, will be set to None */
|
28
|
+
householdSize?: number;
|
25
29
|
}
|
@@ -240,6 +240,7 @@ export * from "./HomeProgesteroneTestEntry";
|
|
240
240
|
export * from "./IndexColumnExprIndex";
|
241
241
|
export * from "./IndexColumnExpr";
|
242
242
|
export * from "./IntermenstrualBleedingEntry";
|
243
|
+
export * from "./Interpretation";
|
243
244
|
export * from "./Jpeg";
|
244
245
|
export * from "./LabLocationMetadata";
|
245
246
|
export * from "./LabResultsMetadata";
|
package/dist/api/types/index.js
CHANGED
@@ -256,6 +256,7 @@ __exportStar(require("./HomeProgesteroneTestEntry"), exports);
|
|
256
256
|
__exportStar(require("./IndexColumnExprIndex"), exports);
|
257
257
|
__exportStar(require("./IndexColumnExpr"), exports);
|
258
258
|
__exportStar(require("./IntermenstrualBleedingEntry"), exports);
|
259
|
+
__exportStar(require("./Interpretation"), exports);
|
259
260
|
__exportStar(require("./Jpeg"), exports);
|
260
261
|
__exportStar(require("./LabLocationMetadata"), exports);
|
261
262
|
__exportStar(require("./LabResultsMetadata"), exports);
|
@@ -13,6 +13,7 @@ import { OrderTopLevelStatus } from "./OrderTopLevelStatus";
|
|
13
13
|
import { ClientFacingPhysician } from "./ClientFacingPhysician";
|
14
14
|
import { ShippingAddress } from "./ShippingAddress";
|
15
15
|
import { Billing } from "./Billing";
|
16
|
+
import { Interpretation } from "./Interpretation";
|
16
17
|
export declare const ClientFacingOrder: core.serialization.ObjectSchema<serializers.ClientFacingOrder.Raw, Vital.ClientFacingOrder>;
|
17
18
|
export declare namespace ClientFacingOrder {
|
18
19
|
interface Raw {
|
@@ -39,5 +40,6 @@ export declare namespace ClientFacingOrder {
|
|
39
40
|
billing_type?: Billing.Raw | null;
|
40
41
|
icd_codes?: string[] | null;
|
41
42
|
has_abn: boolean;
|
43
|
+
interpretation?: Interpretation.Raw | null;
|
42
44
|
}
|
43
45
|
}
|
@@ -37,6 +37,7 @@ const OrderTopLevelStatus_1 = require("./OrderTopLevelStatus");
|
|
37
37
|
const ClientFacingPhysician_1 = require("./ClientFacingPhysician");
|
38
38
|
const ShippingAddress_1 = require("./ShippingAddress");
|
39
39
|
const Billing_1 = require("./Billing");
|
40
|
+
const Interpretation_1 = require("./Interpretation");
|
40
41
|
exports.ClientFacingOrder = core.serialization.object({
|
41
42
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
42
43
|
id: core.serialization.string(),
|
@@ -61,4 +62,5 @@ exports.ClientFacingOrder = core.serialization.object({
|
|
61
62
|
billingType: core.serialization.property("billing_type", Billing_1.Billing.optional()),
|
62
63
|
icdCodes: core.serialization.property("icd_codes", core.serialization.list(core.serialization.string()).optional()),
|
63
64
|
hasAbn: core.serialization.property("has_abn", core.serialization.boolean()),
|
65
|
+
interpretation: Interpretation_1.Interpretation.optional(),
|
64
66
|
});
|
@@ -8,7 +8,6 @@ import { ContinuousQueryTaskStatus } from "./ContinuousQueryTaskStatus";
|
|
8
8
|
export declare const ContinuousQueryTaskHistoryEntry: core.serialization.ObjectSchema<serializers.ContinuousQueryTaskHistoryEntry.Raw, Vital.ContinuousQueryTaskHistoryEntry>;
|
9
9
|
export declare namespace ContinuousQueryTaskHistoryEntry {
|
10
10
|
interface Raw {
|
11
|
-
tasker_todo_id: number;
|
12
11
|
query_id: string;
|
13
12
|
user_id: string;
|
14
13
|
status: ContinuousQueryTaskStatus.Raw;
|
@@ -30,7 +30,6 @@ exports.ContinuousQueryTaskHistoryEntry = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const ContinuousQueryTaskStatus_1 = require("./ContinuousQueryTaskStatus");
|
32
32
|
exports.ContinuousQueryTaskHistoryEntry = core.serialization.object({
|
33
|
-
taskerTodoId: core.serialization.property("tasker_todo_id", core.serialization.number()),
|
34
33
|
queryId: core.serialization.property("query_id", core.serialization.string()),
|
35
34
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
36
35
|
status: ContinuousQueryTaskStatus_1.ContinuousQueryTaskStatus,
|
@@ -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 Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const Interpretation: core.serialization.Schema<serializers.Interpretation.Raw, Vital.Interpretation>;
|
8
|
+
export declare namespace Interpretation {
|
9
|
+
type Raw = "normal" | "abnormal" | "critical";
|
10
|
+
}
|
@@ -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.Interpretation = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.Interpretation = core.serialization.enum_(["normal", "abnormal", "critical"]);
|
@@ -24,5 +24,7 @@ export declare namespace PatientDetailsWithValidation {
|
|
24
24
|
ethnicity?: Ethnicity.Raw | null;
|
25
25
|
sexual_orientation?: SexualOrientation.Raw | null;
|
26
26
|
gender_identity?: GenderIdentity.Raw | null;
|
27
|
+
household_income?: number | null;
|
28
|
+
household_size?: number | null;
|
27
29
|
}
|
28
30
|
}
|
@@ -46,4 +46,6 @@ exports.PatientDetailsWithValidation = core.serialization.object({
|
|
46
46
|
ethnicity: Ethnicity_1.Ethnicity.optional(),
|
47
47
|
sexualOrientation: core.serialization.property("sexual_orientation", SexualOrientation_1.SexualOrientation.optional()),
|
48
48
|
genderIdentity: core.serialization.property("gender_identity", GenderIdentity_1.GenderIdentity.optional()),
|
49
|
+
householdIncome: core.serialization.property("household_income", core.serialization.number().optional()),
|
50
|
+
householdSize: core.serialization.property("household_size", core.serialization.number().optional()),
|
49
51
|
});
|
@@ -240,6 +240,7 @@ export * from "./HomeProgesteroneTestEntry";
|
|
240
240
|
export * from "./IndexColumnExprIndex";
|
241
241
|
export * from "./IndexColumnExpr";
|
242
242
|
export * from "./IntermenstrualBleedingEntry";
|
243
|
+
export * from "./Interpretation";
|
243
244
|
export * from "./Jpeg";
|
244
245
|
export * from "./LabLocationMetadata";
|
245
246
|
export * from "./LabResultsMetadata";
|
@@ -256,6 +256,7 @@ __exportStar(require("./HomeProgesteroneTestEntry"), exports);
|
|
256
256
|
__exportStar(require("./IndexColumnExprIndex"), exports);
|
257
257
|
__exportStar(require("./IndexColumnExpr"), exports);
|
258
258
|
__exportStar(require("./IntermenstrualBleedingEntry"), exports);
|
259
|
+
__exportStar(require("./Interpretation"), exports);
|
259
260
|
__exportStar(require("./Jpeg"), exports);
|
260
261
|
__exportStar(require("./LabLocationMetadata"), exports);
|
261
262
|
__exportStar(require("./LabResultsMetadata"), exports);
|
package/dist/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.272";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
@@ -10554,6 +10554,69 @@ await client.labTests.simulateOrderProcess("order_id");
|
|
10554
10554
|
</dl>
|
10555
10555
|
</details>
|
10556
10556
|
|
10557
|
+
<details><summary><code>client.labTests.<a href="/src/api/resources/labTests/client/Client.ts">updateOnSiteCollectionOrderDrawCompleted</a>(orderId) -> Vital.PostOrderResponse</code></summary>
|
10558
|
+
<dl>
|
10559
|
+
<dd>
|
10560
|
+
|
10561
|
+
#### 📝 Description
|
10562
|
+
|
10563
|
+
<dl>
|
10564
|
+
<dd>
|
10565
|
+
|
10566
|
+
<dl>
|
10567
|
+
<dd>
|
10568
|
+
|
10569
|
+
PATCH update on site collection order when draw is completed
|
10570
|
+
|
10571
|
+
</dd>
|
10572
|
+
</dl>
|
10573
|
+
</dd>
|
10574
|
+
</dl>
|
10575
|
+
|
10576
|
+
#### 🔌 Usage
|
10577
|
+
|
10578
|
+
<dl>
|
10579
|
+
<dd>
|
10580
|
+
|
10581
|
+
<dl>
|
10582
|
+
<dd>
|
10583
|
+
|
10584
|
+
```typescript
|
10585
|
+
await client.labTests.updateOnSiteCollectionOrderDrawCompleted("order_id");
|
10586
|
+
```
|
10587
|
+
|
10588
|
+
</dd>
|
10589
|
+
</dl>
|
10590
|
+
</dd>
|
10591
|
+
</dl>
|
10592
|
+
|
10593
|
+
#### ⚙️ Parameters
|
10594
|
+
|
10595
|
+
<dl>
|
10596
|
+
<dd>
|
10597
|
+
|
10598
|
+
<dl>
|
10599
|
+
<dd>
|
10600
|
+
|
10601
|
+
**orderId:** `string` — Your Order ID.
|
10602
|
+
|
10603
|
+
</dd>
|
10604
|
+
</dl>
|
10605
|
+
|
10606
|
+
<dl>
|
10607
|
+
<dd>
|
10608
|
+
|
10609
|
+
**requestOptions:** `LabTests.RequestOptions`
|
10610
|
+
|
10611
|
+
</dd>
|
10612
|
+
</dl>
|
10613
|
+
</dd>
|
10614
|
+
</dl>
|
10615
|
+
|
10616
|
+
</dd>
|
10617
|
+
</dl>
|
10618
|
+
</details>
|
10619
|
+
|
10557
10620
|
<details><summary><code>client.labTests.<a href="/src/api/resources/labTests/client/Client.ts">getOrders</a>({ ...params }) -> Vital.GetOrdersResponse</code></summary>
|
10558
10621
|
<dl>
|
10559
10622
|
<dd>
|
@@ -13,6 +13,7 @@ import { OrderTopLevelStatus } from "./OrderTopLevelStatus";
|
|
13
13
|
import { ClientFacingPhysician } from "./ClientFacingPhysician";
|
14
14
|
import { ShippingAddress } from "./ShippingAddress";
|
15
15
|
import { Billing } from "./Billing";
|
16
|
+
import { Interpretation } from "./Interpretation";
|
16
17
|
export declare const ClientFacingOrder: core.serialization.ObjectSchema<serializers.ClientFacingOrder.Raw, Vital.ClientFacingOrder>;
|
17
18
|
export declare namespace ClientFacingOrder {
|
18
19
|
interface Raw {
|
@@ -39,5 +40,6 @@ export declare namespace ClientFacingOrder {
|
|
39
40
|
billing_type?: Billing.Raw | null;
|
40
41
|
icd_codes?: string[] | null;
|
41
42
|
has_abn: boolean;
|
43
|
+
interpretation?: Interpretation.Raw | null;
|
42
44
|
}
|
43
45
|
}
|
@@ -37,6 +37,7 @@ const OrderTopLevelStatus_1 = require("./OrderTopLevelStatus");
|
|
37
37
|
const ClientFacingPhysician_1 = require("./ClientFacingPhysician");
|
38
38
|
const ShippingAddress_1 = require("./ShippingAddress");
|
39
39
|
const Billing_1 = require("./Billing");
|
40
|
+
const Interpretation_1 = require("./Interpretation");
|
40
41
|
exports.ClientFacingOrder = core.serialization.object({
|
41
42
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
42
43
|
id: core.serialization.string(),
|
@@ -61,4 +62,5 @@ exports.ClientFacingOrder = core.serialization.object({
|
|
61
62
|
billingType: core.serialization.property("billing_type", Billing_1.Billing.optional()),
|
62
63
|
icdCodes: core.serialization.property("icd_codes", core.serialization.list(core.serialization.string()).optional()),
|
63
64
|
hasAbn: core.serialization.property("has_abn", core.serialization.boolean()),
|
65
|
+
interpretation: Interpretation_1.Interpretation.optional(),
|
64
66
|
});
|
@@ -8,7 +8,6 @@ import { ContinuousQueryTaskStatus } from "./ContinuousQueryTaskStatus";
|
|
8
8
|
export declare const ContinuousQueryTaskHistoryEntry: core.serialization.ObjectSchema<serializers.ContinuousQueryTaskHistoryEntry.Raw, Vital.ContinuousQueryTaskHistoryEntry>;
|
9
9
|
export declare namespace ContinuousQueryTaskHistoryEntry {
|
10
10
|
interface Raw {
|
11
|
-
tasker_todo_id: number;
|
12
11
|
query_id: string;
|
13
12
|
user_id: string;
|
14
13
|
status: ContinuousQueryTaskStatus.Raw;
|
@@ -30,7 +30,6 @@ exports.ContinuousQueryTaskHistoryEntry = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const ContinuousQueryTaskStatus_1 = require("./ContinuousQueryTaskStatus");
|
32
32
|
exports.ContinuousQueryTaskHistoryEntry = core.serialization.object({
|
33
|
-
taskerTodoId: core.serialization.property("tasker_todo_id", core.serialization.number()),
|
34
33
|
queryId: core.serialization.property("query_id", core.serialization.string()),
|
35
34
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
36
35
|
status: ContinuousQueryTaskStatus_1.ContinuousQueryTaskStatus,
|
@@ -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 Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const Interpretation: core.serialization.Schema<serializers.Interpretation.Raw, Vital.Interpretation>;
|
8
|
+
export declare namespace Interpretation {
|
9
|
+
type Raw = "normal" | "abnormal" | "critical";
|
10
|
+
}
|
@@ -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.Interpretation = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.Interpretation = core.serialization.enum_(["normal", "abnormal", "critical"]);
|
@@ -24,5 +24,7 @@ export declare namespace PatientDetailsWithValidation {
|
|
24
24
|
ethnicity?: Ethnicity.Raw | null;
|
25
25
|
sexual_orientation?: SexualOrientation.Raw | null;
|
26
26
|
gender_identity?: GenderIdentity.Raw | null;
|
27
|
+
household_income?: number | null;
|
28
|
+
household_size?: number | null;
|
27
29
|
}
|
28
30
|
}
|
@@ -46,4 +46,6 @@ exports.PatientDetailsWithValidation = core.serialization.object({
|
|
46
46
|
ethnicity: Ethnicity_1.Ethnicity.optional(),
|
47
47
|
sexualOrientation: core.serialization.property("sexual_orientation", SexualOrientation_1.SexualOrientation.optional()),
|
48
48
|
genderIdentity: core.serialization.property("gender_identity", GenderIdentity_1.GenderIdentity.optional()),
|
49
|
+
householdIncome: core.serialization.property("household_income", core.serialization.number().optional()),
|
50
|
+
householdSize: core.serialization.property("household_size", core.serialization.number().optional()),
|
49
51
|
});
|
@@ -240,6 +240,7 @@ export * from "./HomeProgesteroneTestEntry";
|
|
240
240
|
export * from "./IndexColumnExprIndex";
|
241
241
|
export * from "./IndexColumnExpr";
|
242
242
|
export * from "./IntermenstrualBleedingEntry";
|
243
|
+
export * from "./Interpretation";
|
243
244
|
export * from "./Jpeg";
|
244
245
|
export * from "./LabLocationMetadata";
|
245
246
|
export * from "./LabResultsMetadata";
|
@@ -256,6 +256,7 @@ __exportStar(require("./HomeProgesteroneTestEntry"), exports);
|
|
256
256
|
__exportStar(require("./IndexColumnExprIndex"), exports);
|
257
257
|
__exportStar(require("./IndexColumnExpr"), exports);
|
258
258
|
__exportStar(require("./IntermenstrualBleedingEntry"), exports);
|
259
|
+
__exportStar(require("./Interpretation"), exports);
|
259
260
|
__exportStar(require("./Jpeg"), exports);
|
260
261
|
__exportStar(require("./LabLocationMetadata"), exports);
|
261
262
|
__exportStar(require("./LabResultsMetadata"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.272";
|
package/version.js
CHANGED