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

Submitted by:  Luis Falcon <meanmicio>
Submitted on:  Sun 12 Nov 2017 08:11:49 PM UTC  
 
Should Start On: Sun 12 Nov 2017 12:00:00 AM UTCShould be Finished on: Sun 02 Sep 2018 12:00:00 AM UTC
Category: GNU Health Command LinePriority: 5 - Normal
Status: DonePrivacy: Public
Percent Complete: 100%Assigned to: Luis Falcon <meanmicio>
Open/Closed: ClosedRelease: 3.3.0
Module: GNU Health client

(Jump to the original submission 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 23 Jan 2018 06:31:14 PM UTCmeanmicioStatusIn Progress=>Done
    Tue 23 Jan 2018 06:30:58 PM UTCmeanmicioPercent Complete90%=>100%
      Open/ClosedOpen=>Closed
    Wed 17 Jan 2018 09:26:51 PM UTCmeanmicioPercent Complete70%=>90%
    Sun 14 Jan 2018 11:55:44 AM UTCmeanmicioPercent Complete50%=>70%
    Thu 11 Jan 2018 05:10:24 PM UTCmeanmicioPercent Complete40%=>50%
    Wed 10 Jan 2018 11:22:31 PM UTCmeanmicioPercent Complete0%=>40%
    Wed 22 Nov 2017 12:45:19 PM UTCmeanmicioCategoryGUI=>GNU Health Command Line
    Wed 22 Nov 2017 11:48:28 AM UTCmeanmicioReleaseNone=>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.1-cleanup1