2.4.0.80055 - Disclosure - INCOME TAXES - FEDERAL INCOME TAX (Details)truefalsefalse1false USDfalsefalse$From2013-01-01to2013-06-30http://www.sec.gov/CIK0001448431duration2013-01-01T00:00:002013-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$From2012-01-01to2012-06-30http://www.sec.gov/CIK0001448431duration2012-01-01T00:00:002012-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 2us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperationsAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 3us-gaap_FederalIncomeTaxExpenseBenefitContinuingOperationsus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse-84000-84000USD$falsetruefalse2truefalsefalse102000102000USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe sum of domestic current and deferred income tax expense or benefit attributable to continuing operations.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32672-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Income Tax Expense (or Benefit) -URI http://asc.fasb.org/extlink&oid=6515339 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(h)(1)) -URI http://asc.fasb.org/extlink&oid=6881521&loc=d3e23780-122690 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph h -Subparagraph 1 -Article 4 false23false 3us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmountus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse8400084000falsefalsefalse2truefalsefalse-102000-102000falsefalsefalsexbrli:monetaryItemTypemonetaryThe amount of the change in the period in the valuation allowance for a specified deferred tax asset.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 109 -Paragraph 43 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=21917399&loc=d3e32123-109318 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 109 -Paragraph 26 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009. This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy. false24false 3OPRX_NetFederalIncomeTaxOPRX_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse00USD$falsetruefalse2truefalsefalse00USD$falsetruefalsexbrli:monetaryItemTypemonetaryNo authoritative reference available.No definition available.false2falseINCOME TAXES - FEDERAL INCOME TAX (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://OPRX/role/IncomeTaxes-FederalIncomeTaxDetails24