Line | |
---|
1 | /* LoadActivityReportCommand.as */
|
---|
2 |
|
---|
3 | package gov.va.med.edp.command.reports
|
---|
4 | {
|
---|
5 | import com.adobe.cairngorm.control.CairngormEvent;
|
---|
6 |
|
---|
7 | import gov.va.med.edp.business.reports.ReportDelegate;
|
---|
8 | import gov.va.med.edp.control.reports.ReportEvent;
|
---|
9 | import gov.va.med.edp.factory.ReportFactory;
|
---|
10 | import gov.va.med.edp.model.TrackingModelLocator;
|
---|
11 |
|
---|
12 | import mx.rpc.events.ResultEvent;
|
---|
13 |
|
---|
14 | public class LoadPatientXRefReportCommand extends BaseReportCommand
|
---|
15 | {
|
---|
16 |
|
---|
17 | override public function result(data:Object):void
|
---|
18 | {
|
---|
19 | var xml:XML = ResultEvent(data).result as XML;
|
---|
20 | // process the xml
|
---|
21 | //add acuity stats to model
|
---|
22 | model.reports.patientXRefReport.patientXRefList = ReportFactory.buildPatientXRefListFromXML(xml.patients.patient);
|
---|
23 |
|
---|
24 | //fire the binding..
|
---|
25 | model.reports.reportType = "";
|
---|
26 | model.reports.reportType = ReportEvent.EVENT_PATIENT_XREF_REPORT;
|
---|
27 | }
|
---|
28 |
|
---|
29 | }
|
---|
30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.