By Anonymous - November 3, 2014

AHS2
> Baseline
> A5

Baseline Variable: FIBROIDY

Description

Number of years since diagnosed with: Uterine fibroids.

Notes

* Version 1 data for this variable will be recoded from (1 to 6) to (0 to 5) as part of the never_had_updates
.
* Version 1 was coded 1 to 6, while versions 2 and 3 were 1 to 5.
* In version 1, variable is located on A5
. In version 2/3 it is on A4

* This is a women only condition and should be validated with the SEX
variable.

Data Values

Current

Levels Value
(empty string) Missing
0 Never Had (derived from on A05Q9
/A04Q8
variables)
1 Less than 5 years ago
2 5-9 years ago
3 10-14 years ago
4 15-19 years ago
5 20+ years ago

Original

Levels Value (v1) Value (v2/3)
(empty string) Missing Missing
1 Never Had Less than 5 year ago
2 Less than 5 year ago 5-9 years ago
3 5-9 years ago 10-14 years ago
4 10-14 years ago 15-19 years ago
5 15-19 years ago 20+ years ago
6 20+ years ago N/A

* A05Q9
- version 1 - "never been told that you had any of the conditions listed below"
* A04Q8
- version 2/3 - "never been told that you had any of the conditions listed below"
* SEX
- "What is your sex?"

Location

Questionnaires

Questionnaire Version Labeled Page Physical Page TIFF Image Index Scan Path
1 A5 info
/image
8 05 ''R:\Tiff_Quest_V1''
2 A4 info
/image
7 43 ''R:\Tiff_Quest_V2''
3 A4 info
/image
7 43 ''R:\Tiff_Quest_V3''

Database Tables

Table Name Description
image.dbo.part1 modified version 1 part 1 data
image.dbo.part1_unmodified original/raw version 1 part 1 data

Modifications

"Never Had" Update

For details see: "Never Had" updates
. This is a never_had_updates#Type 6
variable.

SQL Code:

-- Version 1
update image.dbo.part1
set FIBROIDY = '0'
where FIBROIDY = ''
and A05Q9 = '1';

update image.dbo.part1
set FIBROIDY = FIBROIDY - 1
where FIBROIDY > 0;

-- Version 2/3
update image.dbo.v2part1
set FIBROIDY = '0'
where FIBROIDY = ''
and A04Q8 = '1';

update image.dbo.v3part1
set FIBROIDY = '0'
where FIBROIDY = ''
and A04Q8 = '1';

Before / After Counts

Version 1

Note: "minus one" correction had already been applied.

Before After
A05Q9 FIBROIDY Count A05Q9 FIBROIDY Count
1565 1565
0 465 0 465
1 88 1 88
2 67 2 67
3 68 3 68
4 70 4 70
5 293 5 293
0 0 1 0 0 1
1 2338 1 0 2391
1 0 53 1 1 3
1 1 3 1 2 2
1 2 2 1 3 2
1 3 2 1 5 10
1 5 10

Version 2

Before After
A04Q8 FIBROIDY Count A04Q8 FIBROIDY Count
13449 13449
* 2 * 2
1 581 1 581
2 368 2 368
3 442 3 442
4 366 4 366
5 1388 5 1388
0 3 0 3
0 1 1 0 1 1
1 12663 1 0 12663
1 1 6 1 1 6
1 2 5 1 2 5
1 3 2 1 3 2
1 4 2 1 4 2
1 5 12 1 5 12

Version 3

Before After
A04Q8 FIBROIDY Count A04Q8 FIBROIDY Count
25874 25874
* 7 * 7
1 1544 1 1544
2 1120 2 1120
3 1007 3 1007
4 883 4 883
5 2631 5 2631
0 1 0 1
1 28925 1 0 28925
1 1 9 1 1 9
1 2 13 1 2 13
1 3 12 1 3 12
1 4 10 1 4 10
1 5 46 1 5 46