Coder Social home page Coder Social logo

openthc / lab Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 748 KB

Lab

License: GNU General Public License v3.0

PHP 97.55% Hack 0.99% JavaScript 0.83% Shell 0.47% HTML 0.15%
lims laboratory laboratory-information-system laboratory-management-system quality-assurance traceability seed-to-sale

lab's Introduction

OpenTHC Laboratory Portal

This service provides a method for all interested parties to upload and share the Cannabis Laboratory Data data.

It integrates with BioTrackTHC, Franwell/METRC and MJ Freeway/LeafData.

erDiagram
  Inventory ||--o{ Lab_Sample : "1 Inventory w/1+ Samples"
  Lab_Sample ||--o{ Lab_Result : "1 Inventory w/1+ Results"
  Lab_Sample }|--o{ Lab_Report : "1+ Reports"
  Lab_Result }|--o{ Lab_Report : "Many Results to Many Reports"
  Inventory ||--o{ Lab_Result : "1+ Results"
  Lab_Report }o--|{ Inventory : "1+ Reports"
flowchart LR
    A[Sample] --> B[Result]
    B --> C{Report}
    C -->|Download| D[PDFs]
    C -->|Locked Download|E[Commit]
    E --> F[Publish]
    G[Metric] --> B
    G -.-> C

Installation

Clone this repo, install dependencies, connect the database (using the CRE schema).

git clone ...
./make.sh install

Install Ghostscript

apt install ghostscript
locate pdf_info.ps

Tests for Laboratory Site

./test/test.sh

Processes

Intake

Using the B2B Transfer model incoming materials are record to Lab Sample type lots

Then using the Samples section one can review and annotate these items.

Enter the Lab Results for a Sample, if configured properly the system can even put the inventory materials into a connected CRE.

Publish Results

The primary purpose of this software is for publishing and sharing the lab results. Each is shared with a simple link and is presented to the end-users as HTML, PDF, PNG, JSON and even as as QR code.

Alternatives

For more information check out https://wiki.openthc.org/LIMS

lab's People

Contributors

djbusby avatar mashiox avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

amatic1

lab's Issues

Embed some Help links to a (?) icon in the Nav bar in Lab Portal

Status

Embed some Help links to a (?) icon in the Nav bar in Lab Portal

Expect

Expect to have the following links to the Help site accessible within the various Lab Portal pages

Actual

Currently there is no linkage from the Lab Portal to the Help site

Action

Link the following to the Lab Portal Navigation bar on every page

Lab_Menu::addHelpLink('/kb/lab (Labs Only)/create-sample', 'Create Sample');
Lab_Menu::addHelpLink('/kb/lab (Labs Only)/create-sample-manually', 'Create Sample Manually');
Lab_Menu::addHelpLink('/kb/lab (Labs Only)/add-image', 'Add Sample Image');
Lab_Menu::addHelpLink('/kb/lab (Labs Only)/add-sample-notes', 'Add Sample Notes');
Lab_Menu::addHelpLink('/kb/lab (Labs Only)/add-a-result', 'Add a Result');
Lab_Menu::addHelpLink('/kb/lab (Labs Only)/update-result-status', 'Update Result Status');
Lab_Menu::addHelpLink('/kb/lab (Labs Only)/share', 'Share Lab Results');
Lab_Menu::addHelpLink('/kb/lab (Labs Only)/generate-coa', 'Generate COA');
Lab_Menu::addHelpLink('/kb/lab (Labs Only)/lab-portal-search', 'Lab Portal Search');
Lab_Menu::addHelpLink('/kb/lab (Labs Only)/settings-change-uom', 'Change UOM Settings');
Lab_Menu::addHelpLink('/kb/lab (Labs Only)/non-i502-lab-testing', 'Non-i502 Testing Process');

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.