diff --git a/packages/esm-imaging-orders-app/src/types/index.ts b/packages/esm-imaging-orders-app/src/types/index.ts index 4ca5a2a..acf5226 100644 --- a/packages/esm-imaging-orders-app/src/types/index.ts +++ b/packages/esm-imaging-orders-app/src/types/index.ts @@ -1,4 +1,4 @@ -import { type OrderBasketItem } from '@openmrs/esm-patient-common-lib'; +import { type OrderUrgency, type OrderBasketItem } from '@openmrs/esm-patient-common-lib'; export interface Concept { uuid: string; @@ -27,7 +27,7 @@ export interface ImagingOrderBasketItem extends OrderBasketItem { label: string; conceptUuid: string; }; - urgency?: string; + urgency?: OrderUrgency; instructions?: string; orderReason?: string; orderReasonNonCoded?: string; diff --git a/packages/esm-medical-supply-order-app/src/types/index.ts b/packages/esm-medical-supply-order-app/src/types/index.ts index 58771a5..6424f1b 100644 --- a/packages/esm-medical-supply-order-app/src/types/index.ts +++ b/packages/esm-medical-supply-order-app/src/types/index.ts @@ -1,4 +1,4 @@ -import { type OrderBasketItem } from '@openmrs/esm-patient-common-lib'; +import { type OrderUrgency, type OrderBasketItem } from '@openmrs/esm-patient-common-lib'; export interface Concept { uuid: string; @@ -11,7 +11,7 @@ export interface MedicalSupplyOrderBasketItem extends OrderBasketItem { label: string; conceptUuid: string; }; - urgency?: string; + urgency?: OrderUrgency; instructions?: string; quantity?: number; quantityUnits?: string; diff --git a/packages/esm-procedure-orders-app/src/types/index.ts b/packages/esm-procedure-orders-app/src/types/index.ts index 79817e1..573705b 100644 --- a/packages/esm-procedure-orders-app/src/types/index.ts +++ b/packages/esm-procedure-orders-app/src/types/index.ts @@ -1,6 +1,6 @@ -import { OpenmrsResource } from '@openmrs/esm-framework'; -import { OrderBasketItem } from '@openmrs/esm-patient-common-lib'; +import { type OrderUrgency, type OrderBasketItem } from '@openmrs/esm-patient-common-lib'; import { Link } from './patient-queue'; +import { type OpenmrsResource } from '@openmrs/esm-framework'; export enum SearchTypes { BASIC = 'basic', @@ -420,7 +420,7 @@ export interface ProcedureOrderBasketItem extends OrderBasketItem { conceptUuid: string; }; labReferenceNumber?: string; - urgency?: string; + urgency?: OrderUrgency; instructions?: string; previousOrder?: string; orderReason?: string;