@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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natch-the-storage/heathershaw-platform-types",
3
- "version": "1.19.17",
3
+ "version": "1.19.18",
4
4
  "description": "Interfaces and routes to use on the client",
5
5
  "license": "ISC",
6
6
  "author": "Natch Surana",