@oystehr/sdk 4.2.3 → 4.2.5
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/cjs/index.min.cjs +1 -1
- package/dist/cjs/index.min.cjs.map +1 -1
- package/dist/cjs/resources/classes/erx.cjs +16 -0
- package/dist/cjs/resources/classes/erx.cjs.map +1 -1
- package/dist/cjs/resources/classes/erx.d.ts +19 -1
- package/dist/cjs/resources/classes/fhir-ext.cjs +9 -2
- package/dist/cjs/resources/classes/fhir-ext.cjs.map +1 -1
- package/dist/cjs/resources/classes/fhir-ext.d.ts +1 -0
- package/dist/cjs/resources/types/ErxAddPatientPharmacyParams.d.ts +11 -0
- package/dist/cjs/resources/types/ErxSearchPharmaciesParams.d.ts +10 -0
- package/dist/cjs/resources/types/ErxSearchPharmaciesResponse.d.ts +26 -0
- package/dist/cjs/resources/types/LabRoute.d.ts +52 -0
- package/dist/cjs/resources/types/LabRouteCreateParams.d.ts +4 -0
- package/dist/cjs/resources/types/LabRouteGetResponse.d.ts +2 -18
- package/dist/cjs/resources/types/LabRouteListResponse.d.ts +2 -14
- package/dist/cjs/resources/types/ZambdaCreateParams.d.ts +1 -1
- package/dist/cjs/resources/types/ZambdaUpdateParams.d.ts +1 -1
- package/dist/cjs/resources/types/fhir.d.ts +2 -0
- package/dist/cjs/resources/types/index.d.ts +4 -0
- package/dist/esm/index.min.js +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/dist/esm/resources/classes/erx.d.ts +19 -1
- package/dist/esm/resources/classes/erx.js +16 -0
- package/dist/esm/resources/classes/erx.js.map +1 -1
- package/dist/esm/resources/classes/fhir-ext.d.ts +1 -0
- package/dist/esm/resources/classes/fhir-ext.js +9 -2
- package/dist/esm/resources/classes/fhir-ext.js.map +1 -1
- package/dist/esm/resources/types/ErxAddPatientPharmacyParams.d.ts +11 -0
- package/dist/esm/resources/types/ErxSearchPharmaciesParams.d.ts +10 -0
- package/dist/esm/resources/types/ErxSearchPharmaciesResponse.d.ts +26 -0
- package/dist/esm/resources/types/LabRoute.d.ts +52 -0
- package/dist/esm/resources/types/LabRouteCreateParams.d.ts +4 -0
- package/dist/esm/resources/types/LabRouteGetResponse.d.ts +2 -18
- package/dist/esm/resources/types/LabRouteListResponse.d.ts +2 -14
- package/dist/esm/resources/types/ZambdaCreateParams.d.ts +1 -1
- package/dist/esm/resources/types/ZambdaUpdateParams.d.ts +1 -1
- package/dist/esm/resources/types/fhir.d.ts +2 -0
- package/dist/esm/resources/types/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/resources/classes/erx.ts +37 -0
- package/src/resources/classes/fhir-ext.ts +23 -2
- package/src/resources/types/ErxAddPatientPharmacyParams.ts +13 -0
- package/src/resources/types/ErxSearchPharmaciesParams.ts +12 -0
- package/src/resources/types/ErxSearchPharmaciesResponse.ts +28 -0
- package/src/resources/types/LabRoute.ts +54 -0
- package/src/resources/types/LabRouteCreateParams.ts +4 -0
- package/src/resources/types/LabRouteGetResponse.ts +2 -18
- package/src/resources/types/LabRouteListResponse.ts +2 -14
- package/src/resources/types/ZambdaCreateParams.ts +1 -1
- package/src/resources/types/ZambdaUpdateParams.ts +1 -1
- package/src/resources/types/fhir.ts +2 -0
- package/src/resources/types/index.ts +4 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
export interface LabRoute {
|
|
4
|
+
/**
|
|
5
|
+
* Unique identifier of the created Route.
|
|
6
|
+
*/
|
|
7
|
+
routeGuid: string;
|
|
8
|
+
/**
|
|
9
|
+
* Provided by the lab, indicates a financial relationship between the lab and the customer.
|
|
10
|
+
*/
|
|
11
|
+
accountNumber: string;
|
|
12
|
+
/**
|
|
13
|
+
* Unique identifier of a lab. Searchable via orderable item Search
|
|
14
|
+
*/
|
|
15
|
+
labGuid: string;
|
|
16
|
+
/**
|
|
17
|
+
* Name of lab
|
|
18
|
+
*/
|
|
19
|
+
labName?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Name of the Primary (Practice or Provider depending on the Route). Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
|
|
22
|
+
*/
|
|
23
|
+
primaryName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Address of the Primary. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
|
|
26
|
+
*/
|
|
27
|
+
primaryAddress?: {
|
|
28
|
+
address1: string;
|
|
29
|
+
address2?: string;
|
|
30
|
+
city: string;
|
|
31
|
+
stateProvinceCode: string;
|
|
32
|
+
postalCode: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Primary phone number of the Primary.
|
|
36
|
+
*/
|
|
37
|
+
primaryPhone?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Site ID for the Primary
|
|
40
|
+
*/
|
|
41
|
+
clientSiteId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* String representing accepted End User License Agreement Version. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
|
|
44
|
+
*/
|
|
45
|
+
eulaVersion?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Full name of the person who accepted the End User License Agreement. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
|
|
48
|
+
*/
|
|
49
|
+
eulaAccepterFullName?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Date and time (in UTC) when the End User License Agreement was accepted. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
|
|
52
|
+
*/
|
|
53
|
+
eulaAcceptanceDateTimeUtc?: string | null;
|
|
54
|
+
}
|
|
@@ -24,6 +24,10 @@ export interface LabRouteCreateParams {
|
|
|
24
24
|
stateProvinceCode: string;
|
|
25
25
|
postalCode: string;
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* Primary phone number of the Primary.
|
|
29
|
+
*/
|
|
30
|
+
primaryPhone?: string;
|
|
27
31
|
/**
|
|
28
32
|
* String representing accepted End User License Agreement Version. Required for certain labs. See [Create Route](https://docs.oystehr.com/oystehr/services/lab/onboarding-a-lab/#create-route) for more details.
|
|
29
33
|
*/
|
|
@@ -1,23 +1,7 @@
|
|
|
1
1
|
// AUTOGENERATED -- DO NOT EDIT
|
|
2
2
|
|
|
3
|
+
import { LabRoute } from './LabRoute';
|
|
3
4
|
/**
|
|
4
5
|
* Information about a specific route.
|
|
5
6
|
*/
|
|
6
|
-
export
|
|
7
|
-
/**
|
|
8
|
-
* Unique identifier of the created Route.
|
|
9
|
-
*/
|
|
10
|
-
routeGuid: string;
|
|
11
|
-
/**
|
|
12
|
-
* Unique identifier of a lab. Searchable via orderable item Search
|
|
13
|
-
*/
|
|
14
|
-
labGuid: string;
|
|
15
|
-
/**
|
|
16
|
-
* Name of lab
|
|
17
|
-
*/
|
|
18
|
-
labName: string;
|
|
19
|
-
/**
|
|
20
|
-
* Provided by the lab, indicates a financial relationship between the lab and the customer.
|
|
21
|
-
*/
|
|
22
|
-
accountNumber: string;
|
|
23
|
-
}
|
|
7
|
+
export type LabRouteGetResponse = LabRoute;
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
// AUTOGENERATED -- DO NOT EDIT
|
|
2
2
|
|
|
3
|
+
import { LabRoute } from './LabRoute';
|
|
3
4
|
/**
|
|
4
5
|
* List of Routes associated with the calling projectId.
|
|
5
6
|
*/
|
|
6
|
-
export type LabRouteListResponse =
|
|
7
|
-
/**
|
|
8
|
-
* Unique identifier of the created Route.
|
|
9
|
-
*/
|
|
10
|
-
routeGuid: string;
|
|
11
|
-
/**
|
|
12
|
-
* Unique identifier of a lab. Searchable via orderable item Search
|
|
13
|
-
*/
|
|
14
|
-
labGuid: string;
|
|
15
|
-
/**
|
|
16
|
-
* Provided by the lab, indicates a financial relationship between the lab and the customer.
|
|
17
|
-
*/
|
|
18
|
-
accountNumber: string;
|
|
19
|
-
}[];
|
|
7
|
+
export type LabRouteListResponse = LabRoute[];
|
|
@@ -15,7 +15,7 @@ export interface ZambdaCreateParams {
|
|
|
15
15
|
/**
|
|
16
16
|
* The runtime to use for the Zambda Function.
|
|
17
17
|
*/
|
|
18
|
-
runtime: 'nodejs20.x' | 'nodejs22.x' | 'python3.13' | 'python3.12' | 'java21' | '
|
|
18
|
+
runtime: 'nodejs20.x' | 'nodejs22.x' | 'python3.13' | 'python3.12' | 'java21' | 'dotnet8' | 'ruby3.3';
|
|
19
19
|
/**
|
|
20
20
|
* The amount of memory in MB to allocate to the Zambda Function. If not specified, a system default (1024MB) will be used. Min: 128MB, Max: 10240MB.
|
|
21
21
|
*/
|
|
@@ -15,7 +15,7 @@ export interface ZambdaUpdateParams {
|
|
|
15
15
|
/**
|
|
16
16
|
* The runtime to use for the Zambda Function.
|
|
17
17
|
*/
|
|
18
|
-
runtime?: 'nodejs20.x' | 'nodejs22.x' | 'python3.13' | 'python3.12' | 'java21' | '
|
|
18
|
+
runtime?: 'nodejs20.x' | 'nodejs22.x' | 'python3.13' | 'python3.12' | 'java21' | 'dotnet8' | 'ruby3.3';
|
|
19
19
|
/**
|
|
20
20
|
* The amount of memory in MB to allocate to the Zambda Function. If not specified, a system default (1024MB) will be used. Min: 128MB, Max: 10240MB.
|
|
21
21
|
*/
|
|
@@ -68,6 +68,8 @@ export interface FhirDeleteParams<T extends FhirResource> {
|
|
|
68
68
|
export interface FhirHistorySearchParams<T extends FhirResource> {
|
|
69
69
|
resourceType: T['resourceType'];
|
|
70
70
|
id: string;
|
|
71
|
+
count?: number;
|
|
72
|
+
offset?: number;
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
export interface FhirHistoryGetParams<T extends FhirResource> {
|
|
@@ -160,6 +160,7 @@ export * from './FaxOnboardResponse';
|
|
|
160
160
|
export * from './FaxGetConfigurationResponse';
|
|
161
161
|
export * from './FaxSendParams';
|
|
162
162
|
export * from './FaxSendResponse';
|
|
163
|
+
export * from './LabRoute';
|
|
163
164
|
export * from './LabRouteListResponse';
|
|
164
165
|
export * from './LabRouteCreateParams';
|
|
165
166
|
export * from './LabRouteCreateResponse';
|
|
@@ -183,8 +184,11 @@ export * from './ErxCheckMedicationInteractionsParams';
|
|
|
183
184
|
export * from './ErxCheckMedicationInteractionsResponse';
|
|
184
185
|
export * from './ErxCheckPrecheckInteractionsParams';
|
|
185
186
|
export * from './ErxCheckPrecheckInteractionsResponse';
|
|
187
|
+
export * from './ErxAddPatientPharmacyParams';
|
|
186
188
|
export * from './ErxCancelPrescriptionParams';
|
|
187
189
|
export * from './ErxSyncPatientParams';
|
|
190
|
+
export * from './ErxSearchPharmaciesParams';
|
|
191
|
+
export * from './ErxSearchPharmaciesResponse';
|
|
188
192
|
export * from './ErxConnectPractitionerParams';
|
|
189
193
|
export * from './ErxConnectPractitionerResponse';
|
|
190
194
|
export * from './ErxCheckPractitionerEnrollmentParams';
|