XML 59 R47.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Related Party Transactions (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2017 | Dec. 31, 2016
Total billings to WPP Agencies [Member] |  |
Related Party Transaction [Line Items] |  |
Related party transactions | $ 3,554,168 | $ 2,613,942
Revenue recognized from WPP Agencies [Member] |  |
Related Party Transaction [Line Items] |  |
Related party transactions | 3,696,214 | 1,542,411
Accounts receivable from WPP Agencies [Member] |  |
Related Party Transaction [Line Items] |  |
Related party transactions | 1,173,614 | 1,108,585
Rebates given to WPP Agencies [Member] |  |
Related Party Transaction [Line Items] |  |
Related party transactions | 33,249 | 24,519
Marketing services purchased from WPP Agencies [Member] |  |
Related Party Transaction [Line Items] |  |
Related party transactions | 54,762 | 190,686
Accounts payable to WPP Agencies [Member] |  |
Related Party Transaction [Line Items] |  |
Related party transactions |  | 12,600
Revenue share expense recorded to WPP Agencies |  |
Related Party Transaction [Line Items] |  |
Related party transactions | 401,596 | 177,372
Revenue share expenses owed to WPP Agencies [Member] |  |
Related Party Transaction [Line Items] |  |
Related party transactions | $ 447,670 | $ 127,458

X
- Definition Amount of transactions with related party during the financial reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39622-107864 + Details
Name: | us-gaap_RelatedPartyTransactionAmountsOfTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=oprx_TotalBillingsToRelatedPartiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=oprx_RevenueRecognizedFromRelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=oprx_AccountsReceivableFromRelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=oprx_RebatesGivenToRelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=oprx_MarketingServicesPurchasedFromRelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=oprx_AccountsPayableToRelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=oprx_RevenueShareExpenseRecordedToRelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=oprx_RevenueShareExpensesOwedToRelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |