eRx captured and displayed in AMC report,

Some changes by brady:
 -Change token from 'prescription' to 'prescription_erx'
 -Added some comments

Signed-off-by: vinish <vinish@zhservices.com>
Verfiy form_ss exists before trying to use it. (allows hiding SS field).
Also only try to validate self/subscriber SS# relationships if both fields
are valid SSN.
Allow override of SS# validation like name comparison.
Added xls to htmlspecialchars.  (addslashes version of xl for use with
javascript literals).
Fix for incorrect syntax in disc_fragment.php
Address-PHP Notice:  Use of undefined constant event - assumed \'event\' in /var/www/openemr/interface/patient_file/summary/disc_fragment.php on line 62, referer: http://emr100/openemr/interface/patient_file/summary/demographics.php
 This commit helps in the following

1)The javascript error in openemr new patient validation has been corrected.
  The fields marked as 'Required' in layout will be correctly validated both in openemr and patient portal.
2)Now the option to put the provider Id in 'Portal' tab (In Administration -> Globals) has been provided.It will also be displayed during  'Create Offsite Portal Credentials' and 'Reset Offsite Portal Credentials'
Changed the code as mentioned in Git Hub comments.

Signed-off-by: Teny <teny@zhservices.com>

Additional minor change in a English constant by bradymiller.
Visolve: Clear Active Patient Changes
MU2 certification support (smoking and clinical terms), final revision.

 -Support for MU2 requirements for smoking status
 -Support for broad SNOMED clinical terms
   -A new code type was added to support this
 -Support for Clinical Term Code(s) mapping in Administration->Lists
 -Added ability to import the SNOMED US extension pack
   -The size of the code columns in codes table was increased to
    support these longer SNOMED codes.
Removed some erroneous copyright headers.

 -discussed on this forum thread:
  http://sourceforge.net/projects/openemr/forums/forum/202506/topic/6405748
Fixed some GPL script headers that contained text that was not compliant
with GPL.

 -Permission was granted from John Williams at Garden State Health Systems
  to make these changes.
New Selection criteria placed in Appointment report