{"action":"created","comment":{"url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/comments/171384221","pull_request_review_id":100227679,"id":171384221,"diff_hunk":"@@ -87,10 +82,11 @@ const RPC_EMULATOR_MODEL = [{\n             let vitalTakenDateTime = _.get(vital, 'vitalsTakenDateTime', '');\n             vitalTakenDateTime = moment(vitalTakenDateTime, 'YYYY-MM-DDTHH:mm:ss').format('MM/DD/YY@HH:mm');\n             output.push(_.padEnd(`${setVitalType[vitalType]}:`, 11));\n-            output.push(`(${vitalTakenDateTime})`);\n+            if (vitalType !== 'BODY MASS INDEX') output.push(`(${vitalTakenDateTime})`);\n             if (vitalType === 'PULSE OXIMETRY') output.push(`${vitalValue}${vitalUnits}`);\n-            if (vitalType === 'HEIGHT') output.push(`${convertInchToFeet(vitalValue)}`);\n-            if (vitalType !== 'PULSE OXIMETRY' && vitalType !== 'HEIGHT') output.push(vitalValue);\n+            else if (vitalType === 'HEIGHT') output.push(`${vitalsService.convertInchesToFeet(vitalValue)}`);\n+            else if (vitalType === 'PAIN' && vitalValue === '0') output.push('0 - No pain');","path":"emulation/models/gmv-latest-vm.js","position":51,"original_position":51,"commit_id":"4fad1a831e89fa3331c12e3971200c6786ac3c29","original_commit_id":"4fad1a831e89fa3331c12e3971200c6786ac3c29","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":"That helps so much!","created_at":"2018-02-28T21:03:17Z","updated_at":"2018-02-28T21:03:17Z","html_url":"https://github.com/vistadataproject/VICSServer/pull/250#discussion_r171384221","pull_request_url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/250","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/comments/171384221"},"html":{"href":"https://github.com/vistadataproject/VICSServer/pull/250#discussion_r171384221"},"pull_request":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/250"}},"in_reply_to_id":171382566},"pull_request":{"url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/250","id":171827906,"html_url":"https://github.com/vistadataproject/VICSServer/pull/250","diff_url":"https://github.com/vistadataproject/VICSServer/pull/250.diff","patch_url":"https://github.com/vistadataproject/VICSServer/pull/250.patch","issue_url":"https://api.github.com/repos/vistadataproject/VICSServer/issues/250","number":250,"state":"open","locked":false,"title":"VAM-564, VAM-565: Followup ORQQVI VITALS and GMV LATEST VM","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] ORQQVI VITALS passes all tests in extra spec file\r\n[X] GMV LATEST VM passes all tests in extra spec file\r\n[X] Renamed `listVitals` instances to `lookupLatest` to reflect intention of service function\r\n[X] `unitConversionUtils` file created to contain all vitals function conversions\r\n[X] `convertFMtoISO` file edited to check edge cases\r\n","created_at":"2018-02-28T00:53:22Z","updated_at":"2018-02-28T21:03:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8b5efa75aa4a3d456a1dcfd52d8a9add459863b","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":"pcchanghawaii","id":5618884,"avatar_url":"https://avatars2.githubusercontent.com/u/5618884?v=4","gravatar_id":"","url":"https://api.github.com/users/pcchanghawaii","html_url":"https://github.com/pcchanghawaii","followers_url":"https://api.github.com/users/pcchanghawaii/followers","following_url":"https://api.github.com/users/pcchanghawaii/following{/other_user}","gists_url":"https://api.github.com/users/pcchanghawaii/gists{/gist_id}","starred_url":"https://api.github.com/users/pcchanghawaii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcchanghawaii/subscriptions","organizations_url":"https://api.github.com/users/pcchanghawaii/orgs","repos_url":"https://api.github.com/users/pcchanghawaii/repos","events_url":"https://api.github.com/users/pcchanghawaii/events{/privacy}","received_events_url":"https://api.github.com/users/pcchanghawaii/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}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/250/commits","review_comments_url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/250/comments","review_comment_url":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vistadataproject/VICSServer/issues/250/comments","statuses_url":"https://api.github.com/repos/vistadataproject/VICSServer/statuses/4fad1a831e89fa3331c12e3971200c6786ac3c29","head":{"label":"vistadataproject:vam-564-followup-orqqviVitals","ref":"vam-564-followup-orqqviVitals","sha":"4fad1a831e89fa3331c12e3971200c6786ac3c29","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":"2018-02-28T20:42:17Z","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":5680,"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":9,"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":9,"watchers":0,"default_branch":"master"}},"base":{"label":"vistadataproject:master","ref":"master","sha":"5a3309186df9c818f71ab5a17585b66b9f48c007","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":"2018-02-28T20:42:17Z","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":5680,"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":9,"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":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/250"},"html":{"href":"https://github.com/vistadataproject/VICSServer/pull/250"},"issue":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/issues/250"},"comments":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/issues/250/comments"},"review_comments":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/250/comments"},"review_comment":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/pulls/250/commits"},"statuses":{"href":"https://api.github.com/repos/vistadataproject/VICSServer/statuses/4fad1a831e89fa3331c12e3971200c6786ac3c29"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"creindle"}}