2.4.0.8040901 - Disclosure - Stockholders' Equity (Narrative) (Details)truefalsefalse1false falsefalseD_3M_2013_07_31http://www.sec.gov/CIK0001173738duration2013-05-01T00:00:002013-07-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli02false falsefalseD_3M_2013_04_30http://www.sec.gov/CIK0001173738duration2013-02-01T00:00:002013-04-30T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli03false falsefalseD_3M_2013_01_31http://www.sec.gov/CIK0001173738duration2012-11-01T00:00:002013-01-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli04false falsefalseD_9M_2013_07_31http://www.sec.gov/CIK0001173738duration2012-11-01T00:00:002013-07-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli05false falsefalseD_9M_2012_07_31http://www.sec.gov/CIK0001173738duration2011-11-01T00:00:002012-07-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli06false truefalseD_3M_2012_01_31_PreferredStockSeriesConvertedToClassCommonStockMemberhttp://www.sec.gov/CIK0001173738duration2011-11-01T00:00:002012-01-31T00:00:00falsefalsePreferred Stock Series A, converted to Class A common stock [Member]us-gaap_ConversionOfStockByUniqueDescriptionAxisxbrldihttp://xbrl.org/2006/xbrldicdex_PreferredStockSeriesConvertedToClassCommonStockMemberus-gaap_ConversionOfStockByUniqueDescriptionAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli07false USDtruefalse$D_3M_2013_01_31_MedicalDirectorMemberhttp://www.sec.gov/CIK0001173738duration2012-11-01T00:00:002013-01-31T00:00:00falsefalseMedical Director [Member]us-gaap_TitleOfIndividualAxisxbrldihttp://xbrl.org/2006/xbrldicdex_MedicalDirectorMemberus-gaap_TitleOfIndividualAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$8false USDtruefalse$D_3M_2013_04_30_ChiefExecutiveOfficerMemberhttp://www.sec.gov/CIK0001173738duration2013-02-01T00:00:002013-04-30T00:00:00falsefalseChief Executive Officer [Member]us-gaap_TitleOfIndividualAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ChiefExecutiveOfficerMemberus-gaap_TitleOfIndividualAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$1true 1us-gaap_StockholdersEquityNoteAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2us-gaap_StockholdersEquityReverseStockSplitus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00.10falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringDescription of the reverse stock split arrangement. Also provide the retroactive effect given by the reverse split that occurs after the balance sheet date but before the release of financial statements.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SAB TOPIC 4.C) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187143-122770 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 4 -Section C false03true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse04false 4cdex_PreBankruptcyPlanCommonStockAndWarrantsIssuedToPurchasePostBankruptcyPlanCommonStockcdex_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse39000003900000falsefalsefalse3truefalsefalse3740000037400000falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse500000500000falsefalsefalse8truefalsefalse18000001800000falsefalsefalsexbrli:sharesItemTypesharesPre-bankruptcy plan common stock and warrants issued to purchase post bankruptcy plan common stock.No definition available.false15false 4cdex_SharesOfCommonStockPurchasedByPreBankruptcyPlanCommonStockAndWarrantscdex_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse63000006300000falsefalsefalse3truefalsefalse3390000033900000falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse500000500000falsefalsefalse8falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesShares of Series A common stock purchased by pre-bankruptcy Series A common stock and warrants issued.No definition available.false16false 4us-gaap_DeferredCompensationArrangementWithIndividualMaximumContractualTermus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00P5Yfalsefalsefalse8falsefalsefalse00P5Yfalsefalsefalsexbrli:stringItemTypestringThe maximum term of the deferred compensation arrangement.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false07false 4us-gaap_DeferredCompensationArrangementWithIndividualExercisePriceus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse0.100.10USD$falsetruefalse8truefalsefalse0.100.10USD$falsetruefalsenum:perShareItemTypedecimalThe per share price that the individual must pay to acquire shares under the deferred compensation arrangement.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false38false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriodus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse144000144000falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse83500008350000falsefalsefalse5truefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNumber of share instruments newly issued under a share-based compensation plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false19false 4cdex_SharesReturnedcdex_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse6700067000falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares returned to authorized and available due to creditor opting out of bankruptcy plan.No definition available.false110true 3us-gaap_ConversionOfStockLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse011false 4us-gaap_ConversionOfStockSharesConverted1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse425425falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of shares converted in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4313-108586 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 false112false 4us-gaap_ConversionOfStockSharesIssued1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6truefalsefalse2537425374falsefalsefalse7falsefalsefalse00falsefalsefalse8falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe number of new shares issued in the conversion of stock in a noncash (or part noncash) transaction. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4332-108586 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4313-108586 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6367179&loc=d3e4304-108586 false1falseStockholders' Equity (Narrative) (Details) (USD $)UnKnownNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://xbrl.cdex-inc.com/20130731/role/StockholdersEquityNarrativeDetails812