Project

General

Profile

Feature #1254

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 In the given mockup example 3 color of icon (can be used 3 different icons):  
 # Green 
 # Red 
 # Black 

 1. Green - The visit can be Edited by the following action statuses: owner (Physician of the visit). And visit is NOT associated to the Requisition Number. 
 2. Red - 0: "ActionStatus.NoImagesExists" - Status is returned if there are No images in visit or no images saved are set for this visits. - requsition. Visit should can be marked edited by Red color in owner (Physician of the list.Visit can be edited but only owned physician. 
 - 1: "AssignedToRequisition" - Status is returned if visit). And visit is assigned NOT associated to requisition (there is related record in the table tblordervisits) - Visit should be marked by Requisition Number. 
 3. 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    associated to the Requisition Number, 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. view the visits 

Back