Hi,
I'm working on a report from a sql server db which has chemotherapy data in it. I'm looking at Breast Cancer treatments. The patient will have elements of treatment against a diagnosis.
For example
Patient 1 will have a diagnosis of "Carcinoma of Breast Metastatic , HER2 positive 1st Line". (They may have more than one diagnosis further down the line of treatment)
For this diagnosis they will have cycles of treatment which may last a day or two.
Each cycle will have a number of drugs which they will be given, a date a cycle number and treatment day number exists against every cycle of treatment in the database.
What I need to do is compare the cycles of treatment against the national guidelines. For example they should have cycle which contains a drug called either "EPIRUBICIN" or "DOXORUBICIN" to start with. They may have several cycles of this first. They then have a blood test and based on the test they will have Cycles which contain either "CAPECITABINE", "VINORELBINE", "DOCETAXEL", "TRASTUZUMAB(HERCEPTIN)", or "PACLITAXEL".
Having done some rather long if statements....I'm not sure how to tease out the results to compare to the national guidelines.
Does anyone have any suggestions...
Steve
I'm working on a report from a sql server db which has chemotherapy data in it. I'm looking at Breast Cancer treatments. The patient will have elements of treatment against a diagnosis.
For example
Patient 1 will have a diagnosis of "Carcinoma of Breast Metastatic , HER2 positive 1st Line". (They may have more than one diagnosis further down the line of treatment)
For this diagnosis they will have cycles of treatment which may last a day or two.
Each cycle will have a number of drugs which they will be given, a date a cycle number and treatment day number exists against every cycle of treatment in the database.
What I need to do is compare the cycles of treatment against the national guidelines. For example they should have cycle which contains a drug called either "EPIRUBICIN" or "DOXORUBICIN" to start with. They may have several cycles of this first. They then have a blood test and based on the test they will have Cycles which contain either "CAPECITABINE", "VINORELBINE", "DOCETAXEL", "TRASTUZUMAB(HERCEPTIN)", or "PACLITAXEL".
Having done some rather long if statements....I'm not sure how to tease out the results to compare to the national guidelines.
Does anyone have any suggestions...
Steve