{"action":"closed","number":18,"pull_request":{"url":"https://api.github.com/repos/OHDSI/CommonDataModel/pulls/18","id":38992783,"html_url":"https://github.com/OHDSI/CommonDataModel/pull/18","diff_url":"https://github.com/OHDSI/CommonDataModel/pull/18.diff","patch_url":"https://github.com/OHDSI/CommonDataModel/pull/18.patch","issue_url":"https://api.github.com/repos/OHDSI/CommonDataModel/issues/18","number":18,"state":"closed","locked":false,"title":"Initial commit for the CDM v4 to v5 conversion scripts.","user":{"login":"anthonysena","id":12902366,"avatar_url":"https://avatars.githubusercontent.com/u/12902366?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonysena","html_url":"https://github.com/anthonysena","followers_url":"https://api.github.com/users/anthonysena/followers","following_url":"https://api.github.com/users/anthonysena/following{/other_user}","gists_url":"https://api.github.com/users/anthonysena/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonysena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonysena/subscriptions","organizations_url":"https://api.github.com/users/anthonysena/orgs","repos_url":"https://api.github.com/users/anthonysena/repos","events_url":"https://api.github.com/users/anthonysena/events{/privacy}","received_events_url":"https://api.github.com/users/anthonysena/received_events","type":"User","site_admin":false},"body":"I've created an initial version of the conversion scripts using TemplateSQL and created dialect specific versions of these scripts for SQL Server, PostgreSQL and Oracle. I've also included QA scripts for SQL Server which are part of this commit. I plan to do further testing of these conversion scripts on PostgreSQL and Oracle so there may be a need for further revisions to these scripts.","created_at":"2015-07-01T15:15:44Z","updated_at":"2015-07-01T15:18:00Z","closed_at":"2015-07-01T15:18:00Z","merged_at":"2015-07-01T15:18:00Z","merge_commit_sha":"24289d7f193ba060066e589b3bec349982e31668","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OHDSI/CommonDataModel/pulls/18/commits","review_comments_url":"https://api.github.com/repos/OHDSI/CommonDataModel/pulls/18/comments","review_comment_url":"https://api.github.com/repos/OHDSI/CommonDataModel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OHDSI/CommonDataModel/issues/18/comments","statuses_url":"https://api.github.com/repos/OHDSI/CommonDataModel/statuses/4cb7558572ba700b9e0b9874c165d5d0bb2207b0","head":{"label":"anthonysena:V4toV5Conversion","ref":"V4toV5Conversion","sha":"4cb7558572ba700b9e0b9874c165d5d0bb2207b0","user":{"login":"anthonysena","id":12902366,"avatar_url":"https://avatars.githubusercontent.com/u/12902366?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonysena","html_url":"https://github.com/anthonysena","followers_url":"https://api.github.com/users/anthonysena/followers","following_url":"https://api.github.com/users/anthonysena/following{/other_user}","gists_url":"https://api.github.com/users/anthonysena/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonysena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonysena/subscriptions","organizations_url":"https://api.github.com/users/anthonysena/orgs","repos_url":"https://api.github.com/users/anthonysena/repos","events_url":"https://api.github.com/users/anthonysena/events{/privacy}","received_events_url":"https://api.github.com/users/anthonysena/received_events","type":"User","site_admin":false},"repo":{"id":38377301,"name":"CommonDataModel","full_name":"anthonysena/CommonDataModel","owner":{"login":"anthonysena","id":12902366,"avatar_url":"https://avatars.githubusercontent.com/u/12902366?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonysena","html_url":"https://github.com/anthonysena","followers_url":"https://api.github.com/users/anthonysena/followers","following_url":"https://api.github.com/users/anthonysena/following{/other_user}","gists_url":"https://api.github.com/users/anthonysena/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonysena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonysena/subscriptions","organizations_url":"https://api.github.com/users/anthonysena/orgs","repos_url":"https://api.github.com/users/anthonysena/repos","events_url":"https://api.github.com/users/anthonysena/events{/privacy}","received_events_url":"https://api.github.com/users/anthonysena/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anthonysena/CommonDataModel","description":"Specifications and related files for the Common Data Model","fork":true,"url":"https://api.github.com/repos/anthonysena/CommonDataModel","forks_url":"https://api.github.com/repos/anthonysena/CommonDataModel/forks","keys_url":"https://api.github.com/repos/anthonysena/CommonDataModel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anthonysena/CommonDataModel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anthonysena/CommonDataModel/teams","hooks_url":"https://api.github.com/repos/anthonysena/CommonDataModel/hooks","issue_events_url":"https://api.github.com/repos/anthonysena/CommonDataModel/issues/events{/number}","events_url":"https://api.github.com/repos/anthonysena/CommonDataModel/events","assignees_url":"https://api.github.com/repos/anthonysena/CommonDataModel/assignees{/user}","branches_url":"https://api.github.com/repos/anthonysena/CommonDataModel/branches{/branch}","tags_url":"https://api.github.com/repos/anthonysena/CommonDataModel/tags","blobs_url":"https://api.github.com/repos/anthonysena/CommonDataModel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anthonysena/CommonDataModel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anthonysena/CommonDataModel/git/refs{/sha}","trees_url":"https://api.github.com/repos/anthonysena/CommonDataModel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anthonysena/CommonDataModel/statuses/{sha}","languages_url":"https://api.github.com/repos/anthonysena/CommonDataModel/languages","stargazers_url":"https://api.github.com/repos/anthonysena/CommonDataModel/stargazers","contributors_url":"https://api.github.com/repos/anthonysena/CommonDataModel/contributors","subscribers_url":"https://api.github.com/repos/anthonysena/CommonDataModel/subscribers","subscription_url":"https://api.github.com/repos/anthonysena/CommonDataModel/subscription","commits_url":"https://api.github.com/repos/anthonysena/CommonDataModel/commits{/sha}","git_commits_url":"https://api.github.com/repos/anthonysena/CommonDataModel/git/commits{/sha}","comments_url":"https://api.github.com/repos/anthonysena/CommonDataModel/comments{/number}","issue_comment_url":"https://api.github.com/repos/anthonysena/CommonDataModel/issues/comments{/number}","contents_url":"https://api.github.com/repos/anthonysena/CommonDataModel/contents/{+path}","compare_url":"https://api.github.com/repos/anthonysena/CommonDataModel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anthonysena/CommonDataModel/merges","archive_url":"https://api.github.com/repos/anthonysena/CommonDataModel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anthonysena/CommonDataModel/downloads","issues_url":"https://api.github.com/repos/anthonysena/CommonDataModel/issues{/number}","pulls_url":"https://api.github.com/repos/anthonysena/CommonDataModel/pulls{/number}","milestones_url":"https://api.github.com/repos/anthonysena/CommonDataModel/milestones{/number}","notifications_url":"https://api.github.com/repos/anthonysena/CommonDataModel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anthonysena/CommonDataModel/labels{/name}","releases_url":"https://api.github.com/repos/anthonysena/CommonDataModel/releases{/id}","created_at":"2015-07-01T14:58:27Z","updated_at":"2015-07-01T14:58:28Z","pushed_at":"2015-07-01T15:13:42Z","git_url":"git://github.com/anthonysena/CommonDataModel.git","ssh_url":"git@github.com:anthonysena/CommonDataModel.git","clone_url":"https://github.com/anthonysena/CommonDataModel.git","svn_url":"https://github.com/anthonysena/CommonDataModel","homepage":"","size":1281,"stargazers_count":0,"watchers_count":0,"language":"Batchfile","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":"OHDSI:master","ref":"master","sha":"d23321a00b595384c8f353646aa8d96c614eeb60","user":{"login":"OHDSI","id":6570077,"avatar_url":"https://avatars.githubusercontent.com/u/6570077?v=3","gravatar_id":"","url":"https://api.github.com/users/OHDSI","html_url":"https://github.com/OHDSI","followers_url":"https://api.github.com/users/OHDSI/followers","following_url":"https://api.github.com/users/OHDSI/following{/other_user}","gists_url":"https://api.github.com/users/OHDSI/gists{/gist_id}","starred_url":"https://api.github.com/users/OHDSI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OHDSI/subscriptions","organizations_url":"https://api.github.com/users/OHDSI/orgs","repos_url":"https://api.github.com/users/OHDSI/repos","events_url":"https://api.github.com/users/OHDSI/events{/privacy}","received_events_url":"https://api.github.com/users/OHDSI/received_events","type":"Organization","site_admin":false},"repo":{"id":25224860,"name":"CommonDataModel","full_name":"OHDSI/CommonDataModel","owner":{"login":"OHDSI","id":6570077,"avatar_url":"https://avatars.githubusercontent.com/u/6570077?v=3","gravatar_id":"","url":"https://api.github.com/users/OHDSI","html_url":"https://github.com/OHDSI","followers_url":"https://api.github.com/users/OHDSI/followers","following_url":"https://api.github.com/users/OHDSI/following{/other_user}","gists_url":"https://api.github.com/users/OHDSI/gists{/gist_id}","starred_url":"https://api.github.com/users/OHDSI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OHDSI/subscriptions","organizations_url":"https://api.github.com/users/OHDSI/orgs","repos_url":"https://api.github.com/users/OHDSI/repos","events_url":"https://api.github.com/users/OHDSI/events{/privacy}","received_events_url":"https://api.github.com/users/OHDSI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OHDSI/CommonDataModel","description":"Specifications and related files for the Common Data Model","fork":false,"url":"https://api.github.com/repos/OHDSI/CommonDataModel","forks_url":"https://api.github.com/repos/OHDSI/CommonDataModel/forks","keys_url":"https://api.github.com/repos/OHDSI/CommonDataModel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OHDSI/CommonDataModel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OHDSI/CommonDataModel/teams","hooks_url":"https://api.github.com/repos/OHDSI/CommonDataModel/hooks","issue_events_url":"https://api.github.com/repos/OHDSI/CommonDataModel/issues/events{/number}","events_url":"https://api.github.com/repos/OHDSI/CommonDataModel/events","assignees_url":"https://api.github.com/repos/OHDSI/CommonDataModel/assignees{/user}","branches_url":"https://api.github.com/repos/OHDSI/CommonDataModel/branches{/branch}","tags_url":"https://api.github.com/repos/OHDSI/CommonDataModel/tags","blobs_url":"https://api.github.com/repos/OHDSI/CommonDataModel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OHDSI/CommonDataModel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OHDSI/CommonDataModel/git/refs{/sha}","trees_url":"https://api.github.com/repos/OHDSI/CommonDataModel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OHDSI/CommonDataModel/statuses/{sha}","languages_url":"https://api.github.com/repos/OHDSI/CommonDataModel/languages","stargazers_url":"https://api.github.com/repos/OHDSI/CommonDataModel/stargazers","contributors_url":"https://api.github.com/repos/OHDSI/CommonDataModel/contributors","subscribers_url":"https://api.github.com/repos/OHDSI/CommonDataModel/subscribers","subscription_url":"https://api.github.com/repos/OHDSI/CommonDataModel/subscription","commits_url":"https://api.github.com/repos/OHDSI/CommonDataModel/commits{/sha}","git_commits_url":"https://api.github.com/repos/OHDSI/CommonDataModel/git/commits{/sha}","comments_url":"https://api.github.com/repos/OHDSI/CommonDataModel/comments{/number}","issue_comment_url":"https://api.github.com/repos/OHDSI/CommonDataModel/issues/comments{/number}","contents_url":"https://api.github.com/repos/OHDSI/CommonDataModel/contents/{+path}","compare_url":"https://api.github.com/repos/OHDSI/CommonDataModel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OHDSI/CommonDataModel/merges","archive_url":"https://api.github.com/repos/OHDSI/CommonDataModel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OHDSI/CommonDataModel/downloads","issues_url":"https://api.github.com/repos/OHDSI/CommonDataModel/issues{/number}","pulls_url":"https://api.github.com/repos/OHDSI/CommonDataModel/pulls{/number}","milestones_url":"https://api.github.com/repos/OHDSI/CommonDataModel/milestones{/number}","notifications_url":"https://api.github.com/repos/OHDSI/CommonDataModel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OHDSI/CommonDataModel/labels{/name}","releases_url":"https://api.github.com/repos/OHDSI/CommonDataModel/releases{/id}","created_at":"2014-10-14T20:20:22Z","updated_at":"2015-06-04T15:04:33Z","pushed_at":"2015-07-01T15:18:00Z","git_url":"git://github.com/OHDSI/CommonDataModel.git","ssh_url":"git@github.com:OHDSI/CommonDataModel.git","clone_url":"https://github.com/OHDSI/CommonDataModel.git","svn_url":"https://github.com/OHDSI/CommonDataModel","homepage":"","size":1281,"stargazers_count":13,"watchers_count":13,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":11,"forks":16,"open_issues":11,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OHDSI/CommonDataModel/pulls/18"},"html":{"href":"https://github.com/OHDSI/CommonDataModel/pull/18"},"issue":{"href":"https://api.github.com/repos/OHDSI/CommonDataModel/issues/18"},"comments":{"href":"https://api.github.com/repos/OHDSI/CommonDataModel/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/OHDSI/CommonDataModel/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/OHDSI/CommonDataModel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OHDSI/CommonDataModel/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/OHDSI/CommonDataModel/statuses/4cb7558572ba700b9e0b9874c165d5d0bb2207b0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pbr6cornell","id":731930,"avatar_url":"https://avatars.githubusercontent.com/u/731930?v=3","gravatar_id":"","url":"https://api.github.com/users/pbr6cornell","html_url":"https://github.com/pbr6cornell","followers_url":"https://api.github.com/users/pbr6cornell/followers","following_url":"https://api.github.com/users/pbr6cornell/following{/other_user}","gists_url":"https://api.github.com/users/pbr6cornell/gists{/gist_id}","starred_url":"https://api.github.com/users/pbr6cornell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbr6cornell/subscriptions","organizations_url":"https://api.github.com/users/pbr6cornell/orgs","repos_url":"https://api.github.com/users/pbr6cornell/repos","events_url":"https://api.github.com/users/pbr6cornell/events{/privacy}","received_events_url":"https://api.github.com/users/pbr6cornell/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":7450,"deletions":0,"changed_files":7}}