in reply to Re: OT: Creating tables from others
in thread OT: Creating tables from others

Let me explain in clearer English. I have a list of all the disease codes. I wish to go down this list and take each code one by one. I want to know what disease categories each element of this list falls into. The user sets the code ranges for the disease categories and this information is held within the second table. Each row of the second table represents a range. Therefore, in this second table, a single disease category may be represented on more than one row.

I need a lookup table so that all the ICD codes for a particular disease can be lookup with a simple statement and this is why I wish to create the third table.

I don’t know whether this can be done with a series of SQL statements or whether Perl DBI could be used. I was assuming that Perl or equivalent should be used. I see no reason why this question should not be posted here.

  • Comment on Re: Re: OT: Creating tables from others