{"action":"created","comment":{"url":"https://api.github.com/repos/ca-cwds/case-management/pulls/comments/172980821","pull_request_review_id":102092658,"id":172980821,"diff_hunk":"@@ -112,12 +123,85 @@ export default class ClientInformation extends React.Component {\n       .catch(() => this.setState({ csecResponse: { XHRStatus: 'error' } }));\n   };\n \n+  fetchIndianAncestoryData = () => {\n+    this.setState({ indianAncestory: { XHRStatus: 'waiting' } });\n+    return ChildClientService.indianAncestory()\n+      .then(indianAncestory => {\n+        this.setState({\n+          indianAncestory: {\n+            XHRStatus: 'ready',\n+            records: indianAncestory,\n+          },\n+        });\n+      })\n+      .catch(() => this.setState({ indianAncestory: { XHRStatus: 'error' } }));\n+  };\n+\n+  valueToString(event) {\n+    let codeToString = this.state.selected;\n+    switch (codeToString) {\n+      case 'Y': {\n+        this.setState({\n+          selected: icwaElegible[0],\n+        });\n+        break;\n+      }\n+      case 'N': {\n+        this.setState({\n+          selected: 'No',","path":"app/javascript/Clients/clientIdPage/ClientInformation.js","position":121,"original_position":104,"commit_id":"c162c0cb3ef11dbb057db6fb8a9fa643a88fbbfa","original_commit_id":"a24581234ee0767f3ba2badcee5d4f3d78438b1d","user":{"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},"body":"Because the checkboxradio group is developed to receive array, It works for both but selectedOptions prop for checkboxradio in react-wood-duck is defined as array, so i have used array instead of string directly.","created_at":"2018-03-07T20:52:43Z","updated_at":"2018-03-07T20:52:43Z","html_url":"https://github.com/ca-cwds/case-management/pull/237#discussion_r172980821","pull_request_url":"https://api.github.com/repos/ca-cwds/case-management/pulls/237","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ca-cwds/case-management/pulls/comments/172980821"},"html":{"href":"https://github.com/ca-cwds/case-management/pull/237#discussion_r172980821"},"pull_request":{"href":"https://api.github.com/repos/ca-cwds/case-management/pulls/237"}},"in_reply_to_id":172941166},"pull_request":{"url":"https://api.github.com/repos/ca-cwds/case-management/pulls/237","id":171100702,"html_url":"https://github.com/ca-cwds/case-management/pull/237","diff_url":"https://github.com/ca-cwds/case-management/pull/237.diff","patch_url":"https://github.com/ca-cwds/case-management/pull/237.patch","issue_url":"https://api.github.com/repos/ca-cwds/case-management/issues/237","number":237,"state":"open","locked":false,"title":"Indian Ancestry Notifications in Child Client","user":{"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},"body":"","created_at":"2018-02-23T19:48:25Z","updated_at":"2018-03-07T20:52:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"359ba71bef4c5d5f0228802d8bedf14cdd56e0a3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"edgibbs","id":100718,"avatar_url":"https://avatars3.githubusercontent.com/u/100718?v=4","gravatar_id":"","url":"https://api.github.com/users/edgibbs","html_url":"https://github.com/edgibbs","followers_url":"https://api.github.com/users/edgibbs/followers","following_url":"https://api.github.com/users/edgibbs/following{/other_user}","gists_url":"https://api.github.com/users/edgibbs/gists{/gist_id}","starred_url":"https://api.github.com/users/edgibbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgibbs/subscriptions","organizations_url":"https://api.github.com/users/edgibbs/orgs","repos_url":"https://api.github.com/users/edgibbs/repos","events_url":"https://api.github.com/users/edgibbs/events{/privacy}","received_events_url":"https://api.github.com/users/edgibbs/received_events","type":"User","site_admin":false},{"login":"amanbop","id":6539112,"avatar_url":"https://avatars3.githubusercontent.com/u/6539112?v=4","gravatar_id":"","url":"https://api.github.com/users/amanbop","html_url":"https://github.com/amanbop","followers_url":"https://api.github.com/users/amanbop/followers","following_url":"https://api.github.com/users/amanbop/following{/other_user}","gists_url":"https://api.github.com/users/amanbop/gists{/gist_id}","starred_url":"https://api.github.com/users/amanbop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amanbop/subscriptions","organizations_url":"https://api.github.com/users/amanbop/orgs","repos_url":"https://api.github.com/users/amanbop/repos","events_url":"https://api.github.com/users/amanbop/events{/privacy}","received_events_url":"https://api.github.com/users/amanbop/received_events","type":"User","site_admin":false},{"login":"Sushmareddy-OSI","id":30534122,"avatar_url":"https://avatars0.githubusercontent.com/u/30534122?v=4","gravatar_id":"","url":"https://api.github.com/users/Sushmareddy-OSI","html_url":"https://github.com/Sushmareddy-OSI","followers_url":"https://api.github.com/users/Sushmareddy-OSI/followers","following_url":"https://api.github.com/users/Sushmareddy-OSI/following{/other_user}","gists_url":"https://api.github.com/users/Sushmareddy-OSI/gists{/gist_id}","starred_url":"https://api.github.com/users/Sushmareddy-OSI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sushmareddy-OSI/subscriptions","organizations_url":"https://api.github.com/users/Sushmareddy-OSI/orgs","repos_url":"https://api.github.com/users/Sushmareddy-OSI/repos","events_url":"https://api.github.com/users/Sushmareddy-OSI/events{/privacy}","received_events_url":"https://api.github.com/users/Sushmareddy-OSI/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ca-cwds/case-management/pulls/237/commits","review_comments_url":"https://api.github.com/repos/ca-cwds/case-management/pulls/237/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/237/comments","statuses_url":"https://api.github.com/repos/ca-cwds/case-management/statuses/c162c0cb3ef11dbb057db6fb8a9fa643a88fbbfa","head":{"label":"ca-cwds:indian-ancestory-CASE-1314","ref":"indian-ancestory-CASE-1314","sha":"c162c0cb3ef11dbb057db6fb8a9fa643a88fbbfa","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-03-02T00:34:50Z","pushed_at":"2018-03-07T20:48:27Z","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":3010,"stargazers_count":1,"watchers_count":1,"language":"Ruby","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":"d70c4e7431f91b2f74867a47ed317824d72628ab","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-03-02T00:34:50Z","pushed_at":"2018-03-07T20:48:27Z","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":3010,"stargazers_count":1,"watchers_count":1,"language":"Ruby","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/237"},"html":{"href":"https://github.com/ca-cwds/case-management/pull/237"},"issue":{"href":"https://api.github.com/repos/ca-cwds/case-management/issues/237"},"comments":{"href":"https://api.github.com/repos/ca-cwds/case-management/issues/237/comments"},"review_comments":{"href":"https://api.github.com/repos/ca-cwds/case-management/pulls/237/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/237/commits"},"statuses":{"href":"https://api.github.com/repos/ca-cwds/case-management/statuses/c162c0cb3ef11dbb057db6fb8a9fa643a88fbbfa"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"RamuKammagani-osi"}}