Inherited description: This callback method is invoked by the %New() method to
provide notification that a new instance of an object is being created.
If this method returns an error then the object will not be created.
It is passed the arguments provided in the %New call.
When customizing this method, override the arguments with whatever variables and types you expect to receive from %New().
For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:
Method %OnNew(dob as %Date = "", name as %Name = "") as %Status
If instead of returning a %Status code this returns an oref and this oref is a subclass of the current
class then this oref will be the one returned to the caller of %New method.
Return this object instance as a string. URI-encode the value
part, if indicated by encodeValue. encodeValue default is 1
(true) for backward compatibility.
method CompositeORConditionAsList(pORPosition As %Integer) as %List
Returns the specified composite OR condition value as a $List whose
elements are the two sides of the $-delimited composite value, each
element being a $List of the unescaped vertical bar pieces of the
composite side. Example:
- $lb( $lb("http://loinc.org", "2823-3"), $lb("gt5.4", "http://unitsofmeasure.org", "mmol/L") )
method NonCompositeORConditionAsList(pORPosition As %Integer) as %List
Returns the specified non-composite OR condition value as a $List whose
elements are the unescaped vertical bar pieces of the value. Examples:
- $lb("smith")
- $lb("http://loinc.org", "8302-2")
- $lb("56.03", "http://unitsofmeasure.org", "cm")
method ORConditionAsEscapedString(pORPosition As %Integer) as %String
Return the specified OR condition as a string, with escaping backslashes removed.
The returned value reflects the application of escaping of the reserved characters,
and reflects what should actually be applied as the search value.
Return a SearchQueryParameter object that represents only a single
specified OR condition of this object.
method ORConditionAsUnEscapedString(pORPosition As %Integer) as %String
Return the specified OR condition as a string, with escaping backslashes retained.
The returned value reflects what the FHIR request URL included for the specified
OR condition.