/// 病人查询
Class SystemPages.NurseWork.PatientSquery Extends %ZEN.Component.page
{
/// Class name of application this page belongs to.
Parameter APPLICATION = "SystemPages.HisApp";
/// Displayed name of this page.
Parameter PAGENAME;
/// Domain used for localization.
Parameter DOMAIN = 1.0;
/// This Style block contains page-specific CSS style definitions.
XData Style
{
< style type ="text/css" >
</ style >
}
/// This XML block defines the contents of this page.
XData Contents [ XMLNamespace = "http://www.intersystems.com/zen" ]
{
< page xmlns ="http://www.intersystems.com/zen" title ="病人总数页面" >
< spacer height ="7" />
< hgroup labelPosition ="left" >
< spacer width ="7" />
< select id ="PatientID" align ="left" sql ="select PatientID from SystemConsole_Medical_NurseWork.PatientSquery" />
< spacer width ="7" />
< label id ="" label ="当前病人数量是" />
< label id ="PatientNum" />
< label id ="" label ="人" />
</ hgroup >
</ page >
}
/// 页面初始化
Method onloadHandler() [ Language = javascript ]
{
zenPage.setLable()
}
Class SystemPages.NurseWork.PatientSquery Extends %ZEN.Component.page
{
/// Class name of application this page belongs to.
Parameter APPLICATION = "SystemPages.HisApp";
/// Displayed name of this page.
Parameter PAGENAME;
/// Domain used for localization.
Parameter DOMAIN = 1.0;
/// This Style block contains page-specific CSS style definitions.
XData Style
{
< style type ="text/css" >
</ style >
}
/// This XML block defines the contents of this page.
XData Contents [ XMLNamespace = "http://www.intersystems.com/zen" ]
{
< page xmlns ="http://www.intersystems.com/zen" title ="病人总数页面" >
< spacer height ="7" />
< hgroup labelPosition ="left" >
< spacer width ="7" />
< select id ="PatientID" align ="left" sql ="select PatientID from SystemConsole_Medical_NurseWork.PatientSquery" />
< spacer width ="7" />
< label id ="" label ="当前病人数量是" />
< label id ="PatientNum" />
< label id ="" label ="人" />
</ hgroup >
</ page >
}
/// 页面初始化
Method onloadHandler() [ Language = javascript ]
{
zenPage.setLable()
}