Add process_pattern field to Process and ProcessType.
Add +work button to labnotes.
Add ProcessPattern method to get event types for resource types.