FUNCTION FINDINGS 

 FOUND TEXT:
The last three (3) screens were negative  homelessness screening now set
to every 2 years.
 LOGIC: (FN(1)>2)&(FN(2)>2)
 FUNCTION STRING: (COUNT(2)>2)&(COUNT(4)>2)
 NO. FOUND TEXT LINES: 2
 NO. NOT FOUND TEXT LINES: 0
 FUNCTION LIST:


 FUNCTION NUMBER: 1
 FUNCTION: COUNT
 FUNCTION PARAMETER LIST:



 FUNCTION NUMBER: 2
 FUNCTION: COUNT
 FUNCTION PARAMETER LIST:



 LOGIC: FN(1)>0
 FUNCTION STRING: DTIME_DIFF(2,3,"DATE",3,1,"DATE","D")>0
 NO. FOUND TEXT LINES: 0
 NO. NOT FOUND TEXT LINES: 0
 FUNCTION LIST:


 FUNCTION NUMBER: 1
 FUNCTION: DTIME_DIFF
 FUNCTION PARAMETER LIST:




 FUNCTION PARAMETER: DATE



 FUNCTION PARAMETER: DATE

 FUNCTION PARAMETER: D

 LOGIC: FN(1)>0
 FUNCTION STRING: DTIME_DIFF(4,3,"DATE",3,1,"DATE","D")>0
 NO. FOUND TEXT LINES: 0
 NO. NOT FOUND TEXT LINES: 0
 FUNCTION LIST:


 FUNCTION NUMBER: 1
 FUNCTION: DTIME_DIFF
 FUNCTION PARAMETER LIST:




 FUNCTION PARAMETER: DATE



 FUNCTION PARAMETER: DATE

 FUNCTION PARAMETER: D

 LOGIC: FN(1)>0
 FUNCTION STRING: DTIME_DIFF(4,3,"DATE",5,1,"DATE","D")>0
 NO. FOUND TEXT LINES: 0
 NO. NOT FOUND TEXT LINES: 0
 FUNCTION LIST:


 FUNCTION NUMBER: 1
 FUNCTION: DTIME_DIFF
 FUNCTION PARAMETER LIST:




 FUNCTION PARAMETER: DATE



 FUNCTION PARAMETER: DATE

 FUNCTION PARAMETER: D

 LOGIC: FN(1)>0
 FUNCTION STRING: DTIME_DIFF(2,3,"DATE",5,1,"DATE","D")>0
 NO. FOUND TEXT LINES: 0
 NO. NOT FOUND TEXT LINES: 0
 FUNCTION LIST:


 FUNCTION NUMBER: 1
 FUNCTION: DTIME_DIFF
 FUNCTION PARAMETER LIST:




 FUNCTION PARAMETER: DATE



 FUNCTION PARAMETER: DATE

 FUNCTION PARAMETER: D

 LOGIC: (FN(1)=0)&(FN(2)=0)
 FUNCTION STRING: (COUNT(3)=0)&(COUNT(5)=0)
 NO. FOUND TEXT LINES: 0
 NO. NOT FOUND TEXT LINES: 0
 FUNCTION LIST:


 FUNCTION NUMBER: 1
 FUNCTION: COUNT
 FUNCTION PARAMETER LIST:



 FUNCTION NUMBER: 2
 FUNCTION: COUNT
 FUNCTION PARAMETER LIST:



TECHNICAL DESCRIPTION 
The frequency of the main reminder (VAHOMELESSNESS SCREENING) is set to 1
and more recent than any positive Health Factor finding.
Finding #2 (Current Stable Housing) and Finding #4 (No concerns about
housing in the near future) are required for a NEGATIVE Screen, which
resolves for 1 year. If three consecutive screens are negative, the
reminder will be resolved for 2 years  using the complex number of
Function Findings  the sole reason for this Reminder Definition.
Function Finding 1 looks for 3 negative screens.
year, but somewhat complex resolution logic was necessary, so that various
Function Findings #2  #6 ensure that the NEGATIVE Screens are both
consecutive and more recent than any negative screen.
 Begin:
FF(1)
Function String: (COUNT(2)>2)&(COUNT(4)>2)
Expanded Function String:
(COUNT(NEGATIVE  HAS STABLE HOUSING)>2)&(COUNT(
NEGATIVE  HAS NO HOUSING CONCERNS)>2)
Match Frequency/Age: 2 years for all ages
findings and conditions resolve the reminder for different time frames.
Use in Resolution Logic: OR
Found Text: The last three (3) screens were negative 
homelessness screening now set to every 2
years.
 End: FF(1)

 Begin:
FF(2)
Function String: DTIME_DIFF(2,3,"DATE",3,1,"DATE","D")>0
Expanded Function String:
DTIME_DIFF(NEGATIVE  HAS STABLE HOUSING,3,"DATE",
POSITIVE  HAS WORRIES ABOUT HOUSING,1,"DATE","D")>0
 End: FF(2)

 Begin:
FF(3)
Function String: DTIME_DIFF(4,3,"DATE",3,1,"DATE","D")>0
Function Finding #1 was used to ensure that if the Veteran screened
Expanded Function String:
DTIME_DIFF(NEGATIVE  HAS NO HOUSING CONCERNS,3,"DATE",
POSITIVE  HAS WORRIES ABOUT HOUSING,1,"DATE","D")>0
 End: FF(3)

 Begin:
FF(4)
Function String: DTIME_DIFF(4,3,"DATE",5,1,"DATE","D")>0
negative 3 times, the reminder frequency is changed to 2 years instead of
Expanded Function String:
DTIME_DIFF(NEGATIVE  HAS NO HOUSING CONCERNS,3,"DATE",
POSITIVE  HAS NO STABLE HOUSING,1,"DATE","D")>0
 End: FF(4)

 Begin:
FF(5)
Function String: DTIME_DIFF(2,3,"DATE",5,1,"DATE","D")>0
annually. But several more Function Findings (comparing the dates of the
Expanded Function String:
DTIME_DIFF(NEGATIVE  HAS STABLE HOUSING,3,"DATE",
POSITIVE  HAS NO STABLE HOUSING,1,"DATE","D")>0
 End: FF(5)

 Begin:
FF(6)
Function String: (COUNT(3)=0)&(COUNT(5)=0)
various occurrences of negative and positive screening Health Factors) was
Expanded Function String:
(COUNT(POSITIVE  HAS WORRIES ABOUT HOUSING)=0)&(COUNT(
POSITIVE  HAS NO STABLE HOUSING)=0)
 End: FF(6)

With no resolution logic set on this Reminder Definition, it serves as a
means for resolving the main reminder (VAHOMELESSNESS SCREENING) for 2
years . If this reminder evaluates as TRUE, then the main reminder is
resolved for 2 years, because the CF has a Match Frequency/Age of 2 years.
necessary to ensure that the three negative screens were both consecutive,
