diff --git a/.gitignore b/.gitignore index ebdaebb7..5178923f 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,7 @@ lib/generated_plugin_registrant.dart .vscode/settings.json .vscode/settings.json .vscode/settings.json +ios/Podfile.lock + +ios/Flutter/.last_build_id +ios/Runner.xcodeproj/project.pbxproj diff --git a/assets/fonts/DoctorApp.ttf b/assets/fonts/DoctorApp.ttf new file mode 100644 index 00000000..718a3afc Binary files /dev/null and b/assets/fonts/DoctorApp.ttf differ diff --git a/assets/images/cs_logo_container.png b/assets/images/cs_logo_container.png new file mode 100644 index 00000000..5f938580 Binary files /dev/null and b/assets/images/cs_logo_container.png differ diff --git a/assets/images/dashboard_icon/discharge_patient.svg b/assets/images/dashboard_icon/discharge_patient.svg deleted file mode 100644 index 68186c51..00000000 --- a/assets/images/dashboard_icon/discharge_patient.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/dashboard_icon/home_icon.svg b/assets/images/dashboard_icon/home_icon.svg deleted file mode 100644 index 32597a47..00000000 --- a/assets/images/dashboard_icon/home_icon.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/assets/images/dashboard_icon/home_icon_active.svg b/assets/images/dashboard_icon/home_icon_active.svg deleted file mode 100644 index 31b47d99..00000000 --- a/assets/images/dashboard_icon/home_icon_active.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/assets/images/dashboard_icon/in_patient_white.svg b/assets/images/dashboard_icon/in_patient_white.svg deleted file mode 100644 index d648f62c..00000000 --- a/assets/images/dashboard_icon/in_patient_white.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/assets/images/dashboard_icon/lab_results.svg b/assets/images/dashboard_icon/lab_results.svg deleted file mode 100644 index 353c6a19..00000000 --- a/assets/images/dashboard_icon/lab_results.svg +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/dashboard_icon/menu_icon.svg b/assets/images/dashboard_icon/menu_icon.svg deleted file mode 100644 index 0a62759b..00000000 --- a/assets/images/dashboard_icon/menu_icon.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/dashboard_icon/menu_icon_active.svg b/assets/images/dashboard_icon/menu_icon_active.svg deleted file mode 100644 index b565b40a..00000000 --- a/assets/images/dashboard_icon/menu_icon_active.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/dashboard_icon/message_icon.svg b/assets/images/dashboard_icon/message_icon.svg deleted file mode 100644 index d200320b..00000000 --- a/assets/images/dashboard_icon/message_icon.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/assets/images/dashboard_icon/message_icon_active.svg b/assets/images/dashboard_icon/message_icon_active.svg deleted file mode 100644 index 87759ec7..00000000 --- a/assets/images/dashboard_icon/message_icon_active.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/assets/images/dashboard_icon/operations.svg b/assets/images/dashboard_icon/operations.svg deleted file mode 100644 index 1dc283cc..00000000 --- a/assets/images/dashboard_icon/operations.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/assets/images/dashboard_icon/out_patient.svg b/assets/images/dashboard_icon/out_patient.svg deleted file mode 100644 index bc0a7a9b..00000000 --- a/assets/images/dashboard_icon/out_patient.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/assets/images/dashboard_icon/patient.svg b/assets/images/dashboard_icon/patient.svg deleted file mode 100644 index 40082dcc..00000000 --- a/assets/images/dashboard_icon/patient.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/assets/images/dashboard_icon/qr-code.svg b/assets/images/dashboard_icon/qr-code.svg deleted file mode 100644 index a85e6e63..00000000 --- a/assets/images/dashboard_icon/qr-code.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/images/dashboard_icon/radiology.svg b/assets/images/dashboard_icon/radiology.svg deleted file mode 100644 index e8e45723..00000000 --- a/assets/images/dashboard_icon/radiology.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/dashboard_icon/referral.svg b/assets/images/dashboard_icon/referral.svg deleted file mode 100644 index bdf4d096..00000000 --- a/assets/images/dashboard_icon/referral.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/assets/images/dashboard_icon/scdedule_icon_active.svg b/assets/images/dashboard_icon/scdedule_icon_active.svg deleted file mode 100644 index 5c3fc7ae..00000000 --- a/assets/images/dashboard_icon/scdedule_icon_active.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/assets/images/dashboard_icon/schedule_icon.svg b/assets/images/dashboard_icon/schedule_icon.svg deleted file mode 100644 index 10b78b14..00000000 --- a/assets/images/dashboard_icon/schedule_icon.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/assets/images/dashboard_icon/search_patient.svg b/assets/images/dashboard_icon/search_patient.svg deleted file mode 100644 index 92c1ca4b..00000000 --- a/assets/images/dashboard_icon/search_patient.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/images/logo.png b/assets/images/logo.png new file mode 100644 index 00000000..bf41f8e8 Binary files /dev/null and b/assets/images/logo.png differ diff --git a/assets/images/undraw_connected_world_wuay.png b/assets/images/undraw_connected_world_wuay.png new file mode 100644 index 00000000..f1bd3f00 Binary files /dev/null and b/assets/images/undraw_connected_world_wuay.png differ diff --git a/fonts/DoctorApp.ttf b/fonts/DoctorApp.ttf deleted file mode 100644 index b7fa0f30..00000000 Binary files a/fonts/DoctorApp.ttf and /dev/null differ diff --git a/icons_app/config.json b/icons_app/config.json deleted file mode 100644 index d863816c..00000000 --- a/icons_app/config.json +++ /dev/null @@ -1,192 +0,0 @@ -{ - "name": "DoctorApp", - "css_prefix_text": "", - "css_use_suffix": false, - "hinting": true, - "units_per_em": 1000, - "ascent": 850, - "glyphs": [ - { - "uid": "9caed7b74de0f5a625ccb960f00d9c8d", - "css": "femaleicon", - "code": 59392, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M543.9 587C543.6 583.8 543.4 578.5 543.2 573 596.5 567.8 633.8 555.9 633.8 542 633.6 542 633.6 541.5 633.6 541.2 593.9 507.7 668.1 269.7 529.9 274.6 521.2 267.7 505.9 261.6 484.2 261.6 296.9 274.9 379.7 499.6 337 542 337 542 337 542 336.9 542 336.9 542 336.9 542 336.9 542.2 336.9 542.2 336.9 542.2 336.9 542.2S336.9 542.2 336.9 542.2C337 555.8 373.1 567.4 424.9 572.7 424.7 576.1 424.5 580.1 423.8 587 402.3 640.9 257.6 625.8 250.8 729.7H716.2C709.6 625.8 565.4 640.9 543.9 587Z", - "width": 986 - }, - "search": [ - "femaleicon" - ] - }, - { - "uid": "d30b03087b318086eb4f93c8ee4f0cf3", - "css": "male", - "code": 59393, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M493.2 537.2C568.8 537.2 630.1 475.9 630.1 400.3S568.8 263.5 493.2 263.5 356.4 324.7 356.4 400.4C356.5 475.9 417.7 537.2 493.2 537.2ZM614.9 567.6H562.6C518.6 587.8 468 587.8 424.1 567.6H371.6C304.5 567.6 250 622 250 689.2V704.5C250 729.6 270.4 750 295.7 750.1H690.9C716.1 750.1 736.5 729.7 736.6 704.5V689.2C736.5 622 682 567.6 614.9 567.6Z", - "width": 986 - }, - "search": [ - "male" - ] - }, - { - "uid": "06d6838cdcf6af812f2eb51e0269afc0", - "css": "home_icon_active", - "code": 59395, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M973.1 435L973.1 435 565 27A92.1 92.1 0 0 0 434.9 27L27.1 434.7 26.7 435.1A92 92 0 0 0 88 592C88.9 592 89.9 592 90.8 592H107.1V892.2A107.9 107.9 0 0 0 214.8 999.9H374.4A29.3 29.3 0 0 0 403.7 970.6V735.4A49.2 49.2 0 0 1 452.9 686.2H547A49.2 49.2 0 0 1 596.2 735.4V970.7A29.3 29.3 0 0 0 625.5 1000H785.1A107.9 107.9 0 0 0 892.8 892.3V592.1H907.8A92.1 92.1 0 0 0 973 434.9ZM931.6 523.7A33.4 33.4 0 0 1 907.9 533.5H863.5A29.3 29.3 0 0 0 834.2 562.8V892.3A49.2 49.2 0 0 1 785.1 941.5H654.9V735.4A107.9 107.9 0 0 0 547 627.5H452.9A107.9 107.9 0 0 0 345.1 735.2V941.3H214.9A49.2 49.2 0 0 1 165.8 892.1V562.8A29.3 29.3 0 0 0 136.5 533.5H92.8L91.4 533.5A33.4 33.4 0 0 1 68.3 476.4H68.3L476.3 68.4A33.4 33.4 0 0 1 523.6 68.4L931.4 476.2 931.6 476.4A33.4 33.4 0 0 1 931.6 523.7ZM931.6 523.7", - "width": 1000 - }, - "search": [ - "home_icon_active" - ] - }, - { - "uid": "1ab45bf5797fa9ab96b13fccd2be2b3c", - "css": "menu_icon", - "code": 59396, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M406.7 0H83.2A83.3 83.3 0 0 0 0 83.2V406.7A83.3 83.3 0 0 0 83.2 489.9H406.7A83.3 83.3 0 0 0 489.9 406.7V83.2A83.3 83.3 0 0 0 406.7 0ZM406.7 449.1H83.2A42.4 42.4 0 0 1 40.8 406.7V83.2A42.4 42.4 0 0 1 83.2 40.8H406.7A42.4 42.4 0 0 1 449 83.2V406.7H449A42.4 42.4 0 0 1 406.7 449.1ZM916.8 0H593.3A83.3 83.3 0 0 0 510.1 83.2V406.7A83.3 83.3 0 0 0 593.3 489.9H916.8A83.3 83.3 0 0 0 1000 406.7V83.2A83.3 83.3 0 0 0 916.8 0ZM959.1 406.7A42.4 42.4 0 0 1 916.8 449.1H593.3A42.4 42.4 0 0 1 550.9 406.7V83.2A42.4 42.4 0 0 1 593.3 40.8H916.8A42.4 42.4 0 0 1 959.1 83.2ZM406.7 510.1H83.2A83.3 83.3 0 0 0 0 593.3V916.8A83.3 83.3 0 0 0 83.2 1000H406.7A83.3 83.3 0 0 0 489.9 916.8V593.3A83.3 83.3 0 0 0 406.7 510.1ZM406.7 959.2H83.2A42.4 42.4 0 0 1 40.8 916.8V593.3A42.4 42.4 0 0 1 83.2 550.9H406.7A42.4 42.4 0 0 1 449 593.3V916.8H449A42.4 42.4 0 0 1 406.7 959.1ZM916.8 510.1H593.3A83.3 83.3 0 0 0 510.1 593.3V916.8A83.3 83.3 0 0 0 593.3 1000H916.8A83.3 83.3 0 0 0 1000 916.8V593.3A83.3 83.3 0 0 0 916.8 510.1ZM959.1 916.8A42.4 42.4 0 0 1 916.8 959.2H593.3A42.4 42.4 0 0 1 550.9 916.8V593.3A42.4 42.4 0 0 1 593.3 550.9H916.8A42.4 42.4 0 0 1 959.1 593.3Z", - "width": 1000 - }, - "search": [ - "menu_icon" - ] - }, - { - "uid": "31c2eb5f0f3a8d8d17c7b439045d641f", - "css": "menu_icon_active", - "code": 59397, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M406.7 0H83.2A83.3 83.3 0 0 0 0 83.2V406.7A83.3 83.3 0 0 0 83.2 489.9H406.7A83.3 83.3 0 0 0 489.9 406.7V83.2A83.3 83.3 0 0 0 406.7 0ZM406.7 449.1H83.2A42.4 42.4 0 0 1 40.8 406.7V83.2A42.4 42.4 0 0 1 83.2 40.8H406.7A42.4 42.4 0 0 1 449 83.2V406.7H449A42.4 42.4 0 0 1 406.7 449.1ZM916.8 0H593.3A83.3 83.3 0 0 0 510.1 83.2V406.7A83.3 83.3 0 0 0 593.3 489.9H916.8A83.3 83.3 0 0 0 1000 406.7V83.2A83.3 83.3 0 0 0 916.8 0ZM959.1 406.7A42.4 42.4 0 0 1 916.8 449.1H593.3A42.4 42.4 0 0 1 550.9 406.7V83.2A42.4 42.4 0 0 1 593.3 40.8H916.8A42.4 42.4 0 0 1 959.1 83.2ZM406.7 510.1H83.2A83.3 83.3 0 0 0 0 593.3V916.8A83.3 83.3 0 0 0 83.2 1000H406.7A83.3 83.3 0 0 0 489.9 916.8V593.3A83.3 83.3 0 0 0 406.7 510.1ZM406.7 959.2H83.2A42.4 42.4 0 0 1 40.8 916.8V593.3A42.4 42.4 0 0 1 83.2 550.9H406.7A42.4 42.4 0 0 1 449 593.3V916.8H449A42.4 42.4 0 0 1 406.7 959.1ZM916.8 510.1H593.3A83.3 83.3 0 0 0 510.1 593.3V916.8A83.3 83.3 0 0 0 593.3 1000H916.8A83.3 83.3 0 0 0 1000 916.8V593.3A83.3 83.3 0 0 0 916.8 510.1ZM959.1 916.8A42.4 42.4 0 0 1 916.8 959.2H593.3A42.4 42.4 0 0 1 550.9 916.8V593.3A42.4 42.4 0 0 1 593.3 550.9H916.8A42.4 42.4 0 0 1 959.1 593.3Z", - "width": 1000 - }, - "search": [ - "menu_icon_active" - ] - }, - { - "uid": "174fb3d81ce317465a3bfa96c20a84fa", - "css": "message_icon", - "code": 59398, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M1182.9 44.3A100 100 0 0 0 1099.9 0.1H100A100 100 0 0 0 0 100V900A100 100 0 0 0 100 1000H1110.4A100 100 0 0 0 1200 900V100A100 100 0 0 0 1182.9 44.3ZM99.9 40H1100A60 60 0 0 1 1138.8 54.2L1061.2 128.2 734 440 612.8 555.7A20 20 0 0 1 589 555.7L466 440 60 54.3A60 60 0 0 1 100 40ZM39.9 90.4L423.2 454 40 820V100A59.7 59.7 0 0 1 40 90.4ZM1160 900A60 60 0 0 1 1107.6 960H100A60 60 0 0 1 40 900V874.6L452.2 481.6 562.4 586.4A60 60 0 0 0 571 592.2 58.4 58.4 0 0 0 600 600 63 63 0 0 0 640 586L748.8 482.4 1160 874.2ZM1160 100V819L776.8 454.7 1160 90.1A61.4 61.4 0 0 1 1160 100Z", - "width": 1200 - }, - "search": [ - "message_icon" - ] - }, - { - "uid": "67294966cf1313317b699a3c127bde7e", - "css": "message_icon_active", - "code": 59399, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M1182.9 44.3A100 100 0 0 0 1099.9 0.1H100A100 100 0 0 0 0 100V900A100 100 0 0 0 100 1000H1110.4A100 100 0 0 0 1200 900V100A100 100 0 0 0 1182.9 44.3ZM99.9 40H1100A60 60 0 0 1 1138.8 54.2L1061.2 128.2 734 440 612.8 555.7A20 20 0 0 1 589 555.7L466 440 60 54.3A60 60 0 0 1 100 40ZM39.9 90.4L423.2 454 40 820V100A59.7 59.7 0 0 1 40 90.4ZM1160 900A60 60 0 0 1 1107.6 960H100A60 60 0 0 1 40 900V874.6L452.2 481.6 562.4 586.4A60 60 0 0 0 571 592.2 58.4 58.4 0 0 0 600 600 63 63 0 0 0 640 586L748.8 482.4 1160 874.2ZM1160 100V819L776.8 454.7 1160 90.1A61.4 61.4 0 0 1 1160 100Z", - "width": 1200 - }, - "search": [ - "message_icon_active" - ] - }, - { - "uid": "dbebba4fbd61d05cd5150c5555ab572e", - "css": "scdedule_icon_active", - "code": 59400, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M445.8 693.2A28.8 28.8 0 0 0 486.5 693.2L589.2 590.5A28.8 28.8 0 1 0 548.5 549.8L466.1 632.1 428.6 594.6A28.8 28.8 0 1 0 387.9 635.2ZM445.8 693.2M488.5 849.9A228.4 228.4 0 1 0 260.1 621.5 228.7 228.7 0 0 0 488.5 849.9ZM488.5 450.6A170.8 170.8 0 1 1 317.6 621.5 171 171 0 0 1 488.5 450.6ZM488.5 450.6M881.5 62.9H827.7V29.5A29.5 29.5 0 0 0 768.6 29.5V62.9H710.6V29.5A29.5 29.5 0 0 0 651.5 29.5V62.9H325.5V29.5A29.5 29.5 0 0 0 266.4 29.5V62.9H208.4V29.5A29.5 29.5 0 0 0 149.4 29.5V62.9H95.5A95.6 95.6 0 0 0 0 158.4V904.5A95.6 95.6 0 0 0 95.5 1000H881.5A95.6 95.6 0 0 0 976.9 904.5V158.4A95.6 95.6 0 0 0 881.5 62.9ZM918 904.5A36.5 36.5 0 0 1 881.5 940.9H95.5A36.5 36.5 0 0 1 59 904.5V308.4H917.9ZM59.1 158.4A36.5 36.5 0 0 1 95.5 121.9H149.4V155.3A29.5 29.5 0 0 0 208.4 155.3V121.9H266.4V155.3A29.5 29.5 0 0 0 325.5 155.3V121.9H651.5V155.3A29.5 29.5 0 0 0 710.6 155.3V121.9H768.6V155.3A29.5 29.5 0 0 0 827.7 155.3V121.9H881.5A36.5 36.5 0 0 1 918 158.4V249.3H59.1ZM59.1 158.4", - "width": 977 - }, - "search": [ - "scdedule_icon_active" - ] - }, - { - "uid": "f94c7f2a567a023799a9f230b749c677", - "css": "schedule_icon", - "code": 59401, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M444.6 698.3A29.5 29.5 0 0 0 486.4 698.3L591.8 592.8A29.5 29.5 0 0 0 550.1 551L465.5 635.6 427 597A29.5 29.5 0 0 0 385.2 638.8ZM444.6 698.3M488.5 859.1A234.4 234.4 0 1 0 254.1 624.7 234.7 234.7 0 0 0 488.5 859.1ZM488.5 449.3A175.4 175.4 0 1 1 313.2 624.7 175.5 175.5 0 0 1 488.5 449.3ZM488.5 449.3M881.5 62.9H827.7V29.5A29.5 29.5 0 1 0 768.6 29.5V62.9H710.6V29.5A29.5 29.5 0 0 0 651.5 29.5V62.9H325.5V29.5A29.5 29.5 0 0 0 266.4 29.5V62.9H208.4V29.5A29.5 29.5 0 0 0 149.4 29.5V62.9H95.5A95.6 95.6 0 0 0 0 158.4V904.5A95.6 95.6 0 0 0 95.5 1000H881.5A95.6 95.6 0 0 0 976.9 904.5V158.4A95.6 95.6 0 0 0 881.5 62.9ZM918 904.5A36.5 36.5 0 0 1 881.5 940.9H95.5A36.5 36.5 0 0 1 59 904.5V308.4H917.9ZM59.1 158.4A36.5 36.5 0 0 1 95.5 121.9H149.4V155.3A29.5 29.5 0 0 0 208.4 155.3V121.9H266.4V155.3A29.5 29.5 0 0 0 325.5 155.3V121.9H651.5V155.3A29.5 29.5 0 0 0 710.6 155.3V121.9H768.6V155.3A29.5 29.5 0 0 0 827.7 155.3V121.9H881.5A36.5 36.5 0 0 1 918 158.4V249.3H59.1ZM59.1 158.4", - "width": 977 - }, - "search": [ - "schedule_icon" - ] - }, - { - "uid": "5a324eddf382f5a1167d7d40325f82c8", - "css": "reject_icon", - "code": 59402, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M681 626.7L554.3 500 681 373.3A38.5 38.5 0 0 0 626.7 318.9L500 445.7 373.3 319A38.5 38.5 0 1 0 318.9 373.3L445.7 500 318.9 626.8A37.2 37.2 0 0 0 318.9 681.1 38.2 38.2 0 0 0 373.3 681.1L500 554.4 626.7 681.1A38.5 38.5 0 0 0 681.1 681.1 38.2 38.2 0 0 0 681 626.7ZM500 67.3A432.5 432.5 0 1 1 194 194 429.8 429.8 0 0 1 500 67.3M500 0A500 500 0 1 0 1000 500 500 500 0 0 0 500 0Z", - "width": 1000 - }, - "search": [ - "reject_icon" - ] - }, - { - "uid": "2742f64b5e69cc4f39a2dcc5a081ad03", - "css": "approved_icon", - "code": 59403, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M756.3 348.3L714 304.8A9.1 9.1 0 0 0 707.2 302H707.2A8.7 8.7 0 0 0 700.5 304.8L407.2 600.3 300.5 493.5A9.3 9.3 0 0 0 287.1 493.5L244.2 536.3A9.6 9.6 0 0 0 244.2 550L378.8 684.5A42.6 42.6 0 0 0 406.9 698.2 44.6 44.6 0 0 0 434.8 685H435L756.5 362A10.3 10.3 0 0 0 756.3 348.3ZM500 67.3A432.5 432.5 0 1 1 194 194 429.8 429.8 0 0 1 500 67.3M500 0A499.9 499.9 0 1 0 999.9 500 499.9 499.9 0 0 0 500 0Z", - "width": 1000 - }, - "search": [ - "approved_icon" - ] - }, - { - "uid": "148de09f7fd22c378cdfdbaacaa8e205", - "css": "pending_icon", - "code": 59404, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M809.8 932H797.3C781.5 932 768.2 929.8 766.5 914V913.7C731 583.9 523.3 577.6 523.3 499.9S731.1 415.9 766.5 86V85.9C768.2 70.1 781.5 68 797.3 68H809.8A34.8 34.8 0 0 0 844.7 35.7 34 34 0 0 0 810.7 0H35A34.8 34.8 0 0 0 0 32.3 34 34 0 0 0 34 68H47.2C63 68 76.3 70.2 78.1 85.9V86.2C113.7 416 321.5 422.3 321.5 500S113.7 584 78.3 913.8V914C76.6 929.8 63.3 932 47.5 932H35A34.8 34.8 0 0 0 0.1 964.3 34 34 0 0 0 34.1 1000H810.7A33.9 33.9 0 0 0 844.7 964.3 34.8 34.8 0 0 0 809.8 932ZM197.4 848.9C267 655.2 390.6 678.7 390.6 602.3V467.5C390.6 420.4 301.2 387.6 245.4 311.1A19 19 0 0 1 261.2 281H583.8A18.9 18.9 0 0 1 600 310.6C545.2 387.3 454.2 420.4 454.2 467.4V602.4C454.2 678.1 572.9 657.5 647.8 849 654.7 866.3 649.5 887.8 631.2 887.8H214.1C195.4 887.8 191.1 866.5 197.4 849Z", - "width": 845 - }, - "search": [ - "pending_icon" - ] - }, - { - "uid": "0bbb324cc39e62b3a4e05639a4f4008f", - "css": "home_icon", - "code": 59394, - "src": "custom_icons", - "selected": true, - "svg": { - "path": "M973.1 435L973.1 435 565 27A92 92 0 0 0 434.9 27L27.2 434.7 26.8 435.1A92 92 0 0 0 88 591.9C88.9 591.9 89.9 591.9 90.8 591.9H107.1V892.1A107.9 107.9 0 0 0 214.8 999.9H374.4A29.3 29.3 0 0 0 403.7 970.6V735.3A49.2 49.2 0 0 1 452.9 686.2H547A49.2 49.2 0 0 1 596.2 735.3V970.7A29.3 29.3 0 0 0 625.5 1000H785.1A107.9 107.9 0 0 0 892.8 892.3V592H907.8A92.1 92.1 0 0 0 973 434.9ZM931.6 523.7A33.4 33.4 0 0 1 907.9 533.5H863.5A29.3 29.3 0 0 0 834.2 562.8V892.3A49.2 49.2 0 0 1 785.1 941.4H654.9V735.3A107.9 107.9 0 0 0 547 627.5H452.9A107.9 107.9 0 0 0 345.1 735.2V941.3H215A49.2 49.2 0 0 1 165.8 892.1V562.8A29.3 29.3 0 0 0 136.5 533.5H92.8L91.4 533.5A33.4 33.4 0 0 1 68.4 476.4H68.4L476.3 68.4A33.4 33.4 0 0 1 523.6 68.4L931.4 476.2 931.6 476.4A33.4 33.4 0 0 1 931.6 523.7ZM931.6 523.7", - "width": 1000 - }, - "search": [ - "home_icon" - ] - } - ] -} \ No newline at end of file diff --git a/lib/client/base_app_client.dart b/lib/client/base_app_client.dart index c5ef0ced..6e0914f8 100644 --- a/lib/client/base_app_client.dart +++ b/lib/client/base_app_client.dart @@ -2,7 +2,7 @@ import 'dart:convert'; import 'package:doctor_app_flutter/config/config.dart'; import 'package:doctor_app_flutter/config/shared_pref_kay.dart'; -import 'package:doctor_app_flutter/models/doctor_profile_model.dart'; +import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart'; import 'package:doctor_app_flutter/util/dr_app_shared_pref.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:http/http.dart' as http; diff --git a/lib/config/config.dart b/lib/config/config.dart index 1a4b5694..d3f1e95d 100644 --- a/lib/config/config.dart +++ b/lib/config/config.dart @@ -13,9 +13,12 @@ const PATIENT_INSURANCE_APPROVALS_URL = const PATIENT_ORDERS_URL = "DoctorApplication.svc/REST/GetProgressNoteForInPatient"; const PATIENT_REFER_TO_DOCTOR_URL = "DoctorApplication.svc/REST/ReferToDoctor"; -const PATIENT_GET_DOCTOR_BY_CLINIC_URL = "DoctorApplication.svc/REST/GetDoctorsByClinicID"; -const PATIENT_GET_LIST_REFERAL_URL = "Lists.svc/REST/GetList_STPReferralFrequency"; -const PATIENT_GET_CLINIC_BY_PROJECT_URL = "DoctorApplication.svc/REST/GetClinicsByProjectID"; +const PATIENT_GET_DOCTOR_BY_CLINIC_URL = + "DoctorApplication.svc/REST/GetDoctorsByClinicID"; +const PATIENT_GET_LIST_REFERAL_URL = + "Lists.svc/REST/GetList_STPReferralFrequency"; +const PATIENT_GET_CLINIC_BY_PROJECT_URL = + "DoctorApplication.svc/REST/GetClinicsByProjectID"; const GET_PROJECTS = 'Lists.svc/REST/GetProjectForDoctorAPP'; const GET_PATIENT_VITAL_SIGN = 'Doctors.svc/REST/Doctor_GetPatientVitalSign'; @@ -71,6 +74,7 @@ const PATIENT_OUT_SA = false; /// Timer Info const TIMER_MIN = 10; -class AppGlobal{ -static var CONTEX; + +class AppGlobal { + static var CONTEX; } diff --git a/lib/icons_app/config.json b/lib/icons_app/config.json new file mode 100644 index 00000000..0e33e54a --- /dev/null +++ b/lib/icons_app/config.json @@ -0,0 +1,430 @@ +{ + "name": "DoctorApp", + "css_prefix_text": "", + "css_use_suffix": false, + "hinting": true, + "units_per_em": 1000, + "ascent": 850, + "glyphs": [ + { + "uid": "9caed7b74de0f5a625ccb960f00d9c8d", + "css": "femaleicon", + "code": 59392, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M543.9 587C543.6 583.8 543.4 578.5 543.2 573 596.5 567.8 633.8 555.9 633.8 542 633.6 542 633.6 541.5 633.6 541.2 593.9 507.7 668.1 269.7 529.9 274.6 521.2 267.7 505.9 261.6 484.2 261.6 296.9 274.9 379.7 499.6 337 542 337 542 337 542 336.9 542 336.9 542 336.9 542 336.9 542.2 336.9 542.2 336.9 542.2 336.9 542.2S336.9 542.2 336.9 542.2C337 555.8 373.1 567.4 424.9 572.7 424.7 576.1 424.5 580.1 423.8 587 402.3 640.9 257.6 625.8 250.8 729.7H716.2C709.6 625.8 565.4 640.9 543.9 587Z", + "width": 986 + }, + "search": [ + "femaleicon" + ] + }, + { + "uid": "d30b03087b318086eb4f93c8ee4f0cf3", + "css": "male", + "code": 59393, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M493.2 537.2C568.8 537.2 630.1 475.9 630.1 400.3S568.8 263.5 493.2 263.5 356.4 324.7 356.4 400.4C356.5 475.9 417.7 537.2 493.2 537.2ZM614.9 567.6H562.6C518.6 587.8 468 587.8 424.1 567.6H371.6C304.5 567.6 250 622 250 689.2V704.5C250 729.6 270.4 750 295.7 750.1H690.9C716.1 750.1 736.5 729.7 736.6 704.5V689.2C736.5 622 682 567.6 614.9 567.6Z", + "width": 986 + }, + "search": [ + "male" + ] + }, + { + "uid": "06d6838cdcf6af812f2eb51e0269afc0", + "css": "home_icon_active", + "code": 59395, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M973.1 435L973.1 435 565 27A92.1 92.1 0 0 0 434.9 27L27.1 434.7 26.7 435.1A92 92 0 0 0 88 592C88.9 592 89.9 592 90.8 592H107.1V892.2A107.9 107.9 0 0 0 214.8 999.9H374.4A29.3 29.3 0 0 0 403.7 970.6V735.4A49.2 49.2 0 0 1 452.9 686.2H547A49.2 49.2 0 0 1 596.2 735.4V970.7A29.3 29.3 0 0 0 625.5 1000H785.1A107.9 107.9 0 0 0 892.8 892.3V592.1H907.8A92.1 92.1 0 0 0 973 434.9ZM931.6 523.7A33.4 33.4 0 0 1 907.9 533.5H863.5A29.3 29.3 0 0 0 834.2 562.8V892.3A49.2 49.2 0 0 1 785.1 941.5H654.9V735.4A107.9 107.9 0 0 0 547 627.5H452.9A107.9 107.9 0 0 0 345.1 735.2V941.3H214.9A49.2 49.2 0 0 1 165.8 892.1V562.8A29.3 29.3 0 0 0 136.5 533.5H92.8L91.4 533.5A33.4 33.4 0 0 1 68.3 476.4H68.3L476.3 68.4A33.4 33.4 0 0 1 523.6 68.4L931.4 476.2 931.6 476.4A33.4 33.4 0 0 1 931.6 523.7ZM931.6 523.7", + "width": 1000 + }, + "search": [ + "home_icon_active" + ] + }, + { + "uid": "1ab45bf5797fa9ab96b13fccd2be2b3c", + "css": "menu_icon", + "code": 59396, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M406.7 0H83.2A83.3 83.3 0 0 0 0 83.2V406.7A83.3 83.3 0 0 0 83.2 489.9H406.7A83.3 83.3 0 0 0 489.9 406.7V83.2A83.3 83.3 0 0 0 406.7 0ZM406.7 449.1H83.2A42.4 42.4 0 0 1 40.8 406.7V83.2A42.4 42.4 0 0 1 83.2 40.8H406.7A42.4 42.4 0 0 1 449 83.2V406.7H449A42.4 42.4 0 0 1 406.7 449.1ZM916.8 0H593.3A83.3 83.3 0 0 0 510.1 83.2V406.7A83.3 83.3 0 0 0 593.3 489.9H916.8A83.3 83.3 0 0 0 1000 406.7V83.2A83.3 83.3 0 0 0 916.8 0ZM959.1 406.7A42.4 42.4 0 0 1 916.8 449.1H593.3A42.4 42.4 0 0 1 550.9 406.7V83.2A42.4 42.4 0 0 1 593.3 40.8H916.8A42.4 42.4 0 0 1 959.1 83.2ZM406.7 510.1H83.2A83.3 83.3 0 0 0 0 593.3V916.8A83.3 83.3 0 0 0 83.2 1000H406.7A83.3 83.3 0 0 0 489.9 916.8V593.3A83.3 83.3 0 0 0 406.7 510.1ZM406.7 959.2H83.2A42.4 42.4 0 0 1 40.8 916.8V593.3A42.4 42.4 0 0 1 83.2 550.9H406.7A42.4 42.4 0 0 1 449 593.3V916.8H449A42.4 42.4 0 0 1 406.7 959.1ZM916.8 510.1H593.3A83.3 83.3 0 0 0 510.1 593.3V916.8A83.3 83.3 0 0 0 593.3 1000H916.8A83.3 83.3 0 0 0 1000 916.8V593.3A83.3 83.3 0 0 0 916.8 510.1ZM959.1 916.8A42.4 42.4 0 0 1 916.8 959.2H593.3A42.4 42.4 0 0 1 550.9 916.8V593.3A42.4 42.4 0 0 1 593.3 550.9H916.8A42.4 42.4 0 0 1 959.1 593.3Z", + "width": 1000 + }, + "search": [ + "menu_icon" + ] + }, + { + "uid": "174fb3d81ce317465a3bfa96c20a84fa", + "css": "message_icon", + "code": 59398, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M1182.9 44.3A100 100 0 0 0 1099.9 0.1H100A100 100 0 0 0 0 100V900A100 100 0 0 0 100 1000H1110.4A100 100 0 0 0 1200 900V100A100 100 0 0 0 1182.9 44.3ZM99.9 40H1100A60 60 0 0 1 1138.8 54.2L1061.2 128.2 734 440 612.8 555.7A20 20 0 0 1 589 555.7L466 440 60 54.3A60 60 0 0 1 100 40ZM39.9 90.4L423.2 454 40 820V100A59.7 59.7 0 0 1 40 90.4ZM1160 900A60 60 0 0 1 1107.6 960H100A60 60 0 0 1 40 900V874.6L452.2 481.6 562.4 586.4A60 60 0 0 0 571 592.2 58.4 58.4 0 0 0 600 600 63 63 0 0 0 640 586L748.8 482.4 1160 874.2ZM1160 100V819L776.8 454.7 1160 90.1A61.4 61.4 0 0 1 1160 100Z", + "width": 1200 + }, + "search": [ + "message_icon" + ] + }, + { + "uid": "f2ad4d0db965156a40b80bb175e15240", + "css": "discharge_patient", + "code": 59402, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M1080.3 903.6H1059.9V694.9A80.5 80.5 0 0 0 979.6 614.6H929.9A80.5 80.5 0 0 0 899.3 566.4V384.4A59 59 0 0 0 840.5 325.5H733.4A59 59 0 0 0 674.5 384.4V502.2A16.1 16.1 0 1 0 706.6 502.2V384.4A26.8 26.8 0 0 1 733.4 357.6H840.5A26.8 26.8 0 0 1 867.3 384.4V552A80.5 80.5 0 0 0 851.2 550.4H642.4V463.6A80.5 80.5 0 0 0 562.1 383.3H417.6V315.9A59 59 0 0 0 358.7 256.9H251.6A59 59 0 0 0 195.1 299.2 176.8 176.8 0 0 1 32.1 123.1 16.1 16.1 0 0 0 0 123.1 209.1 209.1 0 0 0 192.7 331.2V529.9A112 112 0 0 0 224.7 608.5V771.3L131.1 910.7A16.1 16.1 0 0 0 128.3 919.7V983.9A16.1 16.1 0 0 0 160.5 983.9V924.5L254.2 785.2A16 16 0 0 0 257 776.2V631.5A112.2 112.2 0 0 0 353.4 631.5V962.5A16.1 16.1 0 0 0 364.5 977.7L428.7 999.1A16.1 16.1 0 1 0 438.8 968.6L385.6 950.9V608.5A112 112 0 0 0 417.7 530V415.4H562.3A48.2 48.2 0 0 1 610.4 463.6V625.9A187.3 187.3 0 1 0 810.2 775.1H899.6V841A80.3 80.3 0 1 0 994.3 935.7H1080.5A16.1 16.1 0 0 0 1080.5 903.6ZM305.2 610.3A80.5 80.5 0 0 1 226.5 546H383.8A80.5 80.5 0 0 1 305.2 610.3ZM385.5 513.9H224.7V315.9A26.8 26.8 0 0 1 251.5 289.1H289V337.4A16.1 16.1 0 0 0 321.1 337.4V289.1H358.6A26.8 26.8 0 0 1 385.4 315.9ZM706.7 582.5H851.3A48.2 48.2 0 0 1 899.5 630.7V678.8H786.9A80.5 80.5 0 0 1 706.6 598.6ZM642.5 582.5H674.6V598.5A112 112 0 0 0 680.2 633.1 186 186 0 0 0 642.6 626ZM626.4 967.9A155.4 155.4 0 1 1 781.8 812.5 155.4 155.4 0 0 1 626.4 967.9ZM800.4 743.2A187 187 0 0 0 783.7 711H899.5V743.2ZM915.5 967.9A48.2 48.2 0 1 1 963.7 919.7 48.2 48.2 0 0 1 915.4 967.9ZM1027.9 903.7H994.1A80.5 80.5 0 0 0 931.5 841V646.8H979.7A48.2 48.2 0 0 1 1027.9 695ZM786.9 68.6A112.6 112.6 0 0 0 677.8 154.3 69.6 69.6 0 1 0 726.3 275.6 112.4 112.4 0 1 0 786.9 68.6ZM786.9 100.7A80.5 80.5 0 0 1 865.5 164 174.8 174.8 0 0 1 753.6 108 79.8 79.8 0 0 1 786.9 100.7ZM679.9 261.3A37.5 37.5 0 0 1 674.7 186.7 111.9 111.9 0 0 0 701.7 254.2 37.4 37.4 0 0 1 679.9 261.3ZM786.9 261.3A80.3 80.3 0 0 1 727.4 127.2 206.6 206.6 0 0 0 865.7 196.3 80.5 80.5 0 0 1 786.9 261.3ZM626.4 689.5A123.1 123.1 0 1 0 749.5 812.7 123.3 123.3 0 0 0 626.4 689.5ZM626.4 903.7A91 91 0 1 1 717.4 812.7 91.1 91.1 0 0 1 626.4 903.6ZM337.2 113A23.3 23.3 0 0 1 318.3 103.2 16.1 16.1 0 0 0 292 103.2 23.3 23.3 0 0 1 273 113 16.1 16.1 0 1 0 273 145.2 55.5 55.5 0 0 0 305.1 134.9 55.5 55.5 0 0 0 337.3 145.2 16.1 16.1 0 1 0 337.3 113ZM305.1 0A112.4 112.4 0 1 0 417.5 112.4 112.5 112.5 0 0 0 305.1 0ZM305.1 192.7A80.3 80.3 0 1 1 385.4 112.5 80.5 80.5 0 0 1 305.1 192.7Z", + "width": 1096 + }, + "search": [ + "discharge_patient" + ] + }, + { + "uid": "f94c7f2a567a023799a9f230b749c677", + "css": "schedule_icon", + "code": 59401, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M444.6 698.3A29.5 29.5 0 0 0 486.4 698.3L591.8 592.8A29.5 29.5 0 0 0 550.1 551L465.5 635.6 427 597A29.5 29.5 0 0 0 385.2 638.8ZM444.6 698.3M488.5 859.1A234.4 234.4 0 1 0 254.1 624.7 234.7 234.7 0 0 0 488.5 859.1ZM488.5 449.3A175.4 175.4 0 1 1 313.2 624.7 175.5 175.5 0 0 1 488.5 449.3ZM488.5 449.3M881.5 62.9H827.7V29.5A29.5 29.5 0 1 0 768.6 29.5V62.9H710.6V29.5A29.5 29.5 0 0 0 651.5 29.5V62.9H325.5V29.5A29.5 29.5 0 0 0 266.4 29.5V62.9H208.4V29.5A29.5 29.5 0 0 0 149.4 29.5V62.9H95.5A95.6 95.6 0 0 0 0 158.4V904.5A95.6 95.6 0 0 0 95.5 1000H881.5A95.6 95.6 0 0 0 976.9 904.5V158.4A95.6 95.6 0 0 0 881.5 62.9ZM918 904.5A36.5 36.5 0 0 1 881.5 940.9H95.5A36.5 36.5 0 0 1 59 904.5V308.4H917.9ZM59.1 158.4A36.5 36.5 0 0 1 95.5 121.9H149.4V155.3A29.5 29.5 0 0 0 208.4 155.3V121.9H266.4V155.3A29.5 29.5 0 0 0 325.5 155.3V121.9H651.5V155.3A29.5 29.5 0 0 0 710.6 155.3V121.9H768.6V155.3A29.5 29.5 0 0 0 827.7 155.3V121.9H881.5A36.5 36.5 0 0 1 918 158.4V249.3H59.1ZM59.1 158.4", + "width": 977 + }, + "search": [ + "schedule_icon" + ] + }, + { + "uid": "dbebba4fbd61d05cd5150c5555ab572e", + "css": "scdedule_icon_active", + "code": 59400, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M445.8 693.2A28.8 28.8 0 0 0 486.5 693.2L589.2 590.5A28.8 28.8 0 1 0 548.5 549.8L466.1 632.1 428.6 594.6A28.8 28.8 0 1 0 387.9 635.2ZM445.8 693.2M488.5 849.9A228.4 228.4 0 1 0 260.1 621.5 228.7 228.7 0 0 0 488.5 849.9ZM488.5 450.6A170.8 170.8 0 1 1 317.6 621.5 171 171 0 0 1 488.5 450.6ZM488.5 450.6M881.5 62.9H827.7V29.5A29.5 29.5 0 0 0 768.6 29.5V62.9H710.6V29.5A29.5 29.5 0 0 0 651.5 29.5V62.9H325.5V29.5A29.5 29.5 0 0 0 266.4 29.5V62.9H208.4V29.5A29.5 29.5 0 0 0 149.4 29.5V62.9H95.5A95.6 95.6 0 0 0 0 158.4V904.5A95.6 95.6 0 0 0 95.5 1000H881.5A95.6 95.6 0 0 0 976.9 904.5V158.4A95.6 95.6 0 0 0 881.5 62.9ZM918 904.5A36.5 36.5 0 0 1 881.5 940.9H95.5A36.5 36.5 0 0 1 59 904.5V308.4H917.9ZM59.1 158.4A36.5 36.5 0 0 1 95.5 121.9H149.4V155.3A29.5 29.5 0 0 0 208.4 155.3V121.9H266.4V155.3A29.5 29.5 0 0 0 325.5 155.3V121.9H651.5V155.3A29.5 29.5 0 0 0 710.6 155.3V121.9H768.6V155.3A29.5 29.5 0 0 0 827.7 155.3V121.9H881.5A36.5 36.5 0 0 1 918 158.4V249.3H59.1ZM59.1 158.4", + "width": 977 + }, + "search": [ + "scdedule_icon_active" + ] + }, + { + "uid": "67294966cf1313317b699a3c127bde7e", + "css": "message_icon_active", + "code": 59399, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M1182.9 44.3A100 100 0 0 0 1099.9 0.1H100A100 100 0 0 0 0 100V900A100 100 0 0 0 100 1000H1110.4A100 100 0 0 0 1200 900V100A100 100 0 0 0 1182.9 44.3ZM99.9 40H1100A60 60 0 0 1 1138.8 54.2L1061.2 128.2 734 440 612.8 555.7A20 20 0 0 1 589 555.7L466 440 60 54.3A60 60 0 0 1 100 40ZM39.9 90.4L423.2 454 40 820V100A59.7 59.7 0 0 1 40 90.4ZM1160 900A60 60 0 0 1 1107.6 960H100A60 60 0 0 1 40 900V874.6L452.2 481.6 562.4 586.4A60 60 0 0 0 571 592.2 58.4 58.4 0 0 0 600 600 63 63 0 0 0 640 586L748.8 482.4 1160 874.2ZM1160 100V819L776.8 454.7 1160 90.1A61.4 61.4 0 0 1 1160 100Z", + "width": 1200 + }, + "search": [ + "message_icon_active" + ] + }, + { + "uid": "d5276aeed9a2aead3e8b763de783f04e", + "css": "operations", + "code": 59411, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M166.4 983.8H859.2A452 452 0 0 0 166.4 983.8ZM275.2 471.7L231.5 515.4H230.7A154 154 0 0 0 76.7 669.5V780.4L330.4 526.7ZM335.1 554.4L353.5 536A50 50 0 0 0 385.5 547.8 50.8 50.8 0 0 0 421.1 533L436.4 517.8A50.3 50.3 0 0 0 518 533L575.8 475.3 735.4 547.8H884.3V596.2H1013.5V305.5H884.3V353.9H858.7L718 213.3 691.7 197.8 783.9 105.6A61.8 61.8 0 0 0 696.4 18.2L570.7 144H515.6A64.5 64.5 0 0 0 471.7 161.2L286.5 332.1A49.8 49.8 0 0 0 300.4 414.4L247.7 467ZM293.3 467L336.8 423.6A56.5 56.5 0 0 0 378.5 465.4L335.1 508.8ZM398.3 510.1A18.6 18.6 0 0 1 376.8 512.8L422.6 467H441.5ZM495.2 510.1A18.1 18.1 0 0 1 464.3 497.3 18 18 0 0 1 469.6 484.5L487.1 467H538.4ZM916.7 337.8H981.3V563.9H916.7V337.8ZM696.8 237.7L845.4 386.2H884.4V515.4H742.5L564.8 434.7H391.7A24.2 24.2 0 1 1 391.7 386.2H512.9L554 378.3A69 69 0 0 0 604.8 284.8L668.3 221.3ZM577.3 312.3A37.1 37.1 0 0 1 547.7 346.6L541.9 347.8ZM719.6 41A29.5 29.5 0 0 1 770 61.9 29.3 29.3 0 0 1 761.3 82.8L490 354.1H406.4ZM322.1 386.2H320.3A17.5 17.5 0 0 1 308.4 355.8L493.6 184.9A32.1 32.1 0 0 1 515.5 176.3H538.4L331.3 383.3A17.3 17.3 0 0 1 322.1 386.2ZM1011.2 975.6C1009.6 972.8 841.2 693.1 512.8 693.1S16 972.8 14.3 975.6L0 1000H1025.6ZM58.7 967.7C106.9 901.9 259.6 725.4 512.8 725.4S918.7 901.9 966.8 967.7Z", + "width": 1026 + }, + "search": [ + "operations" + ] + }, + { + "uid": "046c42711da6530ad1b224469263402a", + "css": "lab_results", + "code": 59406, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M258 580.6H225.8A48.5 48.5 0 0 0 274.2 629V596.9A16.1 16.1 0 0 1 258 580.6ZM258 580.6M419.4 758.1H451.5V790.2H419.4ZM419.4 758.1M290.3 822.6H322.5V854.7H290.3ZM290.3 822.6M177.4 903.2H209.6V935.4H177.4ZM177.4 903.2M403.2 887.1H435.4V919.2H403.2ZM403.2 887.1M241.9 725.8H274.1V758H241.9ZM241.9 725.8M290.3 0V225.8H129A32.1 32.1 0 0 0 96.9 258V290.1A32.1 32.1 0 0 0 129 322.3V436.5A81.6 81.6 0 0 1 125.5 460.7L5 852.1A114.3 114.3 0 0 0 114.3 1000H1000V0ZM129 258.1H419.4V290.2H129ZM419.4 322.6A32.1 32.1 0 0 0 451.5 290.4V258.3A32.1 32.1 0 0 0 419.4 226.1H387.2V96.8H645.3V354.8H419.4ZM156.3 470.5A114.3 114.3 0 0 0 161.3 436.9V322.6H387.1V436.9A114.3 114.3 0 0 0 392.1 470.5L436 612.9H382.4A112.8 112.8 0 0 0 387.1 580.8V575.3A113 113 0 0 0 371 517.2L274.2 355.8 177.4 517.1A112.9 112.9 0 0 0 161.3 575.2V580.6A112.2 112.2 0 0 0 166 612.8H112.5ZM274.1 661.3A80.8 80.8 0 0 1 193.5 580.6V575.2A80.6 80.6 0 0 1 205 533.7L274.1 418.4 343.3 533.6A80.7 80.7 0 0 1 354.8 575.1V580.6A80.8 80.8 0 0 1 274.2 661.3ZM114.3 967.9A81.3 81.3 0 0 1 33.8 871.1H145.2V838.9H42.9L52.8 806.8H193.5V774.6H62.8L72.7 742.5H145.2V710.4H82.6L102.5 645.9H181.7A112.6 112.6 0 0 0 366.7 645.9H445.9L512.5 862.3A82.1 82.1 0 0 1 434.1 967.9ZM967.9 967.9H513.5A114 114 0 0 0 543.4 852.2L423 461A81.6 81.6 0 0 1 419.4 436.9V387.1H677.5V64.5H354.8V225.8H322.7V32.1H967.9ZM967.9 967.9M758.1 580.6A177.4 177.4 0 1 0 935.5 758.1 177.6 177.6 0 0 0 758.1 580.6ZM758.1 903.2A145.2 145.2 0 1 1 903.2 758.1 145.3 145.3 0 0 1 758.1 903.2ZM758.1 903.2M806.5 661.3H709.7V709.7H661.3V806.5H709.7V854.9H806.5V806.5H854.9V709.7H806.5ZM822.6 741.9V774.1H774.2V822.5H742.1V774.1H693.4V741.9H741.8V693.4H774V741.8ZM822.6 741.9M709.7 80.6H741.8V112.8H709.7ZM709.7 80.6M774.2 80.6H935.5V112.8H774.2ZM774.2 80.6M709.7 209.7H741.8V241.8H709.7ZM709.7 209.7M774.2 209.7H935.5V241.8H774.2ZM774.2 209.7M709.7 145.2H935.5V177.3H709.7ZM709.7 145.2M709.7 274.2H935.5V306.3H709.7ZM709.7 274.2M709.7 338.7H935.5V370.9H709.7ZM709.7 338.7M483.9 451.6H935.5V483.8H483.9ZM483.9 451.6M483.9 516.1H935.5V548.3H483.9ZM483.9 516.1", + "width": 1000 + }, + "search": [ + "lab_results" + ] + }, + { + "uid": "406cfc8f4e89509892f7e12ecd31b289", + "css": "in_patient_white", + "code": 59405, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M527.4 413H462.3A18.1 18.1 0 1 0 462.3 449.1H527.4A18.1 18.1 0 0 0 527.4 413ZM1189.1 81.7H1134.6V36H1205.1A18.1 18.1 0 0 0 1205.1-0.2H276.4A18.1 18.1 0 0 0 276.4 36H1098.4V81.7H1043.9A34 34 0 0 0 1009.9 115.7V272.9A106.7 106.7 0 0 0 1065.4 366.5L1053.6 385.5A96.9 96.9 0 0 0 1049.3 479.6L1098.4 577.2A60.6 60.6 0 0 1 1085.9 648.1L996 729.3V380.9A50.5 50.5 0 0 0 945.6 330.4H893.4A176.1 176.1 0 0 0 887.3 304.3 45.1 45.1 0 0 1 886.3 281.3L899.6 219.5A35.2 35.2 0 0 0 857.7 177.6C839 180.1 793.2 196.3 774.1 189.3A177.2 177.2 0 0 0 752.2 183.6 18.1 18.1 0 0 0 745.3 219.1 140.6 140.6 0 0 1 762.7 223.6 81 81 0 0 0 805.4 225.9L864.1 213.2 851 273.7C844.2 299.6 859.8 327.5 859.3 357.4V544.3A140.8 140.8 0 0 1 852.7 587 80.6 80.6 0 0 0 849.7 600.4 229.7 229.7 0 0 0 696.9 542.5H619.5V524.7A174.6 174.6 0 0 0 669.7 432.7 98.9 98.9 0 0 0 726.2 371.9 69.3 69.3 0 0 0 687 282.5H687A43.9 43.9 0 0 0 673 280.3V194.2A95.3 95.3 0 0 0 577.8 99H417.5A95.3 95.3 0 0 0 323.3 180.4H276.9C251.4 177.8 225.6 193.3 197.7 190.7L137.6 177.7A35.2 35.2 0 0 0 95.7 219.6L109 281.4A45.1 45.1 0 0 1 108 304.4 176 176 0 0 0 101.9 330.5H56.1V75.1A39 39 0 0 1 95 36H193.3A18.1 18.1 0 0 0 193.3-0.2H95A75.1 75.1 0 0 0 20 75.1V340.8A50.4 50.4 0 0 0 0 380.9L0.5 968.4A31.6 31.6 0 0 0 32.1 1000H964.2A31.6 31.6 0 0 0 995.8 968.4L996.1 778 1110.3 674.7 1110.5 674.5A96.9 96.9 0 0 0 1130.8 561L1081.5 463.3A60.6 60.6 0 0 1 1084.2 404.5L1100.6 378.2A107 107 0 0 0 1116.5 379.4H1116.5A106.7 106.7 0 0 0 1207.7 328 111.8 111.8 0 0 0 1223.1 272.8V115.7A34 34 0 0 0 1189.1 81.7ZM960 380.8V762L940.2 779.9Q934.1 774.3 927.7 769A229.2 229.2 0 0 0 892.5 650.7 116.7 116.7 0 0 1 887.2 597.8 176.8 176.8 0 0 0 895.5 544.2V366.6H945.6A14.3 14.3 0 0 1 960 380.9ZM412 551.5A175.1 175.1 0 0 0 583.3 551.5V584.4A14.9 14.9 0 0 1 568.5 599.2H426.8A14.9 14.9 0 0 1 412 584.4ZM675.9 316.7A33.5 33.5 0 0 1 691.8 360.6C685.7 379.5 666.4 398.7 652.9 399.4A18.1 18.1 0 0 0 635.8 415.3 139.1 139.1 0 0 1 359.5 415.3 18.1 18.1 0 0 0 342.5 399.4C329 398.7 309.6 379.5 303.5 360.6A33.5 33.5 0 0 1 319.5 316.7 6.6 6.6 0 0 1 321.4 316.3C322.6 316.3 323.6 317.1 325.7 320.1A18 18 0 0 0 345.9 326.7C355.3 324 360.3 310.9 358.5 298.3A69.5 69.5 0 0 1 427.9 228.9H567.5A69.5 69.5 0 0 1 636.9 298.3C636.5 307.9 635.8 320.8 649.5 326.7A18 18 0 0 0 669.7 320.1C672.8 315.7 673.6 316 675.9 316.8ZM358.5 194.1A59.2 59.2 0 0 1 417.6 134.9H578A59.2 59.2 0 0 1 637.2 194.1V219A105.2 105.2 0 0 0 567.7 192.9H427.9A105.2 105.2 0 0 0 358.5 219ZM190.1 225.9A81.2 81.2 0 0 0 232.8 223.6 140.4 140.4 0 0 1 277.1 216.5H322.3V280.2A43.7 43.7 0 0 0 308.3 282.4 69.3 69.3 0 0 0 269.2 371.7 98.8 98.8 0 0 0 325.7 432.5 174.6 174.6 0 0 0 375.8 524.6V542.3H298.3A229.7 229.7 0 0 0 145.6 600.3 80.8 80.8 0 0 0 142.6 586.9 140.8 140.8 0 0 1 136 544.1V357.5C134.5 331.6 151.1 303.5 144.4 273.7L131.5 213.3ZM36.2 380.9A14.3 14.3 0 0 1 50.5 366.6H99.8V544.4A176.8 176.8 0 0 0 108.1 598.1 121.6 121.6 0 0 1 102.8 650.7 229.2 229.2 0 0 0 67.7 769Q56.9 778 46.6 787.8A148.1 148.1 0 0 0 36.1 799V380.9ZM959.7 963.9H36.6V896.2A114.3 114.3 0 0 1 71.6 814 359.5 359.5 0 0 1 251.1 720.6 18.1 18.1 0 1 0 244.1 685.1 394.5 394.5 0 0 0 106.5 740.6 194.8 194.8 0 0 1 298.3 578.5H375.9V584.3A51 51 0 0 0 426.8 635.3H568.7A51 51 0 0 0 619.6 584.3V578.5H696.9A194.8 194.8 0 0 1 888.6 740.4 395 395 0 0 0 674.2 677.6H332A18.1 18.1 0 1 0 332 713.8H674.3A358.9 358.9 0 0 1 898.1 791.4L898.6 791.8Q912.2 802.6 924.9 814.8A114.5 114.5 0 0 1 959.7 896.8V963.7ZM1187 117.8V167.6H1046V117.8ZM1181.5 300.3A73.5 73.5 0 0 1 1116.5 343.4 70.6 70.6 0 0 1 1046 272.9V203.6H1187V272.7A70.3 70.3 0 0 1 1181.5 300.3Z", + "width": 1223 + }, + "search": [ + "in_patient_white" + ] + }, + { + "uid": "58949bc191ed8ccb59251e337588f540", + "css": "out_patient", + "code": 59412, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M951.6 483.9H698.5A96.4 96.4 0 0 0 723.3 346.4 305.1 305.1 0 0 0 742 242.1V201.9A201.9 201.9 0 0 0 435.5 29.2 201.9 201.9 0 0 0 129 201.9V205.4L112.9 177.2 42.8 299.9A80.6 80.6 0 0 0 130.2 417.6 96.9 96.9 0 0 0 214.9 499.3 226.4 226.4 0 0 0 355 662.3V696.2L219.7 720.8A267.3 267.3 0 0 0 0 983.8V999.9H871V983.8A267.3 267.3 0 0 0 651.4 720.7L516.1 696.1V662.3A224.7 224.7 0 0 0 603.2 602.2C604 602.6 604.9 602.7 605.7 603.1A92.8 92.8 0 0 0 647.1 612.9H951.6A48.4 48.4 0 0 0 1000 564.5V532.3A48.4 48.4 0 0 0 951.6 483.9ZM660.5 465.7C660.8 461 661.3 456.3 661.3 451.6V341A64.2 64.2 0 0 1 660.5 465.7ZM161.3 242V201.9A169.6 169.6 0 0 1 424.9 60.8L435.5 67.8 446 60.8A169.6 169.6 0 0 1 709.7 201.9V242A273.3 273.3 0 0 1 697.8 322.1 96.2 96.2 0 0 0 661.4 307.9V282.3L596.8 233.9V193.5A32.3 32.3 0 0 0 564.5 161.3H306.5A32.3 32.3 0 0 0 274.3 193.5V233.9L209.7 282.3V307.8A95.4 95.4 0 0 0 189.2 313.9 78.8 78.8 0 0 0 183 299.9L162.2 263.6C161.6 256.4 161.2 249.2 161.2 242ZM564.5 290.3H306.5V193.5H564.5ZM112.1 387.1A47.7 47.7 0 0 1 70.8 316L112.9 242.2 155 316A47.7 47.7 0 0 1 112.1 387.2ZM161.3 403.3A79.4 79.4 0 0 0 192.7 348.1 63.2 63.2 0 0 1 209.7 341V451.6C209.7 456.4 210.1 461 210.4 465.7A64.5 64.5 0 0 1 161.3 403.3ZM242 451.6V298.4L274.3 274.3V290.4A32.3 32.3 0 0 0 306.5 322.7H564.6A32.3 32.3 0 0 0 596.9 290.4V274.3L629.1 298.5V451.7A195.1 195.1 0 0 1 625.7 486.5 92.8 92.8 0 0 0 605.8 493.7 60.6 60.6 0 0 1 578.9 500.1H467.7A48.4 48.4 0 1 0 467.7 596.9H563.1A193.2 193.2 0 0 1 242 451.6ZM467.8 564.5A16.1 16.1 0 1 1 467.8 532.3H483.9V564.5ZM362.7 727.6A80.7 80.7 0 0 0 416.3 771.7 64.5 64.5 0 0 1 354.8 806.5C319.2 806.5 290.2 784.8 290.2 758.1A36.4 36.4 0 0 1 295.4 739.8ZM838.2 967.8H32.8A235 235 0 0 1 225.3 752.6L259.2 746.4A64.8 64.8 0 0 0 258.1 758.1 89.9 89.9 0 0 0 354.8 838.7 102.9 102.9 0 0 0 435.4 802.6 102.9 102.9 0 0 0 516 838.7 89.9 89.9 0 0 0 612.8 758.1 65.9 65.9 0 0 0 611.7 746.4L645.6 752.6A235 235 0 0 1 838.2 967.7ZM575.4 739.8A36.4 36.4 0 0 1 580.6 758.1C580.6 784.8 551.6 806.5 516 806.5A64.5 64.5 0 0 1 454.4 771.7 80.5 80.5 0 0 0 508.1 727.6ZM483.8 677.4V693.6A48.4 48.4 0 1 1 387 693.6V672.1A222.6 222.6 0 0 0 483.8 672.1ZM620 574.3A92.9 92.9 0 0 0 578.6 564.5H516V532.3H578.6A93.1 93.1 0 0 0 620 522.5 60.6 60.6 0 0 1 646.9 516.1H870.8V580.6H647.1A60.6 60.6 0 0 1 620.1 574.3ZM967.7 564.5A16.2 16.2 0 0 1 951.5 580.7H903.3V516.1H951.7A16.2 16.2 0 0 1 967.8 532.3ZM475.1 368.4L493 341.5 589.7 406.1 571.8 432.9ZM281.5 405.8L378.2 341.3 396.1 368.1 299.4 432.7Z", + "width": 1000 + }, + "search": [ + "out_patient" + ] + }, + { + "uid": "31c2eb5f0f3a8d8d17c7b439045d641f", + "css": "menu_icon_active", + "code": 59397, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M406.7 0H83.2A83.3 83.3 0 0 0 0 83.2V406.7A83.3 83.3 0 0 0 83.2 489.9H406.7A83.3 83.3 0 0 0 489.9 406.7V83.2A83.3 83.3 0 0 0 406.7 0ZM406.7 449.1H83.2A42.4 42.4 0 0 1 40.8 406.7V83.2A42.4 42.4 0 0 1 83.2 40.8H406.7A42.4 42.4 0 0 1 449 83.2V406.7H449A42.4 42.4 0 0 1 406.7 449.1ZM916.8 0H593.3A83.3 83.3 0 0 0 510.1 83.2V406.7A83.3 83.3 0 0 0 593.3 489.9H916.8A83.3 83.3 0 0 0 1000 406.7V83.2A83.3 83.3 0 0 0 916.8 0ZM959.1 406.7A42.4 42.4 0 0 1 916.8 449.1H593.3A42.4 42.4 0 0 1 550.9 406.7V83.2A42.4 42.4 0 0 1 593.3 40.8H916.8A42.4 42.4 0 0 1 959.1 83.2ZM406.7 510.1H83.2A83.3 83.3 0 0 0 0 593.3V916.8A83.3 83.3 0 0 0 83.2 1000H406.7A83.3 83.3 0 0 0 489.9 916.8V593.3A83.3 83.3 0 0 0 406.7 510.1ZM406.7 959.2H83.2A42.4 42.4 0 0 1 40.8 916.8V593.3A42.4 42.4 0 0 1 83.2 550.9H406.7A42.4 42.4 0 0 1 449 593.3V916.8H449A42.4 42.4 0 0 1 406.7 959.1ZM916.8 510.1H593.3A83.3 83.3 0 0 0 510.1 593.3V916.8A83.3 83.3 0 0 0 593.3 1000H916.8A83.3 83.3 0 0 0 1000 916.8V593.3A83.3 83.3 0 0 0 916.8 510.1ZM959.1 916.8A42.4 42.4 0 0 1 916.8 959.2H593.3A42.4 42.4 0 0 1 550.9 916.8V593.3A42.4 42.4 0 0 1 593.3 550.9H916.8A42.4 42.4 0 0 1 959.1 593.3Z", + "width": 1000 + }, + "search": [ + "menu_icon_active" + ] + }, + { + "uid": "4a41c9ccf8e162ce37b5cfe9fa8faa79", + "css": "patient", + "code": 59413, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M527.5 413H462.5A18.1 18.1 0 1 0 462.5 449.1H527.5A18.1 18.1 0 1 0 527.5 413ZM1189.1 81.7H1134.5V36.1H1205.1A18.1 18.1 0 0 0 1205.1 0H276.4A18.1 18.1 0 1 0 276.4 36.1H1098.4V81.7H1043.8A34 34 0 0 0 1009.9 115.7V272.9A106.7 106.7 0 0 0 1065.4 366.4L1053.6 385.4A96.9 96.9 0 0 0 1049.3 479.6L1098.4 577.2A60.5 60.5 0 0 1 1085.9 648L996.1 729.3V380.9A50.5 50.5 0 0 0 945.6 330.4H893.5A176.1 176.1 0 0 0 887.4 304.3 45.2 45.2 0 0 1 886.3 281.3L899.6 219.5A35.2 35.2 0 0 0 857.8 177.7C839.2 180.1 793.2 196.3 774.1 189.4A177.3 177.3 0 0 0 752.3 183.6 18.1 18.1 0 0 0 745.4 219.1 140.6 140.6 0 0 1 762.7 223.7 81 81 0 0 0 805.3 225.9L864 213.3 850.9 273.8C844.1 299.7 859.8 327.6 859.3 357.5V544.4A140.8 140.8 0 0 1 852.7 586.9 80.7 80.7 0 0 0 849.7 600.2 229.7 229.7 0 0 0 697 542.3H619.6V524.5A174.6 174.6 0 0 0 669.7 432.4 98.9 98.9 0 0 0 726.3 371.6 69.3 69.3 0 0 0 687.2 282.2H687.2A43.9 43.9 0 0 0 673.1 280.1V194.2A95.3 95.3 0 0 0 577.9 99H417.5A95.3 95.3 0 0 0 323.3 180.4H276.9C251.4 177.8 225.6 193.3 197.7 190.6L137.6 177.7A35.2 35.2 0 0 0 95.7 219.6L109 281.4A45.2 45.2 0 0 1 108 304.4 176 176 0 0 0 101.9 330.4H56.1V75.2A39 39 0 0 1 95 36.2H193.3A18.1 18.1 0 1 0 193.3 0.1H95A75.1 75.1 0 0 0 20 75.1V340.8A50.4 50.4 0 0 0 0 380.9L0.5 968.4A31.6 31.6 0 0 0 32 1000H964.2A31.6 31.6 0 0 0 995.8 968.4L996.1 778 1110.2 674.7 1110.5 674.5A96.9 96.9 0 0 0 1130.7 561L1081.6 463.3A60.5 60.5 0 0 1 1084.3 404.5L1100.6 378.3A107 107 0 0 0 1116.5 379.5H1116.5A106.7 106.7 0 0 0 1207.7 328.2 111.7 111.7 0 0 0 1223.2 272.9V115.7A34 34 0 0 0 1189.1 81.7ZM959.9 380.9V762L940.2 779.9Q934 774.3 927.6 769A229.2 229.2 0 0 0 892.5 650.8 116.7 116.7 0 0 1 887.2 598 176.8 176.8 0 0 0 895.4 544.4V366.6H945.6A14.3 14.3 0 0 1 960 380.9ZM412 551.6A175.1 175.1 0 0 0 583.3 551.6V584.4A14.8 14.8 0 0 1 568.5 599.3H426.8A14.8 14.8 0 0 1 411.9 584.4ZM675.9 316.8A33.5 33.5 0 0 1 691.8 360.7C685.7 379.6 666.4 398.8 652.9 399.4A18.1 18.1 0 0 0 635.8 415.4 139.1 139.1 0 0 1 359.5 415.4 18.1 18.1 0 0 0 342.5 399.4C329 398.8 309.7 379.6 303.5 360.7A33.5 33.5 0 0 1 319.5 316.8 6.5 6.5 0 0 1 321.4 316.4C322.6 316.4 323.6 317.2 325.7 320.2A18.1 18.1 0 0 0 345.9 326.9C355.3 324.2 360.3 311.1 358.5 298.5A69.5 69.5 0 0 1 428 229.1H567.4A69.5 69.5 0 0 1 636.9 298.5C636.5 308.2 635.8 321 649.5 326.9A18.1 18.1 0 0 0 669.7 320.2C672.8 315.8 673.6 316.1 675.9 316.8ZM358.5 194.2A59.1 59.1 0 0 1 417.5 135.2H577.8A59.1 59.1 0 0 1 636.9 194.2V219.1A105.1 105.1 0 0 0 567.4 193H427.9A105.1 105.1 0 0 0 358.5 219.1ZM190.1 225.9A81.2 81.2 0 0 0 232.6 223.6 140.4 140.4 0 0 1 276.9 216.5H322.3V280.3A43.7 43.7 0 0 0 308.2 282.5 69.3 69.3 0 0 0 269.1 371.9 98.8 98.8 0 0 0 325.7 432.7 174.6 174.6 0 0 0 375.8 524.8V542.5H298.3A229.7 229.7 0 0 0 145.6 600.5 80.8 80.8 0 0 0 142.6 587.2 140.9 140.9 0 0 1 136 544.7V357.5C134.5 331.6 151.1 303.5 144.4 273.7L131.4 213.3ZM36.1 380.9A14.3 14.3 0 0 1 50.5 366.6H99.9V544.4A176.8 176.8 0 0 0 108.1 597.9 121.7 121.7 0 0 1 102.8 650.8 229.2 229.2 0 0 0 67.7 769.1Q56.9 778.2 46.6 787.9A148 148 0 0 0 36.1 799.1V380.9ZM959.7 963.9H36.6V896.2A114.3 114.3 0 0 1 71.6 814 359.5 359.5 0 0 1 251.1 720.5 18.1 18.1 0 1 0 244.1 685 394.5 394.5 0 0 0 106.5 740.6 194.8 194.8 0 0 1 298.3 578.4H375.8V584.2A51 51 0 0 0 426.8 635.4H568.5A51 51 0 0 0 619.6 584.4V578.6H697.1A194.8 194.8 0 0 1 888.9 740.5 395 395 0 0 0 674.4 677.7H331.9A18.1 18.1 0 1 0 331.9 713.8H674.3A359 359 0 0 1 898.1 791.5L898.6 791.9Q912.2 802.7 924.9 815A114.3 114.3 0 0 1 959.7 896.9V963.9ZM1187 117.8V167.7H1046.1V117.8ZM1181.5 300.3A73.5 73.5 0 0 1 1116.5 343.4 70.6 70.6 0 0 1 1046 272.9V203.8H1186.9V272.9A70.3 70.3 0 0 1 1181.5 300.3Z", + "width": 1223 + }, + "search": [ + "patient" + ] + }, + { + "uid": "7d90537e42db22c38e8bb2243c8be55a", + "css": "qr-code", + "code": 59414, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M968.8 281.3C951.5 281.3 937.5 267.3 937.5 250V89.8C937.5 74.8 925.2 62.5 910.2 62.5H750C732.7 62.5 718.8 48.5 718.8 31.3S732.7 0 750 0H910.2C959.7 0 1000 40.3 1000 89.8V250C1000 267.3 986 281.3 968.8 281.3ZM31.3 281.3C14 281.3 0 267.3 0 250V89.8C0 40.3 40.3 0 89.8 0H250C267.3 0 281.3 14 281.3 31.3S267.3 62.5 250 62.5H89.8C74.8 62.5 62.5 74.8 62.5 89.8V250C62.5 267.3 48.5 281.3 31.3 281.3ZM250 1000H89.8C40.3 1000 0 959.7 0 910.2V750C0 732.7 14 718.8 31.3 718.8S62.5 732.7 62.5 750V910.2C62.5 925.2 74.8 937.5 89.8 937.5H250C267.3 937.5 281.3 951.5 281.3 968.8S267.3 1000 250 1000ZM910.2 1000H750C732.7 1000 718.8 986 718.8 968.8S732.7 937.5 750 937.5H910.2C925.2 937.5 937.5 925.2 937.5 910.2V750C937.5 732.7 951.5 718.8 968.8 718.8S1000 732.7 1000 750V910.2C1000 959.7 959.7 1000 910.2 1000ZM378.9 468.8H214.8C165.3 468.8 125 428.4 125 378.9V214.8C125 165.3 165.3 125 214.8 125H378.9C428.4 125 468.8 165.3 468.8 214.8V378.9C468.8 428.4 428.4 468.8 378.9 468.8ZM214.8 187.5C199.8 187.5 187.5 199.8 187.5 214.8V378.9C187.5 394 199.8 406.3 214.8 406.3H378.9C394 406.3 406.3 394 406.3 378.9V214.8C406.3 199.8 394 187.5 378.9 187.5ZM378.9 875H214.8C165.3 875 125 834.7 125 785.2V621.1C125 571.6 165.3 531.3 214.8 531.3H378.9C428.4 531.3 468.8 571.6 468.8 621.1V785.2C468.8 834.7 428.4 875 378.9 875ZM214.8 593.8C199.8 593.8 187.5 606 187.5 621.1V785.2C187.5 800.2 199.8 812.5 214.8 812.5H378.9C394 812.5 406.3 800.2 406.3 785.2V621.1C406.3 606 394 593.8 378.9 593.8ZM785.2 468.8H621.1C571.6 468.8 531.3 428.4 531.3 378.9V214.8C531.3 165.3 571.6 125 621.1 125H785.2C834.7 125 875 165.3 875 214.8V378.9C875 428.4 834.7 468.8 785.2 468.8ZM621.1 187.5C606 187.5 593.8 199.8 593.8 214.8V378.9C593.8 394 606 406.3 621.1 406.3H785.2C800.2 406.3 812.5 394 812.5 378.9V214.8C812.5 199.8 800.2 187.5 785.2 187.5ZM824.2 687.5H750V582C750 554 727.2 531.3 699.2 531.3H582C554 531.3 531.3 554 531.3 582V699.2C531.3 727.2 554 750 582 750H687.5V824.2C687.5 852.2 710.3 875 738.3 875H824.2C852.2 875 875 852.2 875 824.2V738.3C875 710.3 852.2 687.5 824.2 687.5ZM593.8 593.8H687.5V687.5H593.8ZM812.5 812.5H750V750H812.5ZM312.5 343.8H281.3C264 343.8 250 329.8 250 312.5V281.3C250 264 264 250 281.3 250H312.5C329.8 250 343.8 264 343.8 281.3V312.5C343.8 329.8 329.8 343.8 312.5 343.8ZM718.8 343.8H687.5C670.2 343.8 656.3 329.8 656.3 312.5V281.3C656.3 264 670.2 250 687.5 250H718.8C736 250 750 264 750 281.3V312.5C750 329.8 736 343.8 718.8 343.8ZM312.5 750H281.3C264 750 250 736 250 718.8V687.5C250 670.2 264 656.3 281.3 656.3H312.5C329.8 656.3 343.8 670.2 343.8 687.5V718.8C343.8 736 329.8 750 312.5 750Z", + "width": 1000 + }, + "search": [ + "qr-code" + ] + }, + { + "uid": "47870853aec32b02cd5a40fbb389baa1", + "css": "radiology", + "code": 59415, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M9.5 420.4A9.5 9.5 0 0 1 2.1 405C147.5 223 255.4 180.6 359.8 139.6L366.3 137C407.7 120.8 430.8 77.5 435.2 8.9A9.6 9.6 0 0 1 445.2 0.1 9.5 9.5 0 0 1 454.1 10.1C449.2 86.8 422 135.5 373.3 154.7L366.8 157.2C264.6 197.2 159.1 238.8 16.9 416.9A9.5 9.5 0 0 1 9.5 420.4ZM216.3 1000L215.2 1000A9.5 9.5 0 0 1 206.9 989.5C207.1 987.8 227.5 820.4 227.4 753.3 227.4 695.6 209.9 542.1 203.5 488.5 178.7 511.9 127.1 560.1 104.3 577.7A458 458 0 0 1 62.3 604.7L49.8 612.2A9.5 9.5 0 1 1 40 596L52.6 588.4A445.8 445.8 0 0 0 92.9 562.6C122.1 540.1 203.5 462.6 204.3 461.8A9.5 9.5 0 0 1 220.2 467.5C221.3 476.2 246.5 682 246.5 753.2 246.5 821.5 226.7 984.8 225.9 991.7A9.5 9.5 0 0 1 216.5 1000.1ZM1058.7 420.4A9.5 9.5 0 0 1 1051.3 416.9C909.1 238.9 803.5 197.4 701.4 157.2L694.9 154.7C646.1 135.5 619 86.8 614.1 10.1A9.5 9.5 0 0 1 633.1 8.9C637.4 77.7 660.6 120.9 701.9 137L708.4 139.6C812.7 180.6 920.8 223 1066.2 405A9.5 9.5 0 0 1 1058.7 420.4ZM852.1 1000A9.5 9.5 0 0 1 842.8 991.7C841.9 984.7 821.8 821.4 821.8 753.2 821.8 681.9 847 476.1 848.1 467.4A9.5 9.5 0 0 1 864 461.8C864.8 462.5 946.2 540 975.4 562.5A448.1 448.1 0 0 0 1015.7 588.3L1028.2 595.9A9.5 9.5 0 0 1 1018.4 612.1L1006 604.6A458.9 458.9 0 0 1 963.9 577.6C941.1 560.1 889.6 511.8 864.8 488.4 858.4 542 840.9 695.5 840.8 753.2 840.8 820.2 861.5 987.7 861.8 989.3A9.5 9.5 0 0 1 853.6 999.8L852.4 999.8ZM399 631.1A96.4 96.4 0 0 1 307 589.4 19 19 0 0 1 341.2 573C350.9 593.3 408.2 604.5 479.4 576.7A19 19 0 1 1 493.3 612.1 263.1 263.1 0 0 1 399 631.1ZM388 705.8A167.6 167.6 0 0 1 333.5 697.1 89.7 89.7 0 0 1 280.3 655.8 19 19 0 1 1 314.5 639.4 53.5 53.5 0 0 0 346 661.3 171.1 171.1 0 0 0 477.9 645 19 19 0 0 1 494.8 679 241.9 241.9 0 0 1 388 705.8ZM348.5 817.7A76.6 76.6 0 0 1 310 808.1 86.8 86.8 0 0 1 276.4 711.3 19 19 0 0 1 313.7 717.8C308.8 746 314.3 766.8 328.8 775.2 349.3 786.9 395.9 778.4 465.4 719.2A19 19 0 0 1 489.9 748.1C425.6 802.7 379.6 817.7 348.4 817.7ZM599.7 557.3Q588.4 557.3 576.4 556.8A19 19 0 0 1 578 518.9C714.7 524.4 772.4 478.5 776.6 464.6A19 19 0 0 1 811.3 449.3 37.2 37.2 0 0 1 807.1 487.8C784.2 523.3 711.8 557.3 599.7 557.3ZM582.6 482.5H579.4A19 19 0 1 1 579.4 444.6C580.4 444.6 581.3 444.6 582.3 444.6 691.4 444.6 710.6 422.1 713.3 417.5 714.1 416.2 716 413 712.7 406.7A19 19 0 1 1 746.2 388.9 47.9 47.9 0 0 1 745.8 437.1C727.4 467.7 674 482.5 582.6 482.5ZM609.9 248.4A19 19 0 0 0 572.3 245.3 67 67 0 0 1 553.3 254.8V205.7A19 19 0 1 0 515.4 205.7V254.7A66.5 66.5 0 0 1 496.4 245.1 19 19 0 0 0 458.7 248.3C458.7 273.4 489.6 287.4 515.4 294.8V594.3A19 19 0 1 0 553.3 594.3V294.9C579.1 287.5 609.9 273.5 609.9 248.4ZM490.1 348.1H491.1A19 19 0 1 0 492 310.1C425.2 306.6 405.2 290 403.1 285A19 19 0 0 0 369.2 268 36.8 36.8 0 0 0 370.2 304C380.3 321.8 409.3 343.9 490.1 348.1ZM490.3 518.9C353.4 524.5 295.9 478.5 291.6 464.6A19 19 0 0 0 257 449.3 37.2 37.2 0 0 0 261.2 487.8C284 523.4 356.4 557.4 468.5 557.4Q479.9 557.4 491.8 556.9A19 19 0 0 0 490.3 519ZM485.8 482.5H488.8A19 19 0 0 0 488.8 444.6H488.8C376.8 444.9 357.7 422.1 354.9 417.5 354.1 416.2 352.2 413 355.6 406.7A19 19 0 0 0 322 388.9 47.9 47.9 0 0 0 322.4 437.1C340.8 467.7 394.3 482.5 485.8 482.5ZM577.1 348.1H578.1C658.8 343.9 687.8 321.8 697.9 304.1A36.8 36.8 0 0 0 698.9 268 19 19 0 0 0 665.1 285.1C662.9 290 642.9 306.8 576.1 310.2A19 19 0 0 0 577.1 348.1ZM491.3 369.3H491.3C385.8 369.7 367.8 348.3 365.2 344.1 364.6 343 363 340.3 365.9 334.8A19 19 0 1 0 332.4 317 46.5 46.5 0 0 0 332.8 363.7C350.4 393 401.4 407.3 488.6 407.3H491.4A19 19 0 0 0 491.4 369.4ZM736.3 317A19 19 0 1 0 702.8 334.8C705.8 340.4 704.2 343 703.5 344.1 700.9 348.4 683 369.4 580.1 369.4 579.2 369.4 578.3 369.4 577.3 369.4A19 19 0 0 0 577.3 407.3H580.2C667.3 407.3 718.3 393.1 736 363.7A46.5 46.5 0 0 0 736.3 317ZM669.3 631.1A263 263 0 0 1 575.1 612 19 19 0 1 1 588.9 576.7C660.1 604.7 717.4 593.3 727.2 572.9A19 19 0 1 1 761.4 589.3 96.5 96.5 0 0 1 669.3 631.1ZM680.2 705.8A241.9 241.9 0 0 1 573.5 679 19 19 0 0 1 590.4 645.1 171 171 0 0 0 722.3 661.3 53.5 53.5 0 0 0 753.8 639.5 19 19 0 1 1 788 655.9 89.7 89.7 0 0 1 734.8 697.1 167.6 167.6 0 0 1 680.3 705.8ZM719.7 817.7C688.5 817.7 642.5 802.7 578.2 748.2A19 19 0 0 1 602.7 719.3C672.3 778.4 718.9 786.9 739.2 775.3 753.8 767 759.3 746 754.4 717.9A19 19 0 1 1 791.7 711.3 86.8 86.8 0 0 1 758.1 808.2 76.7 76.7 0 0 1 719.7 817.7ZM854.3 931.9H215.3A102.8 102.8 0 0 1 112.6 829.2V190.2A102.8 102.8 0 0 1 215.3 87.5H854.3A102.8 102.8 0 0 1 957 190.2V829.2A102.8 102.8 0 0 1 854.3 931.9ZM215.3 106.5A84 84 0 0 0 131.6 190.2V829.2A84 84 0 0 0 215.3 912.9H854.3A84 84 0 0 0 938.1 829.2V190.2A84 84 0 0 0 854.3 106.5Z", + "width": 1068 + }, + "search": [ + "radiology" + ] + }, + { + "uid": "166043ccaa1f7fdaa8ec9a357a798f8c", + "css": "referral", + "code": 59416, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M888.2 752.2A107.4 107.4 0 0 0 944.6 658.3 110.5 110.5 0 0 0 723.6 658.3 107.4 107.4 0 0 0 780 752.2 166.1 166.1 0 0 0 668.1 908.8V983.3A16.7 16.7 0 0 0 684.8 1000H983.3A16.7 16.7 0 0 0 1000 983.3V908.8A166.1 166.1 0 0 0 888.2 752.2ZM756.9 658.3A77.2 77.2 0 1 1 834.1 732.7 75.9 75.9 0 0 1 756.9 658.3ZM966.7 966.7H701.4V908.8A132.6 132.6 0 0 1 966.6 908.8ZM888.2 201.5A107.3 107.3 0 0 0 944.6 107.7 110.5 110.5 0 0 0 723.6 107.7 107.3 107.3 0 0 0 779.9 201.5 166.1 166.1 0 0 0 668.1 358.2V432.7A16.7 16.7 0 0 0 684.8 449.3H983.3A16.7 16.7 0 0 0 1000 432.7V358.2A166.1 166.1 0 0 0 888.2 201.5ZM756.9 107.7A77.2 77.2 0 0 1 911.2 107.7 77.2 77.2 0 0 1 756.9 107.7ZM966.7 416H701.4V358.2A132.6 132.6 0 0 1 966.6 358.2ZM537.3 492.6L631.1 411.9A16.7 16.7 0 0 0 609.3 386.6L505.3 476.3H388A16.7 16.7 0 1 0 388 509.6H505.3L609.5 595A18.6 18.6 0 0 0 632.8 592.7 16.2 16.2 0 0 0 630.5 569.3ZM292.4 452.7A125.9 125.9 0 0 0 323.3 369.9 128.6 128.6 0 0 0 66.1 369.9 125.9 125.9 0 0 0 97.1 452.7 183.8 183.8 0 0 0 0 613.2V711.2A16.7 16.7 0 0 0 16.7 727.9H372.9A16.7 16.7 0 0 0 389.6 711.2V613.2A183.9 183.9 0 0 0 292.4 452.7ZM194.8 276A94 94 0 1 1 99.5 370 94.8 94.8 0 0 1 194.8 275.9ZM176.8 496A130.7 130.7 0 0 0 194.8 497.4 128.1 128.1 0 0 0 212.8 496V574L194.8 597 176.7 573.8ZM356.2 694.7H303.9V612.9A16.7 16.7 0 0 0 270.5 612.9V694.6H119.1V612.9A16.7 16.7 0 0 0 85.7 612.9V694.6H33.3V613.2A150.5 150.5 0 0 1 124.8 476.5 128.9 128.9 0 0 0 143.5 486.5V585.2L181.7 634.1A16.7 16.7 0 0 0 207.9 634.1L246.1 585.2V486.6A129.8 129.8 0 0 0 264.8 476.6 150.5 150.5 0 0 1 356.2 613.3V694.7Z", + "width": 1000 + }, + "search": [ + "referral" + ] + }, + { + "uid": "a1c284f339f4b6bc2d580afc2e7b2639", + "css": "search_patient", + "code": 59418, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M388.6 97.1A291.3 291.3 0 1 0 680 388.4 291.7 291.7 0 0 0 388.6 97.1ZM388.6 647.5A259.1 259.1 0 1 1 647.7 388.4 259.3 259.3 0 0 1 388.6 647.5ZM178.1 404.7H210.4A194.6 194.6 0 0 1 404.7 210.4V178.1A226.7 226.7 0 0 0 178.1 404.7ZM977.2 885.6L1000 862.8 768.3 630.9 745.5 653.7 704.9 613.2A387.8 387.8 0 1 0 613.4 705.1L654 745.7 631.1 768.5 862.5 999.9 885.4 977.1 676.7 768.2 768.2 676.7ZM388.4 744.7A356.1 356.1 0 1 1 744.5 388.6 356.6 356.6 0 0 1 388.4 744.7ZM676.8 722.4L639.2 685A388.2 388.2 0 0 0 685.1 639.1L722.7 676.7Z", + "width": 1000 + }, + "search": [ + "search_patient" + ] + }, + { + "uid": "740f78c2b53c8cc100a8b0d283bbd34f", + "css": "home_icon-1", + "code": 59403, + "src": "custom_icons", + "selected": false, + "svg": { + "path": "M973.1 435L973.1 435 565 27A92 92 0 0 0 434.9 27L27.2 434.7 26.8 435.1A92 92 0 0 0 88 591.9C88.9 591.9 89.9 591.9 90.8 591.9H107.1V892.1A107.9 107.9 0 0 0 214.8 999.9H374.4A29.3 29.3 0 0 0 403.7 970.6V735.3A49.2 49.2 0 0 1 452.9 686.2H547A49.2 49.2 0 0 1 596.2 735.3V970.7A29.3 29.3 0 0 0 625.5 1000H785.1A107.9 107.9 0 0 0 892.8 892.3V592H907.8A92.1 92.1 0 0 0 973 434.9ZM931.6 523.7A33.4 33.4 0 0 1 907.9 533.5H863.5A29.3 29.3 0 0 0 834.2 562.8V892.3A49.2 49.2 0 0 1 785.1 941.4H654.9V735.3A107.9 107.9 0 0 0 547 627.5H452.9A107.9 107.9 0 0 0 345.1 735.2V941.3H215A49.2 49.2 0 0 1 165.8 892.1V562.8A29.3 29.3 0 0 0 136.5 533.5H92.8L91.4 533.5A33.4 33.4 0 0 1 68.4 476.4H68.4L476.3 68.4A33.4 33.4 0 0 1 523.6 68.4L931.4 476.2 931.6 476.4A33.4 33.4 0 0 1 931.6 523.7ZM931.6 523.7", + "width": 1000 + }, + "search": [ + "home_icon" + ] + }, + { + "uid": "a0ef39403e015fe3fe4252f11df60fda", + "css": "home_icon_active-1", + "code": 59404, + "src": "custom_icons", + "selected": false, + "svg": { + "path": "M973.1 435L973.1 435 565 27A92.1 92.1 0 0 0 434.9 27L27.1 434.7 26.7 435.1A92 92 0 0 0 88 592C88.9 592 89.9 592 90.8 592H107.1V892.2A107.9 107.9 0 0 0 214.8 999.9H374.4A29.3 29.3 0 0 0 403.7 970.6V735.4A49.2 49.2 0 0 1 452.9 686.2H547A49.2 49.2 0 0 1 596.2 735.4V970.7A29.3 29.3 0 0 0 625.5 1000H785.1A107.9 107.9 0 0 0 892.8 892.3V592.1H907.8A92.1 92.1 0 0 0 973 434.9ZM931.6 523.7A33.4 33.4 0 0 1 907.9 533.5H863.5A29.3 29.3 0 0 0 834.2 562.8V892.3A49.2 49.2 0 0 1 785.1 941.5H654.9V735.4A107.9 107.9 0 0 0 547 627.5H452.9A107.9 107.9 0 0 0 345.1 735.2V941.3H214.9A49.2 49.2 0 0 1 165.8 892.1V562.8A29.3 29.3 0 0 0 136.5 533.5H92.8L91.4 533.5A33.4 33.4 0 0 1 68.3 476.4H68.3L476.3 68.4A33.4 33.4 0 0 1 523.6 68.4L931.4 476.2 931.6 476.4A33.4 33.4 0 0 1 931.6 523.7ZM931.6 523.7", + "width": 1000 + }, + "search": [ + "home_icon_active" + ] + }, + { + "uid": "9d734a7694af3729960d4b9060982cc0", + "css": "menu_icon-1", + "code": 59407, + "src": "custom_icons", + "selected": false, + "svg": { + "path": "M406.7 0H83.2A83.3 83.3 0 0 0 0 83.2V406.7A83.3 83.3 0 0 0 83.2 489.9H406.7A83.3 83.3 0 0 0 489.9 406.7V83.2A83.3 83.3 0 0 0 406.7 0ZM406.7 449.1H83.2A42.4 42.4 0 0 1 40.8 406.7V83.2A42.4 42.4 0 0 1 83.2 40.8H406.7A42.4 42.4 0 0 1 449 83.2V406.7H449A42.4 42.4 0 0 1 406.7 449.1ZM916.8 0H593.3A83.3 83.3 0 0 0 510.1 83.2V406.7A83.3 83.3 0 0 0 593.3 489.9H916.8A83.3 83.3 0 0 0 1000 406.7V83.2A83.3 83.3 0 0 0 916.8 0ZM959.1 406.7A42.4 42.4 0 0 1 916.8 449.1H593.3A42.4 42.4 0 0 1 550.9 406.7V83.2A42.4 42.4 0 0 1 593.3 40.8H916.8A42.4 42.4 0 0 1 959.1 83.2ZM406.7 510.1H83.2A83.3 83.3 0 0 0 0 593.3V916.8A83.3 83.3 0 0 0 83.2 1000H406.7A83.3 83.3 0 0 0 489.9 916.8V593.3A83.3 83.3 0 0 0 406.7 510.1ZM406.7 959.2H83.2A42.4 42.4 0 0 1 40.8 916.8V593.3A42.4 42.4 0 0 1 83.2 550.9H406.7A42.4 42.4 0 0 1 449 593.3V916.8H449A42.4 42.4 0 0 1 406.7 959.1ZM916.8 510.1H593.3A83.3 83.3 0 0 0 510.1 593.3V916.8A83.3 83.3 0 0 0 593.3 1000H916.8A83.3 83.3 0 0 0 1000 916.8V593.3A83.3 83.3 0 0 0 916.8 510.1ZM959.1 916.8A42.4 42.4 0 0 1 916.8 959.2H593.3A42.4 42.4 0 0 1 550.9 916.8V593.3A42.4 42.4 0 0 1 593.3 550.9H916.8A42.4 42.4 0 0 1 959.1 593.3Z", + "width": 1000 + }, + "search": [ + "menu_icon" + ] + }, + { + "uid": "e2f6f0a56d4570c777c8bd5c50e38ea7", + "css": "menu_icon_active-1", + "code": 59408, + "src": "custom_icons", + "selected": false, + "svg": { + "path": "M406.7 0H83.2A83.3 83.3 0 0 0 0 83.2V406.7A83.3 83.3 0 0 0 83.2 489.9H406.7A83.3 83.3 0 0 0 489.9 406.7V83.2A83.3 83.3 0 0 0 406.7 0ZM406.7 449.1H83.2A42.4 42.4 0 0 1 40.8 406.7V83.2A42.4 42.4 0 0 1 83.2 40.8H406.7A42.4 42.4 0 0 1 449 83.2V406.7H449A42.4 42.4 0 0 1 406.7 449.1ZM916.8 0H593.3A83.3 83.3 0 0 0 510.1 83.2V406.7A83.3 83.3 0 0 0 593.3 489.9H916.8A83.3 83.3 0 0 0 1000 406.7V83.2A83.3 83.3 0 0 0 916.8 0ZM959.1 406.7A42.4 42.4 0 0 1 916.8 449.1H593.3A42.4 42.4 0 0 1 550.9 406.7V83.2A42.4 42.4 0 0 1 593.3 40.8H916.8A42.4 42.4 0 0 1 959.1 83.2ZM406.7 510.1H83.2A83.3 83.3 0 0 0 0 593.3V916.8A83.3 83.3 0 0 0 83.2 1000H406.7A83.3 83.3 0 0 0 489.9 916.8V593.3A83.3 83.3 0 0 0 406.7 510.1ZM406.7 959.2H83.2A42.4 42.4 0 0 1 40.8 916.8V593.3A42.4 42.4 0 0 1 83.2 550.9H406.7A42.4 42.4 0 0 1 449 593.3V916.8H449A42.4 42.4 0 0 1 406.7 959.1ZM916.8 510.1H593.3A83.3 83.3 0 0 0 510.1 593.3V916.8A83.3 83.3 0 0 0 593.3 1000H916.8A83.3 83.3 0 0 0 1000 916.8V593.3A83.3 83.3 0 0 0 916.8 510.1ZM959.1 916.8A42.4 42.4 0 0 1 916.8 959.2H593.3A42.4 42.4 0 0 1 550.9 916.8V593.3A42.4 42.4 0 0 1 593.3 550.9H916.8A42.4 42.4 0 0 1 959.1 593.3Z", + "width": 1000 + }, + "search": [ + "menu_icon_active" + ] + }, + { + "uid": "f7eb1344b3a40f36bb4d32cdd0d76496", + "css": "message_icon-1", + "code": 59409, + "src": "custom_icons", + "selected": false, + "svg": { + "path": "M1182.9 44.3A100 100 0 0 0 1099.9 0.1H100A100 100 0 0 0 0 100V900A100 100 0 0 0 100 1000H1110.4A100 100 0 0 0 1200 900V100A100 100 0 0 0 1182.9 44.3ZM99.9 40H1100A60 60 0 0 1 1138.8 54.2L1061.2 128.2 734 440 612.8 555.7A20 20 0 0 1 589 555.7L466 440 60 54.3A60 60 0 0 1 100 40ZM39.9 90.4L423.2 454 40 820V100A59.7 59.7 0 0 1 40 90.4ZM1160 900A60 60 0 0 1 1107.6 960H100A60 60 0 0 1 40 900V874.6L452.2 481.6 562.4 586.4A60 60 0 0 0 571 592.2 58.4 58.4 0 0 0 600 600 63 63 0 0 0 640 586L748.8 482.4 1160 874.2ZM1160 100V819L776.8 454.7 1160 90.1A61.4 61.4 0 0 1 1160 100Z", + "width": 1200 + }, + "search": [ + "message_icon" + ] + }, + { + "uid": "ed4536ee2a51bde352570554ae089661", + "css": "message_icon_active-1", + "code": 59410, + "src": "custom_icons", + "selected": false, + "svg": { + "path": "M1182.9 44.3A100 100 0 0 0 1099.9 0.1H100A100 100 0 0 0 0 100V900A100 100 0 0 0 100 1000H1110.4A100 100 0 0 0 1200 900V100A100 100 0 0 0 1182.9 44.3ZM99.9 40H1100A60 60 0 0 1 1138.8 54.2L1061.2 128.2 734 440 612.8 555.7A20 20 0 0 1 589 555.7L466 440 60 54.3A60 60 0 0 1 100 40ZM39.9 90.4L423.2 454 40 820V100A59.7 59.7 0 0 1 40 90.4ZM1160 900A60 60 0 0 1 1107.6 960H100A60 60 0 0 1 40 900V874.6L452.2 481.6 562.4 586.4A60 60 0 0 0 571 592.2 58.4 58.4 0 0 0 600 600 63 63 0 0 0 640 586L748.8 482.4 1160 874.2ZM1160 100V819L776.8 454.7 1160 90.1A61.4 61.4 0 0 1 1160 100Z", + "width": 1200 + }, + "search": [ + "message_icon_active" + ] + }, + { + "uid": "f585c0032b4aa288a0dfb78f502d4d1c", + "css": "scdedule_icon_active-1", + "code": 59417, + "src": "custom_icons", + "selected": false, + "svg": { + "path": "M445.8 693.2A28.8 28.8 0 0 0 486.5 693.2L589.2 590.5A28.8 28.8 0 1 0 548.5 549.8L466.1 632.1 428.6 594.6A28.8 28.8 0 1 0 387.9 635.2ZM445.8 693.2M488.5 849.9A228.4 228.4 0 1 0 260.1 621.5 228.7 228.7 0 0 0 488.5 849.9ZM488.5 450.6A170.8 170.8 0 1 1 317.6 621.5 171 171 0 0 1 488.5 450.6ZM488.5 450.6M881.5 62.9H827.7V29.5A29.5 29.5 0 0 0 768.6 29.5V62.9H710.6V29.5A29.5 29.5 0 0 0 651.5 29.5V62.9H325.5V29.5A29.5 29.5 0 0 0 266.4 29.5V62.9H208.4V29.5A29.5 29.5 0 0 0 149.4 29.5V62.9H95.5A95.6 95.6 0 0 0 0 158.4V904.5A95.6 95.6 0 0 0 95.5 1000H881.5A95.6 95.6 0 0 0 976.9 904.5V158.4A95.6 95.6 0 0 0 881.5 62.9ZM918 904.5A36.5 36.5 0 0 1 881.5 940.9H95.5A36.5 36.5 0 0 1 59 904.5V308.4H917.9ZM59.1 158.4A36.5 36.5 0 0 1 95.5 121.9H149.4V155.3A29.5 29.5 0 0 0 208.4 155.3V121.9H266.4V155.3A29.5 29.5 0 0 0 325.5 155.3V121.9H651.5V155.3A29.5 29.5 0 0 0 710.6 155.3V121.9H768.6V155.3A29.5 29.5 0 0 0 827.7 155.3V121.9H881.5A36.5 36.5 0 0 1 918 158.4V249.3H59.1ZM59.1 158.4", + "width": 977 + }, + "search": [ + "scdedule_icon_active" + ] + }, + { + "uid": "5a324eddf382f5a1167d7d40325f82c8", + "css": "reject_icon", + "code": 59402, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M681 626.7L554.3 500 681 373.3A38.5 38.5 0 0 0 626.7 318.9L500 445.7 373.3 319A38.5 38.5 0 1 0 318.9 373.3L445.7 500 318.9 626.8A37.2 37.2 0 0 0 318.9 681.1 38.2 38.2 0 0 0 373.3 681.1L500 554.4 626.7 681.1A38.5 38.5 0 0 0 681.1 681.1 38.2 38.2 0 0 0 681 626.7ZM500 67.3A432.5 432.5 0 1 1 194 194 429.8 429.8 0 0 1 500 67.3M500 0A500 500 0 1 0 1000 500 500 500 0 0 0 500 0Z", + "width": 1000 + }, + "search": [ + "reject_icon" + ] + }, + { + "uid": "2742f64b5e69cc4f39a2dcc5a081ad03", + "css": "approved_icon", + "code": 59403, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M756.3 348.3L714 304.8A9.1 9.1 0 0 0 707.2 302H707.2A8.7 8.7 0 0 0 700.5 304.8L407.2 600.3 300.5 493.5A9.3 9.3 0 0 0 287.1 493.5L244.2 536.3A9.6 9.6 0 0 0 244.2 550L378.8 684.5A42.6 42.6 0 0 0 406.9 698.2 44.6 44.6 0 0 0 434.8 685H435L756.5 362A10.3 10.3 0 0 0 756.3 348.3ZM500 67.3A432.5 432.5 0 1 1 194 194 429.8 429.8 0 0 1 500 67.3M500 0A499.9 499.9 0 1 0 999.9 500 499.9 499.9 0 0 0 500 0Z", + "width": 1000 + }, + "search": [ + "approved_icon" + ] + }, + { + "uid": "148de09f7fd22c378cdfdbaacaa8e205", + "css": "pending_icon", + "code": 59404, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M809.8 932H797.3C781.5 932 768.2 929.8 766.5 914V913.7C731 583.9 523.3 577.6 523.3 499.9S731.1 415.9 766.5 86V85.9C768.2 70.1 781.5 68 797.3 68H809.8A34.8 34.8 0 0 0 844.7 35.7 34 34 0 0 0 810.7 0H35A34.8 34.8 0 0 0 0 32.3 34 34 0 0 0 34 68H47.2C63 68 76.3 70.2 78.1 85.9V86.2C113.7 416 321.5 422.3 321.5 500S113.7 584 78.3 913.8V914C76.6 929.8 63.3 932 47.5 932H35A34.8 34.8 0 0 0 0.1 964.3 34 34 0 0 0 34.1 1000H810.7A33.9 33.9 0 0 0 844.7 964.3 34.8 34.8 0 0 0 809.8 932ZM197.4 848.9C267 655.2 390.6 678.7 390.6 602.3V467.5C390.6 420.4 301.2 387.6 245.4 311.1A19 19 0 0 1 261.2 281H583.8A18.9 18.9 0 0 1 600 310.6C545.2 387.3 454.2 420.4 454.2 467.4V602.4C454.2 678.1 572.9 657.5 647.8 849 654.7 866.3 649.5 887.8 631.2 887.8H214.1C195.4 887.8 191.1 866.5 197.4 849Z", + "width": 845 + }, + "search": [ + "pending_icon" + ] + }, + { + "uid": "0bbb324cc39e62b3a4e05639a4f4008f", + "css": "home_icon", + "code": 59394, + "src": "custom_icons", + "selected": true, + "svg": { + "path": "M973.1 435L973.1 435 565 27A92 92 0 0 0 434.9 27L27.2 434.7 26.8 435.1A92 92 0 0 0 88 591.9C88.9 591.9 89.9 591.9 90.8 591.9H107.1V892.1A107.9 107.9 0 0 0 214.8 999.9H374.4A29.3 29.3 0 0 0 403.7 970.6V735.3A49.2 49.2 0 0 1 452.9 686.2H547A49.2 49.2 0 0 1 596.2 735.3V970.7A29.3 29.3 0 0 0 625.5 1000H785.1A107.9 107.9 0 0 0 892.8 892.3V592H907.8A92.1 92.1 0 0 0 973 434.9ZM931.6 523.7A33.4 33.4 0 0 1 907.9 533.5H863.5A29.3 29.3 0 0 0 834.2 562.8V892.3A49.2 49.2 0 0 1 785.1 941.4H654.9V735.3A107.9 107.9 0 0 0 547 627.5H452.9A107.9 107.9 0 0 0 345.1 735.2V941.3H215A49.2 49.2 0 0 1 165.8 892.1V562.8A29.3 29.3 0 0 0 136.5 533.5H92.8L91.4 533.5A33.4 33.4 0 0 1 68.4 476.4H68.4L476.3 68.4A33.4 33.4 0 0 1 523.6 68.4L931.4 476.2 931.6 476.4A33.4 33.4 0 0 1 931.6 523.7ZM931.6 523.7", + "width": 1000 + }, + "search": [ + "home_icon" + ] + } + ] +} \ No newline at end of file diff --git a/lib/icons_app/doctor_app_icons.dart b/lib/icons_app/doctor_app_icons.dart new file mode 100644 index 00000000..272f3539 --- /dev/null +++ b/lib/icons_app/doctor_app_icons.dart @@ -0,0 +1,70 @@ +/// Flutter icons DoctorApp +/// Copyright (C) 2020 by original authors @ fluttericon.com, fontello.com +/// This font was generated by FlutterIcon.com, which is derived from Fontello. +/// +/// To use this font, place it in your fonts/ directory and include the +/// following in your pubspec.yaml +/// +/// flutter: +/// fonts: +/// - family: DoctorApp +/// fonts: +/// - asset: fonts/DoctorApp.ttf +/// +/// +/// +import 'package:flutter/widgets.dart'; + +class DoctorApp { + DoctorApp._(); + + static const _kFontFam = 'DoctorApp'; + static const _kFontPkg = null; + + static const IconData femaleicon = + IconData(0xe800, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData male = + IconData(0xe801, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData home_icon = + IconData(0xe802, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData home_icon_active = + IconData(0xe803, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData menu_icon = + IconData(0xe804, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData menu_icon_active = + IconData(0xe805, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData message_icon = + IconData(0xe806, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData message_icon_active = + IconData(0xe807, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData scdedule_icon_active = + IconData(0xe808, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData schedule_icon = + IconData(0xe809, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData discharge_patient = + IconData(0xe80a, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData in_patient_white = + IconData(0xe80d, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData lab_results = + IconData(0xe80e, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData operations = + IconData(0xe813, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData out_patient = + IconData(0xe814, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData patient = + IconData(0xe815, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData qr_code = + IconData(0xe816, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData radiology = + IconData(0xe817, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData referral = + IconData(0xe818, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData search_patient = + IconData(0xe81a, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData reject_icon = + IconData(0xe80a, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData approved_icon = + IconData(0xe80b, fontFamily: _kFontFam, fontPackage: _kFontPkg); + static const IconData pending_icon = + IconData(0xe80c, fontFamily: _kFontFam, fontPackage: _kFontPkg); +} diff --git a/lib/landing_page.dart b/lib/landing_page.dart index 1f192f49..90cce786 100644 --- a/lib/landing_page.dart +++ b/lib/landing_page.dart @@ -53,12 +53,7 @@ class _LandingPageState extends State { ), centerTitle: true, ), - drawer: Theme( - data: Theme.of(context).copyWith( - canvasColor: Colors.transparent, - ), - child: SafeArea(child: AppDrawer()), - ), + drawer: SafeArea(child: AppDrawer()), extendBody: true, body: PageView( physics: NeverScrollableScrollPhysics(), diff --git a/lib/models/category_models.dart b/lib/models/category_models.dart deleted file mode 100644 index bb251ad1..00000000 --- a/lib/models/category_models.dart +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:flutter/cupertino.dart'; - -class Category { - final String id; - final String title; - final String image; - final String link; - - const Category( - {@required this.id, - @required this.title, - @required this.image, - @required this.link}); -} \ No newline at end of file diff --git a/lib/models/clinic_model.dart b/lib/models/doctor/clinic_model.dart similarity index 100% rename from lib/models/clinic_model.dart rename to lib/models/doctor/clinic_model.dart diff --git a/lib/models/doctor_profile_model.dart b/lib/models/doctor/doctor_profile_model.dart similarity index 100% rename from lib/models/doctor_profile_model.dart rename to lib/models/doctor/doctor_profile_model.dart diff --git a/lib/models/list_doctor_working_hours_table_model.dart b/lib/models/doctor/list_doctor_working_hours_table_model.dart similarity index 100% rename from lib/models/list_doctor_working_hours_table_model.dart rename to lib/models/doctor/list_doctor_working_hours_table_model.dart diff --git a/lib/models/list_gt_my_pationents_question_model.dart b/lib/models/doctor/list_gt_my_patients_question_model.dart similarity index 100% rename from lib/models/list_gt_my_pationents_question_model.dart rename to lib/models/doctor/list_gt_my_patients_question_model.dart diff --git a/lib/models/profile_req_Model.dart b/lib/models/doctor/profile_req_Model.dart similarity index 100% rename from lib/models/profile_req_Model.dart rename to lib/models/doctor/profile_req_Model.dart diff --git a/lib/models/request_add_referred_doctor_remarks.dart b/lib/models/doctor/request_add_referred_doctor_remarks.dart similarity index 100% rename from lib/models/request_add_referred_doctor_remarks.dart rename to lib/models/doctor/request_add_referred_doctor_remarks.dart diff --git a/lib/models/request_doctor_reply.dart b/lib/models/doctor/request_doctor_reply.dart similarity index 100% rename from lib/models/request_doctor_reply.dart rename to lib/models/doctor/request_doctor_reply.dart diff --git a/lib/models/request_schedule.dart b/lib/models/doctor/request_schedule.dart similarity index 100% rename from lib/models/request_schedule.dart rename to lib/models/doctor/request_schedule.dart diff --git a/lib/models/user_model.dart b/lib/models/doctor/user_model.dart similarity index 100% rename from lib/models/user_model.dart rename to lib/models/doctor/user_model.dart diff --git a/lib/models/verify_referral_doctor_remarks.dart b/lib/models/doctor/verify_referral_doctor_remarks.dart similarity index 100% rename from lib/models/verify_referral_doctor_remarks.dart rename to lib/models/doctor/verify_referral_doctor_remarks.dart diff --git a/lib/models/patient/lab_orders_req_model.dart b/lib/models/patient/lab_orders/lab_orders_req_model.dart similarity index 100% rename from lib/models/patient/lab_orders_req_model.dart rename to lib/models/patient/lab_orders/lab_orders_req_model.dart diff --git a/lib/models/patient/lab_orders_res_model.dart b/lib/models/patient/lab_orders/lab_orders_res_model.dart similarity index 100% rename from lib/models/patient/lab_orders_res_model.dart rename to lib/models/patient/lab_orders/lab_orders_res_model.dart diff --git a/lib/models/patient/lab_result.dart b/lib/models/patient/lab_result/lab_result.dart similarity index 100% rename from lib/models/patient/lab_result.dart rename to lib/models/patient/lab_result/lab_result.dart diff --git a/lib/models/patient/lab_result_req_model.dart b/lib/models/patient/lab_result/lab_result_req_model.dart similarity index 100% rename from lib/models/patient/lab_result_req_model.dart rename to lib/models/patient/lab_result/lab_result_req_model.dart diff --git a/lib/models/my_referral_patient_model.dart b/lib/models/patient/my_referral/my_referral_patient_model.dart similarity index 100% rename from lib/models/my_referral_patient_model.dart rename to lib/models/patient/my_referral/my_referral_patient_model.dart diff --git a/lib/models/my_referred_patient_model.dart b/lib/models/patient/my_referral/my_referred_patient_model.dart similarity index 100% rename from lib/models/my_referred_patient_model.dart rename to lib/models/patient/my_referral/my_referred_patient_model.dart diff --git a/lib/models/prescription_report.dart b/lib/models/patient/prescription/prescription_report.dart similarity index 100% rename from lib/models/prescription_report.dart rename to lib/models/patient/prescription/prescription_report.dart diff --git a/lib/models/patient/prescription_report_for_in_patient.dart b/lib/models/patient/prescription/prescription_report_for_in_patient.dart similarity index 100% rename from lib/models/patient/prescription_report_for_in_patient.dart rename to lib/models/patient/prescription/prescription_report_for_in_patient.dart diff --git a/lib/models/patient/prescription_req_model.dart b/lib/models/patient/prescription/prescription_req_model.dart similarity index 100% rename from lib/models/patient/prescription_req_model.dart rename to lib/models/patient/prescription/prescription_req_model.dart diff --git a/lib/models/patient/prescription_res_model.dart b/lib/models/patient/prescription/prescription_res_model.dart similarity index 100% rename from lib/models/patient/prescription_res_model.dart rename to lib/models/patient/prescription/prescription_res_model.dart diff --git a/lib/models/request_prescription_report.dart b/lib/models/patient/prescription/request_prescription_report.dart similarity index 100% rename from lib/models/request_prescription_report.dart rename to lib/models/patient/prescription/request_prescription_report.dart diff --git a/lib/models/patient/radiology_req_model.dart b/lib/models/patient/radiology/radiology_req_model.dart similarity index 100% rename from lib/models/patient/radiology_req_model.dart rename to lib/models/patient/radiology/radiology_req_model.dart diff --git a/lib/models/patient/radiology_res_model.dart b/lib/models/patient/radiology/radiology_res_model.dart similarity index 100% rename from lib/models/patient/radiology_res_model.dart rename to lib/models/patient/radiology/radiology_res_model.dart diff --git a/lib/models/request_my_referral_patient_model.dart b/lib/models/patient/request_my_referral_patient_model.dart similarity index 100% rename from lib/models/request_my_referral_patient_model.dart rename to lib/models/patient/request_my_referral_patient_model.dart diff --git a/lib/models/patient/vital_sign_req_model.dart b/lib/models/patient/vital_sign/vital_sign_req_model.dart similarity index 100% rename from lib/models/patient/vital_sign_req_model.dart rename to lib/models/patient/vital_sign/vital_sign_req_model.dart diff --git a/lib/models/patient/vital_sign_res_model.dart b/lib/models/patient/vital_sign/vital_sign_res_model.dart similarity index 100% rename from lib/models/patient/vital_sign_res_model.dart rename to lib/models/patient/vital_sign/vital_sign_res_model.dart diff --git a/lib/models/pharmacies_List_request_model.dart b/lib/models/pharmacies/pharmacies_List_request_model.dart similarity index 100% rename from lib/models/pharmacies_List_request_model.dart rename to lib/models/pharmacies/pharmacies_List_request_model.dart diff --git a/lib/models/pharmacies_items_request_model.dart b/lib/models/pharmacies/pharmacies_items_request_model.dart similarity index 100% rename from lib/models/pharmacies_items_request_model.dart rename to lib/models/pharmacies/pharmacies_items_request_model.dart diff --git a/lib/presentation/doctor_app_icons.dart b/lib/presentation/doctor_app_icons.dart deleted file mode 100644 index 76aefa45..00000000 --- a/lib/presentation/doctor_app_icons.dart +++ /dev/null @@ -1,37 +0,0 @@ -/// Flutter icons DoctorApp -/// Copyright (C) 2020 by original authors @ fluttericon.com, fontello.com -/// This font was generated by FlutterIcon.com, which is derived from Fontello. -/// -/// To use this font, place it in your fonts/ directory and include the -/// following in your pubspec.yaml -/// -/// flutter: -/// fonts: -/// - family: DoctorApp -/// fonts: -/// - asset: fonts/DoctorApp.ttf -/// -/// -/// -import 'package:flutter/widgets.dart'; - -class DoctorApp { - DoctorApp._(); - - static const _kFontFam = 'DoctorApp'; - static const _kFontPkg = null; - - static const IconData femaleicon = IconData(0xe800, fontFamily: _kFontFam, fontPackage: _kFontPkg); - static const IconData male = IconData(0xe801, fontFamily: _kFontFam, fontPackage: _kFontPkg); - static const IconData home_icon = IconData(0xe802, fontFamily: _kFontFam, fontPackage: _kFontPkg); - static const IconData home_icon_active = IconData(0xe803, fontFamily: _kFontFam, fontPackage: _kFontPkg); - static const IconData menu_icon = IconData(0xe804, fontFamily: _kFontFam, fontPackage: _kFontPkg); - static const IconData menu_icon_active = IconData(0xe805, fontFamily: _kFontFam, fontPackage: _kFontPkg); - static const IconData message_icon = IconData(0xe806, fontFamily: _kFontFam, fontPackage: _kFontPkg); - static const IconData message_icon_active = IconData(0xe807, fontFamily: _kFontFam, fontPackage: _kFontPkg); - static const IconData scdedule_icon_active = IconData(0xe808, fontFamily: _kFontFam, fontPackage: _kFontPkg); - static const IconData schedule_icon = IconData(0xe809, fontFamily: _kFontFam, fontPackage: _kFontPkg); - static const IconData reject_icon = IconData(0xe80a, fontFamily: _kFontFam, fontPackage: _kFontPkg); - static const IconData approved_icon = IconData(0xe80b, fontFamily: _kFontFam, fontPackage: _kFontPkg); - static const IconData pending_icon = IconData(0xe80c, fontFamily: _kFontFam, fontPackage: _kFontPkg); -} diff --git a/lib/providers/auth_provider.dart b/lib/providers/auth_provider.dart index f718eaf9..11f1667f 100644 --- a/lib/providers/auth_provider.dart +++ b/lib/providers/auth_provider.dart @@ -1,10 +1,10 @@ import 'package:doctor_app_flutter/client/base_app_client.dart'; -import 'package:doctor_app_flutter/models/clinic_model.dart'; +import 'package:doctor_app_flutter/models/doctor/clinic_model.dart'; import 'package:doctor_app_flutter/config/shared_pref_kay.dart'; import 'package:doctor_app_flutter/util/dr_app_shared_pref.dart'; import 'package:flutter/cupertino.dart'; -import '../models/user_model.dart'; +import '../models/doctor/user_model.dart'; const LOGIN_URL = 'Sentry.svc/REST/MemberLogIN_New'; const INSERT_DEVICE_IMEI = 'Sentry.svc/REST/DoctorApplication_INSERTDeviceIMEI'; diff --git a/lib/providers/doctor_reply_provider.dart b/lib/providers/doctor_reply_provider.dart index 493cb472..bc5e401c 100644 --- a/lib/providers/doctor_reply_provider.dart +++ b/lib/providers/doctor_reply_provider.dart @@ -1,6 +1,6 @@ import 'package:doctor_app_flutter/client/base_app_client.dart'; -import 'package:doctor_app_flutter/models/request_doctor_reply.dart'; -import 'package:doctor_app_flutter/models/list_gt_my_pationents_question_model.dart'; +import 'package:doctor_app_flutter/models/doctor/request_doctor_reply.dart'; +import 'package:doctor_app_flutter/models/doctor/list_gt_my_patients_question_model.dart'; import 'package:flutter/cupertino.dart'; class DoctorReplyProvider with ChangeNotifier { diff --git a/lib/providers/medicine_provider.dart b/lib/providers/medicine_provider.dart index a0d8f4ed..661a5e81 100644 --- a/lib/providers/medicine_provider.dart +++ b/lib/providers/medicine_provider.dart @@ -3,8 +3,8 @@ import 'dart:convert'; import 'package:doctor_app_flutter/client/app_client.dart'; import 'package:doctor_app_flutter/config/config.dart'; import 'package:doctor_app_flutter/config/shared_pref_kay.dart'; -import 'package:doctor_app_flutter/models/pharmacies_List_request_model.dart'; -import 'package:doctor_app_flutter/models/pharmacies_items_request_model.dart'; +import 'package:doctor_app_flutter/models/pharmacies/pharmacies_List_request_model.dart'; +import 'package:doctor_app_flutter/models/pharmacies/pharmacies_items_request_model.dart'; import 'package:doctor_app_flutter/util/dr_app_shared_pref.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:flutter/cupertino.dart'; diff --git a/lib/providers/patients_provider.dart b/lib/providers/patients_provider.dart index 2d1f4fe1..c525668b 100644 --- a/lib/providers/patients_provider.dart +++ b/lib/providers/patients_provider.dart @@ -3,29 +3,29 @@ import 'dart:convert'; import 'package:doctor_app_flutter/client/app_client.dart'; import 'package:doctor_app_flutter/client/base_app_client.dart'; import 'package:doctor_app_flutter/config/shared_pref_kay.dart'; -import 'package:doctor_app_flutter/models/doctor_profile_model.dart'; +import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart'; import 'package:doctor_app_flutter/models/patient/get_clinic_by_project_id_request.dart'; import 'package:doctor_app_flutter/models/patient/get_doctor_by_clinic_id_request.dart'; import 'package:doctor_app_flutter/models/patient/get_list_stp_referral_frequency_request.dart'; -import 'package:doctor_app_flutter/models/patient/lab_orders_res_model.dart'; -import 'package:doctor_app_flutter/models/patient/lab_result.dart'; -import 'package:doctor_app_flutter/models/patient/lab_result_req_model.dart'; +import 'package:doctor_app_flutter/models/patient/lab_orders/lab_orders_res_model.dart'; +import 'package:doctor_app_flutter/models/patient/lab_result/lab_result.dart'; +import 'package:doctor_app_flutter/models/patient/lab_result/lab_result_req_model.dart'; import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart'; -import 'package:doctor_app_flutter/models/patient/prescription_report_for_in_patient.dart'; -import 'package:doctor_app_flutter/models/patient/prescription_res_model.dart'; -import 'package:doctor_app_flutter/models/patient/radiology_res_model.dart'; +import 'package:doctor_app_flutter/models/patient/prescription/prescription_report_for_in_patient.dart'; +import 'package:doctor_app_flutter/models/patient/prescription/prescription_res_model.dart'; +import 'package:doctor_app_flutter/models/patient/radiology/radiology_res_model.dart'; import 'package:doctor_app_flutter/models/patient/refer_to_doctor_request.dart'; -import 'package:doctor_app_flutter/models/prescription_report.dart'; +import 'package:doctor_app_flutter/models/patient/prescription/prescription_report.dart'; import 'package:doctor_app_flutter/util/dr_app_shared_pref.dart'; import 'package:flutter/cupertino.dart'; import '../config/config.dart'; -import '../models/patient/lab_orders_res_model.dart'; +import '../models/patient/lab_orders/lab_orders_res_model.dart'; import '../models/patient/patiant_info_model.dart'; import '../models/patient/patient_model.dart'; -import '../models/patient/prescription_res_model.dart'; -import '../models/patient/radiology_res_model.dart'; -import '../models/patient/vital_sign_res_model.dart'; +import '../models/patient/prescription/prescription_res_model.dart'; +import '../models/patient/radiology/radiology_res_model.dart'; +import '../models/patient/vital_sign/vital_sign_res_model.dart'; import '../util/helpers.dart'; Helpers helpers = Helpers(); diff --git a/lib/providers/project_provider.dart b/lib/providers/project_provider.dart index 27dced84..ae5bd759 100644 --- a/lib/providers/project_provider.dart +++ b/lib/providers/project_provider.dart @@ -1,21 +1,44 @@ +import 'dart:async'; + +import 'package:connectivity/connectivity.dart'; import 'package:doctor_app_flutter/config/shared_pref_kay.dart'; import 'package:doctor_app_flutter/util/dr_app_shared_pref.dart'; import 'package:flutter/cupertino.dart'; -class ProjectProvider with ChangeNotifier{ +class ProjectProvider with ChangeNotifier { DrAppSharedPreferances sharedPref = DrAppSharedPreferances(); Locale _appLocale; String currentLanguage = 'ar'; bool _isArabic = false; + bool isInternetConnection=true; Locale get appLocal => _appLocale; bool get isArabic => _isArabic; + StreamSubscription subscription; + + ProjectProvider() { + loadSharedPrefLanguage(); - ProjectProvider(){ - loadSharedPrefLanguage (); + subscription = Connectivity() + .onConnectivityChanged + .listen((ConnectivityResult result) { + switch (result) { + case ConnectivityResult.wifi: + isInternetConnection = true; + break; + case ConnectivityResult.mobile: + isInternetConnection = true; + break; + case ConnectivityResult.none: + isInternetConnection = false; + break; + } + notifyListeners(); + }); } + void loadSharedPrefLanguage() async { currentLanguage = await sharedPref.getString(APP_Language); _appLocale = Locale(currentLanguage ?? 'en'); @@ -40,4 +63,9 @@ class ProjectProvider with ChangeNotifier{ notifyListeners(); } -} \ No newline at end of file + @override + void dispose() { + if (subscription != null) subscription.cancel(); + super.dispose(); + } +} diff --git a/lib/providers/referral_patient_provider.dart b/lib/providers/referral_patient_provider.dart index 84e27e98..d7270e65 100644 --- a/lib/providers/referral_patient_provider.dart +++ b/lib/providers/referral_patient_provider.dart @@ -1,7 +1,7 @@ import 'package:doctor_app_flutter/client/base_app_client.dart'; -import 'package:doctor_app_flutter/models/my_referral_patient_model.dart'; -import 'package:doctor_app_flutter/models/request_add_referred_doctor_remarks.dart'; -import 'package:doctor_app_flutter/models/request_my_referral_patient_model.dart'; +import 'package:doctor_app_flutter/models/patient/my_referral/my_referral_patient_model.dart'; +import 'package:doctor_app_flutter/models/doctor/request_add_referred_doctor_remarks.dart'; +import 'package:doctor_app_flutter/models/patient/request_my_referral_patient_model.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:flutter/cupertino.dart'; diff --git a/lib/providers/referred_patient_provider.dart b/lib/providers/referred_patient_provider.dart index 9234da69..4d7780b2 100644 --- a/lib/providers/referred_patient_provider.dart +++ b/lib/providers/referred_patient_provider.dart @@ -1,7 +1,7 @@ import 'package:doctor_app_flutter/client/base_app_client.dart'; -import 'package:doctor_app_flutter/models/my_referred_patient_model.dart'; -import 'package:doctor_app_flutter/models/request_my_referral_patient_model.dart'; -import 'package:doctor_app_flutter/models/verify_referral_doctor_remarks.dart'; +import 'package:doctor_app_flutter/models/patient/my_referral/my_referred_patient_model.dart'; +import 'package:doctor_app_flutter/models/patient/request_my_referral_patient_model.dart'; +import 'package:doctor_app_flutter/models/doctor/verify_referral_doctor_remarks.dart'; import 'package:flutter/cupertino.dart'; import '../util/helpers.dart'; diff --git a/lib/providers/schedule_provider.dart b/lib/providers/schedule_provider.dart index 057219a1..0bd98af7 100644 --- a/lib/providers/schedule_provider.dart +++ b/lib/providers/schedule_provider.dart @@ -1,7 +1,7 @@ import 'package:doctor_app_flutter/client/base_app_client.dart'; import 'package:flutter/cupertino.dart'; -import '../models/list_doctor_working_hours_table_model.dart'; -import '../models/request_schedule.dart'; +import '../models/doctor/list_doctor_working_hours_table_model.dart'; +import '../models/doctor/request_schedule.dart'; class ScheduleProvider with ChangeNotifier { List listDoctorWorkingHoursTable = []; diff --git a/lib/screens/QR_reader_screen.dart b/lib/screens/QR_reader_screen.dart index d89000ef..927ce478 100644 --- a/lib/screens/QR_reader_screen.dart +++ b/lib/screens/QR_reader_screen.dart @@ -1,7 +1,7 @@ import 'package:barcode_scan/platform_wrapper.dart'; import 'package:doctor_app_flutter/config/shared_pref_kay.dart'; import 'package:doctor_app_flutter/config/size_config.dart'; -import 'package:doctor_app_flutter/models/doctor_profile_model.dart'; +import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart'; import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart'; import 'package:doctor_app_flutter/models/patient/patient_model.dart'; import 'package:doctor_app_flutter/models/patient/topten_users_res_model.dart'; diff --git a/lib/screens/dashboard_screen.dart b/lib/screens/dashboard_screen.dart index f8c91d80..8ed91b4d 100644 --- a/lib/screens/dashboard_screen.dart +++ b/lib/screens/dashboard_screen.dart @@ -1,8 +1,9 @@ import 'package:doctor_app_flutter/config/shared_pref_kay.dart'; import 'package:doctor_app_flutter/config/size_config.dart'; -import 'package:doctor_app_flutter/models/clinic_model.dart'; -import 'package:doctor_app_flutter/models/doctor_profile_model.dart'; -import 'package:doctor_app_flutter/models/profile_req_Model.dart'; +import 'package:doctor_app_flutter/icons_app/doctor_app_icons.dart'; +import 'package:doctor_app_flutter/models/doctor/clinic_model.dart'; +import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart'; +import 'package:doctor_app_flutter/models/doctor/profile_req_Model.dart'; import 'package:doctor_app_flutter/providers/auth_provider.dart'; import 'package:doctor_app_flutter/providers/doctor_reply_provider.dart'; import 'package:doctor_app_flutter/providers/hospital_provider.dart'; @@ -36,6 +37,7 @@ class DashboardScreen extends StatefulWidget { final String title; final String iconURL = 'assets/images/dashboard_icon/'; + @override _DashboardScreenState createState() => _DashboardScreenState(); } @@ -44,6 +46,7 @@ class _DashboardScreenState extends State { HospitalProvider hospitalProvider; AuthProvider authProvider; bool isLoading = false; + @override Widget build(BuildContext context) { hospitalProvider = Provider.of(context); @@ -192,36 +195,27 @@ class _DashboardScreenState extends State { Expanded( flex: 2, child: new DashboardItemIconText( - widget.iconURL + 'lab_results.svg', + DoctorApp.lab_results, "08", TranslationBase.of(context).labResult, backgroundColor: Colors.black45, - // valueFontColor: Colors.white, - // titleFontColor: Colors.white, - // iconColor: Colors.white, ), ), Expanded( flex: 2, child: new DashboardItemIconText( - widget.iconURL + 'radiology.svg', + DoctorApp.radiology, "10", TranslationBase.of(context).radiology, backgroundColor: Colors.black45, - // valueFontColor: Colors.white, - // titleFontColor: Colors.white, - // iconColor: Colors.white, )), Expanded( flex: 2, child: new DashboardItemIconText( - widget.iconURL + 'referral.svg', + DoctorApp.referral, "05", TranslationBase.of(context).referral, backgroundColor: Colors.black45, - // valueFontColor: Colors.white, - // titleFontColor: Colors.white, - // iconColor: Colors.white, )), ], ), @@ -234,9 +228,7 @@ class _DashboardScreenState extends State { Expanded( flex: 2, child: new DashboardItemIconText( - widget.iconURL + 'in_patient_white.svg', - "23", - TranslationBase.of(context).outPatients, + DoctorApp.in_patient_white, "23", TranslationBase.of(context).outPatients, showBorder: true, backgroundColor: Colors.red[900], iconColor: Colors.white), @@ -244,7 +236,8 @@ class _DashboardScreenState extends State { Expanded( flex: 2, child: new DashboardItemIconText( - widget.iconURL + 'operations.svg', + //widget.iconURL + 'operations.svg', + DoctorApp.operations, "23", TranslationBase.of(context).inPatient, showBorder: true, @@ -272,7 +265,7 @@ class _DashboardScreenState extends State { flex: 2, child: InkWell( child: DashboardItemIconText( - widget.iconURL + 'search_patient.svg', + DoctorApp.search_patient, "", TranslationBase.of(context).searchPatient, showBorder: true, @@ -302,7 +295,7 @@ class _DashboardScreenState extends State { ); }, child: DashboardItemIconText( - widget.iconURL + 'message_icon.svg', + DoctorApp.message_icon, "", TranslationBase.of(context).doctorReply, showBorder: true, @@ -326,7 +319,7 @@ class _DashboardScreenState extends State { flex: 1, child: InkWell( child: DashboardItemIconText( - widget.iconURL + 'search_patient.svg', + DoctorApp.search_patient, "", TranslationBase.of(context).searchMedicine, showBorder: true, @@ -364,7 +357,7 @@ class _DashboardScreenState extends State { ); }, child: DashboardItemIconText( - widget.iconURL + 'referral.svg', + DoctorApp.referral, "", TranslationBase.of(context).myReferralPatient, showBorder: true, @@ -399,7 +392,7 @@ class _DashboardScreenState extends State { ); }, child: DashboardItemIconText( - widget.iconURL + 'referral.svg', + DoctorApp.referral, "", TranslationBase.of(context).myReferredPatient, showBorder: true, @@ -418,7 +411,7 @@ class _DashboardScreenState extends State { Navigator.of(context).pushNamed(QR_READER); }, child: DashboardItemIconText( - widget.iconURL + 'qr-code.svg', + DoctorApp.qr_code, "", TranslationBase.of(context).qrReader, showBorder: true, diff --git a/lib/screens/patients/out_patient_prescription_details_screen.dart b/lib/screens/patients/out_patient_prescription_details_screen.dart index a8f97290..e87704b7 100644 --- a/lib/screens/patients/out_patient_prescription_details_screen.dart +++ b/lib/screens/patients/out_patient_prescription_details_screen.dart @@ -1,5 +1,5 @@ -import 'package:doctor_app_flutter/models/patient/prescription_res_model.dart'; -import 'package:doctor_app_flutter/models/request_prescription_report.dart'; +import 'package:doctor_app_flutter/models/patient/prescription/prescription_res_model.dart'; +import 'package:doctor_app_flutter/models/patient/prescription/request_prescription_report.dart'; import 'package:doctor_app_flutter/providers/patients_provider.dart'; import 'package:doctor_app_flutter/screens/patients/profile/prescriptions/out_patient_prescription_details_item.dart'; import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart'; diff --git a/lib/screens/patients/patient_search_screen.dart b/lib/screens/patients/patient_search_screen.dart index 7b151ebf..eec2c9a1 100644 --- a/lib/screens/patients/patient_search_screen.dart +++ b/lib/screens/patients/patient_search_screen.dart @@ -18,7 +18,7 @@ import 'package:flutter/rendering.dart'; import '../../lookups/patient_lookup.dart'; import '../../widgets/patients/dynamic_elements.dart'; import '../../config/config.dart'; -import '../../models/doctor_profile_model.dart'; +import '../../models/doctor/doctor_profile_model.dart'; import 'package:doctor_app_flutter/util/translations_delegate_base.dart'; import 'package:provider/provider.dart'; diff --git a/lib/screens/patients/patients_screen.dart b/lib/screens/patients/patients_screen.dart index 0012cb7b..fef6567a 100644 --- a/lib/screens/patients/patients_screen.dart +++ b/lib/screens/patients/patients_screen.dart @@ -7,6 +7,7 @@ *@desc: */ +import 'package:doctor_app_flutter/icons_app/doctor_app_icons.dart'; import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart'; import 'package:doctor_app_flutter/models/patient/patient_model.dart'; import 'package:doctor_app_flutter/models/patient/topten_users_res_model.dart'; @@ -21,8 +22,6 @@ import 'package:doctor_app_flutter/widgets/shared/errors/dr_app_embedded_error.d import 'package:doctor_app_flutter/widgets/shared/profile_image_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; -import 'package:flutter_svg/flutter_svg.dart'; -import 'package:doctor_app_flutter/presentation/doctor_app_icons.dart'; import '../../config/size_config.dart'; import 'package:hexcolor/hexcolor.dart'; diff --git a/lib/screens/patients/profile/insurance_approvals_screen.dart b/lib/screens/patients/profile/insurance_approvals_screen.dart index 7338b2d5..99db9a4f 100644 --- a/lib/screens/patients/profile/insurance_approvals_screen.dart +++ b/lib/screens/patients/profile/insurance_approvals_screen.dart @@ -1,6 +1,6 @@ import 'package:doctor_app_flutter/config/config.dart'; +import 'package:doctor_app_flutter/icons_app/doctor_app_icons.dart'; import 'package:doctor_app_flutter/models/patient/insurance_aprovals_request.dart'; -import 'package:doctor_app_flutter/presentation/doctor_app_icons.dart'; import 'package:doctor_app_flutter/widgets/shared/errors/dr_app_embedded_error.dart'; import 'package:doctor_app_flutter/widgets/shared/rounded_container_widget.dart'; import 'package:flutter/material.dart'; diff --git a/lib/screens/patients/profile/lab_result/lab_orders_screen.dart b/lib/screens/patients/profile/lab_result/lab_orders_screen.dart index ce50504c..1fa71dc0 100644 --- a/lib/screens/patients/profile/lab_result/lab_orders_screen.dart +++ b/lib/screens/patients/profile/lab_result/lab_orders_screen.dart @@ -8,7 +8,7 @@ import 'package:provider/provider.dart'; import '../../../../config/shared_pref_kay.dart'; import '../../../../config/size_config.dart'; -import '../../../../models/patient/lab_orders_req_model.dart'; +import '../../../../models/patient/lab_orders/lab_orders_req_model.dart'; import '../../../../models/patient/patiant_info_model.dart'; import '../../../../providers/patients_provider.dart'; import '../../../../util/dr_app_shared_pref.dart'; diff --git a/lib/screens/patients/profile/lab_result/lab_result_secreen.dart b/lib/screens/patients/profile/lab_result/lab_result_secreen.dart index 54c9e30a..70f4b8a3 100644 --- a/lib/screens/patients/profile/lab_result/lab_result_secreen.dart +++ b/lib/screens/patients/profile/lab_result/lab_result_secreen.dart @@ -1,5 +1,5 @@ import 'package:doctor_app_flutter/config/size_config.dart'; -import 'package:doctor_app_flutter/models/patient/lab_orders_res_model.dart'; +import 'package:doctor_app_flutter/models/patient/lab_orders/lab_orders_res_model.dart'; import 'package:doctor_app_flutter/providers/patients_provider.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:doctor_app_flutter/widgets/doctor/lab_result_widget.dart'; diff --git a/lib/screens/patients/profile/prescriptions/in_patient_prescription_details_screen.dart b/lib/screens/patients/profile/prescriptions/in_patient_prescription_details_screen.dart index f4a8a395..18251d79 100644 --- a/lib/screens/patients/profile/prescriptions/in_patient_prescription_details_screen.dart +++ b/lib/screens/patients/profile/prescriptions/in_patient_prescription_details_screen.dart @@ -1,5 +1,5 @@ import 'package:doctor_app_flutter/config/size_config.dart'; -import 'package:doctor_app_flutter/models/patient/prescription_report_for_in_patient.dart'; +import 'package:doctor_app_flutter/models/patient/prescription/prescription_report_for_in_patient.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:doctor_app_flutter/widgets/shared/app_scaffold_widget.dart'; import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart'; diff --git a/lib/screens/patients/profile/prescriptions/out_patient_prescription_details_item.dart b/lib/screens/patients/profile/prescriptions/out_patient_prescription_details_item.dart index fc212afe..50585143 100644 --- a/lib/screens/patients/profile/prescriptions/out_patient_prescription_details_item.dart +++ b/lib/screens/patients/profile/prescriptions/out_patient_prescription_details_item.dart @@ -1,5 +1,5 @@ import 'package:doctor_app_flutter/config/size_config.dart'; -import 'package:doctor_app_flutter/models/prescription_report.dart'; +import 'package:doctor_app_flutter/models/patient/prescription/prescription_report.dart'; import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/screens/patients/profile/prescriptions/prescriptions_screen.dart b/lib/screens/patients/profile/prescriptions/prescriptions_screen.dart index 39e809e3..afb880b4 100644 --- a/lib/screens/patients/profile/prescriptions/prescriptions_screen.dart +++ b/lib/screens/patients/profile/prescriptions/prescriptions_screen.dart @@ -10,7 +10,7 @@ import 'package:provider/provider.dart'; import '../../../../config/shared_pref_kay.dart'; import '../../../../config/size_config.dart'; import '../../../../models/patient/patiant_info_model.dart'; -import '../../../../models/patient/prescription_req_model.dart'; +import '../../../../models/patient/prescription/prescription_req_model.dart'; import '../../../../providers/patients_provider.dart'; import '../../../../util/dr_app_shared_pref.dart'; import '../../../../widgets/shared/app_scaffold_widget.dart'; diff --git a/lib/screens/patients/profile/radiology/radiology_screen.dart b/lib/screens/patients/profile/radiology/radiology_screen.dart index 19962c43..3db9da32 100644 --- a/lib/screens/patients/profile/radiology/radiology_screen.dart +++ b/lib/screens/patients/profile/radiology/radiology_screen.dart @@ -1,3 +1,4 @@ +import 'package:doctor_app_flutter/models/patient/radiology/radiology_req_model.dart'; import 'package:doctor_app_flutter/screens/patients/profile/radiology/radiology_report_screen.dart'; import 'package:doctor_app_flutter/widgets/patients/profile/large_avatar.dart'; import 'package:doctor_app_flutter/widgets/shared/errors/dr_app_embedded_error.dart'; @@ -7,14 +8,11 @@ import 'package:provider/provider.dart'; import '../../../../config/shared_pref_kay.dart'; import '../../../../config/size_config.dart'; import '../../../../models/patient/patiant_info_model.dart'; -import '../../../../models/patient/radiology_req_model.dart'; import '../../../../providers/patients_provider.dart'; import '../../../../util/dr_app_shared_pref.dart'; import '../../../../widgets/shared/app_scaffold_widget.dart'; import '../../../../widgets/shared/app_texts_widget.dart'; -import '../../../../widgets/shared/card_with_bg_widget.dart'; import '../../../../widgets/shared/dr_app_circular_progress_Indeicator.dart'; -import '../../../../widgets/shared/profile_image_widget.dart'; import 'package:doctor_app_flutter/util/translations_delegate_base.dart'; DrAppSharedPreferances sharedPref = new DrAppSharedPreferances(); diff --git a/lib/screens/patients/profile/vital_sign/vital_sign_details_screen.dart b/lib/screens/patients/profile/vital_sign/vital_sign_details_screen.dart index 8317cb2a..e8d49c8f 100644 --- a/lib/screens/patients/profile/vital_sign/vital_sign_details_screen.dart +++ b/lib/screens/patients/profile/vital_sign/vital_sign_details_screen.dart @@ -1,3 +1,4 @@ +import 'package:doctor_app_flutter/models/patient/vital_sign/vital_sign_req_model.dart'; import 'package:doctor_app_flutter/widgets/shared/dr_app_circular_progress_Indeicator.dart'; import 'package:doctor_app_flutter/widgets/shared/errors/dr_app_embedded_error.dart'; import 'package:flutter/material.dart'; @@ -7,8 +8,7 @@ import '../../../../config/shared_pref_kay.dart'; import '../../../../config/size_config.dart'; import '../../../../lookups/patient_lookup.dart'; import '../../../../models/patient/patiant_info_model.dart'; -import '../../../../models/patient/vital_sign_req_model.dart'; -import '../../../../models/patient/vital_sign_res_model.dart'; +import '../../../../models/patient/vital_sign/vital_sign_res_model.dart'; import '../../../../providers/patients_provider.dart'; import '../../../../routes.dart'; import '../../../../screens/patients/profile/vital_sign/vital_sign_item.dart'; diff --git a/lib/screens/patients/profile/vital_sign/vital_sign_item_details_screen.dart b/lib/screens/patients/profile/vital_sign/vital_sign_item_details_screen.dart index 55f636d2..ebe3b9d9 100644 --- a/lib/screens/patients/profile/vital_sign/vital_sign_item_details_screen.dart +++ b/lib/screens/patients/profile/vital_sign/vital_sign_item_details_screen.dart @@ -2,7 +2,7 @@ import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import '../../../../lookups/patient_lookup.dart'; -import '../../../../models/patient/vital_sign_res_model.dart'; +import '../../../../models/patient/vital_sign/vital_sign_res_model.dart'; import '../../../../providers/patients_provider.dart'; import '../../../../screens/patients/profile/vital_sign/vital_sing_chart_and_detials.dart'; import '../../../../widgets/shared/app_scaffold_widget.dart'; diff --git a/lib/screens/patients/profile/vital_sign/vital_sign_screen.dart b/lib/screens/patients/profile/vital_sign/vital_sign_screen.dart index a03a031c..64ab7bf3 100644 --- a/lib/screens/patients/profile/vital_sign/vital_sign_screen.dart +++ b/lib/screens/patients/profile/vital_sign/vital_sign_screen.dart @@ -1,3 +1,4 @@ +import 'package:doctor_app_flutter/models/patient/vital_sign/vital_sign_req_model.dart'; import 'package:doctor_app_flutter/routes.dart'; import 'package:doctor_app_flutter/widgets/shared/errors/dr_app_embedded_error.dart'; import 'package:flutter/material.dart'; @@ -6,7 +7,6 @@ import 'package:provider/provider.dart'; import '../../../../config/shared_pref_kay.dart'; import '../../../../config/size_config.dart'; import '../../../../models/patient/patiant_info_model.dart'; -import '../../../../models/patient/vital_sign_req_model.dart'; import '../../../../providers/patients_provider.dart'; import '../../../../util/dr_app_shared_pref.dart'; import '../../../../widgets/shared/app_scaffold_widget.dart'; diff --git a/lib/screens/patients/profile/vital_sign/vital_sing_chart_and_detials.dart b/lib/screens/patients/profile/vital_sign/vital_sing_chart_and_detials.dart index 1959ca52..7ae4937a 100644 --- a/lib/screens/patients/profile/vital_sign/vital_sing_chart_and_detials.dart +++ b/lib/screens/patients/profile/vital_sign/vital_sing_chart_and_detials.dart @@ -1,4 +1,4 @@ -import 'package:doctor_app_flutter/models/patient/vital_sign_res_model.dart'; +import 'package:doctor_app_flutter/models/patient/vital_sign/vital_sign_res_model.dart'; import 'package:doctor_app_flutter/widgets/patients/vital_sign_details_wideget.dart'; import 'package:doctor_app_flutter/widgets/shared/app_expandable_notifier.dart'; import 'package:doctor_app_flutter/widgets/shared/charts/app_time_series_chart.dart'; diff --git a/lib/screens/profile_screen.dart b/lib/screens/profile_screen.dart index 979e187d..fa9869ad 100644 --- a/lib/screens/profile_screen.dart +++ b/lib/screens/profile_screen.dart @@ -1,4 +1,4 @@ -import 'package:doctor_app_flutter/models/doctor_profile_model.dart'; +import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart'; import 'package:flutter/material.dart'; import '../config/size_config.dart'; diff --git a/lib/util/helpers.dart b/lib/util/helpers.dart index aa92b253..416c723e 100644 --- a/lib/util/helpers.dart +++ b/lib/util/helpers.dart @@ -1,4 +1,4 @@ -import 'package:doctor_app_flutter/models/list_doctor_working_hours_table_model.dart'; +import 'package:doctor_app_flutter/models/doctor/list_doctor_working_hours_table_model.dart'; import 'package:doctor_app_flutter/routes.dart'; import 'package:doctor_app_flutter/util/dr_app_shared_pref.dart'; import 'package:flutter/cupertino.dart'; diff --git a/lib/widgets/auth/login_form.dart b/lib/widgets/auth/login_form.dart index b575ba98..1b800613 100644 --- a/lib/widgets/auth/login_form.dart +++ b/lib/widgets/auth/login_form.dart @@ -9,7 +9,7 @@ import 'package:provider/provider.dart'; import '../../config/shared_pref_kay.dart'; import '../../config/size_config.dart'; -import '../../models/user_model.dart'; +import '../../models/doctor/user_model.dart'; import '../../providers/auth_provider.dart'; import '../../providers/hospital_provider.dart'; import '../../routes.dart'; diff --git a/lib/widgets/auth/verfiy_account.dart b/lib/widgets/auth/verfiy_account.dart index 0689da6b..af3ed2e2 100644 --- a/lib/widgets/auth/verfiy_account.dart +++ b/lib/widgets/auth/verfiy_account.dart @@ -1,8 +1,8 @@ import 'dart:async'; import 'package:doctor_app_flutter/config/shared_pref_kay.dart'; -import 'package:doctor_app_flutter/models/clinic_model.dart'; -import 'package:doctor_app_flutter/models/profile_req_Model.dart'; +import 'package:doctor_app_flutter/models/doctor/clinic_model.dart'; +import 'package:doctor_app_flutter/models/doctor/profile_req_Model.dart'; import 'package:doctor_app_flutter/widgets/auth/show_timer_text.dart'; import 'package:flutter/material.dart'; import 'package:hexcolor/hexcolor.dart'; diff --git a/lib/widgets/dashboard/dashboard_item_icons_texts.dart b/lib/widgets/dashboard/dashboard_item_icons_texts.dart index 12fd9a40..03107f46 100644 --- a/lib/widgets/dashboard/dashboard_item_icons_texts.dart +++ b/lib/widgets/dashboard/dashboard_item_icons_texts.dart @@ -1,14 +1,13 @@ import 'dart:ffi'; import 'package:doctor_app_flutter/config/size_config.dart'; -import 'package:flutter_svg/svg.dart'; import '../shared/rounded_container_widget.dart'; import 'package:flutter/material.dart'; import '../shared/app_texts_widget.dart'; class DashboardItemIconText extends StatefulWidget { - final String icon; + final IconData icon; final String value; final String label; final Color backgroundColor; @@ -46,12 +45,13 @@ class _DashboardItemTextsState extends State { Align( alignment: FractionalOffset.topLeft, child: Container( - padding: EdgeInsets.all(10), - child: SvgPicture.asset( - widget.icon, - color: widget.iconColor, - width: SizeConfig.widthMultiplier * 7, - ))), + padding: EdgeInsets.all(10), + child: Icon( + widget.icon, + size: SizeConfig.textMultiplier * 2.8, + color: widget.iconColor, + ), + )), Align( alignment: FractionalOffset.bottomRight, child: Container( diff --git a/lib/widgets/doctor/doctor_reply_widget.dart b/lib/widgets/doctor/doctor_reply_widget.dart index 6fc9ec66..3413749a 100644 --- a/lib/widgets/doctor/doctor_reply_widget.dart +++ b/lib/widgets/doctor/doctor_reply_widget.dart @@ -1,6 +1,6 @@ import 'package:doctor_app_flutter/config/size_config.dart'; -import 'package:doctor_app_flutter/models/list_gt_my_pationents_question_model.dart'; -import 'package:doctor_app_flutter/presentation/doctor_app_icons.dart'; +import 'package:doctor_app_flutter/models/doctor/list_gt_my_patients_question_model.dart'; +import 'package:doctor_app_flutter/icons_app/doctor_app_icons.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:doctor_app_flutter/util/translations_delegate_base.dart'; import 'package:doctor_app_flutter/widgets/patients/profile/large_avatar.dart'; diff --git a/lib/widgets/doctor/lab_result_widget.dart b/lib/widgets/doctor/lab_result_widget.dart index 5ae4f901..3f6facce 100644 --- a/lib/widgets/doctor/lab_result_widget.dart +++ b/lib/widgets/doctor/lab_result_widget.dart @@ -1,5 +1,5 @@ import 'package:doctor_app_flutter/config/size_config.dart'; -import 'package:doctor_app_flutter/models/patient/lab_result.dart'; +import 'package:doctor_app_flutter/models/patient/lab_result/lab_result.dart'; import 'package:doctor_app_flutter/widgets/shared/Text.dart'; import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart'; import 'package:doctor_app_flutter/widgets/shared/card_with_bgNew_widget.dart'; diff --git a/lib/widgets/doctor/my_referral_patient_widget.dart b/lib/widgets/doctor/my_referral_patient_widget.dart index 7d35e389..7b435e9b 100644 --- a/lib/widgets/doctor/my_referral_patient_widget.dart +++ b/lib/widgets/doctor/my_referral_patient_widget.dart @@ -1,5 +1,5 @@ import 'package:doctor_app_flutter/config/size_config.dart'; -import 'package:doctor_app_flutter/models/my_referral_patient_model.dart'; +import 'package:doctor_app_flutter/models/patient/my_referral/my_referral_patient_model.dart'; import 'package:doctor_app_flutter/providers/referral_patient_provider.dart'; import 'package:doctor_app_flutter/util/dr_app_toast_msg.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; diff --git a/lib/widgets/doctor/my_referred_patient_widget.dart b/lib/widgets/doctor/my_referred_patient_widget.dart index 0ff1e433..c4ad4f29 100644 --- a/lib/widgets/doctor/my_referred_patient_widget.dart +++ b/lib/widgets/doctor/my_referred_patient_widget.dart @@ -1,5 +1,5 @@ -import 'package:doctor_app_flutter/models/my_referral_patient_model.dart'; -import 'package:doctor_app_flutter/models/my_referred_patient_model.dart'; +import 'package:doctor_app_flutter/models/patient/my_referral/my_referral_patient_model.dart'; +import 'package:doctor_app_flutter/models/patient/my_referral/my_referred_patient_model.dart'; import 'package:doctor_app_flutter/util/dr_app_toast_msg.dart'; import 'package:doctor_app_flutter/util/translations_delegate_base.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/doctor/my_schedule_widget.dart b/lib/widgets/doctor/my_schedule_widget.dart index 48f70d7c..68194a31 100644 --- a/lib/widgets/doctor/my_schedule_widget.dart +++ b/lib/widgets/doctor/my_schedule_widget.dart @@ -1,5 +1,5 @@ import 'package:doctor_app_flutter/config/size_config.dart'; -import 'package:doctor_app_flutter/models/list_doctor_working_hours_table_model.dart'; +import 'package:doctor_app_flutter/models/doctor/list_doctor_working_hours_table_model.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart'; import 'package:doctor_app_flutter/widgets/shared/card_with_bgNew_widget.dart'; diff --git a/lib/widgets/patients/profile/patient_profile_widget.dart b/lib/widgets/patients/profile/patient_profile_widget.dart index 87990fbf..056d0be5 100644 --- a/lib/widgets/patients/profile/patient_profile_widget.dart +++ b/lib/widgets/patients/profile/patient_profile_widget.dart @@ -1,15 +1,8 @@ -import 'package:doctor_app_flutter/config/size_config.dart'; import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart'; import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart'; import 'package:doctor_app_flutter/widgets/shared/profile_image_widget.dart'; - import 'package:flutter/material.dart'; -import 'package:hexcolor/hexcolor.dart'; - -import './Profile_general_info_Widget.dart'; -import './profile_header_widget.dart'; import './profile_medical_info_widget.dart'; -import './profile_status_info_widget.dart'; /* *@author: Elham Rababah @@ -25,12 +18,6 @@ class PatientProfileWidget extends StatelessWidget { Widget build(BuildContext context) { final routeArgs = ModalRoute.of(context).settings.arguments as Map; patient = routeArgs['patient']; - // return ListView(padding: EdgeInsets.zero, children: [ - // ProfileHeaderWidget(patient: patient), - // ProfileGeneralInfoWidget(patient: patient), - // ProfileMedicalInfoWidget(patient: patient), - // ProfileStatusInfoWidget() - // ]); return CustomScrollView(primary: false, slivers: [ SliverList( @@ -77,15 +64,9 @@ class PatientProfileWidget extends StatelessWidget { ), SliverPadding( padding: const EdgeInsets.fromLTRB(20, 30, 15, 10), - sliver: ProfileMedicalInfoWidget(patient: patient,)) + sliver: ProfileMedicalInfoWidget( + patient: patient, + )) ]); - - // Container( - // child: Column(children: [ - // Expanded( - // flex: 2, - // child: , - // ) - // ])); } } diff --git a/lib/widgets/patients/profile/prescription_in_patinets_widget.dart b/lib/widgets/patients/profile/prescription_in_patinets_widget.dart index cafa6290..a5b9d014 100644 --- a/lib/widgets/patients/profile/prescription_in_patinets_widget.dart +++ b/lib/widgets/patients/profile/prescription_in_patinets_widget.dart @@ -1,5 +1,5 @@ import 'package:doctor_app_flutter/config/size_config.dart'; -import 'package:doctor_app_flutter/models/patient/prescription_report_for_in_patient.dart'; +import 'package:doctor_app_flutter/models/patient/prescription/prescription_report_for_in_patient.dart'; import 'package:doctor_app_flutter/routes.dart'; import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart'; import 'package:doctor_app_flutter/widgets/shared/card_with_bgNew_widget.dart'; diff --git a/lib/widgets/patients/profile/prescription_out_patinets_widget.dart b/lib/widgets/patients/profile/prescription_out_patinets_widget.dart index bedd6427..fd43e48d 100644 --- a/lib/widgets/patients/profile/prescription_out_patinets_widget.dart +++ b/lib/widgets/patients/profile/prescription_out_patinets_widget.dart @@ -1,5 +1,5 @@ import 'package:doctor_app_flutter/config/size_config.dart'; -import 'package:doctor_app_flutter/models/patient/prescription_res_model.dart'; +import 'package:doctor_app_flutter/models/patient/prescription/prescription_res_model.dart'; import 'package:doctor_app_flutter/screens/patients/out_patient_prescription_details_screen.dart'; import 'package:doctor_app_flutter/widgets/shared/app_texts_widget.dart'; import 'package:doctor_app_flutter/widgets/shared/card_with_bgNew_widget.dart'; diff --git a/lib/widgets/patients/profile/profile_medical_info_widget.dart b/lib/widgets/patients/profile/profile_medical_info_widget.dart index b37a360f..a1032862 100644 --- a/lib/widgets/patients/profile/profile_medical_info_widget.dart +++ b/lib/widgets/patients/profile/profile_medical_info_widget.dart @@ -1,10 +1,8 @@ import 'package:doctor_app_flutter/config/config.dart'; import 'package:doctor_app_flutter/models/patient/patiant_info_model.dart'; import 'package:doctor_app_flutter/routes.dart'; - import 'package:flutter/material.dart'; import 'package:hexcolor/hexcolor.dart'; - import '../../../config/size_config.dart'; import '../../shared/app_texts_widget.dart'; import '../../shared/rounded_container_widget.dart'; @@ -22,8 +20,6 @@ class ProfileMedicalInfoWidget extends StatelessWidget { PatiantInformtion patient; @override Widget build(BuildContext context) { - // final double contWidth = SizeConfig.realScreenWidth * 0.70; - // final double contHeight = SizeConfig.screenHeight * 0.30; return SliverGrid.count( crossAxisSpacing: 10, mainAxisSpacing: 20, @@ -87,141 +83,6 @@ class ProfileMedicalInfoWidget extends StatelessWidget { name: 'Orders', icon: 'radiology-1.png')), ]); - // child: ListView( - // children: [ - // Padding( - // padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 14), - // child: Column( - // crossAxisAlignment: CrossAxisAlignment.start, - // children: [ - // AppText( - // 'Patient Medical Information ', - // fontSize: SizeConfig.textMultiplier * 3, - // fontWeight: FontWeight.w700, - // color: Hexcolor('#58434F'), - // ), - // SizedBox( - // height: 20, - // ), - // Row( - // mainAxisAlignment: MainAxisAlignment.spaceAround, - // children: [ - // InkWell( - // onTap: () { - // navigator(context, VITAL_SIGN_DETAILS); - // }, - // child: CircleAvatarWidget( - // des: 'Vital Sign', - // url: url + 'heartbeat.png', - // width: (contWidth) / 4.5, - // height: (contWidth) / 4.5, - // ), - // ), - // InkWell( - // onTap: () { - // navigator(context, LAB_ORDERS); - // }, - // child: CircleAvatarWidget( - // des: 'Lab Result', - // url: url + 'lab.png', - // width: (contWidth) / 4.5, - // height: (contWidth) / 4.5, - // ), - // ), - // InkWell( - // onTap: () { - // navigator(context, PRESCRIPTIONS); - // }, - // child: CircleAvatarWidget( - // des: 'Prescription', - // url: url + 'note.png', - // width: (contWidth) / 4.5, - // height: (contWidth) / 4.5, - // ), - // ), - // InkWell( - // //RADIOLOGY - // onTap: () { - // navigator(context, RADIOLOGY); - // }, - // child: CircleAvatarWidget( - // des: 'Radiology', - // url: url + 'radiology-1.png', - // width: (contWidth) / 4.5, - // height: (contWidth) / 4.5, - // ), - // ), - // ], - // ), - // Row( - // mainAxisAlignment: MainAxisAlignment.spaceAround, - // children: [ - // Visibility( - // visible: selectedPatientType != 0 && selectedPatientType != 5 , - // child: InkWell( - // onTap: () { - // navigator(context, PROGRESS_NOTE); - // }, - // child: CircleAvatarWidget( - // des: 'Progress Notes', - // url: url + 'heartbeat.png', - // width: (contWidth) / 4.5, - // height: (contWidth) / 4.5, - // ), - // ), - // ), - // Visibility( - - // child: InkWell( - // onTap: () { - // navigator(context, PATIENT_INSURANCE_APPROVALS); - // }, - // child: CircleAvatarWidget( - // des: 'Insurance Aprovals', - // url: url + 'lab.png', - // width: (contWidth) / 4.5, - // height: (contWidth) / 4.5, - // ), - // ), - // ), - // Visibility( - // visible: selectedPatientType != 0 && selectedPatientType != 5 && selectedPatientType != 2, - // child: InkWell( - // onTap: () { - // navigator(context, PRESCRIPTIONS); - // }, - // child: CircleAvatarWidget( - // des: 'Refer Patient ', - // url: url + 'note.png', - // width: (contWidth) / 4.5, - // height: (contWidth) / 4.5, - // ), - // ), - // ), - // Visibility( - // visible: selectedPatientType != 0 && selectedPatientType != 5, - // child: InkWell( - // onTap: () { - // navigator(context, PATIENT_ORDERS); - // }, - // child: CircleAvatarWidget( - // des: 'Orders', - // url: url + 'radiology-1.png', - // width: (contWidth) / 4.5, - // height: (contWidth) / 4.5, - // ), - // ), - // ), - // ], - // ) - // ], - // ), - // ), - // ], - // ), - // width: contWidth, - // height: contHeight, - //); } } diff --git a/lib/widgets/patients/vital_sign_details_wideget.dart b/lib/widgets/patients/vital_sign_details_wideget.dart index c706e0ad..166680ca 100644 --- a/lib/widgets/patients/vital_sign_details_wideget.dart +++ b/lib/widgets/patients/vital_sign_details_wideget.dart @@ -1,4 +1,4 @@ -import 'package:doctor_app_flutter/models/patient/vital_sign_res_model.dart'; +import 'package:doctor_app_flutter/models/patient/vital_sign/vital_sign_res_model.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:doctor_app_flutter/widgets/shared/Text.dart'; import 'package:flutter/cupertino.dart'; diff --git a/lib/widgets/shared/app_drawer_widget.dart b/lib/widgets/shared/app_drawer_widget.dart index b2cd3dd9..71cba13b 100644 --- a/lib/widgets/shared/app_drawer_widget.dart +++ b/lib/widgets/shared/app_drawer_widget.dart @@ -1,3 +1,4 @@ +import 'package:doctor_app_flutter/icons_app/doctor_app_icons.dart'; import 'package:doctor_app_flutter/util/helpers.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; @@ -11,7 +12,7 @@ import '../../util/dr_app_shared_pref.dart'; import '../../widgets/shared/drawer_item_widget.dart'; import '../../widgets/shared/rounded_container_widget.dart'; import 'app_texts_widget.dart'; -import 'package:doctor_app_flutter/models/doctor_profile_model.dart'; +import 'package:doctor_app_flutter/models/doctor/doctor_profile_model.dart'; DrAppSharedPreferances sharedPref = new DrAppSharedPreferances(); @@ -31,7 +32,7 @@ class _AppDrawerState extends State { void didChangeDependencies() { super.didChangeDependencies(); // if (_isInit) { - getDocProfile();// TODO: Refactor this code to prevent errors in the cosole. + getDocProfile(); // TODO: Refactor this code to prevent errors in the cosole. // } _isInit = false; } @@ -40,7 +41,7 @@ class _AppDrawerState extends State { Map profile = await sharedPref.getObj(DOCTOR_PROFILE); // doctorProfile = DoctorProfileModel.fromJson(profile); setState(() { - doctorProfile = DoctorProfileModel.fromJson(profile); + doctorProfile = DoctorProfileModel.fromJson(profile); }); String token = await sharedPref.getString(TOKEN); @@ -51,75 +52,118 @@ class _AppDrawerState extends State { // var x = getDocProfile(); return RoundedContainer( child: Container( - margin: EdgeInsets.only(top: SizeConfig.heightMultiplier * 9), + color: Colors.white, + // margin: EdgeInsets.only(top: SizeConfig.heightMultiplier * 2), child: Drawer( + child: Column(children: [ + Expanded( + flex: 4, child: ListView(padding: EdgeInsets.zero, children: [ - Container( - height: SizeConfig.heightMultiplier * 30, - child: InkWell( - child: DrawerHeader( - child: Column( - crossAxisAlignment: CrossAxisAlignment.center, - children: [ - CircleAvatar( - radius: SizeConfig.imageSizeMultiplier * 12, - backgroundImage: - NetworkImage(doctorProfile.doctorImageURL), - backgroundColor: Colors.transparent, + Container( + height: SizeConfig.heightMultiplier * 50, + child: InkWell( + child: DrawerHeader( + child: Column( + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + child: Image.asset('assets/images/logo.png'), + margin: EdgeInsets.only(top: 10, bottom: 15), + ), + SizedBox( + height: 1, + child: Container( + color: Colors.black26, + ), + ), + SizedBox(height: 15), + CircleAvatar( + radius: SizeConfig.imageSizeMultiplier * 12, + backgroundImage: + NetworkImage(doctorProfile.doctorImageURL), + backgroundColor: Colors.white, + ), + Padding( + padding: EdgeInsets.only(top: 10), + child: AppText( + doctorProfile.doctorName, + fontWeight: FontWeight.bold, + color: Colors.black, + fontSize: SizeConfig.textMultiplier * 2, + )), + AppText( + "Director of medical records", //TODO: Make The Dr Title Dynamic and check overflow issue. + fontWeight: FontWeight.normal, + color: Colors.black87), + RaisedButton( + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(18.0), + side: BorderSide(color: Colors.red)), + child: AppText( + 'Logout', + color: Colors.white, + ), + onPressed: () async { + await Helpers.clearSharedPref(); + Navigator.pop(context); + Navigator.of(context).pushNamed(LOGIN); + }, + ), + ], ), - Padding( - padding: EdgeInsets.only(top: 10), - child: AppText( - doctorProfile.doctorName, - - fontWeight: FontWeight.bold, - color: Colors.white, - fontSize: SizeConfig.textMultiplier * 2, - )), - AppText("Director of medical records",//TODO: Make The Dr Title Dynamic and check overflow issue. - fontWeight: FontWeight.normal, color: Colors.white) - ], + ), + onTap: () { + //Navigator.of(context).pushNamed(PROFILE); + Navigator.of(context).pushNamed(PROFILE, arguments: { + 'title': doctorProfile.doctorName, + "doctorProfileall": doctorProfile + }); + }, ), ), - onTap: () { - //Navigator.of(context).pushNamed(PROFILE); - Navigator.of(context).pushNamed(PROFILE, arguments: {'title':doctorProfile.doctorName, - "doctorProfileall": doctorProfile - }); - - }, - ), - ), - InkWell( - child: DrawerItem("Settings", Icons.settings), - onTap: () { - Navigator.pop(context); - Navigator.of(context).pushNamed(SETTINGS); - }, - ), - InkWell( - child: DrawerItem("QR Reader", Icons.search), - onTap: () { - Navigator.pop(context); - Navigator.of(context).pushNamed(QR_READER); - }, - ), - InkWell( - child: DrawerItem("lOGOUT", Icons.exit_to_app), - onTap: () async { - await Helpers.clearSharedPref(); - Navigator.pop(context); - Navigator.of(context).pushNamed(LOGIN); - }, + InkWell( + child: DrawerItem("Settings", Icons.settings), + onTap: () { + Navigator.pop(context); + Navigator.of(context).pushNamed(SETTINGS); + }, + ), + InkWell( + child: DrawerItem("QR Reader", DoctorApp.qr_code), + onTap: () { + Navigator.pop(context); + Navigator.of(context).pushNamed(QR_READER); + }, + ), + ]), ), + Expanded( + flex: 1, + child: Column(children: [ + Container( + // This align moves the children to the bottom + child: Align( + alignment: FractionalOffset.bottomCenter, + child: Container( + child: Column( + children: [ + Text("Powered by"), + Image.asset( + 'assets/images/cs_logo_container.png', + width: SizeConfig.imageSizeMultiplier * 30, + ) + ], + )))) + ])) ])), ), - width: SizeConfig.realScreenWidth * 0.55, + width: SizeConfig.realScreenWidth * 0.60, margin: 0, - customCornerRaduis: true, - topRight: 30, - bottomRight: 30, - backgroundColor: Color(0xff58434F), + + customCornerRaduis: false, + // topRight: 30, + // bottomRight: 30, + backgroundColor: Colors.white, ); } diff --git a/lib/widgets/shared/app_scaffold_widget.dart b/lib/widgets/shared/app_scaffold_widget.dart index 9cc6f53c..60828f71 100644 --- a/lib/widgets/shared/app_scaffold_widget.dart +++ b/lib/widgets/shared/app_scaffold_widget.dart @@ -1,9 +1,12 @@ import 'package:doctor_app_flutter/config/config.dart'; +import 'package:doctor_app_flutter/providers/project_provider.dart'; import 'package:doctor_app_flutter/routes.dart'; import 'package:flutter/material.dart'; import 'package:hexcolor/hexcolor.dart'; -import '../../presentation/doctor_app_icons.dart'; +import 'package:provider/provider.dart'; +import 'package:doctor_app_flutter/icons_app/doctor_app_icons.dart'; import '../../widgets/shared/app_loader_widget.dart'; +import 'app_texts_widget.dart'; class AppScaffold extends StatelessWidget { String appBarTitle; @@ -11,11 +14,16 @@ class AppScaffold extends StatelessWidget { bool isLoading; bool isShowAppBar; - AppScaffold({this.appBarTitle ='', this.body, this.isLoading = false, this.isShowAppBar = true}); + AppScaffold( + {this.appBarTitle = '', + this.body, + this.isLoading = false, + this.isShowAppBar = true}); @override Widget build(BuildContext context) { AppGlobal.CONTEX = context; + ProjectProvider projectProvider = Provider.of(context); return Scaffold( backgroundColor: Hexcolor('#F5F5F5'), appBar: isShowAppBar @@ -38,12 +46,28 @@ class AppScaffold extends StatelessWidget { IconButton( icon: Icon(DoctorApp.home_icon_active), color: Colors.white, //Colors.black, - onPressed: () => Navigator.pushNamedAndRemoveUntil(context, HOME,(r) => false ), + onPressed: () => Navigator.pushNamedAndRemoveUntil( + context, HOME, (r) => false), ), ], ) : null, - body: Stack(children: [body, buildAppLoaderWidget(isLoading)])); + body: projectProvider.isInternetConnection + ? Stack(children: [body, buildAppLoaderWidget(isLoading)]) + : Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Image.asset( + "assets/images/undraw_connected_world_wuay.png", + height: 250, + ), + AppText('No Internet Connection') + ], + ), + )); + ; } Widget buildAppLoaderWidget(bool isloading) { diff --git a/lib/widgets/shared/bottom_nav_bar.dart b/lib/widgets/shared/bottom_nav_bar.dart index ca31f2bf..8b552468 100644 --- a/lib/widgets/shared/bottom_nav_bar.dart +++ b/lib/widgets/shared/bottom_nav_bar.dart @@ -1,4 +1,4 @@ -import 'package:doctor_app_flutter/presentation/doctor_app_icons.dart'; +import 'package:doctor_app_flutter/icons_app/doctor_app_icons.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/shared/charts/app_time_series_chart.dart b/lib/widgets/shared/charts/app_time_series_chart.dart index d9e77120..f4bd354e 100644 --- a/lib/widgets/shared/charts/app_time_series_chart.dart +++ b/lib/widgets/shared/charts/app_time_series_chart.dart @@ -2,7 +2,7 @@ import 'package:charts_flutter/flutter.dart' as charts; import 'package:flutter/material.dart'; import '../../../config/size_config.dart'; -import '../../../models/patient/vital_sign_res_model.dart'; +import '../../../models/patient/vital_sign/vital_sign_res_model.dart'; import '../../../widgets/shared/rounded_container_widget.dart'; /* diff --git a/lib/widgets/shared/drawer_item_widget.dart b/lib/widgets/shared/drawer_item_widget.dart index a52d8812..c4fe25c1 100644 --- a/lib/widgets/shared/drawer_item_widget.dart +++ b/lib/widgets/shared/drawer_item_widget.dart @@ -11,15 +11,13 @@ import '../shared/app_texts_widget.dart'; // DESCRIPTION : Custom Drawer item for app. class DrawerItem extends StatefulWidget { - final String title; final String subTitle; final IconData icon; final Color color; + DrawerItem(this.title, this.icon, {this.color, this.subTitle = ''}); - DrawerItem(this.title, this.icon,{this.color, this.subTitle = ''}); - @override _DrawerItemState createState() => _DrawerItemState(); } @@ -34,26 +32,26 @@ class _DrawerItemState extends State { children: [ Icon( widget.icon, - color: widget.color??Colors.white, - size: SizeConfig.imageSizeMultiplier * 7, + color: widget.color ?? Colors.black87, + size: SizeConfig.imageSizeMultiplier * 5, ), Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ AppText( - widget.title, - color: widget.color??Colors.white, - fontWeight: FontWeight.bold, + widget.title, + color: widget.color ?? Colors.black, + // fontWeight: FontWeight.bold, margin: 5, + fontSize: SizeConfig.textMultiplier * 2.3, + ), + AppText( + widget.subTitle, + visibility: !widget.subTitle.isNullOrEmpty(), + color: widget.color ?? Colors.black, + marginLeft: 5, fontSize: SizeConfig.textMultiplier * 2.5, ), - AppText( - widget.subTitle, - visibility: !widget.subTitle.isNullOrEmpty(), - color: widget.color??Colors.white, - marginLeft: 5, - fontSize: SizeConfig.textMultiplier * 2.5, - ), ], ), ], diff --git a/pubspec.lock b/pubspec.lock index 20f3bbd9..cafaf489 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -127,6 +127,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "7.1.0" + characters: + dependency: transitive + description: + name: characters + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" charcode: dependency: transitive description: @@ -155,6 +162,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.2" + clock: + dependency: transitive + description: + name: clock + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.1" code_builder: dependency: transitive description: @@ -246,6 +260,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "4.1.4" + fake_async: + dependency: transitive + description: + name: fake_async + url: "https://pub.dartlang.org" + source: hosted + version: "1.1.0" fixnum: dependency: transitive description: @@ -284,13 +305,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.7" - flutter_svg: - dependency: "direct main" - description: - name: flutter_svg - url: "https://pub.dartlang.org" - source: hosted - version: "0.17.4" flutter_test: dependency: "direct dev" description: flutter @@ -357,13 +371,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "3.1.4" - image: - dependency: transitive - description: - name: image - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.12" imei_plugin: dependency: "direct main" description: @@ -475,21 +482,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.6.4" - path_drawing: - dependency: transitive - description: - name: path_drawing - url: "https://pub.dartlang.org" - source: hosted - version: "0.4.1" - path_parsing: - dependency: transitive - description: - name: path_parsing - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.4" + version: "1.7.0" pedantic: dependency: transitive description: @@ -518,13 +511,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.0.0" - petitparser: - dependency: transitive - description: - name: petitparser - url: "https://pub.dartlang.org" - source: hosted - version: "2.4.0" platform: dependency: transitive description: @@ -697,7 +683,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.15" + version: "0.2.16" timing: dependency: transitive description: @@ -761,13 +747,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.1.0" - xml: - dependency: transitive - description: - name: xml - url: "https://pub.dartlang.org" - source: hosted - version: "3.6.1" yaml: dependency: transitive description: @@ -776,5 +755,5 @@ packages: source: hosted version: "2.2.1" sdks: - dart: ">=2.7.0 <3.0.0" + dart: ">=2.9.0-14.0.dev <3.0.0" flutter: ">=1.12.13+hotfix.5 <2.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 0ed049f9..c6e998f2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -49,7 +49,7 @@ dependencies: # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^0.1.2 # SVG - flutter_svg: ^0.17.4 + #flutter_svg: ^0.17.4 percent_indicator: "^2.1.1" dev_dependencies: @@ -71,7 +71,6 @@ flutter: # To add assets to your application, add an assets section, like this: assets: - assets/images/ - - assets/images/dashboard_icon/ # - images/a_dot_ham.jpeg # An image asset can refer to one or more resolution-specific "variants", see @@ -89,6 +88,7 @@ flutter: - family: WorkSans fonts: - asset: assets/fonts/Work_Sans/WorkSans-Regular.ttf + - asset: assets/fonts/Work_Sans/WorkSans-Bold.ttf - asset: assets/fonts/Work_Sans/WorkSans-Bold.ttf weight: 700 # - family: Trajan Pro @@ -98,7 +98,7 @@ flutter: # weight: 700 - family: DoctorApp fonts: - - asset: fonts/DoctorApp.ttf + - asset: assets/fonts/DoctorApp.ttf # # For details regarding fonts from package dependencies, # see https://flutter.dev/custom-fonts/#from-packages diff --git a/ssh_key b/ssh_key deleted file mode 100644 index b2bfd464..00000000 --- a/ssh_key +++ /dev/null @@ -1,8 +0,0 @@ ------BEGIN OPENSSH PRIVATE KEY----- -b3BlbnNzaC1rZXktdjEAAAAACmFlczI1Ni1jdHIAAAAGYmNyeXB0AAAAGAAAABDdAHzw+C -qTVdRkviTeVAj7AAAAEAAAAAEAAAAzAAAAC3NzaC1lZDI1NTE5AAAAIGnX/M1OFtZvGTEI -h5/B9u+eQwjzRJpanfljungMbc+VAAAAkPGJXHVNFeKLXK+aQFiTKx8EU48dQGLBQVIq4G -1SOgNvOaK2UfnQwSbZzhMAOmA1RCUbpQH9cGr9B/uSI88sdghcTEkNgVAtVF/NHNeKMahf -3hdVQ7ER6Au4FEIhpvUTzF+0G+8QBTabpNQx3UdLUxFAOulX6nIYG2phQIS08V/DdS70IG -luo6vY2w/qnXDsWQ== ------END OPENSSH PRIVATE KEY----- diff --git a/ssh_key.pub b/ssh_key.pub deleted file mode 100644 index 1d1ef8f5..00000000 --- a/ssh_key.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGnX/M1OFtZvGTEIh5/B9u+eQwjzRJpanfljungMbc+V sultan