Compare commits

..

21 Commits
main ... dev

Author SHA1 Message Date
Benoy Bose
d82cac35f2 Merge branch 'dev' of cosqnet.com:cosqnet/medora-provider into dev 2024-11-27 16:32:38 +05:30
471ce430b0 feature/medora-55 (#11)
Removed address type

Co-authored-by: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Co-authored-by: Benoy Bose <benoybose@gmail.com>
Reviewed-on: cosqnet/telemednet#11
Reviewed-by: Benoy Bose <benoybose@cosq.net>
Co-authored-by: DhanshCOSQ <dhanshas@cosq.net>
Co-committed-by: DhanshCOSQ <dhanshas@cosq.net>
2024-11-27 10:54:09 +00:00
Benoy Bose
4d3cc94071 Renamed application id com.cosqnet.telemednet to com.cosqnet.medoraprovider 2024-11-15 14:38:30 +05:30
Benoy Bose
ab09f01e82 Fixed issues with doctor.dart 2024-11-15 11:03:07 +05:30
0f72ecf6ad feature/medora-55 (#10)
Added Splash screen, logo and some minor changes in the code

Co-authored-by: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Reviewed-on: cosqnet/telemednet#10
Co-authored-by: DhanshCOSQ <dhanshas@cosq.net>
Co-committed-by: DhanshCOSQ <dhanshas@cosq.net>
2024-11-14 12:53:33 +00:00
520c9b6e44 feature/medora-125 (#9)
fixed bugs

Co-authored-by: DhanshCOSQ <dhanshas@cosq.net>
Co-authored-by: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Reviewed-on: cosqnet/telemednet#9
Reviewed-by: Benoy Bose <benoybose@cosq.net>
Co-authored-by: Jipson George <jipsongeorge@cosq.net>
Co-committed-by: Jipson George <jipsongeorge@cosq.net>
2024-11-14 11:00:28 +00:00
42543367a4 feature/medora-55 (#8)
Files has been renamed and small changes made

Co-authored-by: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Reviewed-on: cosqnet/telemednet#8
Co-authored-by: DhanshCOSQ <dhanshas@cosq.net>
Co-committed-by: DhanshCOSQ <dhanshas@cosq.net>
2024-11-05 09:39:58 +00:00
b1ae31c7dd feature/medora-116 (#7)
fixed bugs from qa test

Co-authored-by: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Co-authored-by: DhanshCOSQ <dhanshas@cosq.net>
Reviewed-on: cosqnet/telemednet#7
Co-authored-by: Jipson George <jipsongeorge@cosq.net>
Co-committed-by: Jipson George <jipsongeorge@cosq.net>
2024-11-05 09:25:52 +00:00
b57523599c feature/medora-55 (#6)
Booking physical consultation ,  bugs fixed and Profile picture adding using firebase storage is complete.

Co-authored-by: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Reviewed-on: cosqnet/telemednet#6
Co-authored-by: DhanshCOSQ <dhanshas@cosq.net>
Co-committed-by: DhanshCOSQ <dhanshas@cosq.net>
2024-11-05 08:22:13 +00:00
Benoy Bose
266fca3bf7 Squashed commit of the following:
commit 0f1620ae21ed9ae1d279fa7527b1824e01b4ea08
Author: Benoy Bose <benoybose@gmail.com>
Date:   Mon Nov 4 14:45:08 2024 +0530

    Squashed commit of the following:

    commit f9f34ff304
    Author: Benoy Bose <benoybose@gmail.com>
    Date:   Mon Nov 4 14:30:56 2024 +0530

        Updated pub lock

commit 214cf48f9b63bc59425d59a2add17c13bb5ce186
Author: Benoy Bose <benoybose@gmail.com>
Date:   Mon Nov 4 14:39:32 2024 +0530

    Update pubspec.lock

commit faebb4b341d01933bbe6112c982dda36ae744288
Author: Benoy Bose <benoybose@gmail.com>
Date:   Mon Nov 4 14:32:49 2024 +0530

    Squashed commit of the following:

    commit f9f34ff304
    Author: Benoy Bose <benoybose@gmail.com>
    Date:   Mon Nov 4 14:30:56 2024 +0530

        Updated pub lock

commit 4a529e7ef6a237a7551a73e72de2638d2ebc246f
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Nov 4 13:09:05 2024 +0530

    Update doctor_personal_profile_screen.dart

commit 190e3a4058583d27418a9d10fb495da185b2a703
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Nov 4 13:07:40 2024 +0530

    completed doctor consultation center

commit 1b8196d50976975fd41a32201b9d024f5986cba2
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Sun Nov 3 21:04:53 2024 +0530

    completed doctors schedule creation

commit 033e1b74a811a3eaebf430dbe5cf2ea5a8f30fe4
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Sun Nov 3 14:41:25 2024 +0530

    commit

commit aa92bebd0b897ab96c04dd9ae4a2ec101b95d1c0
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Sun Nov 3 14:19:56 2024 +0530

    commit

commit e0a60c600872281d3915175f5dc5c311e7193be9
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Sun Nov 3 01:58:21 2024 +0530

    doctor dashboard

commit 94009dd6e3791a7082a885af300ae04c38fe0207
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Sat Nov 2 20:58:04 2024 +0530

    Update doctor_dashboard.dart

commit bdb14d29584cc993391322f762f6bd0b8956d40a
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Fri Nov 1 23:56:38 2024 +0530

    appoinment booking complete

commit dc61667a1ccee87b06b9accc6d6f2364126ea6a6
Merge: e08b4b3 17d6c60
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Fri Nov 1 22:15:16 2024 +0530

    Merge branch 'feature/medora-108' into feature/medora-55

commit 17d6c6036cd97e5290369f2b14f49cf5b52d3c2b
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Fri Nov 1 22:01:16 2024 +0530

    Completed service profile creation

commit 691e34bd721c6137699676c12f0c0b59bcdac953
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Fri Nov 1 18:52:28 2024 +0530

    created doctor business center

commit 68bef5ab271f3ce8dc26b79a4cedb64debf6c410
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Fri Nov 1 15:38:45 2024 +0530

    dev changes

commit e08b4b3bddad1ef74e05870c55e9371db67fe687
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Fri Nov 1 12:02:47 2024 +0530

    deleted booking controller

commit c8901aa51f9d3b78f10b85d24bb76190631ded56
Merge: abdf59e 01e27a1
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Fri Nov 1 11:40:20 2024 +0530

    Merge branch 'dev' into feature/medora-108

commit 9d25eca33b1be0093a5e41551315b0cb3b4c100c
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Thu Oct 31 23:07:14 2024 +0530

    route changed and deleted unwanted files

commit b07982a56048c12609daabc166cadc6353674d2d
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Thu Oct 31 22:04:04 2024 +0530

    deleted duplicated files

commit 6a94bccec91037ade1f47d6d107df010ce6bd8a2
Merge: e5e7b55 01e27a1
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Thu Oct 31 22:03:37 2024 +0530

    Merge branch 'dev' into feature/medora-55

commit e5e7b5597ec2a4be9849b5d52efb6baf21d3aa01
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Thu Oct 31 16:34:52 2024 +0530

    consultation booking

commit abdf59e4d5221a00c04a5bec10ec15a934c66956
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Wed Oct 30 18:48:11 2024 +0530

    commit

commit 42e7bb160530c65ef4ebaff2f9cc4b403dbb4109
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Wed Oct 30 11:17:58 2024 +0530

    booking appoinments

commit a117b98fa21ae6bd42b2a2b99d97cbcc11ec1ccb
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Wed Oct 30 11:08:01 2024 +0530

    Update pubspec.yaml

commit 64e7201a1e6b1d3fefd4952e3e4afa4031daccc8
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Tue Oct 29 18:02:38 2024 +0530

    Update navigation_service.dart

commit 677bb639fa1d71545bd1a8d3c81582965ead3e64
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Tue Oct 29 15:09:06 2024 +0530

    Revert "Merge branch 'feature/medora-71' into feature/medora-79"

    This reverts commit eaa30a50553f3b0d9c1d73426dace8c5c384d05c, reversing
    changes made to 176a6797be31c5bd16f77a1fb595a12451e8000c.

commit 3283d1b30bb0c69270b10d06cf9d00f61377e7dc
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Tue Oct 29 14:16:45 2024 +0530

    commit

commit eaa30a50553f3b0d9c1d73426dace8c5c384d05c
Merge: 176a679 2404999
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Tue Oct 29 12:00:14 2024 +0530

    Merge branch 'feature/medora-71' into feature/medora-79

commit 176a6797be31c5bd16f77a1fb595a12451e8000c
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Tue Oct 29 11:53:27 2024 +0530

    commit doctor profile

commit 23bf668914c000c6d98108c50d60e2e12d827b36
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Tue Oct 29 11:14:16 2024 +0530

    Doctor profile

commit 110753ddcfab9f16657ff71ad30a07054e5b1f09
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Oct 28 18:19:42 2024 +0530

    commit

commit 67613bf3d9d0e0171a152de093e6b01ccf95820f
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Oct 28 15:10:56 2024 +0530

    commit

commit 036aabbeae4ec637f601dc07d13eaf15b93ba2ec
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Oct 28 14:00:17 2024 +0530

    commit

commit 240499983bb6864a602efad335c494d5424c2da6
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Mon Oct 28 12:39:02 2024 +0530

    common elements added and some error fixed

commit 08f3be051569cfcb6b35db78f416efb862ed5de9
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Oct 28 11:19:21 2024 +0530

    commit

commit 62d4d739b84fbd8e6d0d9f0c4a18fc87989bb198
Merge: 6947ba5 66e54bc
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Fri Oct 25 18:45:42 2024 +0530

    Merge branch 'feature/medora-71' into feature/medora-79

commit 6947ba519fef2ac77a6dc778a397b9eb30a384b8
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Fri Oct 25 18:40:12 2024 +0530

    commit

commit 66e54bcb94d3a68b6421fbc5c9205eee2a21b64b
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Fri Oct 25 17:58:46 2024 +0530

    color update

commit 74f216b6d39b1108e8beb43d9fd153468237d8cf
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Fri Oct 25 17:58:23 2024 +0530

    fixed some bugs and added common files

commit 180976cceafee37eb64786939315febd6c41d1a7
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Fri Oct 25 15:12:20 2024 +0530

    commit

commit a717f95af85022158bd5130b52a0894fd4d04b5d
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Fri Oct 25 14:25:04 2024 +0530

    date and ui changes in family list screen

commit d463c805e271438a4324959543fd2f688e908a7f
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Fri Oct 25 13:07:29 2024 +0530

    sign up issue solved

commit 2a3fb82c2d7fa25f8bb6707966cdcbbb7b7f6711
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Fri Oct 25 01:19:32 2024 +0530

    commit

commit 1000963818dfc4050bdd81a756ebb5207410d876
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Fri Oct 25 01:06:07 2024 +0530

    validation added flow corrected and patient registration complete

commit fd5b472830b6c3cffd40262109ee370d58b138a3
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Thu Oct 24 19:25:08 2024 +0530

    commit

commit 59387828aec1042eab06d1fc1855c7a8ba1e441d
Merge: f1bd18e ee9163b
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Thu Oct 24 16:28:12 2024 +0530

    Merge remote-tracking branch 'origin/feature/medora-79' into feature/medora-71

commit f1bd18e5c1f17926ed6aaf3f14b2875bce0d64d8
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Thu Oct 24 16:27:48 2024 +0530

    added roles while creating user

commit a4de95274cbcf3249b325e0ae73d9a4f52fe9272
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Thu Oct 24 16:26:49 2024 +0530

    commit

commit ee9163b67061fbd9d2510cee02e4d0aead7c73ef
Merge: cd87cd7 2c6d7b7
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Thu Oct 24 14:18:52 2024 +0530

    Merge branch 'feature/medora-71' into feature/medora-79

commit cd87cd748729dc9b95f91a07eeec5104c5b33f5e
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Thu Oct 24 14:15:13 2024 +0530

    commit

commit 2c6d7b75abe5541a8a06dbdabcdc98cfc1bd70ff
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Thu Oct 24 12:15:51 2024 +0530

    Validation added

commit 95fedc1b7979a5d6a039c5be5819252e6f988b1d
Merge: bc759fa ca23730
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Thu Oct 24 11:12:36 2024 +0530

    Merge branch 'feature/medora-71' into feature/medora-79

commit ca237309b4455202a61cd21a07ab8fb97d1487b3
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Thu Oct 24 00:28:42 2024 +0530

    Controller added

commit bc759fa390e623cd9a0a7c805e81cc1f8c60bd28
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Wed Oct 23 19:07:35 2024 +0530

    Update doctor_profile_service.dart

commit b93514e0f94b0532e0e518a785de946baa1a413c
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Wed Oct 23 19:06:33 2024 +0530

    commit

commit b99611c83072a28aa966328072d1c7f4b74890cd
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Wed Oct 23 15:42:48 2024 +0530

    Update Doctor_profile_screen.dart

commit 9f2ddf623b7a0dc07c620a2073f93e3a2aae4c86
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Wed Oct 23 12:21:02 2024 +0530

    commit

commit fa2cdbacf31716dfdf52881f544ccbd740df5102
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Tue Oct 22 11:19:15 2024 +0530

    commit

commit 7adbf395869c2c2e8912509c802aa3dba467ac0c
Merge: 1dec3a4 561174f
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Tue Oct 22 11:19:07 2024 +0530

    Merge remote-tracking branch 'origin/feature/medora-71' into feature/medora-79

commit 561174f58b5240746d451a068e45e8abd99a31c9
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Tue Oct 22 11:17:01 2024 +0530

    Firebase service and model with controller has been added

commit 1dec3a44bd1fe6383eb79e5049dd40e2daaf5930
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Oct 21 18:20:20 2024 +0530

    Update profile_description_screen.dart

commit 2f093115e17c3a53cbe1e5659cbcc0d2f4e173aa
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Oct 21 18:16:34 2024 +0530

    commit

commit e40f9afc88dfd0144ee8023b71736f95ef09ff4b
Merge: 14ebc23 8dcff6c
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Oct 21 17:06:43 2024 +0530

    Merge remote-tracking branch 'origin/feature/medora-70' into feature/medora-79

commit 14ebc23a5772e92c74b2a0c1ebc2d301f5b7ba0f
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Oct 21 17:06:23 2024 +0530

    commit

commit 8dcff6cbff5be921a99c0a3315dfe309f28bfb4a
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Mon Oct 21 17:06:05 2024 +0530

    UI complete patient registration

commit 091029b056351afb410f542fb5db81253f59d07a
Merge: 9cbf16f 9f988ce
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Oct 21 16:05:47 2024 +0530

    Merge remote-tracking branch 'origin/feature/medora-70' into feature/medora-79

commit 9f988cebc7659b65626b0706f09bda59246710d2
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Mon Oct 21 16:01:29 2024 +0530

    UI for patient registartion

commit 9cbf16f14700cf2d7a36720ca796f46614cb5bec
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Oct 21 16:01:17 2024 +0530

    commit

commit bd5561bf21b612d07730f6c4330f1aee6a63f652
Merge: 2fb3f01 5a12155
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Oct 21 11:35:59 2024 +0530

    Merge remote-tracking branch 'origin/feature/medora-70' into feature/medora-79

commit 2fb3f010fe0ead574de0d25da7f03e0e4f4abd5c
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Mon Oct 21 11:34:41 2024 +0530

    doctor profile

commit 5a12155ababfb41606986e9a1e9481a7738a7e8c
Merge: 2090099 6530b5a
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Fri Oct 18 18:17:35 2024 +0530

    Merge branch 'feature/medora-78' into feature/medora-70

commit 2090099d7496c1f6c8490462addce2226f4c9397
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Fri Oct 18 18:17:05 2024 +0530

    added user selection screen

commit 6530b5ad45c6d6a46577af90c2e82981ce1baa68
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Fri Oct 18 16:47:35 2024 +0530

    App deployed

commit b742de48b851369a59e83819762d706607176c70
Author: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Date:   Fri Oct 18 15:41:19 2024 +0530

    commit

commit 33190bb1a324e0a48831087c77336138171a49d9
Merge: 8e3d05d 4809c9a
Author: DhanshCOSQ <dhanshas@cosq.net>
Date:   Thu Oct 17 17:17:27 2024 +0530

    Merge branch 'dev' into feature/medora-70

commit 8e3d05de97
Author: Benoy Bose <benoybose@gmail.com>
Date:   Tue Oct 15 20:00:08 2024 +0530

    Reconfigured Firebase

commit 1f12d4cb5d
Author: Benoy Bose <benoybose@gmail.com>
Date:   Tue Oct 15 19:50:40 2024 +0530

    Updated launch screen

commit 810548880a
Author: Benoy Bose <benoybose@gmail.com>
Date:   Mon Oct 14 18:29:27 2024 +0530

    Added user screen
2024-11-04 14:46:39 +05:30
Benoy Bose
f9f34ff304 Updated pub lock 2024-11-04 14:30:56 +05:30
Benoy Bose
01e27a1c11 Removed a few warnings 2024-10-31 21:25:50 +05:30
66c3b2fb9c Patient registration complete with authentication flow fixed (#3)
Patient registration complete with authentication flow fixed

Co-authored-by: Benoy Bose <benoybose@gmail.com>
Co-authored-by: Jipson George <152465898+Jipson-cosq@users.noreply.github.com>
Reviewed-on: cosqnet/telemednet#3
Reviewed-by: Benoy Bose <benoybose@cosq.net>
Co-authored-by: DhanshCOSQ <dhanshas@cosq.net>
Co-committed-by: DhanshCOSQ <dhanshas@cosq.net>
2024-10-31 14:20:35 +00:00
ec433190c4 UI complete (#2)
UI complete for patient registration

Co-authored-by: Benoy Bose <benoybose@gmail.com>
Reviewed-on: cosqnet/telemednet#2
Reviewed-by: Benoy Bose <benoybose@cosq.net>
Co-authored-by: DhanshCOSQ <dhanshas@cosq.net>
Co-committed-by: DhanshCOSQ <dhanshas@cosq.net>
2024-10-31 06:04:36 +00:00
240ab136fc App deployed (#1)
App has been deployed to google play store.

Co-authored-by: Benoy Bose <benoybose@gmail.com>
Reviewed-on: cosqnet/telemednet#1
Co-authored-by: DhanshCOSQ <dhanshas@cosq.net>
Co-committed-by: DhanshCOSQ <dhanshas@cosq.net>
2024-10-31 05:58:44 +00:00
Benoy Bose
4809c9a4fb Modified user profile screen 2024-10-16 14:42:57 +05:30
Benoy Bose
3c32c54f45 Organized files 2024-10-16 13:42:28 +05:30
Benoy Bose
03d9005c1b Updated launch screen 2024-10-16 13:32:02 +05:30
Benoy Bose
f9e124764f Updated launch screen 2024-10-15 19:50:40 +05:30
Benoy Bose
8fea8a95e4 Added user screen 2024-10-14 18:29:27 +05:30
Benoy Bose
a1e07ef7e9 Configuring Telemednet Dev project 2024-10-14 13:42:38 +05:30
21 changed files with 87 additions and 322 deletions

2
.env
View File

@ -1,4 +1,4 @@
CUSTOM_SCHEME=com.cosqnet.telemednet
CUSTOM_SCHEME=com.cosqnet.medoraprovider
PROFILE_COLLECTION_NAME=telemednetusers
PATIENT_PROFILE_COLLECTION_NAME=patientprofiles
DOCTOR_PROFILE_COLLECTION_NAME=doctorprofiles

View File

@ -1,2 +1,2 @@
CUSTOM_SCHEME=com.cosqnet.telemednet
CUSTOM_SCHEME=com.cosqnet.medoraprovider
PROFILE_COLLECTION_NAME=telemednetusers

View File

@ -14,7 +14,7 @@ keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
android {
namespace = "com.cosqnet.telemednet"
namespace = "com.cosqnet.medoraprovider"
compileSdk = flutter.compileSdkVersion
ndkVersion = "25.1.8937393"
@ -28,7 +28,7 @@ android {
}
defaultConfig {
applicationId = "com.cosqnet.telemednet"
applicationId = "com.cosqnet.medoraprovider"
minSdk = 23
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode

View File

@ -2,14 +2,33 @@
"project_info": {
"project_number": "885942326335",
"project_id": "cosq-telemednet-dev",
"storage_bucket": "cosq-telemednet-dev.appspot.com"
"storage_bucket": "cosq-telemednet-dev.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:885942326335:android:c9dbdbb37592f8a1fb948a",
"android_client_info": {
"package_name": "com.cosqnet.medoraprovider"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyDKT8Tv5LN11065TkiMGE-CDFdlzxW0LrI"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:885942326335:android:9d43fae1fe50a9d3fb948a",
"android_client_info": {
"package_name": "com.cosqnet.telemednet"
"package_name": "com.cosqnet.medoraprovider"
}
},
"oauth_client": [],

View File

@ -1,4 +1,4 @@
package com.cosqnet.telemednet;
package com.cosqnet.medoraprovider;
import io.flutter.embedding.android.FlutterActivity;

View File

@ -1,36 +1 @@
{
"flutter": {
"platforms": {
"android": {
"default": {
"projectId": "cosq-telemednet-dev",
"appId": "1:885942326335:android:9d43fae1fe50a9d3fb948a",
"fileOutput": "android/app/google-services.json"
}
},
"dart": {
"lib/firebase_options.dart": {
"projectId": "cosq-telemednet-dev",
"configurations": {
"android": "1:885942326335:android:9d43fae1fe50a9d3fb948a",
"ios": "1:885942326335:ios:bafdd38b5ec03c82fb948a",
"macos": "1:885942326335:ios:bafdd38b5ec03c82fb948a",
"web": "1:885942326335:web:ce5eeb369e458643fb948a",
"windows": "1:885942326335:web:a29a77fb5e4430d3fb948a"
}
}
}
}
},
"hosting": {
"source": ".",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"frameworksBackend": {
"region": "asia-east1"
}
}
}
{"flutter":{"platforms":{"android":{"default":{"projectId":"cosq-telemednet-dev","appId":"1:885942326335:android:c9dbdbb37592f8a1fb948a","fileOutput":"android/app/google-services.json"}},"dart":{"lib/firebase_options.dart":{"projectId":"cosq-telemednet-dev","configurations":{"android":"1:885942326335:android:c9dbdbb37592f8a1fb948a","ios":"1:885942326335:ios:dee3d7727c8cb9c6fb948a","macos":"1:885942326335:ios:bafdd38b5ec03c82fb948a","web":"1:885942326335:web:a29a77fb5e4430d3fb948a","windows":"1:885942326335:web:86fb07fffed3d889fb948a"}}}}}}

View File

@ -368,7 +368,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.telemednet;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.medoraprovider;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@ -384,7 +384,7 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.telemednet.RunnerTests;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.medoraprovider.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@ -401,7 +401,7 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.telemednet.RunnerTests;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.medoraprovider.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
@ -416,7 +416,7 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.telemednet.RunnerTests;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.medoraprovider.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
@ -547,7 +547,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.telemednet;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.medoraprovider;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@ -569,7 +569,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.telemednet;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.medoraprovider;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;

View File

@ -57,14 +57,6 @@ class PatientController {
model.address.city = city;
}
void updateAddressType(String addressType) {
model.address.addressType = addressType;
}
void updateOtherLabel(String otherLabel) {
model.address.otherLabel = otherLabel;
}
void addFamilyMember(FamilyMember member) {
model.familyMembers.add(member);
}

View File

@ -92,20 +92,15 @@ class PatientAddress {
String? country;
String? state;
String? city;
String? addressType;
String? otherLabel;
PatientAddress({
this.houseNo,
this.line,
this.town,
this.pincode,
this.country,
this.state,
this.city,
this.addressType,
this.otherLabel,
});
PatientAddress(
{this.houseNo,
this.line,
this.town,
this.pincode,
this.country,
this.state,
this.city});
Map<String, dynamic> toJson() {
return {
@ -116,8 +111,6 @@ class PatientAddress {
'country': country,
'state': state,
'city': city,
'addressType': addressType,
'otherLabel': otherLabel,
};
}
@ -129,7 +122,5 @@ class PatientAddress {
country = json['country'];
state = json['state'];
city = json['city'];
addressType = json['addressType'];
otherLabel = json['otherLabel'];
}
}

View File

@ -1,39 +0,0 @@
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'package:telemednet/telemed_user.dart';
class DataService {
static final String profileCollectionName =
dotenv.env['PROFILE_COLLECTION_NAME']!;
static final db = FirebaseFirestore.instance;
static User? getCurrentUser() {
return FirebaseAuth.instance.currentUser;
}
static Future<TelemedUser?> getProfile() async {
try {
final user = getCurrentUser();
if (user == null) {
return null;
}
final uid = user.uid;
final profiles = db.collection(profileCollectionName);
final profile = await profiles.doc(uid).get();
if (!profile.exists) {
return null;
}
final profileData = profile.data();
if (profileData == null) {
return null;
}
var telemedUser = TelemedUser.fromJson(profileData, uid);
return telemedUser;
} catch (e) {
print(e);
return null;
}
}
}

View File

@ -1,31 +0,0 @@
import 'package:flutter/material.dart';
class ErrorView extends StatefulWidget {
final String message;
final String okMessage;
final Function() onPressed;
const ErrorView(
{super.key,
required this.message,
required this.okMessage,
required this.onPressed});
@override
State<ErrorView> createState() => _ErrorViewState();
}
class _ErrorViewState extends State<ErrorView> {
@override
Widget build(BuildContext context) {
return Center(
child: Column(
children: [
Text(widget.message),
ElevatedButton(
onPressed: widget.onPressed, child: Text(widget.okMessage))
],
),
);
}
}

View File

@ -42,29 +42,29 @@ class DefaultFirebaseOptions {
static const FirebaseOptions web = FirebaseOptions(
apiKey: 'AIzaSyBjjfki3kFcyIMgEtK2hJMr4bW0QuDu3R4',
appId: '1:885942326335:web:ce5eeb369e458643fb948a',
appId: '1:885942326335:web:a29a77fb5e4430d3fb948a',
messagingSenderId: '885942326335',
projectId: 'cosq-telemednet-dev',
authDomain: 'cosq-telemednet-dev.firebaseapp.com',
storageBucket: 'cosq-telemednet-dev.appspot.com',
measurementId: 'G-JM2FQB2LKG',
storageBucket: 'cosq-telemednet-dev.firebasestorage.app',
measurementId: 'G-BBV9TFGNN5',
);
static const FirebaseOptions android = FirebaseOptions(
apiKey: 'AIzaSyDKT8Tv5LN11065TkiMGE-CDFdlzxW0LrI',
appId: '1:885942326335:android:9d43fae1fe50a9d3fb948a',
appId: '1:885942326335:android:c9dbdbb37592f8a1fb948a',
messagingSenderId: '885942326335',
projectId: 'cosq-telemednet-dev',
storageBucket: 'cosq-telemednet-dev.appspot.com',
storageBucket: 'cosq-telemednet-dev.firebasestorage.app',
);
static const FirebaseOptions ios = FirebaseOptions(
apiKey: 'AIzaSyBFhr46aK82ZIL-dzV-P5IiL44ZIGv0p24',
appId: '1:885942326335:ios:bafdd38b5ec03c82fb948a',
appId: '1:885942326335:ios:dee3d7727c8cb9c6fb948a',
messagingSenderId: '885942326335',
projectId: 'cosq-telemednet-dev',
storageBucket: 'cosq-telemednet-dev.appspot.com',
iosBundleId: 'com.cosqnet.telemednet',
storageBucket: 'cosq-telemednet-dev.firebasestorage.app',
iosBundleId: 'com.cosqnet.medoraprovider',
);
static const FirebaseOptions macos = FirebaseOptions(
@ -72,18 +72,18 @@ class DefaultFirebaseOptions {
appId: '1:885942326335:ios:bafdd38b5ec03c82fb948a',
messagingSenderId: '885942326335',
projectId: 'cosq-telemednet-dev',
storageBucket: 'cosq-telemednet-dev.appspot.com',
iosBundleId: 'com.cosqnet.telemednet',
storageBucket: 'cosq-telemednet-dev.firebasestorage.app',
iosBundleId: 'com.cosqnet.medoraprovider',
);
static const FirebaseOptions windows = FirebaseOptions(
apiKey: 'AIzaSyBjjfki3kFcyIMgEtK2hJMr4bW0QuDu3R4',
appId: '1:885942326335:web:a29a77fb5e4430d3fb948a',
appId: '1:885942326335:web:86fb07fffed3d889fb948a',
messagingSenderId: '885942326335',
projectId: 'cosq-telemednet-dev',
authDomain: 'cosq-telemednet-dev.firebaseapp.com',
storageBucket: 'cosq-telemednet-dev.appspot.com',
measurementId: 'G-BBV9TFGNN5',
storageBucket: 'cosq-telemednet-dev.firebasestorage.app',
measurementId: 'G-FH3TSY3CCC',
);
}

View File

@ -1,18 +0,0 @@
import 'package:flutter/material.dart';
class PrimaryButton extends StatelessWidget {
final String text;
final void Function()? onPressed;
const PrimaryButton({super.key, required this.text, required this.onPressed});
@override
Widget build(BuildContext context) {
return ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: Theme.of(context).colorScheme.primary),
onPressed: onPressed,
child: Text(text,
style: TextStyle(color: Theme.of(context).colorScheme.onPrimary)));
}
}

View File

@ -17,7 +17,6 @@ class _PatientAddressScreenState extends State<PatientAddressScreen> {
late TextEditingController _lineController;
late TextEditingController _townController;
late TextEditingController _pincodeController;
late TextEditingController _otherLabelController;
final String country = 'India';
String? state;
String? city;
@ -38,11 +37,9 @@ class _PatientAddressScreenState extends State<PatientAddressScreen> {
_lineController = TextEditingController(text: address.line ?? '');
_townController = TextEditingController(text: address.town ?? '');
_pincodeController = TextEditingController(text: address.pincode ?? '');
_otherLabelController =
TextEditingController(text: address.otherLabel ?? '');
state = address.state;
city = address.city;
addressType = address.addressType;
}
@override
@ -140,21 +137,6 @@ class _PatientAddressScreenState extends State<PatientAddressScreen> {
),
),
const SizedBox(height: 20),
_buildSectionContainer(
'Address Type',
Column(
children: [
_buildAddressTypeChips(),
if (addressType == 'Other')
_buildTextField(
'Other Label',
_otherLabelController,
(value) => widget.controller!.updateOtherLabel(value),
icon: Icons.label_outline,
),
],
),
),
],
),
),
@ -180,7 +162,7 @@ class _PatientAddressScreenState extends State<PatientAddressScreen> {
if (pincode.isEmpty) {
_errors['pincode'] = 'Pincode is required';
_hasErrors = true;
} else if (!RegExp(r'^\d{6}$').hasMatch(pincode)) {
} else if (!RegExp(r'^[1-9][0-9]{5}$').hasMatch(pincode)) {
_errors['pincode'] = 'Enter a valid 6-digit pincode';
_hasErrors = true;
}
@ -194,16 +176,6 @@ class _PatientAddressScreenState extends State<PatientAddressScreen> {
_errors['city'] = 'City is required';
_hasErrors = true;
}
if (addressType == null || addressType!.isEmpty) {
_errors['addressType'] = 'Please select an address type';
_hasErrors = true;
}
if (addressType == 'Other' && _otherLabelController.text.trim().isEmpty) {
_errors['otherLabel'] = 'Please specify other label';
_hasErrors = true;
}
});
return !_hasErrors;
@ -301,24 +273,6 @@ class _PatientAddressScreenState extends State<PatientAddressScreen> {
);
}
Widget _buildAddressTypeChips() {
return Wrap(
spacing: 8.0,
children: ['Home', 'Office', 'Other'].map((String type) {
return ChoiceChip(
label: Text(type),
selected: addressType == type,
onSelected: (bool selected) {
setState(() {
addressType = selected ? type : addressType;
});
widget.controller!.updateAddressType(addressType!);
},
);
}).toList(),
);
}
void _saveAndExit() {
if (_validateFields()) {
widget.controller!.updateHouseNo(_houseNoController.text);
@ -328,8 +282,7 @@ class _PatientAddressScreenState extends State<PatientAddressScreen> {
widget.controller!.updateCountry(country);
widget.controller!.updateState(state ?? '');
widget.controller!.updateCity(city ?? '');
widget.controller!.updateAddressType(addressType ?? '');
widget.controller!.updateOtherLabel(_otherLabelController.text);
widget.controller!.updatePatientData();
Navigator.pop(context, true);
} else {
@ -375,7 +328,6 @@ class _PatientAddressScreenState extends State<PatientAddressScreen> {
_lineController.dispose();
_townController.dispose();
_pincodeController.dispose();
_otherLabelController.dispose();
super.dispose();
}
}

View File

@ -137,6 +137,8 @@ class _PatientRegistrationScreenState extends State<PatientRegistrationScreen> {
}
void _showResultDialog(bool isSuccess) {
if (!mounted) return;
Navigator.push(
context,
MaterialPageRoute(
@ -178,14 +180,7 @@ class _PatientRegistrationScreenState extends State<PatientRegistrationScreen> {
Padding(
padding: const EdgeInsets.all(8.0),
child: IconButton(
onPressed: () {
if (_validateAllFields()) {
_controller.savePatientData();
_showResultDialog(true);
} else {
_showValidationErrors();
}
},
onPressed: _handleProfileSave,
icon: const Icon(Icons.check, color: Colors.blue, weight: 50),
),
),
@ -556,12 +551,6 @@ class _PatientRegistrationScreenState extends State<PatientRegistrationScreen> {
_errors['address'] = 'Please complete all required address fields';
_hasErrors = true;
}
if (address.addressType == 'Other' &&
(address.otherLabel?.isEmpty ?? true)) {
_errors['address'] = 'Please specify other address label';
_hasErrors = true;
}
});
return !_hasErrors;
@ -603,6 +592,27 @@ class _PatientRegistrationScreenState extends State<PatientRegistrationScreen> {
);
}
Future<void> _handleProfileSave() async {
if (_validateAllFields()) {
try {
final bool isSuccess = await _controller.savePatientData();
if (mounted) {
Navigator.pop(context);
}
_showResultDialog(isSuccess);
} catch (e) {
if (mounted) {
Navigator.pop(context);
}
_showResultDialog(false);
}
} else {
_showValidationErrors();
}
}
Widget _buildNavigationField(
String label, IconData icon, VoidCallback onTap) {
bool isAddressField = label == 'Address';
@ -672,8 +682,7 @@ class _PatientRegistrationScreenState extends State<PatientRegistrationScreen> {
return Text(
'${address.houseNo}, ${address.line}\n'
'${address.city}, ${address.state} ${address.pincode}\n'
'${address.addressType}${address.addressType == "Other" ? ": ${address.otherLabel}" : ""}',
'${address.city}, ${address.state} ${address.pincode}\n',
style: const TextStyle(color: Colors.black87),
);
}

View File

@ -1,41 +0,0 @@
enum UserRole { doctor, patient }
class TelemedUser {
String uid;
late String? name;
late String? email;
late String? photoURL;
late String? phoneNumber;
late String? alterPhoneNumber;
late UserRole? role;
TelemedUser(
{required this.uid,
this.name,
this.email,
this.photoURL,
this.phoneNumber,
this.alterPhoneNumber,
this.role});
TelemedUser.fromJson(Map<String, dynamic> json, this.uid) {
uid = json['uid'];
name = json['name'];
email = json['email'];
photoURL = json['photoURL'];
phoneNumber = json['phoneNumber'];
alterPhoneNumber = json['alterPhoneNumber'];
role = json['role'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['uid'] = uid;
data['name'] = name;
data['email'] = email;
data['photoURL'] = photoURL;
data['phoneNumber'] = phoneNumber;
data['alterPhoneNumber'] = alterPhoneNumber;
data['role'] = role;
return data;
}
}

View File

@ -1,17 +0,0 @@
import 'package:flutter/material.dart';
class UserProfileScreen extends StatelessWidget {
const UserProfileScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('User Profile Screen'),
),
body: const Center(
child: Text('User Profile Screen'),
),
);
}
}

View File

@ -1,17 +0,0 @@
import 'package:flutter/material.dart';
class UserScreen extends StatelessWidget {
const UserScreen({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('User Screen'),
),
body: const Center(
child: Text('User Screen'),
),
);
}
}

View File

@ -7,7 +7,7 @@ project(runner LANGUAGES CXX)
set(BINARY_NAME "telemednet")
# The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
set(APPLICATION_ID "com.cosqnet.telemednet")
set(APPLICATION_ID "com.cosqnet.medoraprovider")
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.

View File

@ -385,7 +385,7 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.telemednet.RunnerTests;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.medoraprovider.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/telemednet.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/telemednet";
@ -399,7 +399,7 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.telemednet.RunnerTests;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.medoraprovider.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/telemednet.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/telemednet";
@ -413,7 +413,7 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.telemednet.RunnerTests;
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.medoraprovider.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/telemednet.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/telemednet";

View File

@ -8,7 +8,7 @@
PRODUCT_NAME = telemednet
// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.telemednet
PRODUCT_BUNDLE_IDENTIFIER = com.cosqnet.medoraprovider
// The copyright displayed in application information
PRODUCT_COPYRIGHT = Copyright © 2024 com.cosqnet. All rights reserved.