@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.
@@ -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 '../photon-prescribe-workflow';
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: (draft: Prescription) => void;
15
+ onDraftPrescriptionCreated: () => void;
17
16
  screeningAlerts: ScreeningAlertType[];
18
17
  catalogId?: string;
19
18
  allowOffCatalogSearch?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { PhotonClientStore } from '@photonhealth/components';
2
- import type { Address } from '../photon-prescribe-workflow';
2
+ import type { Address } from './PrescribeWorkflow';
3
3
  interface PatientCardStoreProp {
4
4
  patient?: {
5
5
  value?: {
@@ -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
- export {};
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photonhealth/elements",
3
- "version": "0.19.2",
3
+ "version": "0.19.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,6 +0,0 @@
1
- import { Meta } from '@storybook/html';
2
- import '../photon-client';
3
- import '.';
4
- declare const _default: Meta;
5
- export default _default;
6
- export declare const PrescribeWorkflow: () => HTMLDivElement;