{"action":"created","comment":{"url":"https://api.github.com/repos/ca-cwds/intake_api/pulls/comments/125701371","pull_request_review_id":48116847,"id":125701371,"diff_hunk":"@@ -13,6 +13,8 @@\n         last_name: 'Smith',\n         name_suffix: 'PhD',\n         gender: 'male',\n+        legacy_friendly_id: '123-456-789',","path":"spec/serializers/participant_serializer_spec.rb","position":4,"original_position":4,"commit_id":"b1a52bd5e48aed956c9ffe56bab64e0694249130","original_commit_id":"b1a52bd5e48aed956c9ffe56bab64e0694249130","user":{"login":"NateOSI","id":22509591,"avatar_url":"https://avatars1.githubusercontent.com/u/22509591?v=3","gravatar_id":"","url":"https://api.github.com/users/NateOSI","html_url":"https://github.com/NateOSI","followers_url":"https://api.github.com/users/NateOSI/followers","following_url":"https://api.github.com/users/NateOSI/following{/other_user}","gists_url":"https://api.github.com/users/NateOSI/gists{/gist_id}","starred_url":"https://api.github.com/users/NateOSI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NateOSI/subscriptions","organizations_url":"https://api.github.com/users/NateOSI/orgs","repos_url":"https://api.github.com/users/NateOSI/repos","events_url":"https://api.github.com/users/NateOSI/events{/privacy}","received_events_url":"https://api.github.com/users/NateOSI/received_events","type":"User","site_admin":false},"body":"I think these legacy fields might need to be removed from the participant model and put in a separate association, like an identities table, especially since addresses and phone numbers could have similar fields","created_at":"2017-07-05T17:02:45Z","updated_at":"2017-07-05T17:04:32Z","html_url":"https://github.com/ca-cwds/intake_api/pull/102#discussion_r125701371","pull_request_url":"https://api.github.com/repos/ca-cwds/intake_api/pulls/102","_links":{"self":{"href":"https://api.github.com/repos/ca-cwds/intake_api/pulls/comments/125701371"},"html":{"href":"https://github.com/ca-cwds/intake_api/pull/102#discussion_r125701371"},"pull_request":{"href":"https://api.github.com/repos/ca-cwds/intake_api/pulls/102"}}},"pull_request":{"url":"https://api.github.com/repos/ca-cwds/intake_api/pulls/102","id":128698400,"html_url":"https://github.com/ca-cwds/intake_api/pull/102","diff_url":"https://github.com/ca-cwds/intake_api/pull/102.diff","patch_url":"https://github.com/ca-cwds/intake_api/pull/102.patch","issue_url":"https://api.github.com/repos/ca-cwds/intake_api/issues/102","number":102,"state":"open","locked":false,"title":"Add friendly legacy fields to participant","user":{"login":"saraOSI","id":26719864,"avatar_url":"https://avatars0.githubusercontent.com/u/26719864?v=3","gravatar_id":"","url":"https://api.github.com/users/saraOSI","html_url":"https://github.com/saraOSI","followers_url":"https://api.github.com/users/saraOSI/followers","following_url":"https://api.github.com/users/saraOSI/following{/other_user}","gists_url":"https://api.github.com/users/saraOSI/gists{/gist_id}","starred_url":"https://api.github.com/users/saraOSI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saraOSI/subscriptions","organizations_url":"https://api.github.com/users/saraOSI/orgs","repos_url":"https://api.github.com/users/saraOSI/repos","events_url":"https://api.github.com/users/saraOSI/events{/privacy}","received_events_url":"https://api.github.com/users/saraOSI/received_events","type":"User","site_admin":false},"body":"[#146901755]","created_at":"2017-07-03T21:53:36Z","updated_at":"2017-07-05T17:04:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b732e360be57902aa3f4e138b704b42486e9597d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ca-cwds/intake_api/pulls/102/commits","review_comments_url":"https://api.github.com/repos/ca-cwds/intake_api/pulls/102/comments","review_comment_url":"https://api.github.com/repos/ca-cwds/intake_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ca-cwds/intake_api/issues/102/comments","statuses_url":"https://api.github.com/repos/ca-cwds/intake_api/statuses/b1a52bd5e48aed956c9ffe56bab64e0694249130","head":{"label":"ca-cwds:in_146901755_add_legacy_fields_to_people_search","ref":"in_146901755_add_legacy_fields_to_people_search","sha":"b1a52bd5e48aed956c9ffe56bab64e0694249130","user":{"login":"ca-cwds","id":16274270,"avatar_url":"https://avatars0.githubusercontent.com/u/16274270?v=3","gravatar_id":"","url":"https://api.github.com/users/ca-cwds","html_url":"https://github.com/ca-cwds","followers_url":"https://api.github.com/users/ca-cwds/followers","following_url":"https://api.github.com/users/ca-cwds/following{/other_user}","gists_url":"https://api.github.com/users/ca-cwds/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-cwds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-cwds/subscriptions","organizations_url":"https://api.github.com/users/ca-cwds/orgs","repos_url":"https://api.github.com/users/ca-cwds/repos","events_url":"https://api.github.com/users/ca-cwds/events{/privacy}","received_events_url":"https://api.github.com/users/ca-cwds/received_events","type":"Organization","site_admin":false},"repo":{"id":70202238,"name":"intake_api","full_name":"ca-cwds/intake_api","owner":{"login":"ca-cwds","id":16274270,"avatar_url":"https://avatars0.githubusercontent.com/u/16274270?v=3","gravatar_id":"","url":"https://api.github.com/users/ca-cwds","html_url":"https://github.com/ca-cwds","followers_url":"https://api.github.com/users/ca-cwds/followers","following_url":"https://api.github.com/users/ca-cwds/following{/other_user}","gists_url":"https://api.github.com/users/ca-cwds/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-cwds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-cwds/subscriptions","organizations_url":"https://api.github.com/users/ca-cwds/orgs","repos_url":"https://api.github.com/users/ca-cwds/repos","events_url":"https://api.github.com/users/ca-cwds/events{/privacy}","received_events_url":"https://api.github.com/users/ca-cwds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ca-cwds/intake_api","description":"Intake API  ","fork":false,"url":"https://api.github.com/repos/ca-cwds/intake_api","forks_url":"https://api.github.com/repos/ca-cwds/intake_api/forks","keys_url":"https://api.github.com/repos/ca-cwds/intake_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ca-cwds/intake_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ca-cwds/intake_api/teams","hooks_url":"https://api.github.com/repos/ca-cwds/intake_api/hooks","issue_events_url":"https://api.github.com/repos/ca-cwds/intake_api/issues/events{/number}","events_url":"https://api.github.com/repos/ca-cwds/intake_api/events","assignees_url":"https://api.github.com/repos/ca-cwds/intake_api/assignees{/user}","branches_url":"https://api.github.com/repos/ca-cwds/intake_api/branches{/branch}","tags_url":"https://api.github.com/repos/ca-cwds/intake_api/tags","blobs_url":"https://api.github.com/repos/ca-cwds/intake_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ca-cwds/intake_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ca-cwds/intake_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/ca-cwds/intake_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ca-cwds/intake_api/statuses/{sha}","languages_url":"https://api.github.com/repos/ca-cwds/intake_api/languages","stargazers_url":"https://api.github.com/repos/ca-cwds/intake_api/stargazers","contributors_url":"https://api.github.com/repos/ca-cwds/intake_api/contributors","subscribers_url":"https://api.github.com/repos/ca-cwds/intake_api/subscribers","subscription_url":"https://api.github.com/repos/ca-cwds/intake_api/subscription","commits_url":"https://api.github.com/repos/ca-cwds/intake_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/ca-cwds/intake_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/ca-cwds/intake_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/ca-cwds/intake_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/ca-cwds/intake_api/contents/{+path}","compare_url":"https://api.github.com/repos/ca-cwds/intake_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ca-cwds/intake_api/merges","archive_url":"https://api.github.com/repos/ca-cwds/intake_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ca-cwds/intake_api/downloads","issues_url":"https://api.github.com/repos/ca-cwds/intake_api/issues{/number}","pulls_url":"https://api.github.com/repos/ca-cwds/intake_api/pulls{/number}","milestones_url":"https://api.github.com/repos/ca-cwds/intake_api/milestones{/number}","notifications_url":"https://api.github.com/repos/ca-cwds/intake_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ca-cwds/intake_api/labels{/name}","releases_url":"https://api.github.com/repos/ca-cwds/intake_api/releases{/id}","deployments_url":"https://api.github.com/repos/ca-cwds/intake_api/deployments","created_at":"2016-10-06T23:58:07Z","updated_at":"2017-05-10T20:49:02Z","pushed_at":"2017-07-05T16:49:31Z","git_url":"git://github.com/ca-cwds/intake_api.git","ssh_url":"git@github.com:ca-cwds/intake_api.git","clone_url":"https://github.com/ca-cwds/intake_api.git","svn_url":"https://github.com/ca-cwds/intake_api","homepage":"","size":627,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"ca-cwds:master","ref":"master","sha":"654ffe136c01dd9a6b6d85c38ba69dbece8be759","user":{"login":"ca-cwds","id":16274270,"avatar_url":"https://avatars0.githubusercontent.com/u/16274270?v=3","gravatar_id":"","url":"https://api.github.com/users/ca-cwds","html_url":"https://github.com/ca-cwds","followers_url":"https://api.github.com/users/ca-cwds/followers","following_url":"https://api.github.com/users/ca-cwds/following{/other_user}","gists_url":"https://api.github.com/users/ca-cwds/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-cwds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-cwds/subscriptions","organizations_url":"https://api.github.com/users/ca-cwds/orgs","repos_url":"https://api.github.com/users/ca-cwds/repos","events_url":"https://api.github.com/users/ca-cwds/events{/privacy}","received_events_url":"https://api.github.com/users/ca-cwds/received_events","type":"Organization","site_admin":false},"repo":{"id":70202238,"name":"intake_api","full_name":"ca-cwds/intake_api","owner":{"login":"ca-cwds","id":16274270,"avatar_url":"https://avatars0.githubusercontent.com/u/16274270?v=3","gravatar_id":"","url":"https://api.github.com/users/ca-cwds","html_url":"https://github.com/ca-cwds","followers_url":"https://api.github.com/users/ca-cwds/followers","following_url":"https://api.github.com/users/ca-cwds/following{/other_user}","gists_url":"https://api.github.com/users/ca-cwds/gists{/gist_id}","starred_url":"https://api.github.com/users/ca-cwds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca-cwds/subscriptions","organizations_url":"https://api.github.com/users/ca-cwds/orgs","repos_url":"https://api.github.com/users/ca-cwds/repos","events_url":"https://api.github.com/users/ca-cwds/events{/privacy}","received_events_url":"https://api.github.com/users/ca-cwds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ca-cwds/intake_api","description":"Intake API  ","fork":false,"url":"https://api.github.com/repos/ca-cwds/intake_api","forks_url":"https://api.github.com/repos/ca-cwds/intake_api/forks","keys_url":"https://api.github.com/repos/ca-cwds/intake_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ca-cwds/intake_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ca-cwds/intake_api/teams","hooks_url":"https://api.github.com/repos/ca-cwds/intake_api/hooks","issue_events_url":"https://api.github.com/repos/ca-cwds/intake_api/issues/events{/number}","events_url":"https://api.github.com/repos/ca-cwds/intake_api/events","assignees_url":"https://api.github.com/repos/ca-cwds/intake_api/assignees{/user}","branches_url":"https://api.github.com/repos/ca-cwds/intake_api/branches{/branch}","tags_url":"https://api.github.com/repos/ca-cwds/intake_api/tags","blobs_url":"https://api.github.com/repos/ca-cwds/intake_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ca-cwds/intake_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ca-cwds/intake_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/ca-cwds/intake_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ca-cwds/intake_api/statuses/{sha}","languages_url":"https://api.github.com/repos/ca-cwds/intake_api/languages","stargazers_url":"https://api.github.com/repos/ca-cwds/intake_api/stargazers","contributors_url":"https://api.github.com/repos/ca-cwds/intake_api/contributors","subscribers_url":"https://api.github.com/repos/ca-cwds/intake_api/subscribers","subscription_url":"https://api.github.com/repos/ca-cwds/intake_api/subscription","commits_url":"https://api.github.com/repos/ca-cwds/intake_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/ca-cwds/intake_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/ca-cwds/intake_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/ca-cwds/intake_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/ca-cwds/intake_api/contents/{+path}","compare_url":"https://api.github.com/repos/ca-cwds/intake_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ca-cwds/intake_api/merges","archive_url":"https://api.github.com/repos/ca-cwds/intake_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ca-cwds/intake_api/downloads","issues_url":"https://api.github.com/repos/ca-cwds/intake_api/issues{/number}","pulls_url":"https://api.github.com/repos/ca-cwds/intake_api/pulls{/number}","milestones_url":"https://api.github.com/repos/ca-cwds/intake_api/milestones{/number}","notifications_url":"https://api.github.com/repos/ca-cwds/intake_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ca-cwds/intake_api/labels{/name}","releases_url":"https://api.github.com/repos/ca-cwds/intake_api/releases{/id}","deployments_url":"https://api.github.com/repos/ca-cwds/intake_api/deployments","created_at":"2016-10-06T23:58:07Z","updated_at":"2017-05-10T20:49:02Z","pushed_at":"2017-07-05T16:49:31Z","git_url":"git://github.com/ca-cwds/intake_api.git","ssh_url":"git@github.com:ca-cwds/intake_api.git","clone_url":"https://github.com/ca-cwds/intake_api.git","svn_url":"https://github.com/ca-cwds/intake_api","homepage":"","size":627,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ca-cwds/intake_api/pulls/102"},"html":{"href":"https://github.com/ca-cwds/intake_api/pull/102"},"issue":{"href":"https://api.github.com/repos/ca-cwds/intake_api/issues/102"},"comments":{"href":"https://api.github.com/repos/ca-cwds/intake_api/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/ca-cwds/intake_api/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/ca-cwds/intake_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ca-cwds/intake_api/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/ca-cwds/intake_api/statuses/b1a52bd5e48aed956c9ffe56bab64e0694249130"}}}}
{"actor":{"display_login":"NateOSI"}}