Question and Answering¶
Step 1 :
on clicking Question and Answering module , application is redirected to page with Serach box with predefined queries and Submit button.User can also submit his own query .When user enters question and click on submit ,we start the process on that question.
Step 2 :
On clicking submit button in QASTATS.JS, it sends request to QAServlet.JAVA
Step 3 :
From QAServlet.init() method we initialize GATE
i.e Plugins like 'ANNIE, StringAnnotation' are loaded , and default Processing Resources like 'SentenceSplitter, POSTaggeretc..' are also loaded.
Step 4 :
In QAServlet.doPost() method ,we load Japes,Defs,creating Corpus,finally all these Gazetters,Rules are applied on this question.
Step 5 :
Finally from the Qanalysis.Jape we get AnnotationSet 'Question' and looks like following:
'Age:40_100 | Gender:Male |Disease:diabeties@positive_COPD@Negative |Lab:wbc_12000_100000 '.
Step 6 :
Then above syntax is splitted and sent for StoredProcedure 'ProcessQandAConditions'.
Step 7 : From 'ProcessQandAConditions' stored procedure we get 2 – ResultSets Final patient table , statistics to display.
- Statistics [for Charts i.e individual entry counts.]
- Final Patient Table i.e AccountNo,Admitdate,Dischargedate etc..
## WorkFlow of Question and Answering Question and Answering  Question and Answering Analysis 