{"action":"closed","number":334,"pull_request":{"url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/pulls/334","id":67496397,"html_url":"https://github.com/ppazos/cabolabs-ehrserver/pull/334","diff_url":"https://github.com/ppazos/cabolabs-ehrserver/pull/334.diff","patch_url":"https://github.com/ppazos/cabolabs-ehrserver/pull/334.patch","issue_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/334","number":334,"state":"closed","locked":false,"title":"Added in api createPerson the subjectUid as a return value.","user":{"login":"roliveira29","id":13132742,"avatar_url":"https://avatars.githubusercontent.com/u/13132742?v=3","gravatar_id":"","url":"https://api.github.com/users/roliveira29","html_url":"https://github.com/roliveira29","followers_url":"https://api.github.com/users/roliveira29/followers","following_url":"https://api.github.com/users/roliveira29/following{/other_user}","gists_url":"https://api.github.com/users/roliveira29/gists{/gist_id}","starred_url":"https://api.github.com/users/roliveira29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roliveira29/subscriptions","organizations_url":"https://api.github.com/users/roliveira29/orgs","repos_url":"https://api.github.com/users/roliveira29/repos","events_url":"https://api.github.com/users/roliveira29/events{/privacy}","received_events_url":"https://api.github.com/users/roliveira29/received_events","type":"User","site_admin":false},"body":"Hi there Pablo,\r\n\r\nThe api endpoint createPerson you created works very well.\r\nThanks for the effort!\r\n\r\nI added a minor feature, where it will also return the subjectUid.\r\nI think it is a nice return to have when creating the person. \r\n\r\n","created_at":"2016-04-22T11:20:27Z","updated_at":"2016-04-25T12:10:02Z","closed_at":"2016-04-25T12:10:02Z","merged_at":null,"merge_commit_sha":"3345742b3251e927fdb9116e26dc089825cca0ad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/pulls/334/commits","review_comments_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/pulls/334/comments","review_comment_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/334/comments","statuses_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/statuses/789feafae5bf870f5b4f5c9288b977ed7251f618","head":{"label":"roliveira29:feature/addsubjectidtoapi","ref":"feature/addsubjectidtoapi","sha":"789feafae5bf870f5b4f5c9288b977ed7251f618","user":{"login":"roliveira29","id":13132742,"avatar_url":"https://avatars.githubusercontent.com/u/13132742?v=3","gravatar_id":"","url":"https://api.github.com/users/roliveira29","html_url":"https://github.com/roliveira29","followers_url":"https://api.github.com/users/roliveira29/followers","following_url":"https://api.github.com/users/roliveira29/following{/other_user}","gists_url":"https://api.github.com/users/roliveira29/gists{/gist_id}","starred_url":"https://api.github.com/users/roliveira29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roliveira29/subscriptions","organizations_url":"https://api.github.com/users/roliveira29/orgs","repos_url":"https://api.github.com/users/roliveira29/repos","events_url":"https://api.github.com/users/roliveira29/events{/privacy}","received_events_url":"https://api.github.com/users/roliveira29/received_events","type":"User","site_admin":false},"repo":{"id":56677330,"name":"cabolabs-ehrserver","full_name":"roliveira29/cabolabs-ehrserver","owner":{"login":"roliveira29","id":13132742,"avatar_url":"https://avatars.githubusercontent.com/u/13132742?v=3","gravatar_id":"","url":"https://api.github.com/users/roliveira29","html_url":"https://github.com/roliveira29","followers_url":"https://api.github.com/users/roliveira29/followers","following_url":"https://api.github.com/users/roliveira29/following{/other_user}","gists_url":"https://api.github.com/users/roliveira29/gists{/gist_id}","starred_url":"https://api.github.com/users/roliveira29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roliveira29/subscriptions","organizations_url":"https://api.github.com/users/roliveira29/orgs","repos_url":"https://api.github.com/users/roliveira29/repos","events_url":"https://api.github.com/users/roliveira29/events{/privacy}","received_events_url":"https://api.github.com/users/roliveira29/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/roliveira29/cabolabs-ehrserver","description":"Service-oriented openEHR repository for clinical data with composition commit, query and retrieve capabilities.","fork":true,"url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver","forks_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/forks","keys_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/teams","hooks_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/hooks","issue_events_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/issues/events{/number}","events_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/events","assignees_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/assignees{/user}","branches_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/branches{/branch}","tags_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/tags","blobs_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/statuses/{sha}","languages_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/languages","stargazers_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/stargazers","contributors_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/contributors","subscribers_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/subscribers","subscription_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/subscription","commits_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/contents/{+path}","compare_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/merges","archive_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/downloads","issues_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/issues{/number}","pulls_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/pulls{/number}","milestones_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/milestones{/number}","notifications_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/labels{/name}","releases_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/releases{/id}","deployments_url":"https://api.github.com/repos/roliveira29/cabolabs-ehrserver/deployments","created_at":"2016-04-20T10:19:24Z","updated_at":"2016-04-20T10:19:40Z","pushed_at":"2016-04-25T12:10:02Z","git_url":"git://github.com/roliveira29/cabolabs-ehrserver.git","ssh_url":"git@github.com:roliveira29/cabolabs-ehrserver.git","clone_url":"https://github.com/roliveira29/cabolabs-ehrserver.git","svn_url":"https://github.com/roliveira29/cabolabs-ehrserver","homepage":null,"size":24506,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ppazos:master","ref":"master","sha":"62cd6e4b3355887590c6bb07d07c56666567b72d","user":{"login":"ppazos","id":1278556,"avatar_url":"https://avatars.githubusercontent.com/u/1278556?v=3","gravatar_id":"","url":"https://api.github.com/users/ppazos","html_url":"https://github.com/ppazos","followers_url":"https://api.github.com/users/ppazos/followers","following_url":"https://api.github.com/users/ppazos/following{/other_user}","gists_url":"https://api.github.com/users/ppazos/gists{/gist_id}","starred_url":"https://api.github.com/users/ppazos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppazos/subscriptions","organizations_url":"https://api.github.com/users/ppazos/orgs","repos_url":"https://api.github.com/users/ppazos/repos","events_url":"https://api.github.com/users/ppazos/events{/privacy}","received_events_url":"https://api.github.com/users/ppazos/received_events","type":"User","site_admin":false},"repo":{"id":8709187,"name":"cabolabs-ehrserver","full_name":"ppazos/cabolabs-ehrserver","owner":{"login":"ppazos","id":1278556,"avatar_url":"https://avatars.githubusercontent.com/u/1278556?v=3","gravatar_id":"","url":"https://api.github.com/users/ppazos","html_url":"https://github.com/ppazos","followers_url":"https://api.github.com/users/ppazos/followers","following_url":"https://api.github.com/users/ppazos/following{/other_user}","gists_url":"https://api.github.com/users/ppazos/gists{/gist_id}","starred_url":"https://api.github.com/users/ppazos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppazos/subscriptions","organizations_url":"https://api.github.com/users/ppazos/orgs","repos_url":"https://api.github.com/users/ppazos/repos","events_url":"https://api.github.com/users/ppazos/events{/privacy}","received_events_url":"https://api.github.com/users/ppazos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ppazos/cabolabs-ehrserver","description":"Service-oriented openEHR repository for clinical data with composition commit, query and retrieve capabilities.","fork":false,"url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver","forks_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/forks","keys_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/teams","hooks_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/hooks","issue_events_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/events{/number}","events_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/events","assignees_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/assignees{/user}","branches_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/branches{/branch}","tags_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/tags","blobs_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/statuses/{sha}","languages_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/languages","stargazers_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/stargazers","contributors_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/contributors","subscribers_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/subscribers","subscription_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/subscription","commits_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/contents/{+path}","compare_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/merges","archive_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/downloads","issues_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues{/number}","pulls_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/pulls{/number}","milestones_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/milestones{/number}","notifications_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/labels{/name}","releases_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/releases{/id}","deployments_url":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/deployments","created_at":"2013-03-11T17:36:34Z","updated_at":"2016-04-19T19:34:00Z","pushed_at":"2016-04-22T11:20:28Z","git_url":"git://github.com/ppazos/cabolabs-ehrserver.git","ssh_url":"git@github.com:ppazos/cabolabs-ehrserver.git","clone_url":"https://github.com/ppazos/cabolabs-ehrserver.git","svn_url":"https://github.com/ppazos/cabolabs-ehrserver","homepage":null,"size":27020,"stargazers_count":29,"watchers_count":29,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":79,"forks":25,"open_issues":79,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/pulls/334"},"html":{"href":"https://github.com/ppazos/cabolabs-ehrserver/pull/334"},"issue":{"href":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/334"},"comments":{"href":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/issues/334/comments"},"review_comments":{"href":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/pulls/334/comments"},"review_comment":{"href":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/pulls/334/commits"},"statuses":{"href":"https://api.github.com/repos/ppazos/cabolabs-ehrserver/statuses/789feafae5bf870f5b4f5c9288b977ed7251f618"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}