[1240] | 1 | <?xml version="1.0" ?>
|
---|
| 2 | <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"
|
---|
| 3 | xmlns:widget="gov.va.med.edp.widget.*"
|
---|
| 4 | xmlns:accessibility="flash.accessibility.*">
|
---|
| 5 | <mx:Script><![CDATA[
|
---|
| 6 | import mx.collections.ArrayCollection;
|
---|
| 7 | import gov.va.med.edp.pt.demog.model.PatientRecordFlagVO;
|
---|
| 8 |
|
---|
| 9 | [Bindable]
|
---|
| 10 | public var baseTabIndex:int;
|
---|
| 11 |
|
---|
| 12 | [Bindable]
|
---|
| 13 | public var flags:ArrayCollection;
|
---|
| 14 |
|
---|
| 15 | ]]></mx:Script>
|
---|
| 16 | <mx:DataGrid
|
---|
| 17 | id="ptRecordFlagsGrid"
|
---|
| 18 | accessibilityProperties="{accessibleMessage}"
|
---|
| 19 | dataProvider="{flags}"
|
---|
| 20 | tabIndex="{baseTabIndex}"
|
---|
| 21 | rowCount="4"
|
---|
| 22 | width="100%"
|
---|
| 23 | selectedIndex="0">
|
---|
| 24 | <mx:columns>
|
---|
| 25 | <mx:DataGridColumn dataField="name" headerText="Active Flag"/>
|
---|
| 26 | </mx:columns>
|
---|
| 27 | </mx:DataGrid>
|
---|
| 28 |
|
---|
| 29 | <mx:VBox id="formBox" width="100%">
|
---|
| 30 | <mx:Form id="ptRecordFlagDetailForm" borderThickness="1" borderStyle="solid" tabChildren="true" width="100%">
|
---|
| 31 | <mx:FormItem label="Flag Name">
|
---|
| 32 | <widget:AccessibleLabel text="{ptRecordFlagsGrid.selectedItem.name}"
|
---|
| 33 | accessibleText="{ptRecordFlagsGrid.selectedItem.name}" tabIndex="{baseTabIndex + 1}" styleName="formField"/>
|
---|
| 34 | </mx:FormItem>
|
---|
| 35 | <mx:FormItem label="Assignment Narrative" paddingRight="0">
|
---|
| 36 | <mx:TextArea id="txtAssNarrative" borderThickness="0" tabIndex="{baseTabIndex + 2}" editable="false" paddingRight="0"
|
---|
| 37 | text="{ptRecordFlagsGrid.selectedItem.text}"
|
---|
| 38 | toolTip="{ptRecordFlagsGrid.selectedItem.text}" styleName="formField"/>
|
---|
| 39 | </mx:FormItem>
|
---|
| 40 | <mx:FormItem label="Flag Type">
|
---|
| 41 | <widget:AccessibleLabel text="{ptRecordFlagsGrid.selectedItem.type}"
|
---|
| 42 | accessibleText="{ptRecordFlagsGrid.selectedItem.type}" tabIndex="{baseTabIndex + 3}" styleName="formField"/>
|
---|
| 43 | </mx:FormItem>
|
---|
| 44 | <mx:FormItem label="Flag Category">
|
---|
| 45 | <widget:AccessibleLabel text="{ptRecordFlagsGrid.selectedItem.category}"
|
---|
| 46 | accessibleText="{ptRecordFlagsGrid.selectedItem.category}" tabIndex="{baseTabIndex + 4}" styleName="formField"/>
|
---|
| 47 | </mx:FormItem>
|
---|
| 48 | <mx:FormItem label="Assignment Status">
|
---|
| 49 | <widget:AccessibleLabel text="Active" accessibleText="Active" tabIndex="{baseTabIndex + 5}" styleName="formField"/>
|
---|
| 50 | </mx:FormItem>
|
---|
| 51 | <mx:FormItem label="Initial Assigned Date">
|
---|
| 52 | <widget:AccessibleLabel text="{fmtDt.format(ptRecordFlagsGrid.selectedItem.assignDate)}"
|
---|
| 53 | accessibleText="{fmtDt.format(ptRecordFlagsGrid.selectedItem.assignDate)}"
|
---|
| 54 | tabIndex="{baseTabIndex + 6}" styleName="formField"/>
|
---|
| 55 | </mx:FormItem>
|
---|
| 56 | <mx:FormItem label="Approved By">
|
---|
| 57 | <widget:AccessibleLabel text="{ptRecordFlagsGrid.selectedItem.approved}"
|
---|
| 58 | accessibleText="{ptRecordFlagsGrid.selectedItem.approved}" tabIndex="{baseTabIndex + 7}" styleName="formField"/>
|
---|
| 59 | </mx:FormItem>
|
---|
| 60 | <mx:FormItem label="Next Review Date">
|
---|
| 61 | <widget:AccessibleLabel text="{fmtDt.format(ptRecordFlagsGrid.selectedItem.nextReviewDate)}"
|
---|
| 62 | accessibleText="{fmtDt.format(ptRecordFlagsGrid.selectedItem.nextReviewDate)}"
|
---|
| 63 | tabIndex="{baseTabIndex + 8}" styleName="formField"/>
|
---|
| 64 | </mx:FormItem>
|
---|
| 65 | <mx:FormItem label="Owner Site">
|
---|
| 66 | <widget:AccessibleLabel text="{ptRecordFlagsGrid.selectedItem.ownerSite}"
|
---|
| 67 | accessibleText="{ptRecordFlagsGrid.selectedItem.ownerSite}" tabIndex="{baseTabIndex + 9}" styleName="formField"/>
|
---|
| 68 | </mx:FormItem>
|
---|
| 69 | <mx:FormItem label="Originating Site">
|
---|
| 70 | <widget:AccessibleLabel text="{ptRecordFlagsGrid.selectedItem.originatingSite}"
|
---|
| 71 | accessibleText="{ptRecordFlagsGrid.selectedItem.originatingSite}"
|
---|
| 72 | tabIndex="{baseTabIndex + 10}" styleName="formField"/>
|
---|
| 73 | </mx:FormItem>
|
---|
| 74 | </mx:Form>
|
---|
| 75 |
|
---|
| 76 | <!--
|
---|
| 77 | linked progress notes are not currently used
|
---|
| 78 |
|
---|
| 79 | <mx:Label width="100%" text="Signed, Linked Notes of Title: Patient Record Flag Category" styleName="subTitle"/>
|
---|
| 80 | <mx:DataGrid
|
---|
| 81 | id="signedLinkedNotesGrid"
|
---|
| 82 | initialize="{AccessibilityTools.accessComponentName(signedLinkedNotesGrid,'Signed, Linked Notes of Title: Patient Record Flag Category')}"
|
---|
| 83 | width="100%"
|
---|
| 84 | rowCount="3"
|
---|
| 85 | click="{displayNoteText()}">
|
---|
| 86 | <mx:columns>
|
---|
| 87 | <mx:DataGridColumn dataField="noteDate" headerText="Date"/>
|
---|
| 88 | <mx:DataGridColumn dataField="action" headerText="Action"/>
|
---|
| 89 | <mx:DataGridColumn dataField="author" headerText="Author"/>
|
---|
| 90 | </mx:columns>
|
---|
| 91 | </mx:DataGrid>
|
---|
| 92 | -->
|
---|
| 93 |
|
---|
| 94 | </mx:VBox>
|
---|
| 95 | <mx:DateFormatter id="fmtDt" formatString="D MMM YY H:NN"/>
|
---|
| 96 | <accessibility:AccessibilityProperties name="Patient Record Flags" id="accessibleMessage"/>
|
---|
| 97 | </mx:VBox> |
---|