@natch-the-storage/heathershaw-platform-types 1.10.19 → 1.10.21
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/build/validators.d.ts +11 -5
- package/build/validators.js +1 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -237,14 +237,14 @@ export type PartnerPharmacyProfileSummary = Pick<PartnerPharmacyProfile, 'id' |
|
|
|
237
237
|
};
|
|
238
238
|
export interface PatientRecord {
|
|
239
239
|
id: number;
|
|
240
|
-
partnerPharmacyProfileId?: number
|
|
241
|
-
directUserProfileId?: number
|
|
242
|
-
compoundDirectId?: number
|
|
243
|
-
userId?: string
|
|
240
|
+
partnerPharmacyProfileId?: number;
|
|
241
|
+
directUserProfileId?: number;
|
|
242
|
+
compoundDirectId?: number;
|
|
243
|
+
userId?: string;
|
|
244
244
|
firstName: string;
|
|
245
245
|
lastName: string;
|
|
246
246
|
dateOfBirth: string;
|
|
247
|
-
medicareNumber?: string
|
|
247
|
+
medicareNumber?: string;
|
|
248
248
|
email: string;
|
|
249
249
|
phone: string;
|
|
250
250
|
addresses?: Address[];
|
|
@@ -549,6 +549,8 @@ export interface CDScript {
|
|
|
549
549
|
scriptInfo: {
|
|
550
550
|
patient: {
|
|
551
551
|
customerId: number;
|
|
552
|
+
firstName: string;
|
|
553
|
+
lastName: string;
|
|
552
554
|
};
|
|
553
555
|
instructions: string;
|
|
554
556
|
expiryDate: string;
|
|
@@ -560,8 +562,11 @@ export interface CDScript {
|
|
|
560
562
|
};
|
|
561
563
|
};
|
|
562
564
|
formulation: {
|
|
565
|
+
formulationId: number;
|
|
566
|
+
unit: string;
|
|
563
567
|
properties: CDScriptProperties[];
|
|
564
568
|
ingredients: CDScriptIngredients[];
|
|
569
|
+
pricing: CDScriptPriceOption[];
|
|
565
570
|
};
|
|
566
571
|
itemCount: number;
|
|
567
572
|
}
|
|
@@ -656,6 +661,7 @@ export declare const ApiRoutes: {
|
|
|
656
661
|
createCustomer: string;
|
|
657
662
|
getDraftScripts: string;
|
|
658
663
|
getDraftScriptById: (id: number) => string;
|
|
664
|
+
getHouseholdDraftScripts: string;
|
|
659
665
|
listFormulations: string;
|
|
660
666
|
getFormulationById: (id: number) => string;
|
|
661
667
|
};
|
package/build/validators.js
CHANGED
|
@@ -121,6 +121,7 @@ export const ApiRoutes = {
|
|
|
121
121
|
createCustomer: '/api/compound-direct/customer',
|
|
122
122
|
getDraftScripts: '/api/compound-direct/draft-scripts',
|
|
123
123
|
getDraftScriptById: (id) => `/api/compound-direct/draft-scripts/${id}`,
|
|
124
|
+
getHouseholdDraftScripts: '/api/compound-direct/scripts/households',
|
|
124
125
|
listFormulations: '/api/compound-direct/formulations',
|
|
125
126
|
getFormulationById: (id) => `/api/compound-direct/formulations/${id}`,
|
|
126
127
|
},
|