TH Other 1 Category SQL Functions

CASCO_TH_Other1

Display the name of all selected other1 therapies and the value descriptor for the case.

 

Return Value:

Returns a text list of all selected other1 therapies with the value descriptor.

Parameters:

CaseNumber, CenterCode, YearCode: Uniquely Identifies the case for which the information should be returned

Delimiter: Characters to display for each separate value.

Value Descriptor:

0 = long description (e.g. Recommended, Performed, etc.)

1 = short description (e.g. R, P, etc.)

Example:

(dbo.CASCO_TH_Other1(ToxPat.CaseNumber, ToxPat.CenterCode, ToxPat.YearCode, ', ', 0)) AS TH_Other1

CASCO_TH_Any_Other1

Determine if any other1 therapies have been selected for the case.

 

Return Value:

Returns a value of 1 if any other1 therapy is selected.

Returns a value of 0 if no other1 therapies are selected.

Parameters:

CaseNumber, CenterCode, YearCode: Uniquely Identifies the case for which the information should be returned

Delimiter: Characters to display for each separate value.

Example:                  

(dbo.CASCO_TH_Any_Other1(ToxPat.CaseNumber, ToxPat.CenterCode, ToxPat.YearCode)) AS TH_Any_Other1