care_fe icon indicating copy to clipboard operation
care_fe copied to clipboard

Log update- vitals

Open aparnacoronasafe opened this issue 11 months ago • 22 comments

Is your feature request related to a problem? Please describe. In Log updates (Critical round), Vitals section, there is a section to mark details of pain.

Against a region, user can mark scale of pain from 0-5.

Screenshot 2024-02-27 at 3 35 23 PM

Here the text "Low" , "Normal", "High" comes written next to the number.

Describe the solution you'd like

It is not useful to tag pain as "Normal"

Only retain "Low" only at 0 and "High" at 5.

  • [ ] remove the appearance of "normal" against 1-4 painscale

aparnacoronasafe avatar Feb 27 '24 10:02 aparnacoronasafe

@aparnacoronasafe can you please assign me this issue

saloni0419 avatar Feb 27 '24 10:02 saloni0419

@saloni0419 done!

aparnacoronasafe avatar Feb 27 '24 10:02 aparnacoronasafe

@aparnacoronasafe I have solved the issue, i am not able to push it on Git Hub i am running the command right but on git commit it is showing no filed staged. I have forked, cloned right added a new branch, and git add. , git status. I have done all these still showing the error. Can you please help me image

saloni0419 avatar Feb 27 '24 17:02 saloni0419

@saloni0419 what does git status and git diff show?

rithviknishad avatar Feb 28 '24 03:02 rithviknishad

@rithviknishad git diff shows nothing and git status shows image

saloni0419 avatar Feb 28 '24 04:02 saloni0419

Seems weird. Are you in the right directory? 😅

cc: @sainak @Ashesh3

rithviknishad avatar Feb 28 '24 04:02 rithviknishad

@saloni0419 it's better to use the integrated terminal or the visual git manager included in your editor

sainak avatar Feb 28 '24 05:02 sainak

Most of the problems can be solved with a simple on/off so close your terminal and editor and open them again in the correct path

sainak avatar Feb 28 '24 05:02 sainak

@sainak I have done it I have even reforked it. but I will try to get it in the integrated terminal

saloni0419 avatar Feb 28 '24 05:02 saloni0419

image image

i did it again still shows the same issue

saloni0419 avatar Feb 28 '24 06:02 saloni0419

image image

i did it again still shows the same issue

Can you verify if your changes are still there in the respective files?

Ashesh3 avatar Feb 28 '24 06:02 Ashesh3

@Ashesh3 yes I have changed the file but it showing modified husky.sh

saloni0419 avatar Feb 28 '24 06:02 saloni0419

image here is the ss of change in UI. i have solved this issue and changed the code

saloni0419 avatar Feb 28 '24 06:02 saloni0419

image here is the ss of change in UI. i have solved this issue and changed the code

Could you point out the full path of the file you edited in order to make this change? (Entire path /d/...../.../...)

Ashesh3 avatar Feb 28 '24 06:02 Ashesh3

D:\Open Source\care_fe\src\Components\CriticalCareRecording\Pain\CriticalCare__PainInputModal.bs.js

saloni0419 avatar Feb 28 '24 06:02 saloni0419

D:\Open Source\care_fe\src\Components\CriticalCareRecording\Pain\CriticalCare__PainInputModal.bs.js

@saloni0419 the above file is generated from src/Components/CriticalCareRecording/Pain/CriticalCare__PainInputModal.res the issue that you are working on requires changes in rescript files

sainak avatar Feb 28 '24 06:02 sainak

As Aakash said above, you need to make changes to src/Components/CriticalCareRecording/Pain/CriticalCare__PainInputModal.res file, and the same will auto reflect in your preview, then try to git add that file, make the commit and push changes.

Ashesh3 avatar Feb 28 '24 06:02 Ashesh3

okay I am doing it

saloni0419 avatar Feb 28 '24 06:02 saloni0419

I am just new to rescript files and just wanted to know, that I have changed the code in .res file, now how it will reflect the change in js and overall . can anyone please help in this

saloni0419 avatar Feb 28 '24 08:02 saloni0419

I am just new to rescript files and just wanted to know, that I have changed the code in .res file, now how it will reflect the change in js and overall . can anyone please help in this

Once you've made the changes to the Rescript file (.res), you need to build them

  1. To build them just once you can run npm run build:res (Which runs rescript clean && rescript build)
  2. For a better dev experience, run the rescript builder in watch mode npm run dev:res, this will auto build your .res files as you keep making changes.
  3. After the build, refresh the page if that does not happen automatically and you should see your changes.

To learn more about rescript files: https://rescript-lang.org/

Ashesh3 avatar Feb 28 '24 08:02 Ashesh3

I have linked a PR yesterday. Please review it.

saloni0419 avatar Feb 29 '24 09:02 saloni0419

Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, @aparnacoronasafe, This issue has been automatically marked as stale because it has not had any recent activity.

github-actions[bot] avatar Apr 01 '24 04:04 github-actions[bot]