{"action":"created","comment":{"url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/comments/258198673","pull_request_review_id":205413094,"id":258198673,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI1ODE5ODY3Mw==","diff_hunk":"@@ -76,26 +76,27 @@ _Implementation Notes_\n \n  Name         | Required?                              | Type          | Description\n --------------|----------------------------------------|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------\n- `_id`        | This, or one of `patient` or `subject` | [`token`]     | The logical resource id associated with the resource.\n- `date`       | N                                      | [`date`]      | Time period plan covers. Example: `date=ge2016-08` or `date=le2017-01-24T12:00:00.000Z`\n- `patient`    | This, or one of `_id` or `subject`     | [`reference`] | Who care plan is for. Example: `patient=1316024`\n- `subject`    | This, or one of `_id` or `patient`     | [`reference`] | Who care plan is for. Must represent a Patient resource. May use the `:Patient` modifier. Example: `subject=Patient/1316024` or `subject:Patient=1316024`\n- [`_count`]   | N                                      | [`number`]    | Number of results per page.\n- `category`   | N                                      | [`token`]     | The scope of care plan being searched for. Examples: `category=assess-plan`, `category=http://argonaut.hl7.org|careteam`, `category=http://hl7.org/fhir/care-team-category|longitudinal`, or `category=careteam`\n- `context`    | N                                      | [`reference`] | The encounter id of the care plan. Example: `context=1138`\n+ `_id`        | This, or one of `patient` or `subject`                                    | [`token`]     | The logical resource id associated with the resource.\n+ `date`       | N                                                                         | [`date`]      | Time period plan covers. Example: `date=ge2016-08` or `date=le2017-01-24T12:00:00.000Z`\n+ `patient`    | This, or one of `_id` or `subject`, unless category is set to `encounter` | [`reference`] | Who care plan is for. Example: `patient=1316024`\n+ `subject`    | This, or one of `_id` or `patient`, unless category is set to `encounter` | [`reference`] | Who care plan is for. Must represent a Patient resource. May use the `:Patient` modifier. Example: `subject=Patient/1316024` or `subject:Patient=1316024`\n+ [`_count`]   | N                                                                         | [`number`]    | Number of results per page.\n+ `category`   | This if `patient` or `subject` is set                                     | [`token`]     | The scope of care plan being searched for. Examples: `category=assess-plan`, `category=http://argonaut.hl7.org|careteam`, `category=http://hl7.org/fhir/care-team-category|longitudinal`, or `category=careteam`\n+ `context`    | This, if category is set to `encounter`                                   | [`reference`] | The encounter id of the care plan. Example: `context=1138`\n \n \n Notes:\n \n - The `_id` parameter may not be provided at the same time as the `category`, `context`, `date`, `patient`, or `subject` parameters.\n   - When `_id` is provided, `_count` is ignored.\n \n-- The `patient` parameter is preferred when set simultaneously with `subject`.\n+- The `patient` and `subject` parameters may not be provided at the same time.\n \n - The `date` parameter may be provided up to two times, and must use the `ge` or `le` prefixes. When provided twice, the lower value must have the `ge` prefix and the higher value must have the `le` prefix.\n \n - The `category` parameter only supports the codes `careteam`, `assess-plan`, `longitudinal`, and `encounter`. The `careteam` and `assess-plan` codes belong to the [Argonaut system]. `longitudinal` and `encounter` are defined by the [CareTeam category system].\n \n+- The `context` parameter must be set when searching by the `encounter` category. It cannot be set when searching by a category of `careteam`, `assess-plan`, or `longitudinal`.","path":"content/millennium/dstu2/care-provision/care-plan.md","position":32,"original_position":32,"commit_id":"fdce0fa2f22fea54429187eaf18aa25ce940ef74","original_commit_id":"fdce0fa2f22fea54429187eaf18aa25ce940ef74","user":{"login":"beichhor","id":8973530,"node_id":"MDQ6VXNlcjg5NzM1MzA=","avatar_url":"https://avatars3.githubusercontent.com/u/8973530?v=4","gravatar_id":"","url":"https://api.github.com/users/beichhor","html_url":"https://github.com/beichhor","followers_url":"https://api.github.com/users/beichhor/followers","following_url":"https://api.github.com/users/beichhor/following{/other_user}","gists_url":"https://api.github.com/users/beichhor/gists{/gist_id}","starred_url":"https://api.github.com/users/beichhor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beichhor/subscriptions","organizations_url":"https://api.github.com/users/beichhor/orgs","repos_url":"https://api.github.com/users/beichhor/repos","events_url":"https://api.github.com/users/beichhor/events{/privacy}","received_events_url":"https://api.github.com/users/beichhor/received_events","type":"User","site_admin":false},"body":"`context` can be provided with `patient` or `subject`. It cannot be provided with `_id` Saying that it cannot be provided with those would be wrong.","created_at":"2019-02-19T19:40:31Z","updated_at":"2019-02-19T19:40:31Z","html_url":"https://github.com/cerner/fhir.cerner.com/pull/228#discussion_r258198673","pull_request_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/228","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/comments/258198673"},"html":{"href":"https://github.com/cerner/fhir.cerner.com/pull/228#discussion_r258198673"},"pull_request":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/228"}},"in_reply_to_id":258193242},"pull_request":{"url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/228","id":254054861,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU0MDU0ODYx","html_url":"https://github.com/cerner/fhir.cerner.com/pull/228","diff_url":"https://github.com/cerner/fhir.cerner.com/pull/228.diff","patch_url":"https://github.com/cerner/fhir.cerner.com/pull/228.patch","issue_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/228","number":228,"state":"open","locked":false,"title":"Update CarePlan search criteria","user":{"login":"beichhor","id":8973530,"node_id":"MDQ6VXNlcjg5NzM1MzA=","avatar_url":"https://avatars3.githubusercontent.com/u/8973530?v=4","gravatar_id":"","url":"https://api.github.com/users/beichhor","html_url":"https://github.com/beichhor","followers_url":"https://api.github.com/users/beichhor/followers","following_url":"https://api.github.com/users/beichhor/following{/other_user}","gists_url":"https://api.github.com/users/beichhor/gists{/gist_id}","starred_url":"https://api.github.com/users/beichhor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beichhor/subscriptions","organizations_url":"https://api.github.com/users/beichhor/orgs","repos_url":"https://api.github.com/users/beichhor/repos","events_url":"https://api.github.com/users/beichhor/events{/privacy}","received_events_url":"https://api.github.com/users/beichhor/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-02-18T22:01:44Z","updated_at":"2019-02-19T19:40:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"688a2119226cbd488b0d88eb3cf4eb261123ba4a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"JFisk42","id":8594206,"node_id":"MDQ6VXNlcjg1OTQyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/8594206?v=4","gravatar_id":"","url":"https://api.github.com/users/JFisk42","html_url":"https://github.com/JFisk42","followers_url":"https://api.github.com/users/JFisk42/followers","following_url":"https://api.github.com/users/JFisk42/following{/other_user}","gists_url":"https://api.github.com/users/JFisk42/gists{/gist_id}","starred_url":"https://api.github.com/users/JFisk42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JFisk42/subscriptions","organizations_url":"https://api.github.com/users/JFisk42/orgs","repos_url":"https://api.github.com/users/JFisk42/repos","events_url":"https://api.github.com/users/JFisk42/events{/privacy}","received_events_url":"https://api.github.com/users/JFisk42/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/228/commits","review_comments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/228/comments","review_comment_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/228/comments","statuses_url":"https://api.github.com/repos/cerner/fhir.cerner.com/statuses/fdce0fa2f22fea54429187eaf18aa25ce940ef74","head":{"label":"cerner:careplan-search-params","ref":"careplan-search-params","sha":"fdce0fa2f22fea54429187eaf18aa25ce940ef74","user":{"login":"cerner","id":1873208,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NzMyMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1873208?v=4","gravatar_id":"","url":"https://api.github.com/users/cerner","html_url":"https://github.com/cerner","followers_url":"https://api.github.com/users/cerner/followers","following_url":"https://api.github.com/users/cerner/following{/other_user}","gists_url":"https://api.github.com/users/cerner/gists{/gist_id}","starred_url":"https://api.github.com/users/cerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerner/subscriptions","organizations_url":"https://api.github.com/users/cerner/orgs","repos_url":"https://api.github.com/users/cerner/repos","events_url":"https://api.github.com/users/cerner/events{/privacy}","received_events_url":"https://api.github.com/users/cerner/received_events","type":"Organization","site_admin":false},"repo":{"id":33555446,"node_id":"MDEwOlJlcG9zaXRvcnkzMzU1NTQ0Ng==","name":"fhir.cerner.com","full_name":"cerner/fhir.cerner.com","private":false,"owner":{"login":"cerner","id":1873208,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NzMyMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1873208?v=4","gravatar_id":"","url":"https://api.github.com/users/cerner","html_url":"https://github.com/cerner","followers_url":"https://api.github.com/users/cerner/followers","following_url":"https://api.github.com/users/cerner/following{/other_user}","gists_url":"https://api.github.com/users/cerner/gists{/gist_id}","starred_url":"https://api.github.com/users/cerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerner/subscriptions","organizations_url":"https://api.github.com/users/cerner/orgs","repos_url":"https://api.github.com/users/cerner/repos","events_url":"https://api.github.com/users/cerner/events{/privacy}","received_events_url":"https://api.github.com/users/cerner/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cerner/fhir.cerner.com","description":"API developer documentation for Cerner's FHIR services","fork":false,"url":"https://api.github.com/repos/cerner/fhir.cerner.com","forks_url":"https://api.github.com/repos/cerner/fhir.cerner.com/forks","keys_url":"https://api.github.com/repos/cerner/fhir.cerner.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cerner/fhir.cerner.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cerner/fhir.cerner.com/teams","hooks_url":"https://api.github.com/repos/cerner/fhir.cerner.com/hooks","issue_events_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/events{/number}","events_url":"https://api.github.com/repos/cerner/fhir.cerner.com/events","assignees_url":"https://api.github.com/repos/cerner/fhir.cerner.com/assignees{/user}","branches_url":"https://api.github.com/repos/cerner/fhir.cerner.com/branches{/branch}","tags_url":"https://api.github.com/repos/cerner/fhir.cerner.com/tags","blobs_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cerner/fhir.cerner.com/statuses/{sha}","languages_url":"https://api.github.com/repos/cerner/fhir.cerner.com/languages","stargazers_url":"https://api.github.com/repos/cerner/fhir.cerner.com/stargazers","contributors_url":"https://api.github.com/repos/cerner/fhir.cerner.com/contributors","subscribers_url":"https://api.github.com/repos/cerner/fhir.cerner.com/subscribers","subscription_url":"https://api.github.com/repos/cerner/fhir.cerner.com/subscription","commits_url":"https://api.github.com/repos/cerner/fhir.cerner.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/cerner/fhir.cerner.com/contents/{+path}","compare_url":"https://api.github.com/repos/cerner/fhir.cerner.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cerner/fhir.cerner.com/merges","archive_url":"https://api.github.com/repos/cerner/fhir.cerner.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cerner/fhir.cerner.com/downloads","issues_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues{/number}","pulls_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls{/number}","milestones_url":"https://api.github.com/repos/cerner/fhir.cerner.com/milestones{/number}","notifications_url":"https://api.github.com/repos/cerner/fhir.cerner.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cerner/fhir.cerner.com/labels{/name}","releases_url":"https://api.github.com/repos/cerner/fhir.cerner.com/releases{/id}","deployments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/deployments","created_at":"2015-04-07T16:40:08Z","updated_at":"2019-02-14T14:41:37Z","pushed_at":"2019-02-19T17:30:44Z","git_url":"git://github.com/cerner/fhir.cerner.com.git","ssh_url":"git@github.com:cerner/fhir.cerner.com.git","clone_url":"https://github.com/cerner/fhir.cerner.com.git","svn_url":"https://github.com/cerner/fhir.cerner.com","homepage":"https://fhir.cerner.com","size":3272,"stargazers_count":63,"watchers_count":63,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":30,"open_issues":3,"watchers":63,"default_branch":"master"}},"base":{"label":"cerner:master","ref":"master","sha":"87f62fe0afe2f95d546fd3e6575787c47e36ca2a","user":{"login":"cerner","id":1873208,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NzMyMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1873208?v=4","gravatar_id":"","url":"https://api.github.com/users/cerner","html_url":"https://github.com/cerner","followers_url":"https://api.github.com/users/cerner/followers","following_url":"https://api.github.com/users/cerner/following{/other_user}","gists_url":"https://api.github.com/users/cerner/gists{/gist_id}","starred_url":"https://api.github.com/users/cerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerner/subscriptions","organizations_url":"https://api.github.com/users/cerner/orgs","repos_url":"https://api.github.com/users/cerner/repos","events_url":"https://api.github.com/users/cerner/events{/privacy}","received_events_url":"https://api.github.com/users/cerner/received_events","type":"Organization","site_admin":false},"repo":{"id":33555446,"node_id":"MDEwOlJlcG9zaXRvcnkzMzU1NTQ0Ng==","name":"fhir.cerner.com","full_name":"cerner/fhir.cerner.com","private":false,"owner":{"login":"cerner","id":1873208,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4NzMyMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1873208?v=4","gravatar_id":"","url":"https://api.github.com/users/cerner","html_url":"https://github.com/cerner","followers_url":"https://api.github.com/users/cerner/followers","following_url":"https://api.github.com/users/cerner/following{/other_user}","gists_url":"https://api.github.com/users/cerner/gists{/gist_id}","starred_url":"https://api.github.com/users/cerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerner/subscriptions","organizations_url":"https://api.github.com/users/cerner/orgs","repos_url":"https://api.github.com/users/cerner/repos","events_url":"https://api.github.com/users/cerner/events{/privacy}","received_events_url":"https://api.github.com/users/cerner/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cerner/fhir.cerner.com","description":"API developer documentation for Cerner's FHIR services","fork":false,"url":"https://api.github.com/repos/cerner/fhir.cerner.com","forks_url":"https://api.github.com/repos/cerner/fhir.cerner.com/forks","keys_url":"https://api.github.com/repos/cerner/fhir.cerner.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cerner/fhir.cerner.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cerner/fhir.cerner.com/teams","hooks_url":"https://api.github.com/repos/cerner/fhir.cerner.com/hooks","issue_events_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/events{/number}","events_url":"https://api.github.com/repos/cerner/fhir.cerner.com/events","assignees_url":"https://api.github.com/repos/cerner/fhir.cerner.com/assignees{/user}","branches_url":"https://api.github.com/repos/cerner/fhir.cerner.com/branches{/branch}","tags_url":"https://api.github.com/repos/cerner/fhir.cerner.com/tags","blobs_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cerner/fhir.cerner.com/statuses/{sha}","languages_url":"https://api.github.com/repos/cerner/fhir.cerner.com/languages","stargazers_url":"https://api.github.com/repos/cerner/fhir.cerner.com/stargazers","contributors_url":"https://api.github.com/repos/cerner/fhir.cerner.com/contributors","subscribers_url":"https://api.github.com/repos/cerner/fhir.cerner.com/subscribers","subscription_url":"https://api.github.com/repos/cerner/fhir.cerner.com/subscription","commits_url":"https://api.github.com/repos/cerner/fhir.cerner.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/cerner/fhir.cerner.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/cerner/fhir.cerner.com/contents/{+path}","compare_url":"https://api.github.com/repos/cerner/fhir.cerner.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cerner/fhir.cerner.com/merges","archive_url":"https://api.github.com/repos/cerner/fhir.cerner.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cerner/fhir.cerner.com/downloads","issues_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues{/number}","pulls_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls{/number}","milestones_url":"https://api.github.com/repos/cerner/fhir.cerner.com/milestones{/number}","notifications_url":"https://api.github.com/repos/cerner/fhir.cerner.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cerner/fhir.cerner.com/labels{/name}","releases_url":"https://api.github.com/repos/cerner/fhir.cerner.com/releases{/id}","deployments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/deployments","created_at":"2015-04-07T16:40:08Z","updated_at":"2019-02-14T14:41:37Z","pushed_at":"2019-02-19T17:30:44Z","git_url":"git://github.com/cerner/fhir.cerner.com.git","ssh_url":"git@github.com:cerner/fhir.cerner.com.git","clone_url":"https://github.com/cerner/fhir.cerner.com.git","svn_url":"https://github.com/cerner/fhir.cerner.com","homepage":"https://fhir.cerner.com","size":3272,"stargazers_count":63,"watchers_count":63,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":30,"open_issues":3,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/228"},"html":{"href":"https://github.com/cerner/fhir.cerner.com/pull/228"},"issue":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/228"},"comments":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/228/comments"},"review_comments":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/228/comments"},"review_comment":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/228/commits"},"statuses":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/statuses/fdce0fa2f22fea54429187eaf18aa25ce940ef74"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"beichhor"}}