6.4.2.6 DeviceAssignment
6.4.2.6.1 Purpose¶
Records which animal wears or carries a mobile device (a collar, tag or bolus) over time, so its readings are attributed to the right animal. Fixed devices such as robots have no assignment.
6.4.2.6.2 Questions it answers¶
- Which animal wore this collar on a given date?
- Which devices has an animal carried?
6.4.2.6.3 Fields¶
| Field | Type | Cardinality | Description |
|---|---|---|---|
id |
string (uuid) |
1..1 |
Key. |
device |
Device | 1..1 |
|
animal |
Animal | 1..1 |
|
period |
Period | 1..1 |
Periods of the same device must not overlap. |
source_producer |
SourceProducerEntity | 1..1 |
|
system_version |
SystemVersion | 1..1 |
|
created_at |
datetime |
1..1 |
|
updated_at |
datetime |
1..1 |
6.4.2.6.4 Relationships¶
References
DeviceAssignment.device→ Device (1..1)DeviceAssignment.animal→ Animal (1..1)DeviceAssignment.source_producer→ SourceProducerEntity (1..1)
Uses types
6.4.2.6.5 Rules & constraints¶
- Which animal wears or carries a device (collars, tags, boluses) over time. Fixed devices (robots, scales) have no assignment.