{"action":"closed","number":71,"pull_request":{"url":"https://api.github.com/repos/standardhealth/shr_spec/pulls/71","id":167227705,"html_url":"https://github.com/standardhealth/shr_spec/pull/71","diff_url":"https://github.com/standardhealth/shr_spec/pull/71.diff","patch_url":"https://github.com/standardhealth/shr_spec/pull/71.patch","issue_url":"https://api.github.com/repos/standardhealth/shr_spec/issues/71","number":71,"state":"closed","locked":false,"title":"Flux a spec fixes","user":{"login":"cmoesel","id":2278253,"avatar_url":"https://avatars1.githubusercontent.com/u/2278253?v=4","gravatar_id":"","url":"https://api.github.com/users/cmoesel","html_url":"https://github.com/cmoesel","followers_url":"https://api.github.com/users/cmoesel/followers","following_url":"https://api.github.com/users/cmoesel/following{/other_user}","gists_url":"https://api.github.com/users/cmoesel/gists{/gist_id}","starred_url":"https://api.github.com/users/cmoesel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmoesel/subscriptions","organizations_url":"https://api.github.com/users/cmoesel/orgs","repos_url":"https://api.github.com/users/cmoesel/repos","events_url":"https://api.github.com/users/cmoesel/events{/privacy}","received_events_url":"https://api.github.com/users/cmoesel/received_events","type":"User","site_admin":false},"body":"**NOTE: All PR's into Flux-based branches require sign-off from multiple teams.  Please do not merge until sign-off is confirmed.**\r\n\r\nThis PR contains two fixes, neither of which should be considered risky to Flux:\r\n\r\n**1) Fix invalid constraint path in IntravenousDrugUse**\r\n\r\nThe path `ObservationComponent.RouteIntoBody` is invalid because `RouteIntoBody` is not one of the types included in the `ObservationComponent` includes type constraints.  Changed it to `ObservationComponent.ExposureRoute`.\r\n\r\n**2) Don't put card constraint on Numerator/Denominator Qaunatity/Units in Frequency**\r\n\r\nPreviously, the `Numerator` and `Denominator` constraints were:\r\n```\r\n1..1 Numerator.Quantity with units UCUM#1\r\n1..1 Denominator.Quantity.Units with Coding from http://hl7.org/fhir/ValueSet/units-of-time\r\n```\r\n\r\nThe problem with that representation is that the `1..1` constraint gets applied to the `Quantity` and `Quantity.Units`, which isn't strictly necessary and causes other problems down the road (since `Quantity.Units` does not map cleanly to a single FHIR element).\r\n\r\nRemoving the extra `1..1` constraints on the nested paths fixes the problem.\r\n\r\n**WHITE SPACE NOTE:**  It's best practice not to have trailing whitespace on lines.  My editor trims it by default -- so many of the lines in the diff are whitespace-only changes.","created_at":"2018-02-05T19:03:29Z","updated_at":"2018-02-07T16:37:54Z","closed_at":"2018-02-07T16:37:54Z","merged_at":"2018-02-07T16:37:54Z","merge_commit_sha":"f6ec6f35ca643f475ea9ba2634a44883ab80f2af","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/standardhealth/shr_spec/pulls/71/commits","review_comments_url":"https://api.github.com/repos/standardhealth/shr_spec/pulls/71/comments","review_comment_url":"https://api.github.com/repos/standardhealth/shr_spec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/standardhealth/shr_spec/issues/71/comments","statuses_url":"https://api.github.com/repos/standardhealth/shr_spec/statuses/e1314928f70757a155196d4bc32ec08ab3c95e42","head":{"label":"standardhealth:flux_a_spec_fixes","ref":"flux_a_spec_fixes","sha":"e1314928f70757a155196d4bc32ec08ab3c95e42","user":{"login":"standardhealth","id":19552048,"avatar_url":"https://avatars3.githubusercontent.com/u/19552048?v=4","gravatar_id":"","url":"https://api.github.com/users/standardhealth","html_url":"https://github.com/standardhealth","followers_url":"https://api.github.com/users/standardhealth/followers","following_url":"https://api.github.com/users/standardhealth/following{/other_user}","gists_url":"https://api.github.com/users/standardhealth/gists{/gist_id}","starred_url":"https://api.github.com/users/standardhealth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/standardhealth/subscriptions","organizations_url":"https://api.github.com/users/standardhealth/orgs","repos_url":"https://api.github.com/users/standardhealth/repos","events_url":"https://api.github.com/users/standardhealth/events{/privacy}","received_events_url":"https://api.github.com/users/standardhealth/received_events","type":"Organization","site_admin":false},"repo":{"id":67803605,"name":"shr_spec","full_name":"standardhealth/shr_spec","owner":{"login":"standardhealth","id":19552048,"avatar_url":"https://avatars3.githubusercontent.com/u/19552048?v=4","gravatar_id":"","url":"https://api.github.com/users/standardhealth","html_url":"https://github.com/standardhealth","followers_url":"https://api.github.com/users/standardhealth/followers","following_url":"https://api.github.com/users/standardhealth/following{/other_user}","gists_url":"https://api.github.com/users/standardhealth/gists{/gist_id}","starred_url":"https://api.github.com/users/standardhealth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/standardhealth/subscriptions","organizations_url":"https://api.github.com/users/standardhealth/orgs","repos_url":"https://api.github.com/users/standardhealth/repos","events_url":"https://api.github.com/users/standardhealth/events{/privacy}","received_events_url":"https://api.github.com/users/standardhealth/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/standardhealth/shr_spec","description":null,"fork":false,"url":"https://api.github.com/repos/standardhealth/shr_spec","forks_url":"https://api.github.com/repos/standardhealth/shr_spec/forks","keys_url":"https://api.github.com/repos/standardhealth/shr_spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/standardhealth/shr_spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/standardhealth/shr_spec/teams","hooks_url":"https://api.github.com/repos/standardhealth/shr_spec/hooks","issue_events_url":"https://api.github.com/repos/standardhealth/shr_spec/issues/events{/number}","events_url":"https://api.github.com/repos/standardhealth/shr_spec/events","assignees_url":"https://api.github.com/repos/standardhealth/shr_spec/assignees{/user}","branches_url":"https://api.github.com/repos/standardhealth/shr_spec/branches{/branch}","tags_url":"https://api.github.com/repos/standardhealth/shr_spec/tags","blobs_url":"https://api.github.com/repos/standardhealth/shr_spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/standardhealth/shr_spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/standardhealth/shr_spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/standardhealth/shr_spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/standardhealth/shr_spec/statuses/{sha}","languages_url":"https://api.github.com/repos/standardhealth/shr_spec/languages","stargazers_url":"https://api.github.com/repos/standardhealth/shr_spec/stargazers","contributors_url":"https://api.github.com/repos/standardhealth/shr_spec/contributors","subscribers_url":"https://api.github.com/repos/standardhealth/shr_spec/subscribers","subscription_url":"https://api.github.com/repos/standardhealth/shr_spec/subscription","commits_url":"https://api.github.com/repos/standardhealth/shr_spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/standardhealth/shr_spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/standardhealth/shr_spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/standardhealth/shr_spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/standardhealth/shr_spec/contents/{+path}","compare_url":"https://api.github.com/repos/standardhealth/shr_spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/standardhealth/shr_spec/merges","archive_url":"https://api.github.com/repos/standardhealth/shr_spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/standardhealth/shr_spec/downloads","issues_url":"https://api.github.com/repos/standardhealth/shr_spec/issues{/number}","pulls_url":"https://api.github.com/repos/standardhealth/shr_spec/pulls{/number}","milestones_url":"https://api.github.com/repos/standardhealth/shr_spec/milestones{/number}","notifications_url":"https://api.github.com/repos/standardhealth/shr_spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/standardhealth/shr_spec/labels{/name}","releases_url":"https://api.github.com/repos/standardhealth/shr_spec/releases{/id}","deployments_url":"https://api.github.com/repos/standardhealth/shr_spec/deployments","created_at":"2016-09-09T14:00:13Z","updated_at":"2017-09-21T12:15:59Z","pushed_at":"2018-02-07T16:37:54Z","git_url":"git://github.com/standardhealth/shr_spec.git","ssh_url":"git@github.com:standardhealth/shr_spec.git","clone_url":"https://github.com/standardhealth/shr_spec.git","svn_url":"https://github.com/standardhealth/shr_spec","homepage":"http://standardhealthrecord.org/","size":828,"stargazers_count":6,"watchers_count":6,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":5,"open_issues":14,"watchers":6,"default_branch":"master"}},"base":{"label":"standardhealth:flux_a","ref":"flux_a","sha":"27d5a01176987995bfcb03ed3f8db43c226bd4be","user":{"login":"standardhealth","id":19552048,"avatar_url":"https://avatars3.githubusercontent.com/u/19552048?v=4","gravatar_id":"","url":"https://api.github.com/users/standardhealth","html_url":"https://github.com/standardhealth","followers_url":"https://api.github.com/users/standardhealth/followers","following_url":"https://api.github.com/users/standardhealth/following{/other_user}","gists_url":"https://api.github.com/users/standardhealth/gists{/gist_id}","starred_url":"https://api.github.com/users/standardhealth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/standardhealth/subscriptions","organizations_url":"https://api.github.com/users/standardhealth/orgs","repos_url":"https://api.github.com/users/standardhealth/repos","events_url":"https://api.github.com/users/standardhealth/events{/privacy}","received_events_url":"https://api.github.com/users/standardhealth/received_events","type":"Organization","site_admin":false},"repo":{"id":67803605,"name":"shr_spec","full_name":"standardhealth/shr_spec","owner":{"login":"standardhealth","id":19552048,"avatar_url":"https://avatars3.githubusercontent.com/u/19552048?v=4","gravatar_id":"","url":"https://api.github.com/users/standardhealth","html_url":"https://github.com/standardhealth","followers_url":"https://api.github.com/users/standardhealth/followers","following_url":"https://api.github.com/users/standardhealth/following{/other_user}","gists_url":"https://api.github.com/users/standardhealth/gists{/gist_id}","starred_url":"https://api.github.com/users/standardhealth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/standardhealth/subscriptions","organizations_url":"https://api.github.com/users/standardhealth/orgs","repos_url":"https://api.github.com/users/standardhealth/repos","events_url":"https://api.github.com/users/standardhealth/events{/privacy}","received_events_url":"https://api.github.com/users/standardhealth/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/standardhealth/shr_spec","description":null,"fork":false,"url":"https://api.github.com/repos/standardhealth/shr_spec","forks_url":"https://api.github.com/repos/standardhealth/shr_spec/forks","keys_url":"https://api.github.com/repos/standardhealth/shr_spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/standardhealth/shr_spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/standardhealth/shr_spec/teams","hooks_url":"https://api.github.com/repos/standardhealth/shr_spec/hooks","issue_events_url":"https://api.github.com/repos/standardhealth/shr_spec/issues/events{/number}","events_url":"https://api.github.com/repos/standardhealth/shr_spec/events","assignees_url":"https://api.github.com/repos/standardhealth/shr_spec/assignees{/user}","branches_url":"https://api.github.com/repos/standardhealth/shr_spec/branches{/branch}","tags_url":"https://api.github.com/repos/standardhealth/shr_spec/tags","blobs_url":"https://api.github.com/repos/standardhealth/shr_spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/standardhealth/shr_spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/standardhealth/shr_spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/standardhealth/shr_spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/standardhealth/shr_spec/statuses/{sha}","languages_url":"https://api.github.com/repos/standardhealth/shr_spec/languages","stargazers_url":"https://api.github.com/repos/standardhealth/shr_spec/stargazers","contributors_url":"https://api.github.com/repos/standardhealth/shr_spec/contributors","subscribers_url":"https://api.github.com/repos/standardhealth/shr_spec/subscribers","subscription_url":"https://api.github.com/repos/standardhealth/shr_spec/subscription","commits_url":"https://api.github.com/repos/standardhealth/shr_spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/standardhealth/shr_spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/standardhealth/shr_spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/standardhealth/shr_spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/standardhealth/shr_spec/contents/{+path}","compare_url":"https://api.github.com/repos/standardhealth/shr_spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/standardhealth/shr_spec/merges","archive_url":"https://api.github.com/repos/standardhealth/shr_spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/standardhealth/shr_spec/downloads","issues_url":"https://api.github.com/repos/standardhealth/shr_spec/issues{/number}","pulls_url":"https://api.github.com/repos/standardhealth/shr_spec/pulls{/number}","milestones_url":"https://api.github.com/repos/standardhealth/shr_spec/milestones{/number}","notifications_url":"https://api.github.com/repos/standardhealth/shr_spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/standardhealth/shr_spec/labels{/name}","releases_url":"https://api.github.com/repos/standardhealth/shr_spec/releases{/id}","deployments_url":"https://api.github.com/repos/standardhealth/shr_spec/deployments","created_at":"2016-09-09T14:00:13Z","updated_at":"2017-09-21T12:15:59Z","pushed_at":"2018-02-07T16:37:54Z","git_url":"git://github.com/standardhealth/shr_spec.git","ssh_url":"git@github.com:standardhealth/shr_spec.git","clone_url":"https://github.com/standardhealth/shr_spec.git","svn_url":"https://github.com/standardhealth/shr_spec","homepage":"http://standardhealthrecord.org/","size":828,"stargazers_count":6,"watchers_count":6,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":5,"open_issues":14,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/standardhealth/shr_spec/pulls/71"},"html":{"href":"https://github.com/standardhealth/shr_spec/pull/71"},"issue":{"href":"https://api.github.com/repos/standardhealth/shr_spec/issues/71"},"comments":{"href":"https://api.github.com/repos/standardhealth/shr_spec/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/standardhealth/shr_spec/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/standardhealth/shr_spec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/standardhealth/shr_spec/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/standardhealth/shr_spec/statuses/e1314928f70757a155196d4bc32ec08ab3c95e42"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"cmoesel","id":2278253,"avatar_url":"https://avatars1.githubusercontent.com/u/2278253?v=4","gravatar_id":"","url":"https://api.github.com/users/cmoesel","html_url":"https://github.com/cmoesel","followers_url":"https://api.github.com/users/cmoesel/followers","following_url":"https://api.github.com/users/cmoesel/following{/other_user}","gists_url":"https://api.github.com/users/cmoesel/gists{/gist_id}","starred_url":"https://api.github.com/users/cmoesel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmoesel/subscriptions","organizations_url":"https://api.github.com/users/cmoesel/orgs","repos_url":"https://api.github.com/users/cmoesel/repos","events_url":"https://api.github.com/users/cmoesel/events{/privacy}","received_events_url":"https://api.github.com/users/cmoesel/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":54,"deletions":54,"changed_files":2}}
{"actor":{"display_login":"cmoesel"}}