@openmrs/esm-patient-common-lib 11.3.1-pre.9592 → 11.3.1-pre.9595
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/package.json
CHANGED
|
@@ -118,7 +118,7 @@ export interface DrugOrderPost extends OrderPost {
|
|
|
118
118
|
dosingInstructions?: string;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
export
|
|
121
|
+
export type TestOrderPost = OrderPost;
|
|
122
122
|
|
|
123
123
|
export interface PatientOrderFetchResponse {
|
|
124
124
|
results: Array<Order>;
|
|
@@ -60,7 +60,7 @@ function useOrderableConceptSWR(searchTerm: string, orderableConceptSets?: Array
|
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export
|
|
63
|
+
export type OrderableConcept = OpenmrsResource;
|
|
64
64
|
|
|
65
65
|
export function useOrderableConceptSets(searchTerm: string, orderableConcepts: Array<string>) {
|
|
66
66
|
const { data, isLoading, error } = useOrderableConceptSWR(
|
package/src/workspaces.ts
CHANGED
|
@@ -21,8 +21,10 @@ export interface PatientChartWorkspaceActionButtonProps {
|
|
|
21
21
|
groupProps: PatientWorkspaceGroupProps;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export
|
|
25
|
-
extends
|
|
24
|
+
export type PatientWorkspace2DefinitionProps<
|
|
25
|
+
WorkspaceProps extends object,
|
|
26
|
+
WindowProps extends object,
|
|
27
|
+
> = Workspace2DefinitionProps<WorkspaceProps, WindowProps, PatientWorkspaceGroupProps>;
|
|
26
28
|
|
|
27
29
|
export function launchPatientChartWithWorkspaceOpen({
|
|
28
30
|
patientUuid,
|