Skip to main content

HS.InteropTools.HL7.Compare.StoredValue

persistent class HS.InteropTools.HL7.Compare.StoredValue extends %Library.Persistent

SQL Table Name: HS_InteropTools_HL7_Compare.StoredValue

Object to hold a string or stream of a value and calculate a hash for the value which will be used to match existing values, and return the same ID

Property Inventory

Method Inventory

Parameters

parameter VALUELEN = 3000000;

Properties

property Hash as %String;
Property methods: HashDisplayToLogical(), HashGet(), HashGetStored(), HashIsValid(), HashLogicalToDisplay(), HashLogicalToOdbc(), HashNormalize(), HashSet()
property ValueItem as %String (MAXLEN = 3000000);
Property methods: ValueItemDisplayToLogical(), ValueItemGet(), ValueItemGetStored(), ValueItemIsValid(), ValueItemLogicalToDisplay(), ValueItemLogicalToOdbc(), ValueItemNormalize(), ValueItemSet()
property ValueStream as %Stream.GlobalCharacter;
Property methods: ValueStreamDelete(), ValueStreamGet(), ValueStreamGetObject(), ValueStreamGetObjectId(), ValueStreamGetStored(), ValueStreamGetSwizzled(), ValueStreamIsValid(), ValueStreamNewObject(), ValueStreamOid(), ValueStreamOpen(), ValueStreamSet(), ValueStreamSetObject(), ValueStreamSetObjectId(), ValueStreamUnSwizzle()

Methods

classmethod Get200(pID As %Integer) as %String
@API @argument pID ID of stored value @returns first 200 characters of string (appending ... if it exceeds 200 characters)
classmethod HashValue(pValue As %String, pSaveValue As %Boolean = 0) as %Integer
@API @argument pValue is either a simple string or a Stream @argument pSaveValue - Boolean whether to save pValue or just hash it @returns Integer of unique hashed value id
method WriteValue(pStream, pEscape, pField, pComponent, pRepeat, pSubcomponent)

Indexes

index (HashIndex on Hash) [Unique];
Index methods: HashIndexCheck(), HashIndexCheckUnique(), HashIndexDelete(), HashIndexExists(), HashIndexOpen(), HashIndexSQLCheckUnique(), HashIndexSQLExists(), HashIndexSQLFindPKeyByConstraint(), HashIndexSQLFindRowIDByConstraint()
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (HS.InteropTools.HL7.Compare.StoredValue)

^HS.IT.Comp.SValD(ID)
=
%%CLASSNAME
ValueItem
ValueStream
Hash
FeedbackOpens in a new tab