additional information field.

Discuss everything related to Medical Appointment. All versions. Any questions related to the Medical Appointment developing or using should be posted to this forum.

Moderators: alexandrleonenko, Milton

clinicaguadalupe
Newbie
Newbie
Posts: 4
Joined: May 15th, '12, 16:12

additional information field.

Postby clinicaguadalupe » May 17th, '12, 00:13

i want to add the field additional information when the patient make an appointment is that possible...

i see this in admin but not on patient area.

administrator
Site Admin
Site Admin
Posts: 6067
Joined: Jan 7th, '09, 23:18
Contact:

Re: additional information field.

Postby administrator » May 17th, '12, 13:28

You can do it without any problems.
Look in the include/classes/Appointments.class.php find the place you want to add the code and simply add it!

clinicaguadalupe
Newbie
Newbie
Posts: 4
Joined: May 15th, '12, 16:12

Re: additional information field.

Postby clinicaguadalupe » May 17th, '12, 16:43

well i done to add the additional info to patient view adding the following code:

$params['additional_info'] = $_POST['additional_info'];
$additional_info = isset($params['additional_info']) ? $params['additional_info'] : '';

to function : DrawVerifyAppointment

and add

$output .= '<tr><td nowrap="nowrap" height="10px">'._ADDITIONAL_INFO.'<br /><textarea rows="9" name="additional_info" cols="60" id="additional_info" readonly="readonly">'.$additional_info.'</textarea></td></tr>';

to the output var in same function : DrawVerifyAppointment
Last edited by clinicaguadalupe on May 17th, '12, 19:25, edited 2 times in total.

clinicaguadalupe
Newbie
Newbie
Posts: 4
Joined: May 15th, '12, 16:12

Re: additional information field.

Postby clinicaguadalupe » May 17th, '12, 19:23

i have another question where is located the function to export ,

this because i need to change the encoding, this because the codification does not allow accents

and i like to add additional_info parameter into exporting

administrator
Site Admin
Site Admin
Posts: 6067
Joined: Jan 7th, '09, 23:18
Contact:

Re: additional information field.

Postby administrator » May 20th, '12, 07:41

Exporting feature is a part of include/classes/MicroGrid.class.php, so you can modify it to suit your needs.


Return to “ApPHP Medical Appointment / uDoctorAppointment Talk {developers/users}”