Home > Class Reference > HSLIB namespace > HS.Types.Boolean

HS.Types.Boolean

datatype class HS.Types.Boolean extends %Library.Boolean

ODBC Type: BIT

HealthShare-specific version of %Boolean so that on XML import we do not
lose the delete instruction (two double quotes) to validation.

Method Inventory (Including Private)

Methods (Including Private)

classmethod DisplayToLogical(%val As %String) as %Boolean [ Language = objectscript ]
Converts the input value %val, which is a string representing a boolean value, into a boolean value.

Returns the boolean value of the input string %val.

classmethod IsValidDT(%val As %Library.RawString = "") as %Status [ Language = objectscript ]
Based on the based on the IsValid method of the superclass, but adds a case
for the delete instruction so it is valid.
classmethod LogicalToXSD(%val As %Boolean) as %String [ Language = objectscript ]
Inherited description: Converts the %Boolean value to the canonical SOAP encoded value.
classmethod Normalize(%val As %Library.RawString) as %Boolean [ Language = objectscript ]
Converts %val to a normalized value.
classmethod XSDToLogical(%val As %String) as %Boolean [ Language = objectscript ]
Based on the superclass method, but adds a case for the delete instruction
so that it is unchanged.

Inherited Members

Inherited Methods (Including Private)

Subclasses

FeedbackOpens in a new window