{"action":"created","comment":{"url":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls/comments/72259015","id":72259015,"diff_hunk":"@@ -0,0 +1,18 @@\n+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<sch:schema\n+    queryBinding=\"xslt2\"\n+    xmlns:sch=\"http://purl.oclc.org/dsdl/schematron\"\n+    xmlns:sdc=\"http://healthIT.gov/sdc\">\n+    \n+    <sch:title>Structured Data Capture (SDC) Schematron schema.</sch:title>\n+    \n+    <sch:ns prefix=\"sdc\" uri=\"http://healthIT.gov/sdc\"/>\n+    \n+    <sch:pattern>\n+        <sch:rule context=\"//sdc:*[not(empty(@instanceGUID)) and not(empty(@parentGUID))]\">\n+            <sch:let name=\"nodeInstanceGuid\" value=\"@instanceGUID\"/>\n+            <sch:let name=\"nodeParentGuid\" value=\"@parentGUID\"/>\n+            <sch:assert test=\"count(//sdc:*[@instanceGUID = $nodeParentGuid]) = 1\">RepeatingType instance (guid=<sch:value-of select=\"$nodeInstanceGuid\"/>) parent (guid=<sch:value-of select=\"$nodeParentGuid\"/>) does not exist.</sch:assert>","path":"schematron/sdc/SDC.sch","position":15,"original_position":15,"commit_id":"9bfbae91f965fddd916ab4589652bdde141a6fb7","original_commit_id":"9bfbae91f965fddd916ab4589652bdde141a6fb7","user":{"login":"mkotelba","id":205699,"avatar_url":"https://avatars.githubusercontent.com/u/205699?v=3","gravatar_id":"","url":"https://api.github.com/users/mkotelba","html_url":"https://github.com/mkotelba","followers_url":"https://api.github.com/users/mkotelba/followers","following_url":"https://api.github.com/users/mkotelba/following{/other_user}","gists_url":"https://api.github.com/users/mkotelba/gists{/gist_id}","starred_url":"https://api.github.com/users/mkotelba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkotelba/subscriptions","organizations_url":"https://api.github.com/users/mkotelba/orgs","repos_url":"https://api.github.com/users/mkotelba/repos","events_url":"https://api.github.com/users/mkotelba/events{/privacy}","received_events_url":"https://api.github.com/users/mkotelba/received_events","type":"User","site_admin":false},"body":"Asserts that exactly one SDC XML element with a matching parentGUID XML attribute value exists somewhere in the document.","created_at":"2016-07-26T14:24:10Z","updated_at":"2016-07-26T14:24:10Z","html_url":"https://github.com/esacinc/sdc-schema-package/pull/7#discussion_r72259015","pull_request_url":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls/comments/72259015"},"html":{"href":"https://github.com/esacinc/sdc-schema-package/pull/7#discussion_r72259015"},"pull_request":{"href":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls/7","id":78859868,"html_url":"https://github.com/esacinc/sdc-schema-package/pull/7","diff_url":"https://github.com/esacinc/sdc-schema-package/pull/7.diff","patch_url":"https://github.com/esacinc/sdc-schema-package/pull/7.patch","issue_url":"https://api.github.com/repos/esacinc/sdc-schema-package/issues/7","number":7,"state":"open","locked":false,"title":"Initial SDC Schematron schema + example form fixes","user":{"login":"mkotelba","id":205699,"avatar_url":"https://avatars.githubusercontent.com/u/205699?v=3","gravatar_id":"","url":"https://api.github.com/users/mkotelba","html_url":"https://github.com/mkotelba","followers_url":"https://api.github.com/users/mkotelba/followers","following_url":"https://api.github.com/users/mkotelba/following{/other_user}","gists_url":"https://api.github.com/users/mkotelba/gists{/gist_id}","starred_url":"https://api.github.com/users/mkotelba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkotelba/subscriptions","organizations_url":"https://api.github.com/users/mkotelba/orgs","repos_url":"https://api.github.com/users/mkotelba/repos","events_url":"https://api.github.com/users/mkotelba/events{/privacy}","received_events_url":"https://api.github.com/users/mkotelba/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-26T14:18:13Z","updated_at":"2016-07-26T14:24:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"011980a8ef21329b631f6110f86b5a2907ccbb5f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls/7/commits","review_comments_url":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls/7/comments","review_comment_url":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls/comments{/number}","comments_url":"https://api.github.com/repos/esacinc/sdc-schema-package/issues/7/comments","statuses_url":"https://api.github.com/repos/esacinc/sdc-schema-package/statuses/9bfbae91f965fddd916ab4589652bdde141a6fb7","head":{"label":"mkotelba:master","ref":"master","sha":"9bfbae91f965fddd916ab4589652bdde141a6fb7","user":{"login":"mkotelba","id":205699,"avatar_url":"https://avatars.githubusercontent.com/u/205699?v=3","gravatar_id":"","url":"https://api.github.com/users/mkotelba","html_url":"https://github.com/mkotelba","followers_url":"https://api.github.com/users/mkotelba/followers","following_url":"https://api.github.com/users/mkotelba/following{/other_user}","gists_url":"https://api.github.com/users/mkotelba/gists{/gist_id}","starred_url":"https://api.github.com/users/mkotelba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkotelba/subscriptions","organizations_url":"https://api.github.com/users/mkotelba/orgs","repos_url":"https://api.github.com/users/mkotelba/repos","events_url":"https://api.github.com/users/mkotelba/events{/privacy}","received_events_url":"https://api.github.com/users/mkotelba/received_events","type":"User","site_admin":false},"repo":{"id":56156629,"name":"sdc-schema-package","full_name":"mkotelba/sdc-schema-package","owner":{"login":"mkotelba","id":205699,"avatar_url":"https://avatars.githubusercontent.com/u/205699?v=3","gravatar_id":"","url":"https://api.github.com/users/mkotelba","html_url":"https://github.com/mkotelba","followers_url":"https://api.github.com/users/mkotelba/followers","following_url":"https://api.github.com/users/mkotelba/following{/other_user}","gists_url":"https://api.github.com/users/mkotelba/gists{/gist_id}","starred_url":"https://api.github.com/users/mkotelba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkotelba/subscriptions","organizations_url":"https://api.github.com/users/mkotelba/orgs","repos_url":"https://api.github.com/users/mkotelba/repos","events_url":"https://api.github.com/users/mkotelba/events{/privacy}","received_events_url":"https://api.github.com/users/mkotelba/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkotelba/sdc-schema-package","description":"SDC Schema Package","fork":true,"url":"https://api.github.com/repos/mkotelba/sdc-schema-package","forks_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/forks","keys_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/teams","hooks_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/hooks","issue_events_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/issues/events{/number}","events_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/events","assignees_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/assignees{/user}","branches_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/branches{/branch}","tags_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/tags","blobs_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/statuses/{sha}","languages_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/languages","stargazers_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/stargazers","contributors_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/contributors","subscribers_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/subscribers","subscription_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/subscription","commits_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/issues/comments{/number}","contents_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/contents/{+path}","compare_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/merges","archive_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/downloads","issues_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/issues{/number}","pulls_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/pulls{/number}","milestones_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/milestones{/number}","notifications_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/labels{/name}","releases_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/releases{/id}","deployments_url":"https://api.github.com/repos/mkotelba/sdc-schema-package/deployments","created_at":"2016-04-13T13:59:53Z","updated_at":"2016-05-27T22:32:53Z","pushed_at":"2016-07-26T14:15:53Z","git_url":"git://github.com/mkotelba/sdc-schema-package.git","ssh_url":"git@github.com:mkotelba/sdc-schema-package.git","clone_url":"https://github.com/mkotelba/sdc-schema-package.git","svn_url":"https://github.com/mkotelba/sdc-schema-package","homepage":null,"size":139,"stargazers_count":0,"watchers_count":0,"language":"XSLT","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"esacinc:master","ref":"master","sha":"5972d0f2bc6fdc6b2370842c0c7a47576740ea85","user":{"login":"esacinc","id":1132212,"avatar_url":"https://avatars.githubusercontent.com/u/1132212?v=3","gravatar_id":"","url":"https://api.github.com/users/esacinc","html_url":"https://github.com/esacinc","followers_url":"https://api.github.com/users/esacinc/followers","following_url":"https://api.github.com/users/esacinc/following{/other_user}","gists_url":"https://api.github.com/users/esacinc/gists{/gist_id}","starred_url":"https://api.github.com/users/esacinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esacinc/subscriptions","organizations_url":"https://api.github.com/users/esacinc/orgs","repos_url":"https://api.github.com/users/esacinc/repos","events_url":"https://api.github.com/users/esacinc/events{/privacy}","received_events_url":"https://api.github.com/users/esacinc/received_events","type":"Organization","site_admin":false},"repo":{"id":54736822,"name":"sdc-schema-package","full_name":"esacinc/sdc-schema-package","owner":{"login":"esacinc","id":1132212,"avatar_url":"https://avatars.githubusercontent.com/u/1132212?v=3","gravatar_id":"","url":"https://api.github.com/users/esacinc","html_url":"https://github.com/esacinc","followers_url":"https://api.github.com/users/esacinc/followers","following_url":"https://api.github.com/users/esacinc/following{/other_user}","gists_url":"https://api.github.com/users/esacinc/gists{/gist_id}","starred_url":"https://api.github.com/users/esacinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esacinc/subscriptions","organizations_url":"https://api.github.com/users/esacinc/orgs","repos_url":"https://api.github.com/users/esacinc/repos","events_url":"https://api.github.com/users/esacinc/events{/privacy}","received_events_url":"https://api.github.com/users/esacinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/esacinc/sdc-schema-package","description":"SDC Schema Package","fork":false,"url":"https://api.github.com/repos/esacinc/sdc-schema-package","forks_url":"https://api.github.com/repos/esacinc/sdc-schema-package/forks","keys_url":"https://api.github.com/repos/esacinc/sdc-schema-package/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esacinc/sdc-schema-package/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esacinc/sdc-schema-package/teams","hooks_url":"https://api.github.com/repos/esacinc/sdc-schema-package/hooks","issue_events_url":"https://api.github.com/repos/esacinc/sdc-schema-package/issues/events{/number}","events_url":"https://api.github.com/repos/esacinc/sdc-schema-package/events","assignees_url":"https://api.github.com/repos/esacinc/sdc-schema-package/assignees{/user}","branches_url":"https://api.github.com/repos/esacinc/sdc-schema-package/branches{/branch}","tags_url":"https://api.github.com/repos/esacinc/sdc-schema-package/tags","blobs_url":"https://api.github.com/repos/esacinc/sdc-schema-package/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esacinc/sdc-schema-package/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esacinc/sdc-schema-package/git/refs{/sha}","trees_url":"https://api.github.com/repos/esacinc/sdc-schema-package/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esacinc/sdc-schema-package/statuses/{sha}","languages_url":"https://api.github.com/repos/esacinc/sdc-schema-package/languages","stargazers_url":"https://api.github.com/repos/esacinc/sdc-schema-package/stargazers","contributors_url":"https://api.github.com/repos/esacinc/sdc-schema-package/contributors","subscribers_url":"https://api.github.com/repos/esacinc/sdc-schema-package/subscribers","subscription_url":"https://api.github.com/repos/esacinc/sdc-schema-package/subscription","commits_url":"https://api.github.com/repos/esacinc/sdc-schema-package/commits{/sha}","git_commits_url":"https://api.github.com/repos/esacinc/sdc-schema-package/git/commits{/sha}","comments_url":"https://api.github.com/repos/esacinc/sdc-schema-package/comments{/number}","issue_comment_url":"https://api.github.com/repos/esacinc/sdc-schema-package/issues/comments{/number}","contents_url":"https://api.github.com/repos/esacinc/sdc-schema-package/contents/{+path}","compare_url":"https://api.github.com/repos/esacinc/sdc-schema-package/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esacinc/sdc-schema-package/merges","archive_url":"https://api.github.com/repos/esacinc/sdc-schema-package/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esacinc/sdc-schema-package/downloads","issues_url":"https://api.github.com/repos/esacinc/sdc-schema-package/issues{/number}","pulls_url":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls{/number}","milestones_url":"https://api.github.com/repos/esacinc/sdc-schema-package/milestones{/number}","notifications_url":"https://api.github.com/repos/esacinc/sdc-schema-package/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esacinc/sdc-schema-package/labels{/name}","releases_url":"https://api.github.com/repos/esacinc/sdc-schema-package/releases{/id}","deployments_url":"https://api.github.com/repos/esacinc/sdc-schema-package/deployments","created_at":"2016-03-25T17:55:31Z","updated_at":"2016-06-22T20:24:28Z","pushed_at":"2016-07-26T14:18:13Z","git_url":"git://github.com/esacinc/sdc-schema-package.git","ssh_url":"git@github.com:esacinc/sdc-schema-package.git","clone_url":"https://github.com/esacinc/sdc-schema-package.git","svn_url":"https://github.com/esacinc/sdc-schema-package","homepage":null,"size":151,"stargazers_count":1,"watchers_count":1,"language":"XSLT","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls/7"},"html":{"href":"https://github.com/esacinc/sdc-schema-package/pull/7"},"issue":{"href":"https://api.github.com/repos/esacinc/sdc-schema-package/issues/7"},"comments":{"href":"https://api.github.com/repos/esacinc/sdc-schema-package/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/esacinc/sdc-schema-package/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/esacinc/sdc-schema-package/statuses/9bfbae91f965fddd916ab4589652bdde141a6fb7"}}}}
{"actor":{"display_login":"mkotelba"}}