taskGNU Health - Tasks: task #14727, Implement Action and Command codes...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #14727: Implement Action and Command codes - The GNU Health Command Line

Submitter:  Luis Falcon <meanmicio>
Submitted:  Sun 12 Nov 2017 08:11:49 PM UTC
   
 
Should Start On:  Sun 12 Nov 2017 12:00:00 AM UTC Should be Finished on:  Sun 02 Sep 2018 12:00:00 AM UTC
Category:  GNU Health Command Line Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  meanmicio Percent Complete:  100%
Open/Closed:  Closed Release:  3.3.0
Module:  GNU Health client Component:  None

Jump to the original submission

Tue 23 Jan 2018 06:30:40 PM UTC, comment #6: 

Dear all

At this point we're pretty much done and happy with the functionality of the GNU Health Command line :)

Some videos and screenshots here:



At this point, we can close the task and include comments on smaller changes.

Luis Falcon <meanmicio>
Group administrator
Wed 17 Jan 2018 09:31:38 PM UTC, comment #5: 
  • Include main fields for gnuhealth.command model
  • Create gnuhealth-command model views
  • Include command line arguments


Luis Falcon <meanmicio>
Group administrator
Sun 14 Jan 2018 11:55:44 AM UTC, comment #4: 

Add GNU Health client configuration parameter

  • client.cli_position


This parameter allows to set the position of the CLI either at top or at the bottom

The following screenshot shows the CLI positions

https://i.imgur.com/V0Hh90r.png

So we can decide which one should be the default value.

Luis Falcon <meanmicio>
Group administrator
Thu 11 Jan 2018 05:10:24 PM UTC, comment #3: 

Dear all

Please take a look at the following screenshot, which summarizes the concept of the GNU Health Command Line, the Activity Log and the status, new features for the upcoming 3.4 series.

https://i.imgur.com/POOI8e7.png

  • GNU Health Command Line (CLI): You can see it at the bottom left corner, with the dark cyan background and white font for the command.


The GNU Health command line is very useful, and it will allow most operations without the need of the menu, increasing productivity.

In this example, we invoke the SYSINFO command, that will bring up relevant information from the client and the server.

  • Activity Log Window : That is the separate window that you see at the left side of the screen. As I explained in other task summary (see https://savannah.gnu.org/task/?14805#comment0) it  registers events and some command outputs (as in the case of SYSINFO).


  • Status area : This is the section on the right side of the CLI. It will display some events, always in a summarized way. In this example shows the connection status ("Connected").


Let me know your thoughts and suggestions are most welcome.

Bests,
Luis

Luis Falcon <meanmicio>
Group administrator
Wed 10 Jan 2018 11:22:31 PM UTC, comment #2: 

Create initial action code (SYSINFO)

"SYSINFO":
It retrieves the platform information from both the client and the server. Some of the information to be retrieved is platform, architecture / processor, Operating System type and Python version, among other.

It shows the result in the action window, so it can be easily copied and shared.

Once the person logs into the system, it can type "sysinfo" in the GNU Health Command Line widget, and the results are shown in the activity window.

The type of message is "INFO"

Luis Falcon <meanmicio>
Group administrator
Wed 22 Nov 2017 11:48:28 AM UTC, comment #1: 

The GNU Health Command line will allow us to enter commands / actions from the client.

The command line section will be at the bottom of the GNU Health client.

There will be a section on the gnuhealth client to customize it (bg color, buffer size, .. ).


Luis Falcon <meanmicio>
Group administrator
Sun 12 Nov 2017 08:11:49 PM UTC, original submission:  


In the next version, we'll include the functionality of executing actions / commands from its code, through an input area in the GNU Health client.

Action codes are extremely useful in large systems. Just typing it it will execute such command / action. No need to navigate.

For those who have worked in systems such SAP, it would remind you of the "transaction code" ("OK Codes")

At the GTK client, we will have an input box, which would allow us to enter the command code. Upon entering the code, it will execute the command or associated action.

The codes will have specific nomenclature that we can agree on, but that will make them easier to remember. Some examples from the GNU Health world could be

PART -> Parties
HPAT -> action to list all patients
HPATEV -> action to evaluations
HLAB -> Lab tests
HDU -> action to Domiciliary Units
HRDEM -> Demographics report (Health Reporting DEMographics)
FINV -> Invoices

We can have more features, depending on the suffix, such as executing the task in a new tab, or spawning a new window. For instance

+HPATEV -> execute the patient evaluation action in a new tab
*HPATEV -> spawn a new window with the action
&DBBACK -> execute a local backup of the server in background

The action names won't be translatable, and we can agree to a maximum size ( no more than 10 chars)

We should have the input box field on the top segment of the , and always visible.

Bests
Luis

Luis Falcon <meanmicio>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by meanmicio (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-23 meanmicio StatusIn Progress Done
    2018-01-23 meanmicio Percent Complete90% 100%
        Open/ClosedOpen Closed
    2018-01-17 meanmicio Percent Complete70% 90%
    2018-01-14 meanmicio Percent Complete50% 70%
    2018-01-11 meanmicio Percent Complete40% 50%
    2018-01-10 meanmicio Percent Complete0% 40%
    2017-11-22 meanmicio CategoryGUI GNU Health Command Line
    2017-11-22 meanmicio ReleaseNone 3.3.0
        SummaryImplement Action and Command codes Implement Action and Command codes - The GNU Health Command Line

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code