XML 69 R54.htm IDEA: XBRL DOCUMENT
v3.20.4

Contingent Purchase Price (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Contingent Purchase Price (Details) [Line Items] |  |
Total contingent payment in cash | $ 3,000,000 |
Fair value of the contingent payment | 1,610,813 | $ 3,000,000
Payment for liability | 4,389,187 |
RMDY Health, Inc [Member] |  |
Contingent Purchase Price (Details) [Line Items] |  |
Total contingent payment in cash | 30,000,000 |
Fair value of the contingent payment |  | $ 3,720,000
Minimum payment | $ 1,000,000 |
Fair value of term | 2 years | 2 years
Risk free rate of return |  | 1.40%
Fair value of volatility |  | 40.00%
Payment of shareholder liability | $ 3,750,000 |
Payment for liability | $ 3,000,000 |
RMDY Health, Inc [Member] | Minimum [Member] |  |
Contingent Purchase Price (Details) [Line Items] |  |
Term of contingent purchase |  | 1 year
RMDY Health, Inc [Member] | Maximum [Member] |  |
Contingent Purchase Price (Details) [Line Items] |  |
Term of contingent purchase |  | 2 years

X
- References No definition available. + Details
Name: | oprx_ContingentEquityFairValueDisclosure
Namespace Prefix: | oprx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | oprx_ContingentPaymentInCash
Namespace Prefix: | oprx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | oprx_ContingentPurchasePriceDetailsLineItems
Namespace Prefix: | oprx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Risk free rate of return. + References No definition available. + Details
Name: | oprx_FairValueOfRiskFreeRateOfReturn
Namespace Prefix: | oprx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of term. + References No definition available. + Details
Name: | oprx_FairValueOfTerm
Namespace Prefix: | oprx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of volatility. + References No definition available. + Details
Name: | oprx_FairValueOfVolatility
Namespace Prefix: | oprx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | oprx_MinimumPaymentForContingent
Namespace Prefix: | oprx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | oprx_PaymentOfShareholderLiability
Namespace Prefix: | oprx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Term of contingent purchase. + References No definition available. + Details
Name: | oprx_TermOfContingentPurchase
Namespace Prefix: | oprx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash outflow, not made soon after acquisition date of business combination, to settle contingent consideration liability up to amount recognized at acquisition date, including, but not limited to, measurement period adjustment and less amount paid soon after acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=oprx_RMDYHealthShareholdersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |