Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Plugin Event. #25

Open
kuvakina opened this issue Jan 30, 2019 · 13 comments
Open

Add Plugin Event. #25

kuvakina opened this issue Jan 30, 2019 · 13 comments

Comments

@kuvakina
Copy link
Collaborator

In Showcase we have plugin Events. He’s bit different from others, as it has this extra menu: https://www.screencast.com/t/oC3cIGaV8BR & https://www.screencast.com/t/kJ7uSjwVwXnh

Approx. estimate time: 6-8h

@kuvakina
Copy link
Collaborator Author

Related issues:
#24 - Add Plugins (Simple) - DONE
#26 - Add Plugin Vitals - News
#27 - Add Plugin Images
#75 - Add Plugin Drawings
#76 - Add Plugin Documents
#77 - Add Plugin Clinical Statements
#78 - Add Plugin Orders
#79 - Add Plugin Transfers of Care
#80 - Add Plugin Test Results

@BogdanScherban
Copy link
Collaborator

@tony-shannon @PhilBarrett

Tony and Phil, I have a suggestion about Events plugin.

Let's look at the video:
https://drive.google.com/file/d/13DaWtFFpIYbsb6b_SqFM1d9Iw_hYDcJs/view

You can see, that Create button has popup with four variants depends on Event type. After this event type is disabled selector in Create/Update form.:
Screenshot from 2019-07-11 17-06-31.png

I can repeat this behavior, but in this case I should:

  • create custom Create button with popup;
  • relate selected value with form component by saving this data in React Store.

Suggest solve this issue by the more simple way: Event type won't be disabled.

Create button will be similar to all other plugins (without popup). User can change type of event in selectbox.

It is more simple and quickly to realize

@BogdanScherban
Copy link
Collaborator

@tony-shannon @PhilBarrett
I did part work on Event plugin:
https://drive.google.com/file/d/1jjznZOcJTrxvyBcETYNtpfEQxchjNphq/view

What is ready:

  1. List with filter/sorting;
  2. Create and Update;
  3. Show details;
  4. Events timeline (with real data, not dummy)

What else should I do.
As you can see, event form for type Discharge has additional elements in comparison with other types. I should add this elements depends on selected event type:

Screenshot from 2019-07-11 18-51-45.png
Screenshot from 2019-07-11 18-51-55.png

Besides this, I have two questions:

  1. Event details panel also has tab Chat, but this tab is empty. Should we add it?
  2. Appointment event has button "Start appointment" with Video Call. Should we add it?
    Screenshot from 2019-07-11 18-54-05.png

@BogdanScherban
Copy link
Collaborator

@PhilBarrett @tony-shannon

The issue has been done and upload, but it is necessary to solve, which options should be here:
Screenshot from 2019-07-12 12-24-26.png

@PhilBarrett
Copy link
Member

Need to discuss this one further, please pause for now

@kuvakina
Copy link
Collaborator Author

@PhilBarrett ok, we understand

@tony-shannon
Copy link
Member

tony-shannon commented Jul 17, 2019

@kuvakina can you please review this Event plugin and report back with a bit of explainer

@kuvakina
Copy link
Collaborator Author

kuvakina commented Jul 17, 2019

@tony-shannon @PhilBarrett

Creating Event (Appointment type):

the difference between Showcase-devra and Showcase is only that you on Showcase-devra can change the Type when edit panel open already (from the dropdown menu in the form). On Showcase you have to choose the Type only from Create button (you will see the menu with Types).
sce1
sce2

Also on Showcase you can't choose past date and heading of create window shows Create - [Event Type].
sce6

The creation of Appointment Event you can see below on the videos:

Creating Event (Appointment type) on Showcase-devra:

https://drive.google.com/file/d/1SovbUWN628zHXsUHKV9njcb8d6_jzeqx/view

Creating Event (Appointment type) on Showcase:

https://drive.google.com/file/d/1gFuDCqE9O5XdstZDcxFvP8v_f186l84U/view

@kuvakina
Copy link
Collaborator Author

kuvakina commented Jul 17, 2019

@tony-shannon @PhilBarrett

Creating Event (Admission type):

the difference between Showcase-devra and Showcase is only that you on Showcase-devra can change the Type when edit panel open already (from the dropdown menu in the form). On Showcase you have to choose the Type only from Create button (you will see the menu with Types).
sce1
sce3

Also on Showcase you can't choose past date and heading of create window shows Create - [Event Type]. (see comment above "Creating Event (Appointment type)")

The creation of Admission Event you can see below on the video:

Creating Event (Admission type) on Showcase-devra:

https://drive.google.com/file/d/1fLa50cUfjqdtmXDt2XWWyfMqSl-TmIsI/view

Creating Event (Admission type) on Showcase:

https://drive.google.com/file/d/1P7rDkY2s5c4y1t-SOcofZtQ302JgXW8X/view

@kuvakina
Copy link
Collaborator Author

kuvakina commented Jul 17, 2019

@tony-shannon @PhilBarrett

Creating Event (Transfer type):

the difference between Showcase-devra and Showcase is only that you on Showcase-devra can change the Type when edit panel open already (from the dropdown menu in the form). On Showcase you have to choose the Type only from Create button (you will see the menu with Types).
sce1
sce4

Also on Showcase you can't choose past date and heading of create window shows Create - [Event Type]. (see comment above "Creating Event (Appointment type)")

The creation of Admission Event you can see below on the video:

Creating Event (Transfer type) on Showcase-devra:

https://drive.google.com/file/d/1ed3MQ5zFHGfCup1GcjUQjGbPZgwrE5IX/view

Creating Event (Transfer type) on Showcase:

https://drive.google.com/file/d/1Z69V4dxq8vPeFRnpSVd2dtjTuS_ukUre/view

@kuvakina
Copy link
Collaborator Author

kuvakina commented Jul 17, 2019

@tony-shannon @PhilBarrett

Creating Event (Discharge type):

the difference between Showcase-devra and Showcase is only that you on Showcase-devra can change the Type when edit panel open already (from the dropdown menu in the form). On Showcase you have to choose the Type only from Create button (you will see the menu with Types).
sce1

On Showcase you have To make connection button and dropdowns To make connection with and Details. We simplified Showcase-devra a hid these button and dropdowns.
sce5

Also on Showcase you can't choose past date and heading of create window shows Create - [Event Type]. (see comment above "Creating Event (Appointment type)")

The creation of Admission Event you can see below on the video:

Creating Event (Discharge type) on Showcase-devra:

https://drive.google.com/file/d/1noi92m4t-d4tTurUaY5X2L-Mfr57OL2l/view

Creating Event (Discharge type) on Showcase:

https://drive.google.com/file/d/19QveBaJK47kG3rrvXDpIi1A6SVJrXcY3/view

@tony-shannon
Copy link
Member

simplify please

@kuvakina
Copy link
Collaborator Author

@tony-shannon @PhilBarrett

We simplified Event, tomorrow I'll update the issue:
qqq1.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants