我有来自单个患者的多次记录的以下数据。
ID date day result
BELF000000084785 20111110 1 164
BELF000000084785 20111202 2 172
BELF000016833470 20070122 2 226
BELF000016833470 20070522 3 398
BELF000016959442 20080429 1 242
BELF000016959442 20080820 1 126
BELF000016959442 20090225 2 302
BELF000016959442 20090424 2 320
BELF000017061714 20080626 1 152
BELF000017801424 20110803 1 298
BELF000017801424 20110913 2 252
BELF000017801424 20111022 3 234
BELF000024405407 20080218 1 232
BELF000024405407 20080318 2 190
BELF000024405410 20070122 3 380
BELF000024405410 20070218 1 506
BELF000024405410 20070320 2 480
BELF000024405410 20070626 3 346
BELF000024408114 20070423 1 296
BELF000024408114 20070711 3 294
我想提取第 1 天有记录的患者;如果第 1 天和第 2 天都可用,第 1 天第 2 天和第 3 天都可用。并通过其他。任何 sas 帮助。