XML 74 R59.htm IDEA: XBRL DOCUMENT
v3.20.4

Stock Compensation (Details) - Schedule of nonvested shares - Stock Options [Member] - $ / shares | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Stock Compensation (Details) - Schedule of nonvested shares [Line Items] |  |
Options, Nonvested at begining balance | 480,584 |
Weighted-Average Exercise Price, Nonvested, begining balance | $ 10.72 |
Options, Granted | 467,549 | 410,134
Weighted-Average Exercise Price, Granted | $ 11.39 |
Options, Vested | (531,461) |
Weighted-Average Exercise Price, Vested | $ 9.95 |
Options, Forfeited | (85,666) |
Weighted-Average Exercise Price, Forfeited | $ 12.48 |
Options, Nonvested at Ending balance | 331,006 | 480,584
Weighted-Average Exercise Price, Nonvested at Ending balance | $ 12.44 | $ 10.72

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

X
- Definition Gross number of share options (or share units) granted during the period. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(1) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of non-vested options outstanding. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of non-vested options forfeited. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average grant-date fair value of non-vested options forfeited. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average grant-date fair value of non-vested options outstanding. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of options vested. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average grant-date fair value of options vested. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=oprx_StockOptionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |