Hello,
Environment: Crystal Report 2011 and Access 2003
I want to categorized patients who had a specific procedure or combination of procedures. For an example
Category 4 - Colonoscopy inspections with Excission have the following condition
At least one of:
CCI Procedure Code
1NK87BA
1NM59BAGX
1NM59BAHB
1NM87BA
2NK71BABJ
2NM71BABJ
2NK71BRBJ
and
At least one of:
CCI Procedure Code
1NA13BAFA
1NA50BABD
1NA50BABJ
1NA50BABP
1NA50CABJ
1NA87BA
1NF13BAGX
Whereas I have patients data in master details tables as following
CHARTNO OCCUR CODE
Patient A 1 1.NM.87.BA
Patient A 2 1.NQ.87.BA
Patient A 3 2.NM.70.BA-BJ
Patient B 1 2.NK.71.BA-BL
Patient B 2 2.NF.71.BA
Patient B 3 2.NA.71.BA
Patient B 4 2.NK.70.BA-BJ
Patient C 1 1.NT.87.LA
Patient C 2 1.NM.87.BA
Patient C 3 1.NQ.87.BA
Patient C 4 2.NM.70.BA-BJ
I am not sure how to match cases, as codes might be in different row and I can not use Next or Prev. And We have to match two criteria. Could somebody help me in this regard.
Thanks.
Naved Altaf
Environment: Crystal Report 2011 and Access 2003
I want to categorized patients who had a specific procedure or combination of procedures. For an example
Category 4 - Colonoscopy inspections with Excission have the following condition
At least one of:
CCI Procedure Code
1NK87BA
1NM59BAGX
1NM59BAHB
1NM87BA
2NK71BABJ
2NM71BABJ
2NK71BRBJ
and
At least one of:
CCI Procedure Code
1NA13BAFA
1NA50BABD
1NA50BABJ
1NA50BABP
1NA50CABJ
1NA87BA
1NF13BAGX
Whereas I have patients data in master details tables as following
CHARTNO OCCUR CODE
Patient A 1 1.NM.87.BA
Patient A 2 1.NQ.87.BA
Patient A 3 2.NM.70.BA-BJ
Patient B 1 2.NK.71.BA-BL
Patient B 2 2.NF.71.BA
Patient B 3 2.NA.71.BA
Patient B 4 2.NK.70.BA-BJ
Patient C 1 1.NT.87.LA
Patient C 2 1.NM.87.BA
Patient C 3 1.NQ.87.BA
Patient C 4 2.NM.70.BA-BJ
I am not sure how to match cases, as codes might be in different row and I can not use Next or Prev. And We have to match two criteria. Could somebody help me in this regard.
Thanks.
Naved Altaf