Project

General

Profile

Feature #1526

Updated by Artem Bakhmat almost 6 years ago

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. 
 - 4 - Undefined - returned when data about visit status is unavailable

Back