Difference between revisions of "User talk:MedMaster"

From OpenEMR Project Wiki
(→‎addlist.php: new section)
Line 45: Line 45:


* Removed $_SESSION['authGroup'] variable.
* Removed $_SESSION['authGroup'] variable.
== addlist.php ==
* Removed $_SESSION['authGroup'] variable.
* Add 'modifydate' column in insert query and set to NOW().

Revision as of 12:42, 3 April 2013

Welcome to OpenEMR Project Wiki! We hope you will contribute much and well. You will probably want to read the help pages. Again, welcome and have fun! Bradymiller 05:23, 20 March 2013 (UTC)

Global Issues

  • Changed the 'push_notification' global to 'device_push_notification_service'
  • Sample post data to add prescription:
    • token=63e4314441bb9bc7a417344a2ad52067&patientId=5&visit_id=280&startDate=2013-04-03&drug=Abraxane&dosage=one&quantity=1&provider_id=60&refill=01&medication=&note=Test notes.

functions.php

  • Wrapped add_escape_custom($userId) in the 2nd query of createToken() function with single quotes.
  • Applied binding in query of validateToken() function.
  • Removed getUserData() function.

addappointment.php

  • We don't need to check 'device_push_notification_service' on this page because it is applied in notification() function in functions.php script.
  • Removed query and use InsertEvent() function to add appointments.
  • Removed getUserData() function.
  • Removed $_SESSION['authGroup'] variable because we are not using it anymore.
  • Use the InsertEvent() function to create the appointment.

addcheckout.php

  • Set $_SESSION['authUser'] variable as set in library/auth.inc script.
  • Modified code as per changes made in checkout process of OpenEMR 4.1.1.

addcontactgeneral.php

  • Removed $_SESSION['authGroup'] variable.

addfacility.php

  • Removed $_SESSION['authGroup'] variable.
  • Removed duplicate getUsername($userId) function.

addfeesheet.php

  • Set $_SESSION['authProvider'] and $_SESSION['authId'] variables as set in library/auth.inc script.

addinsurancecompany.php

  • Removed $_SESSION['authGroup'] variable.

addlist.php

  • Removed $_SESSION['authGroup'] variable.
  • Add 'modifydate' column in insert query and set to NOW().