<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: GoXBRL; Version: 4.23a -->
    <!-- Field: Doc-Info; Name: VendorURI; Value: http://www.novaworks.co -->
    <!-- Field: Doc-Info; Name: Source; Value: O:\PRODUCTION_XBRL\Live Jobs\OptimizeRx Corp\20180630_Q2\Final Deliverable\oprx%2D20180630.xfr; Date: 2018%2D08%2D05T18:38:42Z -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x00000000 -->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
    <link:roleRef roleURI="http://OPRX/role/DocumentAndEntityInformation" xlink:href="oprx-20180630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/CondensedConsolidatedBalanceSheets" xlink:href="oprx-20180630.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="oprx-20180630.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/CondensedConsolidatedStatementsOfOperationsUnaudited" xlink:href="oprx-20180630.xsd#CondensedConsolidatedStatementsOfOperationsUnaudited" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/CondensedConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="oprx-20180630.xsd#CondensedConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/NatureOfBusinessAndBasisOfPresentation" xlink:href="oprx-20180630.xsd#NatureOfBusinessAndBasisOfPresentation" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/NewFinancialAccountingStandards" xlink:href="oprx-20180630.xsd#NewFinancialAccountingStandards" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/StockholdersEquity" xlink:href="oprx-20180630.xsd#StockholdersEquity" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/ShareBasedPayments-OptionsAndStockAwards" xlink:href="oprx-20180630.xsd#ShareBasedPayments-OptionsAndStockAwards" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/CommitmentsAndContingencies" xlink:href="oprx-20180630.xsd#CommitmentsAndContingencies" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/RelatedPartyTransactions" xlink:href="oprx-20180630.xsd#RelatedPartyTransactions" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/NetIncomeLossPerShare" xlink:href="oprx-20180630.xsd#NetIncomeLossPerShare" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/SubsequentEvents" xlink:href="oprx-20180630.xsd#SubsequentEvents" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/NetIncomeLossPerShareTables" xlink:href="oprx-20180630.xsd#NetIncomeLossPerShareTables" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/NewFinancialAccountingStandardsDetails" xlink:href="oprx-20180630.xsd#NewFinancialAccountingStandardsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/StockholdersEquityDetails" xlink:href="oprx-20180630.xsd#StockholdersEquityDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/ShareBasedPayments-OptionsAndStockAwardsDetails" xlink:href="oprx-20180630.xsd#ShareBasedPayments-OptionsAndStockAwardsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/RelatedPartyTransactionsDetails" xlink:href="oprx-20180630.xsd#RelatedPartyTransactionsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/NetIncomeLossPerShareDetails" xlink:href="oprx-20180630.xsd#NetIncomeLossPerShareDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://OPRX/role/SubsequentEventsDetails" xlink:href="oprx-20180630.xsd#SubsequentEventsDetails" xlink:type="simple" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" arcroleURI="http://xbrl.org/int/dim/arcrole/all" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#notAll" arcroleURI="http://xbrl.org/int/dim/arcrole/notAll" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/DocumentAndEntityInformation" xlink:title="00000001 - Document - Document and Entity Information" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/CondensedConsolidatedBalanceSheets" xlink:title="00000002 - Statement - Condensed Consolidated Balance Sheets" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:title="00000003 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/CondensedConsolidatedStatementsOfOperationsUnaudited" xlink:title="00000004 - Statement - Condensed Consolidated Statements of Operations (Unaudited)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/CondensedConsolidatedStatementsOfCashFlowsUnaudited" xlink:title="00000005 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/NatureOfBusinessAndBasisOfPresentation" xlink:title="00000006 - Disclosure - Nature of Business and Basis of Presentation" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/NewFinancialAccountingStandards" xlink:title="00000007 - Disclosure - New Financial Accounting Standards" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/StockholdersEquity" xlink:title="00000008 - Disclosure - Stockholders' Equity" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/ShareBasedPayments-OptionsAndStockAwards" xlink:title="00000009 - Disclosure - Share Based Payments - Options and Stock Awards" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/CommitmentsAndContingencies" xlink:title="00000010 - Disclosure - Commitments and Contingencies" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/RelatedPartyTransactions" xlink:title="00000011 - Disclosure - Related Party Transactions" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/NetIncomeLossPerShare" xlink:title="00000012 - Disclosure - Net Income (Loss) Per Share" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/SubsequentEvents" xlink:title="00000013 - Disclosure - Subsequent Events" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/NetIncomeLossPerShareTables" xlink:title="00000014 - Disclosure - Net Income (Loss) Per Share (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/NewFinancialAccountingStandardsDetails" xlink:title="00000015 - Disclosure - New Financial Accounting Standards (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/StockholdersEquityDetails" xlink:title="00000016 - Disclosure - Stockholders' Equity (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaapRelatedPartyTransactionLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaapScheduleOfRelatedPartyTransactionsByRelatedPartyTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapRelatedPartyTransactionLineItems" xlink:to="loc_us-gaapScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaapRelatedPartyTransactionsByRelatedPartyAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:to="loc_us-gaapRelatedPartyTransactionsByRelatedPartyAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaapRelatedPartyDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapRelatedPartyTransactionsByRelatedPartyAxis" xlink:to="loc_us-gaapRelatedPartyDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaapRelatedPartyDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapRelatedPartyTransactionsByRelatedPartyAxis" xlink:to="loc_us-gaapRelatedPartyDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DirectorMember" xlink:label="loc_us-gaapDirectorMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapRelatedPartyDomain" xlink:to="loc_us-gaapDirectorMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaapSubsidiarySaleOfStockAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:to="loc_us-gaapSubsidiarySaleOfStockAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaapSaleOfStockNameOfTransactionDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapSubsidiarySaleOfStockAxis" xlink:to="loc_us-gaapSaleOfStockNameOfTransactionDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaapSaleOfStockNameOfTransactionDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapSubsidiarySaleOfStockAxis" xlink:to="loc_us-gaapSaleOfStockNameOfTransactionDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrivatePlacementMember" xlink:label="loc_us-gaapPrivatePlacementMember_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSaleOfStockNameOfTransactionDomain" xlink:to="loc_us-gaapPrivatePlacementMember_110" xlink:type="arc" order="111" />
      <link:loc xlink:type="locator" xlink:href="oprx-20180630.xsd#oprx_StockholdersEquityTextualAbstract" xlink:label="loc_oprxStockholdersEquityTextualAbstract_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapRelatedPartyTransactionLineItems" xlink:to="loc_oprxStockholdersEquityTextualAbstract_140" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityReverseStockSplit" xlink:label="loc_us-gaapStockholdersEquityReverseStockSplit_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxStockholdersEquityTextualAbstract_140" xlink:to="loc_us-gaapStockholdersEquityReverseStockSplit_140" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharesIssued" xlink:label="loc_us-gaapSharesIssued_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxStockholdersEquityTextualAbstract_140" xlink:to="loc_us-gaapSharesIssued_140" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesOther" xlink:label="loc_us-gaapStockIssuedDuringPeriodSharesOther_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxStockholdersEquityTextualAbstract_140" xlink:to="loc_us-gaapStockIssuedDuringPeriodSharesOther_140" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueOther" xlink:label="loc_us-gaapStockIssuedDuringPeriodValueOther_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxStockholdersEquityTextualAbstract_140" xlink:to="loc_us-gaapStockIssuedDuringPeriodValueOther_140" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaapStockIssuedDuringPeriodSharesNewIssues_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxStockholdersEquityTextualAbstract_140" xlink:to="loc_us-gaapStockIssuedDuringPeriodSharesNewIssues_140" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaapStockIssuedDuringPeriodValueNewIssues_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxStockholdersEquityTextualAbstract_140" xlink:to="loc_us-gaapStockIssuedDuringPeriodValueNewIssues_140" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="oprx-20180630.xsd#oprx_GrossProceedsFromIssuanceOfCommonStock" xlink:label="loc_oprxGrossProceedsFromIssuanceOfCommonStock_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxStockholdersEquityTextualAbstract_140" xlink:to="loc_oprxGrossProceedsFromIssuanceOfCommonStock_140" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="oprx-20180630.xsd#oprx_PaymentsToAdvisorsAndLegalFees" xlink:label="loc_oprxPaymentsToAdvisorsAndLegalFees_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxStockholdersEquityTextualAbstract_140" xlink:to="loc_oprxPaymentsToAdvisorsAndLegalFees_140" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOrSaleOfEquity" xlink:label="loc_us-gaapProceedsFromIssuanceOrSaleOfEquity_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxStockholdersEquityTextualAbstract_140" xlink:to="loc_us-gaapProceedsFromIssuanceOrSaleOfEquity_140" xlink:type="arc" order="9" />
      <link:loc xlink:type="locator" xlink:href="oprx-20180630.xsd#oprx_StockIssuedDuringPeriodSharesExerciseOfOptions" xlink:label="loc_oprxStockIssuedDuringPeriodSharesExerciseOfOptions_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxStockholdersEquityTextualAbstract_140" xlink:to="loc_oprxStockIssuedDuringPeriodSharesExerciseOfOptions_140" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="oprx-20180630.xsd#oprx_StockIssuedDuringPeriodValueExerciseOfOptions" xlink:label="loc_oprxStockIssuedDuringPeriodValueExerciseOfOptions_140" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxStockholdersEquityTextualAbstract_140" xlink:to="loc_oprxStockIssuedDuringPeriodValueExerciseOfOptions_140" xlink:type="arc" order="11" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/ShareBasedPayments-OptionsAndStockAwardsDetails" xlink:title="00000017 - Disclosure - Share Based Payments - Options and Stock Awards (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OffsettingAssetsLineItems" xlink:label="loc_us-gaapOffsettingAssetsLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OffsettingAssetsTable" xlink:label="loc_us-gaapOffsettingAssetsTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapOffsettingAssetsLineItems" xlink:to="loc_us-gaapOffsettingAssetsTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaapDerivativeInstrumentRiskAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapOffsettingAssetsTable" xlink:to="loc_us-gaapDerivativeInstrumentRiskAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaapDerivativeContractTypeDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapDerivativeInstrumentRiskAxis" xlink:to="loc_us-gaapDerivativeContractTypeDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaapDerivativeContractTypeDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapDerivativeInstrumentRiskAxis" xlink:to="loc_us-gaapDerivativeContractTypeDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockOptionMember" xlink:label="loc_us-gaapStockOptionMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapDerivativeContractTypeDomain" xlink:to="loc_us-gaapStockOptionMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="oprx-20180630.xsd#oprx_ShareBasedPaymentsOptionsAndStockAwardsTextualAbstract" xlink:label="loc_oprxShareBasedPaymentsOptionsAndStockAwardsTextualAbstract_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOffsettingAssetsLineItems" xlink:to="loc_oprxShareBasedPaymentsOptionsAndStockAwardsTextualAbstract_40" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaapShareBasedCompensation_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxShareBasedPaymentsOptionsAndStockAwardsTextualAbstract_40" xlink:to="loc_us-gaapShareBasedCompensation_40" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ExcessStockSharesAuthorized" xlink:label="loc_us-gaapExcessStockSharesAuthorized_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxShareBasedPaymentsOptionsAndStockAwardsTextualAbstract_40" xlink:to="loc_us-gaapExcessStockSharesAuthorized_40" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxShareBasedPaymentsOptionsAndStockAwardsTextualAbstract_40" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_40" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SaleOfStockPricePerShare" xlink:label="loc_us-gaapSaleOfStockPricePerShare_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxShareBasedPaymentsOptionsAndStockAwardsTextualAbstract_40" xlink:to="loc_us-gaapSaleOfStockPricePerShare_40" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockGrantedDuringPeriodValueSharebasedCompensationGross" xlink:label="loc_us-gaapStockGrantedDuringPeriodValueSharebasedCompensationGross_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxShareBasedPaymentsOptionsAndStockAwardsTextualAbstract_40" xlink:to="loc_us-gaapStockGrantedDuringPeriodValueSharebasedCompensationGross_40" xlink:type="arc" order="5" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/RelatedPartyTransactionsDetails" xlink:title="00000018 - Disclosure - Related Party Transactions (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/NetIncomeLossPerShareDetails" xlink:title="00000019 - Disclosure - Net Income (Loss) Per Share (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://OPRX/role/SubsequentEventsDetails" xlink:title="00000020 - Disclosure - Subsequent Events (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaapSubsequentEventLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaapSubsequentEventTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapSubsequentEventLineItems" xlink:to="loc_us-gaapSubsequentEventTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaapSubsequentEventTypeAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapSubsequentEventTable" xlink:to="loc_us-gaapSubsequentEventTypeAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaapSubsequentEventTypeDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapSubsequentEventTypeAxis" xlink:to="loc_us-gaapSubsequentEventTypeDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaapSubsequentEventTypeDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapSubsequentEventTypeAxis" xlink:to="loc_us-gaapSubsequentEventTypeDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaapSubsequentEventMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSubsequentEventTypeDomain" xlink:to="loc_us-gaapSubsequentEventMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="oprx-20180630.xsd#oprx_SubsequentEventsTextualAbstract" xlink:label="loc_oprxSubsequentEventsTextualAbstract_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSubsequentEventLineItems" xlink:to="loc_oprxSubsequentEventsTextualAbstract_30" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityOtherShares" xlink:label="loc_us-gaapStockholdersEquityOtherShares_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxSubsequentEventsTextualAbstract_30" xlink:to="loc_us-gaapStockholdersEquityOtherShares_30" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="oprx-20180630.xsd#oprx_StockIssuedDuringPeriodValueExerciseOfOption" xlink:label="loc_oprxStockIssuedDuringPeriodValueExerciseOfOption_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxSubsequentEventsTextualAbstract_30" xlink:to="loc_oprxStockIssuedDuringPeriodValueExerciseOfOption_30" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesOther" xlink:label="loc_us-gaapStockIssuedDuringPeriodSharesOther_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxSubsequentEventsTextualAbstract_30" xlink:to="loc_us-gaapStockIssuedDuringPeriodSharesOther_30" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="oprx-20180630.xsd#oprx_ClassOfWarrantOrRighstNumberOfSharesExercise" xlink:label="loc_oprxClassOfWarrantOrRighstNumberOfSharesExercise_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxSubsequentEventsTextualAbstract_30" xlink:to="loc_oprxClassOfWarrantOrRighstNumberOfSharesExercise_30" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfWarrantOrRighstDateFromWhichWarrantsOrRightsExercisable" xlink:label="loc_us-gaapClassOfWarrantOrRighstDateFromWhichWarrantsOrRightsExercisable_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oprxSubsequentEventsTextualAbstract_30" xlink:to="loc_us-gaapClassOfWarrantOrRighstDateFromWhichWarrantsOrRightsExercisable_30" xlink:type="arc" order="5" />
    </link:definitionLink>
</link:linkbase>
