{"action":"created","issue":{"url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/210","labels_url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/210/labels{/name}","comments_url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/210/comments","events_url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/210/events","html_url":"https://github.com/monarch-initiative/phenogrid/issues/210","id":111415826,"number":210,"title":"apiEntityMap needs to be updated for genotype","user":{"login":"yuanzhou","id":195873,"avatar_url":"https://avatars.githubusercontent.com/u/195873?v=3","gravatar_id":"","url":"https://api.github.com/users/yuanzhou","html_url":"https://github.com/yuanzhou","followers_url":"https://api.github.com/users/yuanzhou/followers","following_url":"https://api.github.com/users/yuanzhou/following{/other_user}","gists_url":"https://api.github.com/users/yuanzhou/gists{/gist_id}","starred_url":"https://api.github.com/users/yuanzhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuanzhou/subscriptions","organizations_url":"https://api.github.com/users/yuanzhou/orgs","repos_url":"https://api.github.com/users/yuanzhou/repos","events_url":"https://api.github.com/users/yuanzhou/events{/privacy}","received_events_url":"https://api.github.com/users/yuanzhou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-10-14T14:53:03Z","updated_at":"2015-10-23T18:43:41Z","closed_at":"2015-10-23T16:47:14Z","body":"I'm working on genotype expansion for phenogrid. Once all the matches returned from the `http://beta.monarchinitiative.org/compare` API, I'll need to add them into the target data list, and each genotype will also need a `type` attribute to be specified. \r\n\r\nRight now we are using the `apiEntityMap`'s `apifragment` property as the desired type. Some genotypes have the same 'MGI' prefix, what should I do to add the genotype type? Otherewise I can't distinguish genotype from gene. @harryhoch  \r\n\r\nAnd some genotypes have the `MONARCH` prefix instead of `MGI`.\r\n\r\n````\r\napiEntityMap: [ \r\n                {prefix: \"HP\", apifragment: \"disease\"},\r\n                {prefix: \"OMIM\", apifragment: \"disease\"}, \r\n                {prefix: \"ZFIN\", apifragment: \"gene\"}, \t\t\t\r\n                {prefix: \"MGI\", apifragment: \"gene\"}\r\n            ]\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/comments/150659961","html_url":"https://github.com/monarch-initiative/phenogrid/issues/210#issuecomment-150659961","issue_url":"https://api.github.com/repos/monarch-initiative/phenogrid/issues/210","id":150659961,"user":{"login":"kshefchek","id":1467299,"avatar_url":"https://avatars.githubusercontent.com/u/1467299?v=3","gravatar_id":"","url":"https://api.github.com/users/kshefchek","html_url":"https://github.com/kshefchek","followers_url":"https://api.github.com/users/kshefchek/followers","following_url":"https://api.github.com/users/kshefchek/following{/other_user}","gists_url":"https://api.github.com/users/kshefchek/gists{/gist_id}","starred_url":"https://api.github.com/users/kshefchek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kshefchek/subscriptions","organizations_url":"https://api.github.com/users/kshefchek/orgs","repos_url":"https://api.github.com/users/kshefchek/repos","events_url":"https://api.github.com/users/kshefchek/events{/privacy}","received_events_url":"https://api.github.com/users/kshefchek/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T18:43:41Z","updated_at":"2015-10-23T18:43:41Z","body":"I think this will be fixed with my PR or am I misunderstanding? https://github.com/monarch-initiative/monarch-app/pull/1031"}}