{"action":"created","comment":{"url":"https://api.github.com/repos/openemr/openemr/pulls/comments/88798256","pull_request_review_id":9361641,"id":88798256,"diff_hunk":"@@ -21,13 +22,384 @@\n //////////////////////////////////////////////////////////////////////\n \n // The location/name of a temporary file to hold printable statements.\n-//\n+// May want to alter these names to allow multi-site installs out-of-the-box\n \n $STMT_TEMP_FILE = $GLOBALS['temporary_files_dir'] . \"/openemr_statements.txt\";\n $STMT_TEMP_FILE_PDF = $GLOBALS['temporary_files_dir'] . \"/openemr_statements.pdf\";\n-\n $STMT_PRINT_CMD = $GLOBALS['print_command'];\n \n+/** There are two options to print a batch of PDF statements:\n+ *  1.  The original statement, a text based statement, using CezPDF\n+ *      Altering this statement is labor intensive, but capable of being altered any way desired...\n+ *\n+ *  2.  Branded Statement, whose core is build from 1., the original statement, using HTML2PDF.\n+ *\n+ *      To customize 2., add your practice location/images/practice_logo.gif \n+ *      In the base/default install this is located at '/openemr/sites/default/images/practice_logo.gif',\n+ *      Adjust directory paths per your installation.\n+ *      Further customize 2. manually in functions report_2() and create_HTML_statement(), below.\n+ *\n+ */\n+function make_statement($stmt) {\n+  if ($stmt['PDF_type'] == \"HTML2PDF\") {\n+    create__HTML_statement($stmt);\n+  } else {\n+    create_statement($stmt);\n+  }\n+}\n+/**\n+ * This prints a header for documents.  Keeps the brand uniform...\n+ *  @param string $pid patient_id\n+ *  @param string $direction, options \"web\" or anything else.  Web provides apache-friendly url links.\n+ *  @return outputs to be displayed however requested\n+ */\n+function report_header_2($stmt,$direction='',$providerID='1') {\n+  $titleres = getPatientData($stmt['pid'], \"fname,lname,DOB\");\n+  if ($_SESSION['pc_facility']) {\n+    $sql = \"select * from facility where id=?\";\n+    $facility = sqlQuery($sql,array($_SESSION['pc_facility']));\n+  } else {\n+    $sql = \"SELECT * FROM facility ORDER BY billing_location DESC LIMIT 1\";\n+    $facility = sqlQuery($sql);\n+  }\n+  $DOB = oeFormatShortDate($titleres['DOB']);\n+  /******************************************************************/\n+  ob_start();\n+  // Use logo if it exists as 'practice_logo.gif' in the site dir\n+  // old code used the global custom dir which is no longer a valid\n+  ?>\n+  <table style=\"width:7in;\">\n+    <tr>\n+      <td style='width:100px;text-align:top;'>\n+        <?php\n+        if ($direction == \"web\") {\n+          global $OE_SITE_DIR;\n+          $practice_logo = $GLOBALS['webroot'].\"/sites/default/images/practice_logo.gif\";\n+          if (file_exists($OE_SITE_DIR.\"/images/practice_logo.gif\")) {\n+            echo \"<img src='$practice_logo' align='left' style='width:150px;margin:0px;'><br />\\n\";\n+          }\n+        } else { //defaults to this\n+          global $OE_SITE_DIR;\n+          $practice_logo = \"$OE_SITE_DIR/images/practice_logo.gif\";\n+          if (file_exists($practice_logo)) {\n+            echo \"<img src='$practice_logo' align='left' style='width:125px;margin:0px;'><br />\\n\";\n+          }\n+        }\n+        ?>\n+      </td>\n+      <td style='width:40%;'>\n+        <em style=\"font-weight:bold;font-size:1.4em;\"><?php echo text($facility['name']); ?></em><br />\n+        <?php echo text($facility['street']); ?><br />\n+        <?php echo text($facility['city']); ?>, <?php echo text($facility['state']); ?> <?php echo text($facility['postal_code']); ?><br />\n+        <?php echo xlt('Phone').': ' .text($facility['phone']); ?><br />\n+        <?php echo xlt('Fax').': ' .text($facility['fax']); ?><br />\n+        <br clear='all' />\n+      </td>\n+      <td>\n+        <em style=\"font-weight:bold;font-size:1.4em;\"><?php echo text($titleres['fname']) . \" \" . text($titleres['lname']); ?></em><br />\n+        <b style=\"font-weight:bold;\"><?php echo xlt('Chart Number'); ?>:</b> <?php echo text($stmt['pid']); ?><br />\n+        <b style=\"font-weight:bold;\"><?php echo xlt('Generated on'); ?>:</b> <?php echo oeFormatShortDate(); ?><br />\n+        <b><?php echo xlt('Provider') . ':</b>  '; ?><?php echo getProviderName($providerID); ?> <br />\n+      </td>\n+    </tr>\n+  </table>\n+  <?php\n+  $output = ob_get_contents();\n+  ob_end_clean();\n+  return $output;\n+}\n+\n+function create_HTML_statement($stmt) {\n+  if (! $stmt['pid']) return \"\"; // get out if no data\n+\n+  #minimum_amount_to _print\n+  if ($stmt[amount] <= ($GLOBALS['minimum_amount_to_print']) && $GLOBALS['use_statement_print_exclusion']) return \"\";\n+\n+  // These are your clinics return address, contact etc.  Edit them.\n+  // TBD: read this from the facility table\n+  // Facility (service location)\n+  $atres = sqlStatement(\"select f.name,f.street,f.city,f.state,f.postal_code,f.attn,f.phone from facility f \" .\n+    \" left join users u on f.id=u.facility_id \" .\n+    \" left join  billing b on b.provider_id=u.id and b.pid = '\".$stmt['pid'].\"' \" .\n+    \" where  service_location=1\");\n+  $row = sqlFetchArray($atres);\n+  $clinic_name = \"{$row['name']}\";\n+  $clinic_addr = \"{$row['street']}\";\n+  $clinic_csz = \"{$row['city']}, {$row['state']}, {$row['postal_code']}\";\n+  // Contacts\n+  $billing_contact = \"{$row['attn']}\";\n+  $billing_phone = \"{$row['phone']}\";\n+  // Billing location\n+  $remit_name = $clinic_name;\n+  $remit_addr = $clinic_addr;\n+  $remit_csz = $clinic_csz;\n+\n+  ob_start();\n+  ?><div style=\"padding-left:25px;\">\n+  <?php\n+  $find_provider = sqlQuery(\"SELECT * FROM form_encounter \" .\n+        \"WHERE pid = ? AND encounter = ? \" .\n+        \"ORDER BY id DESC LIMIT 1\", array($stmt['pid'],$stmt['encounter']) );\n+  $providerID = $find_provider['provider_id'];\n+  echo report_header_2($stmt,$direction,$providerID);\n+\n+  // dunning message setup\n+\n+  // insurance has paid something\n+  // $stmt['age'] how old is the invoice\n+  // $stmt['dun_count'] number of statements run\n+  // $stmt['level_closed'] <= 3 insurance 4 = patient\n+\n+  if ($GLOBALS['use_dunning_message']) {\n+    if ($stmt['ins_paid'] != 0 || $stmt['level_closed'] == 4)  {\n+\n+      // do collection messages\n+      switch ($stmt{'age'}) {\n+        case $stmt{'age'} <= $GLOBALS['first_dun_msg_set']:\n+        $dun_message = $GLOBALS['first_dun_msg_text'];\n+        break;\n+        case $stmt{'age'} <= $GLOBALS['second_dun_msg_set']:\n+        $dun_message = $GLOBALS['second_dun_msg_text'];\n+        break;\n+        case $stmt{'age'} <= $GLOBALS['third_dun_msg_set']:\n+        $dun_message = $GLOBALS['third_dun_msg_text'];\n+        break;\n+        case $stmt{'age'} <= $GLOBALS['fourth_dun_msg_set']:\n+        $dun_message = $GLOBALS['fourth_dun_msg_text'];\n+        break;\n+        case $stmt{'age'} >= $GLOBALS['fifth_dun_msg_set']:\n+        $dun_message = $GLOBALS['fifth_dun_msg_text'];\n+        break;\n+      }\n+    }\n+  }\n+  // Text only labels\n+\n+  $label_addressee = xl('ADDRESSEE');\n+  $label_remitto = xl('REMIT TO');\n+  $label_chartnum = xl('Chart Number');\n+  $label_insinfo = xl('Insurance information on file');\n+  $label_totaldue = xl('Total amount due');\n+  $label_payby = xl('If paying by');\n+  $label_cards = xl('VISA/MC/Discovery/HSA');\n+  $label_cardnum = xl('Card');\n+  $label_expiry = xl('Exp');\n+  $label_sign = xl('Signature');\n+  $label_retpay = xl('Please return this bottom part with your payment');\n+  $label_pgbrk = xl('STATEMENT SUMMARY');\n+  $label_visit = xl('Visit Date');\n+  $label_desc = xl('Description');\n+  $label_amt = xl('Amount');\n+\n+  // This is the text for the top part of the page, up to but not\n+  // including the detail lines.  Some examples of variable fields are:\n+  //  %s    = string with no minimum width\n+  //  %9s   = right-justified string of 9 characters padded with spaces\n+  //  %-25s = left-justified string of 25 characters padded with spaces\n+  // Note that \"\\n\" is a line feed (new line) character.\n+  // reformatted to handle i8n by tony\n+\n+  $out  = \"<div style='margin-left:60px;margin-top:20px;'><pre>\";\n+  $out .= \"\\n\";\n+  $out .= sprintf(\"_______________________ %s _______________________\\n\",$label_pgbrk);\n+  $out .= \"\\n\";\n+  $out .= sprintf(\"%-11s %-46s %s\\n\",$label_visit,$label_desc,$label_amt);\n+  $out .= \"\\n\";\n+\n+  // This must be set to the number of lines generated above.\n+  //\n+  $count = 6;\n+  $num_ages = 4;\n+  $aging = array();\n+  for ($age_index = 0; $age_index < $num_ages; ++$age_index) {\n+    $aging[$age_index] = 0.00;\n+  }\n+  $todays_time = strtotime(date('Y-m-d'));\n+\n+  // This generates the detail lines.  Again, note that the values must be specified in the order used.\n+  foreach ($stmt['lines'] as $line) {\n+    if ($GLOBALS['use_custom_statement']) {\n+      $description = substr($line['desc'],0,30);\n+    } else {\n+      $description = $line['desc'];\n+    }\n+\n+    $tmp = substr($description, 0, 14);\n+    if ($tmp == 'Procedure 9920' || $tmp == 'Procedure 9921' || $tmp == 'Procedure 9200' || $tmp == 'Procedure 9201')\n+      $description = str_replace(\"Procedure\",xl('Office Visit').\":\",$description);\n+    //92002-14 are Eye Office Visit Codes","path":"sites/default/statement.inc.php","position":220,"original_position":220,"commit_id":"991ea16c68023e1ed2d7e7ac9298fb385d732376","original_commit_id":"991ea16c68023e1ed2d7e7ac9298fb385d732376","user":{"login":"bradymiller","id":278968,"avatar_url":"https://avatars.githubusercontent.com/u/278968?v=3","gravatar_id":"","url":"https://api.github.com/users/bradymiller","html_url":"https://github.com/bradymiller","followers_url":"https://api.github.com/users/bradymiller/followers","following_url":"https://api.github.com/users/bradymiller/following{/other_user}","gists_url":"https://api.github.com/users/bradymiller/gists{/gist_id}","starred_url":"https://api.github.com/users/bradymiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradymiller/subscriptions","organizations_url":"https://api.github.com/users/bradymiller/orgs","repos_url":"https://api.github.com/users/bradymiller/repos","events_url":"https://api.github.com/users/bradymiller/events{/privacy}","received_events_url":"https://api.github.com/users/bradymiller/received_events","type":"User","site_admin":false},"body":"TODO for bradymiller\r\nthis seems odd to hardcode office visits here. test it","created_at":"2016-11-20T10:38:10Z","updated_at":"2016-11-20T10:38:11Z","html_url":"https://github.com/openemr/openemr/pull/333#discussion_r88798256","pull_request_url":"https://api.github.com/repos/openemr/openemr/pulls/333","_links":{"self":{"href":"https://api.github.com/repos/openemr/openemr/pulls/comments/88798256"},"html":{"href":"https://github.com/openemr/openemr/pull/333#discussion_r88798256"},"pull_request":{"href":"https://api.github.com/repos/openemr/openemr/pulls/333"}}},"pull_request":{"url":"https://api.github.com/repos/openemr/openemr/pulls/333","id":91914084,"html_url":"https://github.com/openemr/openemr/pull/333","diff_url":"https://github.com/openemr/openemr/pull/333.diff","patch_url":"https://github.com/openemr/openemr/pull/333.patch","issue_url":"https://api.github.com/repos/openemr/openemr/issues/333","number":333,"state":"open","locked":false,"title":"Statements improvements by Ophthal","user":{"login":"bradymiller","id":278968,"avatar_url":"https://avatars.githubusercontent.com/u/278968?v=3","gravatar_id":"","url":"https://api.github.com/users/bradymiller","html_url":"https://github.com/bradymiller","followers_url":"https://api.github.com/users/bradymiller/followers","following_url":"https://api.github.com/users/bradymiller/following{/other_user}","gists_url":"https://api.github.com/users/bradymiller/gists{/gist_id}","starred_url":"https://api.github.com/users/bradymiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradymiller/subscriptions","organizations_url":"https://api.github.com/users/bradymiller/orgs","repos_url":"https://api.github.com/users/bradymiller/repos","events_url":"https://api.github.com/users/bradymiller/events{/privacy}","received_events_url":"https://api.github.com/users/bradymiller/received_events","type":"User","site_admin":false},"body":"Online demo is here:\r\nhttp://www.open-emr.org/wiki/index.php/Development_Demo#192.168.1.131\r\n\r\nBEFORE:\r\n![image](https://cloud.githubusercontent.com/assets/278968/19918160/63f0fe48-a086-11e6-9f31-936280164e9a.png)\r\n\r\nAFTER:\r\n![image](https://cloud.githubusercontent.com/assets/278968/19918170/74d54246-a086-11e6-946c-0f226a31fcff.png)\r\n","created_at":"2016-11-02T06:09:58Z","updated_at":"2016-11-20T10:38:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a65321731c94638d52da6a84fef79c1bd9269ba","assignee":{"login":"bradymiller","id":278968,"avatar_url":"https://avatars.githubusercontent.com/u/278968?v=3","gravatar_id":"","url":"https://api.github.com/users/bradymiller","html_url":"https://github.com/bradymiller","followers_url":"https://api.github.com/users/bradymiller/followers","following_url":"https://api.github.com/users/bradymiller/following{/other_user}","gists_url":"https://api.github.com/users/bradymiller/gists{/gist_id}","starred_url":"https://api.github.com/users/bradymiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradymiller/subscriptions","organizations_url":"https://api.github.com/users/bradymiller/orgs","repos_url":"https://api.github.com/users/bradymiller/repos","events_url":"https://api.github.com/users/bradymiller/events{/privacy}","received_events_url":"https://api.github.com/users/bradymiller/received_events","type":"User","site_admin":false},"assignees":[{"login":"bradymiller","id":278968,"avatar_url":"https://avatars.githubusercontent.com/u/278968?v=3","gravatar_id":"","url":"https://api.github.com/users/bradymiller","html_url":"https://github.com/bradymiller","followers_url":"https://api.github.com/users/bradymiller/followers","following_url":"https://api.github.com/users/bradymiller/following{/other_user}","gists_url":"https://api.github.com/users/bradymiller/gists{/gist_id}","starred_url":"https://api.github.com/users/bradymiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradymiller/subscriptions","organizations_url":"https://api.github.com/users/bradymiller/orgs","repos_url":"https://api.github.com/users/bradymiller/repos","events_url":"https://api.github.com/users/bradymiller/events{/privacy}","received_events_url":"https://api.github.com/users/bradymiller/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/openemr/openemr/pulls/333/commits","review_comments_url":"https://api.github.com/repos/openemr/openemr/pulls/333/comments","review_comment_url":"https://api.github.com/repos/openemr/openemr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openemr/openemr/issues/333/comments","statuses_url":"https://api.github.com/repos/openemr/openemr/statuses/991ea16c68023e1ed2d7e7ac9298fb385d732376","head":{"label":"bradymiller:ophthal_statements","ref":"ophthal_statements","sha":"991ea16c68023e1ed2d7e7ac9298fb385d732376","user":{"login":"bradymiller","id":278968,"avatar_url":"https://avatars.githubusercontent.com/u/278968?v=3","gravatar_id":"","url":"https://api.github.com/users/bradymiller","html_url":"https://github.com/bradymiller","followers_url":"https://api.github.com/users/bradymiller/followers","following_url":"https://api.github.com/users/bradymiller/following{/other_user}","gists_url":"https://api.github.com/users/bradymiller/gists{/gist_id}","starred_url":"https://api.github.com/users/bradymiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradymiller/subscriptions","organizations_url":"https://api.github.com/users/bradymiller/orgs","repos_url":"https://api.github.com/users/bradymiller/repos","events_url":"https://api.github.com/users/bradymiller/events{/privacy}","received_events_url":"https://api.github.com/users/bradymiller/received_events","type":"User","site_admin":false},"repo":{"id":679832,"name":"openemr","full_name":"bradymiller/openemr","owner":{"login":"bradymiller","id":278968,"avatar_url":"https://avatars.githubusercontent.com/u/278968?v=3","gravatar_id":"","url":"https://api.github.com/users/bradymiller","html_url":"https://github.com/bradymiller","followers_url":"https://api.github.com/users/bradymiller/followers","following_url":"https://api.github.com/users/bradymiller/following{/other_user}","gists_url":"https://api.github.com/users/bradymiller/gists{/gist_id}","starred_url":"https://api.github.com/users/bradymiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradymiller/subscriptions","organizations_url":"https://api.github.com/users/bradymiller/orgs","repos_url":"https://api.github.com/users/bradymiller/repos","events_url":"https://api.github.com/users/bradymiller/events{/privacy}","received_events_url":"https://api.github.com/users/bradymiller/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bradymiller/openemr","description":"Mirror of official OpenEMR Sourceforge repository","fork":true,"url":"https://api.github.com/repos/bradymiller/openemr","forks_url":"https://api.github.com/repos/bradymiller/openemr/forks","keys_url":"https://api.github.com/repos/bradymiller/openemr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bradymiller/openemr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bradymiller/openemr/teams","hooks_url":"https://api.github.com/repos/bradymiller/openemr/hooks","issue_events_url":"https://api.github.com/repos/bradymiller/openemr/issues/events{/number}","events_url":"https://api.github.com/repos/bradymiller/openemr/events","assignees_url":"https://api.github.com/repos/bradymiller/openemr/assignees{/user}","branches_url":"https://api.github.com/repos/bradymiller/openemr/branches{/branch}","tags_url":"https://api.github.com/repos/bradymiller/openemr/tags","blobs_url":"https://api.github.com/repos/bradymiller/openemr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bradymiller/openemr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bradymiller/openemr/git/refs{/sha}","trees_url":"https://api.github.com/repos/bradymiller/openemr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bradymiller/openemr/statuses/{sha}","languages_url":"https://api.github.com/repos/bradymiller/openemr/languages","stargazers_url":"https://api.github.com/repos/bradymiller/openemr/stargazers","contributors_url":"https://api.github.com/repos/bradymiller/openemr/contributors","subscribers_url":"https://api.github.com/repos/bradymiller/openemr/subscribers","subscription_url":"https://api.github.com/repos/bradymiller/openemr/subscription","commits_url":"https://api.github.com/repos/bradymiller/openemr/commits{/sha}","git_commits_url":"https://api.github.com/repos/bradymiller/openemr/git/commits{/sha}","comments_url":"https://api.github.com/repos/bradymiller/openemr/comments{/number}","issue_comment_url":"https://api.github.com/repos/bradymiller/openemr/issues/comments{/number}","contents_url":"https://api.github.com/repos/bradymiller/openemr/contents/{+path}","compare_url":"https://api.github.com/repos/bradymiller/openemr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bradymiller/openemr/merges","archive_url":"https://api.github.com/repos/bradymiller/openemr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bradymiller/openemr/downloads","issues_url":"https://api.github.com/repos/bradymiller/openemr/issues{/number}","pulls_url":"https://api.github.com/repos/bradymiller/openemr/pulls{/number}","milestones_url":"https://api.github.com/repos/bradymiller/openemr/milestones{/number}","notifications_url":"https://api.github.com/repos/bradymiller/openemr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bradymiller/openemr/labels{/name}","releases_url":"https://api.github.com/repos/bradymiller/openemr/releases{/id}","deployments_url":"https://api.github.com/repos/bradymiller/openemr/deployments","created_at":"2010-05-21T22:25:18Z","updated_at":"2016-10-23T08:43:26Z","pushed_at":"2016-11-20T09:39:23Z","git_url":"git://github.com/bradymiller/openemr.git","ssh_url":"git@github.com:bradymiller/openemr.git","clone_url":"https://github.com/bradymiller/openemr.git","svn_url":"https://github.com/bradymiller/openemr","homepage":"http://open-emr.org/","size":314573,"stargazers_count":15,"watchers_count":15,"language":"PHP","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":0,"forks":8,"open_issues":0,"watchers":15,"default_branch":"master"}},"base":{"label":"openemr:master","ref":"master","sha":"2ffdaa3a0252b29172f7acf45a3fedfdcf592471","user":{"login":"openemr","id":283089,"avatar_url":"https://avatars.githubusercontent.com/u/283089?v=3","gravatar_id":"","url":"https://api.github.com/users/openemr","html_url":"https://github.com/openemr","followers_url":"https://api.github.com/users/openemr/followers","following_url":"https://api.github.com/users/openemr/following{/other_user}","gists_url":"https://api.github.com/users/openemr/gists{/gist_id}","starred_url":"https://api.github.com/users/openemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openemr/subscriptions","organizations_url":"https://api.github.com/users/openemr/orgs","repos_url":"https://api.github.com/users/openemr/repos","events_url":"https://api.github.com/users/openemr/events{/privacy}","received_events_url":"https://api.github.com/users/openemr/received_events","type":"Organization","site_admin":false},"repo":{"id":679584,"name":"openemr","full_name":"openemr/openemr","owner":{"login":"openemr","id":283089,"avatar_url":"https://avatars.githubusercontent.com/u/283089?v=3","gravatar_id":"","url":"https://api.github.com/users/openemr","html_url":"https://github.com/openemr","followers_url":"https://api.github.com/users/openemr/followers","following_url":"https://api.github.com/users/openemr/following{/other_user}","gists_url":"https://api.github.com/users/openemr/gists{/gist_id}","starred_url":"https://api.github.com/users/openemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openemr/subscriptions","organizations_url":"https://api.github.com/users/openemr/orgs","repos_url":"https://api.github.com/users/openemr/repos","events_url":"https://api.github.com/users/openemr/events{/privacy}","received_events_url":"https://api.github.com/users/openemr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openemr/openemr","description":"Mirror of official OpenEMR Sourceforge repository","fork":false,"url":"https://api.github.com/repos/openemr/openemr","forks_url":"https://api.github.com/repos/openemr/openemr/forks","keys_url":"https://api.github.com/repos/openemr/openemr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openemr/openemr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openemr/openemr/teams","hooks_url":"https://api.github.com/repos/openemr/openemr/hooks","issue_events_url":"https://api.github.com/repos/openemr/openemr/issues/events{/number}","events_url":"https://api.github.com/repos/openemr/openemr/events","assignees_url":"https://api.github.com/repos/openemr/openemr/assignees{/user}","branches_url":"https://api.github.com/repos/openemr/openemr/branches{/branch}","tags_url":"https://api.github.com/repos/openemr/openemr/tags","blobs_url":"https://api.github.com/repos/openemr/openemr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openemr/openemr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openemr/openemr/git/refs{/sha}","trees_url":"https://api.github.com/repos/openemr/openemr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openemr/openemr/statuses/{sha}","languages_url":"https://api.github.com/repos/openemr/openemr/languages","stargazers_url":"https://api.github.com/repos/openemr/openemr/stargazers","contributors_url":"https://api.github.com/repos/openemr/openemr/contributors","subscribers_url":"https://api.github.com/repos/openemr/openemr/subscribers","subscription_url":"https://api.github.com/repos/openemr/openemr/subscription","commits_url":"https://api.github.com/repos/openemr/openemr/commits{/sha}","git_commits_url":"https://api.github.com/repos/openemr/openemr/git/commits{/sha}","comments_url":"https://api.github.com/repos/openemr/openemr/comments{/number}","issue_comment_url":"https://api.github.com/repos/openemr/openemr/issues/comments{/number}","contents_url":"https://api.github.com/repos/openemr/openemr/contents/{+path}","compare_url":"https://api.github.com/repos/openemr/openemr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openemr/openemr/merges","archive_url":"https://api.github.com/repos/openemr/openemr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openemr/openemr/downloads","issues_url":"https://api.github.com/repos/openemr/openemr/issues{/number}","pulls_url":"https://api.github.com/repos/openemr/openemr/pulls{/number}","milestones_url":"https://api.github.com/repos/openemr/openemr/milestones{/number}","notifications_url":"https://api.github.com/repos/openemr/openemr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openemr/openemr/labels{/name}","releases_url":"https://api.github.com/repos/openemr/openemr/releases{/id}","deployments_url":"https://api.github.com/repos/openemr/openemr/deployments","created_at":"2010-05-21T19:54:08Z","updated_at":"2016-11-16T17:35:26Z","pushed_at":"2016-11-20T09:39:01Z","git_url":"git://github.com/openemr/openemr.git","ssh_url":"git@github.com:openemr/openemr.git","clone_url":"https://github.com/openemr/openemr.git","svn_url":"https://github.com/openemr/openemr","homepage":"http://open-emr.org/","size":307825,"stargazers_count":312,"watchers_count":312,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":467,"mirror_url":null,"open_issues_count":45,"forks":467,"open_issues":45,"watchers":312,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openemr/openemr/pulls/333"},"html":{"href":"https://github.com/openemr/openemr/pull/333"},"issue":{"href":"https://api.github.com/repos/openemr/openemr/issues/333"},"comments":{"href":"https://api.github.com/repos/openemr/openemr/issues/333/comments"},"review_comments":{"href":"https://api.github.com/repos/openemr/openemr/pulls/333/comments"},"review_comment":{"href":"https://api.github.com/repos/openemr/openemr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openemr/openemr/pulls/333/commits"},"statuses":{"href":"https://api.github.com/repos/openemr/openemr/statuses/991ea16c68023e1ed2d7e7ac9298fb385d732376"}}}}
{"actor":{"display_login":"bradymiller"}}