{"action":"created","comment":{"url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls/comments/178447719","pull_request_review_id":108508612,"id":178447719,"diff_hunk":"@@ -29,75 +24,93 @@ enum BusinessType\n   o Distributor\n }\n \n-//Employee type\n+// Employee type\n enum EmployeeType\n {\n   o Admin\n   o Regular\n }\n \n-//Unit of Measure for ItemType\n+// Unit of Measure for ItemType\n enum UoM \n {\n   o mL\n   o g\n }\n \n-asset ItemType identified by itemTypeName \n-{\n-  o String itemTypeName\n-}\n-\n-asset Item identified by itemId\n+// Address concept for locations\n+concept Address\n {\n-  o String itemId\n-  o UoM itemTypeUoM\n-  o Double amountOfMedication\n-  --> Business currentOwner\n-  --> ItemType itemType\n+  o String city\n+  o String country\n+  o String street\n+  o String street2 optional\n+  o String state optional\n+  o String zip optional\n }\n \n+// Shipment holds the shipment information of the goods (medicine)\n concept Shipment\n {\n   o Status status\n   o Address destinationAddress\n   o Address sourceAddress\n-  --> Business currentOwner\n   --> Business carryingBusiness\n   --> Item[] items\n }\n \n+// The item that is being requested for the transaction\n concept ItemRequest \n {\n-  o String itemRequestId\n   --> Item requestedItem\n   o Double unitPrice\n   o Integer quantity\n }\n \n+// The specific type of Medicine based on id ","path":"mat/models/org.mat.cto","position":92,"original_position":92,"commit_id":"2739b5560f974314b6124e599f6c03e6485b6e0e","original_commit_id":"2739b5560f974314b6124e599f6c03e6485b6e0e","user":{"login":"Areax","id":17516547,"avatar_url":"https://avatars1.githubusercontent.com/u/17516547?v=4","gravatar_id":"","url":"https://api.github.com/users/Areax","html_url":"https://github.com/Areax","followers_url":"https://api.github.com/users/Areax/followers","following_url":"https://api.github.com/users/Areax/following{/other_user}","gists_url":"https://api.github.com/users/Areax/gists{/gist_id}","starred_url":"https://api.github.com/users/Areax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Areax/subscriptions","organizations_url":"https://api.github.com/users/Areax/orgs","repos_url":"https://api.github.com/users/Areax/repos","events_url":"https://api.github.com/users/Areax/events{/privacy}","received_events_url":"https://api.github.com/users/Areax/received_events","type":"User","site_admin":false},"body":"multiple line comments probably should use `/* */`","created_at":"2018-04-01T04:02:11Z","updated_at":"2018-04-01T04:19:41Z","html_url":"https://github.com/Kimaitn/BlockchainMedicineTracker/pull/7#discussion_r178447719","pull_request_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls/7","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls/comments/178447719"},"html":{"href":"https://github.com/Kimaitn/BlockchainMedicineTracker/pull/7#discussion_r178447719"},"pull_request":{"href":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls/7","id":178708304,"html_url":"https://github.com/Kimaitn/BlockchainMedicineTracker/pull/7","diff_url":"https://github.com/Kimaitn/BlockchainMedicineTracker/pull/7.diff","patch_url":"https://github.com/Kimaitn/BlockchainMedicineTracker/pull/7.patch","issue_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/issues/7","number":7,"state":"open","locked":false,"title":"Updates logic file","user":{"login":"Areax","id":17516547,"avatar_url":"https://avatars1.githubusercontent.com/u/17516547?v=4","gravatar_id":"","url":"https://api.github.com/users/Areax","html_url":"https://github.com/Areax","followers_url":"https://api.github.com/users/Areax/followers","following_url":"https://api.github.com/users/Areax/following{/other_user}","gists_url":"https://api.github.com/users/Areax/gists{/gist_id}","starred_url":"https://api.github.com/users/Areax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Areax/subscriptions","organizations_url":"https://api.github.com/users/Areax/orgs","repos_url":"https://api.github.com/users/Areax/repos","events_url":"https://api.github.com/users/Areax/events{/privacy}","received_events_url":"https://api.github.com/users/Areax/received_events","type":"User","site_admin":false},"body":"This pull request is to ensure that a contract can go from creation to completion within the current project.","created_at":"2018-04-01T01:35:49Z","updated_at":"2018-04-01T04:19:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a21db36c748f324c2aec3e333bab9c8ced8928b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/issues/7/comments","statuses_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/statuses/2739b5560f974314b6124e599f6c03e6485b6e0e","head":{"label":"Kimaitn:logicfileupdates","ref":"logicfileupdates","sha":"2739b5560f974314b6124e599f6c03e6485b6e0e","user":{"login":"Kimaitn","id":23070894,"avatar_url":"https://avatars0.githubusercontent.com/u/23070894?v=4","gravatar_id":"","url":"https://api.github.com/users/Kimaitn","html_url":"https://github.com/Kimaitn","followers_url":"https://api.github.com/users/Kimaitn/followers","following_url":"https://api.github.com/users/Kimaitn/following{/other_user}","gists_url":"https://api.github.com/users/Kimaitn/gists{/gist_id}","starred_url":"https://api.github.com/users/Kimaitn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kimaitn/subscriptions","organizations_url":"https://api.github.com/users/Kimaitn/orgs","repos_url":"https://api.github.com/users/Kimaitn/repos","events_url":"https://api.github.com/users/Kimaitn/events{/privacy}","received_events_url":"https://api.github.com/users/Kimaitn/received_events","type":"User","site_admin":false},"repo":{"id":117391881,"name":"BlockchainMedicineTracker","full_name":"Kimaitn/BlockchainMedicineTracker","owner":{"login":"Kimaitn","id":23070894,"avatar_url":"https://avatars0.githubusercontent.com/u/23070894?v=4","gravatar_id":"","url":"https://api.github.com/users/Kimaitn","html_url":"https://github.com/Kimaitn","followers_url":"https://api.github.com/users/Kimaitn/followers","following_url":"https://api.github.com/users/Kimaitn/following{/other_user}","gists_url":"https://api.github.com/users/Kimaitn/gists{/gist_id}","starred_url":"https://api.github.com/users/Kimaitn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kimaitn/subscriptions","organizations_url":"https://api.github.com/users/Kimaitn/orgs","repos_url":"https://api.github.com/users/Kimaitn/repos","events_url":"https://api.github.com/users/Kimaitn/events{/privacy}","received_events_url":"https://api.github.com/users/Kimaitn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kimaitn/BlockchainMedicineTracker","description":"Senior Design Group 18 Repository","fork":false,"url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker","forks_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/forks","keys_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/teams","hooks_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/hooks","issue_events_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/issues/events{/number}","events_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/events","assignees_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/assignees{/user}","branches_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/branches{/branch}","tags_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/tags","blobs_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/statuses/{sha}","languages_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/languages","stargazers_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/stargazers","contributors_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/contributors","subscribers_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/subscribers","subscription_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/subscription","commits_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/contents/{+path}","compare_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/merges","archive_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/downloads","issues_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/issues{/number}","pulls_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls{/number}","milestones_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/milestones{/number}","notifications_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/labels{/name}","releases_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/releases{/id}","deployments_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/deployments","created_at":"2018-01-14T01:19:01Z","updated_at":"2018-03-30T20:50:36Z","pushed_at":"2018-04-01T01:35:50Z","git_url":"git://github.com/Kimaitn/BlockchainMedicineTracker.git","ssh_url":"git@github.com:Kimaitn/BlockchainMedicineTracker.git","clone_url":"https://github.com/Kimaitn/BlockchainMedicineTracker.git","svn_url":"https://github.com/Kimaitn/BlockchainMedicineTracker","homepage":null,"size":61311,"stargazers_count":1,"watchers_count":1,"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":1,"license":null,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"Kimaitn:master","ref":"master","sha":"67af4290fcd1a62765650de495b25bc0db0088d0","user":{"login":"Kimaitn","id":23070894,"avatar_url":"https://avatars0.githubusercontent.com/u/23070894?v=4","gravatar_id":"","url":"https://api.github.com/users/Kimaitn","html_url":"https://github.com/Kimaitn","followers_url":"https://api.github.com/users/Kimaitn/followers","following_url":"https://api.github.com/users/Kimaitn/following{/other_user}","gists_url":"https://api.github.com/users/Kimaitn/gists{/gist_id}","starred_url":"https://api.github.com/users/Kimaitn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kimaitn/subscriptions","organizations_url":"https://api.github.com/users/Kimaitn/orgs","repos_url":"https://api.github.com/users/Kimaitn/repos","events_url":"https://api.github.com/users/Kimaitn/events{/privacy}","received_events_url":"https://api.github.com/users/Kimaitn/received_events","type":"User","site_admin":false},"repo":{"id":117391881,"name":"BlockchainMedicineTracker","full_name":"Kimaitn/BlockchainMedicineTracker","owner":{"login":"Kimaitn","id":23070894,"avatar_url":"https://avatars0.githubusercontent.com/u/23070894?v=4","gravatar_id":"","url":"https://api.github.com/users/Kimaitn","html_url":"https://github.com/Kimaitn","followers_url":"https://api.github.com/users/Kimaitn/followers","following_url":"https://api.github.com/users/Kimaitn/following{/other_user}","gists_url":"https://api.github.com/users/Kimaitn/gists{/gist_id}","starred_url":"https://api.github.com/users/Kimaitn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kimaitn/subscriptions","organizations_url":"https://api.github.com/users/Kimaitn/orgs","repos_url":"https://api.github.com/users/Kimaitn/repos","events_url":"https://api.github.com/users/Kimaitn/events{/privacy}","received_events_url":"https://api.github.com/users/Kimaitn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kimaitn/BlockchainMedicineTracker","description":"Senior Design Group 18 Repository","fork":false,"url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker","forks_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/forks","keys_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/teams","hooks_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/hooks","issue_events_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/issues/events{/number}","events_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/events","assignees_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/assignees{/user}","branches_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/branches{/branch}","tags_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/tags","blobs_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/statuses/{sha}","languages_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/languages","stargazers_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/stargazers","contributors_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/contributors","subscribers_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/subscribers","subscription_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/subscription","commits_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/contents/{+path}","compare_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/merges","archive_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/downloads","issues_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/issues{/number}","pulls_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls{/number}","milestones_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/milestones{/number}","notifications_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/labels{/name}","releases_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/releases{/id}","deployments_url":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/deployments","created_at":"2018-01-14T01:19:01Z","updated_at":"2018-03-30T20:50:36Z","pushed_at":"2018-04-01T01:35:50Z","git_url":"git://github.com/Kimaitn/BlockchainMedicineTracker.git","ssh_url":"git@github.com:Kimaitn/BlockchainMedicineTracker.git","clone_url":"https://github.com/Kimaitn/BlockchainMedicineTracker.git","svn_url":"https://github.com/Kimaitn/BlockchainMedicineTracker","homepage":null,"size":61311,"stargazers_count":1,"watchers_count":1,"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":1,"license":null,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls/7"},"html":{"href":"https://github.com/Kimaitn/BlockchainMedicineTracker/pull/7"},"issue":{"href":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/issues/7"},"comments":{"href":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Kimaitn/BlockchainMedicineTracker/statuses/2739b5560f974314b6124e599f6c03e6485b6e0e"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Areax"}}