{"action":"opened","number":101,"pull_request":{"url":"https://api.github.com/repos/synthetichealth/synthea/pulls/101","id":96598718,"html_url":"https://github.com/synthetichealth/synthea/pull/101","diff_url":"https://github.com/synthetichealth/synthea/pull/101.diff","patch_url":"https://github.com/synthetichealth/synthea/pull/101.patch","issue_url":"https://api.github.com/repos/synthetichealth/synthea/issues/101","number":101,"state":"open","locked":false,"title":"Use the New Counter State","user":{"login":"cjduffett","id":5651138,"avatar_url":"https://avatars.githubusercontent.com/u/5651138?v=3","gravatar_id":"","url":"https://api.github.com/users/cjduffett","html_url":"https://github.com/cjduffett","followers_url":"https://api.github.com/users/cjduffett/followers","following_url":"https://api.github.com/users/cjduffett/following{/other_user}","gists_url":"https://api.github.com/users/cjduffett/gists{/gist_id}","starred_url":"https://api.github.com/users/cjduffett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjduffett/subscriptions","organizations_url":"https://api.github.com/users/cjduffett/orgs","repos_url":"https://api.github.com/users/cjduffett/repos","events_url":"https://api.github.com/users/cjduffett/events{/privacy}","received_events_url":"https://api.github.com/users/cjduffett/received_events","type":"User","site_admin":false},"body":"Added `Counter` states to `allergic_rhinitis` and `pregnancy` modules to improve and simplify these modules. Ran a test of 100 patients and checked the log to confirm that things still behaved as expected. Also added 1 extra pass through the pregnancy module to give a slightly higher incidence of pregnancy/birth.\r\n\r\n## In the Allergic Rhinitis Module:\r\n\r\n![ar_counter](https://cloud.githubusercontent.com/assets/5651138/20900213/73b9bd44-bafb-11e6-9ce8-01493605c3d7.png)\r\n\r\n## In the Pregnancy Module:\r\n\r\n![pg_counter](https://cloud.githubusercontent.com/assets/5651138/20900285/a3a2c9d8-bafb-11e6-9992-4480bcb406e3.png)\r\n","created_at":"2016-12-05T20:01:08Z","updated_at":"2016-12-05T20:01:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/synthetichealth/synthea/pulls/101/commits","review_comments_url":"https://api.github.com/repos/synthetichealth/synthea/pulls/101/comments","review_comment_url":"https://api.github.com/repos/synthetichealth/synthea/pulls/comments{/number}","comments_url":"https://api.github.com/repos/synthetichealth/synthea/issues/101/comments","statuses_url":"https://api.github.com/repos/synthetichealth/synthea/statuses/fc4289c51855df7c24e2b64bdeeb156923448855","head":{"label":"synthetichealth:use-the-counter","ref":"use-the-counter","sha":"fc4289c51855df7c24e2b64bdeeb156923448855","user":{"login":"synthetichealth","id":19552017,"avatar_url":"https://avatars.githubusercontent.com/u/19552017?v=3","gravatar_id":"","url":"https://api.github.com/users/synthetichealth","html_url":"https://github.com/synthetichealth","followers_url":"https://api.github.com/users/synthetichealth/followers","following_url":"https://api.github.com/users/synthetichealth/following{/other_user}","gists_url":"https://api.github.com/users/synthetichealth/gists{/gist_id}","starred_url":"https://api.github.com/users/synthetichealth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synthetichealth/subscriptions","organizations_url":"https://api.github.com/users/synthetichealth/orgs","repos_url":"https://api.github.com/users/synthetichealth/repos","events_url":"https://api.github.com/users/synthetichealth/events{/privacy}","received_events_url":"https://api.github.com/users/synthetichealth/received_events","type":"Organization","site_admin":false},"repo":{"id":61399845,"name":"synthea","full_name":"synthetichealth/synthea","owner":{"login":"synthetichealth","id":19552017,"avatar_url":"https://avatars.githubusercontent.com/u/19552017?v=3","gravatar_id":"","url":"https://api.github.com/users/synthetichealth","html_url":"https://github.com/synthetichealth","followers_url":"https://api.github.com/users/synthetichealth/followers","following_url":"https://api.github.com/users/synthetichealth/following{/other_user}","gists_url":"https://api.github.com/users/synthetichealth/gists{/gist_id}","starred_url":"https://api.github.com/users/synthetichealth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synthetichealth/subscriptions","organizations_url":"https://api.github.com/users/synthetichealth/orgs","repos_url":"https://api.github.com/users/synthetichealth/repos","events_url":"https://api.github.com/users/synthetichealth/events{/privacy}","received_events_url":"https://api.github.com/users/synthetichealth/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/synthetichealth/synthea","description":"Synthetic Patient Population Simulator","fork":false,"url":"https://api.github.com/repos/synthetichealth/synthea","forks_url":"https://api.github.com/repos/synthetichealth/synthea/forks","keys_url":"https://api.github.com/repos/synthetichealth/synthea/keys{/key_id}","collaborators_url":"https://api.github.com/repos/synthetichealth/synthea/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/synthetichealth/synthea/teams","hooks_url":"https://api.github.com/repos/synthetichealth/synthea/hooks","issue_events_url":"https://api.github.com/repos/synthetichealth/synthea/issues/events{/number}","events_url":"https://api.github.com/repos/synthetichealth/synthea/events","assignees_url":"https://api.github.com/repos/synthetichealth/synthea/assignees{/user}","branches_url":"https://api.github.com/repos/synthetichealth/synthea/branches{/branch}","tags_url":"https://api.github.com/repos/synthetichealth/synthea/tags","blobs_url":"https://api.github.com/repos/synthetichealth/synthea/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/synthetichealth/synthea/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/synthetichealth/synthea/git/refs{/sha}","trees_url":"https://api.github.com/repos/synthetichealth/synthea/git/trees{/sha}","statuses_url":"https://api.github.com/repos/synthetichealth/synthea/statuses/{sha}","languages_url":"https://api.github.com/repos/synthetichealth/synthea/languages","stargazers_url":"https://api.github.com/repos/synthetichealth/synthea/stargazers","contributors_url":"https://api.github.com/repos/synthetichealth/synthea/contributors","subscribers_url":"https://api.github.com/repos/synthetichealth/synthea/subscribers","subscription_url":"https://api.github.com/repos/synthetichealth/synthea/subscription","commits_url":"https://api.github.com/repos/synthetichealth/synthea/commits{/sha}","git_commits_url":"https://api.github.com/repos/synthetichealth/synthea/git/commits{/sha}","comments_url":"https://api.github.com/repos/synthetichealth/synthea/comments{/number}","issue_comment_url":"https://api.github.com/repos/synthetichealth/synthea/issues/comments{/number}","contents_url":"https://api.github.com/repos/synthetichealth/synthea/contents/{+path}","compare_url":"https://api.github.com/repos/synthetichealth/synthea/compare/{base}...{head}","merges_url":"https://api.github.com/repos/synthetichealth/synthea/merges","archive_url":"https://api.github.com/repos/synthetichealth/synthea/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/synthetichealth/synthea/downloads","issues_url":"https://api.github.com/repos/synthetichealth/synthea/issues{/number}","pulls_url":"https://api.github.com/repos/synthetichealth/synthea/pulls{/number}","milestones_url":"https://api.github.com/repos/synthetichealth/synthea/milestones{/number}","notifications_url":"https://api.github.com/repos/synthetichealth/synthea/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/synthetichealth/synthea/labels{/name}","releases_url":"https://api.github.com/repos/synthetichealth/synthea/releases{/id}","deployments_url":"https://api.github.com/repos/synthetichealth/synthea/deployments","created_at":"2016-06-17T20:15:40Z","updated_at":"2016-11-22T13:44:14Z","pushed_at":"2016-12-05T19:56:32Z","git_url":"git://github.com/synthetichealth/synthea.git","ssh_url":"git@github.com:synthetichealth/synthea.git","clone_url":"https://github.com/synthetichealth/synthea.git","svn_url":"https://github.com/synthetichealth/synthea","homepage":"https://synthetichealth.github.io/synthea","size":35091,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":6,"default_branch":"master"}},"base":{"label":"synthetichealth:master","ref":"master","sha":"461f0085f7f06242dfdfe03e080bb14385bb8093","user":{"login":"synthetichealth","id":19552017,"avatar_url":"https://avatars.githubusercontent.com/u/19552017?v=3","gravatar_id":"","url":"https://api.github.com/users/synthetichealth","html_url":"https://github.com/synthetichealth","followers_url":"https://api.github.com/users/synthetichealth/followers","following_url":"https://api.github.com/users/synthetichealth/following{/other_user}","gists_url":"https://api.github.com/users/synthetichealth/gists{/gist_id}","starred_url":"https://api.github.com/users/synthetichealth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synthetichealth/subscriptions","organizations_url":"https://api.github.com/users/synthetichealth/orgs","repos_url":"https://api.github.com/users/synthetichealth/repos","events_url":"https://api.github.com/users/synthetichealth/events{/privacy}","received_events_url":"https://api.github.com/users/synthetichealth/received_events","type":"Organization","site_admin":false},"repo":{"id":61399845,"name":"synthea","full_name":"synthetichealth/synthea","owner":{"login":"synthetichealth","id":19552017,"avatar_url":"https://avatars.githubusercontent.com/u/19552017?v=3","gravatar_id":"","url":"https://api.github.com/users/synthetichealth","html_url":"https://github.com/synthetichealth","followers_url":"https://api.github.com/users/synthetichealth/followers","following_url":"https://api.github.com/users/synthetichealth/following{/other_user}","gists_url":"https://api.github.com/users/synthetichealth/gists{/gist_id}","starred_url":"https://api.github.com/users/synthetichealth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synthetichealth/subscriptions","organizations_url":"https://api.github.com/users/synthetichealth/orgs","repos_url":"https://api.github.com/users/synthetichealth/repos","events_url":"https://api.github.com/users/synthetichealth/events{/privacy}","received_events_url":"https://api.github.com/users/synthetichealth/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/synthetichealth/synthea","description":"Synthetic Patient Population Simulator","fork":false,"url":"https://api.github.com/repos/synthetichealth/synthea","forks_url":"https://api.github.com/repos/synthetichealth/synthea/forks","keys_url":"https://api.github.com/repos/synthetichealth/synthea/keys{/key_id}","collaborators_url":"https://api.github.com/repos/synthetichealth/synthea/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/synthetichealth/synthea/teams","hooks_url":"https://api.github.com/repos/synthetichealth/synthea/hooks","issue_events_url":"https://api.github.com/repos/synthetichealth/synthea/issues/events{/number}","events_url":"https://api.github.com/repos/synthetichealth/synthea/events","assignees_url":"https://api.github.com/repos/synthetichealth/synthea/assignees{/user}","branches_url":"https://api.github.com/repos/synthetichealth/synthea/branches{/branch}","tags_url":"https://api.github.com/repos/synthetichealth/synthea/tags","blobs_url":"https://api.github.com/repos/synthetichealth/synthea/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/synthetichealth/synthea/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/synthetichealth/synthea/git/refs{/sha}","trees_url":"https://api.github.com/repos/synthetichealth/synthea/git/trees{/sha}","statuses_url":"https://api.github.com/repos/synthetichealth/synthea/statuses/{sha}","languages_url":"https://api.github.com/repos/synthetichealth/synthea/languages","stargazers_url":"https://api.github.com/repos/synthetichealth/synthea/stargazers","contributors_url":"https://api.github.com/repos/synthetichealth/synthea/contributors","subscribers_url":"https://api.github.com/repos/synthetichealth/synthea/subscribers","subscription_url":"https://api.github.com/repos/synthetichealth/synthea/subscription","commits_url":"https://api.github.com/repos/synthetichealth/synthea/commits{/sha}","git_commits_url":"https://api.github.com/repos/synthetichealth/synthea/git/commits{/sha}","comments_url":"https://api.github.com/repos/synthetichealth/synthea/comments{/number}","issue_comment_url":"https://api.github.com/repos/synthetichealth/synthea/issues/comments{/number}","contents_url":"https://api.github.com/repos/synthetichealth/synthea/contents/{+path}","compare_url":"https://api.github.com/repos/synthetichealth/synthea/compare/{base}...{head}","merges_url":"https://api.github.com/repos/synthetichealth/synthea/merges","archive_url":"https://api.github.com/repos/synthetichealth/synthea/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/synthetichealth/synthea/downloads","issues_url":"https://api.github.com/repos/synthetichealth/synthea/issues{/number}","pulls_url":"https://api.github.com/repos/synthetichealth/synthea/pulls{/number}","milestones_url":"https://api.github.com/repos/synthetichealth/synthea/milestones{/number}","notifications_url":"https://api.github.com/repos/synthetichealth/synthea/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/synthetichealth/synthea/labels{/name}","releases_url":"https://api.github.com/repos/synthetichealth/synthea/releases{/id}","deployments_url":"https://api.github.com/repos/synthetichealth/synthea/deployments","created_at":"2016-06-17T20:15:40Z","updated_at":"2016-11-22T13:44:14Z","pushed_at":"2016-12-05T19:56:32Z","git_url":"git://github.com/synthetichealth/synthea.git","ssh_url":"git@github.com:synthetichealth/synthea.git","clone_url":"https://github.com/synthetichealth/synthea.git","svn_url":"https://github.com/synthetichealth/synthea","homepage":"https://synthetichealth.github.io/synthea","size":35091,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/synthetichealth/synthea/pulls/101"},"html":{"href":"https://github.com/synthetichealth/synthea/pull/101"},"issue":{"href":"https://api.github.com/repos/synthetichealth/synthea/issues/101"},"comments":{"href":"https://api.github.com/repos/synthetichealth/synthea/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/synthetichealth/synthea/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/synthetichealth/synthea/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/synthetichealth/synthea/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/synthetichealth/synthea/statuses/fc4289c51855df7c24e2b64bdeeb156923448855"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":69,"deletions":135,"changed_files":2}}
{"actor":{"display_login":"cjduffett"}}