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