{"action":"created","comment":{"url":"https://api.github.com/repos/phenotips/phenotips/pulls/comments/32230091","id":32230091,"diff_hunk":"@@ -0,0 +1,397 @@\n+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+\n+<!--\n+ * See the NOTICE file distributed with this work for additional\n+ * information regarding copyright ownership.\n+ *\n+ * This program is free software: you can redistribute it and/or modify\n+ * it under the terms of the GNU Affero General Public License as published by\n+ * the Free Software Foundation, either version 3 of the License, or\n+ * (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU Affero General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Affero General Public License\n+ * along with this program.  If not, see http://www.gnu.org/licenses/\n+-->\n+\n+<xwikidoc version=\"1.1\">\n+  <web>PhenoTips</web>\n+  <name>PatientLock</name>\n+  <language/>\n+  <defaultLanguage/>\n+  <translation>0</translation>\n+  <creator>xwiki:XWiki.Admin</creator>\n+  <creationDate>1433535415000</creationDate>\n+  <parent>PhenoTips.PatientClass</parent>\n+  <author>xwiki:XWiki.Admin</author>\n+  <contentAuthor>xwiki:XWiki.Admin</contentAuthor>\n+  <date>1433886792000</date>\n+  <contentUpdateDate>1433886501000</contentUpdateDate>\n+  <version>1.1</version>\n+  <title>Patient Lock</title>\n+  <comment/>\n+  <minorEdit>false</minorEdit>\n+  <syntaxId>xwiki/2.1</syntaxId>\n+  <hidden>false</hidden>\n+  <content>{{velocity}}\n+#set ($patientId = $!{request.getParameter('patientId')})##The patient id to be locked or unlocked\n+#set ($lockingRequest = $!{request.getParameter('lock')})##The locking request. True to lock, false to unlock.\n+#set ($resultSuccessful = false)\n+#if (\"$!{patientId}\" != '' &amp;&amp; \"$!{lockingRequest}\" != '')\n+  #set ($resultSuccessful = $services.recordLocking.setRecordLock($patientId, $lockingRequest))\n+#end\n+#if ($resultSuccessful)\n+  $response.setStatus(200)\n+#else\n+  $response.setStatus(500)\n+#end\n+{{/velocity}}</content>\n+  <object>\n+    <name>PhenoTips.PatientLock</name>\n+    <number>0</number>\n+    <className>XWiki.JavaScriptExtension</className>\n+    <guid>2eea272f-6582-431e-8074-217a7d0dbf42</guid>\n+    <class>\n+      <name>XWiki.JavaScriptExtension</name>\n+      <customClass/>\n+      <customMapping/>\n+      <defaultViewSheet/>\n+      <defaultEditSheet/>\n+      <defaultWeb/>\n+      <nameField/>\n+      <validationScript/>\n+      <cache>\n+        <cache>0</cache>\n+        <disabled>0</disabled>\n+        <displayType>select</displayType>\n+        <multiSelect>0</multiSelect>\n+        <name>cache</name>\n+        <number>5</number>\n+        <prettyName>Caching policy</prettyName>\n+        <relationalStorage>0</relationalStorage>\n+        <separator> </separator>\n+        <separators>|, </separators>\n+        <size>1</size>\n+        <unmodifiable>0</unmodifiable>\n+        <values>long|short|default|forbid</values>\n+        <classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>\n+      </cache>\n+      <code>\n+        <disabled>0</disabled>\n+        <name>code</name>\n+        <number>2</number>\n+        <prettyName>Code</prettyName>\n+        <rows>20</rows>\n+        <size>50</size>\n+        <unmodifiable>0</unmodifiable>\n+        <classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>\n+      </code>\n+      <name>\n+        <disabled>0</disabled>\n+        <name>name</name>\n+        <number>1</number>\n+        <prettyName>Name</prettyName>\n+        <size>30</size>\n+        <unmodifiable>0</unmodifiable>\n+        <classType>com.xpn.xwiki.objects.classes.StringClass</classType>\n+      </name>\n+      <parse>\n+        <disabled>0</disabled>\n+        <displayFormType>select</displayFormType>\n+        <displayType>yesno</displayType>\n+        <name>parse</name>\n+        <number>4</number>\n+        <prettyName>Parse content</prettyName>\n+        <unmodifiable>0</unmodifiable>\n+        <classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>\n+      </parse>\n+      <use>\n+        <cache>0</cache>\n+        <disabled>0</disabled>\n+        <displayType>select</displayType>\n+        <multiSelect>0</multiSelect>\n+        <name>use</name>\n+        <number>3</number>\n+        <prettyName>Use this extension</prettyName>\n+        <relationalStorage>0</relationalStorage>\n+        <separator> </separator>\n+        <separators>|, </separators>\n+        <size>1</size>\n+        <unmodifiable>0</unmodifiable>\n+        <values>currentPage|onDemand|always</values>\n+        <classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>\n+      </use>\n+    </class>\n+    <property>\n+      <cache>default</cache>\n+    </property>\n+    <property>\n+      <code>(function () {\n+  var init = function() {\n+    var button = $('record-locking-button');\n+    var activeLockingRequest = false; //Prevent multiple requests being active concurrently\n+\n+    button.observe('click', function(event) {\n+      event.stop();\n+      (!activeLockingRequest &amp;&amp; new Ajax.Request(\n+        button.href, {\n+          method: \"POST\",\n+          onCreate: function() {\n+            activeLockingRequest = true;\n+          },\n+          onSuccess: function() {\n+            activeLockingRequest = false;\n+            window.location.reload();\n+          },\n+          onFailure: function() {\n+            activeLockingRequest = false;\n+            new XWiki.widgets.Notification(\"$services.localization.render('phenotips.patientLock.message.error')\", 'error');\n+          }\n+        }));\n+    });\n+  };\n+  (XWiki.domIsLoaded &amp;&amp; init()) || document.observe(\"xwiki:dom:loaded\", init);\n+})();</code>\n+    </property>\n+    <property>\n+      <name/>\n+    </property>\n+    <property>\n+      <parse>1</parse>\n+    </property>\n+    <property>\n+      <use>onDemand</use>\n+    </property>\n+  </object>\n+  <object>\n+    <name>PhenoTips.PatientLock</name>\n+    <number>0</number>\n+    <className>XWiki.StyleSheetExtension</className>\n+    <guid>7346c342-19df-4eaf-bae6-322b191238e1</guid>\n+    <class>\n+      <name>XWiki.StyleSheetExtension</name>\n+      <customClass/>\n+      <customMapping/>\n+      <defaultViewSheet/>\n+      <defaultEditSheet/>\n+      <defaultWeb/>\n+      <nameField/>\n+      <validationScript/>\n+      <cache>\n+        <cache>0</cache>\n+        <disabled>0</disabled>\n+        <displayType>select</displayType>\n+        <multiSelect>0</multiSelect>\n+        <name>cache</name>\n+        <number>5</number>\n+        <prettyName>Caching policy</prettyName>\n+        <relationalStorage>0</relationalStorage>\n+        <separator> </separator>\n+        <separators>|, </separators>\n+        <size>1</size>\n+        <unmodifiable>0</unmodifiable>\n+        <values>long|short|default|forbid</values>\n+        <classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>\n+      </cache>\n+      <code>\n+        <disabled>0</disabled>\n+        <name>code</name>\n+        <number>2</number>\n+        <prettyName>Code</prettyName>\n+        <rows>20</rows>\n+        <size>50</size>\n+        <unmodifiable>0</unmodifiable>\n+        <classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>\n+      </code>\n+      <contentType>\n+        <cache>0</cache>\n+        <disabled>0</disabled>\n+        <displayType>select</displayType>\n+        <multiSelect>0</multiSelect>\n+        <name>contentType</name>\n+        <number>6</number>\n+        <prettyName>Content Type</prettyName>\n+        <relationalStorage>0</relationalStorage>\n+        <separator> </separator>\n+        <separators>|, </separators>\n+        <size>1</size>\n+        <unmodifiable>0</unmodifiable>\n+        <values>CSS|LESS</values>\n+        <classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>\n+      </contentType>\n+      <name>\n+        <disabled>0</disabled>\n+        <name>name</name>\n+        <number>1</number>\n+        <prettyName>Name</prettyName>\n+        <size>30</size>\n+        <unmodifiable>0</unmodifiable>\n+        <classType>com.xpn.xwiki.objects.classes.StringClass</classType>\n+      </name>\n+      <parse>\n+        <disabled>0</disabled>\n+        <displayFormType>select</displayFormType>\n+        <displayType>yesno</displayType>\n+        <name>parse</name>\n+        <number>4</number>\n+        <prettyName>Parse content</prettyName>\n+        <unmodifiable>0</unmodifiable>\n+        <classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>\n+      </parse>\n+      <use>\n+        <cache>0</cache>\n+        <disabled>0</disabled>\n+        <displayType>select</displayType>\n+        <multiSelect>0</multiSelect>\n+        <name>use</name>\n+        <number>3</number>\n+        <prettyName>Use this extension</prettyName>\n+        <relationalStorage>0</relationalStorage>\n+        <separator> </separator>\n+        <separators>|, </separators>\n+        <size>1</size>\n+        <unmodifiable>0</unmodifiable>\n+        <values>currentPage|onDemand|always</values>\n+        <classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>\n+      </use>\n+    </class>\n+    <property>\n+      <cache>default</cache>\n+    </property>\n+    <property>\n+      <code>.locking-container {\n+  float: left;\n+  margin: 1em 0 0 0;\n+}</code>\n+    </property>\n+    <property>\n+      <contentType>CSS</contentType>\n+    </property>\n+    <property>\n+      <name/>\n+    </property>\n+    <property>\n+      <parse/>\n+    </property>\n+    <property>\n+      <use>onDemand</use>\n+    </property>\n+  </object>\n+  <object>\n+    <name>PhenoTips.PatientLock</name>\n+    <number>0</number>\n+    <className>XWiki.UIExtensionClass</className>\n+    <guid>689a074c-69b4-4940-bd6e-c353ec3d8ccc</guid>\n+    <class>\n+      <name>XWiki.UIExtensionClass</name>\n+      <customClass/>\n+      <customMapping/>\n+      <defaultViewSheet/>\n+      <defaultEditSheet/>\n+      <defaultWeb/>\n+      <nameField/>\n+      <validationScript/>\n+      <content>\n+        <disabled>0</disabled>\n+        <name>content</name>\n+        <number>3</number>\n+        <prettyName>Extension Content</prettyName>\n+        <rows>10</rows>\n+        <size>40</size>\n+        <unmodifiable>0</unmodifiable>\n+        <classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>\n+      </content>\n+      <extensionPointId>\n+        <disabled>0</disabled>\n+        <name>extensionPointId</name>\n+        <number>1</number>\n+        <prettyName>Extension Point ID</prettyName>\n+        <size>30</size>\n+        <unmodifiable>0</unmodifiable>\n+        <classType>com.xpn.xwiki.objects.classes.StringClass</classType>\n+      </extensionPointId>\n+      <name>\n+        <disabled>0</disabled>\n+        <name>name</name>\n+        <number>2</number>\n+        <prettyName>Extension ID</prettyName>\n+        <size>30</size>\n+        <unmodifiable>0</unmodifiable>\n+        <classType>com.xpn.xwiki.objects.classes.StringClass</classType>\n+      </name>\n+      <parameters>\n+        <disabled>0</disabled>\n+        <name>parameters</name>\n+        <number>4</number>\n+        <prettyName>Extension Parameters</prettyName>\n+        <rows>10</rows>\n+        <size>40</size>\n+        <unmodifiable>0</unmodifiable>\n+        <classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>\n+      </parameters>\n+      <scope>\n+        <cache>0</cache>\n+        <disabled>0</disabled>\n+        <displayType>select</displayType>\n+        <multiSelect>0</multiSelect>\n+        <name>scope</name>\n+        <number>5</number>\n+        <prettyName>Extension Scope</prettyName>\n+        <relationalStorage>0</relationalStorage>\n+        <separator> </separator>\n+        <separators>|, </separators>\n+        <size>1</size>\n+        <unmodifiable>0</unmodifiable>\n+        <values>wiki=Current Wiki|user=Current User|global=Global</values>\n+        <classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>\n+      </scope>\n+    </class>\n+    <property>\n+      <content>{{velocity}}\n+$xwiki.jsx.use('PhenoTips.PatientLock')##\n+$xwiki.ssx.use('PhenoTips.PatientLock')##\n+#set ($lockDocName = 'PhenoTips.PatientLock')\n+#set ($lockObject = $doc.getObject($lockDocName))\n+#set ($patient = $services.patients.getPatientById($doc.documentReference))\n+#set ($patientAccess = $services.permissions.getPatientAccess($patient))\n+#set ($patientLockingService = $xwiki.getDocument($lockDocName))\n+#set ($lockingServiceRequestParams = \"patientId=\" + $patient.getId())\n+{{html}}\n+##Macro used to create help button.\n+#macro (_createLockButton $link $icon $text)&lt;span class='buttonwrapper'&gt;&lt;a id=\"record-locking-button\" class=\"button\" href=\"${link}\"&gt;&lt;span class = \"fa fa-${icon}\"&gt;&lt;/span&gt; ${text}&lt;/a&gt; &lt;span class=\"fa fa-question-circle xHelpButton\" title=\"$services.localization.render('phenotips.patientLock.action.hint')\"&gt;&lt;/span&gt;&lt;/span&gt;#end\n+&lt;div class=\"locking-container\"&gt;\n+#if (\"$!{lockObject}\" == '')\n+  #if ($patientAccess.hasAccessLevel('manage'))\n+    #set ($lockingServiceRequestParams = $lockingServiceRequestParams + \"&amp;lock=true\")\n+    #_createLockButton(\"$patientLockingService.getURL('view', $lockingServiceRequestParams)\", 'lock', \"$services.localization.render('phenotips.patientLock.action.lock')\")","path":"components/patient-access-rules/ui/src/main/resources/PhenoTips/PatientLock.xml","position":370,"original_position":370,"commit_id":"fe53750085646205a3c964a98d26542dbf9e1641","original_commit_id":"fe53750085646205a3c964a98d26542dbf9e1641","user":{"login":"sdumitriu","id":88663,"avatar_url":"https://avatars.githubusercontent.com/u/88663?v=3","gravatar_id":"","url":"https://api.github.com/users/sdumitriu","html_url":"https://github.com/sdumitriu","followers_url":"https://api.github.com/users/sdumitriu/followers","following_url":"https://api.github.com/users/sdumitriu/following{/other_user}","gists_url":"https://api.github.com/users/sdumitriu/gists{/gist_id}","starred_url":"https://api.github.com/users/sdumitriu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdumitriu/subscriptions","organizations_url":"https://api.github.com/users/sdumitriu/orgs","repos_url":"https://api.github.com/users/sdumitriu/repos","events_url":"https://api.github.com/users/sdumitriu/events{/privacy}","received_events_url":"https://api.github.com/users/sdumitriu/received_events","type":"User","site_admin":false},"body":"If you're in the middle of an edit and click this button, then you'll lose any unsaved changes. Display the whole lock UI only in view mode.","created_at":"2015-06-11T15:03:23Z","updated_at":"2015-06-11T15:03:23Z","html_url":"https://github.com/phenotips/phenotips/pull/1749#discussion_r32230091","pull_request_url":"https://api.github.com/repos/phenotips/phenotips/pulls/1749","_links":{"self":{"href":"https://api.github.com/repos/phenotips/phenotips/pulls/comments/32230091"},"html":{"href":"https://github.com/phenotips/phenotips/pull/1749#discussion_r32230091"},"pull_request":{"href":"https://api.github.com/repos/phenotips/phenotips/pulls/1749"}}},"pull_request":{"url":"https://api.github.com/repos/phenotips/phenotips/pulls/1749","id":37304879,"html_url":"https://github.com/phenotips/phenotips/pull/1749","diff_url":"https://github.com/phenotips/phenotips/pull/1749.diff","patch_url":"https://github.com/phenotips/phenotips/pull/1749.patch","issue_url":"https://api.github.com/repos/phenotips/phenotips/issues/1749","number":1749,"state":"open","locked":false,"title":"Issue #1442: Patient records can now be locked","user":{"login":"mjshepherd","id":9931605,"avatar_url":"https://avatars.githubusercontent.com/u/9931605?v=3","gravatar_id":"","url":"https://api.github.com/users/mjshepherd","html_url":"https://github.com/mjshepherd","followers_url":"https://api.github.com/users/mjshepherd/followers","following_url":"https://api.github.com/users/mjshepherd/following{/other_user}","gists_url":"https://api.github.com/users/mjshepherd/gists{/gist_id}","starred_url":"https://api.github.com/users/mjshepherd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjshepherd/subscriptions","organizations_url":"https://api.github.com/users/mjshepherd/orgs","repos_url":"https://api.github.com/users/mjshepherd/repos","events_url":"https://api.github.com/users/mjshepherd/events{/privacy}","received_events_url":"https://api.github.com/users/mjshepherd/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-09T21:59:30Z","updated_at":"2015-06-11T15:03:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"052958d5d86e7e95af59852bacb7f50e1fb90e26","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phenotips/phenotips/pulls/1749/commits","review_comments_url":"https://api.github.com/repos/phenotips/phenotips/pulls/1749/comments","review_comment_url":"https://api.github.com/repos/phenotips/phenotips/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phenotips/phenotips/issues/1749/comments","statuses_url":"https://api.github.com/repos/phenotips/phenotips/statuses/fe53750085646205a3c964a98d26542dbf9e1641","head":{"label":"mjshepherd:Issue-#1442","ref":"Issue-#1442","sha":"fe53750085646205a3c964a98d26542dbf9e1641","user":{"login":"mjshepherd","id":9931605,"avatar_url":"https://avatars.githubusercontent.com/u/9931605?v=3","gravatar_id":"","url":"https://api.github.com/users/mjshepherd","html_url":"https://github.com/mjshepherd","followers_url":"https://api.github.com/users/mjshepherd/followers","following_url":"https://api.github.com/users/mjshepherd/following{/other_user}","gists_url":"https://api.github.com/users/mjshepherd/gists{/gist_id}","starred_url":"https://api.github.com/users/mjshepherd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjshepherd/subscriptions","organizations_url":"https://api.github.com/users/mjshepherd/orgs","repos_url":"https://api.github.com/users/mjshepherd/repos","events_url":"https://api.github.com/users/mjshepherd/events{/privacy}","received_events_url":"https://api.github.com/users/mjshepherd/received_events","type":"User","site_admin":false},"repo":{"id":35223758,"name":"phenotips","full_name":"mjshepherd/phenotips","owner":{"login":"mjshepherd","id":9931605,"avatar_url":"https://avatars.githubusercontent.com/u/9931605?v=3","gravatar_id":"","url":"https://api.github.com/users/mjshepherd","html_url":"https://github.com/mjshepherd","followers_url":"https://api.github.com/users/mjshepherd/followers","following_url":"https://api.github.com/users/mjshepherd/following{/other_user}","gists_url":"https://api.github.com/users/mjshepherd/gists{/gist_id}","starred_url":"https://api.github.com/users/mjshepherd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjshepherd/subscriptions","organizations_url":"https://api.github.com/users/mjshepherd/orgs","repos_url":"https://api.github.com/users/mjshepherd/repos","events_url":"https://api.github.com/users/mjshepherd/events{/privacy}","received_events_url":"https://api.github.com/users/mjshepherd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mjshepherd/phenotips","description":"PhenoTips provides an easy-to-use Web interface and standardized database back-end for collecting clinical findings observed in patients with possible genetic disorders.","fork":true,"url":"https://api.github.com/repos/mjshepherd/phenotips","forks_url":"https://api.github.com/repos/mjshepherd/phenotips/forks","keys_url":"https://api.github.com/repos/mjshepherd/phenotips/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mjshepherd/phenotips/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mjshepherd/phenotips/teams","hooks_url":"https://api.github.com/repos/mjshepherd/phenotips/hooks","issue_events_url":"https://api.github.com/repos/mjshepherd/phenotips/issues/events{/number}","events_url":"https://api.github.com/repos/mjshepherd/phenotips/events","assignees_url":"https://api.github.com/repos/mjshepherd/phenotips/assignees{/user}","branches_url":"https://api.github.com/repos/mjshepherd/phenotips/branches{/branch}","tags_url":"https://api.github.com/repos/mjshepherd/phenotips/tags","blobs_url":"https://api.github.com/repos/mjshepherd/phenotips/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mjshepherd/phenotips/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mjshepherd/phenotips/git/refs{/sha}","trees_url":"https://api.github.com/repos/mjshepherd/phenotips/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mjshepherd/phenotips/statuses/{sha}","languages_url":"https://api.github.com/repos/mjshepherd/phenotips/languages","stargazers_url":"https://api.github.com/repos/mjshepherd/phenotips/stargazers","contributors_url":"https://api.github.com/repos/mjshepherd/phenotips/contributors","subscribers_url":"https://api.github.com/repos/mjshepherd/phenotips/subscribers","subscription_url":"https://api.github.com/repos/mjshepherd/phenotips/subscription","commits_url":"https://api.github.com/repos/mjshepherd/phenotips/commits{/sha}","git_commits_url":"https://api.github.com/repos/mjshepherd/phenotips/git/commits{/sha}","comments_url":"https://api.github.com/repos/mjshepherd/phenotips/comments{/number}","issue_comment_url":"https://api.github.com/repos/mjshepherd/phenotips/issues/comments{/number}","contents_url":"https://api.github.com/repos/mjshepherd/phenotips/contents/{+path}","compare_url":"https://api.github.com/repos/mjshepherd/phenotips/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mjshepherd/phenotips/merges","archive_url":"https://api.github.com/repos/mjshepherd/phenotips/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mjshepherd/phenotips/downloads","issues_url":"https://api.github.com/repos/mjshepherd/phenotips/issues{/number}","pulls_url":"https://api.github.com/repos/mjshepherd/phenotips/pulls{/number}","milestones_url":"https://api.github.com/repos/mjshepherd/phenotips/milestones{/number}","notifications_url":"https://api.github.com/repos/mjshepherd/phenotips/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mjshepherd/phenotips/labels{/name}","releases_url":"https://api.github.com/repos/mjshepherd/phenotips/releases{/id}","created_at":"2015-05-07T14:10:06Z","updated_at":"2015-05-07T14:10:11Z","pushed_at":"2015-06-10T20:33:40Z","git_url":"git://github.com/mjshepherd/phenotips.git","ssh_url":"git@github.com:mjshepherd/phenotips.git","clone_url":"https://github.com/mjshepherd/phenotips.git","svn_url":"https://github.com/mjshepherd/phenotips","homepage":"http://phenotips.org/","size":367550,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"phenotips:master","ref":"master","sha":"0199f537618a13c4bd1f6d0a6dccc07a3b78cd8b","user":{"login":"phenotips","id":4872353,"avatar_url":"https://avatars.githubusercontent.com/u/4872353?v=3","gravatar_id":"","url":"https://api.github.com/users/phenotips","html_url":"https://github.com/phenotips","followers_url":"https://api.github.com/users/phenotips/followers","following_url":"https://api.github.com/users/phenotips/following{/other_user}","gists_url":"https://api.github.com/users/phenotips/gists{/gist_id}","starred_url":"https://api.github.com/users/phenotips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phenotips/subscriptions","organizations_url":"https://api.github.com/users/phenotips/orgs","repos_url":"https://api.github.com/users/phenotips/repos","events_url":"https://api.github.com/users/phenotips/events{/privacy}","received_events_url":"https://api.github.com/users/phenotips/received_events","type":"Organization","site_admin":false},"repo":{"id":2685841,"name":"phenotips","full_name":"phenotips/phenotips","owner":{"login":"phenotips","id":4872353,"avatar_url":"https://avatars.githubusercontent.com/u/4872353?v=3","gravatar_id":"","url":"https://api.github.com/users/phenotips","html_url":"https://github.com/phenotips","followers_url":"https://api.github.com/users/phenotips/followers","following_url":"https://api.github.com/users/phenotips/following{/other_user}","gists_url":"https://api.github.com/users/phenotips/gists{/gist_id}","starred_url":"https://api.github.com/users/phenotips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phenotips/subscriptions","organizations_url":"https://api.github.com/users/phenotips/orgs","repos_url":"https://api.github.com/users/phenotips/repos","events_url":"https://api.github.com/users/phenotips/events{/privacy}","received_events_url":"https://api.github.com/users/phenotips/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phenotips/phenotips","description":"PhenoTips provides an easy-to-use Web interface and standardized database back-end for collecting clinical findings observed in patients with possible genetic disorders.","fork":false,"url":"https://api.github.com/repos/phenotips/phenotips","forks_url":"https://api.github.com/repos/phenotips/phenotips/forks","keys_url":"https://api.github.com/repos/phenotips/phenotips/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phenotips/phenotips/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phenotips/phenotips/teams","hooks_url":"https://api.github.com/repos/phenotips/phenotips/hooks","issue_events_url":"https://api.github.com/repos/phenotips/phenotips/issues/events{/number}","events_url":"https://api.github.com/repos/phenotips/phenotips/events","assignees_url":"https://api.github.com/repos/phenotips/phenotips/assignees{/user}","branches_url":"https://api.github.com/repos/phenotips/phenotips/branches{/branch}","tags_url":"https://api.github.com/repos/phenotips/phenotips/tags","blobs_url":"https://api.github.com/repos/phenotips/phenotips/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phenotips/phenotips/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phenotips/phenotips/git/refs{/sha}","trees_url":"https://api.github.com/repos/phenotips/phenotips/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phenotips/phenotips/statuses/{sha}","languages_url":"https://api.github.com/repos/phenotips/phenotips/languages","stargazers_url":"https://api.github.com/repos/phenotips/phenotips/stargazers","contributors_url":"https://api.github.com/repos/phenotips/phenotips/contributors","subscribers_url":"https://api.github.com/repos/phenotips/phenotips/subscribers","subscription_url":"https://api.github.com/repos/phenotips/phenotips/subscription","commits_url":"https://api.github.com/repos/phenotips/phenotips/commits{/sha}","git_commits_url":"https://api.github.com/repos/phenotips/phenotips/git/commits{/sha}","comments_url":"https://api.github.com/repos/phenotips/phenotips/comments{/number}","issue_comment_url":"https://api.github.com/repos/phenotips/phenotips/issues/comments{/number}","contents_url":"https://api.github.com/repos/phenotips/phenotips/contents/{+path}","compare_url":"https://api.github.com/repos/phenotips/phenotips/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phenotips/phenotips/merges","archive_url":"https://api.github.com/repos/phenotips/phenotips/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phenotips/phenotips/downloads","issues_url":"https://api.github.com/repos/phenotips/phenotips/issues{/number}","pulls_url":"https://api.github.com/repos/phenotips/phenotips/pulls{/number}","milestones_url":"https://api.github.com/repos/phenotips/phenotips/milestones{/number}","notifications_url":"https://api.github.com/repos/phenotips/phenotips/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phenotips/phenotips/labels{/name}","releases_url":"https://api.github.com/repos/phenotips/phenotips/releases{/id}","created_at":"2011-11-01T05:55:21Z","updated_at":"2015-06-10T08:18:22Z","pushed_at":"2015-06-11T14:44:35Z","git_url":"git://github.com/phenotips/phenotips.git","ssh_url":"git@github.com:phenotips/phenotips.git","clone_url":"https://github.com/phenotips/phenotips.git","svn_url":"https://github.com/phenotips/phenotips","homepage":"http://phenotips.org/","size":431584,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":317,"forks":12,"open_issues":317,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phenotips/phenotips/pulls/1749"},"html":{"href":"https://github.com/phenotips/phenotips/pull/1749"},"issue":{"href":"https://api.github.com/repos/phenotips/phenotips/issues/1749"},"comments":{"href":"https://api.github.com/repos/phenotips/phenotips/issues/1749/comments"},"review_comments":{"href":"https://api.github.com/repos/phenotips/phenotips/pulls/1749/comments"},"review_comment":{"href":"https://api.github.com/repos/phenotips/phenotips/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phenotips/phenotips/pulls/1749/commits"},"statuses":{"href":"https://api.github.com/repos/phenotips/phenotips/statuses/fe53750085646205a3c964a98d26542dbf9e1641"}}}}