Skip to main content


abstract class EnsPortal.HL7.SourceControl.Base

This class is for internal InterSystems use only. The class is subject to change and should not be used by user applications.

Used by HL7 Schema editor pages to be source control aware.

Property Inventory

Method Inventory


property msgDocReadOnly as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("This custom schema is read only.") ];
Property methods: msgDocReadOnlyDisplayToLogical(), msgDocReadOnlyGet(), msgDocReadOnlyIsValid(), msgDocReadOnlyLogicalToDisplay(), msgDocReadOnlyLogicalToOdbc(), msgDocReadOnlyNormalize(), msgDocReadOnlySet()
property msgSCReadOnly as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Your source control framework has marked this document as read only, so you will not be able to modify this document.") ];
Property methods: msgSCReadOnlyDisplayToLogical(), msgSCReadOnlyGet(), msgSCReadOnlyIsValid(), msgSCReadOnlyLogicalToDisplay(), msgSCReadOnlyLogicalToOdbc(), msgSCReadOnlyNormalize(), msgSCReadOnlySet()
property readOnly as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, user cannot modify the current document.
Property methods: readOnlyDisplayToLogical(), readOnlyGet(), readOnlyIsValid(), readOnlyLogicalToDisplay(), readOnlyLogicalToOdbc(), readOnlyNormalize(), readOnlySet()
property sourceControlEnabled as %ZEN.Datatype.boolean [ InitialExpression = ##class(%CSP.Portal.SourceControl.Util).IsEnabled($namespace) ];
Flag to indicate whether source control hooks are enabled for the current namespace.
Property methods: sourceControlEnabledDisplayToLogical(), sourceControlEnabledGet(), sourceControlEnabledIsValid(), sourceControlEnabledLogicalToDisplay(), sourceControlEnabledLogicalToOdbc(), sourceControlEnabledNormalize(), sourceControlEnabledSet()
property sourceControlNewlineFormat as %ZEN.Datatype.string [ InitialExpression = "HTML" ];
Property methods: sourceControlNewlineFormatDisplayToLogical(), sourceControlNewlineFormatGet(), sourceControlNewlineFormatIsValid(), sourceControlNewlineFormatLogicalToDisplay(), sourceControlNewlineFormatLogicalToOdbc(), sourceControlNewlineFormatNormalize(), sourceControlNewlineFormatSet()


method GetInternalName() as %String
Return the internal name of the current document.
method IsSchemaSCReadOnly() as %Boolean [ ZenMethod ]
clientmethod canUserModify(saveAs) [ Language = javascript ]
Test if the user has write privilege.
method scCategoryGet() as %String
Override to return correct Category
clientmethod scDisabled() [ Language = javascript ]
clientmethod setReadOnly(readOnly) [ Language = javascript ]


FeedbackOpens in a new tab