- type: "physical"
- subtype: "container" or "rna_plate" or "qpcr_plate"
- name: human readable name (string)
- location: location object
- createdAt: timestamp
- createdBy: user id
- wells: object
container: e.g. a freezer or cabinet rna_plate: Plate of extracted RNA from swabs. qpcr_plate: Plate for use in qPCR machine
Only for subtype "rna_plate" and "qpcr_plate"
{
a1: swabID,
b12: swabID,
...
}
Used a field for Container and Plate.
{
parent_id: uuid of parent container (if any)
description: additional human readable info about location (string)
}
For a shelf in a -80 freezer the parent_id would be the uuid of the freezer (also a Container) and the description would say "top shelf".
- type: "user"
- id: uuid
- username
- password
- groups
- createdAt: timestamp
- createdBy: user id
Human readable name of user. Not their real name.
!
Array of group names (strings) such as 'admin'.
- type: "swab"
- id: uuid
- isExternal: boolean
- isPriority: boolean
- createdAt: timestamp
- createdBy: user id
- location
Was this swabbed using our swab collecting system or was it supplied by an outside company. True if outside company.
Should this swab be given priority?
If isExternal
is false then this needs to be set to the user id of the logged in user on the swab collection computer.
If isExternal
is true then this will be a unique user id of a user created for the company that delivered the swab.
If isExternal is false then this is a the time this swab was created in the field, otherwise this is the time the swab tube was scanned after it arrived at the lab.
Where this was swabbed. Not yet specified if this is coordinates, address or something else