source: EDIS/trunk/java/tracking-ui-core/src/main/flex/gov/va/med/edp/command/reports/LoadMissedOpReportCommand.as@ 1227

Last change on this file since 1227 was 1227, checked in by George Lilly, 13 years ago

initial load of EDIS 1.0

File size: 856 bytes
RevLine 
[1227]1/* LoadMissedOpReportCommand.as */
2
3package gov.va.med.edp.command.reports
4{
5 import gov.va.med.edp.control.reports.ReportEvent;
6 import gov.va.med.edp.factory.ReportFactory;
7
8 import mx.rpc.events.ResultEvent;
9
10 public class LoadMissedOpReportCommand extends BaseReportCommand
11 {
12
13 override public function result(data:Object):void
14 {
15 var xml:XML = ResultEvent(data).result as XML;
16 // process the xml
17 //add missedOp logs to model
18 model.reports.missedOpReport.missedOpLogs = ReportFactory.buildReportLogEntriesFromXML(xml.logEntries.log);
19 //Add disposition codes data..
20 ReportFactory.buildMissedOpDispositionCodes(model.reports.missedOpReport, xml.totals);
21
22 //fire the binding..
23 model.reports.reportType = "";
24 model.reports.reportType = ReportEvent.EVENT_MISSED_OP_REPORT;
25 }
26
27 }
28}
Note: See TracBrowser for help on using the repository browser.