Feature #1254
closedFeature #1039: Feature - Visits screen
Req. - show visit status icon
100%
Description
In the visit list on each visit should be an icon that indicates visit status
Back-end should return one of the following action statuses:
- 0: "ActionStatus.NoImagesExists" - Status is returned if there are no images saved for this visits. - Visit should be marked by Red color in the list.Visit can be edited but only owned physician.
- 1: "AssignedToRequisition" - Status is returned if visit is assigned to requisition (there is related record in the table tblordervisits) - Visit should be marked by Black color. Visit is readonly in this case.
- 2: "ActionStatus.CanBeEditedByOwner" - Status is returned if both above acondition are false and visit is owned by logged-in physician - Visit should be marked by Green color and can be edited only by owned physician
- 3: "ActionStatus.Readonly" - Status is returned if all above conditions are false. - Visit should be marked by Blue color. Visit is readonly.