{"action":"created","comment":{"url":"https://api.github.com/repos/18F/cms-hitech-apd/pulls/comments/198978939","pull_request_review_id":133012244,"id":198978939,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODk3ODkzOQ==","diff_hunk":"@@ -104,8 +104,6 @@ module.exports = () => ({\n \n     static: {\n       updateableFields: [\n-        'status',\n-        'period',","path":"api/db/apd.js","position":5,"original_position":5,"commit_id":"6d5bd6543803d646644d1458937ba175971ade87","original_commit_id":"72ece16ad9ac5ffd75a4fd6535bb9c5c2dc69df2","user":{"login":"brendansudol","id":1060893,"node_id":"MDQ6VXNlcjEwNjA4OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1060893?v=4","gravatar_id":"","url":"https://api.github.com/users/brendansudol","html_url":"https://github.com/brendansudol","followers_url":"https://api.github.com/users/brendansudol/followers","following_url":"https://api.github.com/users/brendansudol/following{/other_user}","gists_url":"https://api.github.com/users/brendansudol/gists{/gist_id}","starred_url":"https://api.github.com/users/brendansudol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendansudol/subscriptions","organizations_url":"https://api.github.com/users/brendansudol/orgs","repos_url":"https://api.github.com/users/brendansudol/repos","events_url":"https://api.github.com/users/brendansudol/events{/privacy}","received_events_url":"https://api.github.com/users/brendansudol/received_events","type":"User","site_admin":false},"body":"i think period was originally intended to encompass the year range for an APD (i.e., 2018-2020) ","created_at":"2018-06-28T20:42:18Z","updated_at":"2018-06-28T20:42:19Z","html_url":"https://github.com/18F/cms-hitech-apd/pull/725#discussion_r198978939","pull_request_url":"https://api.github.com/repos/18F/cms-hitech-apd/pulls/725","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/18F/cms-hitech-apd/pulls/comments/198978939"},"html":{"href":"https://github.com/18F/cms-hitech-apd/pull/725#discussion_r198978939"},"pull_request":{"href":"https://api.github.com/repos/18F/cms-hitech-apd/pulls/725"}},"in_reply_to_id":198607518},"pull_request":{"url":"https://api.github.com/repos/18F/cms-hitech-apd/pulls/725","id":197823972,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3ODIzOTcy","html_url":"https://github.com/18F/cms-hitech-apd/pull/725","diff_url":"https://github.com/18F/cms-hitech-apd/pull/725.diff","patch_url":"https://github.com/18F/cms-hitech-apd/pull/725.patch","issue_url":"https://api.github.com/repos/18F/cms-hitech-apd/issues/725","number":725,"state":"open","locked":false,"title":"Initiate APD with state profile from state model, update state model when APD is saved with state profile","user":{"login":"mgwalker","id":1775733,"node_id":"MDQ6VXNlcjE3NzU3MzM=","avatar_url":"https://avatars3.githubusercontent.com/u/1775733?v=4","gravatar_id":"","url":"https://api.github.com/users/mgwalker","html_url":"https://github.com/mgwalker","followers_url":"https://api.github.com/users/mgwalker/followers","following_url":"https://api.github.com/users/mgwalker/following{/other_user}","gists_url":"https://api.github.com/users/mgwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/mgwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgwalker/subscriptions","organizations_url":"https://api.github.com/users/mgwalker/orgs","repos_url":"https://api.github.com/users/mgwalker/repos","events_url":"https://api.github.com/users/mgwalker/events{/privacy}","received_events_url":"https://api.github.com/users/mgwalker/received_events","type":"User","site_admin":false},"body":"Modifies the API behavior in two ways:\r\n- when a new APD is created, if the state already has a profile configured, the profile is copied into the APD\r\n- when an APD is saved, if it has state profile information, the state model's profile info is updated with the info from the APD\r\n\r\nCloses #700\r\nCloses #701\r\n\r\n### This pull request changes...\r\n- new APDs will have state profile information, if any is defined\r\n\r\n### This pull request is ready to merge when...\r\n- [x] Tests have been updated (and all tests are passing)\r\n- [ ] This code has been reviewed by someone other than the original author\r\n- [x] The change has been documented\r\n  - [x] Associated OpenAPI documentation has been updated","created_at":"2018-06-27T19:01:24Z","updated_at":"2018-06-28T20:42:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41d0187f11a021675dd67a9b682280a90a8d5ad9","assignee":null,"assignees":[],"requested_reviewers":[{"login":"brendansudol","id":1060893,"node_id":"MDQ6VXNlcjEwNjA4OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1060893?v=4","gravatar_id":"","url":"https://api.github.com/users/brendansudol","html_url":"https://github.com/brendansudol","followers_url":"https://api.github.com/users/brendansudol/followers","following_url":"https://api.github.com/users/brendansudol/following{/other_user}","gists_url":"https://api.github.com/users/brendansudol/gists{/gist_id}","starred_url":"https://api.github.com/users/brendansudol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendansudol/subscriptions","organizations_url":"https://api.github.com/users/brendansudol/orgs","repos_url":"https://api.github.com/users/brendansudol/repos","events_url":"https://api.github.com/users/brendansudol/events{/privacy}","received_events_url":"https://api.github.com/users/brendansudol/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/18F/cms-hitech-apd/pulls/725/commits","review_comments_url":"https://api.github.com/repos/18F/cms-hitech-apd/pulls/725/comments","review_comment_url":"https://api.github.com/repos/18F/cms-hitech-apd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/cms-hitech-apd/issues/725/comments","statuses_url":"https://api.github.com/repos/18F/cms-hitech-apd/statuses/6d5bd6543803d646644d1458937ba175971ade87","head":{"label":"18F:mgwalker/700-derive-and-update-state-profile","ref":"mgwalker/700-derive-and-update-state-profile","sha":"6d5bd6543803d646644d1458937ba175971ade87","user":{"login":"18F","id":6233994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMzM5OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":113234315,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMyMzQzMTU=","name":"cms-hitech-apd","full_name":"18F/cms-hitech-apd","owner":{"login":"18F","id":6233994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMzM5OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/cms-hitech-apd","description":"Centers for Medicare and Medicaid Services (CMS) HITECH funding request app","fork":false,"url":"https://api.github.com/repos/18F/cms-hitech-apd","forks_url":"https://api.github.com/repos/18F/cms-hitech-apd/forks","keys_url":"https://api.github.com/repos/18F/cms-hitech-apd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/cms-hitech-apd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/cms-hitech-apd/teams","hooks_url":"https://api.github.com/repos/18F/cms-hitech-apd/hooks","issue_events_url":"https://api.github.com/repos/18F/cms-hitech-apd/issues/events{/number}","events_url":"https://api.github.com/repos/18F/cms-hitech-apd/events","assignees_url":"https://api.github.com/repos/18F/cms-hitech-apd/assignees{/user}","branches_url":"https://api.github.com/repos/18F/cms-hitech-apd/branches{/branch}","tags_url":"https://api.github.com/repos/18F/cms-hitech-apd/tags","blobs_url":"https://api.github.com/repos/18F/cms-hitech-apd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/cms-hitech-apd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/cms-hitech-apd/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/cms-hitech-apd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/cms-hitech-apd/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/cms-hitech-apd/languages","stargazers_url":"https://api.github.com/repos/18F/cms-hitech-apd/stargazers","contributors_url":"https://api.github.com/repos/18F/cms-hitech-apd/contributors","subscribers_url":"https://api.github.com/repos/18F/cms-hitech-apd/subscribers","subscription_url":"https://api.github.com/repos/18F/cms-hitech-apd/subscription","commits_url":"https://api.github.com/repos/18F/cms-hitech-apd/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/cms-hitech-apd/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/cms-hitech-apd/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/cms-hitech-apd/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/cms-hitech-apd/contents/{+path}","compare_url":"https://api.github.com/repos/18F/cms-hitech-apd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/cms-hitech-apd/merges","archive_url":"https://api.github.com/repos/18F/cms-hitech-apd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/cms-hitech-apd/downloads","issues_url":"https://api.github.com/repos/18F/cms-hitech-apd/issues{/number}","pulls_url":"https://api.github.com/repos/18F/cms-hitech-apd/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/cms-hitech-apd/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/cms-hitech-apd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/cms-hitech-apd/labels{/name}","releases_url":"https://api.github.com/repos/18F/cms-hitech-apd/releases{/id}","deployments_url":"https://api.github.com/repos/18F/cms-hitech-apd/deployments","created_at":"2017-12-05T21:20:35Z","updated_at":"2018-06-28T14:40:52Z","pushed_at":"2018-06-28T20:41:18Z","git_url":"git://github.com/18F/cms-hitech-apd.git","ssh_url":"git@github.com:18F/cms-hitech-apd.git","clone_url":"https://github.com/18F/cms-hitech-apd.git","svn_url":"https://github.com/18F/cms-hitech-apd","homepage":"https://hitech-apd.app.cloud.gov","size":5270,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":62,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3,"open_issues":62,"watchers":8,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"1580acfa2b6f3ceb17845444897f8afdffb919ec","user":{"login":"18F","id":6233994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMzM5OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":113234315,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMyMzQzMTU=","name":"cms-hitech-apd","full_name":"18F/cms-hitech-apd","owner":{"login":"18F","id":6233994,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMzM5OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/cms-hitech-apd","description":"Centers for Medicare and Medicaid Services (CMS) HITECH funding request app","fork":false,"url":"https://api.github.com/repos/18F/cms-hitech-apd","forks_url":"https://api.github.com/repos/18F/cms-hitech-apd/forks","keys_url":"https://api.github.com/repos/18F/cms-hitech-apd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/cms-hitech-apd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/cms-hitech-apd/teams","hooks_url":"https://api.github.com/repos/18F/cms-hitech-apd/hooks","issue_events_url":"https://api.github.com/repos/18F/cms-hitech-apd/issues/events{/number}","events_url":"https://api.github.com/repos/18F/cms-hitech-apd/events","assignees_url":"https://api.github.com/repos/18F/cms-hitech-apd/assignees{/user}","branches_url":"https://api.github.com/repos/18F/cms-hitech-apd/branches{/branch}","tags_url":"https://api.github.com/repos/18F/cms-hitech-apd/tags","blobs_url":"https://api.github.com/repos/18F/cms-hitech-apd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/cms-hitech-apd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/cms-hitech-apd/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/cms-hitech-apd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/cms-hitech-apd/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/cms-hitech-apd/languages","stargazers_url":"https://api.github.com/repos/18F/cms-hitech-apd/stargazers","contributors_url":"https://api.github.com/repos/18F/cms-hitech-apd/contributors","subscribers_url":"https://api.github.com/repos/18F/cms-hitech-apd/subscribers","subscription_url":"https://api.github.com/repos/18F/cms-hitech-apd/subscription","commits_url":"https://api.github.com/repos/18F/cms-hitech-apd/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/cms-hitech-apd/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/cms-hitech-apd/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/cms-hitech-apd/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/cms-hitech-apd/contents/{+path}","compare_url":"https://api.github.com/repos/18F/cms-hitech-apd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/cms-hitech-apd/merges","archive_url":"https://api.github.com/repos/18F/cms-hitech-apd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/cms-hitech-apd/downloads","issues_url":"https://api.github.com/repos/18F/cms-hitech-apd/issues{/number}","pulls_url":"https://api.github.com/repos/18F/cms-hitech-apd/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/cms-hitech-apd/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/cms-hitech-apd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/cms-hitech-apd/labels{/name}","releases_url":"https://api.github.com/repos/18F/cms-hitech-apd/releases{/id}","deployments_url":"https://api.github.com/repos/18F/cms-hitech-apd/deployments","created_at":"2017-12-05T21:20:35Z","updated_at":"2018-06-28T14:40:52Z","pushed_at":"2018-06-28T20:41:18Z","git_url":"git://github.com/18F/cms-hitech-apd.git","ssh_url":"git@github.com:18F/cms-hitech-apd.git","clone_url":"https://github.com/18F/cms-hitech-apd.git","svn_url":"https://github.com/18F/cms-hitech-apd","homepage":"https://hitech-apd.app.cloud.gov","size":5270,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":62,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3,"open_issues":62,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/cms-hitech-apd/pulls/725"},"html":{"href":"https://github.com/18F/cms-hitech-apd/pull/725"},"issue":{"href":"https://api.github.com/repos/18F/cms-hitech-apd/issues/725"},"comments":{"href":"https://api.github.com/repos/18F/cms-hitech-apd/issues/725/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/cms-hitech-apd/pulls/725/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/cms-hitech-apd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/cms-hitech-apd/pulls/725/commits"},"statuses":{"href":"https://api.github.com/repos/18F/cms-hitech-apd/statuses/6d5bd6543803d646644d1458937ba175971ade87"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"brendansudol"}}