2.4.0.80051 - Disclosure - STOCK OPTIONS AND WARRANTS (Details Narrative)truefalsefalse1false USDfalsefalse$From2013-04-01to2013-06-30http://www.sec.gov/CIK0001448431duration2013-04-01T00:00:002013-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false USDfalsefalse$From2012-04-01to2012-06-30http://www.sec.gov/CIK0001448431duration2012-04-01T00:00:002012-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$From2013-01-01to2013-06-30http://www.sec.gov/CIK0001448431duration2013-01-01T00:00:002013-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4false USDfalsefalse$From2012-01-01to2012-06-30http://www.sec.gov/CIK0001448431duration2012-01-01T00:00:002012-06-30T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5false USDtruefalse$From2012-01-01to2012-05-30_ThreeEmployeesStockOptionsMemberhttp://www.sec.gov/CIK0001448431duration2012-01-01T00:00:002012-05-30T00:00:00falsefalseThree Employees Stock Optionsus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiOPRX_ThreeEmployeesStockOptionsMemberus-gaap_StatementScenarioAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$6false USDtruefalse$From2011-01-01to2011-12-31_ThreeEmployeesStockOptionsMemberhttp://www.sec.gov/CIK0001448431duration2011-01-01T00:00:002011-12-31T00:00:00falsefalseThree Employees Stock Optionsus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiOPRX_ThreeEmployeesStockOptionsMemberus-gaap_StatementScenarioAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$7false USDtruefalse$AsOf2011-05-31_ThreeEmployeesStockOptionsMemberhttp://www.sec.gov/CIK0001448431instant2011-05-31T00:00:000001-01-01T00:00:00falsefalseThree Employees Stock Optionsus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiOPRX_ThreeEmployeesStockOptionsMemberus-gaap_StatementScenarioAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$8false USDtruefalse$From2012-01-01to2012-06-30_TwoEmployeesStockOptionsMemberhttp://www.sec.gov/CIK0001448431duration2012-01-01T00:00:002012-06-30T00:00:00falsefalseTwo Employees Stock Optionsus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiOPRX_TwoEmployeesStockOptionsMemberus-gaap_StatementScenarioAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$9false USDtruefalse$From2011-01-01to2011-12-31_TwoEmployeesStockOptionsMemberhttp://www.sec.gov/CIK0001448431duration2011-01-01T00:00:002011-12-31T00:00:00falsefalseTwo Employees Stock Optionsus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiOPRX_TwoEmployeesStockOptionsMemberus-gaap_StatementScenarioAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$10false USDtruefalse$From2012-01-01to2012-06-30_IndividualStockOptionsMemberhttp://www.sec.gov/CIK0001448431duration2012-01-01T00:00:002012-06-30T00:00:00falsefalseIndividual Stock Optionsus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiOPRX_IndividualStockOptionsMemberus-gaap_StatementScenarioAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$11false USDtruefalse$From2011-01-01to2011-12-31_IndividualStockOptionsMemberhttp://www.sec.gov/CIK0001448431duration2011-01-01T00:00:002011-12-31T00:00:00falsefalseIndividual Stock Optionsus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiOPRX_IndividualStockOptionsMemberus-gaap_StatementScenarioAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$12false USDtruefalse$AsOf2011-11-21_IndividualStockOptionsMemberhttp://www.sec.gov/CIK0001448431instant2011-11-21T00:00:000001-01-01T00:00:00falsefalseIndividual Stock Optionsus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiOPRX_IndividualStockOptionsMemberus-gaap_StatementScenarioAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$13false USDtruefalse$From2012-01-01to2012-06-30_FourNonEmployeesStockOptionsMemberhttp://www.sec.gov/CIK0001448431duration2012-01-01T00:00:002012-06-30T00:00:00falsefalseFour Non-Employees Stock Optionsus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiOPRX_FourNonEmployeesStockOptionsMemberus-gaap_StatementScenarioAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$14false USDtruefalse$AsOf2012-03-31_FourNonEmployeesStockOptionsMemberhttp://www.sec.gov/CIK0001448431instant2012-03-31T00:00:000001-01-01T00:00:00falsefalseFour Non-Employees Stock Optionsus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiOPRX_FourNonEmployeesStockOptionsMemberus-gaap_StatementScenarioAxisexplicitMemberSharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$15false USDtruefalse$From2012-10-01to2012-12-31_NonEmployeeStockOptionsMemberhttp://www.sec.gov/CIK0001448431duration2012-10-01T00:00:002012-12-31T00:00:00falsefalseNon-Employee Stock Optionsus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiOPRX_NonEmployeeStockOptionsMemberus-gaap_StatementScenarioAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$16false USDtruefalse$From2013-01-01to2013-06-30_NonEmployeeStockOptionsMemberhttp://www.sec.gov/CIK0001448431duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseNon-Employee Stock Optionsus-gaap_StatementScenarioAxisxbrldihttp://xbrl.org/2006/xbrldiOPRX_NonEmployeeStockOptionsMemberus-gaap_StatementScenarioAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$1false 4OPRX_StockOptionsIssuedOPRX_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse285000285000USD$falsetruefalse8falsefalsefalse00falsefalsefalse9truefalsefalse2000020000USD$falsetruefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12truefalsefalse100000100000USD$falsetruefalse13falsefalsefalse00falsefalsefalse14truefalsefalse5000050000USD$falsetruefalse15truefalsefalse2500025000USD$falsetruefalse16falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNo authoritative reference available.No definition available.false22false 4OPRX_StockOptionExercisePricePerShareOPRX_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse1.001.00falsefalsefalse8falsefalsefalse00falsefalsefalse9truefalsefalse1.001.00falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12truefalsefalse0.730.73falsefalsefalse13falsefalsefalse00falsefalsefalse14truefalsefalse0.890.89falsefalsefalse15truefalsefalse1.581.58falsefalsefalse16falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNo authoritative reference available.No definition available.false13false 4OPRX_StockOptionValueBlackScholesModelOPRX_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7truefalsefalse320585320585falsefalsefalse8falsefalsefalse00falsefalsefalse9truefalsefalse1927019270falsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14truefalsefalse3509135091falsefalsefalse15truefalsefalse4000740007falsefalsefalse16falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryNo authoritative reference available.No definition available.false24false 4OPRX_StockOptionVestingPeriodOPRX_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6falsefalsefalse00falsefalsefalse7falsefalsefalse001 yearfalsefalsefalse8falsefalsefalse00falsefalsefalse9falsefalsefalse001 yearfalsefalsefalse10falsefalsefalse00falsefalsefalse11falsefalsefalse00falsefalsefalse12falsefalsefalse00falsefalsefalse13falsefalsefalse00falsefalsefalse14falsefalsefalse004 monthsfalsefalsefalse15falsefalsefalse001 yearfalsefalsefalse16falsefalsefalse00falsefalsefalseus-types:durationStringItemTypenormalizedstringNo authoritative reference available.No definition available.false05false 4us-gaap_ShareBasedCompensationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse1000210002USD$falsetruefalse2truefalsefalse100835100835USD$falsetruefalse3truefalsefalse2000420004USD$falsetruefalse4truefalsefalse228383228383USD$falsetruefalse5truefalsefalse133580133580USD$falsetruefalse6truefalsefalse187005187005USD$falsetruefalse7falsefalsefalse00falsefalsefalse8truefalsefalse96339633USD$falsetruefalse9truefalsefalse24802480USD$falsetruefalse10truefalsefalse5007850078USD$falsetruefalse11truefalsefalse83468346USD$falsetruefalse12falsefalsefalse00falsefalsefalse13truefalsefalse3509135091USD$falsetruefalse14falsefalsefalse00falsefalsefalse15truefalsefalse83358335USD$falsetruefalse16truefalsefalse2000420004USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 -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 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6943989&loc=d3e3602-108585 false2falseSTOCK OPTIONS AND WARRANTS (Details Narrative) (USD $)NoRoundingNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://OPRX/role/StockOptionsAndWarrantsDetailsNarrative165