ilabafrica / BLIS

BLIS - a port of the Basic Laboratory Information System (BLIS) to Laravel by iLabAfrica. BLIS was originally developed by C4G.
GNU General Public License v3.0
7 stars 19 forks source link

Instrumentation #107

Closed mapesa closed 9 years ago

mapesa commented 9 years ago
  1. How will the different lab equipment (e.g. FACS Counters, Genexpert, ...) interact with kBLIS?
  2. Possible steps:
    • Fetch the data
      • Poll the machine for data
      • Listen on a port/socket for data
      • Read results from a dump file
    • Process the data, bearing in mind the Test from which it was requested
    • Store the data
  3. Possible approach:
    • An interface that determines the general flow
    • Implementations define the nitty gritties for particular machines.
mapesa commented 9 years ago

Settled for the following as components of this feature:

  1. Configurations for specifying details of available instruments

    • Host machine ip
    • Host machine hostname
    • Name of the instrument
    • Associated Tests (For each test, specify the Test name and the implementing PHP class name)

    For example:

    {
     "ip":"192.168.25.11",
     "hostname":"ndovu",
     "name":"Celtac F",
     "tests":{
         "Full Haemogram":"FullHaemogramInstrumentor",
         "WBC":"WBCInstrumentor",
         "HB":"HBInstrumentor"
      }
     }
    
  2. The Instrumentor interface will have the following methods for each associated Test.
    • setInstrumentHost(String ip/hostname) //Receives host identification data
    • public Object[measure_name => value] getResult() // Returns test data from instrument host.
  3. Results Entry Form
    • If an instrument is configured for this test, show a button for fetching results

Questions and my answers

briankip commented 9 years ago

Configurations

Questions

mapesa commented 9 years ago
Ready for review

Features

Pending

briankip commented 9 years ago

In the AbstractInstumentor->setIp you are using a varaible $id instead of $ip

mapesa commented 9 years ago

@briankip, excellent calls especially about the evil security hole. I'll rework the implementation and get back ... and yes, in 2 days

Minor issues:

mapesa commented 9 years ago

Quick update!

Disclaimer: I'm still trying to correlate these answers with my personal coding experience.

mapesa commented 9 years ago

@briankip, I've streamlined the way to import plugins (really php class files extending KBLIS\instrumentation\Abstract) into the system. See if you like it any better.

Pending
mapesa commented 9 years ago

@briankip, nimemaliza kwa sasa. Please review!

briankip commented 9 years ago

Otherwise it looks good for a merge.

mapesa commented 9 years ago

@briankip, please check again.

briankip commented 9 years ago

This is OK.

We just need to put it to a semi-actual test, we set up a machine on the Lan, make a small web app that dumps dummy data to file, and then we try to pick it and parse it. Pretty much like in the actual case.

voleche09 commented 5 years ago

Does kblis have any api to integrate to other systems?

ereng commented 5 years ago

Does kblis have any api to integrate to other systems?

https://github.com/ilabafrica/Blis-V3/releases/tag/v3.0-alpha does to EMR, to Automated Machine Client.... this is the Automated Machine Client

voleche09 commented 5 years ago

Thanks for the quick response.Is there any documentation to start me up quickly on how to use these?