ADAPT - WorkItem and StatusUpdate Discussion
WorkItem
Attribute | Type | Multiplicity | Description |
---|---|---|---|
Id | CompoundIdentifier | 1 | Unique identifier (reference integer & associated other unique IDs) |
Notes | Note | 0..* | |
| |||
TimeScopes | TimeScope | 0..* | |
WorkItemPriority | WorkItemPriorityEnum | 0..1 |
|
PeopleRoleIds | Integer | 0..* | A list of IDs of PeopleRole objects that describe "who" is involved and what their role is in the collection of data. |
GrowerId | Integer | 0..1 | A reference to the Client/Grower to use for the work (This is meant to reflect the "business entity") |
FarmId | Integer | 0..1 | A reference to the Farm to use for the work |
FieldId | Integer | 0..1 | A reference to the Field to use for the work |
CropZoneId | Integer | 0..1 | A list of CropZone references. 20150205: The multiplicity of 0..n is counter-intuitive. This was probably derived from the user story about multi-variety planting operations. In this case, the link between the multiple cropzones and the corresponding operations does not happen directly through this list, but through the presciption object. 20151020: Changing 0..n to 0..1 to avoid cans of worms like having to change the relationship between Prescriptions and Cropzones. This also maximizes compatibility with ISOXML, where tasks have a scope of 1 part field. |
ReferencelLayerIds | Integer | 0..* | A list of spatial layers needed to do the work (e.g. VarietyLocator layer) |
BoundaryId | Integer | 0..1 | |
WorkItemOperationIds | Integer | 0..* | A list of WorkItemOperation references that define various objects to use with a given operation |
GuidanceAllocationIds | Integer | 0..* | A list of guidance objects to be used for the work |
StatusUpdates | StatusUpdate | 0..* | Defines the current status of the work item via StatusUpdate objects |
WorkOrderIds | Integer | 0..* | |
ParentDocumentId | Integer | 1 | |
EquipmentConfigurationGroup | EquipmentConfigurationGroup | 0..1 | |
StatusUpdate
Attribute | Type | Multiplicity | Description |
---|---|---|---|
Status | WorkStatusEnum | 1 | |
Note | Note | 0..1 | |
TimeStamp | DateTime | 1 | |
WorkItemPriorityEnum
Enumeration Literal | Description |
---|---|
Immediately | |
SoonAsPossible | |
High | |
Medium | |
Low |
WorkStatusEnum
Enumeration Literal | Description |
---|---|
Cancelled | |
Scheduled | |
InProgress | |
Paused | |
PartiallyCompleted |