cbezuidenhout wrote on Sunday, January 15, 2012:
The ability to go directly from the message one is reading to the patient chart in one click is an imperative! I’m not sure if that is what you mean by “link to patient”. That click should not bring up the “patient select” screen - it needs to go directly to the patient dashboard.
- done
It would be nice to have the option to mark a message “save” and have the message list accessible from the patient dashboard. One could also choose “delete” in which case it would be hidden from that listing and only available through audit.
- at this stage We have only added it to the Calendar, but could be incorporated anywhere really. Clicking the “Set As Completed” button sets the Processed field in the database. We will be adding a “view audit” screen in due course (we want to get to user functionality working first.
The user signing off the message or returning or rerouting the message is automatically logged (timestamp would be nice) and displayed with the message. This would ale apply to a forwarded message.
- datestamp is there, forwarding is a good call (will add that to the todo list
We should be able to send a message from the patient dashboard or inside the encounter that defaults to the current patient, but would also allow override with the patient select. Is this what you meant by “link to patient”?
- the autoset current patient is a good call, we will implement this ASAP (however it will still be called from within the calendar screen for now)
Should be able to set a priority with this message so that if needed it can be made an “instant message” that is, if the recipient is logged in, the message would display on top of other pages or preferably produce a flashing icon on all pages indicating an urgent message is pending action.
- another good idea. Will add that to the feature set (does the calendar auto refresh ? )
===========================================================================================
now I have a query for anyone who can help :
I have a dialog opening to add a message, now I need another dialogue to open from within this one.
I am using the dlgopen function.
here is the dialogue code so far (in the Add Dated Message File) :
<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/js/jquery-calendar.js"></script>
<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/dialog.js"></script>
<script language="JavaScript">
$(document).ready(function (){
$('.CalendarMe').calendar({dateFormat: 'YMD-', minDate: new Date()});
$('#selectPatient').click(function(){
dlgopen('find_patient_popup.php', '_drPatSel', 600, 400);
//alert('This should invoke find_patient_popup.php, but it is not working yet');
})
})
this is not working, if I comment the dlgopen line and uncomment the alert, the alert works so the click is being detected.
I used basically the same code to get the Add Dated Message File to open and it works.