VERY sorry for the length:
basically i am trying to create a database of Medicare rules called LMRP's regarding payment coverages for certain procedures etc. So first, the info in the database is subject to frequent changes hence my cautious approach. just as a bit of background, Medicare issues guidelines for certain procedures that state under what circumstances medicare will pay for them. These LMRP's can get quite detailed but most importantly for my purposes they list what procedure codes they pertain to as well as what diagnosis codes are allowed with those procedure codes. What i am trying to do is have a .asp page that a person can type a procedure code and a list of valid medical diagnosis will display for that code as well as a bit of other info re: the LMRP.
the part that's throwing me is how best to relate the procedure and diagnosis codes to the rest of the info. There are several thousand diagnosis codes and only a portion of them is allowed in each rule. Likewise for the procedure codes. So i might have a rule for chest-xrays that covers, for example, 4 procedure codes (71010,71015,71020,71022) and that states say 600 diagnosis codes are considered valid. I
Initially i thought about having one table for the basic rule info (name of LMRP rule, effective date, expiration date, note field for basic coverage info, etc), another table for the procedure codes (several thousand of them) with perhaps a field stating which LMRP if any they belong to. (typically each procedure code is only assoc to one LMRP), and then finally a third table w/ the diagnosis codes also with some indicator as to which LMRP they also belong to. Problem again is that a diagnosis code could be associated with none of the LMRPs or perhaps All of them.
i guess it's just a flexibility issue as well. new rules are added all the time and the old ones are constantly getting updated. so i need the structure to be equally as flexible.
any ideas would be GREATLY appreciated.
Kyosa
"The key to flexibility is indecision!"
basically i am trying to create a database of Medicare rules called LMRP's regarding payment coverages for certain procedures etc. So first, the info in the database is subject to frequent changes hence my cautious approach. just as a bit of background, Medicare issues guidelines for certain procedures that state under what circumstances medicare will pay for them. These LMRP's can get quite detailed but most importantly for my purposes they list what procedure codes they pertain to as well as what diagnosis codes are allowed with those procedure codes. What i am trying to do is have a .asp page that a person can type a procedure code and a list of valid medical diagnosis will display for that code as well as a bit of other info re: the LMRP.
the part that's throwing me is how best to relate the procedure and diagnosis codes to the rest of the info. There are several thousand diagnosis codes and only a portion of them is allowed in each rule. Likewise for the procedure codes. So i might have a rule for chest-xrays that covers, for example, 4 procedure codes (71010,71015,71020,71022) and that states say 600 diagnosis codes are considered valid. I
Initially i thought about having one table for the basic rule info (name of LMRP rule, effective date, expiration date, note field for basic coverage info, etc), another table for the procedure codes (several thousand of them) with perhaps a field stating which LMRP if any they belong to. (typically each procedure code is only assoc to one LMRP), and then finally a third table w/ the diagnosis codes also with some indicator as to which LMRP they also belong to. Problem again is that a diagnosis code could be associated with none of the LMRPs or perhaps All of them.
i guess it's just a flexibility issue as well. new rules are added all the time and the old ones are constantly getting updated. so i need the structure to be equally as flexible.
any ideas would be GREATLY appreciated.
Kyosa
"The key to flexibility is indecision!"