2.4.0.80047 - Disclosure - COMMON STOCK (Details Narrative)truefalsefalse1false USDfalsefalse$AsOf2013-06-30http://www.sec.gov/CIK0001448431instant2013-06-30T00:00:000001-01-01T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$2false falsefalseAsOf2013-06-01http://www.sec.gov/CIK0001448431instant2013-06-01T00:00:000001-01-01T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli03false USDfalsefalse$AsOf2012-12-31http://www.sec.gov/CIK0001448431instant2012-12-31T00:00:000001-01-01T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDPSharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$4false falsefalseAsOf2012-07-12http://www.sec.gov/CIK0001448431instant2012-07-12T00:00:000001-01-01T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli05false falsefalseAsOf2012-06-01http://www.sec.gov/CIK0001448431instant2012-06-01T00:00:000001-01-01T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli01true 1us-gaap_EquityAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2us-gaap_CommonStockSharesAuthorizedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse500000000500000000falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse500000000500000000falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe maximum number of common shares permitted to be issued by an entity's charter and bylaws.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 30 -Article 5 false13false 2us-gaap_CommonStockParOrStatedValuePerShareus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse0.0010.001USD$falsetruefalse2falsefalsefalse00falsefalsefalse3truefalsefalse0.0010.001USD$falsetruefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalFace amount or stated value of common stock per share; generally not indicative of the fair market value per share.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 129 -Paragraph 4 -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 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 30 -Article 5 false34false 2us-gaap_CommonStockSharesIssuedus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse1425249614252496falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse1423249614232496falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesTotal number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 30 -Article 5 false15false 2OPRX_StockIssuedUnderConsultingAgreementOPRX_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse2000020000falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse4000040000falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNo authoritative reference available.No definition available.false16false 2OPRX_StockIssuedUnderConsultingAgreementParValueOPRX_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse1.9451.945falsefalsefalse3falsefalsefalse00falsefalsefalse4truefalsefalse1.121.12falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesNo authoritative reference available.No definition available.false17false 2OPRX_StockGrantedDuringPeriodSharesUnderConsultingAgreementEverySixMonthsOPRX_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2truefalsefalse2000020000falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse4000040000falsefalsefalsexbrli:sharesItemTypesharesNo authoritative reference available.No definition available.false18false 2OPRX_TermOfConsultingAgreementOPRX_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse002 yearsfalsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse002 yearsfalsefalsefalseus-types:durationStringItemTypenormalizedstringNo authoritative reference available.No definition available.false0falseCOMMON STOCK (Details Narrative) (USD $)UnKnownNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://OPRX/role/CommonStockDetailsNarrative58