@metriport/api-sdk 18.14.1-alpha.0 → 18.14.2-alpha.0
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/dist/scratch-embed-token.d.ts +10 -0
- package/dist/scratch-embed-token.d.ts.map +1 -0
- package/dist/scratch-embed-token.js +87 -0
- package/dist/scratch-embed-token.js.map +1 -0
- package/package.json +3 -3
- package/dist/src/devices/client/metriport.d.ts +0 -181
- package/dist/src/devices/client/metriport.d.ts.map +0 -1
- package/dist/src/devices/client/metriport.js +0 -263
- package/dist/src/devices/client/metriport.js.map +0 -1
- package/dist/src/devices/client/models/get-connect-token-response.d.ts +0 -4
- package/dist/src/devices/client/models/get-connect-token-response.d.ts.map +0 -1
- package/dist/src/devices/client/models/get-connect-token-response.js +0 -3
- package/dist/src/devices/client/models/get-connect-token-response.js.map +0 -1
- package/dist/src/devices/client/models/get-connected-users-response.d.ts +0 -5
- package/dist/src/devices/client/models/get-connected-users-response.d.ts.map +0 -1
- package/dist/src/devices/client/models/get-connected-users-response.js +0 -3
- package/dist/src/devices/client/models/get-connected-users-response.js.map +0 -1
- package/dist/src/devices/client/models/get-metriport-user-id-response.d.ts +0 -4
- package/dist/src/devices/client/models/get-metriport-user-id-response.d.ts.map +0 -1
- package/dist/src/devices/client/models/get-metriport-user-id-response.js +0 -3
- package/dist/src/devices/client/models/get-metriport-user-id-response.js.map +0 -1
- package/dist/src/devices/client/models/settings-response.d.ts +0 -6
- package/dist/src/devices/client/models/settings-response.d.ts.map +0 -1
- package/dist/src/devices/client/models/settings-response.js +0 -3
- package/dist/src/devices/client/models/settings-response.js.map +0 -1
- package/dist/src/devices/client/models/webhook-status-response.d.ts +0 -7
- package/dist/src/devices/client/models/webhook-status-response.d.ts.map +0 -1
- package/dist/src/devices/client/models/webhook-status-response.js +0 -3
- package/dist/src/devices/client/models/webhook-status-response.js.map +0 -1
- package/dist/src/devices/client/util/date-util.d.ts +0 -2
- package/dist/src/devices/client/util/date-util.d.ts.map +0 -1
- package/dist/src/devices/client/util/date-util.js +0 -16
- package/dist/src/devices/client/util/date-util.js.map +0 -1
- package/dist/src/devices/client/util/timezone-util.d.ts +0 -2
- package/dist/src/devices/client/util/timezone-util.d.ts.map +0 -1
- package/dist/src/devices/client/util/timezone-util.js +0 -20
- package/dist/src/devices/client/util/timezone-util.js.map +0 -1
- package/dist/src/devices/models/activity.d.ts +0 -22
- package/dist/src/devices/models/activity.d.ts.map +0 -1
- package/dist/src/devices/models/activity.js +0 -3
- package/dist/src/devices/models/activity.js.map +0 -1
- package/dist/src/devices/models/biometrics.d.ts +0 -17
- package/dist/src/devices/models/biometrics.d.ts.map +0 -1
- package/dist/src/devices/models/biometrics.js +0 -3
- package/dist/src/devices/models/biometrics.js.map +0 -1
- package/dist/src/devices/models/body.d.ts +0 -13
- package/dist/src/devices/models/body.d.ts.map +0 -1
- package/dist/src/devices/models/body.js +0 -3
- package/dist/src/devices/models/body.js.map +0 -1
- package/dist/src/devices/models/common/activity-durations.d.ts +0 -19
- package/dist/src/devices/models/common/activity-durations.d.ts.map +0 -1
- package/dist/src/devices/models/common/activity-durations.js +0 -3
- package/dist/src/devices/models/common/activity-durations.js.map +0 -1
- package/dist/src/devices/models/common/activity-log.d.ts +0 -32
- package/dist/src/devices/models/common/activity-log.d.ts.map +0 -1
- package/dist/src/devices/models/common/activity-log.js +0 -3
- package/dist/src/devices/models/common/activity-log.js.map +0 -1
- package/dist/src/devices/models/common/activity-movement.d.ts +0 -16
- package/dist/src/devices/models/common/activity-movement.d.ts.map +0 -1
- package/dist/src/devices/models/common/activity-movement.js +0 -3
- package/dist/src/devices/models/common/activity-movement.js.map +0 -1
- package/dist/src/devices/models/common/aminos.d.ts +0 -23
- package/dist/src/devices/models/common/aminos.d.ts.map +0 -1
- package/dist/src/devices/models/common/aminos.js +0 -3
- package/dist/src/devices/models/common/aminos.js.map +0 -1
- package/dist/src/devices/models/common/blood-glucose.d.ts +0 -6
- package/dist/src/devices/models/common/blood-glucose.d.ts.map +0 -1
- package/dist/src/devices/models/common/blood-glucose.js +0 -3
- package/dist/src/devices/models/common/blood-glucose.js.map +0 -1
- package/dist/src/devices/models/common/blood-pressure.d.ts +0 -10
- package/dist/src/devices/models/common/blood-pressure.d.ts.map +0 -1
- package/dist/src/devices/models/common/blood-pressure.js +0 -3
- package/dist/src/devices/models/common/blood-pressure.js.map +0 -1
- package/dist/src/devices/models/common/connected-user-info.d.ts +0 -6
- package/dist/src/devices/models/common/connected-user-info.d.ts.map +0 -1
- package/dist/src/devices/models/common/connected-user-info.js +0 -3
- package/dist/src/devices/models/common/connected-user-info.js.map +0 -1
- package/dist/src/devices/models/common/energy-expenditure.d.ts +0 -7
- package/dist/src/devices/models/common/energy-expenditure.d.ts.map +0 -1
- package/dist/src/devices/models/common/energy-expenditure.js +0 -3
- package/dist/src/devices/models/common/energy-expenditure.js.map +0 -1
- package/dist/src/devices/models/common/food.d.ts +0 -15
- package/dist/src/devices/models/common/food.d.ts.map +0 -1
- package/dist/src/devices/models/common/food.js +0 -3
- package/dist/src/devices/models/common/food.js.map +0 -1
- package/dist/src/devices/models/common/heart-rate-variability.d.ts +0 -12
- package/dist/src/devices/models/common/heart-rate-variability.d.ts.map +0 -1
- package/dist/src/devices/models/common/heart-rate-variability.js +0 -3
- package/dist/src/devices/models/common/heart-rate-variability.js.map +0 -1
- package/dist/src/devices/models/common/heart-rate.d.ts +0 -9
- package/dist/src/devices/models/common/heart-rate.d.ts.map +0 -1
- package/dist/src/devices/models/common/heart-rate.js +0 -3
- package/dist/src/devices/models/common/heart-rate.js.map +0 -1
- package/dist/src/devices/models/common/lat-lon.d.ts +0 -5
- package/dist/src/devices/models/common/lat-lon.d.ts.map +0 -1
- package/dist/src/devices/models/common/lat-lon.js +0 -3
- package/dist/src/devices/models/common/lat-lon.js.map +0 -1
- package/dist/src/devices/models/common/macros.d.ts +0 -14
- package/dist/src/devices/models/common/macros.d.ts.map +0 -1
- package/dist/src/devices/models/common/macros.js +0 -3
- package/dist/src/devices/models/common/macros.js.map +0 -1
- package/dist/src/devices/models/common/metadata.d.ts +0 -10
- package/dist/src/devices/models/common/metadata.d.ts.map +0 -1
- package/dist/src/devices/models/common/metadata.js +0 -3
- package/dist/src/devices/models/common/metadata.js.map +0 -1
- package/dist/src/devices/models/common/micros.d.ts +0 -28
- package/dist/src/devices/models/common/micros.d.ts.map +0 -1
- package/dist/src/devices/models/common/micros.js +0 -3
- package/dist/src/devices/models/common/micros.js.map +0 -1
- package/dist/src/devices/models/common/provider-source.d.ts +0 -13
- package/dist/src/devices/models/common/provider-source.d.ts.map +0 -1
- package/dist/src/devices/models/common/provider-source.js +0 -17
- package/dist/src/devices/models/common/provider-source.js.map +0 -1
- package/dist/src/devices/models/common/respiration.d.ts +0 -18
- package/dist/src/devices/models/common/respiration.d.ts.map +0 -1
- package/dist/src/devices/models/common/respiration.js +0 -3
- package/dist/src/devices/models/common/respiration.js.map +0 -1
- package/dist/src/devices/models/common/sample.d.ts +0 -8
- package/dist/src/devices/models/common/sample.d.ts.map +0 -1
- package/dist/src/devices/models/common/sample.js +0 -3
- package/dist/src/devices/models/common/sample.js.map +0 -1
- package/dist/src/devices/models/common/sex.d.ts +0 -2
- package/dist/src/devices/models/common/sex.d.ts.map +0 -1
- package/dist/src/devices/models/common/sex.js +0 -3
- package/dist/src/devices/models/common/sex.js.map +0 -1
- package/dist/src/devices/models/common/source-info.d.ts +0 -8
- package/dist/src/devices/models/common/source-info.d.ts.map +0 -1
- package/dist/src/devices/models/common/source-info.js +0 -3
- package/dist/src/devices/models/common/source-info.js.map +0 -1
- package/dist/src/devices/models/common/source-type.d.ts +0 -5
- package/dist/src/devices/models/common/source-type.d.ts.map +0 -1
- package/dist/src/devices/models/common/source-type.js +0 -9
- package/dist/src/devices/models/common/source-type.js.map +0 -1
- package/dist/src/devices/models/common/temperature.d.ts +0 -13
- package/dist/src/devices/models/common/temperature.d.ts.map +0 -1
- package/dist/src/devices/models/common/temperature.js +0 -3
- package/dist/src/devices/models/common/temperature.js.map +0 -1
- package/dist/src/devices/models/metriport-data.d.ts +0 -5
- package/dist/src/devices/models/metriport-data.d.ts.map +0 -1
- package/dist/src/devices/models/metriport-data.js +0 -3
- package/dist/src/devices/models/metriport-data.js.map +0 -1
- package/dist/src/devices/models/nutrition.d.ts +0 -14
- package/dist/src/devices/models/nutrition.d.ts.map +0 -1
- package/dist/src/devices/models/nutrition.js +0 -3
- package/dist/src/devices/models/nutrition.js.map +0 -1
- package/dist/src/devices/models/sleep.d.ts +0 -29
- package/dist/src/devices/models/sleep.d.ts.map +0 -1
- package/dist/src/devices/models/sleep.js +0 -3
- package/dist/src/devices/models/sleep.js.map +0 -1
- package/dist/src/devices/models/user.d.ts +0 -14
- package/dist/src/devices/models/user.d.ts.map +0 -1
- package/dist/src/devices/models/user.js +0 -3
- package/dist/src/devices/models/user.js.map +0 -1
- package/dist/src/index.d.ts +0 -30
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -76
- package/dist/src/index.js.map +0 -1
- package/dist/src/medical/client/metriport.d.ts +0 -598
- package/dist/src/medical/client/metriport.d.ts.map +0 -1
- package/dist/src/medical/client/metriport.js +0 -956
- package/dist/src/medical/client/metriport.js.map +0 -1
- package/dist/src/medical/models/common/address.d.ts +0 -158
- package/dist/src/medical/models/common/address.d.ts.map +0 -1
- package/dist/src/medical/models/common/address.js +0 -29
- package/dist/src/medical/models/common/address.js.map +0 -1
- package/dist/src/medical/models/common/base-update.d.ts +0 -16
- package/dist/src/medical/models/common/base-update.d.ts.map +0 -1
- package/dist/src/medical/models/common/base-update.js +0 -13
- package/dist/src/medical/models/common/base-update.js.map +0 -1
- package/dist/src/medical/models/common/medical-data-source.d.ts +0 -5
- package/dist/src/medical/models/common/medical-data-source.d.ts.map +0 -1
- package/dist/src/medical/models/common/medical-data-source.js +0 -9
- package/dist/src/medical/models/common/medical-data-source.js.map +0 -1
- package/dist/src/medical/models/common/us-data.d.ts +0 -111
- package/dist/src/medical/models/common/us-data.d.ts.map +0 -1
- package/dist/src/medical/models/common/us-data.js +0 -12
- package/dist/src/medical/models/common/us-data.js.map +0 -1
- package/dist/src/medical/models/demographics.d.ts +0 -903
- package/dist/src/medical/models/demographics.d.ts.map +0 -1
- package/dist/src/medical/models/demographics.js +0 -60
- package/dist/src/medical/models/demographics.js.map +0 -1
- package/dist/src/medical/models/document.d.ts +0 -290
- package/dist/src/medical/models/document.d.ts.map +0 -1
- package/dist/src/medical/models/document.js +0 -45
- package/dist/src/medical/models/document.js.map +0 -1
- package/dist/src/medical/models/embed-token.d.ts +0 -7
- package/dist/src/medical/models/embed-token.d.ts.map +0 -1
- package/dist/src/medical/models/embed-token.js +0 -3
- package/dist/src/medical/models/embed-token.js.map +0 -1
- package/dist/src/medical/models/facility.d.ts +0 -458
- package/dist/src/medical/models/facility.d.ts.map +0 -1
- package/dist/src/medical/models/facility.js +0 -22
- package/dist/src/medical/models/facility.js.map +0 -1
- package/dist/src/medical/models/fhir.d.ts +0 -109
- package/dist/src/medical/models/fhir.d.ts.map +0 -1
- package/dist/src/medical/models/fhir.js +0 -33
- package/dist/src/medical/models/fhir.js.map +0 -1
- package/dist/src/medical/models/medicalRecordStatus.d.ts +0 -5
- package/dist/src/medical/models/medicalRecordStatus.d.ts.map +0 -1
- package/dist/src/medical/models/medicalRecordStatus.js +0 -3
- package/dist/src/medical/models/medicalRecordStatus.js.map +0 -1
- package/dist/src/medical/models/network-entry.d.ts +0 -11
- package/dist/src/medical/models/network-entry.d.ts.map +0 -1
- package/dist/src/medical/models/network-entry.js +0 -3
- package/dist/src/medical/models/network-entry.js.map +0 -1
- package/dist/src/medical/models/organization.d.ts +0 -269
- package/dist/src/medical/models/organization.d.ts.map +0 -1
- package/dist/src/medical/models/organization.js +0 -20
- package/dist/src/medical/models/organization.js.map +0 -1
- package/dist/src/medical/models/patient.d.ts +0 -2406
- package/dist/src/medical/models/patient.d.ts.map +0 -1
- package/dist/src/medical/models/patient.js +0 -25
- package/dist/src/medical/models/patient.js.map +0 -1
- package/dist/src/medical/models/patientDTO.d.ts +0 -56
- package/dist/src/medical/models/patientDTO.d.ts.map +0 -1
- package/dist/src/medical/models/patientDTO.js +0 -3
- package/dist/src/medical/models/patientDTO.js.map +0 -1
- package/dist/src/medical/models/settings-response.d.ts +0 -6
- package/dist/src/medical/models/settings-response.d.ts.map +0 -1
- package/dist/src/medical/models/settings-response.js +0 -3
- package/dist/src/medical/models/settings-response.js.map +0 -1
- package/dist/src/shared.d.ts +0 -7
- package/dist/src/shared.d.ts.map +0 -1
- package/dist/src/shared.js +0 -19
- package/dist/src/shared.js.map +0 -1
|
@@ -1,598 +0,0 @@
|
|
|
1
|
-
import { Bundle, DocumentReference as FHIRDocumentReference, Resource } from "@medplum/fhirtypes";
|
|
2
|
-
import { CohortUpdateRequestWithoutSettings, CohortWithSizeResponseWithoutOverrides, PaginatedResponse } from "@metriport/shared";
|
|
3
|
-
import { WebhookRequest, WebhookRequestParsingFailure, WebhookStatusResponse } from "@metriport/shared/medical";
|
|
4
|
-
import { AxiosInstance, AxiosStatic } from "axios";
|
|
5
|
-
import { Demographics } from "../models/demographics";
|
|
6
|
-
import { BulkGetDocumentUrlQuery, DocumentQuery, DocumentReference, ListDocumentFilters, ListDocumentResult, UploadDocumentResult } from "../models/document";
|
|
7
|
-
import { Facility, FacilityCreate } from "../models/facility";
|
|
8
|
-
import { ConsolidatedCountResponse, ResourceTypeForConsolidation } from "../models/fhir";
|
|
9
|
-
import { NetworkEntry } from "../models/network-entry";
|
|
10
|
-
import { GetNetworkQueryStatusRequest, NetworkQueryStatusDtoParsed, StartNetworkQueryRequest } from "@metriport/shared/domain/network-query";
|
|
11
|
-
import { Organization, OrganizationCreate } from "../models/organization";
|
|
12
|
-
import { GetConsolidatedQueryProgressResponse, GetSingleConsolidatedQueryProgressResponse, MedicalRecordUrlResponse, PatientCreate, PatientHieOptOutResponse, PatientUpdate, StartConsolidatedQueryProgressResponse } from "../models/patient";
|
|
13
|
-
import { PatientDTO } from "../models/patientDTO";
|
|
14
|
-
import { SettingsResponse } from "../models/settings-response";
|
|
15
|
-
import { CreateEmbedTokenRequest, CreateEmbedTokenResponse } from "../models/embed-token";
|
|
16
|
-
export type Options = {
|
|
17
|
-
axios?: AxiosStatic;
|
|
18
|
-
timeout?: number;
|
|
19
|
-
additionalHeaders?: Record<string, string>;
|
|
20
|
-
mode?: "api-key" | "jwt";
|
|
21
|
-
} & ({
|
|
22
|
-
sandbox?: boolean;
|
|
23
|
-
baseAddress?: never;
|
|
24
|
-
} | {
|
|
25
|
-
sandbox?: never;
|
|
26
|
-
baseAddress?: string;
|
|
27
|
-
});
|
|
28
|
-
/**
|
|
29
|
-
* Pagination options. Either fromItem or toItem can be provided, but not both.
|
|
30
|
-
* - fromItem: The ID of the first item to be returned.
|
|
31
|
-
* - toItem: The ID of the last item to be returned.
|
|
32
|
-
* - count: The number of items to be returned - defaults to 50, max is 500.
|
|
33
|
-
*/
|
|
34
|
-
export type Pagination = {
|
|
35
|
-
fromItem?: string;
|
|
36
|
-
toItem?: string;
|
|
37
|
-
count?: number;
|
|
38
|
-
};
|
|
39
|
-
export declare class MetriportMedicalApi {
|
|
40
|
-
readonly api: AxiosInstance;
|
|
41
|
-
private _lastRequestId;
|
|
42
|
-
private optionsForSettingsEndpoints;
|
|
43
|
-
static readonly headers: {
|
|
44
|
-
clientApp: string;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Creates a new instance of the Metriport Medical API client.
|
|
48
|
-
*
|
|
49
|
-
* @param apiKey Your Metriport API key.
|
|
50
|
-
* @param options - Optional parameters
|
|
51
|
-
* @param options.additionalHeaders - HTTP headers to be used in all requests.
|
|
52
|
-
* @param options.axios - Axios instance, default, useful when the dependency is not being imported
|
|
53
|
-
* properly by NPM.
|
|
54
|
-
* @param options.sandbox - Indicates whether to connect to the sandbox, default false.
|
|
55
|
-
* @param options.timeout - Connection timeout in milliseconds, default 20 seconds.
|
|
56
|
-
*/
|
|
57
|
-
constructor(apiKey: string, options?: Options);
|
|
58
|
-
/**
|
|
59
|
-
* The ID from the last request made to the API.
|
|
60
|
-
*/
|
|
61
|
-
get lastRequestId(): string | undefined;
|
|
62
|
-
/**
|
|
63
|
-
* Gets the settings for your account.
|
|
64
|
-
*
|
|
65
|
-
* @returns Your account settings.
|
|
66
|
-
*/
|
|
67
|
-
getSettings(): Promise<SettingsResponse>;
|
|
68
|
-
/**
|
|
69
|
-
* Update the settings for your account.
|
|
70
|
-
*
|
|
71
|
-
* @returns Your updated account settings.
|
|
72
|
-
*/
|
|
73
|
-
updateSettings(webhookUrl: string): Promise<SettingsResponse>;
|
|
74
|
-
/**
|
|
75
|
-
* Gets the status of communication with your app's webhook.
|
|
76
|
-
*
|
|
77
|
-
* @returns The status of communication with your app's webhook.
|
|
78
|
-
*/
|
|
79
|
-
getWebhookStatus(): Promise<WebhookStatusResponse>;
|
|
80
|
-
/**
|
|
81
|
-
* Retries failed webhook requests.
|
|
82
|
-
*
|
|
83
|
-
* @returns void
|
|
84
|
-
*/
|
|
85
|
-
retryWebhookRequests(): Promise<void>;
|
|
86
|
-
/**
|
|
87
|
-
* Creates a new organization if one does not already exist.
|
|
88
|
-
*
|
|
89
|
-
* @param data The data to be used to create a new organization.
|
|
90
|
-
* @throws Error (400) if an organization already exists for the customer.
|
|
91
|
-
* @returns The created organization.
|
|
92
|
-
*/
|
|
93
|
-
createOrganization(data: OrganizationCreate): Promise<Organization>;
|
|
94
|
-
/**
|
|
95
|
-
* Updates an organization.
|
|
96
|
-
*
|
|
97
|
-
* @param organization The organization data to be updated.
|
|
98
|
-
* @return The updated organization.
|
|
99
|
-
*/
|
|
100
|
-
updateOrganization(organization: Organization): Promise<Organization>;
|
|
101
|
-
/**
|
|
102
|
-
* Retrieve an organization representing this account.
|
|
103
|
-
*
|
|
104
|
-
* @returns The organization, or undefined if no organization has been created.
|
|
105
|
-
*/
|
|
106
|
-
getOrganization(): Promise<Organization | undefined>;
|
|
107
|
-
/**
|
|
108
|
-
* Creates a new facility.
|
|
109
|
-
*
|
|
110
|
-
* @param data The data to be used to create a new facility.
|
|
111
|
-
* @return The newly created facility.
|
|
112
|
-
*/
|
|
113
|
-
createFacility(data: FacilityCreate): Promise<Facility>;
|
|
114
|
-
/**
|
|
115
|
-
* Returns a facility.
|
|
116
|
-
*
|
|
117
|
-
* @param id The ID of the facility to be returned.
|
|
118
|
-
* @return The facilities.
|
|
119
|
-
*/
|
|
120
|
-
getFacility(id: string): Promise<Facility>;
|
|
121
|
-
/**
|
|
122
|
-
* Updates a facility.
|
|
123
|
-
*
|
|
124
|
-
* @param facility The facility data to be updated.
|
|
125
|
-
* @return The updated facility.
|
|
126
|
-
*/
|
|
127
|
-
updateFacility(facility: Facility): Promise<Facility>;
|
|
128
|
-
/**
|
|
129
|
-
* Returns the facilities associated with this account.
|
|
130
|
-
*
|
|
131
|
-
* @return The list of facilities.
|
|
132
|
-
*/
|
|
133
|
-
listFacilities(): Promise<Facility[]>;
|
|
134
|
-
/**
|
|
135
|
-
* Deletes a facility. It will fail if the facility has patients associated with it.
|
|
136
|
-
*
|
|
137
|
-
* @param facilityId The ID of facility to be deleted.
|
|
138
|
-
*/
|
|
139
|
-
deleteFacility(facilityId: string, eTag?: string): Promise<void>;
|
|
140
|
-
/**
|
|
141
|
-
* Returns the network entries supported by Metriport.
|
|
142
|
-
*
|
|
143
|
-
* @param filter Full text search filters, optional. If not provided, all network entries will be returned
|
|
144
|
-
* (according to pagination settings).
|
|
145
|
-
* See https://docs.metriport.com/medical-api/more-info/filters
|
|
146
|
-
* @param pagination Pagination settings, optional. If not provided, we paginate with a default page size of 100 items, and the first page will be returned.
|
|
147
|
-
* See https://docs.metriport.com/medical-api/more-info/pagination
|
|
148
|
-
* @returns An object containing:
|
|
149
|
-
* - `networkEntries` - The network entries in the current page.
|
|
150
|
-
* - `meta` - Pagination information, including how to get to the next page.
|
|
151
|
-
*/
|
|
152
|
-
listNetworkEntries({ filter, pagination, }?: {
|
|
153
|
-
filter?: string | undefined;
|
|
154
|
-
pagination?: Pagination | undefined;
|
|
155
|
-
}): Promise<PaginatedResponse<NetworkEntry, "networkEntries">>;
|
|
156
|
-
listNetworkEntriesPage(url: string): Promise<PaginatedResponse<NetworkEntry, "networkEntries">>;
|
|
157
|
-
/**
|
|
158
|
-
* Starts a network query for the specified patient across available health data networks.
|
|
159
|
-
* This triggers an asynchronous query against various kinds of health data sources including
|
|
160
|
-
* HIEs, pharmacies, and laboratories.
|
|
161
|
-
*
|
|
162
|
-
* As data from each source is processed and merged into the patient's consolidated data,
|
|
163
|
-
* `network-query.*` webhook events are emitted.
|
|
164
|
-
*
|
|
165
|
-
* Note: This endpoint returns a 2XX status code even when one or more data sources fail
|
|
166
|
-
* to start. Source-level failures are reported in the `errors` array of the response body.
|
|
167
|
-
*
|
|
168
|
-
* @param request.patientId The ID of the patient for which to query health data.
|
|
169
|
-
* @param request.sources An array of data sources to query. Must contain at least one value.
|
|
170
|
-
* Possible values: "hie", "pharmacy", "lab".
|
|
171
|
-
* @param request.metadata Optional custom metadata to include with the request.
|
|
172
|
-
* This will be returned in webhook payloads.
|
|
173
|
-
* @returns The network query status including requestId, status, sources, and any errors.
|
|
174
|
-
*/
|
|
175
|
-
startNetworkQuery(request: StartNetworkQueryRequest): Promise<NetworkQueryStatusDtoParsed>;
|
|
176
|
-
/**
|
|
177
|
-
* Returns the status of a specific network query request.
|
|
178
|
-
* Use this to check the progress of the query.
|
|
179
|
-
*
|
|
180
|
-
* @param request.requestId The ID of the network query request.
|
|
181
|
-
* This is returned when you start a network query.
|
|
182
|
-
* @returns The network query status including requestId, status, sources, and any errors.
|
|
183
|
-
*/
|
|
184
|
-
getNetworkQueryStatus(request: GetNetworkQueryStatusRequest): Promise<NetworkQueryStatusDtoParsed>;
|
|
185
|
-
/**
|
|
186
|
-
* Creates a new patient at Metriport and HIEs.
|
|
187
|
-
*
|
|
188
|
-
* @param data The data to be used to create a new patient.
|
|
189
|
-
* @param facilityId The facility providing the NPI to support this operation.
|
|
190
|
-
* @param additionalQueryParams Optional, additional query parameters to be sent with the request.
|
|
191
|
-
* @return The newly created patient.
|
|
192
|
-
*/
|
|
193
|
-
createPatient(data: PatientCreate, facilityId: string, additionalQueryParams?: Record<string, string | number | boolean>): Promise<PatientDTO>;
|
|
194
|
-
/**
|
|
195
|
-
* Returns a patient.
|
|
196
|
-
*
|
|
197
|
-
* @param id The ID of the patient to be returned.
|
|
198
|
-
* @return The patient.
|
|
199
|
-
*/
|
|
200
|
-
getPatient(id: string): Promise<PatientDTO>;
|
|
201
|
-
/**
|
|
202
|
-
* Returns a patient based on external ID.
|
|
203
|
-
*
|
|
204
|
-
* @param externalId The external ID of the patient to be returned.
|
|
205
|
-
* @param source The source of the external ID, if required.
|
|
206
|
-
* @return The patient.
|
|
207
|
-
*/
|
|
208
|
-
getPatientByExternalId(externalId: string, source?: string): Promise<PatientDTO | undefined>;
|
|
209
|
-
/**
|
|
210
|
-
* Searches for a patient previously created at Metriport, based on demographics.
|
|
211
|
-
*
|
|
212
|
-
* @return The patient if found.
|
|
213
|
-
*/
|
|
214
|
-
matchPatient(data: Demographics): Promise<PatientDTO | undefined>;
|
|
215
|
-
/**
|
|
216
|
-
* Maps a Metriport patient to a patient in an external EHR system and synchronizes their data.
|
|
217
|
-
*
|
|
218
|
-
* @param patientId The ID of the patient to map.
|
|
219
|
-
* @param source The source name that represents the external system/EHR, either healthie or elation. Optional.
|
|
220
|
-
* @return The Metriport patient ID and the mapping patient (external) ID.
|
|
221
|
-
* @throws error if the patient has no external ID to attempt mapping.
|
|
222
|
-
* @throws error if the mapping source is not supported.
|
|
223
|
-
* @throws error if no mapping is found.
|
|
224
|
-
* @throws error if patient demographics are not matching.
|
|
225
|
-
*/
|
|
226
|
-
syncPatient(patientId: string, source?: string): Promise<{
|
|
227
|
-
patientId: string;
|
|
228
|
-
externalId: string;
|
|
229
|
-
}>;
|
|
230
|
-
/**
|
|
231
|
-
* Updates a patient at Metriport and at HIEs the patient is linked to.
|
|
232
|
-
*
|
|
233
|
-
* @param patient The patient data to be updated.
|
|
234
|
-
* @param facilityId Optional. The facility providing the NPI to support this operation. If not provided and the patient has only one facility, that one will be used. If not provided and the patient has multiple facilities, an error will be thrown.
|
|
235
|
-
* @param additionalQueryParams Optional, additional query parameters to be sent with the request.
|
|
236
|
-
* @return The updated patient.
|
|
237
|
-
*/
|
|
238
|
-
updatePatient(patient: PatientUpdate, facilityId: string, additionalQueryParams?: Record<string, string | number | boolean>): Promise<PatientDTO>;
|
|
239
|
-
/**
|
|
240
|
-
* Updates a patient's HIE opt-out status.
|
|
241
|
-
*
|
|
242
|
-
* @param patientId The ID of the patient whose opt-out status should be updated
|
|
243
|
-
* @param hieOptOut Boolean indicating whether to opt the patient out (true) or in (false)
|
|
244
|
-
* @returns The updated opt-out status
|
|
245
|
-
*/
|
|
246
|
-
updatePatientHieOptOut(patientId: string, hieOptOut: boolean): Promise<PatientHieOptOutResponse>;
|
|
247
|
-
/**
|
|
248
|
-
* Sets the facilities associated with a patient. This operation overrides any existing
|
|
249
|
-
* facility associations and replaces them with the provided list.
|
|
250
|
-
*
|
|
251
|
-
* @param patientId The ID of the patient to set facilities for.
|
|
252
|
-
* @param facilityIds The array of facility IDs to associate with the patient. This will replace all existing associations.
|
|
253
|
-
* @returns The updated facilities associated with the patient.
|
|
254
|
-
*/
|
|
255
|
-
setPatientFacilities(patientId: string, facilityIds: string[]): Promise<Facility[]>;
|
|
256
|
-
/**
|
|
257
|
-
* Gets all facilities associated with a patient.
|
|
258
|
-
*
|
|
259
|
-
* @param patientId The ID of the patient whose facilities are to be returned.
|
|
260
|
-
* @returns Array of facilities associated with the patient.
|
|
261
|
-
*/
|
|
262
|
-
getPatientFacilities(patientId: string): Promise<Facility[]>;
|
|
263
|
-
/** ---------------------------------------------------------------------------
|
|
264
|
-
* Returns a patient's consolidated data.
|
|
265
|
-
* @deprecated Use startConsolidatedQuery() and getConsolidatedQueryStatus() instead.
|
|
266
|
-
*
|
|
267
|
-
* Note if only patientId is provided the endpoint may take long to respond as its
|
|
268
|
-
* fetching all the resources for the patient.
|
|
269
|
-
*
|
|
270
|
-
* @param patientId The ID of the patient whose data is to be returned.
|
|
271
|
-
* @param resources Optional array of resources to be returned.
|
|
272
|
-
* @param dateFrom Optional start date that resources will be filtered by (inclusive). Format is YYYY-MM-DD.
|
|
273
|
-
* @param dateTo Optional end date that resources will be filtered by (inclusive). Format is YYYY-MM-DD.
|
|
274
|
-
* @param fromDashboard Optional parameter to indicate that the request is coming from the dashboard.
|
|
275
|
-
* @return Patient's consolidated data.
|
|
276
|
-
*/
|
|
277
|
-
getPatientConsolidated(patientId: string, resources?: string[], dateFrom?: string, dateTo?: string, fromDashboard?: boolean): Promise<Bundle<Resource>>;
|
|
278
|
-
/** ---------------------------------------------------------------------------
|
|
279
|
-
* Start a query for the patient's consolidated data (FHIR resources).
|
|
280
|
-
* The results are sent through Webhook (see https://docs.metriport.com/medical-api/more-info/webhooks).
|
|
281
|
-
* Only one query per given patient can be executed at a time.
|
|
282
|
-
*
|
|
283
|
-
* @param patientId The ID of the patient whose data is to be returned.
|
|
284
|
-
* @param resources Optional array of resources to be returned (defaults to all resource types).
|
|
285
|
-
* @param dateFrom Optional start date that resources will be filtered by (inclusive). Format is YYYY-MM-DD.
|
|
286
|
-
* @param dateTo Optional end date that resources will be filtered by (inclusive). Format is YYYY-MM-DD.
|
|
287
|
-
* @param conversionType Optional to indicate how the medical record should be rendered - one of:
|
|
288
|
-
* "pdf", "html", or "json" (defaults to "json"). The Webhook payload
|
|
289
|
-
* will contain a signed URL to download the file, which is active for 10 minutes.
|
|
290
|
-
* @param fromDashboard Optional parameter to indicate that the request is coming from the dashboard.
|
|
291
|
-
* @param metadata Optional metadata to be sent along the webhook request as response of this query.
|
|
292
|
-
* @return The consolidated data query status.
|
|
293
|
-
*/
|
|
294
|
-
startConsolidatedQuery(patientId: string, resources?: readonly ResourceTypeForConsolidation[], dateFrom?: string, dateTo?: string, conversionType?: string, fromDashboard?: boolean, metadata?: Record<string, string>): Promise<StartConsolidatedQueryProgressResponse>;
|
|
295
|
-
/** ---------------------------------------------------------------------------
|
|
296
|
-
* Get the consolidated data query status for a given patient.
|
|
297
|
-
* The results to the query are sent through Webhook (see
|
|
298
|
-
* startConsolidatedQuery() and https://docs.metriport.com/medical-api/more-info/webhooks).
|
|
299
|
-
*
|
|
300
|
-
* @param patientId The ID of the patient whose data is to be returned.
|
|
301
|
-
* @return The consolidated data query status.
|
|
302
|
-
*/
|
|
303
|
-
getConsolidatedQueryStatus(patientId: string): Promise<GetConsolidatedQueryProgressResponse>;
|
|
304
|
-
/** ---------------------------------------------------------------------------
|
|
305
|
-
* Get the consolidated data query status for a given patient and requestId.
|
|
306
|
-
* The results to the query are sent through Webhook (see
|
|
307
|
-
* startConsolidatedQuery() and https://docs.metriport.com/medical-api/more-info/webhooks).
|
|
308
|
-
*
|
|
309
|
-
* @param patientId The ID of the patient whose data is to be returned.
|
|
310
|
-
* @param requestId The ID of the request to get the status of.
|
|
311
|
-
* @return The single consolidated data query status.
|
|
312
|
-
*/
|
|
313
|
-
getSingleConsolidatedQueryStatus(patientId: string, requestId: string): Promise<GetSingleConsolidatedQueryProgressResponse>;
|
|
314
|
-
/** ---------------------------------------------------------------------------
|
|
315
|
-
* Add patient data as FHIR resources. Those can later be queried with startConsolidatedQuery(),
|
|
316
|
-
* and will be made available to HIEs.
|
|
317
|
-
*
|
|
318
|
-
* Note: each call to this function is limited to 1Mb of data (and 50 resources when in sandbox).
|
|
319
|
-
* You can make multiple calls to this function to add more data.
|
|
320
|
-
*
|
|
321
|
-
* @param patientId The ID of the patient to associate resources to.
|
|
322
|
-
* @param payload The FHIR Bundle to create resources.
|
|
323
|
-
* @return FHIR Bundle with operation outcome.
|
|
324
|
-
*/
|
|
325
|
-
createPatientConsolidated(patientId: string, payload: Bundle): Promise<Bundle<Resource>>;
|
|
326
|
-
/** ---------------------------------------------------------------------------
|
|
327
|
-
* Returns the amount of resources available for a given patient, per resource type.
|
|
328
|
-
*
|
|
329
|
-
* @param patientId The ID of the patient whose data is to be returned.
|
|
330
|
-
* @param resources Optional array of resources to be considered.
|
|
331
|
-
* @param dateFrom Optional start date that resources will be filtered by (inclusive). Format is YYYY-MM-DD.
|
|
332
|
-
* @param dateTo Optional end date that resources will be filtered by (inclusive). Format is YYYY-MM-DD.
|
|
333
|
-
* @return the amount of resources available per resource type for the given Patient.
|
|
334
|
-
*/
|
|
335
|
-
countPatientConsolidated(patientId: string, resources?: readonly ResourceTypeForConsolidation[], dateFrom?: string, dateTo?: string): Promise<ConsolidatedCountResponse>;
|
|
336
|
-
/**
|
|
337
|
-
* Returns the medical record summary for a given patient.
|
|
338
|
-
*
|
|
339
|
-
* @param patientId The ID of the patient whose medical record summary is to be returned.
|
|
340
|
-
* @param conversionType The format of the medical record summary to be returned. Accepts "html" or "pdf".
|
|
341
|
-
* @return The medical record summary for the given patient.
|
|
342
|
-
*/
|
|
343
|
-
getPatientMedicalRecord(patientId: string, conversionType: "html" | "pdf"): Promise<MedicalRecordUrlResponse>;
|
|
344
|
-
/**
|
|
345
|
-
* Removes a patient at Metriport and at HIEs the patient is linked to.
|
|
346
|
-
*
|
|
347
|
-
* @param patientId The ID of the patient to be deleted.
|
|
348
|
-
* @param facilityId The facility providing the NPI to support this operation.
|
|
349
|
-
*/
|
|
350
|
-
deletePatient(patientId: string, facilityId: string, eTag?: string): Promise<void>;
|
|
351
|
-
/**
|
|
352
|
-
* Returns the patients associated with given facility.
|
|
353
|
-
*
|
|
354
|
-
* @param facilityId The ID of the facility, optional. If not provided, patients from all facilities
|
|
355
|
-
* will be returned.
|
|
356
|
-
* @param filters Full text search filters, optional. If not provided, all patients will be returned
|
|
357
|
-
* (according to pagination settings).
|
|
358
|
-
* See https://docs.metriport.com/medical-api/more-info/filters
|
|
359
|
-
* @param pagination Pagination settings, optional. If not provided, the first page will be returned.
|
|
360
|
-
* See https://docs.metriport.com/medical-api/more-info/pagination
|
|
361
|
-
* @returns An object containing:
|
|
362
|
-
* - `patients` - A single page containing the patients corresponding to the given facility.
|
|
363
|
-
* - `meta` - Pagination information, including how to get to the next page.
|
|
364
|
-
*/
|
|
365
|
-
listPatients({ facilityId, filters, pagination, }?: {
|
|
366
|
-
facilityId?: string | undefined;
|
|
367
|
-
filters?: string | undefined;
|
|
368
|
-
pagination?: Pagination | undefined;
|
|
369
|
-
}): Promise<PaginatedResponse<PatientDTO, "patients">>;
|
|
370
|
-
listPatientsPage(url: string): Promise<PaginatedResponse<PatientDTO, "patients">>;
|
|
371
|
-
/**
|
|
372
|
-
* Deletes an existing cohort.
|
|
373
|
-
* @param id The ID of the cohort to delete.
|
|
374
|
-
*/
|
|
375
|
-
deleteCohort(id: string): Promise<void>;
|
|
376
|
-
/**
|
|
377
|
-
* Update an existing cohort. This does a partial update of payload contents excluding settings.
|
|
378
|
-
* Please contact us if you need to update cohort settings.
|
|
379
|
-
* @param cohort The properties of the cohort to update, including the id.
|
|
380
|
-
* @returns The updated cohort.
|
|
381
|
-
*/
|
|
382
|
-
updateCohort(cohort: CohortUpdateRequestWithoutSettings & {
|
|
383
|
-
id: string;
|
|
384
|
-
}): Promise<CohortWithSizeResponseWithoutOverrides>;
|
|
385
|
-
/**
|
|
386
|
-
* Returns the cohort with the given ID.
|
|
387
|
-
* @param id The ID of the cohort to return.
|
|
388
|
-
* @returns The specified cohort.
|
|
389
|
-
*/
|
|
390
|
-
getCohort(id: string): Promise<CohortWithSizeResponseWithoutOverrides>;
|
|
391
|
-
/**
|
|
392
|
-
* Returns all available cohorts.
|
|
393
|
-
* @returns All available cohorts.
|
|
394
|
-
*/
|
|
395
|
-
listCohorts(): Promise<{
|
|
396
|
-
cohorts: CohortWithSizeResponseWithoutOverrides[];
|
|
397
|
-
}>;
|
|
398
|
-
/**
|
|
399
|
-
* Add patients to a cohort.
|
|
400
|
-
* @param cohortId The ID of the cohort to add patients to.
|
|
401
|
-
* @param patientIds The IDs of the patients to add to the cohort.
|
|
402
|
-
* @param allPatients Property to confirm you want to assign all patients to the cohort.
|
|
403
|
-
* @returns The updated cohort with a message.
|
|
404
|
-
*/
|
|
405
|
-
addPatientsToCohort({ cohortId, patientIds, allPatients, }: {
|
|
406
|
-
cohortId: string;
|
|
407
|
-
patientIds?: string[];
|
|
408
|
-
allPatients?: boolean;
|
|
409
|
-
}): Promise<{
|
|
410
|
-
message: string;
|
|
411
|
-
cohort: CohortWithSizeResponseWithoutOverrides;
|
|
412
|
-
}>;
|
|
413
|
-
/**
|
|
414
|
-
* Remove patients from a cohort.
|
|
415
|
-
* @param cohortId The ID of the cohort to remove patients from.
|
|
416
|
-
* @param patientIds The IDs of the patients to remove from the cohort.
|
|
417
|
-
* @param allPatients Property to confirm you want to remove all patients from the cohort.
|
|
418
|
-
* @returns The updated cohort with a message.
|
|
419
|
-
*/
|
|
420
|
-
removePatientsFromCohort({ cohortId, patientIds, allPatients, }: {
|
|
421
|
-
cohortId: string;
|
|
422
|
-
patientIds?: string[];
|
|
423
|
-
allPatients?: boolean;
|
|
424
|
-
}): Promise<{
|
|
425
|
-
message: string;
|
|
426
|
-
cohort: CohortWithSizeResponseWithoutOverrides;
|
|
427
|
-
}>;
|
|
428
|
-
/**
|
|
429
|
-
* Lists patients in a cohort.
|
|
430
|
-
* @param id The ID of the cohort to list patients from.
|
|
431
|
-
* @param pagination Pagination settings, optional. If not provided, the first page will be returned.
|
|
432
|
-
* See https://docs.metriport.com/medical-api/more-info/pagination
|
|
433
|
-
* @returns An object containing:
|
|
434
|
-
* - `patients` - A single page containing the patients in the cohort.
|
|
435
|
-
* - `meta` - Pagination information, including how to get to the next page.
|
|
436
|
-
*/
|
|
437
|
-
listPatientsInCohort({ id, pagination, }: {
|
|
438
|
-
id: string;
|
|
439
|
-
pagination?: Pagination | undefined;
|
|
440
|
-
}): Promise<PaginatedResponse<PatientDTO, "patients">>;
|
|
441
|
-
getCohortPatientsPage(url: string): Promise<PaginatedResponse<PatientDTO, "patients">>;
|
|
442
|
-
/**
|
|
443
|
-
* Add a patient to multiple cohorts.
|
|
444
|
-
* @param patientId The ID of the patient to add to cohorts.
|
|
445
|
-
* @param cohortIds The IDs of the cohorts to add the patient to.
|
|
446
|
-
* @returns The list of cohorts the patient is a member of.
|
|
447
|
-
*/
|
|
448
|
-
addPatientToCohorts(patientId: string, cohortIds: string[]): Promise<{
|
|
449
|
-
cohorts: CohortWithSizeResponseWithoutOverrides[];
|
|
450
|
-
}>;
|
|
451
|
-
/**
|
|
452
|
-
* Returns all cohorts assigned to a patient.
|
|
453
|
-
* @param id The ID of the patient.
|
|
454
|
-
* @returns The list of cohorts assigned to the patient.
|
|
455
|
-
*/
|
|
456
|
-
listCohortsForPatient(id: string): Promise<{
|
|
457
|
-
cohorts: CohortWithSizeResponseWithoutOverrides[];
|
|
458
|
-
}>;
|
|
459
|
-
/**
|
|
460
|
-
* Returns document references for the given patient across HIEs.
|
|
461
|
-
*
|
|
462
|
-
* @param patientId Patient ID for which to retrieve document metadata.
|
|
463
|
-
* @param filters.dateFrom Optional start date that docs will be filtered by (inclusive).
|
|
464
|
-
* If the type is Date, its assumed UTC. If the type is string, its assumed to be ISO 8601 (Date only).
|
|
465
|
-
* @param filters.dateTo Optional end date that docs will be filtered by (inclusive).
|
|
466
|
-
* If the type is Date, its assumed UTC. If the type is string, its assumed to be ISO 8601 (Date only).
|
|
467
|
-
* @param filters.content Optional value to search on the document reference
|
|
468
|
-
* (partial match and case insentitive, minimum 3 chars).
|
|
469
|
-
* @return The list of document references.
|
|
470
|
-
*/
|
|
471
|
-
listDocuments(patientId: string, { dateFrom, dateTo, content }?: ListDocumentFilters): Promise<ListDocumentResult>;
|
|
472
|
-
/**
|
|
473
|
-
* @deprecated Use listDocuments() instead.
|
|
474
|
-
*
|
|
475
|
-
* Returns document references for the given patient across HIEs, in the DTO format.
|
|
476
|
-
*
|
|
477
|
-
* @param patientId Patient ID for which to retrieve document metadata.
|
|
478
|
-
* @param filters.dateFrom Optional start date that docs will be filtered by (inclusive).
|
|
479
|
-
* If the type is Date, its assumed UTC. If the type is string, its assumed to be ISO 8601 (Date only).
|
|
480
|
-
* @param filters.dateTo Optional end date that docs will be filtered by (inclusive).
|
|
481
|
-
* If the type is Date, its assumed UTC. If the type is string, its assumed to be ISO 8601 (Date only).
|
|
482
|
-
* @param filters.content Optional value to search on the document reference
|
|
483
|
-
* (partial match and case insentitive, minimum 3 chars).
|
|
484
|
-
* @return The list of document references.
|
|
485
|
-
*/
|
|
486
|
-
listDocumentsAsDTO(patientId: string, { dateFrom, dateTo, content }?: ListDocumentFilters): Promise<DocumentReference[]>;
|
|
487
|
-
/**
|
|
488
|
-
* Start a document query for the given patient across HIEs.
|
|
489
|
-
*
|
|
490
|
-
* @param patientId Patient ID for which to retrieve document metadata.
|
|
491
|
-
* @param facilityId The facility providing the NPI to support this operation (optional).
|
|
492
|
-
* If not provided and the patient has only one facility, that one will be used.
|
|
493
|
-
* If not provided and the patient has multiple facilities, an error will be thrown.
|
|
494
|
-
* @param metadata Optional metadata to be sent along the webhook request as response of this query.
|
|
495
|
-
* @return The document query request ID, progress & status indicating whether its being executed or not.
|
|
496
|
-
*/
|
|
497
|
-
startDocumentQuery(patientId: string, facilityId?: string, metadata?: Record<string, string>): Promise<DocumentQuery>;
|
|
498
|
-
/**
|
|
499
|
-
* Start a bulk document download for a given patient, with the payload returned to the webhook.
|
|
500
|
-
*
|
|
501
|
-
* @param patientId Patient ID for which to retrieve document URLs.
|
|
502
|
-
* @param metadata Optional metadata to be sent along the webhook request as response of this query.
|
|
503
|
-
* @return The document query request ID, progress, and status indicating whether it's being executed or not.
|
|
504
|
-
*/
|
|
505
|
-
startBulkGetDocumentUrl(patientId: string, metadata?: Record<string, string>): Promise<BulkGetDocumentUrlQuery>;
|
|
506
|
-
/**
|
|
507
|
-
* Returns the document query status for the specified patient.
|
|
508
|
-
*
|
|
509
|
-
* @param patientId Patient ID for which to retrieve document query status.
|
|
510
|
-
* @return The document query request ID, progress & status indicating whether its being executed or not.
|
|
511
|
-
*/
|
|
512
|
-
getDocumentQueryStatus(patientId: string): Promise<DocumentQuery>;
|
|
513
|
-
/**
|
|
514
|
-
* Returns a URL that can be used to download the document.
|
|
515
|
-
*
|
|
516
|
-
* @param req.query.fileName The file name of the document in s3.
|
|
517
|
-
* @param req.query.conversionType The doc type to convert to. Valid values are "html" and "pdf".
|
|
518
|
-
* @return presigned url
|
|
519
|
-
*/
|
|
520
|
-
getDocumentUrl(fileName: string, conversionType?: "html" | "pdf" | "hl7"): Promise<{
|
|
521
|
-
url: string;
|
|
522
|
-
}>;
|
|
523
|
-
/**
|
|
524
|
-
* @deprecated - Use createDocumentReference() instead.
|
|
525
|
-
* Returns a URL to upload a file to Metriport and make the document available to other HIEs.
|
|
526
|
-
* To upload your file contents, execute a PUT request using this URL with the file contents as the request body.
|
|
527
|
-
* Refer to Metriport documentation for more details:
|
|
528
|
-
* https://docs.metriport.com/medical-api/api-reference/document/post-upload-url
|
|
529
|
-
*
|
|
530
|
-
* @param patientId - the ID of the patient.
|
|
531
|
-
* @param docRef - a FHIR Document Reference for this file upload. Mandatory fields include DocumentReference.description, DocumentReference.type, and DocumentReference.context. Besides that, try to include as much metadata on the document as possible. Note that you DO NOT need to fill in the Organization or Patient fields under the author or contained fields - Metriport will fill this in and overwrite whatever you put in.
|
|
532
|
-
* Refer to Metriport's documentation for more details: https://docs.metriport.com/medical-api/fhir/resources/documentreference.
|
|
533
|
-
*
|
|
534
|
-
* @returns A URL string to be used for subsequent file upload.
|
|
535
|
-
*/
|
|
536
|
-
getDocumentUploadUrl(patientId: string, docRef: Partial<FHIRDocumentReference>): Promise<string>;
|
|
537
|
-
/**
|
|
538
|
-
* Creates a DocumentReference and returns its ID along with a URL to upload the respective Document file to Metriport and make this document available to other HIEs.
|
|
539
|
-
* To upload your file contents, execute a PUT request using the returned uploadUrl with the file contents as the request body.
|
|
540
|
-
* Refer to Metriport Documentation for more details:
|
|
541
|
-
* https://docs.metriport.com/medical-api/api-reference/document/post-upload-url
|
|
542
|
-
*
|
|
543
|
-
* @param patientId - the ID of the patient.
|
|
544
|
-
* @param docRef - a FHIR Document Reference for this file upload. Mandatory fields include DocumentReference.description, DocumentReference.type, and DocumentReference.context. Besides that, try to include as much metadata on the document as possible. Note that you DO NOT need to fill in the Organization or Patient fields under the author or contained fields - Metriport will fill this in and overwrite whatever you put in.
|
|
545
|
-
* Refer to Metriport's documentation for more details: https://docs.metriport.com/medical-api/fhir/resources/documentreference.
|
|
546
|
-
*
|
|
547
|
-
* @returns The DocumentReference ID, and the URL to be used for subsequent file upload.
|
|
548
|
-
*/
|
|
549
|
-
createDocumentReference(patientId: string, docRef: Partial<FHIRDocumentReference>): Promise<UploadDocumentResult>;
|
|
550
|
-
/**
|
|
551
|
-
* Verifies the signature of a webhook request.
|
|
552
|
-
* Refer to Metriport's documentation for more details: https://docs.metriport.com/medical-api/more-info/webhooks.
|
|
553
|
-
*
|
|
554
|
-
* @param key - your webhook key.
|
|
555
|
-
* @param body - the raw body of the webhook request, as string or Buffer.
|
|
556
|
-
* @param signature - the signature obtained from the webhook request header.
|
|
557
|
-
* @returns True if the signature is verified, false otherwise.
|
|
558
|
-
* @throws Error if the body is not a string.
|
|
559
|
-
*/
|
|
560
|
-
verifyWebhookSignature(key: string, body: string | Buffer, signature: string): boolean;
|
|
561
|
-
/**
|
|
562
|
-
* Verifies the signature of a webhook request.
|
|
563
|
-
* Refer to Metriport's documentation for more details: https://docs.metriport.com/medical-api/more-info/webhooks.
|
|
564
|
-
*
|
|
565
|
-
* @param key - your webhook key.
|
|
566
|
-
* @param body - the raw body of the webhook request, as string or Buffer.
|
|
567
|
-
* @param signature - the signature obtained from the webhook request header.
|
|
568
|
-
* @returns True if the signature is verified, false otherwise.
|
|
569
|
-
* @throws Error if the body is not a string.
|
|
570
|
-
*/
|
|
571
|
-
static verifyWebhookSignature(key: string, body: string | Buffer, signature: string): boolean;
|
|
572
|
-
/**
|
|
573
|
-
* Parses a webhook request received from the Metriport API and return an object of type
|
|
574
|
-
* 'WebhookRequest'.
|
|
575
|
-
* Note: currently, the type of the 'bundle' property is 'any', but it can be safely casted to
|
|
576
|
-
* FHIR's 'Bundle<Resource> | undefined'.
|
|
577
|
-
*
|
|
578
|
-
* @param requestBody The request body received from the Metriport API.
|
|
579
|
-
* @param throwOnError Whether to throw an Error if the request body is not a valid webhook request.
|
|
580
|
-
* Optional, defaults to true.
|
|
581
|
-
* @returns The webhook request - instance of WebhookRequest, or an instance of
|
|
582
|
-
* WebhookRequestParsingError if the payload is invalid and throwOnError is 'false'.
|
|
583
|
-
* @throws Error if the request body is not a valid webhook request and throwOnError is 'true'.
|
|
584
|
-
* Details can be obtained from the error object under the 'cause' property (instance
|
|
585
|
-
* of ZodError).
|
|
586
|
-
*/
|
|
587
|
-
static parseWebhookResponse(requestBody: unknown, throwOnError: false): WebhookRequest | WebhookRequestParsingFailure;
|
|
588
|
-
static parseWebhookResponse(reqBody: unknown, throwOnError: true): WebhookRequest;
|
|
589
|
-
static parseWebhookResponse(reqBody: unknown): WebhookRequest;
|
|
590
|
-
/**
|
|
591
|
-
* Creates an access token for embedding Metriport components in your application.
|
|
592
|
-
*
|
|
593
|
-
* @param data.expirationInSeconds - Optional expiration time in seconds (max 36000, default 36000).
|
|
594
|
-
* @returns The generated access token.
|
|
595
|
-
*/
|
|
596
|
-
createEmbedToken(data: CreateEmbedTokenRequest): Promise<CreateEmbedTokenResponse>;
|
|
597
|
-
}
|
|
598
|
-
//# sourceMappingURL=metriport.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metriport.d.ts","sourceRoot":"","sources":["../../../../src/medical/client/metriport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAClG,OAAO,EACL,kCAAkC,EAClC,sCAAsC,EACtC,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,4BA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