Report Overview
•••
This report has been created
specifically for St. Paul-Ramsey
county WIC. It provides a count
St. Paul-Ramsey CTC
Infoview Report Template Guidance – ST PAUL-RAMSEY
REPORTS
and list of infants and children
Notes
who have had a CTC contact of
*CTC contacts are based on the selection of Yes for the CTC Referral
Yes recorded for Local Use
in Local Use Question #1. (NOTE: selections from Local Use Questions
Question #1 during a certification
are
or Mid-certification Assessment
(MCA) that was performed during
a specified time period.
*Since the answers to Local Use Questions are assigned unique IDs
based on the agency, the agency is not specified as part of the filter
criteria.
*MCAs are based on the completion of the MCA Guided Script. Any mid-certifications completed via the
Participant Folder are not included in this report.
*The WIC Type is based on the participant’s current WIC status.
*The Report Date reflects the month and year of the Enter Start Date value. This is based on the assumption
that this report will be run for only one month at a time.
*This report provides private information. Please refer to the MN WIC Data Privacy Policy (Ref: MOM,
Section 1.7).
Prompt(s)
TABLE
FIELD
CERTCONTACT
Certstartdate
MIDCERTIFICATION
Completeddate
CERTCONTACT
Certstartdate
MIDCERTIFICATION
Completeddate
1|Page
OPERATOR
VALUE
PROMPT/DEFINITION
Enter Start Date.
Between
mm/dd/yy
The beginning date in the time period
during which infants and children had a
CTC contact at a certification or MCA.
Enter End Date.
And
mm/dd/yy
The last date in the time period during
which infants and children had a CTC
contact at a certification or MCA.
MN Department of Health WIC Program
St. Paul-Ramsey CTC
•••
Static Criteria
MEMBEROTHERINFO.Localvalueid1 In List 51;54
Explanation: Include records where the selection for Local Use Question #1 is Yes
MEMBER.Wicstatus In List I;C
Explanation: Include only infants and children in the report output
SQL: CONVERT(date,dbo.MidCertification.CompletedDate, 101)
Explanation: Remove the timestamp from the MIDCERTIFICATION.Completeddate
Columns
•
•
•
•
•
•
•
•
•
•
•
•
•
Last Name (MEMBER.Lastname)
First Name (MEMBER.Firstname)
DOB (MEMBER.Dateofbirth)
WIC Type (MEMBER.Wicstatus)
State WIC ID (MEMBER.Statewicid)
Authorized Rep LN (HOUSEHOLD.Authreplastname)
Authorized Rep FN (HOUSEHOLD.Authrepfirstname)
Mailaddress (HOUSEHOLD.Mailaddress)
Mailcity (HOUSEHOLD.Mailcity)
Mailstate (HOUSEHOLD.Mailstate)
Mailzip (HOUSEHOLD.Mailzip) See FORMULAS
PMI # (MEMBER.Medicaidid)
Cert Date of MCA Date See FORMULAS
Sorted by
Last Name (Ascending)
First Name (Ascending)
Counts
State WIC ID (Distinct)
2|Page
St. Paul-Ramsey CTC
•••
Technical Notes
Notes
The link between the MEMBER and CERTCONTACT tables was changed from Certificationid to Statewicid since the
Certificationid updates in the MEMBER table when pseudo-certs are created.
The INNER JOIN between the CERTCONTACT and MIDCERTIFICATION tables was changed to a FULL OUTER
JOIN since not all participants have mid-certifications.
The MIDCERTIFICATION.Completeddate has an actual timestamp instead of the generic 12:00:00 AM timestamp. In
order for the report output to include the last date defined in the filter criteria (value in the Enter End Date PROMPT), the
timestamp had to be removed from the MIDCERTIFICATION.Completedate using CONVERT(date,field,101) in the SQL
WHERE statement.
For the Cert Date or MCA Date formula: The UserResponse( ) is a string and must be changed back to a datetime value for
the formula to work.
Formulas
Report Date (report header) ="Report Dates: " + FormatDate(ToDate(UserResponse("Enter Start Date:");"M/d/yyyy
hh:mm:ss A");"MMMM") + " " + FormatDate(ToDate(UserResponse("Enter Start Date:");"M/d/yyyy hh:mm:ss A");"yyyy")
Zip Code (column) =Left([Mailzip];5
Cert Date or MCA Date =If [Certstartdate] Between (ToDate(UserResponse("Enter Start Date:");"M/d/yyyy hh:mm:ss
A");ToDate(UserResponse("Enter End Date:");"M/d/yyyy hh:mm:ss A")) Then [Certstartdate] Else [Completeddate]
SQL (changes are highlighted)
CTC Query
SELECT
dbo.MEMBER.LASTNAME,
dbo.MEMBER.FIRSTNAME,
dbo.MEMBER.DATEOFBIRTH,
dbo.MEMBER.STATEWICID,
dbo.HOUSEHOLD.AUTHREPFIRSTNAME,
dbo.HOUSEHOLD.AUTHREPLASTNAME,
dbo.MEMBER.MEDICAIDID,
dbo.MEMBER.WICSTATUS,
dbo.HOUSEHOLD.MAILADDRESS,
dbo.HOUSEHOLD.MAILCITY,
dbo.HOUSEHOLD.MAILZIP,
3|Page
St. Paul-Ramsey CTC
•••
dbo.MEMBER.CERTSTARTDATE,
dbo.MidCertification.CompletedDate
FROM
dbo.HOUSEHOLD INNER JOIN dbo.MEMBER ON
(dbo.MEMBER.HOUSEHOLDID=dbo.HOUSEHOLD.HOUSEHOLDID)
INNER JOIN dbo.CERTCONTACT ON (dbo.CERTCONTACT.STATEWICID=dbo.MEMBER.STATEWICID)
FULL OUTER JOIN dbo.MidCertification ON
(dbo.MidCertification.CertificationID=dbo.CERTCONTACT.CERTIFICATIONID)
INNER JOIN dbo.MEMBEROTHINFO ON (dbo.MEMBER.STATEWICID=dbo.MEMBEROTHINFO.STATEWICID)
WHERE
(
dbo.MEMBEROTHINFO.LOCALVALUEID1 IN ( 51, 54 )
AND
dbo.MEMBER.WICSTATUS IN ( 'I','C' )
AND
(
dbo.MEMBER.CERTSTARTDATE BETWEEN @prompt('Enter Start Date:','D','Dbo
Member\Certstartdate',Mono,Free,Persistent,,User:0) AND @prompt('Enter End Date:','D','Dbo
Member\Certstartdate',Mono,Free,Persistent,,User:1)
OR
CONVERT(date,dbo.MidCertification.CompletedDate,101) BETWEEN @prompt('Enter Start Date:','D','Dbo
Midcertification\Completeddate',Mono,Free,Persistent,,User:2) AND @prompt('Enter End Date:','D','Dbo
Midcertification\Completeddate',Mono,Free,Persistent,,User:3)
)
)
4|Page
© Copyright 2026 Paperzz