Originally Posted by
jzwp11
Separate tables for each problem would not be the proper way to structure it. Trying to query any data would require separate queries for each and thus separate forms, reports etc. That would be an extremely messy situation that you want to avoid at all costs.
If a problem or ICD9 is related to another problem or ICD9 code, then you need a structure as follows (I'll just use the ICD9 codes as an example).
tblCodes
-pkCodeID primary key, autonumber
-ICD9CodeNumber
-txtDescription
tblRelatedCodes
-pkRelateCodeID primary key, autonumber
-fkPCodeID foreign key to tblCodes (represents the primary code)
-fkSCodeID foreign key to tblCodes (represents the code related to the primary code i.e. the secondary code)
Taking the 250.0 code example,
tblCodes
pkCodeID|ICD9CodeNumber
1|250.0
2|250.02
3|250.60
tblRelatedCodes
pkRelateCodeID|fkPCodeID|fkSCodeID
1|1|2
2|1|3