records333
Technical User
The objective is to capture patients diagnosed during a specific time frame and assigned to a specific location:
Conditionsif ({CLARITY_LOC.LOC_ID} in [99999]
and
({DIAGNOSIS.DATE} >=date (2012, 11, 30))
)
then {DIAGNOSIS.DATE} else
if ({CLARITY_LOC.LOC_ID} in [88888]
and
({DIAGNOSIS.DATE} >=date (2012, 10, 29) )
)
then {DIAGNOSIS.FIRST_DATE} else
Additionally, I would like to capture the minimum date diagnosed so I grouped and added the following; {@DX DATE} = minimum({@DX DATE},{DIAGNOSIS_INFO.PAT_ID})
Selection Criteria:
{@DX DATE} in DateTime (2012, 07, 01, 00, 00, 00) to DateTime (2013, 06, 30, 00, 00, 00) and
{diagnosis.code} like "250.**" and
{CLARITY_SER_DEPT.LINE} = 1.00 and
{@DX DATE} <> DateTime (1900, 01, 01, 00, 00, 00) and
{@Location} startswith "CLINIC "
Lastly, an additional group was added - on dx date (half year), the summaries at half year 7/2012 and 1/2013 does not equal report footer summary.
I've be brainstorming and trying various options to no avail. My next thought is to split 1st and 2nd half of FY in to subreports but I might exclude records. Recommendations Please....
Conditionsif ({CLARITY_LOC.LOC_ID} in [99999]
and
({DIAGNOSIS.DATE} >=date (2012, 11, 30))
)
then {DIAGNOSIS.DATE} else
if ({CLARITY_LOC.LOC_ID} in [88888]
and
({DIAGNOSIS.DATE} >=date (2012, 10, 29) )
)
then {DIAGNOSIS.FIRST_DATE} else
Additionally, I would like to capture the minimum date diagnosed so I grouped and added the following; {@DX DATE} = minimum({@DX DATE},{DIAGNOSIS_INFO.PAT_ID})
Selection Criteria:
{@DX DATE} in DateTime (2012, 07, 01, 00, 00, 00) to DateTime (2013, 06, 30, 00, 00, 00) and
{diagnosis.code} like "250.**" and
{CLARITY_SER_DEPT.LINE} = 1.00 and
{@DX DATE} <> DateTime (1900, 01, 01, 00, 00, 00) and
{@Location} startswith "CLINIC "
Lastly, an additional group was added - on dx date (half year), the summaries at half year 7/2012 and 1/2013 does not equal report footer summary.
I've be brainstorming and trying various options to no avail. My next thought is to split 1st and 2nd half of FY in to subreports but I might exclude records. Recommendations Please....