2.4.0.80041 - Disclosure - PATENT RIGHTS AND INTANGIBLE ASSETS - PATENT RIGHTS AND INTANGIBLE ASSETS (Details)truefalsefalse1false USDfalsefalse$AsOf2013-06-30http://www.sec.gov/CIK0001448431instant2013-06-30T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$AsOf2012-12-31http://www.sec.gov/CIK0001448431instant2012-12-31T00:00:000001-01-01T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 1us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2us-gaap_AcquiredFiniteLivedIntangibleAssetAmountus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse968278968278USD$falsetruefalse2truefalsefalse930000930000USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe aggregate amount assigned to a major class of finite-lived intangible assets acquired either individually or as part of a group of assets (in either an asset acquisition or business combination). A major class is composed of intangible assets that can be grouped together because they are similar, either by their nature or by their use in the operations of a company.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16265-109275 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 142 -Paragraph 44 -Subparagraph a(1) -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. false23false 2OPRX_AccumulatedAmortizationOfPatentRightsOPRX_falsecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse-165142-165142falsefalsefalse2truefalsefalse-136764-136764falsefalsefalsexbrli:monetaryItemTypemonetaryNo authoritative reference available.No definition available.false24false 2us-gaap_IntangibleAssetsNetExcludingGoodwillus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse803136803136USD$falsetruefalse2truefalsefalse793236793236USD$falsetruefalsexbrli:monetaryItemTypemonetarySum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph ((a)(1),(b)) -URI http://asc.fasb.org/extlink&oid=7658586&loc=d3e16323-109275 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 142 -Paragraph 42, 45 -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. false2falsePATENT RIGHTS AND INTANGIBLE ASSETS - PATENT RIGHTS AND INTANGIBLE ASSETS (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://OPRX/role/PatentRightsAndIntangibleAssets-PatentRightsAndIntangibleAssetsDetails24