Re: new release candidate

María Scappini <[email protected]>
Newsgroups gmane.comp.gnu.medical.devel
Message-ID <[email protected]>
Hi, Karsten,

On 8/1/26 16:02, Karsten Hilbert wrote:

> Are you aware of the auto-import feature ?
>
> (it'll auto-import files dropped in certain directories)

... I was not! O_O

However, by now I am quite acquainted with it :)

Tested out the feature, read the documentation...

https://www.gnumed.de/documentation/GmIncomingDocuments.html

... read the corresponding code. Have been using the auto-import since you wrote,
and have two proposed features for the Incoming plugin:
1- adding a 'Refresh" button for importing auto-import directories docs inmediately
2- An 'Add measurement' button when importing charts

Reasoning:

1. 'Refresh' button

Since the reload time for auto-import is three minutes, I found myself often
(im)patiently waiting the 3 mins for the files to appear in the incoming area...
This was very easily solved by adding an optional 'Refresh' button which, when
pressed, manually triggers importation from the auto-import directories.

The other option for inmediate file import is dropping the files into the incoming
area (as I was doing before). However, I found that the everyday routine of always
downloading, without exception, incoming patient files into the auto-import directories
is best not changed for consistency and also simplification of processess among members
of the practice. Best not to drag and drop and accidentally lose files...
(I consider myself well-acquainted with my computer and I STILL drag and drop files
to weird places accidentally thanks to over-sensitive trackpads...)

I can see though this being only useful for the impatient -- and for the ones that
don't want to change the usual process of always downloading incoming patient files
to the auto-import directories. The refresh button offers a nice option, I think :)

Attached screenshot of where the button could be...


2. 'Add measurement' button

I find myself either opening imported documents with an external tool and then registering
parameters from those documents as measurements through the measurements plugin, or maybe in
a pinch just writing the parameters down on a note file and then going to the measurements
plugin.

So I thought: wouldn't it be faster to just press a button from within the incoming area and
not have to either switch out the plugin or open the file in an external tool/write down
somewhere else temporarily?

(Also ideally: if lab reports formats were stable enough -- meaning, consistent enough, say most
of them were from a certain lab with a consistent pdf layout/format -- a small script could take
care of semi-automatic transcription as measurements in the future... although each clinician/
practice will have to write their own script for this and if they handle results from many
formats/many labs, this would obviously be troublesome! Sadly, where I am from, using H7L
formatting is a far away dream in the veterinary space...)

Implementing the 'Add measurement' button was simple, just added the button via wxGlade and
used the very same function that the measurements plugin already uses for the 'Add
measurement' dialog... and since the button appears only when one goes into 'Chart import'
mode, it can only be clicked when a patient is already active so no problems with trying
to add a measurement and a patient not being selected.

Screenshot attached also for this proposed button.

Will create PRs for both proposed features over on github. Hopefully these will be useful for
non-me users, too!

Happy start of the week,
María
open_add_measurement.png (image/png, 134.3 KB) - not displayed
refresh_button.png (image/png, 66.9 KB) - not displayed
add_measurement_button.png (image/png, 101.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.