Layout for the Data File PATIENTS.TXT

Variable NameDescriptionStarting ColumnLengthVariable TypeValid Values
PATNOPatient Number13CharacterNumerals only
GENDERGender41Character‘M’ or ‘F’
VISITVisit Date510MMDDYY10.Any valid date
HRHeart Rate153NumericBetween 40 and 100
SBPSystolic Blood Pressure183NumericBetween 80 and 200
DBPDiastolic Blood Pressure213NumericBetween 60 and 120
DXDiagnosis Code243Character1 to 3 digit numeral
AEAdverse Event271Character‘0’ or ‘1’

Get Cody’s Data Cleaning Techniques Using SAS® Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.