care_fe icon indicating copy to clipboard operation
care_fe copied to clipboard

Attribution to Doctor- when nurse edits prescription

Open aparnacoronasafe opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? Please describe. Today in CARE, doctors do not always update all details for the patients themselves and offload that work on nurses. Nurses usually mark the suggested changes in medicines on the medicines tab.

However, legally it is mandated to keep the record of the prescription with the information on which doctor has suggested the medicines.

Describe the solution you'd like

  • [ ] https://care.coronasafe.in/facility/997c7f30-8e2f-4d62-8b58-2a8771e658d6/patient/d65e8b33-d631-4744-b9af-c371160288a8/consultation/04d26287-2108-4df4-95e4-11767d33fed7/prescriptions

Only for nurse user type, add an additional field with dropdown of "list of local doctors" must be available with the text:- "Prescribed by" against each medicine entry.

Nurse must select which doctor prescribed the medicines.

  • [ ] Add the same field when the nurse tries to edit/discontinue a medicine https://care.coronasafe.in/facility/997c7f30-8e2f-4d62-8b58-2a8771e658d6/patient/d65e8b33-d631-4744-b9af-c371160288a8/consultation/04d26287-2108-4df4-95e4-11767d33fed7/prescriptions

  • [ ] When user clicks on medicine to expand information change "Prescribed 3 minutes ago by Aparna Sathianathan" to "Prescribed by Dr. XYZ and entered by ABC" https://care.coronasafe.in/facility/997c7f30-8e2f-4d62-8b58-2a8771e658d6/patient/d65e8b33-d631-4744-b9af-c371160288a8/consultation/04d26287-2108-4df4-95e4-11767d33fed7/medicines

aparnacoronasafe avatar Apr 18 '24 11:04 aparnacoronasafe

Hey @aparnacoronasafe would you please assign this to me??

vishisht-dubey avatar Apr 19 '24 07:04 vishisht-dubey

@vishisht-dubey few more things:

  • As for the migration, existing data can be set to null for prescribed_by.
  • For such entries show only "entered by <user name>" in the FE and omit the "prescribed by <user name>"
  • The prescribed by doctor's home facility must be the same as the patient's admitted facility.

cc: @aparnacoronasafe

rithviknishad avatar Apr 25 '24 13:04 rithviknishad

@vishisht-dubey few more things:

  • As for the migration, existing data can be set to null for prescribed_by.
  • For such entries show only "entered by <user name>" in the FE and omit the "prescribed by <user name>"
  • The prescribed by doctor's home facility must be the same as the patient's admitted facility.

cc: @aparnacoronasafe

ok got it

vishisht-dubey avatar Apr 26 '24 17:04 vishisht-dubey

@rithviknishad @aparnacoronasafe is there any api to find out the role of a logged in user.

vishisht-dubey avatar Apr 26 '24 18:04 vishisht-dubey

Hi, @coronasafe/care-frontend-maintainers, This issue has been automatically marked as stale because it has not had any recent activity.

github-actions[bot] avatar May 11 '24 04:05 github-actions[bot]

@vishisht-dubey Will you be able to work on this issue?

@sainak Can you add the required clarification?

gigincg avatar Aug 05 '24 01:08 gigincg

@rithviknishad @aparnacoronasafe is there any api to find out the role of a logged in user.

@vishisht-dubey, yes the api/v1/users/getcurrentuser/ returns the details of the current user which includes the role

sainak avatar Aug 05 '24 18:08 sainak

Closing as duplicate of #8492

cc: @aparnacoronasafe

rithviknishad avatar Sep 05 '24 17:09 rithviknishad