BIDMCDigitalPsychiatry / LAMP-platform

The LAMP Platform (issues and documentation).
https://docs.lamp.digital/
Other
12 stars 10 forks source link

Changes to DBT card #687

Closed Devayani0102 closed 1 year ago

Devayani0102 commented 1 year ago

Can we make the following changes to DBT diary card permanent:

Currently we have the following 'Urges' questions in every diary card: Screenshot 2022-08-29 102702 Screenshot 2022-08-29 102644

We want to add the following 'Urges' as a permanent feature in every diary card This should be in form of a matrix instead of individual questions per screen.
Once we have these set up, we can remove the earlier two questions because they are included in this. Screenshot 2022-08-29 104252

Also, the following questions about 'Emotions' should be permanent in form of a matrix. We still want to give users the option to create new ones, but these should be included in every new DBT diary card. Screenshot 2022-08-29 102606

A sample of this diary card can be found for U7591765158, labelled _Zco_DBTcardSample

sarithapillai8 commented 1 year ago

@Devayani0102

We want to add the following 'Urges' as a permanent feature in every diary card

Also, the following questions about 'Emotions' should be permanent in form of a matrix.

By matrix , do you mean to include column headings for these options? I understood the above 5 should come along with user added emotions list.

A sample of this diary card can be found for U7591765158, labelled Zco_DBTcard_Sample

Can I get the researcher for this? Which server address to be used - api-staging or api server?

Also could you please let me know the priority for this?

Devayani0102 commented 1 year ago

Are these expected at the end of the Ineffective section along with user-added items?

Yes, that will make the most sense.

By matrix , do you mean to include column headings for these options? I understood the above 5 should come along with user added emotions list.

The above 5 should come along with user added emotions list

Can I get the researcher for this? Which server address to be used - api-staging or api server?

Used api staging and researcher id is 2jzm651q5z7wv9hab8m8 and used ID is U1748828007

michaelmenon commented 1 year ago

@sarithapillai8 is working on it and we will update on this as soon as we complete the QA. we will update the GitHub status once moved to QA

divyav2020 commented 1 year ago

We have updated in Staging LAMP_Admin Website_LAMP DBT change.xls

Devayani0102 commented 1 year ago

I just tested it in staging. For the 'urges', we have 'die by suicide and 'quit therapy' hardcoded. We also need to add the remaining 4 ("die", "suicide", "use/drink", self-harm").

Also, Is it possible to make adding 'emotions' while making a new diary card optional? Right now, you have to add at least one emotion (in addition to the one hardcoded) for the DBT diary card to work.

ZCOEngineer commented 1 year ago

Sure @Devayani0102, we shall update and let you know.

sarithapillai8 commented 1 year ago

@Devayani0102 Changes are updated in dashboard-staging. Please have a look.

Devayani0102 commented 1 year ago

More changes requested:

  1. Change the scale for emotions and targets to read: '0= Not at all- 5= Extremely Strong' instead of '0= Not at all- 5= Extremely'.
  2. In Emotions, change 'sad' to 'sadness'
  3. In Urges, remove 'Use/Drink' and 'Suicide'
divyav2020 commented 1 year ago

We have updated the changes in Staging

Devayani0102 commented 1 year ago

Can we add the following text below each section like we have for emotions (example in the screenshot):

Effective Target Behavior:

Ineffective Target Behavior: Default Ineffective Behaviors: Die, Self-Harm, Quit Therapy, Die by Suicide. Do not add these below. Emotions: Default Emotions: Sadness, Shame, Anger, Fear/Worry, Joy. Do not add these below.

Screen Shot 2022-10-06 at 10 12 21 AM
sarithapillai8 commented 1 year ago

@Devayani0102 Can we just use the strings Both good and bad emotions and default emotions string in single line. ? We are using rjsf form, and we don't have option to use 2 descriptions.

Devayani0102 commented 1 year ago

Yes, that will work.

sarithapillai8 commented 1 year ago

@Devayani0102 Updated in dashboard-staging. Please check and let me know if any change.

Devayani0102 commented 1 year ago

Looks good! Can we also remove the line "Both good and bed emotions can be added here" from the emotions section.

sarithapillai8 commented 1 year ago

@Devayani0102 Updated in dashboard-staging.

carlan1 commented 1 year ago

Appears functional in staging.

ZCOEngineer commented 1 year ago

@Devayani0102 anything pending on this?

Devayani0102 commented 1 year ago

After the latest release, the changes made before oct 6th do not show up in production. The fix seems to be working in staging.

sarithapillai8 commented 1 year ago

@Devayani0102 @ertjlane @carlan1 @michaelmenon @ZCOEngineer LAMP-activities are not released to production. Last update was done on Aug 4. If you can release that to production, you can see the changes.

carlan1 commented 1 year ago

Made release. Will close now, reopen if not functional in production.