Return to Main EpiData page
Example page
Example check file:
---------------------------------- first.chk ----------------------------------
* revised first.chk file for definitions of dataentry and calculation
LABELBLOCK
LABEL sex
1 Male
2 Female
END
LABEL string
OD Odense
BLT Baltimore
REY "Reykjavik Iceland"
SID Sidney
NDH "New Delhi"
MOM Mombassa
BUE "Buenos Aires"
END
END
ID
* This will show the value of ID from the record entered on the statusbar
type statusbar "id= " Green
end
V1
* comment legal defines legal values and type comment writes the text on screen
COMMENT LEGAL USE sex
TYPE COMMENT
END
V2
* restricted dataentry to values in range 1.0-2.10 and value 9
RANGE 1.0 2.10
LEGAL
9
END
END
V3
AFTER ENTRY
BMI=v3/(v2^2)
END
END
BMI
NOENTER
END
V4
AFTER ENTRY
AGE=trunc((t1-v4)/365.25)
END
END
AGE
NOENTER
END
S2
COMMENT LEGAL USE string
TYPE COMMENT
END
---------------------------------- first.chk ----------------------------------
Return to example page