Skip to content
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

BAH-2013 | Restrictions on edit on form display control and retrospective data entry mode #425

Open
wants to merge 29 commits into
base: master
Choose a base branch
from

Conversation

adarrrshc
Copy link

@adarrrshc adarrrshc commented Jul 13, 2022

Restrictions on edit on form display control and retrospective data entry mode

Retrospective data entry is to be allowed only for older dates of the current month and for the previous month if the current date is not past the 10th. The selection of older dates will be disabled for retrospective data entry. The threshold date will be a configurable property and this restriction will not be applicable to users with a special privilege.

  1. Config key for retrospective date threshold: 'retrospectiveDateThreshold'
  2. Privilege to bypass retrospective data entry: 'bypassRetrospectiveDateThreshold'

The edit of older forms on forms display controller is allowed only for the current month and for the previous month if the current date is not past the 10th. The threshold date will be a configurable property and this restriction will not be applicable to users with a special privilege.

  1. Privilege to bypass dashboard form data entry after threshold date: 'allowDashboardFormsEdit'
  2. Config key for dashboard form data entry threshold: 'dashboardFormsEditDateThreshold'

The threshold values are numbers that represent date of a month, example 10 → 10th of the month.
https://bahmni.atlassian.net/browse/BAH-2013

angshu and others added 26 commits May 7, 2021 23:48
…king for current window origin before redirection (Bahmni#357)

* BAH-1208 | updating bahmni ui form-controls and other dependencies

* Validating redirect URL to prevent potential XSS redirect attacks
…mniEncounter api (Bahmni#53) (Bahmni#366)

* Bindu | MOBN-446 | Change bacteriology save call from specimen to bahmniEncounter api

* Bindu | MOBN-446 | Add browser close dialog message
… days (Bahmni#51) (Bahmni#354) (Bahmni#370)

* Tarun | MOBN-1628 | Add confirmation popup for creating surgical block across multiple days

* Tarun | MOBN-1628 | Fix day view to show surgical blocks created across days

* Gopi ,Tarun | MOBN-1628 | Removed Syntax Error Which Is Causing Error PopUp on OT Page Load

* Tarun, Gopi | MOBN-1628 | Fix week view to show surgical blocks created across days

* Tarun, Gopi | MOBN-1628 | Fix list view to show surgical appointments created across days

* Gopi,Tarun | MOBN-1628 | Fixed Existing UI Tests

* Tarun, Gopi | MOBN-1628 | Show both startdate and enddate in surgical block dialog if both dates are different

* Gopi,Tarun | MOBN-1628 | Fixed Remaining UI Tests

* Tarun, Gopi | MOBN-1628 | Add date input field in actual time dialog

* Tarun, Gopi | MOBN-1628 | Add date in est & actual time fields in appointment details dialog

* Tarun, Gopi | MOBN-1628 | Show surgical block end date if block end on a different date

* Tarun, Gopi | MOBN-1628 | Correct typo issue

* Tarun, Gopi | MOBN-1628 | Handle code review changes

* Tarun, Gopi | MOBN-1628 | Handle code review changes

Co-authored-by: gopikrishna-yaramothu <65332533+gopikrishna-yaramothu@users.noreply.github.com>
Co-authored-by: gopikrishna-yaramothu <gopikrishna.y@thoughtworks.com>

Co-authored-by: gopikrishna-yaramothu <65332533+gopikrishna-yaramothu@users.noreply.github.com>
Co-authored-by: gopikrishna-yaramothu <gopikrishna.y@thoughtworks.com>

Co-authored-by: tarunkumar-tw <58736833+tarunkumar-tw@users.noreply.github.com>
Co-authored-by: gopikrishna-yaramothu <65332533+gopikrishna-yaramothu@users.noreply.github.com>
Co-authored-by: gopikrishna-yaramothu <gopikrishna.y@thoughtworks.com>
… admitting, transferring and discharging (Bahmni#48) (Bahmni#369)

* Tarun, Venky | MOBN-1430 | Fix issues related to multiple clicks while admitting, transferring and discharging

* Tarun,Venky | MOBN-1430 | Fix unit cases

Co-authored-by: venky <58026249+venkybavisetti@users.noreply.github.com>

Co-authored-by: tarunkumar-tw <58736833+tarunkumar-tw@users.noreply.github.com>
Co-authored-by: venky <58026249+venkybavisetti@users.noreply.github.com>
…w of OT Scheduling module (Bahmni#349) (Bahmni#368)

* Tarun | MOBN-1266 | Apply filters dynamically on the Calendar/List view (Bahmni#50)

* Tarun | MOBN-1266 | Fix typo

Co-authored-by: tarunkumar-tw <58736833+tarunkumar-tw@users.noreply.github.com>
Co-authored-by: tarunkumar-tw <tarunkumar.s@thoughtworks.com>

Co-authored-by: supriyatw <45252490+supriyatw@users.noreply.github.com>
Co-authored-by: tarunkumar-tw <58736833+tarunkumar-tw@users.noreply.github.com>
Co-authored-by: tarunkumar-tw <tarunkumar.s@thoughtworks.com>
…with accessions. (Bahmni#372)

* BAH-1240 | Querying pacs studies and identifying studyUID associated with any accessions.

* BAH-1240 | taking out parsing of identifier to pacsService. changeed messages
…inical, IPD, OT and Document Upload modules (Bahmni#360) (Bahmni#371)

* Bindu | MOBN-658-695 | Translations Changes to Bed Management & Doc Upload (Bahmni#46)

* Bindu | MOBN-658-695 | Add missing translation keys in ipd and clinical module

* Bindu | MOBN-658-695 | Add translation key, values for hardcoded text in the adtController

* Bindu | MOBN-658-695 | Add missing translation key, value pair in french locale file

* Bindu | MOBN-658-695 | fix the failing test cases

* Bindu | BAH-658-695 | handle the missed transaltion keys in bedmanagement module

* Bindu | MOBN-1566 | Add missing translations for Error messages and placeholder texts in Clinical Module (Bahmni#47)

* Bindu | MOBN-1566 | Include the bednumber in between the text message

* Bindu | MOBN-1566 | handle i18n gaps in the clinical module

* Bindu | MOBN-1566 | Add missing translate dependency

* Tarun | MOBN-1564 | Add missing translations for radiology module (Bahmni#49)

* Tarun | MOBN-1564 | Fix unit tests

* Tarun | MOBN-1564 | Add missing translations

* Venkatesh, Supriya | MOBN-1222 | Add missing translation to OT module (Bahmni#52)

Co-authored-by: venky <58026249+venkybavisetti@users.noreply.github.com>

* Bindu | BAH-1222 | Fix the typo in the file

* Bindu | BAH-1222 | Add missing comma

Co-authored-by: tarunkumar-tw <58736833+tarunkumar-tw@users.noreply.github.com>
Co-authored-by: tarunkumar-tw <tarunkumar.s@thoughtworks.com>
Co-authored-by: supriyatw <45252490+supriyatw@users.noreply.github.com>
Co-authored-by: venky <58026249+venkybavisetti@users.noreply.github.com>

Co-authored-by: tarunkumar-tw <58736833+tarunkumar-tw@users.noreply.github.com>
Co-authored-by: tarunkumar-tw <tarunkumar.s@thoughtworks.com>
Co-authored-by: supriyatw <45252490+supriyatw@users.noreply.github.com>
Co-authored-by: venky <58026249+venkybavisetti@users.noreply.github.com>
…URL which can be HTTP depending on setup, and in that case browser thrrows error for CORS (Bahmni#377)

* BAH-1240 | Removing check for response, as Oviyam sends a redirect URL in some cases and they happen to be HTTP (if behind a reverse proxy), and browser without CORS header does not follow the URL

* Minor changes to message and relevant translation. also corrected URL for repo in package json
BAH-1313 | Rohit,Deepthi | Removes duplicate keys from translation lo…
BAH-1361 - | Rohit, Deepthi | - Resolves text spacing issue in consul…
…locale (Bahmni#404)

Co-authored-by: Deepthi Mantena <deepthi.mantena@thoughtworks.com>
…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 (Bahmni#43)

* [Mahesh] Adds driver code for ndhm integration

* [Mahesh] Resolves review comments

* [Mahesh] Adds driver code for ndhm integration (Bahmni#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 (Bahmni#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 <meghna.tanwal@thoughworks.com>
Co-authored-by: Shaik Nazeer <nazeer.shaik@thoughtworks.com>
Co-authored-by: Srilalitha V <lolboch@gmail.com>

* Update build_and_upload_artifact.yml

* 135 demographic fetch (Bahmni#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 <meghna.tanwal@thoughworks.com>
Co-authored-by: Shaik Nazeer <nazeer.shaik@thoughtworks.com>
Co-authored-by: Srilalitha V <lolboch@gmail.com>

* Update build_and_upload_artifact.yml

* 135-Mahesh closes the pop-up when clicks on the close (Bahmni#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 (Bahmni#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 (Bahmni#30)

Co-authored-by: swatigogia2020 <swati.gogia@thoughtworks.com>

* 326 phraddress (Bahmni#31)

* 326: Rohit|Tazeen: storing PHR address as an identifier ins addition to health ID

* swati: making syntax change

* Nazeer|Resloved indentation issue (Bahmni#32)

* 365|Sameera|Nazeer|Refactors made demographic fields non editable after heatlhId verfication (Bahmni#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 <sanofersameera25@gmail.com>

* BAH-1397 | changed. mapping of patient object based on fhir patient object

Co-authored-by: Swati Gogia <swati.gogia@thoughtworks.com>

* BAH-1397 | Added. function to calculate dob from age and renamed variables

Co-authored-by: Swati Gogia <swati.gogia@thoughtworks.com>

* BAH-1397 | Refactored. changed localStorage to scope variable

Co-authored-by: Swati Gogia <swati.gogia@thoughtworks.com>

* BAH-1397 | Refactored. to handle multiple extension points

Co-authored-by: Swati Gogia <swati.gogia@thoughtworks.com>

* BAH-1397 | Refactored. to display one verify button per extension

Co-authored-by: Swati Gogia <swati.gogia@thoughtworks.com>

* BAH-1397 | Refactored. to disable attributes based on extension point definition

Co-authored-by: Swati Gogia <swati.gogia@thoughtworks.com>

* BAH-1397 | Refactored. to fix edit patient functionality - initial changes

Co-authored-by: Swati Gogia <swati.gogia@thoughtworks.com>

* BAH-1397 | Refactored. to get all patient Identifiers from openmrs api and fix edit patient functionality

Co-authored-by: Swati Gogia <swati.gogia@thoughtworks.com>

* BAH-1397 | Refactored. removed unused services and fixed test failures

Co-authored-by: Swati Gogia <swati.gogia@thoughtworks.com>

* BAH-1397 | Refactored. mapping of address from extension to bahmni

Co-authored-by: Swati Gogia <swati.gogia@thoughtworks.com>

* 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 <mahesh.ippili@thoughtworks.com>
Co-authored-by: Mahesh Ippili <74229437+Mahesh-I@users.noreply.github.com>
Co-authored-by: Shaik Nazeer <nazeer.shaik@thoughtworks.com>
Co-authored-by: Nazeer Shaik <75721600+Nazeer-debug@users.noreply.github.com>
Co-authored-by: twlalithav <53477735+twlalithav@users.noreply.github.com>
Co-authored-by: meghna <meghna.tanwal@thoughworks.com>
Co-authored-by: Meghna Tanwal <61121405+MeghnaThoughtworks@users.noreply.github.com>
Co-authored-by: Praveena Dayanand <56681033+praveenadayanand@users.noreply.github.com>
Co-authored-by: Srilalitha V <lolboch@gmail.com>
Co-authored-by: swatigogia2020 <73937345+swatigogia2020@users.noreply.github.com>
Co-authored-by: Tazeen Khan <tazeen.khan@thoughtworks.com>
Co-authored-by: SreeRanjani14 <77732380+SreeRanjani14@users.noreply.github.com>
Co-authored-by: rohit-yawalkar <82825674+rohit-yawalkar@users.noreply.github.com>
Co-authored-by: swatigogia2020 <swati.gogia@thoughtworks.com>
Co-authored-by: Sanofer Sameera S <sanofersameeras@gmail.com>
Co-authored-by: rohit-yawalkar <rohit.yawalkar@thoughtworks.com>

* 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 <kavitha.s@thoughtworks.com>

Co-authored-by: swatigogia2020 <swati.gogia@thoughtworks.com>

* Refactor. removed unwanted spaces and validation

* BAH-1397 | removed function specific to extension

Co-authored-by: Kavitha S <kavitha.s@thoughtworks.com>
Co-authored-by: swatigogia2020 <swati.gogia@thoughtworks.com>

* 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 <56681033+praveenadayanand@users.noreply.github.com>
Co-authored-by: Praveena Dayanand <praveena.dayanand@thoughtworks.com>
Co-authored-by: swatigogia2020 <swati.gogia@thoughtworks.com>
Co-authored-by: swatigogia2020 <73937345+swatigogia2020@users.noreply.github.com>
Co-authored-by: Mahesh-I <mahesh.ippili@thoughtworks.com>
Co-authored-by: Mahesh Ippili <74229437+Mahesh-I@users.noreply.github.com>
Co-authored-by: Shaik Nazeer <nazeer.shaik@thoughtworks.com>
Co-authored-by: Nazeer Shaik <75721600+Nazeer-debug@users.noreply.github.com>
Co-authored-by: twlalithav <53477735+twlalithav@users.noreply.github.com>
Co-authored-by: meghna <meghna.tanwal@thoughworks.com>
Co-authored-by: Meghna Tanwal <61121405+MeghnaThoughtworks@users.noreply.github.com>
Co-authored-by: Srilalitha V <lolboch@gmail.com>
Co-authored-by: Tazeen Khan <tazeen.khan@thoughtworks.com>
Co-authored-by: SreeRanjani14 <77732380+SreeRanjani14@users.noreply.github.com>
Co-authored-by: rohit-yawalkar <82825674+rohit-yawalkar@users.noreply.github.com>
Co-authored-by: Sanofer Sameera S <sanofersameeras@gmail.com>
Co-authored-by: rohit-yawalkar <rohit.yawalkar@thoughtworks.com>
Co-authored-by: Kavitha S <kavitha.s@thoughtworks.com>
@CLAassistant
Copy link

CLAassistant commented Jul 13, 2022

CLA assistant check
All committers have signed the CLA.

@adarrrshc adarrrshc changed the title BAH-2013 BAH-2013 | Restrictions on edit on form display control and retrospective data entry mode Jul 13, 2022
@adarrrshc
Copy link
Author

@angshu please approve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants