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

Let's Make Copy And Paste Easy and Good - (they're going to do it anyway) #18

Open
pacharanero opened this issue Nov 3, 2020 · 2 comments
Assignees

Comments

@pacharanero
Copy link
Member

In an ideal world, all EPRs will integrate the dGC API shortly after we launch it, and clinicians of all stripes will be able to access RCPCH-standard centile and SDS calculations from within their native EPR applications.

However, back in the real world, this is a long-term goal. In the meantime we will have a lot of clinicians having to manually enter child data into the React demo, and they will want to record the returned data in their EPR manually as well. They are likely to want to copy and paste the data. This is suboptimal, but it is acknowledging what will happen in the real world.

There is a small clinical risk associated with this 2-way transfer of data - the input data could be entered incorrectly, or the returned data could be transcribed incorrectly. We can reduce the risk of the second error but providing a text box with all the returned information neatly formatted for the user to copy and paste into their application. We can't stop them doing this anyway, but we can make the resultant data-block better, less ambiguous, and clearer.

What I'm proposing would be at the bottom of the results page, underneath the results table. A text box containing:

  • All the data in the results table, formatted nicely into clear sentences, so as to be completely unambiguous if pasted into a 'Journal' type note in a clinical record.
  • The API that was used and the version.
  • The current date & time (which may be different from the birth date and the observation date and indeed even the time it is entered in the clinical record if there is a delay)
  • (for extra points) one of those cool 'copy to clipboard' buttons and a "Copied to clipboard!" success flash
@pacharanero
Copy link
Member Author

pacharanero commented Nov 3, 2020

Note that this is an approach also taken by the FeverPAIN team https://ctu1.phc.ox.ac.uk/feverpain/index.php
Shame there's no API for FeverPAIN eh? (me/ adds to TODO list)

image

@pacharanero pacharanero self-assigned this Nov 3, 2020
@eatyourpeas
Copy link
Member

In the chart component v6.0.0 the chart itself now has a prop and callback that allows cut and paste.
We are therefore half way there with signing off this ticket.

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

No branches or pull requests

2 participants