@photonhealth/elements 0.19.2 → 0.19.4
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/dist/index.js +425 -425
- package/dist/index.mjs +17001 -16945
- package/dist/photon-multirx-form/components/AddPrescriptionCard.d.ts +2 -3
- package/dist/photon-multirx-form/components/PatientCard.d.ts +1 -1
- package/dist/photon-multirx-form/{photon-prescribe-workflow.d.ts → components/PrescribeWorkflow.d.ts} +1 -11
- package/dist/photon-multirx-form/photon-prescribe-workflow-component.d.ts +4 -1
- package/package.json +1 -1
- package/dist/photon-multirx-form/PrescribeWorkflow.stories.d.ts +0 -6
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ScreeningAlertType } from '@photonhealth/components';
|
|
2
|
-
import { Prescription } from '@photonhealth/sdk/dist/types';
|
|
3
2
|
import '@shoelace-style/shoelace/dist/components/icon/icon';
|
|
4
3
|
import '@shoelace-style/shoelace/dist/components/button/button';
|
|
5
|
-
import { DisableList } from '
|
|
4
|
+
import { DisableList } from './PrescribeWorkflow';
|
|
6
5
|
export declare const AddPrescriptionCard: (props: {
|
|
7
6
|
hideAddToTemplates: boolean;
|
|
8
7
|
actions: Record<string, (...args: any) => any>;
|
|
@@ -13,7 +12,7 @@ export declare const AddPrescriptionCard: (props: {
|
|
|
13
12
|
enableCombineAndDuplicate?: boolean;
|
|
14
13
|
screenDraftedPrescriptions: () => void;
|
|
15
14
|
draftedPrescriptionChanged: () => void;
|
|
16
|
-
onDraftPrescriptionCreated: (
|
|
15
|
+
onDraftPrescriptionCreated: () => void;
|
|
17
16
|
screeningAlerts: ScreeningAlertType[];
|
|
18
17
|
catalogId?: string;
|
|
19
18
|
allowOffCatalogSearch?: boolean;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import { TemplateOverrides } from '@photonhealth/components';
|
|
2
|
-
import '@shoelace-style/shoelace/dist/components/alert/alert';
|
|
3
|
-
import '@shoelace-style/shoelace/dist/components/icon-button/icon-button';
|
|
4
|
-
import '@shoelace-style/shoelace/dist/components/icon/icon';
|
|
5
|
-
import '@shoelace-style/shoelace/dist/components/switch/switch';
|
|
6
1
|
export type Address = {
|
|
7
2
|
city: string;
|
|
8
3
|
postalCode: string;
|
|
@@ -18,9 +13,6 @@ export interface DisabledItem {
|
|
|
18
13
|
export type DisableList = DisabledItem[];
|
|
19
14
|
export type PrescribeProps = {
|
|
20
15
|
patientId?: string;
|
|
21
|
-
templateIds?: string;
|
|
22
|
-
templateOverrides?: TemplateOverrides;
|
|
23
|
-
prescriptionIds?: string;
|
|
24
16
|
hideSubmit: boolean;
|
|
25
17
|
hideTemplates: boolean;
|
|
26
18
|
hidePatientCard: boolean;
|
|
@@ -32,17 +24,14 @@ export type PrescribeProps = {
|
|
|
32
24
|
enableMedHistoryRefillButton: boolean;
|
|
33
25
|
enableCombineAndDuplicate: boolean;
|
|
34
26
|
enableDeliveryPharmacies: boolean;
|
|
35
|
-
enableCoverageCheck: boolean;
|
|
36
27
|
optionalPatientAddress: boolean;
|
|
37
28
|
mailOrderIds?: string;
|
|
38
29
|
pharmacyId?: string;
|
|
39
|
-
loading: boolean;
|
|
40
30
|
address?: Address;
|
|
41
31
|
weight?: number;
|
|
42
32
|
weightUnit?: string;
|
|
43
33
|
additionalNotes?: string;
|
|
44
34
|
triggerSubmit: boolean;
|
|
45
|
-
setTriggerSubmit?: (val: boolean) => void;
|
|
46
35
|
toastBuffer: number;
|
|
47
36
|
formStore?: any;
|
|
48
37
|
formActions?: any;
|
|
@@ -51,6 +40,7 @@ export type PrescribeProps = {
|
|
|
51
40
|
allowOffCatalogSearch?: boolean;
|
|
52
41
|
disableList?: DisableList;
|
|
53
42
|
groupId?: string;
|
|
43
|
+
initialShowForm: boolean;
|
|
54
44
|
};
|
|
55
45
|
export declare const ScreenDraftedPrescriptionsQuery: import("graphql").DocumentNode;
|
|
56
46
|
export declare function PrescribeWorkflow(props: PrescribeProps): import("solid-js").JSX.Element;
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import '@shoelace-style/shoelace/dist/components/alert/alert';
|
|
2
|
+
import '@shoelace-style/shoelace/dist/components/icon-button/icon-button';
|
|
3
|
+
import '@shoelace-style/shoelace/dist/components/icon/icon';
|
|
4
|
+
import '@shoelace-style/shoelace/dist/components/switch/switch';
|
package/package.json
CHANGED