To work automated container integration with OpenSpecimen, OpenSpecimen can be integrated with any automated freezer and do the operation like put/retrieve specimen. To work integration need to do below configuration.
Step 1: Register auto freezer provider
We need to register provider and set properties which are used to connect with freezer. Properties can be different as per freezer.
To register provider invoke below REST API
...
URL | http://<host>:<port>/openspecimen/rest/ng/auto-freezer-providers | |||||
Method | POST | |||||
Input JSON |
| |||||
Example |
|
Step 2:
...
Create a dimensionless storage container as autofreezer.
To create a dimensionless container specifying that container as automated freezer need to invoke below API. Once we do this step add/retrieve the specimens from this container will invoke APIs of the actual automated freezer.
URL | http://<host>:<port>/openspecimen/rest/ng/storage-containers/{id} | |||||
Method | PATCHPOST | |||||
ExampleRequest |
| |||||
Response: |
|
Enabling Store/Pick event notifications:
Steps:
- Login to Hamilton UI.
- Navigate to settings.
- Enable JOB Status Notification.
- Add JOB Status Notification endpoint: <app_url>/rest/ng/bios-notifs e.g. https://test.openspecimen.org/rest/ng/bios-notifs
After enabling this, OpenSpecimen shows the Store and Pick event ran on the Hamilton side on stored specimen overview page.
An e.g.