@oystehr/sdk 4.2.4 → 4.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.min.cjs +1 -1
- package/dist/cjs/index.min.cjs.map +1 -1
- package/dist/cjs/resources/classes/erx.cjs +24 -0
- package/dist/cjs/resources/classes/erx.cjs.map +1 -1
- package/dist/cjs/resources/classes/erx.d.ts +31 -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/ErxGetMedicationParams.d.ts +5 -0
- package/dist/cjs/resources/types/ErxGetMedicationResponse.d.ts +39 -0
- package/dist/cjs/resources/types/ErxSearchPharmaciesParams.d.ts +11 -0
- package/dist/cjs/resources/types/ErxSearchPharmaciesResponse.d.ts +26 -0
- package/dist/cjs/resources/types/LabRoute.d.ts +1 -1
- 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 +5 -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 +31 -1
- package/dist/esm/resources/classes/erx.js +24 -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/ErxGetMedicationParams.d.ts +5 -0
- package/dist/esm/resources/types/ErxGetMedicationResponse.d.ts +39 -0
- package/dist/esm/resources/types/ErxSearchPharmaciesParams.d.ts +11 -0
- package/dist/esm/resources/types/ErxSearchPharmaciesResponse.d.ts +26 -0
- package/dist/esm/resources/types/LabRoute.d.ts +1 -1
- 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 +5 -0
- package/package.json +1 -1
- package/src/resources/classes/erx.ts +62 -0
- package/src/resources/classes/fhir-ext.ts +23 -2
- package/src/resources/types/ErxAddPatientPharmacyParams.ts +13 -0
- package/src/resources/types/ErxGetMedicationParams.ts +7 -0
- package/src/resources/types/ErxGetMedicationResponse.ts +41 -0
- package/src/resources/types/ErxSearchPharmaciesParams.ts +13 -0
- package/src/resources/types/ErxSearchPharmaciesResponse.ts +28 -0
- package/src/resources/types/LabRoute.ts +1 -1
- 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 +5 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Medication
|
|
5
|
+
*/
|
|
6
|
+
export interface ErxGetMedicationResponse {
|
|
7
|
+
/**
|
|
8
|
+
* The Medi-Span identifier for the medication.
|
|
9
|
+
*/
|
|
10
|
+
id: number;
|
|
11
|
+
/**
|
|
12
|
+
* RxNorm Concept Unique (RxCUI) identifier of medication.
|
|
13
|
+
*/
|
|
14
|
+
ndc?: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* RxNorm Concept Unique (RxCUI) identifier of medication.
|
|
17
|
+
*/
|
|
18
|
+
rxcui?: number | null;
|
|
19
|
+
/**
|
|
20
|
+
* Human readable name of medication.
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
* Alternative human readable name of medication.
|
|
25
|
+
*/
|
|
26
|
+
displayName?: string;
|
|
27
|
+
route?: string;
|
|
28
|
+
doseForm?: string;
|
|
29
|
+
strength?: string;
|
|
30
|
+
dispenseUnit?: string;
|
|
31
|
+
isBrandName: boolean;
|
|
32
|
+
genericName?: string | null;
|
|
33
|
+
isOtc: boolean;
|
|
34
|
+
classification?: string;
|
|
35
|
+
schedule?: number;
|
|
36
|
+
stateSchedules?: {
|
|
37
|
+
name: string;
|
|
38
|
+
schedule?: number;
|
|
39
|
+
}[];
|
|
40
|
+
isObsolete: boolean;
|
|
41
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
export interface ErxSearchPharmaciesParams {
|
|
4
|
+
name?: string;
|
|
5
|
+
address?: string;
|
|
6
|
+
city?: string;
|
|
7
|
+
state?: string;
|
|
8
|
+
zipCode?: string;
|
|
9
|
+
phoneOrFax?: string;
|
|
10
|
+
specialty?: string;
|
|
11
|
+
ncpdpId?: string;
|
|
12
|
+
pageNumber?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// AUTOGENERATED -- DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Success
|
|
5
|
+
*/
|
|
6
|
+
export interface ErxSearchPharmaciesResponse {
|
|
7
|
+
data: {
|
|
8
|
+
id: number;
|
|
9
|
+
name: string;
|
|
10
|
+
address1: string;
|
|
11
|
+
address2?: string;
|
|
12
|
+
city: string;
|
|
13
|
+
state: string;
|
|
14
|
+
zipCode: string;
|
|
15
|
+
phone: string;
|
|
16
|
+
fax?: string;
|
|
17
|
+
specialties: string[];
|
|
18
|
+
ncpdpId: string;
|
|
19
|
+
}[];
|
|
20
|
+
metadata: {
|
|
21
|
+
hasPrevious: boolean;
|
|
22
|
+
hasNext: boolean;
|
|
23
|
+
total: number;
|
|
24
|
+
currentPage: number;
|
|
25
|
+
totalPages: number;
|
|
26
|
+
pageSize: number;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
@@ -50,5 +50,5 @@ export interface LabRoute {
|
|
|
50
50
|
/**
|
|
51
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
52
|
*/
|
|
53
|
-
eulaAcceptanceDateTimeUtc?: string;
|
|
53
|
+
eulaAcceptanceDateTimeUtc?: string | null;
|
|
54
54
|
}
|
|
@@ -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> {
|
|
@@ -177,6 +177,8 @@ export * from './ErxSearchAllergensParams';
|
|
|
177
177
|
export * from './ErxSearchAllergensResponse';
|
|
178
178
|
export * from './ErxSearchMedicationsParams';
|
|
179
179
|
export * from './ErxSearchMedicationsResponse';
|
|
180
|
+
export * from './ErxGetMedicationParams';
|
|
181
|
+
export * from './ErxGetMedicationResponse';
|
|
180
182
|
export * from './ErxGetConfigurationResponse';
|
|
181
183
|
export * from './ErxCheckAllergyInteractionsParams';
|
|
182
184
|
export * from './ErxCheckAllergyInteractionsResponse';
|
|
@@ -184,8 +186,11 @@ export * from './ErxCheckMedicationInteractionsParams';
|
|
|
184
186
|
export * from './ErxCheckMedicationInteractionsResponse';
|
|
185
187
|
export * from './ErxCheckPrecheckInteractionsParams';
|
|
186
188
|
export * from './ErxCheckPrecheckInteractionsResponse';
|
|
189
|
+
export * from './ErxAddPatientPharmacyParams';
|
|
187
190
|
export * from './ErxCancelPrescriptionParams';
|
|
188
191
|
export * from './ErxSyncPatientParams';
|
|
192
|
+
export * from './ErxSearchPharmaciesParams';
|
|
193
|
+
export * from './ErxSearchPharmaciesResponse';
|
|
189
194
|
export * from './ErxConnectPractitionerParams';
|
|
190
195
|
export * from './ErxConnectPractitionerResponse';
|
|
191
196
|
export * from './ErxCheckPractitionerEnrollmentParams';
|