getRecordingDoctor function
Access the user profile to get the First Name
and Last Name
of the current recording doctor,
Implementation
String? getRecordingDoctor(BuildContext context) {
final UserProfile userProfile =
StoreProvider.state<CoreState>(context)!.userState!.userProfile!;
final String firstName =
titleCase(userProfile.userBioData!.firstName!.getValue());
final String lastName =
titleCase(userProfile.userBioData!.lastName!.getValue());
return '$firstName $lastName';
}