Request - A small change needed in Encounter dropdown list in the top frame

arnabnaha wrote on Monday, October 20, 2014:

How Can I insert the encounter number in the dropdown encounter list at the top. I have a follow up form where I need to enter the last encounter number. Right now, to check for that I have to go all the way back to the past encounter list, it would be great if you can direct me which code to modify for putting the encounter numbers of the respective encounters in the dropdown list of encounters in the top frame.

epsdky wrote on Monday, October 20, 2014:

Hello Arnab,

In…

interface/main/left_nav.php (rel-412 Github)

Replace line 753…

str+='<option value="'+EncounterIdArray[CountEncounter]+'~'+EncounterDateArray[CountEncounter]+'">'+EncounterDateArray[CountEncounter]+'-'+CalendarCategoryArray[CountEncounter]+'</option>';

With…

str+='<option value="'+EncounterIdArray[CountEncounter]+'~'+EncounterDateArray[CountEncounter]+'">'+EncounterDateArray[CountEncounter]+'-'+CalendarCategoryArray[CountEncounter]+' '+EncounterIdArray[CountEncounter]+'</option>';

(The following is added to near the end)

' '+EncounterIdArray[CountEncounter]

Regards,

epsdky.

arnabnaha wrote on Monday, October 20, 2014:

Thanks so much epsdky…Its lovely…Thank you…can a parenthesis be added around the encounter numbers…then it will look great…plz if possible

epsdky wrote on Monday, October 20, 2014:

Hi Arnab,

Pleased I was able to help.

Here is the change you requested…

str+='<option value="'+EncounterIdArray[CountEncounter]+'~'+EncounterDateArray[CountEncounter]+'">'+EncounterDateArray[CountEncounter]+'-'+CalendarCategoryArray[CountEncounter]+' '+'('+EncounterIdArray[CountEncounter]+')'+'</option>';

I can remove the patient category if you would like.

Regards,

epsdky.

arnabnaha wrote on Monday, October 20, 2014:

Thank you once again…now it looks great…which patient category?

arnabnaha wrote on Monday, October 20, 2014:

I have one more thing to ask you…

Is it anyway possible to show which reports are already printed? Means, just a small “printed” written in the report screen with datetime stamp beside the encounter report?

arnabnaha wrote on Monday, October 20, 2014:

To add to the information regarding the above code change…This line number in 4.1.3 dev version is LINE No. 813

epsdky wrote on Monday, October 20, 2014:

Pleased you are happy with change.

(Calendar Category I should have said)

Changing list entries from…

2014-10-20-Established Patient (22) for e.g.

to.

2014-10-20 (22)

or

2014-10-20 (22) Established Patient

might be preferable, all numbers line up.

str+='<option value="'+EncounterIdArray[CountEncounter]+'~'+EncounterDateArray[CountEncounter]+'">'+EncounterDateArray[CountEncounter]+' '+'('+EncounterIdArray[CountEncounter]+')'+'</option>';

str+='<option value="'+EncounterIdArray[CountEncounter]+'~'+EncounterDateArray[CountEncounter]+'">'+EncounterDateArray[CountEncounter]+' '+'('+EncounterIdArray[CountEncounter]+')'+' '+CalendarCategoryArray[CountEncounter]+'</option>';

arnabnaha wrote on Tuesday, October 21, 2014:

Thank you once again…it looks even better now…can you help me out with the following?

Is it anyway possible to show which reports are already printed? Means, just a small “printed” written in the report screen with datetime stamp beside the encounter report?

epsdky wrote on Tuesday, October 21, 2014:

You are welcome. I am sending a message to you about your question.