-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vineela | MOBN-1151 | Fix timeout issue while switching from day view… #33
base: ocp-master
Are you sure you want to change the base?
Conversation
… to week view and viceversa in ot calendar view
@@ -123,19 +124,22 @@ angular.module('bahmni.ot') | |||
$interval.cancel(timer); | |||
}); | |||
|
|||
$scope.$watch("weekOrDay", function ( ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the extra space from function ( )
.
@@ -41,7 +41,8 @@ angular.module('bahmni.ot') | |||
}); | |||
}); | |||
$scope.blockedOtsOfTheWeek = getBlockedOtsOfTheWeek(); | |||
}); | |||
$scope.viewchanged = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be isViewLoaded
is a better name here for the flag.
} | ||
} | ||
}); | ||
spinner.forPromise(init()); | ||
spinner.forPromise(init()).then (function () {spinner.forPromise(init())}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we calling spinner.forPromise()
again? Can't understand this part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
} | ||
} | ||
}); | ||
spinner.forPromise(init()); | ||
spinner.forPromise(init()).then (function () {spinner.forPromise(init())}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
ef32d76
to
c15f369
Compare
…extension point with specified input fields validation (Bahmni#402) * Create build_and_upload_artifact.yml Action to build Bahmni Apps and upload to Github workflow * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update README.md * Update LICENSE * BAH-1397 | Updated branch (#43) * [Mahesh] Adds driver code for ndhm integration * [Mahesh] Resolves review comments * [Mahesh] Adds driver code for ndhm integration (#8) * [Mahesh] Adds driver code for ndhm integration * [Mahesh] Resolves review comments * [Mahesh] Makes all test cases pass * 119|131|Lalitha|Nazeer| Adds style for healthId verfication page * 117 | Meghna/Sree | Adds styles for dialog box and makes health-id field non editable on bahmni * Disables verify-health-id btn for existing patient and shows empty field for existing patient * refactors to remove extra ng-if * 177-Mahesh|Swati updates the healthId in bahmniapps registration page after successfull verification * 177-Mahesh|Swati makes all the testcases pass * 177-Mahesh|Swati makes the extra identifier healthId name as a constant * 177-Mahesh Makes verify health id button visible for already existing patients who are not verified their healthId * 177-Mahesh Resolves review comments * 169 reactjs iframe (#15) * 146 | Meghna/Sree | Adds style for headings of the table * 146|Sree Ranjani/Nazeer | Fixes table data going outside borders * 169 - lalitha/mahesh - added iframe to integrate with ndhm react * 169-Mahesh|Meghna changes the static url to variable * 169-Mahesh Adds style to the ndhm-iframe to look like a pop-up Co-authored-by: meghna <[email protected]> Co-authored-by: Shaik Nazeer <[email protected]> Co-authored-by: Srilalitha V <[email protected]> * Update build_and_upload_artifact.yml * 135 demographic fetch (#16) * 146 | Meghna/Sree | Adds style for headings of the table * 146|Sree Ranjani/Nazeer | Fixes table data going outside borders * 169 - lalitha/mahesh - added iframe to integrate with ndhm react * 169-Mahesh|Meghna changes the static url to variable * 135-Mahesh receives the data from ndhm window and updates in bahmni registration page * 135-Mahesh removes print statements * 135-Mahesh shows/hides the verify-healthId-button based on the patient * 135-Mahesh removes unwanted styles Co-authored-by: meghna <[email protected]> Co-authored-by: Shaik Nazeer <[email protected]> Co-authored-by: Srilalitha V <[email protected]> * Update build_and_upload_artifact.yml * 135-Mahesh closes the pop-up when clicks on the close (#18) * 181-Mahesh Redirects to the patient clinical dashboard when an event triggered from ndhm-ui * 181-Mahesh Redirects to the patient profile summary page * 218-Mahesh opens fresh ndhm ui when you click on the button everytime * Update build_and_upload_artifact.yml * 221-Mahesh|Meghna|Sree Adds Reflects the changed details in the edit patient page * 221-Mahesh|Meghna|Sree Removes print statements * 221-Mahesh|Meghna|Sree Fixes updates patient changed details correctly * 230|[Tazeen|Nazeer]|Adds change in phone number based on user profile * Bahmniapps deploy (#20) * 202| Nazeer/Sree Ranjani | Adds deployment script * 202| Nazeer/Sree Ranjani | Removes unwanted lines * 230|Nazeer/Tazeen| Removed extra line * 195-[Mahesh] Fixes maps ndhm middleName to bahmni middleName * 263-[Mahesh] Adds searchs using health id in all modules * 326: Rohit|Tazeen: storing PHR address as an identifier ins addition to health ID (#30) Co-authored-by: swatigogia2020 <[email protected]> * 326 phraddress (#31) * 326: Rohit|Tazeen: storing PHR address as an identifier ins addition to health ID * swati: making syntax change * Nazeer|Resloved indentation issue (#32) * 365|Sameera|Nazeer|Refactors made demographic fields non editable after heatlhId verfication (#33) * 385|Sameera|Adds. input validation for program and clinical module * 402|Sameera|Nazeer|Adds. disable verify healthId button and demographics non-editable when HealthId is deactivated * 402|Sameera| disable verify healthId button when health id is present * 402|Sameera| Refactors. HealthId deactivation status api * Rohit|Sameera| Resolved chief complaint stored as Non coded chief complaint conflict * Sameera| Adds. create new record will create a new patient * 363|Sameera| Fixed build errors * Sameera| Fixing error for IdDeactiavtion * Sameera| Bug Fixed. on click of home and search from registration page, patient key should be removed from localStorage * BUG - Birthdate estimated checkbox ticked after fetching NDHM data * Swati| Re-naming Health_Id and PHR_address * Swati| renaming the health id button to abha * BAH-1397: Renaming ndhm variable to be more genric and updating the label of verify button co-authored-by: SanoferSameera <[email protected]> * BAH-1397 | changed. mapping of patient object based on fhir patient object Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Added. function to calculate dob from age and renamed variables Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. changed localStorage to scope variable Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. to handle multiple extension points Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. to display one verify button per extension Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. to disable attributes based on extension point definition Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. to fix edit patient functionality - initial changes Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. to get all patient Identifiers from openmrs api and fix edit patient functionality Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. removed unused services and fixed test failures Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. mapping of address from extension to bahmni Co-authored-by: Swati Gogia <[email protected]> * Refactor. extension button to be displayed in same line with field value * Refactor. to store identifier in database * Refactored. removed unnecessay files and changes Co-authored-by: Mahesh-I <[email protected]> Co-authored-by: Mahesh Ippili <[email protected]> Co-authored-by: Shaik Nazeer <[email protected]> Co-authored-by: Nazeer Shaik <[email protected]> Co-authored-by: twlalithav <[email protected]> Co-authored-by: meghna <[email protected]> Co-authored-by: Meghna Tanwal <[email protected]> Co-authored-by: Praveena Dayanand <[email protected]> Co-authored-by: Srilalitha V <[email protected]> Co-authored-by: swatigogia2020 <[email protected]> Co-authored-by: Tazeen Khan <[email protected]> Co-authored-by: SreeRanjani14 <[email protected]> Co-authored-by: rohit-yawalkar <[email protected]> Co-authored-by: swatigogia2020 <[email protected]> Co-authored-by: Sanofer Sameera S <[email protected]> Co-authored-by: rohit-yawalkar <[email protected]> * Refactored. removed unnecessay files and changes * reverted input validated changes * BAH-1397 | Refactor. extracted functions and removed duplicate functions BAH-1397 | Refactor. extracted functions and removed duplicate functions BAH-1397 | Refactor. extracted functions and removed duplicate functions * BAH-1397 | Added. test for Extenstion point Co-authored-by: Kavitha S <[email protected]> Co-authored-by: swatigogia2020 <[email protected]> * Refactor. removed unwanted spaces and validation * BAH-1397 | removed function specific to extension Co-authored-by: Kavitha S <[email protected]> Co-authored-by: swatigogia2020 <[email protected]> * Refactor. boundry condition for patient Identifiers * BAH-1397 | Refactor. renamed function and variables * BAH-1397 | Refactor. renamed variables to be more specific Co-authored-by: praveenadayanand <[email protected]> Co-authored-by: Praveena Dayanand <[email protected]> Co-authored-by: swatigogia2020 <[email protected]> Co-authored-by: swatigogia2020 <[email protected]> Co-authored-by: Mahesh-I <[email protected]> Co-authored-by: Mahesh Ippili <[email protected]> Co-authored-by: Shaik Nazeer <[email protected]> Co-authored-by: Nazeer Shaik <[email protected]> Co-authored-by: twlalithav <[email protected]> Co-authored-by: meghna <[email protected]> Co-authored-by: Meghna Tanwal <[email protected]> Co-authored-by: Srilalitha V <[email protected]> Co-authored-by: Tazeen Khan <[email protected]> Co-authored-by: SreeRanjani14 <[email protected]> Co-authored-by: rohit-yawalkar <[email protected]> Co-authored-by: Sanofer Sameera S <[email protected]> Co-authored-by: rohit-yawalkar <[email protected]> Co-authored-by: Kavitha S <[email protected]>
…extension point with specified input fields validation (Bahmni#402) * Create build_and_upload_artifact.yml Action to build Bahmni Apps and upload to Github workflow * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update build_and_upload_artifact.yml * Update README.md * Update LICENSE * BAH-1397 | Updated branch (#43) * [Mahesh] Adds driver code for ndhm integration * [Mahesh] Resolves review comments * [Mahesh] Adds driver code for ndhm integration (#8) * [Mahesh] Adds driver code for ndhm integration * [Mahesh] Resolves review comments * [Mahesh] Makes all test cases pass * 119|131|Lalitha|Nazeer| Adds style for healthId verfication page * 117 | Meghna/Sree | Adds styles for dialog box and makes health-id field non editable on bahmni * Disables verify-health-id btn for existing patient and shows empty field for existing patient * refactors to remove extra ng-if * 177-Mahesh|Swati updates the healthId in bahmniapps registration page after successfull verification * 177-Mahesh|Swati makes all the testcases pass * 177-Mahesh|Swati makes the extra identifier healthId name as a constant * 177-Mahesh Makes verify health id button visible for already existing patients who are not verified their healthId * 177-Mahesh Resolves review comments * 169 reactjs iframe (#15) * 146 | Meghna/Sree | Adds style for headings of the table * 146|Sree Ranjani/Nazeer | Fixes table data going outside borders * 169 - lalitha/mahesh - added iframe to integrate with ndhm react * 169-Mahesh|Meghna changes the static url to variable * 169-Mahesh Adds style to the ndhm-iframe to look like a pop-up Co-authored-by: meghna <[email protected]> Co-authored-by: Shaik Nazeer <[email protected]> Co-authored-by: Srilalitha V <[email protected]> * Update build_and_upload_artifact.yml * 135 demographic fetch (#16) * 146 | Meghna/Sree | Adds style for headings of the table * 146|Sree Ranjani/Nazeer | Fixes table data going outside borders * 169 - lalitha/mahesh - added iframe to integrate with ndhm react * 169-Mahesh|Meghna changes the static url to variable * 135-Mahesh receives the data from ndhm window and updates in bahmni registration page * 135-Mahesh removes print statements * 135-Mahesh shows/hides the verify-healthId-button based on the patient * 135-Mahesh removes unwanted styles Co-authored-by: meghna <[email protected]> Co-authored-by: Shaik Nazeer <[email protected]> Co-authored-by: Srilalitha V <[email protected]> * Update build_and_upload_artifact.yml * 135-Mahesh closes the pop-up when clicks on the close (#18) * 181-Mahesh Redirects to the patient clinical dashboard when an event triggered from ndhm-ui * 181-Mahesh Redirects to the patient profile summary page * 218-Mahesh opens fresh ndhm ui when you click on the button everytime * Update build_and_upload_artifact.yml * 221-Mahesh|Meghna|Sree Adds Reflects the changed details in the edit patient page * 221-Mahesh|Meghna|Sree Removes print statements * 221-Mahesh|Meghna|Sree Fixes updates patient changed details correctly * 230|[Tazeen|Nazeer]|Adds change in phone number based on user profile * Bahmniapps deploy (#20) * 202| Nazeer/Sree Ranjani | Adds deployment script * 202| Nazeer/Sree Ranjani | Removes unwanted lines * 230|Nazeer/Tazeen| Removed extra line * 195-[Mahesh] Fixes maps ndhm middleName to bahmni middleName * 263-[Mahesh] Adds searchs using health id in all modules * 326: Rohit|Tazeen: storing PHR address as an identifier ins addition to health ID (#30) Co-authored-by: swatigogia2020 <[email protected]> * 326 phraddress (#31) * 326: Rohit|Tazeen: storing PHR address as an identifier ins addition to health ID * swati: making syntax change * Nazeer|Resloved indentation issue (#32) * 365|Sameera|Nazeer|Refactors made demographic fields non editable after heatlhId verfication (#33) * 385|Sameera|Adds. input validation for program and clinical module * 402|Sameera|Nazeer|Adds. disable verify healthId button and demographics non-editable when HealthId is deactivated * 402|Sameera| disable verify healthId button when health id is present * 402|Sameera| Refactors. HealthId deactivation status api * Rohit|Sameera| Resolved chief complaint stored as Non coded chief complaint conflict * Sameera| Adds. create new record will create a new patient * 363|Sameera| Fixed build errors * Sameera| Fixing error for IdDeactiavtion * Sameera| Bug Fixed. on click of home and search from registration page, patient key should be removed from localStorage * BUG - Birthdate estimated checkbox ticked after fetching NDHM data * Swati| Re-naming Health_Id and PHR_address * Swati| renaming the health id button to abha * BAH-1397: Renaming ndhm variable to be more genric and updating the label of verify button co-authored-by: SanoferSameera <[email protected]> * BAH-1397 | changed. mapping of patient object based on fhir patient object Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Added. function to calculate dob from age and renamed variables Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. changed localStorage to scope variable Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. to handle multiple extension points Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. to display one verify button per extension Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. to disable attributes based on extension point definition Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. to fix edit patient functionality - initial changes Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. to get all patient Identifiers from openmrs api and fix edit patient functionality Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. removed unused services and fixed test failures Co-authored-by: Swati Gogia <[email protected]> * BAH-1397 | Refactored. mapping of address from extension to bahmni Co-authored-by: Swati Gogia <[email protected]> * Refactor. extension button to be displayed in same line with field value * Refactor. to store identifier in database * Refactored. removed unnecessay files and changes Co-authored-by: Mahesh-I <[email protected]> Co-authored-by: Mahesh Ippili <[email protected]> Co-authored-by: Shaik Nazeer <[email protected]> Co-authored-by: Nazeer Shaik <[email protected]> Co-authored-by: twlalithav <[email protected]> Co-authored-by: meghna <[email protected]> Co-authored-by: Meghna Tanwal <[email protected]> Co-authored-by: Praveena Dayanand <[email protected]> Co-authored-by: Srilalitha V <[email protected]> Co-authored-by: swatigogia2020 <[email protected]> Co-authored-by: Tazeen Khan <[email protected]> Co-authored-by: SreeRanjani14 <[email protected]> Co-authored-by: rohit-yawalkar <[email protected]> Co-authored-by: swatigogia2020 <[email protected]> Co-authored-by: Sanofer Sameera S <[email protected]> Co-authored-by: rohit-yawalkar <[email protected]> * Refactored. removed unnecessay files and changes * reverted input validated changes * BAH-1397 | Refactor. extracted functions and removed duplicate functions BAH-1397 | Refactor. extracted functions and removed duplicate functions BAH-1397 | Refactor. extracted functions and removed duplicate functions * BAH-1397 | Added. test for Extenstion point Co-authored-by: Kavitha S <[email protected]> Co-authored-by: swatigogia2020 <[email protected]> * Refactor. removed unwanted spaces and validation * BAH-1397 | removed function specific to extension Co-authored-by: Kavitha S <[email protected]> Co-authored-by: swatigogia2020 <[email protected]> * Refactor. boundry condition for patient Identifiers * BAH-1397 | Refactor. renamed function and variables * BAH-1397 | Refactor. renamed variables to be more specific Co-authored-by: praveenadayanand <[email protected]> Co-authored-by: Praveena Dayanand <[email protected]> Co-authored-by: swatigogia2020 <[email protected]> Co-authored-by: swatigogia2020 <[email protected]> Co-authored-by: Mahesh-I <[email protected]> Co-authored-by: Mahesh Ippili <[email protected]> Co-authored-by: Shaik Nazeer <[email protected]> Co-authored-by: Nazeer Shaik <[email protected]> Co-authored-by: twlalithav <[email protected]> Co-authored-by: meghna <[email protected]> Co-authored-by: Meghna Tanwal <[email protected]> Co-authored-by: Srilalitha V <[email protected]> Co-authored-by: Tazeen Khan <[email protected]> Co-authored-by: SreeRanjani14 <[email protected]> Co-authored-by: rohit-yawalkar <[email protected]> Co-authored-by: Sanofer Sameera S <[email protected]> Co-authored-by: rohit-yawalkar <[email protected]> Co-authored-by: Kavitha S <[email protected]>
… to week view and viceversa in ot calendar view