{"action":"created","comment":{"url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/comments/159118076","pull_request_review_id":86025918,"id":159118076,"diff_hunk":"@@ -0,0 +1,49 @@\n+#!/usr/bin/env node\n+\n+'use strict';\n+\n+const _ = require('lodash');\n+const orderMetaService = require('../../services/orderMetaService');\n+const modelUtils = require('./modelUtils');\n+\n+const RPC_EMULATOR_MODEL = [{\n+    id: 'ORWRP_GET_DEFAULT_PRINTER',\n+    name: 'ORWRP GET DEFAULT PRINTER',\n+    function: 'GETDFPRT',","path":"emulation/models/orwrp-get-default-printer.js","position":12,"original_position":12,"commit_id":"d7716eda7b81c7d41b1102f187028790e4039632","original_commit_id":"d7716eda7b81c7d41b1102f187028790e4039632","user":{"login":"mfuroyama","id":728376,"avatar_url":"https://avatars0.githubusercontent.com/u/728376?v=4","gravatar_id":"","url":"https://api.github.com/users/mfuroyama","html_url":"https://github.com/mfuroyama","followers_url":"https://api.github.com/users/mfuroyama/followers","following_url":"https://api.github.com/users/mfuroyama/following{/other_user}","gists_url":"https://api.github.com/users/mfuroyama/gists{/gist_id}","starred_url":"https://api.github.com/users/mfuroyama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfuroyama/subscriptions","organizations_url":"https://api.github.com/users/mfuroyama/orgs","repos_url":"https://api.github.com/users/mfuroyama/repos","events_url":"https://api.github.com/users/mfuroyama/events{/privacy}","received_events_url":"https://api.github.com/users/mfuroyama/received_events","type":"User","site_admin":false},"body":"I'm pretty sure this is `GETDFPRT^ORWRP`. Let's change this to match what's listed as the corresponding MUMPS function in the Jira issue","created_at":"2017-12-30T06:45:52Z","updated_at":"2017-12-30T06:45:52Z","html_url":"https://github.com/vistadataproject/VICSServer/pull/177#discussion_r159118076","pull_request_url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/177","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/comments/159118076"},"html":{"href":"https://github.com/vistadataproject/VICSServer/pull/177#discussion_r159118076"},"pull_request":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/177"}}},"pull_request":{"url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/177","id":160315253,"html_url":"https://github.com/vistadataproject/VICSServer/pull/177","diff_url":"https://github.com/vistadataproject/VICSServer/pull/177.diff","patch_url":"https://github.com/vistadataproject/VICSServer/pull/177.patch","issue_url":"https://api.github.com/repos/vistadataproject/VICSServer/issues/177","number":177,"state":"open","locked":false,"title":"VAM-411: ORWRP GET DEFAULT PRINTER","user":{"login":"creindle","id":17826671,"avatar_url":"https://avatars3.githubusercontent.com/u/17826671?v=4","gravatar_id":"","url":"https://api.github.com/users/creindle","html_url":"https://github.com/creindle","followers_url":"https://api.github.com/users/creindle/followers","following_url":"https://api.github.com/users/creindle/following{/other_user}","gists_url":"https://api.github.com/users/creindle/gists{/gist_id}","starred_url":"https://api.github.com/users/creindle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creindle/subscriptions","organizations_url":"https://api.github.com/users/creindle/orgs","repos_url":"https://api.github.com/users/creindle/repos","events_url":"https://api.github.com/users/creindle/events{/privacy}","received_events_url":"https://api.github.com/users/creindle/received_events","type":"User","site_admin":false},"body":"[X] Created JSON for 'Device' collection to be added to mongoDB\r\n[X] Created model, service, and spec files without RPC Emulation Model Template Generator as the model file was not created in the nonClinicalRPC directory\r\n[X] Changed captured userId data to match session user id (63)\r\n[X] Ensured user is not allowed to chose a userId different from their session userId\r\n[X] Passes comparison and model tests\r\n\r\nNote: This is the first RPC to be translated completely from MUMPS code, so please be stringent when checking if I implemented this incorrectly!","created_at":"2017-12-27T23:35:36Z","updated_at":"2017-12-30T06:45:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c39a1e82809d1092791fcb7b7bdaf808743487b","assignee":{"login":"creindle","id":17826671,"avatar_url":"https://avatars3.githubusercontent.com/u/17826671?v=4","gravatar_id":"","url":"https://api.github.com/users/creindle","html_url":"https://github.com/creindle","followers_url":"https://api.github.com/users/creindle/followers","following_url":"https://api.github.com/users/creindle/following{/other_user}","gists_url":"https://api.github.com/users/creindle/gists{/gist_id}","starred_url":"https://api.github.com/users/creindle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creindle/subscriptions","organizations_url":"https://api.github.com/users/creindle/orgs","repos_url":"https://api.github.com/users/creindle/repos","events_url":"https://api.github.com/users/creindle/events{/privacy}","received_events_url":"https://api.github.com/users/creindle/received_events","type":"User","site_admin":false},"assignees":[{"login":"creindle","id":17826671,"avatar_url":"https://avatars3.githubusercontent.com/u/17826671?v=4","gravatar_id":"","url":"https://api.github.com/users/creindle","html_url":"https://github.com/creindle","followers_url":"https://api.github.com/users/creindle/followers","following_url":"https://api.github.com/users/creindle/following{/other_user}","gists_url":"https://api.github.com/users/creindle/gists{/gist_id}","starred_url":"https://api.github.com/users/creindle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creindle/subscriptions","organizations_url":"https://api.github.com/users/creindle/orgs","repos_url":"https://api.github.com/users/creindle/repos","events_url":"https://api.github.com/users/creindle/events{/privacy}","received_events_url":"https://api.github.com/users/creindle/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"kekuso","id":931205,"avatar_url":"https://avatars3.githubusercontent.com/u/931205?v=4","gravatar_id":"","url":"https://api.github.com/users/kekuso","html_url":"https://github.com/kekuso","followers_url":"https://api.github.com/users/kekuso/followers","following_url":"https://api.github.com/users/kekuso/following{/other_user}","gists_url":"https://api.github.com/users/kekuso/gists{/gist_id}","starred_url":"https://api.github.com/users/kekuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kekuso/subscriptions","organizations_url":"https://api.github.com/users/kekuso/orgs","repos_url":"https://api.github.com/users/kekuso/repos","events_url":"https://api.github.com/users/kekuso/events{/privacy}","received_events_url":"https://api.github.com/users/kekuso/received_events","type":"User","site_admin":false},{"login":"sidjtd","id":18730074,"avatar_url":"https://avatars2.githubusercontent.com/u/18730074?v=4","gravatar_id":"","url":"https://api.github.com/users/sidjtd","html_url":"https://github.com/sidjtd","followers_url":"https://api.github.com/users/sidjtd/followers","following_url":"https://api.github.com/users/sidjtd/following{/other_user}","gists_url":"https://api.github.com/users/sidjtd/gists{/gist_id}","starred_url":"https://api.github.com/users/sidjtd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidjtd/subscriptions","organizations_url":"https://api.github.com/users/sidjtd/orgs","repos_url":"https://api.github.com/users/sidjtd/repos","events_url":"https://api.github.com/users/sidjtd/events{/privacy}","received_events_url":"https://api.github.com/users/sidjtd/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/177/commits","review_comments_url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/177/comments","review_comment_url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vistadataproject/VICSServer/issues/177/comments","statuses_url":"https://api.github.com/repos/vistadataproject/VICSServer/statuses/d7716eda7b81c7d41b1102f187028790e4039632","head":{"label":"vistadataproject:vam-411-orwrp-get-default-printer","ref":"vam-411-orwrp-get-default-printer","sha":"d7716eda7b81c7d41b1102f187028790e4039632","user":{"login":"vistadataproject","id":15674962,"avatar_url":"https://avatars3.githubusercontent.com/u/15674962?v=4","gravatar_id":"","url":"https://api.github.com/users/vistadataproject","html_url":"https://github.com/vistadataproject","followers_url":"https://api.github.com/users/vistadataproject/followers","following_url":"https://api.github.com/users/vistadataproject/following{/other_user}","gists_url":"https://api.github.com/users/vistadataproject/gists{/gist_id}","starred_url":"https://api.github.com/users/vistadataproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vistadataproject/subscriptions","organizations_url":"https://api.github.com/users/vistadataproject/orgs","repos_url":"https://api.github.com/users/vistadataproject/repos","events_url":"https://api.github.com/users/vistadataproject/events{/privacy}","received_events_url":"https://api.github.com/users/vistadataproject/received_events","type":"Organization","site_admin":false},"repo":{"id":105083284,"name":"VICSServer","full_name":"vistadataproject/VICSServer","owner":{"login":"vistadataproject","id":15674962,"avatar_url":"https://avatars3.githubusercontent.com/u/15674962?v=4","gravatar_id":"","url":"https://api.github.com/users/vistadataproject","html_url":"https://github.com/vistadataproject","followers_url":"https://api.github.com/users/vistadataproject/followers","following_url":"https://api.github.com/users/vistadataproject/following{/other_user}","gists_url":"https://api.github.com/users/vistadataproject/gists{/gist_id}","starred_url":"https://api.github.com/users/vistadataproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vistadataproject/subscriptions","organizations_url":"https://api.github.com/users/vistadataproject/orgs","repos_url":"https://api.github.com/users/vistadataproject/repos","events_url":"https://api.github.com/users/vistadataproject/events{/privacy}","received_events_url":"https://api.github.com/users/vistadataproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vistadataproject/VICSServer","description":"VISTA Adaptive Maintenance - Veteran Care Services","fork":false,"url":"https://api.github.com/repos/vistadataproject/VICSServer","forks_url":"https://api.github.com/repos/vistadataproject/VICSServer/forks","keys_url":"https://api.github.com/repos/vistadataproject/VICSServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vistadataproject/VICSServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vistadataproject/VICSServer/teams","hooks_url":"https://api.github.com/repos/vistadataproject/VICSServer/hooks","issue_events_url":"https://api.github.com/repos/vistadataproject/VICSServer/issues/events{/number}","events_url":"https://api.github.com/repos/vistadataproject/VICSServer/events","assignees_url":"https://api.github.com/repos/vistadataproject/VICSServer/assignees{/user}","branches_url":"https://api.github.com/repos/vistadataproject/VICSServer/branches{/branch}","tags_url":"https://api.github.com/repos/vistadataproject/VICSServer/tags","blobs_url":"https://api.github.com/repos/vistadataproject/VICSServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vistadataproject/VICSServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vistadataproject/VICSServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/vistadataproject/VICSServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vistadataproject/VICSServer/statuses/{sha}","languages_url":"https://api.github.com/repos/vistadataproject/VICSServer/languages","stargazers_url":"https://api.github.com/repos/vistadataproject/VICSServer/stargazers","contributors_url":"https://api.github.com/repos/vistadataproject/VICSServer/contributors","subscribers_url":"https://api.github.com/repos/vistadataproject/VICSServer/subscribers","subscription_url":"https://api.github.com/repos/vistadataproject/VICSServer/subscription","commits_url":"https://api.github.com/repos/vistadataproject/VICSServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/vistadataproject/VICSServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/vistadataproject/VICSServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/vistadataproject/VICSServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/vistadataproject/VICSServer/contents/{+path}","compare_url":"https://api.github.com/repos/vistadataproject/VICSServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vistadataproject/VICSServer/merges","archive_url":"https://api.github.com/repos/vistadataproject/VICSServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vistadataproject/VICSServer/downloads","issues_url":"https://api.github.com/repos/vistadataproject/VICSServer/issues{/number}","pulls_url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls{/number}","milestones_url":"https://api.github.com/repos/vistadataproject/VICSServer/milestones{/number}","notifications_url":"https://api.github.com/repos/vistadataproject/VICSServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vistadataproject/VICSServer/labels{/name}","releases_url":"https://api.github.com/repos/vistadataproject/VICSServer/releases{/id}","deployments_url":"https://api.github.com/repos/vistadataproject/VICSServer/deployments","created_at":"2017-09-28T00:28:46Z","updated_at":"2017-11-15T19:36:13Z","pushed_at":"2017-12-29T21:50:20Z","git_url":"git://github.com/vistadataproject/VICSServer.git","ssh_url":"git@github.com:vistadataproject/VICSServer.git","clone_url":"https://github.com/vistadataproject/VICSServer.git","svn_url":"https://github.com/vistadataproject/VICSServer","homepage":"","size":2439,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":1,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"vistadataproject:master","ref":"master","sha":"33b362808c16ad91f4750ed5a40c1c6a24e29cc0","user":{"login":"vistadataproject","id":15674962,"avatar_url":"https://avatars3.githubusercontent.com/u/15674962?v=4","gravatar_id":"","url":"https://api.github.com/users/vistadataproject","html_url":"https://github.com/vistadataproject","followers_url":"https://api.github.com/users/vistadataproject/followers","following_url":"https://api.github.com/users/vistadataproject/following{/other_user}","gists_url":"https://api.github.com/users/vistadataproject/gists{/gist_id}","starred_url":"https://api.github.com/users/vistadataproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vistadataproject/subscriptions","organizations_url":"https://api.github.com/users/vistadataproject/orgs","repos_url":"https://api.github.com/users/vistadataproject/repos","events_url":"https://api.github.com/users/vistadataproject/events{/privacy}","received_events_url":"https://api.github.com/users/vistadataproject/received_events","type":"Organization","site_admin":false},"repo":{"id":105083284,"name":"VICSServer","full_name":"vistadataproject/VICSServer","owner":{"login":"vistadataproject","id":15674962,"avatar_url":"https://avatars3.githubusercontent.com/u/15674962?v=4","gravatar_id":"","url":"https://api.github.com/users/vistadataproject","html_url":"https://github.com/vistadataproject","followers_url":"https://api.github.com/users/vistadataproject/followers","following_url":"https://api.github.com/users/vistadataproject/following{/other_user}","gists_url":"https://api.github.com/users/vistadataproject/gists{/gist_id}","starred_url":"https://api.github.com/users/vistadataproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vistadataproject/subscriptions","organizations_url":"https://api.github.com/users/vistadataproject/orgs","repos_url":"https://api.github.com/users/vistadataproject/repos","events_url":"https://api.github.com/users/vistadataproject/events{/privacy}","received_events_url":"https://api.github.com/users/vistadataproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vistadataproject/VICSServer","description":"VISTA Adaptive Maintenance - Veteran Care Services","fork":false,"url":"https://api.github.com/repos/vistadataproject/VICSServer","forks_url":"https://api.github.com/repos/vistadataproject/VICSServer/forks","keys_url":"https://api.github.com/repos/vistadataproject/VICSServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vistadataproject/VICSServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vistadataproject/VICSServer/teams","hooks_url":"https://api.github.com/repos/vistadataproject/VICSServer/hooks","issue_events_url":"https://api.github.com/repos/vistadataproject/VICSServer/issues/events{/number}","events_url":"https://api.github.com/repos/vistadataproject/VICSServer/events","assignees_url":"https://api.github.com/repos/vistadataproject/VICSServer/assignees{/user}","branches_url":"https://api.github.com/repos/vistadataproject/VICSServer/branches{/branch}","tags_url":"https://api.github.com/repos/vistadataproject/VICSServer/tags","blobs_url":"https://api.github.com/repos/vistadataproject/VICSServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vistadataproject/VICSServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vistadataproject/VICSServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/vistadataproject/VICSServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vistadataproject/VICSServer/statuses/{sha}","languages_url":"https://api.github.com/repos/vistadataproject/VICSServer/languages","stargazers_url":"https://api.github.com/repos/vistadataproject/VICSServer/stargazers","contributors_url":"https://api.github.com/repos/vistadataproject/VICSServer/contributors","subscribers_url":"https://api.github.com/repos/vistadataproject/VICSServer/subscribers","subscription_url":"https://api.github.com/repos/vistadataproject/VICSServer/subscription","commits_url":"https://api.github.com/repos/vistadataproject/VICSServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/vistadataproject/VICSServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/vistadataproject/VICSServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/vistadataproject/VICSServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/vistadataproject/VICSServer/contents/{+path}","compare_url":"https://api.github.com/repos/vistadataproject/VICSServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vistadataproject/VICSServer/merges","archive_url":"https://api.github.com/repos/vistadataproject/VICSServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vistadataproject/VICSServer/downloads","issues_url":"https://api.github.com/repos/vistadataproject/VICSServer/issues{/number}","pulls_url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls{/number}","milestones_url":"https://api.github.com/repos/vistadataproject/VICSServer/milestones{/number}","notifications_url":"https://api.github.com/repos/vistadataproject/VICSServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vistadataproject/VICSServer/labels{/name}","releases_url":"https://api.github.com/repos/vistadataproject/VICSServer/releases{/id}","deployments_url":"https://api.github.com/repos/vistadataproject/VICSServer/deployments","created_at":"2017-09-28T00:28:46Z","updated_at":"2017-11-15T19:36:13Z","pushed_at":"2017-12-29T21:50:20Z","git_url":"git://github.com/vistadataproject/VICSServer.git","ssh_url":"git@github.com:vistadataproject/VICSServer.git","clone_url":"https://github.com/vistadataproject/VICSServer.git","svn_url":"https://github.com/vistadataproject/VICSServer","homepage":"","size":2439,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":1,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/177"},"html":{"href":"https://github.com/vistadataproject/VICSServer/pull/177"},"issue":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/issues/177"},"comments":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/issues/177/comments"},"review_comments":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/177/comments"},"review_comment":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/177/commits"},"statuses":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/statuses/d7716eda7b81c7d41b1102f187028790e4039632"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mfuroyama"}}