public void AddVisitPurpose(VisitPurposeType type, VisitPurposeState state) { VisitPurposes.Add(new VisitPurpose(type, state)); }
public VisitPurpose(VisitPurposeType type, VisitPurposeState state = VisitPurposeState.Unhandled) { Type = type; State = state; }
public VisitPurposeSelection(VisitPurposeType type, bool isSelected) : this(type, VisitPurposeState.Unhandled, isSelected) { }
public VisitPurposeSelection(VisitPurposeType type, VisitPurposeState state, bool isSelected) { Type = type; State = state; IsSelected = isSelected; }
public void AddVisitPurposeTemplate(VisitPurposeType visitPurposeType, bool isPreSelected = false) { VisitPurposeSelectionTemplates.Add(new VisitPurposeSelection(visitPurposeType, VisitPurposeState.Unhandled, isPreSelected)); }