...
Advantages of this feature:
Supported to importing Participant/Specimen centric collection protocol
Can import multiple bulk import files in one go by adding those in ZIP
Schedule the auto bulk import based on the timestamp specified in the file name
Users do not need to use the auto bulk import feature to schedule import jobs.
How does the Import Record feature work?
Once the user uploads the file, OpenSpecimen
...
picks the file and import based on the timestamp specified in the file name.
The most recent timestamp file will be picked first and import
You need the Super Admin privileges to access this feature.
How to access this feature?
Login to the OpenSpecimen; Go to the Extras → Click on the Imports Records card.
Select the CSV/Zip file and Import
Download the import report
Info |
---|
If your ZIP file has multiple CSV like Participant, Visits and Specimens, OpenSpecimen will import the files based on the timestamp added in the CSV file name. So, your participant CSV should be earlier timestamp than your visits and specimens. |
Rules for the import file naming:
...
Data | Format | Description |
---|---|---|
Standard entities (e.g. Collection Protocol, Participant, Specimen, etc) | <object_type>_<operation>_<timestamp>_[<csv_type>].csv |
|
Custom fields | <entity>_<operation>_<timestamp>_cpId_<cpId>.csv |
|
Custom forms | extensions_<attached_level><form_name><operation>_<timestamp>.csv |
|
Following is the list of object types for OpenSpecimen entities
Entity | Object Type |
---|---|
Institutes | institute |
Site | site |
User | user |
User Roles | userRoles |
Container | storageContainer |
Distribution Order | distributionOrder |
Shipment | shipment |
Collection Protocol | cp |
Participant registration | cpr |
Participant registrations for multiple CP | cprMultiple |
Participant consents | consent |
Visits | visit |
Specimen | specimen |
Aliquots | specimenAliquot |
Derivatives | specimenDerivative |
Master Specimen | masterSpecimen |
Examples:
Import Collection Protocol - Participant and Specimen Centric
Fill the details in below-attached template. Rename the template based on the rules provided in the first table. Users can import the CSV file as is or can make a ZIP file and import it.
...