{"action":"created","issue":{"url":"https://api.github.com/repos/OHDSI/ETL-CMS/issues/37","repository_url":"https://api.github.com/repos/OHDSI/ETL-CMS","labels_url":"https://api.github.com/repos/OHDSI/ETL-CMS/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/OHDSI/ETL-CMS/issues/37/comments","events_url":"https://api.github.com/repos/OHDSI/ETL-CMS/issues/37/events","html_url":"https://github.com/OHDSI/ETL-CMS/pull/37","id":191687787,"number":37,"title":"defect 33, add mappings for concept_id","user":{"login":"opme","id":13538668,"avatar_url":"https://avatars.githubusercontent.com/u/13538668?v=3","gravatar_id":"","url":"https://api.github.com/users/opme","html_url":"https://github.com/opme","followers_url":"https://api.github.com/users/opme/followers","following_url":"https://api.github.com/users/opme/following{/other_user}","gists_url":"https://api.github.com/users/opme/gists{/gist_id}","starred_url":"https://api.github.com/users/opme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opme/subscriptions","organizations_url":"https://api.github.com/users/opme/orgs","repos_url":"https://api.github.com/users/opme/repos","events_url":"https://api.github.com/users/opme/events{/privacy}","received_events_url":"https://api.github.com/users/opme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-25T12:03:32Z","updated_at":"2016-11-25T12:43:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OHDSI/ETL-CMS/pulls/37","html_url":"https://github.com/OHDSI/ETL-CMS/pull/37","diff_url":"https://github.com/OHDSI/ETL-CMS/pull/37.diff","patch_url":"https://github.com/OHDSI/ETL-CMS/pull/37.patch"},"body":"I made an attempt at fixing the concept_id issue and created this pull request for discussion.\r\n\r\nI took into account that the primary diagnosis code and then list of 10 diagnosis could be either condition, procedure or occurrence.  I have only done mappings for condition and procedure to codes in the vocabulary defined in constants.py.  I set HPCS codes to 0 though I have never seen one in the SynPuf data.\r\n\r\nIt is possible for procedures in the 10 diagnosis codes to get the same concept_id that comes from the procedure cost list.\r\n\r\nSome mappings are not available and I indicated that in the constants.py where applicable."},"comment":{"url":"https://api.github.com/repos/OHDSI/ETL-CMS/issues/comments/262950687","html_url":"https://github.com/OHDSI/ETL-CMS/pull/37#issuecomment-262950687","issue_url":"https://api.github.com/repos/OHDSI/ETL-CMS/issues/37","id":262950687,"user":{"login":"opme","id":13538668,"avatar_url":"https://avatars.githubusercontent.com/u/13538668?v=3","gravatar_id":"","url":"https://api.github.com/users/opme","html_url":"https://github.com/opme","followers_url":"https://api.github.com/users/opme/followers","following_url":"https://api.github.com/users/opme/following{/other_user}","gists_url":"https://api.github.com/users/opme/gists{/gist_id}","starred_url":"https://api.github.com/users/opme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opme/subscriptions","organizations_url":"https://api.github.com/users/opme/orgs","repos_url":"https://api.github.com/users/opme/repos","events_url":"https://api.github.com/users/opme/events{/privacy}","received_events_url":"https://api.github.com/users/opme/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T12:43:43Z","updated_at":"2016-11-25T12:43:43Z","body":"I did notice that the both records of the outpatient sample data have 2 HCPCS entries.  These have been mapped to 0 in my code.   Not sure what should be done with these."}}
{"actor":{"display_login":"opme"}}