{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/41","id":33428546,"html_url":"https://github.com/ResearchKit/ResearchKit/pull/41","diff_url":"https://github.com/ResearchKit/ResearchKit/pull/41.diff","patch_url":"https://github.com/ResearchKit/ResearchKit/pull/41.patch","issue_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/41","number":41,"state":"open","locked":false,"title":"Scale answer support in form items (issue #4)","user":{"login":"brucehappy","id":5296062,"avatar_url":"https://avatars.githubusercontent.com/u/5296062?v=3","gravatar_id":"","url":"https://api.github.com/users/brucehappy","html_url":"https://github.com/brucehappy","followers_url":"https://api.github.com/users/brucehappy/followers","following_url":"https://api.github.com/users/brucehappy/following{/other_user}","gists_url":"https://api.github.com/users/brucehappy/gists{/gist_id}","starred_url":"https://api.github.com/users/brucehappy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brucehappy/subscriptions","organizations_url":"https://api.github.com/users/brucehappy/orgs","repos_url":"https://api.github.com/users/brucehappy/repos","events_url":"https://api.github.com/users/brucehappy/events{/privacy}","received_events_url":"https://api.github.com/users/brucehappy/received_events","type":"User","site_admin":false},"body":"This is a very basic implementation of issue #4.  There is obviously some refactoring that should be considered for Survey and Form table cells as there is much they have in common.  I didn't tackle that, but instead added just the bare necessities for a scale answer as a forum item.  When PR #33 is merged, the height function will need to change in my new scale form cell class, as well as in the survey version to take into account vertical orientations.\r\n\r\nI tested this by modifying the ORKCatalog app to include two new form items in the Form example: an integer and a decimal slider.  I can include the change to the ORKCatalog app in this PR if desired.","created_at":"2015-04-16T08:28:39Z","updated_at":"2015-04-16T08:28:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/41/commits","review_comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/41/comments","review_comment_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/41/comments","statuses_url":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/ac4f40a90294bb184c1116bbefbbc6359701c521","head":{"label":"brucehappy:issue_4","ref":"issue_4","sha":"ac4f40a90294bb184c1116bbefbbc6359701c521","user":{"login":"brucehappy","id":5296062,"avatar_url":"https://avatars.githubusercontent.com/u/5296062?v=3","gravatar_id":"","url":"https://api.github.com/users/brucehappy","html_url":"https://github.com/brucehappy","followers_url":"https://api.github.com/users/brucehappy/followers","following_url":"https://api.github.com/users/brucehappy/following{/other_user}","gists_url":"https://api.github.com/users/brucehappy/gists{/gist_id}","starred_url":"https://api.github.com/users/brucehappy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brucehappy/subscriptions","organizations_url":"https://api.github.com/users/brucehappy/orgs","repos_url":"https://api.github.com/users/brucehappy/repos","events_url":"https://api.github.com/users/brucehappy/events{/privacy}","received_events_url":"https://api.github.com/users/brucehappy/received_events","type":"User","site_admin":false},"repo":{"id":34038076,"name":"ResearchKit","full_name":"brucehappy/ResearchKit","owner":{"login":"brucehappy","id":5296062,"avatar_url":"https://avatars.githubusercontent.com/u/5296062?v=3","gravatar_id":"","url":"https://api.github.com/users/brucehappy","html_url":"https://github.com/brucehappy","followers_url":"https://api.github.com/users/brucehappy/followers","following_url":"https://api.github.com/users/brucehappy/following{/other_user}","gists_url":"https://api.github.com/users/brucehappy/gists{/gist_id}","starred_url":"https://api.github.com/users/brucehappy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brucehappy/subscriptions","organizations_url":"https://api.github.com/users/brucehappy/orgs","repos_url":"https://api.github.com/users/brucehappy/repos","events_url":"https://api.github.com/users/brucehappy/events{/privacy}","received_events_url":"https://api.github.com/users/brucehappy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brucehappy/ResearchKit","description":"ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects.","fork":true,"url":"https://api.github.com/repos/brucehappy/ResearchKit","forks_url":"https://api.github.com/repos/brucehappy/ResearchKit/forks","keys_url":"https://api.github.com/repos/brucehappy/ResearchKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brucehappy/ResearchKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brucehappy/ResearchKit/teams","hooks_url":"https://api.github.com/repos/brucehappy/ResearchKit/hooks","issue_events_url":"https://api.github.com/repos/brucehappy/ResearchKit/issues/events{/number}","events_url":"https://api.github.com/repos/brucehappy/ResearchKit/events","assignees_url":"https://api.github.com/repos/brucehappy/ResearchKit/assignees{/user}","branches_url":"https://api.github.com/repos/brucehappy/ResearchKit/branches{/branch}","tags_url":"https://api.github.com/repos/brucehappy/ResearchKit/tags","blobs_url":"https://api.github.com/repos/brucehappy/ResearchKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brucehappy/ResearchKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brucehappy/ResearchKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/brucehappy/ResearchKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brucehappy/ResearchKit/statuses/{sha}","languages_url":"https://api.github.com/repos/brucehappy/ResearchKit/languages","stargazers_url":"https://api.github.com/repos/brucehappy/ResearchKit/stargazers","contributors_url":"https://api.github.com/repos/brucehappy/ResearchKit/contributors","subscribers_url":"https://api.github.com/repos/brucehappy/ResearchKit/subscribers","subscription_url":"https://api.github.com/repos/brucehappy/ResearchKit/subscription","commits_url":"https://api.github.com/repos/brucehappy/ResearchKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/brucehappy/ResearchKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/brucehappy/ResearchKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/brucehappy/ResearchKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/brucehappy/ResearchKit/contents/{+path}","compare_url":"https://api.github.com/repos/brucehappy/ResearchKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brucehappy/ResearchKit/merges","archive_url":"https://api.github.com/repos/brucehappy/ResearchKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brucehappy/ResearchKit/downloads","issues_url":"https://api.github.com/repos/brucehappy/ResearchKit/issues{/number}","pulls_url":"https://api.github.com/repos/brucehappy/ResearchKit/pulls{/number}","milestones_url":"https://api.github.com/repos/brucehappy/ResearchKit/milestones{/number}","notifications_url":"https://api.github.com/repos/brucehappy/ResearchKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brucehappy/ResearchKit/labels{/name}","releases_url":"https://api.github.com/repos/brucehappy/ResearchKit/releases{/id}","created_at":"2015-04-16T06:21:30Z","updated_at":"2015-04-16T06:21:31Z","pushed_at":"2015-04-16T08:21:59Z","git_url":"git://github.com/brucehappy/ResearchKit.git","ssh_url":"git@github.com:brucehappy/ResearchKit.git","clone_url":"https://github.com/brucehappy/ResearchKit.git","svn_url":"https://github.com/brucehappy/ResearchKit","homepage":"","size":18363,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"ResearchKit:master","ref":"master","sha":"954a2a05a6b31307e650e3a749429d8d95be9916","user":{"login":"ResearchKit","id":11183179,"avatar_url":"https://avatars.githubusercontent.com/u/11183179?v=3","gravatar_id":"","url":"https://api.github.com/users/ResearchKit","html_url":"https://github.com/ResearchKit","followers_url":"https://api.github.com/users/ResearchKit/followers","following_url":"https://api.github.com/users/ResearchKit/following{/other_user}","gists_url":"https://api.github.com/users/ResearchKit/gists{/gist_id}","starred_url":"https://api.github.com/users/ResearchKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ResearchKit/subscriptions","organizations_url":"https://api.github.com/users/ResearchKit/orgs","repos_url":"https://api.github.com/users/ResearchKit/repos","events_url":"https://api.github.com/users/ResearchKit/events{/privacy}","received_events_url":"https://api.github.com/users/ResearchKit/received_events","type":"Organization","site_admin":false},"repo":{"id":31979038,"name":"ResearchKit","full_name":"ResearchKit/ResearchKit","owner":{"login":"ResearchKit","id":11183179,"avatar_url":"https://avatars.githubusercontent.com/u/11183179?v=3","gravatar_id":"","url":"https://api.github.com/users/ResearchKit","html_url":"https://github.com/ResearchKit","followers_url":"https://api.github.com/users/ResearchKit/followers","following_url":"https://api.github.com/users/ResearchKit/following{/other_user}","gists_url":"https://api.github.com/users/ResearchKit/gists{/gist_id}","starred_url":"https://api.github.com/users/ResearchKit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ResearchKit/subscriptions","organizations_url":"https://api.github.com/users/ResearchKit/orgs","repos_url":"https://api.github.com/users/ResearchKit/repos","events_url":"https://api.github.com/users/ResearchKit/events{/privacy}","received_events_url":"https://api.github.com/users/ResearchKit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ResearchKit/ResearchKit","description":"ResearchKit is an open source software framework that makes it easy to create apps for medical research or for other research projects.","fork":false,"url":"https://api.github.com/repos/ResearchKit/ResearchKit","forks_url":"https://api.github.com/repos/ResearchKit/ResearchKit/forks","keys_url":"https://api.github.com/repos/ResearchKit/ResearchKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ResearchKit/ResearchKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ResearchKit/ResearchKit/teams","hooks_url":"https://api.github.com/repos/ResearchKit/ResearchKit/hooks","issue_events_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/events{/number}","events_url":"https://api.github.com/repos/ResearchKit/ResearchKit/events","assignees_url":"https://api.github.com/repos/ResearchKit/ResearchKit/assignees{/user}","branches_url":"https://api.github.com/repos/ResearchKit/ResearchKit/branches{/branch}","tags_url":"https://api.github.com/repos/ResearchKit/ResearchKit/tags","blobs_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/{sha}","languages_url":"https://api.github.com/repos/ResearchKit/ResearchKit/languages","stargazers_url":"https://api.github.com/repos/ResearchKit/ResearchKit/stargazers","contributors_url":"https://api.github.com/repos/ResearchKit/ResearchKit/contributors","subscribers_url":"https://api.github.com/repos/ResearchKit/ResearchKit/subscribers","subscription_url":"https://api.github.com/repos/ResearchKit/ResearchKit/subscription","commits_url":"https://api.github.com/repos/ResearchKit/ResearchKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/ResearchKit/ResearchKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/ResearchKit/ResearchKit/contents/{+path}","compare_url":"https://api.github.com/repos/ResearchKit/ResearchKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ResearchKit/ResearchKit/merges","archive_url":"https://api.github.com/repos/ResearchKit/ResearchKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ResearchKit/ResearchKit/downloads","issues_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues{/number}","pulls_url":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls{/number}","milestones_url":"https://api.github.com/repos/ResearchKit/ResearchKit/milestones{/number}","notifications_url":"https://api.github.com/repos/ResearchKit/ResearchKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ResearchKit/ResearchKit/labels{/name}","releases_url":"https://api.github.com/repos/ResearchKit/ResearchKit/releases{/id}","created_at":"2015-03-10T20:05:32Z","updated_at":"2015-04-16T08:25:50Z","pushed_at":"2015-04-16T07:57:12Z","git_url":"git://github.com/ResearchKit/ResearchKit.git","ssh_url":"git@github.com:ResearchKit/ResearchKit.git","clone_url":"https://github.com/ResearchKit/ResearchKit.git","svn_url":"https://github.com/ResearchKit/ResearchKit","homepage":"","size":18363,"stargazers_count":2296,"watchers_count":2296,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":201,"mirror_url":null,"open_issues_count":23,"forks":201,"open_issues":23,"watchers":2296,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/41"},"html":{"href":"https://github.com/ResearchKit/ResearchKit/pull/41"},"issue":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/41"},"comments":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/ResearchKit/ResearchKit/statuses/ac4f40a90294bb184c1116bbefbbc6359701c521"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":70,"deletions":11,"changed_files":4}}