-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[biobank] new module #9475
base: main
Are you sure you want to change the base?
[biobank] new module #9475
Conversation
lintfix + permissions sql script finalized sql passing make checkstatic finished readme added test plan added help text fixing test suite fixing lint added bad request exception add strict types updated help text fixing lint errors added basic tests fixing lint fixing issues added raisinbread permission and module insert trying to fix linting issues fixing linting issues lint fixing lint fixing lint fixing lint lint fixing errors
90778a0
to
cfd881c
Compare
@@ -0,0 +1,13 @@ | |||
INSERT INTO modules (Name, Active) VALUES ('biobank', 'Y'); | |||
|
|||
INSERT INTO `permissions` VALUES |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The permissions ID is not necessary since this will be applied as an update patch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the js/biobankIndex.js should be in a gitignore and not committed here
@ridz1208 I addressed your review! |
Pull Request: Add Biobank Module
Draft Checklist
make dev
works and module loadsmake checkstatic
passesOverview
This pull request introduces the Biobank Module to the LORIS platform. The Biobank Module is designed to streamline the management of biological specimens, encompassing their collection, processing, storage, and shipment. It integrates seamlessly with existing workflows, ensuring efficient and standardized biobank operations across various studies and sites.
Purpose
The Biobank Module enables the management of biological specimens by providing functionalities for specimen tracking, container management, pooling, and shipment handling. It ensures standardized operations and maintains data integrity within the LORIS ecosystem.
Intended Users
The primary users of the Biobank Module are:
Scope
The Biobank Module facilitates the comprehensive management of biological specimens within the LORIS platform. Its functionalities include:
NOT in scope:
Permissions
Access to the Biobank Module is controlled through specific permissions to ensure data security and appropriate access levels.
biobank_specimen_view
biobank_specimen_create
biobank_specimen_edit
biobank_container_view
biobank_container_create
biobank_container_edit
biobank_pool_view
biobank_pool_create
biobank_fullsiteaccess
biobank_fullprojectaccess
Note: Ensure
Category
andAccess Level
align with your organization's permission schema.Configuration
The module's functionality is supported by multiple configuration tables, each serving a specific purpose in managing specimens, containers, pools, and shipments.
biobank_specimen_type
biobank_specimen_type_parent
.biobank_container_capacity
biobank_container_dimension
biobank_container_status
biobank_container_type
biobank_specimen_type_container_type_rel
.biobank_specimen_attribute
biobank_specimen_attribute_datatype
biobank_specimen_protocol
biobank_specimen_protocol_attribute_rel
biobank_specimen_type_container_type_rel
biobank_specimen_type_parent
biobank_specimen_type_unit_rel
biobank_unit
shipment_status
shipment_type
Detailed Configuration Settings
Specimen Types (
biobank_specimen_type
): Defines various specimen types (e.g., Blood, RNA) and their relationships with parent specimen types viabiobank_specimen_type_parent
.Specimen Attributes (
biobank_specimen_attribute
&biobank_specimen_attribute_datatype
): Stores attributes related to specimens, such as concentration, quantification dates, and quality metrics. Data types are defined inbiobank_specimen_attribute_datatype
.Container Types (
biobank_container_type
): Specifies types of containers used for storing specimens, linked to specimen types throughbiobank_specimen_type_container_type_rel
.Measurement Units (
biobank_unit
&biobank_specimen_type_unit_rel
): Defines measurement units (e.g., µL, mL) and associates them with specimen types to ensure consistent data entry.Protocols (
biobank_specimen_protocol
): Links specimens and pools to specific collection and preparation protocols, ensuring standardized handling procedures.Pools (
biobank_pool
): Manages pools created from multiple specimens, allowing for efficient processing and aliquoting.Shipments (
shipment
,shipment_log
,shipment_status
,shipment_type
): Tracks the shipment of containers, including event logging for comprehensive tracking and accountability.Container Hierarchy (
biobank_container_parent
): Manages parent-child relationships between containers to reflect storage hierarchies.Data Integrity (
biobank_specimen_protocol_attribute_rel
): Ensures that specimen protocols are correctly linked to their attributes, maintaining data consistency.Interactions with LORIS
The Biobank Module integrates seamlessly with various components of the LORIS platform to enhance functionality and data management: