Leave a comment at the end of this page or email contact@krishagni.com
Creating Specimen Hierarchies with Auto-Generated Labels
Unplanned specimens:
When using bulk import with auto-generated labels, you cannot create a full specimen hierarchy (e.g., New > Derived > Aliquots) in a single file.
Reason: To create a child specimen, you need the Parent Specimen Label. In the case of auto-generated labels, this is not known until the parent specimen has been created.
Planned specimens
This is not an issue with planned specimens, since you can use SR_CODE for both the parent and child specimens, which can be used to link the parent and child specimens.
How to create unplanned child specimens?
Option 1: Do not use auto-labels. (Recommended)
If it's okay that the specimens you create with bulk import don’t match the label format set in the system, follow the steps below.
Option 2: Import CSV in multiple steps
If you want OpenSpecimen-generated labels to maintain consistency, follow the steps below.
This would be a lot of work. Depending on the depth of the hierarchy you are trying to create, you will have to split the CSV into multiple files. Also, after every import, you have to download the labels and copy them into the CSV of the next hierarchy.
Example: If you want to create a 3-level hierarchy, i.e., New, Derived, and Aliquots, then you will have to split the information into 3 files, one for each level.
Leave a comment at the end of this page or email contact@krishagni.com