-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathAddNote.ewd
More file actions
38 lines (36 loc) · 1.91 KB
/
AddNote.ewd
File metadata and controls
38 lines (36 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<ext4:fragment onBeforeRender="InitNote^LeedsPort">
<ext4:js at="top">
if (Ext.getCmp('NOFormPanel')!=undefined) {Ext.getCmp('NOFormPanel').destroy();};
</ext4:js>
<ext4:js at="bottom">
if ('<?= #EditMode ?>'=="true") {
Ext.getCmp('NOFormPanel').setTitle('Display Clinical Note');
Ext.getCmp('NOdate').setReadOnly(true);Ext.getCmp('NOdate').setFieldStyle('color:blue');
Ext.getCmp('NOtime').setReadOnly(true);Ext.getCmp('NOtime').setFieldStyle('color:blue');
Ext.getCmp('NOnote').setReadOnly(true);Ext.getCmp('NOnote').setFieldStyle('color:blue');
Ext.getCmp('NOauth').setReadOnly(true);Ext.getCmp('NOauth').setFieldStyle('color:blue');
Ext.getCmp('subBsaveNote').hide();
}
if ('<?= #EditMode ?>'=="true") {
Ext.getCmp('EastPanel').show();
}
else {
Ext.getCmp('<?= #EdDispWin ?>').show();
};
</ext4:js>
<ext4:formPanel id="NOFormPanel" title="Add Clinical Note" bodyPadding="10">
<ext4:fieldset title="Patient Details" collapsible="false">
<ext4:fieldDefaults labelWidth="120"/>
<ext4:displayfield id="CPpatFN" fieldLabel="Patient FirstName" value="*" />
<ext4:displayfield id="CPpatLN" fieldLabel="Patient Surname" value="*" />
<ext4:displayfield id="CPpatID" fieldLabel="Patient Identifier" width="150" value="*"/>
<ext4:displayfield id="CPepNO" fieldlabel="Episode" width="150" value="*"/>
</ext4:fieldset>
<ext4:displayfield id="NOID" fieldLabel="Note Number" width="150" value="*"/>
<ext4:field type="datefield" id="NOdate" fieldLabel="Date" width="200" value="*" format="d/m/Y" />
<ext4:field type="timefield" id="NOtime" fieldLabel="Time" width="200" value="*" format="24Hour" />
<ext4:textareafield grow="true" fieldLabel="Clinical Note" name="NOnote" width="350" height="200" value="*" />
<ext4:textfield id="NOauth" fieldLabel="Author" allowBlank="false" value="*" />
<ext4:submitbutton id="subBsaveNote" text="Save" nextPage="SaveNote" addTo="SouthPanel" />
</ext4:formPanel>
</ext4:fragment>