{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/q-centrix/quality-measure-engine/pulls/1","id":54403855,"html_url":"https://github.com/q-centrix/quality-measure-engine/pull/1","diff_url":"https://github.com/q-centrix/quality-measure-engine/pull/1.diff","patch_url":"https://github.com/q-centrix/quality-measure-engine/pull/1.patch","issue_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/issues/1","number":1,"state":"closed","locked":false,"title":"Merge in ProjectCypress fork to fix `Unexpected token ;` error in map reduce fn","user":{"login":"conroywhitney","id":249891,"avatar_url":"https://avatars.githubusercontent.com/u/249891?v=3","gravatar_id":"","url":"https://api.github.com/users/conroywhitney","html_url":"https://github.com/conroywhitney","followers_url":"https://api.github.com/users/conroywhitney/followers","following_url":"https://api.github.com/users/conroywhitney/following{/other_user}","gists_url":"https://api.github.com/users/conroywhitney/gists{/gist_id}","starred_url":"https://api.github.com/users/conroywhitney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conroywhitney/subscriptions","organizations_url":"https://api.github.com/users/conroywhitney/orgs","repos_url":"https://api.github.com/users/conroywhitney/repos","events_url":"https://api.github.com/users/conroywhitney/events{/privacy}","received_events_url":"https://api.github.com/users/conroywhitney/received_events","type":"User","site_admin":false},"body":"This is a pull request from the [`wrapped_mongo_mr_function` branch of Project Cypress' `quality-measure-engine`](https://github.com/projectcypress/quality-measure-engine/tree/wrapped_mongo_mr_function). At the moment, this branch has *not* been merged into Project Cypress' QME `master` branch. We should take that into account to monitor future changesets on that project to make sure that we get the final version of this fix.\r\n\r\nThis pull request includes fixes for the `Unexpected token ;` error we have experienced in the NIH NLM quality measure bundle `map_fn` by wrapping `@measure_def.map_fn` in `function()` if it was improperly defined in the measure bundle.\r\n\r\nBeyond that, it also essentially re-bases our fork on Project Cypress' QME fork `master` branch by including the other change of making a default `short_circuit` value.\r\n\r\nOne thing to note, however, is that in the same changeset that fixes the `map_fn`, it also changes the name of a parameter from `test_id` to `correlation_id` which may or may not have ramifications outside this gem. That said, this variable name change is reflected in updated tests in the same changeset. Perhaps since our application does not use this attribute at the moment, we will not see any side-effects; however, we might want to be prepared to update some of our other gem forks in accordance with this change.","created_at":"2015-12-22T19:09:42Z","updated_at":"2015-12-22T19:38:10Z","closed_at":"2015-12-22T19:38:10Z","merged_at":null,"merge_commit_sha":"b9e4957a7b96050bf4b19d4ec2f72fe604c3a508","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/pulls/1/commits","review_comments_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/pulls/1/comments","review_comment_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/issues/1/comments","statuses_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/statuses/686c9c6648ccd804837a897ce4acf342b5aaf872","head":{"label":"projectcypress:wrapped_mongo_mr_function","ref":"wrapped_mongo_mr_function","sha":"686c9c6648ccd804837a897ce4acf342b5aaf872","user":{"login":"projectcypress","id":1188796,"avatar_url":"https://avatars.githubusercontent.com/u/1188796?v=3","gravatar_id":"","url":"https://api.github.com/users/projectcypress","html_url":"https://github.com/projectcypress","followers_url":"https://api.github.com/users/projectcypress/followers","following_url":"https://api.github.com/users/projectcypress/following{/other_user}","gists_url":"https://api.github.com/users/projectcypress/gists{/gist_id}","starred_url":"https://api.github.com/users/projectcypress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectcypress/subscriptions","organizations_url":"https://api.github.com/users/projectcypress/orgs","repos_url":"https://api.github.com/users/projectcypress/repos","events_url":"https://api.github.com/users/projectcypress/events{/privacy}","received_events_url":"https://api.github.com/users/projectcypress/received_events","type":"Organization","site_admin":false},"repo":{"id":23227212,"name":"quality-measure-engine","full_name":"projectcypress/quality-measure-engine","owner":{"login":"projectcypress","id":1188796,"avatar_url":"https://avatars.githubusercontent.com/u/1188796?v=3","gravatar_id":"","url":"https://api.github.com/users/projectcypress","html_url":"https://github.com/projectcypress","followers_url":"https://api.github.com/users/projectcypress/followers","following_url":"https://api.github.com/users/projectcypress/following{/other_user}","gists_url":"https://api.github.com/users/projectcypress/gists{/gist_id}","starred_url":"https://api.github.com/users/projectcypress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectcypress/subscriptions","organizations_url":"https://api.github.com/users/projectcypress/orgs","repos_url":"https://api.github.com/users/projectcypress/repos","events_url":"https://api.github.com/users/projectcypress/events{/privacy}","received_events_url":"https://api.github.com/users/projectcypress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectcypress/quality-measure-engine","description":"A library for extracting quality measure information from HITSP C32's and ASTM CCR's","fork":true,"url":"https://api.github.com/repos/projectcypress/quality-measure-engine","forks_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/forks","keys_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/teams","hooks_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/hooks","issue_events_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/issues/events{/number}","events_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/events","assignees_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/assignees{/user}","branches_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/branches{/branch}","tags_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/tags","blobs_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/languages","stargazers_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/stargazers","contributors_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/contributors","subscribers_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/subscribers","subscription_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/subscription","commits_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/contents/{+path}","compare_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/merges","archive_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/downloads","issues_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/issues{/number}","pulls_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/labels{/name}","releases_url":"https://api.github.com/repos/projectcypress/quality-measure-engine/releases{/id}","created_at":"2014-08-22T14:02:11Z","updated_at":"2015-03-03T18:30:19Z","pushed_at":"2015-12-17T19:51:27Z","git_url":"git://github.com/projectcypress/quality-measure-engine.git","ssh_url":"git@github.com:projectcypress/quality-measure-engine.git","clone_url":"https://github.com/projectcypress/quality-measure-engine.git","svn_url":"https://github.com/projectcypress/quality-measure-engine","homepage":"http://projectpophealth.org/","size":3108,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"q-centrix:master","ref":"master","sha":"ee6d89e4562edd0bb566285cb09564afe1581072","user":{"login":"q-centrix","id":8404435,"avatar_url":"https://avatars.githubusercontent.com/u/8404435?v=3","gravatar_id":"","url":"https://api.github.com/users/q-centrix","html_url":"https://github.com/q-centrix","followers_url":"https://api.github.com/users/q-centrix/followers","following_url":"https://api.github.com/users/q-centrix/following{/other_user}","gists_url":"https://api.github.com/users/q-centrix/gists{/gist_id}","starred_url":"https://api.github.com/users/q-centrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/q-centrix/subscriptions","organizations_url":"https://api.github.com/users/q-centrix/orgs","repos_url":"https://api.github.com/users/q-centrix/repos","events_url":"https://api.github.com/users/q-centrix/events{/privacy}","received_events_url":"https://api.github.com/users/q-centrix/received_events","type":"Organization","site_admin":false},"repo":{"id":47996372,"name":"quality-measure-engine","full_name":"q-centrix/quality-measure-engine","owner":{"login":"q-centrix","id":8404435,"avatar_url":"https://avatars.githubusercontent.com/u/8404435?v=3","gravatar_id":"","url":"https://api.github.com/users/q-centrix","html_url":"https://github.com/q-centrix","followers_url":"https://api.github.com/users/q-centrix/followers","following_url":"https://api.github.com/users/q-centrix/following{/other_user}","gists_url":"https://api.github.com/users/q-centrix/gists{/gist_id}","starred_url":"https://api.github.com/users/q-centrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/q-centrix/subscriptions","organizations_url":"https://api.github.com/users/q-centrix/orgs","repos_url":"https://api.github.com/users/q-centrix/repos","events_url":"https://api.github.com/users/q-centrix/events{/privacy}","received_events_url":"https://api.github.com/users/q-centrix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/q-centrix/quality-measure-engine","description":"A library for calculating clinical quality measures","fork":true,"url":"https://api.github.com/repos/q-centrix/quality-measure-engine","forks_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/forks","keys_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/teams","hooks_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/hooks","issue_events_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/issues/events{/number}","events_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/events","assignees_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/assignees{/user}","branches_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/branches{/branch}","tags_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/tags","blobs_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/languages","stargazers_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/stargazers","contributors_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/contributors","subscribers_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/subscribers","subscription_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/subscription","commits_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/contents/{+path}","compare_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/merges","archive_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/downloads","issues_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/issues{/number}","pulls_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/labels{/name}","releases_url":"https://api.github.com/repos/q-centrix/quality-measure-engine/releases{/id}","created_at":"2015-12-14T19:25:25Z","updated_at":"2015-12-14T19:25:26Z","pushed_at":"2015-12-22T19:37:18Z","git_url":"git://github.com/q-centrix/quality-measure-engine.git","ssh_url":"git@github.com:q-centrix/quality-measure-engine.git","clone_url":"https://github.com/q-centrix/quality-measure-engine.git","svn_url":"https://github.com/q-centrix/quality-measure-engine","homepage":"http://projectpophealth.org/","size":3105,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/q-centrix/quality-measure-engine/pulls/1"},"html":{"href":"https://github.com/q-centrix/quality-measure-engine/pull/1"},"issue":{"href":"https://api.github.com/repos/q-centrix/quality-measure-engine/issues/1"},"comments":{"href":"https://api.github.com/repos/q-centrix/quality-measure-engine/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/q-centrix/quality-measure-engine/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/q-centrix/quality-measure-engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/q-centrix/quality-measure-engine/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/q-centrix/quality-measure-engine/statuses/686c9c6648ccd804837a897ce4acf342b5aaf872"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":10,"commits":8,"additions":34,"deletions":13,"changed_files":6}}