Open aparnacoronasafe opened 8 months ago
Hi @aparnacoronasafe , i have a suggestion regarding the issue, you idea of fading the tabs with no patients is good but how would the user come to know about this feature until informed, instead the tabs already show occupancy and if there are no patients then occupancy is by default zero and hence I think we can give all these 0 occupancy tags a separate color or add certain fields in filters tags.
Or we can mark a new tag on the tabs
@aparnacoronasafe @SinghYuvraj0506 what is your view's on this Screencast from 28-02-24 01:42:13 AM IST.webm
@SinghYuvraj0506 @pankaj87072 the requirement is to indicate the user that tabs like investigations/abg/nursing dont have any data
cc: @aparnacoronasafe
@sainak thanks for helping, I got your point. I am currently facing an issue in solving this issue, if we want to differentiate between the tabs on the basis of data if they contain or not, then we may have to fetch all their corresponding data at once when the page loads, because the tabs are requesting for data when they are active.
Can you tell me is it the way to solve the issue or there is some other method too for it?
@aparnacoronasafe , Can you please assign me this issue?
@aparnacoronasafe , Can you please assign me this issue?
@aparnacoronasafe can you please assign this issue to me?
@aparnacoronasafe can you please assign this issue to me?
Hi @aparnacoronasafe I'd like to take on this issue
@aparnacoronasafe This would require fetching data of all tabs when loading the consultation dashboard at once to determine whether the tab has data or not (as mentioned in https://github.com/coronasafe/care_fe/issues/7289#issuecomment-1968630321). A lot of network bandwidth would be required to facilitate this, especially for a page that is frequently used it could make this page slower.
@gigincg can you suggest a way out?
@aparnacoronasafe If doctors have an understanding of what all data are relavant to a certain type of patient, they might be able to skip certain tabs.
If based on any parameters from a consultation (Diagnosis or Decision after Consultation for eg.) some tabs can be hidden, we can do that.
Is your feature request related to a problem? Please describe. The patient dashboard (https://care.coronasafe.in/facility/0c95c7f0-e1d2-4aff-83fa-933cef60d3a8/patient/7e8fc20f-02da-47f7-8c33-f2d8c7e52dd8/consultation/cb44a173-6fe2-452f-b2d1-6c6e2695411e) has multiple tabs into which clinical data is arranged.
For many patients, most of these tabs have no data. So the viewer still has to go through each tab to see which one has data and which does not.
Hiding the tabs is not a good move, since showing empty tabs encourages doctors to enforce entry of more data into CARE.
Describe the solution you'd like Show the tabs with no data as faded. Viewer should be able to differentiate between tabs with or without data without opening each tab.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.