Permalink
Browse files

migrated ubiquitous libraries to composer autoloader (#421)

  • Loading branch information...
1 parent aa5f5e3 commit 2d5c5391e6930e02123a1f4bb27b6b59622415c4 @bradymiller bradymiller committed on GitHub Jan 7, 2017
Showing with 637 additions and 810 deletions.
  1. +9 −0 composer.json
  2. +0 −1 contrib/forms/formmaker/formscript.pl
  3. +0 −2 contrib/forms/xmlformgen/xslt/save.php.xslt
  4. +1 −2 custom/ajax_download.php
  5. +8 −9 custom/download_qrda.php
  6. +177 −178 custom/export_qrda_xml.php
  7. +0 −1 interface/batchcom/batch_phone_notification.php
  8. +0 −1 interface/billing/edit_payment.php
  9. +0 −1 interface/billing/new_payment.php
  10. +0 −1 interface/billing/sl_eob_invoice.php
  11. +0 −1 interface/billing/sl_receipts_report.php
  12. +0 −1 interface/cmsportal/history_form.php
  13. +0 −1 interface/cmsportal/insurance_form.php
  14. +0 −1 interface/cmsportal/issue_form.php
  15. +0 −1 interface/cmsportal/lbf_form.php
  16. +0 −1 interface/cmsportal/list_requests.php
  17. +0 −1 interface/cmsportal/patient_form.php
  18. +0 −1 interface/cmsportal/patient_form_ajax.php
  19. +0 −1 interface/cmsportal/patient_select.php
  20. +0 −1 interface/cmsportal/upload_form.php
  21. +0 −1 interface/cmsportal/upload_form_show.php
  22. +0 −1 interface/de_identification_forms/re_identification_op_single_patient.php
  23. +0 −2 interface/drugs/add_edit_drug.php
  24. +0 −2 interface/drugs/add_edit_lot.php
  25. +0 −2 interface/drugs/destroy_lot.php
  26. +0 −1 interface/drugs/dispense_drug.php
  27. +1 −2 interface/drugs/drug_inventory.php
  28. +0 −1 interface/forms/CAMOS/admin.php
  29. +0 −1 interface/forms/CAMOS/ajax_save.php
  30. +0 −1 interface/forms/CAMOS/content_parser.php
  31. +0 −1 interface/forms/CAMOS/new.php
  32. +0 −1 interface/forms/CAMOS/notegen.php
  33. +0 −1 interface/forms/CAMOS/rx_print.php
  34. +0 −1 interface/forms/CAMOS/save.php
  35. +0 −1 interface/forms/LBF/new.php
  36. +26 −27 interface/forms/aftercare_plan/new.php
  37. +0 −1 interface/forms/aftercare_plan/save.php
  38. +0 −1 interface/forms/care_plan/save.php
  39. +78 −79 interface/forms/eye_mag/SpectacleRx.php
  40. +0 −2 interface/forms/eye_mag/a_issue.php
  41. +3 −4 interface/forms/eye_mag/js/eye_base.php
  42. +0 −1 interface/forms/eye_mag/save.php
  43. +22 −24 interface/forms/eye_mag/taskman.php
  44. +0 −1 interface/forms/functional_cognitive_status/save.php
  45. +0 −1 interface/forms/misc_billing_options/new.php
  46. +0 −1 interface/forms/misc_billing_options/save.php
  47. +0 −1 interface/forms/newpatient/save.php
  48. +0 −1 interface/forms/observation/save.php
  49. +0 −1 interface/forms/procedure_order/new.php
  50. +0 −1 interface/forms/transfer_summary/save.php
  51. +0 −1 interface/forms/treatment_plan/save.php
  52. +6 −15 interface/globals.php
  53. +0 −1 interface/language/language.php
  54. +0 −1 interface/logview/erx_logview.php
  55. +0 −1 interface/logview/logview.php
  56. +6 −7 interface/main/calendar/add_edit_event.php
  57. +0 −1 interface/main/calendar/find_patient.php
  58. +0 −1 interface/main/calendar/find_patient_popup.php
  59. +0 −1 interface/main/calendar/findfirstapp.php
  60. +0 −1 interface/main/calendar/modules/PostCalendar/pntemplates/default/user/ajax_search.html
  61. +0 −1 interface/main/calendar/modules/PostCalendar/pnuser.php
  62. +63 −64 interface/main/dated_reminders/dated_reminders.php
  63. +154 −155 interface/main/dated_reminders/dated_reminders_add.php
  64. +53 −54 interface/main/dated_reminders/dated_reminders_log.php
  65. +0 −1 interface/main/finder/dynamic_finder.php
  66. +0 −1 interface/main/finder/dynamic_finder_ajax.php
  67. +0 −1 interface/main/finder/patient_select.php
  68. +0 −1 interface/main/main_screen.php
  69. +0 −1 interface/main/messages/lab_results_messages.php
  70. +0 −1 interface/main/messages/messages.php
  71. +0 −1 interface/new/new_search_popup.php
  72. +0 −1 interface/orders/lab_exchange.php
  73. +0 −1 interface/orders/lab_exchange_tools.php
  74. +0 −1 interface/orders/list_reports.php
  75. +0 −1 interface/orders/order_manifest.php
  76. +0 −1 interface/orders/orders_results.php
  77. +0 −1 interface/orders/patient_match_dialog.php
  78. +0 −1 interface/orders/pending_orders.php
  79. +2 −4 interface/orders/procedure_provider_edit.php
  80. +1 −3 interface/orders/procedure_provider_list.php
  81. +0 −1 interface/orders/procedure_stats.php
  82. +0 −1 interface/orders/single_order_results.inc.php
  83. +0 −1 interface/orders/types.php
  84. +0 −1 interface/orders/types_ajax.php
  85. +0 −1 interface/orders/types_edit.php
  86. +0 −2 interface/patient_file/download_template.php
  87. +0 −1 interface/patient_file/education.php
  88. +0 −1 interface/patient_file/encounter/diagnosis.php
  89. +0 −1 interface/patient_file/encounter/diagnosis_full.php
  90. +0 −1 interface/patient_file/encounter/forms.php
  91. +0 −1 interface/patient_file/encounter/superbill_codes.php
  92. +0 −1 interface/patient_file/encounter/superbill_custom_full.php
  93. +0 −1 interface/patient_file/history/encounters.php
  94. +0 −1 interface/patient_file/history/encounters_ajax.php
  95. +0 −1 interface/patient_file/pos_checkout.php
  96. +0 −1 interface/patient_file/reminder/patient_reminders.php
  97. +0 −2 interface/patient_file/report/custom_report.php
  98. +8 −10 interface/patient_file/summary/add_edit_issue.php
  99. +0 −1 interface/patient_file/summary/advancedirectives.php
  100. +0 −1 interface/patient_file/summary/create_portallogin.php
  101. +0 −1 interface/patient_file/summary/demographics_save.php
  102. +0 −1 interface/patient_file/summary/stats.php
  103. +0 −1 interface/patient_file/summary/summary_title.php
  104. +0 −1 interface/reports/amc_tracking.php
  105. +0 −1 interface/reports/appointments_report.php
  106. +0 −1 interface/reports/audit_log_tamper_report.php
  107. +0 −1 interface/reports/collections_report.php
  108. +0 −1 interface/reports/cqm.php
  109. +0 −1 interface/reports/edi_270.php
  110. +0 −1 interface/reports/encounters_report.php
  111. +0 −1 interface/reports/external_data.php
  112. +0 −1 interface/reports/pat_ledger.php
  113. +0 −1 interface/reports/patient_flow_board_report.php
  114. +0 −1 interface/reports/prescriptions_report.php
  115. +0 −1 interface/reports/receipts_by_method_report.php
  116. +0 −1 interface/reports/referrals_report.php
  117. +0 −1 interface/reports/report_results.php
  118. +0 −1 interface/reports/sales_by_item.php
  119. +0 −1 interface/reports/svc_code_financial_report.php
  120. +0 −1 interface/super/edit_globals.php
  121. +0 −1 interface/super/edit_layout.php
  122. +0 −1 interface/super/edit_list.php
  123. +0 −1 interface/super/layout_listitems_ajax.php
  124. +0 −2 interface/super/load_codes.php
  125. +0 −2 interface/super/manage_document_templates.php
  126. +0 −2 interface/super/manage_site_files.php
  127. +3 −4 interface/super/rules/include/common.php
  128. +0 −2 interface/usergroup/addrbook_edit.php
  129. +1 −3 interface/usergroup/addrbook_list.php
  130. +0 −1 interface/usergroup/facilities.php
  131. +0 −2 interface/usergroup/facilities_add.php
  132. +0 −1 interface/usergroup/facility_admin.php
  133. +0 −1 interface/usergroup/facility_user.php
  134. +0 −1 interface/usergroup/facility_user_admin.php
  135. +0 −1 interface/usergroup/ssl_certificates_admin.php
  136. +3 −5 interface/usergroup/user_admin.php
  137. +0 −1 interface/usergroup/usergroup_admin.php
  138. +2 −4 interface/usergroup/usergroup_admin_add.php
  139. +0 −1 library/ESign/Encounter/Signable.php
  140. +0 −1 library/ESign/Form/LBF/Signable.php
  141. +0 −1 library/ESign/Form/Signable.php
  142. +0 −1 library/FeeSheet.class.php
  143. +0 −1 library/FeeSheetHtml.class.php
  144. +0 −1 library/ajax/dated_reminders_counter.php
  145. +0 −1 library/ajax/find_patients.php
  146. +0 −1 library/ajax/prescription_drugname_lookup.php
  147. +0 −1 library/api.inc
  148. +0 −1 library/auth.inc
  149. +0 −1 library/classes/Controller.class.php
  150. +0 −1 library/classes/ORDataObject.class.php
  151. +0 −2 library/classes/Prescription.class.php
  152. +0 −1 library/clinical_rules.php
  153. +0 −1 library/log.inc
  154. +0 −1 library/log_validation.php
  155. +0 −1 library/openflashchart/graph_track_anything.php
  156. +0 −1 library/openflashchart/graphs.php
  157. +0 −1 library/options.inc.php
  158. +0 −1 library/patient.inc
  159. +0 −1 library/report.inc
  160. +0 −1 library/translation.inc.php
  161. +0 −1 library/user.inc
  162. +0 −1 modules/sms_email_reminder/batch_phone_notification.php
  163. +0 −2 myportal/soap_service/server_existingpatient.php
  164. +0 −1 myportal/soap_service/server_newpatienttoapprove.php
  165. +5 −0 vendor/composer/autoload_files.php
  166. +5 −0 vendor/composer/autoload_static.php
View
@@ -30,6 +30,15 @@
"phing/phing": "2.14.0"
},
+ "autoload": {
+ "files": [
+ "library/htmlspecialchars.inc.php",
+ "library/formdata.inc.php",
+ "library/sanitize.inc.php",
+ "library/date_functions.php",
+ "library/validation/validate_core.php"
+ ]
+ },
"config": {
"preferred-install": {
"doctrine/couchdb": "dist"
@@ -201,7 +201,6 @@
include_once("../../globals.php");
include_once("$srcdir/api.inc");
include_once("$srcdir/forms.inc");
-require_once("$srcdir/formdata.inc.php");
//process form variables here
//create an array of all of the existing field names
@@ -32,8 +32,6 @@ require_once('../../globals.php');
require_once($GLOBALS['srcdir'].'/api.inc');
/* for ??? */
require_once($GLOBALS['srcdir'].'/forms.inc');
-/* for formDataCore() */
-require_once($GLOBALS['srcdir'].'/formdata.inc.php');
]]></xsl:text>
<xsl:apply-templates select="table|RealName|safename|acl|layout"/>
@@ -1,7 +1,7 @@
<?php
/**
*
- * QRDA Ajax Download
+ * QRDA Ajax Download
*
* Copyright (C) 2015 Ensoftek, Inc
*
@@ -26,7 +26,6 @@
require_once("../interface/globals.php");
require_once("$srcdir/report_database.inc");
-require_once("$srcdir/sanitize.inc.php");
require_once("../library/classes/QRDAXml.class.php");
require_once("../ccr/uuid.php");
require_once("qrda_category1_functions.php");
@@ -1,7 +1,7 @@
<?php
/**
*
- * QRDA Download
+ * QRDA Download
*
* Copyright (C) 2015 Ensoftek, Inc
*
@@ -24,12 +24,11 @@
$fake_register_globals=false;
$sanitize_all_escapes=true;
-
+
require_once("../interface/globals.php");
require_once "$srcdir/report_database.inc";
require_once("$srcdir/formatting.inc.php");
require_once ("$srcdir/options.inc.php");
-require_once("$srcdir/sanitize.inc.php");
require_once("qrda_category1.inc");
$report_id = (isset($_GET['report_id'])) ? trim($_GET['report_id']) : "";
@@ -44,12 +43,12 @@
?>
<html>
-
+
<head>
<?php html_header_show();?>
<link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
-<script type="text/javascript" src="<?php echo $webroot ?>/interface/main/tabs/js/include_opener.js"></script>
+<script type="text/javascript" src="<?php echo $webroot ?>/interface/main/tabs/js/include_opener.js"></script>
<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/textformat.js"></script>
<script type="text/javascript" src="<?php echo $GLOBALS['webroot'] ?>/library/dialog.js?v=<?php echo $v_js_includes; ?>"></script>
<script type="text/javascript" src="<?php echo $GLOBALS['assets_static_relative']; ?>/jquery-min-1-4-3/index.js"></script>
@@ -68,7 +67,7 @@
});
});
});
-
+
function downloadSelected() {
zipFileArray.length = 0;
var criteriaArray = new Array();
@@ -89,7 +88,7 @@ function downloadSelected() {
downloadXML(checkBoxCounterArray[1],lastOne,ruleID);
}
}
-
+
function downloadXML(counter,lastOne) {
$("#download" + counter).css("display","none");
$("#spin" + counter).css("display","inline");
@@ -133,7 +132,7 @@ function(data){
}
});
}
-
+
function closeMe() {
window.close();
}
@@ -143,7 +142,7 @@ function closeMe() {
cursor: hand;
}
.multiDownload {
-
+
}
</style>
</head>
Oops, something went wrong.

0 comments on commit 2d5c539

Please sign in to comment.