2.4.0.80059 - Disclosure - OPERATING EXPENSES - OPERATING EXPENSES (Details)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$1true 1OPRX_NotesToFinancialStatementsAbstractOPRX_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2us-gaap_AdvertisingExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse38253825USD$falsetruefalse2truefalsefalse3265132651USD$falsetruefalse3truefalsefalse71657165USD$falsetruefalse4truefalsefalse4392143921USD$falsetruefalsexbrli:monetaryItemTypemonetaryAmount charged to advertising expense for the period, which are expenses incurred with the objective of increasing revenue for a specified brand, product or product line.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 720 -SubTopic 35 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Statement of Position (SOP) -Number 93-7 -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 2us-gaap_ProfessionalFeesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse7919079190falsefalsefalse2truefalsefalse3463234632falsefalsefalse3truefalsefalse132288132288falsefalsefalse4truefalsefalse7263572635falsefalsefalsexbrli:monetaryItemTypemonetaryA fee charged for services from professionals such as doctors, lawyers and accountants. The term is often expanded to include other professions, for example, pharmacists charging to maintain a medicinal profile of a client or customer.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-07.2(a),(b),(c),(d)) -URI http://asc.fasb.org/extlink&oid=6488393&loc=d3e606610-122999 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 946 -SubTopic 225 -Section 45 -Paragraph 3 -Subparagraph (k) -URI http://asc.fasb.org/extlink&oid=6488370&loc=d3e13550-115849 false24false 2OPRX_ConsultingOPRX_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse1972219722falsefalsefalse2truefalsefalse12201220falsefalsefalse3truefalsefalse4012940129falsefalsefalse4truefalsefalse78357835falsefalsefalsexbrli:monetaryItemTypemonetaryNo authoritative reference available.No definition available.false25false 2us-gaap_SalariesWagesAndOfficersCompensationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse320188320188falsefalsefalse2truefalsefalse294570294570falsefalsefalse3truefalsefalse695259695259falsefalsefalse4truefalsefalse601465601465falsefalsefalsexbrli:monetaryItemTypemonetaryExpenditures for salaries for officers and non-officers. Does not include allocated share-based compensation, pension and post-retirement benefit expense or other labor-related non-salary expense. For commercial and industrial companies, excludes any direct and overhead labor that is included in cost of goods sold.No definition available.false26false 2us-gaap_PaymentsForRentus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse1514815148falsefalsefalse2truefalsefalse1514815148falsefalsefalse3truefalsefalse3029630296falsefalsefalse4truefalsefalse3206632066falsefalsefalsexbrli:monetaryItemTypemonetaryCash payments to lessor's for use of assets under operating leases.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 25 -Subparagraph (g) -URI http://asc.fasb.org/extlink&oid=6943989&loc=d3e3536-108585 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 27 -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. false27false 2us-gaap_DepreciationAndAmortizationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse4822648226falsefalsefalse2truefalsefalse4732947329falsefalsefalse3truefalsefalse9633796337falsefalsefalse4truefalsefalse9335293352falsefalsefalsexbrli:monetaryItemTypemonetaryThe current period expense charged against earnings on long-lived, physical assets not used in production, and which are not intended for resale, to allocate or recognize the cost of such assets over their useful lives; or to record the reduction in book value of an intangible asset over the benefit period of such asset; or to reflect consumption during the period of an asset that is not used in production.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 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Principles Board Opinion (APB) -Number 12 -Paragraph 5 -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 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6943989&loc=d3e3602-108585 false28false 2us-gaap_ShareBasedCompensationus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse1000210002falsefalsefalse2truefalsefalse100835100835falsefalsefalse3truefalsefalse2000420004falsefalsefalse4truefalsefalse228383228383falsefalsefalsexbrli: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 false29false 2OPRX_RevenueShareExpenseOPRX_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse197200197200falsefalsefalse2truefalsefalse81358135falsefalsefalse3truefalsefalse237403237403falsefalsefalse4truefalsefalse81358135falsefalsefalsexbrli:monetaryItemTypemonetaryNo authoritative reference available.No definition available.false210false 2us-gaap_GeneralAndAdministrativeExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalse1truefalsefalse5646556465falsefalsefalse2truefalsefalse5711057110falsefalsefalse3truefalsefalse265257265257falsefalsefalse4truefalsefalse134160134160falsefalsefalsexbrli:monetaryItemTypemonetaryThe aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.4) -URI http://asc.fasb.org/extlink&oid=6880815&loc=d3e20235-122688 false211false 2us-gaap_OperatingExpensesus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseverboseLabel1truefalsefalse749966749966USD$falsetruefalse2truefalsefalse591628591628USD$falsetruefalse3truefalsefalse15241381524138USD$falsetruefalse4truefalsefalse12219521221952USD$falsetruefalsexbrli:monetaryItemTypemonetaryGenerally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services. Includes selling, general and administrative expense.No definition available.false2falseOPERATING EXPENSES - OPERATING EXPENSES (Details) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://OPRX/role/OperatingExpenses-OperatingExpensesDetails411