-
Notifications
You must be signed in to change notification settings - Fork 6
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
CARDS-2512: PM Acute Care methodology #1755
Conversation
prems-resources/clinical-data/src/main/resources/SLING-INF/content/Questionnaires/PMHAC.xml
Outdated
Show resolved
Hide resolved
prems-resources/clinical-data/src/main/resources/SLING-INF/content/Statistics/AC-Overall.xml
Outdated
Show resolved
Hide resolved
prems-resources/clinical-data/src/main/resources/SLING-INF/content/Statistics/AC-Overall.xml
Outdated
Show resolved
Hide resolved
prems-resources/clinical-data/src/main/resources/SLING-INF/content/Survey/AC.xml
Outdated
Show resolved
Hide resolved
prems-resources/clinical-data/src/main/resources/SLING-INF/content/Survey/ACIP.xml
Outdated
Show resolved
Hide resolved
prems-resources/clinical-data/src/main/resources/SLING-INF/content/Survey/ACIP.xml
Outdated
Show resolved
Hide resolved
prems-resources/clinical-data/src/main/resources/SLING-INF/content/Survey/AC.xml
Outdated
Show resolved
Hide resolved
prems-resources/clinical-data/src/main/resources/SLING-INF/content/Survey/ClinicMapping.xml
Outdated
Show resolved
Hide resolved
prems-resources/clinical-data/src/main/resources/SLING-INF/content/Survey/ClinicMapping.xml
Outdated
Show resolved
Hide resolved
...src/main/resources/SLING-INF/content/apps/cards/config/CopyAnswers/Questionnaires/PMHAC.json
Outdated
Show resolved
Hide resolved
prems-resources/clinical-data/src/main/resources/SLING-INF/content/Questionnaires/PMHAC.xml
Outdated
Show resolved
Hide resolved
...src/main/resources/SLING-INF/content/apps/cards/config/CopyAnswers/Questionnaires/PMHAC.json
Outdated
Show resolved
Hide resolved
...ta/src/main/resources/SLING-INF/content/apps/cards/config/CopyAnswers/Questionnaires/AC.json
Outdated
Show resolved
Hide resolved
Rebased on #1789 - emails can now be tested @sashaandjic . The first paragraph of the emails should include the unit visited by the patient, as specified in the Email schedule: initial - 7 days after visit, reminders - 14 and 21 days after visit. |
This comment was marked as outdated.
This comment was marked as outdated.
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.
tested and EDITED
I was wrong about and extraNot applicable
option for question pmac_7_ad_5. It is supposed to be there.
Add a placeholder Acute Care questionnaire, currently just a copy of OED
Add questionnaire sets for AC and AC+IP
Add the two new clinics
Configure the Clarity import
Update test data
Added sidebar entries
Added CopyAnswers and Statistics (placeholders)
* Renamed the questionnaire * Corrected the "Overall" question id based on the updated questionnaire structure * Updated the Statistic config * Added CopyAnswers config
Minor reordering of side bar entries
* Fixed the pagination mode * Minor indentation and wording fixes * Added hidden reference question for department
* Reorganized the questions * Naming cleanup
Renamed PMH to PM in Acute Care configs
Added email templates and schedules
Added export config for PM Acute Care
…ation available to be displayed in the survey invitation email
Updated email templates according to new specs
Updated according to the latest data table and specs
0e9f408
to
2b9a6c7
Compare
Discard YVM surveys when an Acute Care survey would be sent for the same day
Fixed some bugs
Revert no longer needed changes to the import rules
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.
@marta- One thing missing: we import the first visit for the day, not the last one.
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.
Import the newest event in a day for Acute Care visits
Don't include the PE logo in emails as attachment, since it is not used in the email body
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.
Build with
mvn clean install -Pdocker
In
compose-cluster
make a docker-compose file withpython3 generate_compose_yaml.py --mssql --cards_project cards4prems --oak_filesystem --dev_docker_image --composum --adminer --smtps --smtps_test_container --smtps_test_mail_path ~/cards-mail --server_address localhost:8080
then start it up withdocker-compose build && docker-compose up
At
http://localhost:1435/?mssql=mssql&username=sa&db=master&ns=path&import=
import the attached SQL files, sqls.tar.gz (unzip the archive first to get 3 sql files)Log in to cards at
http://localhost:8080/
Import YE visits:
http://localhost:8080/Subjects.importClarity?dayToQuery=-7&config=Your%20Experience%20-%20Inpatient%20and%20ED%20discharge%20events
Check that visits for patients 1, 2, and 3 were imported
Import YVM visits:
http://localhost:8080/Subjects.importClarity?dayToQuery=-2&config=Your%20Voice%20Matters%20-%20PMCC%20outpatient%20visits
Check that YVM visits for patients 11, 12, 13, 21 and 29 were imported
Import AC visits:
http://localhost:8080/Subjects.importClarity?dayToQuery=-7&config=PMH%20Acute%20Care%20visits
Check that AC visits for patients 21, 22 and 23 were imported; make sure 21 has TWO visits, one for YVM and one for AC
"Import" AC discard visits:
http://localhost:8080/Subjects.importClarity?dayToQuery=-2&config=PMH%20AC%20Trumps%20YVM
Check that the YVM visit for 29 was deleted, and the YVM visit for 21 was not deleted
In the end there should be 10 Visit Information forms, ED for 1&2, IP for 3, YVM for 11, 12, 13, 21, and AC for 21, 22, 23
Stop docker-compose and clean up with
docker-compose rm -vf && ./cleanup.sh