%DeepSee.UI.QualityMeasures
Class %DeepSee.UI.QualityMeasures Extends (%DeepSee.UI.standardPage, %CSP.Portal.SourceControl.Base) [ System = 4 ]
DeepSee Quality Measure manager page.
Parameters
PAGENAME
Parameter PAGENAME = "Quality Measures Manager";
Displayed name of this page.
DEFAULTVIEWMODE;
Parameter DEFAULTVIEWMODE;
If this page has multiple views, this is its initial display mode.
DOCBOOKID
Parameter DOCBOOKID = "D2MODADV_ch_qualmeas";
RESOURCE
Parameter RESOURCE = "%DeepSee_PortalEdit";
Properties
qmsrName
Property qmsrName As %ZEN.Datatype.string(ZENURL = "QMSR");
Name of Quality Measure we are looking at (without extension).
qmsrClass
Property qmsrClass As %ZEN.Datatype.string;
Name of class that defines the Quality Measure.
editMode
Property editMode As %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, then show edit controls.
browseMode
Property browseMode As %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, then show list of catalogs etc.
%model
Property %model As %DeepSee.Model.QualityMeasure.qualityMeasure;
Local copy of qmsr model object.
XDatas
CSS3Style
XData CSS3Style
This Style block contains page-specific CSS 3 style definitions.
Style
XData Style
This Style block contains page-specific CSS style definitions.
contentPane
XData contentPane [ XMLNamespace = "http://www.intersystems.com/zen" ]
Methods
GetQMsrList
Method GetQMsrList(ByRef pParameters, Output pMetaData, Output pData) As %Status
Return JSON array of qmeasures.
GetQMsrDefinition
Method GetQMsrDefinition(ByRef pParms, Output pObject As %RegisteredObject) As %Status
Get QMsr definition for JSON provider.
DrawNavigator
Method DrawNavigator(pSeed As %String) As %Status
Draw the quality measures details pane.
DrawHelp
Method DrawHelp(pSeed As %String) As %Status
Draw the "help" pane. This displays help on the current selection.
GetInternalName
Method GetInternalName() As %String
Return the internal name of the current document, including the three letter extension in upper-case. For example, MyPackage.MyClass.CLS would be the internal name for the class MyPackage.MyClass.
getCurrentName
ClientMethod getCurrentName() [ Language = javascript ]
Return the current name of the class/object being modified.
getPageTitle
ClientMethod getPageTitle() As %String [ Language = javascript ]
Get the title string to add to the locator row. This should be implemented in a subclass.
getClientModel
ClientMethod getClientModel() [ Language = javascript ]
Get the jsonProvider object on the client.
onDocumentLoadComplete
ClientMethod onDocumentLoadComplete() [ Language = javascript ]
Callback method invoked after we have successfully loaded the current document.
%OnDrawHTMLHead
Method %OnDrawHTMLHead() As %Status
This callback is called at the end of the HTML HEAD section of the page.
OnDrawRibbon
Method OnDrawRibbon() As %Status
Draw additional stuff in the ribbon bar
%OnGetTitle
Method %OnGetTitle() As %String
Get the (localized) title string for the page. This should be implemented in a subclass.
%OnGetPageName
Method %OnGetPageName() As %String
Get the (localized) name of the page.
%OnGetProductName
Method %OnGetProductName() As %String
Get the product name for the page.
OnGetRibbonInfo
Method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List) As %Status
Get information to display in the ribbon bar.
changeMeasure
ClientMethod changeMeasure() [ Language = javascript ]
Launch the quality measure finder dialog.
changeSubjectArea
ClientMethod changeSubjectArea() [ Language = javascript ]
Launch the subject area finder dialog.
changeLinkedTo
ClientMethod changeLinkedTo() [ Language = javascript ]
Launch the master quality measure finder dialog.
onloadHandler
ClientMethod onloadHandler() [ Language = javascript ]
Add check to ensure that we correctly load documents on the client when source control hooks are in use. Also set up a timer to ensure we don't hit timeouts while editing documents in Studio, as well as When in Studio mode, also detect whether we are running IE10, as we need to save documents differently if that is the case.
onlayoutHandler
ClientMethod onlayoutHandler(load) [ Language = javascript ]
Adjust sizes of components on the page.
adjustSizes
ClientMethod adjustSizes() [ Language = javascript ]
Adjust sizes of components on the page.
%OnAfterCreatePage
Method %OnAfterCreatePage() As %Status
This class method callback is called just before the server-side page object is created.
onPopupAction
ClientMethod onPopupAction(popupName, action, value) [ Language = javascript ]
This client event is fired when the a popup page launched from this page fires an action.
loadMeasure
ClientMethod loadMeasure(name, force) [ Language = javascript ]
Display a different measure.
setTitleText
ClientMethod setTitleText() [ Language = javascript ]
Set content of title bar.
canUserModify
ClientMethod canUserModify() [ Language = javascript ]
Test if the user has write privilege.
searchBoxHandler
ClientMethod searchBoxHandler(searchKey) [ Language = javascript ]
Change in search box value. Can be overridden by subclasses.
updateList
ClientMethod updateList() [ Language = javascript ]
Update the details pane.
browse
ClientMethod browse() [ Language = javascript ]
Set browse mode.
editMeasure
ClientMethod editMeasure() [ Language = javascript ]
Start/stop edit mode.
newMeasure
ClientMethod newMeasure() [ Language = javascript ]
Create a new quality measure.
saveMeasure
ClientMethod saveMeasure(showDialog) [ Language = javascript ]
Save measure.
deleteMeasure
ClientMethod deleteMeasure() [ Language = javascript ]
Delete measure.
GetClassName
ClassMethod GetClassName(pName As %String) As %String [ ZenMethod ]
Find the class name for the qmsr.
DeleteQMeasure
ClassMethod DeleteQMeasure(pName As %String) As %String [ ZenMethod ]
Delete the given qmsr.
SubmitQMsr
Method SubmitQMsr(pCommand As %String, pProvider As %ZEN.Auxiliary.jsonProvider, pSubmitObject As %RegisteredObject, ByRef pResponseObject As %RegisteredObject) As %Status
Object submit handler JSON provider. This is called when the client submits the qmsr definition.
editValue
ClientMethod editValue(id) [ Language = javascript ]
Edit the given value.
deleteItem
ClientMethod deleteItem(id) [ Language = javascript ]
Delete the given item.
moveItem
ClientMethod moveItem(id, up) [ Language = javascript ]
Move the given item.
addItem
ClientMethod addItem(id, idx) [ Language = javascript ]
Add an item to the model.
applyChange
ClientMethod applyChange() [ Language = javascript ]
Apply change from dialog
renderDetails
ClientMethod renderDetails() [ Language = javascript ]
Draw details using JSON model.
renderCatalog
ClientMethod renderCatalog() [ Language = javascript ]
Draw qmsr catalog using JSON list.
setReadOnly
ClientMethod setReadOnly(readOnly) [ Language = javascript ]
method used by Source Control to set the value of the readOnly flag.
%OnPreHTTP
ClassMethod %OnPreHTTP() As %Boolean [ ServerOnly = 1 ]
Test for additional resources.