radiology ai lab analysis & lab ai analysis api end points updates.

pull/221/head
aamir-csol 23 hours ago
parent 7a0caa05c3
commit 74479850f5

@ -319,7 +319,6 @@ class _FamilyCardsState extends State<FamilyCards> {
final profile = widget.profileViewList![index];
final isActive = (profile.responseId == appState.getAuthenticatedUser()?.patientId);
final isParentUser = appState.getAuthenticatedUser()?.isParentUser ?? false;
print(jsonEncode(appState.getUserSwitchPayloads));
final isSuperUser = appState.getUserSwitchPayloads;
// TODO: canSwitch functionality is currently disabled - set to true to allow all switches
// Original logic: final canSwitch = isParentUser || (!isParentUser && profile.responseId == appState.getSuperUserID);

Loading…
Cancel
Save