{"action":"created","comment":{"url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/comments/55592112","id":55592112,"diff_hunk":"@@ -0,0 +1,282 @@\n+---\n+name: MedicationStatement\n+field_name_base_url: http://hl7.org/fhir/2015May/medicationstatement-definitions.html#MedicationStatement\n+fields:\n+- name: resourceType\n+  required: 'Yes'\n+  cardinality: 1..1\n+  type: string\n+  description: The type of the FHIR resource.\n+  example: MedicationStatement\n+  note: resourceType must be MedicationStatement\n+  url: http://hl7.org/fhir/2015May/json.html#resources\n+\n+- name: id\n+  required: 'Yes'\n+  cardinality: 0..1\n+  type: id\n+  description: The logical id of the resource to update.\n+  example: '{\"id\": \"123412\"}'\n+  note: The id value must match the MedicationStatement/&lt;id> value.\n+  url: http://hl7.org/fhir/2015May/resource-definitions.html#Resource.id\n+  action: update\n+\n+- name: contained","path":"lib/resources/may2015/medication_statement.yaml","position":24,"original_position":24,"commit_id":"95633ac02e477521811851ec15f53f8dece444a8","original_commit_id":"95633ac02e477521811851ec15f53f8dece444a8","user":{"login":"jfrhong","id":12260105,"avatar_url":"https://avatars.githubusercontent.com/u/12260105?v=3","gravatar_id":"","url":"https://api.github.com/users/jfrhong","html_url":"https://github.com/jfrhong","followers_url":"https://api.github.com/users/jfrhong/followers","following_url":"https://api.github.com/users/jfrhong/following{/other_user}","gists_url":"https://api.github.com/users/jfrhong/gists{/gist_id}","starred_url":"https://api.github.com/users/jfrhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfrhong/subscriptions","organizations_url":"https://api.github.com/users/jfrhong/orgs","repos_url":"https://api.github.com/users/jfrhong/repos","events_url":"https://api.github.com/users/jfrhong/events{/privacy}","received_events_url":"https://api.github.com/users/jfrhong/received_events","type":"User","site_admin":false},"body":"can limit this to create, since medication isn't required for may 2015","created_at":"2016-03-09T21:25:21Z","updated_at":"2016-03-09T21:25:21Z","html_url":"https://github.com/cerner/fhir.cerner.com/pull/53#discussion_r55592112","pull_request_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/comments/55592112"},"html":{"href":"https://github.com/cerner/fhir.cerner.com/pull/53#discussion_r55592112"},"pull_request":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/53","id":62138847,"html_url":"https://github.com/cerner/fhir.cerner.com/pull/53","diff_url":"https://github.com/cerner/fhir.cerner.com/pull/53.diff","patch_url":"https://github.com/cerner/fhir.cerner.com/pull/53.patch","issue_url":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/53","number":53,"state":"open","locked":false,"title":"Add may2015 documentation for create/update medication statement","user":{"login":"dayouJ","id":4449416,"avatar_url":"https://avatars.githubusercontent.com/u/4449416?v=3","gravatar_id":"","url":"https://api.github.com/users/dayouJ","html_url":"https://github.com/dayouJ","followers_url":"https://api.github.com/users/dayouJ/followers","following_url":"https://api.github.com/users/dayouJ/following{/other_user}","gists_url":"https://api.github.com/users/dayouJ/gists{/gist_id}","starred_url":"https://api.github.com/users/dayouJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dayouJ/subscriptions","organizations_url":"https://api.github.com/users/dayouJ/orgs","repos_url":"https://api.github.com/users/dayouJ/repos","events_url":"https://api.github.com/users/dayouJ/events{/privacy}","received_events_url":"https://api.github.com/users/dayouJ/received_events","type":"User","site_admin":false},"body":"Jira: https://jira2.cerner.com/browse/OPENSVC-1384","created_at":"2016-03-08T21:25:52Z","updated_at":"2016-03-09T21:25:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b424b7c7dc21d7013672684ac06f05d95e0222e9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/53/commits","review_comments_url":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/53/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/53/comments","statuses_url":"https://api.github.com/repos/cerner/fhir.cerner.com/statuses/95633ac02e477521811851ec15f53f8dece444a8","head":{"label":"cerner:medicationStatement_may2013_create_update","ref":"medicationStatement_may2013_create_update","sha":"95633ac02e477521811851ec15f53f8dece444a8","user":{"login":"cerner","id":1873208,"avatar_url":"https://avatars.githubusercontent.com/u/1873208?v=3","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,"name":"fhir.cerner.com","full_name":"cerner/fhir.cerner.com","owner":{"login":"cerner","id":1873208,"avatar_url":"https://avatars.githubusercontent.com/u/1873208?v=3","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},"private":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":"2016-03-07T16:23:06Z","pushed_at":"2016-03-08T21:25:52Z","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":null,"size":828,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":18,"default_branch":"master"}},"base":{"label":"cerner:master","ref":"master","sha":"ef4f5985011e4c32f8bafdfcd627be2302a42311","user":{"login":"cerner","id":1873208,"avatar_url":"https://avatars.githubusercontent.com/u/1873208?v=3","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,"name":"fhir.cerner.com","full_name":"cerner/fhir.cerner.com","owner":{"login":"cerner","id":1873208,"avatar_url":"https://avatars.githubusercontent.com/u/1873208?v=3","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},"private":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":"2016-03-07T16:23:06Z","pushed_at":"2016-03-08T21:25:52Z","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":null,"size":828,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/53"},"html":{"href":"https://github.com/cerner/fhir.cerner.com/pull/53"},"issue":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/53"},"comments":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/pulls/53/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/53/commits"},"statuses":{"href":"https://api.github.com/repos/cerner/fhir.cerner.com/statuses/95633ac02e477521811851ec15f53f8dece444a8"}}}}