{"action":"created","issue":{"url":"https://api.github.com/repos/ClarityNLP/ClarityNLP/issues/28","repository_url":"https://api.github.com/repos/ClarityNLP/ClarityNLP","labels_url":"https://api.github.com/repos/ClarityNLP/ClarityNLP/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/ClarityNLP/ClarityNLP/issues/28/comments","events_url":"https://api.github.com/repos/ClarityNLP/ClarityNLP/issues/28/events","html_url":"https://github.com/ClarityNLP/ClarityNLP/issues/28","id":335185083,"node_id":"MDU6SXNzdWUzMzUxODUwODM=","number":28,"title":"Change documentset creation to more rubust function","user":{"login":"jduke99","id":5069947,"node_id":"MDQ6VXNlcjUwNjk5NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/5069947?v=4","gravatar_id":"","url":"https://api.github.com/users/jduke99","html_url":"https://github.com/jduke99","followers_url":"https://api.github.com/users/jduke99/followers","following_url":"https://api.github.com/users/jduke99/following{/other_user}","gists_url":"https://api.github.com/users/jduke99/gists{/gist_id}","starred_url":"https://api.github.com/users/jduke99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jduke99/subscriptions","organizations_url":"https://api.github.com/users/jduke99/orgs","repos_url":"https://api.github.com/users/jduke99/repos","events_url":"https://api.github.com/users/jduke99/events{/privacy}","received_events_url":"https://api.github.com/users/jduke99/received_events","type":"User","site_admin":false},"labels":[{"id":951933199,"node_id":"MDU6TGFiZWw5NTE5MzMxOTk=","url":"https://api.github.com/repos/ClarityNLP/ClarityNLP/labels/Top%20Issue","name":"Top Issue","color":"ffc1f0","default":false}],"state":"open","locked":false,"assignee":{"login":"cahilton","id":5701610,"node_id":"MDQ6VXNlcjU3MDE2MTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5701610?v=4","gravatar_id":"","url":"https://api.github.com/users/cahilton","html_url":"https://github.com/cahilton","followers_url":"https://api.github.com/users/cahilton/followers","following_url":"https://api.github.com/users/cahilton/following{/other_user}","gists_url":"https://api.github.com/users/cahilton/gists{/gist_id}","starred_url":"https://api.github.com/users/cahilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cahilton/subscriptions","organizations_url":"https://api.github.com/users/cahilton/orgs","repos_url":"https://api.github.com/users/cahilton/repos","events_url":"https://api.github.com/users/cahilton/events{/privacy}","received_events_url":"https://api.github.com/users/cahilton/received_events","type":"User","site_admin":false},"assignees":[{"login":"cahilton","id":5701610,"node_id":"MDQ6VXNlcjU3MDE2MTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5701610?v=4","gravatar_id":"","url":"https://api.github.com/users/cahilton","html_url":"https://github.com/cahilton","followers_url":"https://api.github.com/users/cahilton/followers","following_url":"https://api.github.com/users/cahilton/following{/other_user}","gists_url":"https://api.github.com/users/cahilton/gists{/gist_id}","starred_url":"https://api.github.com/users/cahilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cahilton/subscriptions","organizations_url":"https://api.github.com/users/cahilton/orgs","repos_url":"https://api.github.com/users/cahilton/repos","events_url":"https://api.github.com/users/cahilton/events{/privacy}","received_events_url":"https://api.github.com/users/cahilton/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-06-24T14:48:16Z","updated_at":"2018-06-29T14:24:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Would like to have the ability to create documentset with more stuff like searching on attr fields etc.  \r\n\r\nProbably should wrap this in with #26 and just make a \r\n\r\nClarity.createDocumentSet({\r\nreportTags:[optional]\r\nreportTypes:[optional],\r\nfields:[key:value,key:value],\r\ncustomQuery:[query],\r\netc"},"comment":{"url":"https://api.github.com/repos/ClarityNLP/ClarityNLP/issues/comments/401370109","html_url":"https://github.com/ClarityNLP/ClarityNLP/issues/28#issuecomment-401370109","issue_url":"https://api.github.com/repos/ClarityNLP/ClarityNLP/issues/28","id":401370109,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTM3MDEwOQ==","user":{"login":"cahilton","id":5701610,"node_id":"MDQ6VXNlcjU3MDE2MTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5701610?v=4","gravatar_id":"","url":"https://api.github.com/users/cahilton","html_url":"https://github.com/cahilton","followers_url":"https://api.github.com/users/cahilton/followers","following_url":"https://api.github.com/users/cahilton/following{/other_user}","gists_url":"https://api.github.com/users/cahilton/gists{/gist_id}","starred_url":"https://api.github.com/users/cahilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cahilton/subscriptions","organizations_url":"https://api.github.com/users/cahilton/orgs","repos_url":"https://api.github.com/users/cahilton/repos","events_url":"https://api.github.com/users/cahilton/events{/privacy}","received_events_url":"https://api.github.com/users/cahilton/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T14:24:43Z","updated_at":"2018-06-29T14:24:43Z","author_association":"MEMBER","body":"For now, modifying this a bit. Fields could be a little nasty, so eliminating that, you can achieve the same with `query` field. However, if you mean Solr arguments (versus fields in the schema), I can add any you think we need.\r\n\r\n```\r\n    Clarity.createDocumentSet({\r\n        \"report_types\":[\"Discharge summary\"],\r\n        \"report_tags\": [],\r\n        \"filter_query\": \"subject:23224\",\r\n        \"query\":\"report_text:amoxicillin\"});\r\n```"}}
{"actor":{"display_login":"cahilton"}}