{"action":"created","comment":{"url":"https://api.github.com/repos/ca-cwds/case-management/pulls/comments/171730601","pull_request_review_id":100636942,"id":171730601,"diff_hunk":"@@ -13,7 +13,7 @@ class Relationship < Dry::Struct\n     attribute :relationship_id, Types::String\n     attribute :client_id, Types::String.optional\n     attribute :related_client_id, Types::String.optional\n-    attribute :relationship_type_code, Types::String.optional\n+    attribute :relationship_type_code, Types::Int.optional","path":"lib/relationships/relationship.rb","position":5,"original_position":5,"commit_id":"e6f54c758da91df1280e2e5570805bd2b03607e7","original_commit_id":"e6f54c758da91df1280e2e5570805bd2b03607e7","user":{"login":"mlipardo","id":30814094,"avatar_url":"https://avatars1.githubusercontent.com/u/30814094?v=4","gravatar_id":"","url":"https://api.github.com/users/mlipardo","html_url":"https://github.com/mlipardo","followers_url":"https://api.github.com/users/mlipardo/followers","following_url":"https://api.github.com/users/mlipardo/following{/other_user}","gists_url":"https://api.github.com/users/mlipardo/gists{/gist_id}","starred_url":"https://api.github.com/users/mlipardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlipardo/subscriptions","organizations_url":"https://api.github.com/users/mlipardo/orgs","repos_url":"https://api.github.com/users/mlipardo/repos","events_url":"https://api.github.com/users/mlipardo/events{/privacy}","received_events_url":"https://api.github.com/users/mlipardo/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2018-03-01T23:51:13Z","updated_at":"2018-03-01T23:51:13Z","html_url":"https://github.com/ca-cwds/case-management/pull/246#discussion_r171730601","pull_request_url":"https://api.github.com/repos/ca-cwds/case-management/pulls/246","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ca-cwds/case-management/pulls/comments/171730601"},"html":{"href":"https://github.com/ca-cwds/case-management/pull/246#discussion_r171730601"},"pull_request":{"href":"https://api.github.com/repos/ca-cwds/case-management/pulls/246"}},"in_reply_to_id":171725463},"pull_request":{"url":"https://api.github.com/repos/ca-cwds/case-management/pulls/246","id":172303864,"html_url":"https://github.com/ca-cwds/case-management/pull/246","diff_url":"https://github.com/ca-cwds/case-management/pull/246.diff","patch_url":"https://github.com/ca-cwds/case-management/pull/246.patch","issue_url":"https://api.github.com/repos/ca-cwds/case-management/issues/246","number":246,"state":"open","locked":false,"title":"Map relationship code  case 1366","user":{"login":"mlipardo","id":30814094,"avatar_url":"https://avatars1.githubusercontent.com/u/30814094?v=4","gravatar_id":"","url":"https://api.github.com/users/mlipardo","html_url":"https://github.com/mlipardo","followers_url":"https://api.github.com/users/mlipardo/followers","following_url":"https://api.github.com/users/mlipardo/following{/other_user}","gists_url":"https://api.github.com/users/mlipardo/gists{/gist_id}","starred_url":"https://api.github.com/users/mlipardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlipardo/subscriptions","organizations_url":"https://api.github.com/users/mlipardo/orgs","repos_url":"https://api.github.com/users/mlipardo/repos","events_url":"https://api.github.com/users/mlipardo/events{/privacy}","received_events_url":"https://api.github.com/users/mlipardo/received_events","type":"User","site_admin":false},"body":"This maps out the client relations type code to the system code so we can have a description of what the relationship between from Child-Client to a Client.\r\n[Map The Relationship System codes CASE-1366](https://osi-cwds.atlassian.net/browse/CASE-1366).","created_at":"2018-03-01T17:34:14Z","updated_at":"2018-03-01T23:51:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db94ed0ac0977137d55fa6a21321e5e09855692a","assignee":{"login":"mlipardo","id":30814094,"avatar_url":"https://avatars1.githubusercontent.com/u/30814094?v=4","gravatar_id":"","url":"https://api.github.com/users/mlipardo","html_url":"https://github.com/mlipardo","followers_url":"https://api.github.com/users/mlipardo/followers","following_url":"https://api.github.com/users/mlipardo/following{/other_user}","gists_url":"https://api.github.com/users/mlipardo/gists{/gist_id}","starred_url":"https://api.github.com/users/mlipardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlipardo/subscriptions","organizations_url":"https://api.github.com/users/mlipardo/orgs","repos_url":"https://api.github.com/users/mlipardo/repos","events_url":"https://api.github.com/users/mlipardo/events{/privacy}","received_events_url":"https://api.github.com/users/mlipardo/received_events","type":"User","site_admin":false},"assignees":[{"login":"mlipardo","id":30814094,"avatar_url":"https://avatars1.githubusercontent.com/u/30814094?v=4","gravatar_id":"","url":"https://api.github.com/users/mlipardo","html_url":"https://github.com/mlipardo","followers_url":"https://api.github.com/users/mlipardo/followers","following_url":"https://api.github.com/users/mlipardo/following{/other_user}","gists_url":"https://api.github.com/users/mlipardo/gists{/gist_id}","starred_url":"https://api.github.com/users/mlipardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlipardo/subscriptions","organizations_url":"https://api.github.com/users/mlipardo/orgs","repos_url":"https://api.github.com/users/mlipardo/repos","events_url":"https://api.github.com/users/mlipardo/events{/privacy}","received_events_url":"https://api.github.com/users/mlipardo/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"RamuKammagani-osi","id":30534124,"avatar_url":"https://avatars0.githubusercontent.com/u/30534124?v=4","gravatar_id":"","url":"https://api.github.com/users/RamuKammagani-osi","html_url":"https://github.com/RamuKammagani-osi","followers_url":"https://api.github.com/users/RamuKammagani-osi/followers","following_url":"https://api.github.com/users/RamuKammagani-osi/following{/other_user}","gists_url":"https://api.github.com/users/RamuKammagani-osi/gists{/gist_id}","starred_url":"https://api.github.com/users/RamuKammagani-osi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RamuKammagani-osi/subscriptions","organizations_url":"https://api.github.com/users/RamuKammagani-osi/orgs","repos_url":"https://api.github.com/users/RamuKammagani-osi/repos","events_url":"https://api.github.com/users/RamuKammagani-osi/events{/privacy}","received_events_url":"https://api.github.com/users/RamuKammagani-osi/received_events","type":"User","site_admin":false},{"login":"karthik-sista","id":30814092,"avatar_url":"https://avatars1.githubusercontent.com/u/30814092?v=4","gravatar_id":"","url":"https://api.github.com/users/karthik-sista","html_url":"https://github.com/karthik-sista","followers_url":"https://api.github.com/users/karthik-sista/followers","following_url":"https://api.github.com/users/karthik-sista/following{/other_user}","gists_url":"https://api.github.com/users/karthik-sista/gists{/gist_id}","starred_url":"https://api.github.com/users/karthik-sista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karthik-sista/subscriptions","organizations_url":"https://api.github.com/users/karthik-sista/orgs","repos_url":"https://api.github.com/users/karthik-sista/repos","events_url":"https://api.github.com/users/karthik-sista/events{/privacy}","received_events_url":"https://api.github.com/users/karthik-sista/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ca-cwds/case-management/pulls/246/commits","review_comments_url":"https://api.github.com/repos/ca-cwds/case-management/pulls/246/comments","review_comment_url":"https://api.github.com/repos/ca-cwds/case-management/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ca-cwds/case-management/issues/246/comments","statuses_url":"https://api.github.com/repos/ca-cwds/case-management/statuses/e6f54c758da91df1280e2e5570805bd2b03607e7","head":{"label":"ca-cwds:map-relationship-code__CASE-1366","ref":"map-relationship-code__CASE-1366","sha":"e6f54c758da91df1280e2e5570805bd2b03607e7","user":{"login":"ca-cwds","id":16274270,"avatar_url":"https://avatars3.githubusercontent.com/u/16274270?v=4","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":98466373,"name":"case-management","full_name":"ca-cwds/case-management","owner":{"login":"ca-cwds","id":16274270,"avatar_url":"https://avatars3.githubusercontent.com/u/16274270?v=4","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/case-management","description":null,"fork":false,"url":"https://api.github.com/repos/ca-cwds/case-management","forks_url":"https://api.github.com/repos/ca-cwds/case-management/forks","keys_url":"https://api.github.com/repos/ca-cwds/case-management/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ca-cwds/case-management/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ca-cwds/case-management/teams","hooks_url":"https://api.github.com/repos/ca-cwds/case-management/hooks","issue_events_url":"https://api.github.com/repos/ca-cwds/case-management/issues/events{/number}","events_url":"https://api.github.com/repos/ca-cwds/case-management/events","assignees_url":"https://api.github.com/repos/ca-cwds/case-management/assignees{/user}","branches_url":"https://api.github.com/repos/ca-cwds/case-management/branches{/branch}","tags_url":"https://api.github.com/repos/ca-cwds/case-management/tags","blobs_url":"https://api.github.com/repos/ca-cwds/case-management/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ca-cwds/case-management/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ca-cwds/case-management/git/refs{/sha}","trees_url":"https://api.github.com/repos/ca-cwds/case-management/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ca-cwds/case-management/statuses/{sha}","languages_url":"https://api.github.com/repos/ca-cwds/case-management/languages","stargazers_url":"https://api.github.com/repos/ca-cwds/case-management/stargazers","contributors_url":"https://api.github.com/repos/ca-cwds/case-management/contributors","subscribers_url":"https://api.github.com/repos/ca-cwds/case-management/subscribers","subscription_url":"https://api.github.com/repos/ca-cwds/case-management/subscription","commits_url":"https://api.github.com/repos/ca-cwds/case-management/commits{/sha}","git_commits_url":"https://api.github.com/repos/ca-cwds/case-management/git/commits{/sha}","comments_url":"https://api.github.com/repos/ca-cwds/case-management/comments{/number}","issue_comment_url":"https://api.github.com/repos/ca-cwds/case-management/issues/comments{/number}","contents_url":"https://api.github.com/repos/ca-cwds/case-management/contents/{+path}","compare_url":"https://api.github.com/repos/ca-cwds/case-management/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ca-cwds/case-management/merges","archive_url":"https://api.github.com/repos/ca-cwds/case-management/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ca-cwds/case-management/downloads","issues_url":"https://api.github.com/repos/ca-cwds/case-management/issues{/number}","pulls_url":"https://api.github.com/repos/ca-cwds/case-management/pulls{/number}","milestones_url":"https://api.github.com/repos/ca-cwds/case-management/milestones{/number}","notifications_url":"https://api.github.com/repos/ca-cwds/case-management/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ca-cwds/case-management/labels{/name}","releases_url":"https://api.github.com/repos/ca-cwds/case-management/releases{/id}","deployments_url":"https://api.github.com/repos/ca-cwds/case-management/deployments","created_at":"2017-07-26T21:14:03Z","updated_at":"2018-02-03T00:55:29Z","pushed_at":"2018-03-01T22:24:02Z","git_url":"git://github.com/ca-cwds/case-management.git","ssh_url":"git@github.com:ca-cwds/case-management.git","clone_url":"https://github.com/ca-cwds/case-management.git","svn_url":"https://github.com/ca-cwds/case-management","homepage":null,"size":2981,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":36,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":9,"open_issues":36,"watchers":1,"default_branch":"master"}},"base":{"label":"ca-cwds:master","ref":"master","sha":"ec46f2973d7eb6f8bd09f78db1e43019b6b49f26","user":{"login":"ca-cwds","id":16274270,"avatar_url":"https://avatars3.githubusercontent.com/u/16274270?v=4","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":98466373,"name":"case-management","full_name":"ca-cwds/case-management","owner":{"login":"ca-cwds","id":16274270,"avatar_url":"https://avatars3.githubusercontent.com/u/16274270?v=4","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/case-management","description":null,"fork":false,"url":"https://api.github.com/repos/ca-cwds/case-management","forks_url":"https://api.github.com/repos/ca-cwds/case-management/forks","keys_url":"https://api.github.com/repos/ca-cwds/case-management/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ca-cwds/case-management/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ca-cwds/case-management/teams","hooks_url":"https://api.github.com/repos/ca-cwds/case-management/hooks","issue_events_url":"https://api.github.com/repos/ca-cwds/case-management/issues/events{/number}","events_url":"https://api.github.com/repos/ca-cwds/case-management/events","assignees_url":"https://api.github.com/repos/ca-cwds/case-management/assignees{/user}","branches_url":"https://api.github.com/repos/ca-cwds/case-management/branches{/branch}","tags_url":"https://api.github.com/repos/ca-cwds/case-management/tags","blobs_url":"https://api.github.com/repos/ca-cwds/case-management/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ca-cwds/case-management/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ca-cwds/case-management/git/refs{/sha}","trees_url":"https://api.github.com/repos/ca-cwds/case-management/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ca-cwds/case-management/statuses/{sha}","languages_url":"https://api.github.com/repos/ca-cwds/case-management/languages","stargazers_url":"https://api.github.com/repos/ca-cwds/case-management/stargazers","contributors_url":"https://api.github.com/repos/ca-cwds/case-management/contributors","subscribers_url":"https://api.github.com/repos/ca-cwds/case-management/subscribers","subscription_url":"https://api.github.com/repos/ca-cwds/case-management/subscription","commits_url":"https://api.github.com/repos/ca-cwds/case-management/commits{/sha}","git_commits_url":"https://api.github.com/repos/ca-cwds/case-management/git/commits{/sha}","comments_url":"https://api.github.com/repos/ca-cwds/case-management/comments{/number}","issue_comment_url":"https://api.github.com/repos/ca-cwds/case-management/issues/comments{/number}","contents_url":"https://api.github.com/repos/ca-cwds/case-management/contents/{+path}","compare_url":"https://api.github.com/repos/ca-cwds/case-management/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ca-cwds/case-management/merges","archive_url":"https://api.github.com/repos/ca-cwds/case-management/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ca-cwds/case-management/downloads","issues_url":"https://api.github.com/repos/ca-cwds/case-management/issues{/number}","pulls_url":"https://api.github.com/repos/ca-cwds/case-management/pulls{/number}","milestones_url":"https://api.github.com/repos/ca-cwds/case-management/milestones{/number}","notifications_url":"https://api.github.com/repos/ca-cwds/case-management/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ca-cwds/case-management/labels{/name}","releases_url":"https://api.github.com/repos/ca-cwds/case-management/releases{/id}","deployments_url":"https://api.github.com/repos/ca-cwds/case-management/deployments","created_at":"2017-07-26T21:14:03Z","updated_at":"2018-02-03T00:55:29Z","pushed_at":"2018-03-01T22:24:02Z","git_url":"git://github.com/ca-cwds/case-management.git","ssh_url":"git@github.com:ca-cwds/case-management.git","clone_url":"https://github.com/ca-cwds/case-management.git","svn_url":"https://github.com/ca-cwds/case-management","homepage":null,"size":2981,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":36,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":9,"open_issues":36,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ca-cwds/case-management/pulls/246"},"html":{"href":"https://github.com/ca-cwds/case-management/pull/246"},"issue":{"href":"https://api.github.com/repos/ca-cwds/case-management/issues/246"},"comments":{"href":"https://api.github.com/repos/ca-cwds/case-management/issues/246/comments"},"review_comments":{"href":"https://api.github.com/repos/ca-cwds/case-management/pulls/246/comments"},"review_comment":{"href":"https://api.github.com/repos/ca-cwds/case-management/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ca-cwds/case-management/pulls/246/commits"},"statuses":{"href":"https://api.github.com/repos/ca-cwds/case-management/statuses/e6f54c758da91df1280e2e5570805bd2b03607e7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mlipardo"}}