@natch-the-storage/heathershaw-platform-types 1.19.17 → 1.19.19
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 +5 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -317,6 +317,7 @@ export interface ChargeOrder {
|
|
|
317
317
|
customerIp?: string;
|
|
318
318
|
orderUpdate?: Omit<OrderUpdate, 'id' | 'directUserProfileId' | 'partnerPharmacyProfileId' | 'patientRecordId'>;
|
|
319
319
|
patientRecordUpdate?: Omit<PatientRecordUpdate, 'id'>;
|
|
320
|
+
isStaff?: boolean;
|
|
320
321
|
}
|
|
321
322
|
export interface PaperScriptReminder {
|
|
322
323
|
id: number;
|
|
@@ -692,6 +693,7 @@ export interface CDScriptList {
|
|
|
692
693
|
routeOfAdministration: string;
|
|
693
694
|
dosageFormName: string;
|
|
694
695
|
datePrescribed: string;
|
|
696
|
+
/** The expiry date of the SCRIPT/PRESCRIPTION, not the medicine */
|
|
695
697
|
expiryDate: string;
|
|
696
698
|
isExpired: boolean;
|
|
697
699
|
excludeUnitsFromLabel: boolean;
|
|
@@ -732,6 +734,7 @@ export interface CDScript {
|
|
|
732
734
|
properties: CDScriptProperties[];
|
|
733
735
|
ingredients: CDScriptIngredients[];
|
|
734
736
|
pricing: CDScriptPriceOption[];
|
|
737
|
+
expiryDays: number;
|
|
735
738
|
};
|
|
736
739
|
itemCount: number;
|
|
737
740
|
}
|
|
@@ -879,8 +882,10 @@ export interface CDFormulationList {
|
|
|
879
882
|
infoUrl: string;
|
|
880
883
|
isSignedOff: boolean;
|
|
881
884
|
}
|
|
885
|
+
/** A superset of CDFormulation that is easier to work with */
|
|
882
886
|
export type CDProduct = Omit<CDFormulation, 'pricing'> & Omit<CDScriptPriceOption, 'id'> & CDProductCategory & {
|
|
883
887
|
pricingId: number;
|
|
888
|
+
expiryDays: number;
|
|
884
889
|
};
|
|
885
890
|
export interface CDFormulationPrice {
|
|
886
891
|
formulationId: number;
|