Forum Replies Created

Viewing post 1 (of 1 total)

  • Reply To: Challenging query for medical claims analysis

    SELECT CL.* FROM #InsuranceClaim CL

    JOIN #MedicalProcedure PR ON CL.ClaimNumber = PR.ClaimNumber

    WHERE PR.ProcedureNumber = 8694 AND NOT EXISTS (SELECT 1 FROM #Diagnosis WHERE CL.ClaimNumber = ClaimNumber AND DiagnosisNumber = 4019)

Viewing post 1 (of 1 total)