# Example 1: Possible Delirium
# Clearly abnormal alertness (Score 4), Untestable AMT4 (Score 2),
# Untestable Attention (Score 2), Acute Change Yes (Score 4) -> Total 12
score_4at(2, 2, 2, 1)
# Example 2: Normal
# Fully alert, 0 mistakes, >7 months correct, No acute change -> Total 0
score_4at(0, 0, 0, 0)
# Example 3: Possible Cognitive Impairment
# Alert, 1 mistake on AMT4, Refuses attention test, No acute change -> Total 2
score_4at(0, 1, 1, 0)
Run the code above in your browser using DataLab