hi Muthu,
i have a revision older than 6700 and the ambulatory ( outpatient )
prescription
is working without any problem.
gj.
On 2010-09-26 8:02.MD, Ap.Muthu wrote:
> Patient
> -> Admit Patient as Out patient
> -> Fix Appointment for patient
> -> Make Encounter for Appointment of Patient
> Choose Prescriptions on right menu options.
>
> It will proceed to /modules/registration_admission/show_prescription.php
> which includes the file /modules/registration_admission/include/init_show.php
> (here the variable $is_discharged is set "safely" to TRUE) and then proceeds
> to /modules/registration_admission/gui_bridge/default/gui_show.php where if
> no prescriptions were found, a link to enter a new one should be displayed
> vide lines:
> if($parent_admit&& !$is_discharged&&
> $thisfile!='show_diagnostics_result.php'){
> $smarty->assign('sPromptIcon','<img
> '.createComIcon($root_path,'bul_arrowgrnlrg.gif','0','absmiddle',TRUE).'>');
> $smarty->assign('sPromptLink','<a
> href="'.$thisfile.URL_APPEND.'&pid='.$_SESSION['sess_pid'].'&target='.$target.'&mode=new">'.$LDEnterNewRecord.'</a>');
> }else{
> if(file_exists('./gui_bridge/default/gui_person_createnew_'.$thisfile))
> include('./gui_bridge/default/gui_person_createnew_'.$thisfile);
> }
> The value of the variables for an admitted patient just before entering this
> code set are:
> $parent_admit = FALSE
> $is_discharged = TRUE
>
> > From the above it is seen that the if statement above will always fail and
> > so the "Enter New Record" link never gets displayed!
>
> The very same gui_show.php is also used successfully by the Appointments
> options page and it get the variables correct at this point.
>
> zThis error persists with
>
>
> Regards,
> Ap.Muthu
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
>
>
> _______________________________________________
> Care2002-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/care2002-developers
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Care2002-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/care2002-developers