Need relevance query

can anyone please help me to get the patching compliance report with respective to baseline and computer group through relevance query. for custom report
the report should contain below details.
1)computer name
2)os version
3)Applicable fixlet (according to baseline)
4)installed Fixlet(according to baseline)
5)outstanding fixlet.(according to baseline)

Thanks
karthik.k