Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.

Edit/View mode for Active/Past visit : Diagnoses fragment #27

Closed
DiyaIT1 opened this issue Aug 9, 2017 · 13 comments
Closed

Edit/View mode for Active/Past visit : Diagnoses fragment #27

DiyaIT1 opened this issue Aug 9, 2017 · 13 comments

Comments

@DiyaIT1
Copy link

DiyaIT1 commented Aug 9, 2017

No description provided.

@nehav39
Copy link
Owner

nehav39 commented Aug 16, 2017

The diagnosis fragment does not show the entered diagnoses for a closed visit.

@nehav39
Copy link
Owner

nehav39 commented Aug 16, 2017

image

For this patient, a diagnosis of "cough" and "fever of unknown origin" was added.

@prithi69
Copy link
Collaborator

in the patient overview screen "back to top" is not working.

@amalafrozalam
Copy link

@hardikk08
Check src > webapp > resources > scripts > diagnoses > diagnoses.js

@amalafrozalam
Copy link

Above comment is incorrect. It's definitely in that file, but somewhere further along.

The fragment seems to be saving the information correct, but it does not seem to be retrieving it correctly. Perhaps the URL call in one of the factories is incorrect. Specifically, when the page is loaded and previous/prior diagnoses are searched for.

@nehav39
Copy link
Owner

nehav39 commented Dec 4, 2017

@amalafrozalam - No code was written to retrieve and display diagnoses. It's not a bug. This was just not completed.

@amalafrozalam
Copy link

@nehagoel2 you tagged the wrong amal. Need to use my full username.

Okay, well that explains it. There is a retrieval of sorts going on, but I believe that issues #23 and #44 are all related.

@hardikk08
Copy link
Collaborator

@nehagoel2 I wish you had pointed that out earlier @amalafrozalam I can see it being posted in the database. So basically the code to retrieve it is missing. Would have been easy if we knew the logic flow of the entire module hence it is taking time to understand.
screenshot 83

@nehav39
Copy link
Owner

nehav39 commented Dec 8, 2017

Look at closed issue #26

@nehav39
Copy link
Owner

nehav39 commented Dec 10, 2017

@hardikk08 - great job so far on the fragment. Just a last push:

  1. For a closed visit, the text entry box for entering diagnosis should be hidden so that no new diagnoses can be entered
  2. The diagnoses being seen in the Previous diagnoses are not marked as Primary, Secondary, Confirmed or Unconfirmed. These should also be seen
  3. Previous diagnosis heading is in Red - make it consistent in look and feel.

@hardikk08
Copy link
Collaborator

For the 2nd point...
This is a bit difficult to achieve, saying it after trying a lot of stuff and this feature will take time. Reason, obs for diagnoses is being posted just after we enter a diagnoses name hence clicking on primary or confirmed has no effect on what is being posted in the database! Hence the checkbox implementation is more of a dummy right now. The way it is happening in core apps is very complex and will require a lot of modification in our app.

@nehav39 nehav39 closed this as completed Dec 14, 2017
hardikk08 added a commit that referenced this issue Jan 3, 2018
hardikk08 added a commit that referenced this issue Jan 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants