{"action":"created","issue":{"url":"https://api.github.com/repos/PEDSnet/tools/issues/64","repository_url":"https://api.github.com/repos/PEDSnet/tools","labels_url":"https://api.github.com/repos/PEDSnet/tools/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/PEDSnet/tools/issues/64/comments","events_url":"https://api.github.com/repos/PEDSnet/tools/issues/64/events","html_url":"https://github.com/PEDSnet/tools/issues/64","id":138550724,"number":64,"title":"Aggregate rule set validation errors","user":{"login":"bruth","id":515142,"avatar_url":"https://avatars.githubusercontent.com/u/515142?v=3","gravatar_id":"","url":"https://api.github.com/users/bruth","html_url":"https://github.com/bruth","followers_url":"https://api.github.com/users/bruth/followers","following_url":"https://api.github.com/users/bruth/following{/other_user}","gists_url":"https://api.github.com/users/bruth/gists{/gist_id}","starred_url":"https://api.github.com/users/bruth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruth/subscriptions","organizations_url":"https://api.github.com/users/bruth/orgs","repos_url":"https://api.github.com/users/bruth/repos","events_url":"https://api.github.com/users/bruth/events{/privacy}","received_events_url":"https://api.github.com/users/bruth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T18:37:13Z","updated_at":"2016-03-04T19:13:51Z","closed_at":null,"body":"Currently for every invalid table of field found in the rule set the program exits. All errors should be aggregated and reported to make it simpler to fix."},"comment":{"url":"https://api.github.com/repos/PEDSnet/tools/issues/comments/192421433","html_url":"https://github.com/PEDSnet/tools/issues/64#issuecomment-192421433","issue_url":"https://api.github.com/repos/PEDSnet/tools/issues/64","id":192421433,"user":{"login":"bruth","id":515142,"avatar_url":"https://avatars.githubusercontent.com/u/515142?v=3","gravatar_id":"","url":"https://api.github.com/users/bruth","html_url":"https://github.com/bruth","followers_url":"https://api.github.com/users/bruth/followers","following_url":"https://api.github.com/users/bruth/following{/other_user}","gists_url":"https://api.github.com/users/bruth/gists{/gist_id}","starred_url":"https://api.github.com/users/bruth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruth/subscriptions","organizations_url":"https://api.github.com/users/bruth/orgs","repos_url":"https://api.github.com/users/bruth/repos","events_url":"https://api.github.com/users/bruth/events{/privacy}","received_events_url":"https://api.github.com/users/bruth/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T19:13:51Z","updated_at":"2016-03-04T19:13:51Z","body":"@utidjianl Here is the list of validation errors in the Fact rules file. I would have made the output a bit nicer, but I don't expect this to occur frequently.\r\n\r\n```\r\nValidation errors in 'Fact' rules file\r\nline 20: field 'provider_id' is not defined for table 'fact_relationship'\r\nline 20: field 'provider_id' is not defined for table 'visit_payer'\r\nline 20: field 'care_site_id' is not defined for table 'condition_occurrence'\r\nline 20: field 'care_site_id' is not defined for table 'drug_exposure'\r\nline 20: field 'care_site_id' is not defined for table 'fact_relationship'\r\nline 20: field 'care_site_id' is not defined for table 'measurement'\r\nline 20: field 'care_site_id' is not defined for table 'observation'\r\nline 20: field 'care_site_id' is not defined for table 'procedure_occurrence'\r\nline 20: field 'care_site_id' is not defined for table 'visit_payer'\r\nline 21: field 'provider_id' is not defined for table 'fact_relationship'\r\nline 21: field 'provider_id' is not defined for table 'visit_payer'\r\nline 21: field 'care_site_id' is not defined for table 'condition_occurrence'\r\nline 21: field 'care_site_id' is not defined for table 'drug_exposure'\r\nline 21: field 'care_site_id' is not defined for table 'fact_relationship'\r\nline 21: field 'care_site_id' is not defined for table 'measurement'\r\nline 21: field 'care_site_id' is not defined for table 'observation'\r\nline 21: field 'care_site_id' is not defined for table 'procedure_occurrence'\r\nline 21: field 'care_site_id' is not defined for table 'visit_payer'\r\nline 22: field 'provider_id' is not defined for table 'fact_relationship'\r\nline 22: field 'provider_id' is not defined for table 'visit_payer'\r\nline 22: field 'care_site_id' is not defined for table 'condition_occurrence'\r\nline 22: field 'care_site_id' is not defined for table 'drug_exposure'\r\nline 22: field 'care_site_id' is not defined for table 'fact_relationship'\r\nline 22: field 'care_site_id' is not defined for table 'measurement'\r\nline 22: field 'care_site_id' is not defined for table 'observation'\r\nline 22: field 'care_site_id' is not defined for table 'procedure_occurrence'\r\nline 22: field 'care_site_id' is not defined for table 'visit_payer'\r\nline 23: field 'provider_id' is not defined for table 'fact_relationship'\r\nline 23: field 'provider_id' is not defined for table 'visit_payer'\r\nline 23: field 'care_site_id' is not defined for table 'condition_occurrence'\r\nline 23: field 'care_site_id' is not defined for table 'drug_exposure'\r\nline 23: field 'care_site_id' is not defined for table 'fact_relationship'\r\nline 23: field 'care_site_id' is not defined for table 'measurement'\r\nline 23: field 'care_site_id' is not defined for table 'observation'\r\nline 23: field 'care_site_id' is not defined for table 'procedure_occurrence'\r\nline 23: field 'care_site_id' is not defined for table 'visit_payer'\r\nline 24: field 'provider_id' is not defined for table 'fact_relationship'\r\nline 24: field 'provider_id' is not defined for table 'visit_payer'\r\nline 25: field 'provider_id' is not defined for table 'fact_relationship'\r\nline 25: field 'provider_id' is not defined for table 'visit_payer'\r\nline 26: field 'person_id' is not defined for table 'fact_relationship'\r\nline 26: field 'person_id' is not defined for table 'visit_payer'\r\nline 26: field 'visit_occurrence_id' is not defined for table 'fact_relationship'\r\nline 27: field 'person_id' is not defined for table 'fact_relationship'\r\nline 27: field 'person_id' is not defined for table 'visit_payer'\r\nline 27: field 'visit_occurrence_id' is not defined for table 'fact_relationship'\r\nline 28: field 'person_id' is not defined for table 'fact_relationship'\r\nline 28: field 'person_id' is not defined for table 'visit_payer'\r\nline 28: field 'visit_occurrence_id' is not defined for table 'fact_relationship'\r\nline 29: field 'person_id' is not defined for table 'fact_relationship'\r\nline 29: field 'person_id' is not defined for table 'visit_payer'\r\nline 29: field 'visit_occurrence_id' is not defined for table 'fact_relationship'\r\nline 30: field 'visit_occurrence_id' is not defined for table 'fact_relationship'\r\nline 31: field 'visit_occurrence_id' is not defined for table 'fact_relationship'\r\n```"}}