You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Disinhibition: 52. Acts impulsively without thinking',
61
-
'Disnihibition: 53. Talks to total strangers as if they know them',
62
-
'Eating habits: 54. Prefers sweet foods more than before',
63
-
'Eating habits: 55. Wants to eat the same foods repeatedly',
64
-
'Eating habits: 56. Her/his appetite is greater, s/he/[they] eat[s] more than before',
65
-
'Eating habits: 57. Table manners are declining eg stuffing food into mouth',
66
-
'Eating Habits: 58. Eats non-edible foodstuffs or things not normally eaten',
67
-
'Sleep: 59. Sleep is disturbed at night',
68
-
'Sleep: 60. Sleeps more by day than before (cat naps etc.)',
69
-
'Stereotypic & motor behaviours: 61. Is rigid in her/his/[their] ideas and opinions',
70
-
'Stereotypic & motor behaviours: 62. Develops routines from which s/he/[they] cannot easily be discouraged eg wanting to eat or go for walks at fixed times',
71
-
'Stereotypic & motor behaviours: 63. Exhibits rituals eg takes the same route across the kitchen, only steps on certain floor tiles',
72
-
'Stereotypic & motor behaviours: 64. Clock watches or appears pre-occupied with time',
73
-
'Sterotypic & motor behaviours: 65. Appears pre-occupied with counting, numbers, puzzles or jigsaws',
74
-
'Stereotypic & motor behaviours: 66. Takes, hides or heards things, or packs away special items',
75
-
'Stereotypic & motor behaviours: 67. Repeatedly uses the same expression or catch phrase',
76
-
'Stereotypic & motor mehaviours: 68. S/he/[they] immediately repeat[s] words and sentences that you or others have just said (echolalia)',
77
-
'Stereotypic & motor behaviours: 69. Paces around without purpose',
78
-
'Stereotypic & motor behaviours: 70. Rummages around excessively',
79
-
'Stereotypic & motor behaviours: 71. S/he/[they] fidget[s] (eg bounces, taps feet/hands) a lot',
80
-
'Motivation: 72. Shows less enthusiasm for her/his/[their] usual interests',
81
-
'Motivation: 73. Shows little interest in doing new things',
82
-
'Motivation: 74. Requires nagging to start activities and chores',
83
-
'Motivation: 75. Shows no interest in attending social functions',
84
-
'Motivation: 76. Fails to maintain motivation to keep in contact with friends and family',
85
-
'Motivation: 77. Withdraws from others, fails to start conversations',
86
-
'Motivation: 78. Appears indifferent to the worries and concerns of family members',
87
-
'Motivation: 79. Shows reduced affection',
88
-
'Insight/Awareness: 80. Shows insight into changes in behaviour and personality (if appropriate)',
89
-
'Insight/Awareness: 81. Shows insight into memory problems'
9
+
'01. Memory: Forgets to pass on phone messages',
10
+
'02. Memory: Has poor day-to-day memory (e.g. about conversations, trips etc.)',
11
+
'03. Memory: Asks the same question over and over again',
12
+
'04. Memory: Loses or misplaces things',
13
+
'05. Memory: Forgets the names of familiar people',
14
+
'06. Memory: Forgets the names of objects and things',
15
+
'07. Orientation & attention: Has difficulty completing activities once started',
16
+
'08. Orientation & attention:Shows poor concentration when reading or watching television',
17
+
'09. Orientation & attention: Forgets what day it is',
18
+
'10. Orientation & attention: Forgets what time of day it is',
19
+
'11. Orientation & attention: Gets the present mixed up with past situations',
20
+
'12. Orientation & attention: Becomes confused or muddled in unusual surroundings',
21
+
'13. Orientation & attention: Gets lost inside the house',
22
+
'14. Everyday Skills: Has difficulties using electrical appliances (e.g. TV, radio, cooker, washing machine)',
23
+
'15. Everyday skills: Has problems preparing meals',
'52. Disinhibition: Acts impulsively without thinking',
61
+
'53. Disnihibition: Talks to total strangers as if they know them',
62
+
'54. Eating habits: Prefers sweet foods more than before',
63
+
'55. Eating habits: Wants to eat the same foods repeatedly',
64
+
'56. Eating habits: Her/his appetite is greater, s/he/[they] eat[s] more than before',
65
+
'57. Eating habits: Table manners are declining eg stuffing food into mouth',
66
+
'58. Eating Habits: Eats non-edible foodstuffs or things not normally eaten',
67
+
'59. Sleep: Sleep is disturbed at night',
68
+
'60. Sleep: Sleeps more by day than before (cat naps etc.)',
69
+
'61. Stereotypic & motor behaviours: Is rigid in her/his/[their] ideas and opinions',
70
+
'62. Stereotypic & motor behaviours: Develops routines from which s/he/[they] cannot easily be discouraged eg wanting to eat or go for walks at fixed times',
71
+
'63. Stereotypic & motor behaviours: Exhibits rituals eg takes the same route across the kitchen, only steps on certain floor tiles',
72
+
'64. Stereotypic & motor behaviours: Clock watches or appears pre-occupied with time',
73
+
'65. Stereotypic & motor behaviours: Appears pre-occupied with counting, numbers, puzzles or jigsaws',
74
+
'66. Stereotypic & motor behaviours: Takes, hides or heards things, or packs away special items',
75
+
'67. Stereotypic & motor behaviours: Repeatedly uses the same expression or catch phrase',
76
+
'68. Stereotypic & motor mehaviours: S/he/[they] immediately repeat[s] words and sentences that you or others have just said (echolalia)',
77
+
'69. Stereotypic & motor behaviours: Paces around without purpose',
78
+
'70. Stereotypic & motor behaviours: Rummages around excessively',
79
+
'71. Stereotypic & motor behaviours: S/he/[they] fidget[s] (eg bounces, taps feet/hands) a lot',
80
+
'72. Motivation: Shows less enthusiasm for her/his/[their] usual interests',
81
+
'73. Motivation: Shows little interest in doing new things',
82
+
'74. Motivation: Requires nagging to start activities and chores',
83
+
'75. Motivation: Shows no interest in attending social functions',
84
+
'76. Motivation: Fails to maintain motivation to keep in contact with friends and family',
85
+
'77. Motivation: Withdraws from others, fails to start conversations',
86
+
'78. Motivation: Appears indifferent to the worries and concerns of family members',
87
+
'79. Motivation: Shows reduced affection',
88
+
'80. Insight/Awareness: Shows insight into changes in behaviour and personality (if appropriate)',
89
+
'81. Insight/Awareness: Shows insight into memory problems'
90
90
# Add more items as needed
91
91
);
92
92
93
93
my%cbi_scores;
94
94
95
95
# Get user input for each CBI item
96
-
foreachmy$item (@cbi_items) {
96
+
foreachmy$item (sort@cbi_items) {
97
+
# added sort
97
98
my$valid_input = 0;
98
99
99
100
while (!$valid_input) {
@@ -113,7 +114,7 @@ sub calculate_cbi_total_score {
113
114
114
115
# Calculate total CBI score
115
116
my$total_score = 0;
116
-
foreachmy$item_score (values%cbi_scores) {
117
+
foreachmy$item_score (sortvalues%cbi_scores) {
117
118
$total_score += $item_score;
118
119
}
119
120
@@ -130,7 +131,7 @@ sub save_result_to_file {
130
131
openmy$fh, '>', $filenameordie"Cannot open file '$filename' for writing: $!";
0 commit comments