<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2023 Workiva-->
<!--r:3040ecaa-d98f-42d5-9854-9c1a7ec98864,g:10a2b015-69d1-478c-967c-e01a9974c48a-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.apollomed.net/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="ameh-20230630.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended" id="i2778008da4f04683b3786552026c2384_CONSOLIDATEDBALANCESHEETS">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_ea900206-6851-46b4-ba9b-596e0a6344ca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_a7b665da-9604-4045-9f21-dedf19c1e3a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ea900206-6851-46b4-ba9b-596e0a6344ca" xlink:to="loc_us-gaap_AssetsAbstract_a7b665da-9604-4045-9f21-dedf19c1e3a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_9b59456a-60cc-42b3-b369-c62c6552a73b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_a7b665da-9604-4045-9f21-dedf19c1e3a5" xlink:to="loc_us-gaap_AssetsCurrentAbstract_9b59456a-60cc-42b3-b369-c62c6552a73b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_784c146d-2c34-4006-b0eb-0b0095910700" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_9b59456a-60cc-42b3-b369-c62c6552a73b" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_784c146d-2c34-4006-b0eb-0b0095910700" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_587cc27a-a522-4095-bc62-a595fcf3686d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_9b59456a-60cc-42b3-b369-c62c6552a73b" xlink:to="loc_us-gaap_RestrictedCash_587cc27a-a522-4095-bc62-a595fcf3686d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_85c00dab-9d7e-437b-8f27-c85a9a079fc9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_9b59456a-60cc-42b3-b369-c62c6552a73b" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_85c00dab-9d7e-437b-8f27-c85a9a079fc9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_d7d519fa-8adb-4fdf-b7fb-a692a6217cb7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_9b59456a-60cc-42b3-b369-c62c6552a73b" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_d7d519fa-8adb-4fdf-b7fb-a692a6217cb7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_28c9a1da-235d-4923-bf8a-5faf34a7fc7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherReceivablesNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_9b59456a-60cc-42b3-b369-c62c6552a73b" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_28c9a1da-235d-4923-bf8a-5faf34a7fc7a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_50df45bd-4a12-409a-9e46-efc55096f900" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_9b59456a-60cc-42b3-b369-c62c6552a73b" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_50df45bd-4a12-409a-9e46-efc55096f900" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesAndLoansReceivableNetCurrent_b6366124-b3e9-4719-9190-5d602ff96240" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesAndLoansReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_9b59456a-60cc-42b3-b369-c62c6552a73b" xlink:to="loc_us-gaap_NotesAndLoansReceivableNetCurrent_b6366124-b3e9-4719-9190-5d602ff96240" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_3ec58feb-86fb-4d07-9780-07c7b660ddbf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_9b59456a-60cc-42b3-b369-c62c6552a73b" xlink:to="loc_us-gaap_AssetsCurrent_3ec58feb-86fb-4d07-9780-07c7b660ddbf" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_eeee1da4-205f-477a-b9be-f1614ba4d34b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsNoncurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_a7b665da-9604-4045-9f21-dedf19c1e3a5" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_eeee1da4-205f-477a-b9be-f1614ba4d34b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_7b460599-bf39-4dcb-b149-76a0bbcff32e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_eeee1da4-205f-477a-b9be-f1614ba4d34b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_7b460599-bf39-4dcb-b149-76a0bbcff32e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c5a9a5b4-e199-4f26-bf32-53b338dd9a10" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_eeee1da4-205f-477a-b9be-f1614ba4d34b" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_c5a9a5b4-e199-4f26-bf32-53b338dd9a10" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_dc7a8846-f63b-4990-97ad-4f508271dc5c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_eeee1da4-205f-477a-b9be-f1614ba4d34b" xlink:to="loc_us-gaap_Goodwill_dc7a8846-f63b-4990-97ad-4f508271dc5c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesReceivableNoncurrent_9a3d5bc2-12c9-43ec-ae3f-afee2e754b23" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxesReceivableNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_eeee1da4-205f-477a-b9be-f1614ba4d34b" xlink:to="loc_us-gaap_IncomeTaxesReceivableNoncurrent_9a3d5bc2-12c9-43ec-ae3f-afee2e754b23" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_48ddf905-be0e-4664-beca-4147f0da28fb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_eeee1da4-205f-477a-b9be-f1614ba4d34b" xlink:to="loc_us-gaap_EquityMethodInvestments_48ddf905-be0e-4664-beca-4147f0da28fb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_InvestmentInPrivatelyHeldEntityThatDoesNotReportNetAssetValue_3d23ab42-520a-4055-9c58-b80c2e4c41af" xlink:href="ameh-20230630.xsd#ameh_InvestmentInPrivatelyHeldEntityThatDoesNotReportNetAssetValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_eeee1da4-205f-477a-b9be-f1614ba4d34b" xlink:to="loc_ameh_InvestmentInPrivatelyHeldEntityThatDoesNotReportNetAssetValue_3d23ab42-520a-4055-9c58-b80c2e4c41af" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_c5664100-7f45-4e0a-acb4-54b5afc5ee12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_eeee1da4-205f-477a-b9be-f1614ba4d34b" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_c5664100-7f45-4e0a-acb4-54b5afc5ee12" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_1e337d9d-bee0-4d47-bfdf-b208305e98eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_eeee1da4-205f-477a-b9be-f1614ba4d34b" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_1e337d9d-bee0-4d47-bfdf-b208305e98eb" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrent_c8ca53d7-2658-4732-8815-82cee9c312db" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_eeee1da4-205f-477a-b9be-f1614ba4d34b" xlink:to="loc_us-gaap_AssetsNoncurrent_c8ca53d7-2658-4732-8815-82cee9c312db" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_741f2e45-1dd0-4925-b95d-b9247d26e443" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_a7b665da-9604-4045-9f21-dedf19c1e3a5" xlink:to="loc_us-gaap_Assets_741f2e45-1dd0-4925-b95d-b9247d26e443" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_aa442ae4-acff-4cd4-8fd3-edd887307387" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ea900206-6851-46b4-ba9b-596e0a6344ca" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_aa442ae4-acff-4cd4-8fd3-edd887307387" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_44d9ff63-7dae-41bc-b8df-24676ed003d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_aa442ae4-acff-4cd4-8fd3-edd887307387" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_44d9ff63-7dae-41bc-b8df-24676ed003d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_beaf98b5-9910-45c2-98a3-6244c038ce02" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_44d9ff63-7dae-41bc-b8df-24676ed003d5" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_beaf98b5-9910-45c2-98a3-6244c038ce02" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_FiduciaryAccountsPayableCurrent_34c6c7aa-9abd-486d-97e3-afd900845e63" xlink:href="ameh-20230630.xsd#ameh_FiduciaryAccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_44d9ff63-7dae-41bc-b8df-24676ed003d5" xlink:to="loc_ameh_FiduciaryAccountsPayableCurrent_34c6c7aa-9abd-486d-97e3-afd900845e63" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_f7011aec-ea6a-43eb-967e-6a6f4cbeb0ea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_44d9ff63-7dae-41bc-b8df-24676ed003d5" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_f7011aec-ea6a-43eb-967e-6a6f4cbeb0ea" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_c71f6aa3-deaf-47f0-94a7-347996876cb9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedIncomeTaxesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_44d9ff63-7dae-41bc-b8df-24676ed003d5" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_c71f6aa3-deaf-47f0-94a7-347996876cb9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_2674baf2-33e3-4e05-9eb8-cd731afd367c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_44d9ff63-7dae-41bc-b8df-24676ed003d5" xlink:to="loc_us-gaap_DividendsPayableCurrent_2674baf2-33e3-4e05-9eb8-cd731afd367c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_a81ab4ce-2b41-4c93-b8b7-a3568ce25581" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_44d9ff63-7dae-41bc-b8df-24676ed003d5" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_a81ab4ce-2b41-4c93-b8b7-a3568ce25581" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_37b1f7cd-58f4-45af-b696-6230c0cf803a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_44d9ff63-7dae-41bc-b8df-24676ed003d5" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_37b1f7cd-58f4-45af-b696-6230c0cf803a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_5b00e9eb-470f-40bb-bb4c-0ebe11a91713" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_44d9ff63-7dae-41bc-b8df-24676ed003d5" xlink:to="loc_us-gaap_LongTermDebtCurrent_5b00e9eb-470f-40bb-bb4c-0ebe11a91713" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_389562ab-8591-4bfa-ae4f-5e8373c9b86c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_44d9ff63-7dae-41bc-b8df-24676ed003d5" xlink:to="loc_us-gaap_LiabilitiesCurrent_389562ab-8591-4bfa-ae4f-5e8373c9b86c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_58f60d11-7fa7-4825-bc95-dc8412550f90" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesNoncurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_aa442ae4-acff-4cd4-8fd3-edd887307387" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_58f60d11-7fa7-4825-bc95-dc8412550f90" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_12d33c58-546c-444f-bf69-c08d7cc8c03f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_58f60d11-7fa7-4825-bc95-dc8412550f90" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_12d33c58-546c-444f-bf69-c08d7cc8c03f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_528b8823-4e71-4969-9902-e71f87b475d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_58f60d11-7fa7-4825-bc95-dc8412550f90" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_528b8823-4e71-4969-9902-e71f87b475d2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_e8e746d6-405d-4139-8bfc-6a55bc49e0ab" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_58f60d11-7fa7-4825-bc95-dc8412550f90" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_e8e746d6-405d-4139-8bfc-6a55bc49e0ab" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_c1be59f1-b7f6-44e1-a8bb-abbb214054ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_58f60d11-7fa7-4825-bc95-dc8412550f90" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_c1be59f1-b7f6-44e1-a8bb-abbb214054ce" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_b515949a-c3c4-4b65-98fe-90e3dd7eeb47" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_58f60d11-7fa7-4825-bc95-dc8412550f90" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_b515949a-c3c4-4b65-98fe-90e3dd7eeb47" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_7f56ebec-f1e6-438d-8b20-9bcf541df0ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_58f60d11-7fa7-4825-bc95-dc8412550f90" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_7f56ebec-f1e6-438d-8b20-9bcf541df0ad" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_91c1df4f-75b7-4e46-a8ce-73f14eb035c7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_aa442ae4-acff-4cd4-8fd3-edd887307387" xlink:to="loc_us-gaap_Liabilities_91c1df4f-75b7-4e46-a8ce-73f14eb035c7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_a5e7cecc-d496-45b9-90cb-6cc12bbbac85" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_aa442ae4-acff-4cd4-8fd3-edd887307387" xlink:to="loc_us-gaap_CommitmentsAndContingencies_a5e7cecc-d496-45b9-90cb-6cc12bbbac85" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MezzanineEquityAbstract_d24c23d3-bb83-43e8-8ec5-291ec1a16f33" xlink:href="ameh-20230630.xsd#ameh_MezzanineEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_aa442ae4-acff-4cd4-8fd3-edd887307387" xlink:to="loc_ameh_MezzanineEquityAbstract_d24c23d3-bb83-43e8-8ec5-291ec1a16f33" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_b9e79dde-6def-47d3-b88e-b87ee7fff0ea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_MezzanineEquityAbstract_d24c23d3-bb83-43e8-8ec5-291ec1a16f33" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_b9e79dde-6def-47d3-b88e-b87ee7fff0ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_e5089b33-b4fa-4f85-b8b3-30d1647dde87" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_aa442ae4-acff-4cd4-8fd3-edd887307387" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_e5089b33-b4fa-4f85-b8b3-30d1647dde87" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_e6986bc8-db20-4dc1-bb54-0e40d0acc775" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_e5089b33-b4fa-4f85-b8b3-30d1647dde87" xlink:to="loc_us-gaap_PreferredStockValue_e6986bc8-db20-4dc1-bb54-0e40d0acc775" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_85db6eb3-ed89-4c11-9d29-99ad343dd998" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_e5089b33-b4fa-4f85-b8b3-30d1647dde87" xlink:to="loc_us-gaap_CommonStockValue_85db6eb3-ed89-4c11-9d29-99ad343dd998" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_25481962-deca-4777-a672-9a8b89a4ffca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_e5089b33-b4fa-4f85-b8b3-30d1647dde87" xlink:to="loc_us-gaap_AdditionalPaidInCapital_25481962-deca-4777-a672-9a8b89a4ffca" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_ae6e235d-2f8f-4910-8048-f4efd4c6f3c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_e5089b33-b4fa-4f85-b8b3-30d1647dde87" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_ae6e235d-2f8f-4910-8048-f4efd4c6f3c3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_762cf318-c2ff-4729-981e-29023091f5f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_e5089b33-b4fa-4f85-b8b3-30d1647dde87" xlink:to="loc_us-gaap_StockholdersEquity_762cf318-c2ff-4729-981e-29023091f5f5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_39177d80-ca20-4cde-8c1c-6fce54b15bec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_e5089b33-b4fa-4f85-b8b3-30d1647dde87" xlink:to="loc_us-gaap_MinorityInterest_39177d80-ca20-4cde-8c1c-6fce54b15bec" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0fedcfac-81fd-49a3-9c3a-aceeba896eea" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_e5089b33-b4fa-4f85-b8b3-30d1647dde87" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0fedcfac-81fd-49a3-9c3a-aceeba896eea" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_a3c6cc28-4570-49a3-93de-7dd36d88499c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_aa442ae4-acff-4cd4-8fd3-edd887307387" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_a3c6cc28-4570-49a3-93de-7dd36d88499c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_fd1de983-9958-4cc6-89d1-9ca19385f259" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_ea900206-6851-46b4-ba9b-596e0a6344ca" xlink:to="loc_us-gaap_StatementTable_fd1de983-9958-4cc6-89d1-9ca19385f259" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_160d4703-a620-4be9-b184-553a1ea24258" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_fd1de983-9958-4cc6-89d1-9ca19385f259" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_160d4703-a620-4be9-b184-553a1ea24258" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_160d4703-a620-4be9-b184-553a1ea24258_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_160d4703-a620-4be9-b184-553a1ea24258" xlink:to="loc_us-gaap_RelatedPartyDomain_160d4703-a620-4be9-b184-553a1ea24258_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_fec576b6-57bb-4dc1-ada7-63db8556919a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_160d4703-a620-4be9-b184-553a1ea24258" xlink:to="loc_us-gaap_RelatedPartyDomain_fec576b6-57bb-4dc1-ada7-63db8556919a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonrelatedPartyMember_31ca593d-feff-47ab-a0ed-5b277b092422" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonrelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_fec576b6-57bb-4dc1-ada7-63db8556919a" xlink:to="loc_us-gaap_NonrelatedPartyMember_31ca593d-feff-47ab-a0ed-5b277b092422" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_50684a26-76b0-46a5-b22c-0dd21af01bb0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_fec576b6-57bb-4dc1-ada7-63db8556919a" xlink:to="loc_us-gaap_RelatedPartyMember_50684a26-76b0-46a5-b22c-0dd21af01bb0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_4ecf2e95-afad-4fc6-9ba6-65cd0903ebc0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_fd1de983-9958-4cc6-89d1-9ca19385f259" xlink:to="loc_us-gaap_StatementClassOfStockAxis_4ecf2e95-afad-4fc6-9ba6-65cd0903ebc0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_4ecf2e95-afad-4fc6-9ba6-65cd0903ebc0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_4ecf2e95-afad-4fc6-9ba6-65cd0903ebc0" xlink:to="loc_us-gaap_ClassOfStockDomain_4ecf2e95-afad-4fc6-9ba6-65cd0903ebc0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_be72b786-5ecb-4f8c-a09c-1e333a4427bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_4ecf2e95-afad-4fc6-9ba6-65cd0903ebc0" xlink:to="loc_us-gaap_ClassOfStockDomain_be72b786-5ecb-4f8c-a09c-1e333a4427bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_ce2a1f3b-dcb1-413d-8a29-dc1110773a42" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeriesAPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_be72b786-5ecb-4f8c-a09c-1e333a4427bf" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_ce2a1f3b-dcb1-413d-8a29-dc1110773a42" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_3c753739-f56f-42bb-b5e9-60e9883386fd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeriesBPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_be72b786-5ecb-4f8c-a09c-1e333a4427bf" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_3c753739-f56f-42bb-b5e9-60e9883386fd" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="ameh-20230630.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended" id="i4d57180dfff64367ba30a90d8a1d3b2f_CONSOLIDATEDBALANCESHEETSParenthetical">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_a9baac67-d741-4745-a2e3-7739ab996774" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_a9baac67-d741-4745-a2e3-7739ab996774" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_505709b4-a92a-4222-b71d-92ef994a6f30" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_505709b4-a92a-4222-b71d-92ef994a6f30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_4337b261-1006-4258-aae8-781d8ca8a422" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_PreferredStockSharesIssued_4337b261-1006-4258-aae8-781d8ca8a422" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_6bb0c491-272c-40dc-8c3b-3af55124accb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_6bb0c491-272c-40dc-8c3b-3af55124accb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_5d9a778a-f2d8-4abe-8687-1407fed58257" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_5d9a778a-f2d8-4abe-8687-1407fed58257" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_434ec6df-56e1-4d9c-af9a-75ea7584a158" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_434ec6df-56e1-4d9c-af9a-75ea7584a158" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_b42b30fb-3afc-45f6-aabf-bcc8759deb1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_CommonStockSharesIssued_b42b30fb-3afc-45f6-aabf-bcc8759deb1c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_05e66b3c-3097-4608-a7be-78c2cf95e3ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_05e66b3c-3097-4608-a7be-78c2cf95e3ee" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_1236b8d3-e57d-47b9-bc83-499e2879701d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_TreasuryStockCommonShares_1236b8d3-e57d-47b9-bc83-499e2879701d" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_5636a97c-6663-4692-a788-5a8fbfb1ffc6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_Assets_5636a97c-6663-4692-a788-5a8fbfb1ffc6" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_50f77b6f-fdba-4be5-84bc-ac21e1c0c345" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_Liabilities_50f77b6f-fdba-4be5-84bc-ac21e1c0c345" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_15433970-7686-4cdb-8885-ca67bfa4d83d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_15433970-7686-4cdb-8885-ca67bfa4d83d" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_3968fce1-9e4c-4926-b1d0-11df3b30da59" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_OtherLiabilities_3968fce1-9e4c-4926-b1d0-11df3b30da59" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_5905a9f5-ebaa-4e20-bdfe-95efab8444a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_OtherReceivables_5905a9f5-ebaa-4e20-bdfe-95efab8444a6" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_5606f1c1-20a9-467b-bc7a-d7384dcf09ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_6cc00ff0-b3fd-44f6-bcbc-333b35526f76" xlink:to="loc_us-gaap_StatementTable_5606f1c1-20a9-467b-bc7a-d7384dcf09ec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_2acd98b6-dca8-4323-954f-f51615840153" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5606f1c1-20a9-467b-bc7a-d7384dcf09ec" xlink:to="loc_us-gaap_StatementClassOfStockAxis_2acd98b6-dca8-4323-954f-f51615840153" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_2acd98b6-dca8-4323-954f-f51615840153_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2acd98b6-dca8-4323-954f-f51615840153" xlink:to="loc_us-gaap_ClassOfStockDomain_2acd98b6-dca8-4323-954f-f51615840153_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_156da92d-33b7-466c-b8cb-9cff55e96987" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2acd98b6-dca8-4323-954f-f51615840153" xlink:to="loc_us-gaap_ClassOfStockDomain_156da92d-33b7-466c-b8cb-9cff55e96987" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_d434cef5-ff1f-4008-b2ff-07d201d3ef68" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeriesAPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_156da92d-33b7-466c-b8cb-9cff55e96987" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_d434cef5-ff1f-4008-b2ff-07d201d3ef68" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_a8f89bfc-c6a5-45ed-8635-878b5ebf54dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeriesBPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_156da92d-33b7-466c-b8cb-9cff55e96987" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_a8f89bfc-c6a5-45ed-8635-878b5ebf54dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_ec32831a-86f1-4f2a-bed0-16355b09bfbe" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5606f1c1-20a9-467b-bc7a-d7384dcf09ec" xlink:to="loc_srt_ConsolidatedEntitiesAxis_ec32831a-86f1-4f2a-bed0-16355b09bfbe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_ec32831a-86f1-4f2a-bed0-16355b09bfbe_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_ec32831a-86f1-4f2a-bed0-16355b09bfbe" xlink:to="loc_srt_ConsolidatedEntitiesDomain_ec32831a-86f1-4f2a-bed0-16355b09bfbe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_e41fa349-ce42-408c-b774-d5e3614a863c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_ec32831a-86f1-4f2a-bed0-16355b09bfbe" xlink:to="loc_srt_ConsolidatedEntitiesDomain_e41fa349-ce42-408c-b774-d5e3614a863c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_7f269a2b-fc17-43e2-9adf-b92151e3fd14" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_e41fa349-ce42-408c-b774-d5e3614a863c" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_7f269a2b-fc17-43e2-9adf-b92151e3fd14" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="simple" xlink:href="ameh-20230630.xsd#CONSOLIDATEDSTATEMENTSOFINCOME"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="extended" id="i41797459cee345f38b070a81ac0d8489_CONSOLIDATEDSTATEMENTSOFINCOME">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesAbstract_f5e563e0-deb3-41cd-ae82-98ee699fd1cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenuesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:to="loc_us-gaap_RevenuesAbstract_f5e563e0-deb3-41cd-ae82-98ee699fd1cb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_6ac974e4-cc83-466d-81ae-4445c14b5d45" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_f5e563e0-deb3-41cd-ae82-98ee699fd1cb" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_6ac974e4-cc83-466d-81ae-4445c14b5d45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpensesAbstract_7c95ef26-f32f-4f94-b5de-3e3e1db111a3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpensesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:to="loc_us-gaap_OperatingExpensesAbstract_7c95ef26-f32f-4f94-b5de-3e3e1db111a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_38ecc062-cfd8-4eec-9d66-94c4673c63fd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7c95ef26-f32f-4f94-b5de-3e3e1db111a3" xlink:to="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_38ecc062-cfd8-4eec-9d66-94c4673c63fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_09c7430b-13a3-4ec1-ba98-6d9157de0785" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7c95ef26-f32f-4f94-b5de-3e3e1db111a3" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_09c7430b-13a3-4ec1-ba98-6d9157de0785" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_da919e2c-8fa4-4301-891b-bc26d2d4ec40" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7c95ef26-f32f-4f94-b5de-3e3e1db111a3" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_da919e2c-8fa4-4301-891b-bc26d2d4ec40" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_f5e78674-121a-4ad5-a06c-ecad8931d570" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_7c95ef26-f32f-4f94-b5de-3e3e1db111a3" xlink:to="loc_us-gaap_CostsAndExpenses_f5e78674-121a-4ad5-a06c-ecad8931d570" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_594390d2-420b-4502-bbae-f86a38c87c06" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:to="loc_us-gaap_OperatingIncomeLoss_594390d2-420b-4502-bbae-f86a38c87c06" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpenseAbstract_dc19f365-42e3-4f79-8bfd-288de3e8a1dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonoperatingIncomeExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:to="loc_us-gaap_NonoperatingIncomeExpenseAbstract_dc19f365-42e3-4f79-8bfd-288de3e8a1dd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_8ff3e454-9dd3-4b9c-b3b2-ba49f03cf3c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_dc19f365-42e3-4f79-8bfd-288de3e8a1dd" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_8ff3e454-9dd3-4b9c-b3b2-ba49f03cf3c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_f2f5a56c-629e-4a65-9e95-0f285a9ad87f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_dc19f365-42e3-4f79-8bfd-288de3e8a1dd" xlink:to="loc_us-gaap_InterestExpense_f2f5a56c-629e-4a65-9e95-0f285a9ad87f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_e1cc87ff-2f13-4583-b4a0-4c0130781e63" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_dc19f365-42e3-4f79-8bfd-288de3e8a1dd" xlink:to="loc_us-gaap_InvestmentIncomeInterest_e1cc87ff-2f13-4583-b4a0-4c0130781e63" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_7727cd82-d416-493e-baff-7c06c68a5801" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_dc19f365-42e3-4f79-8bfd-288de3e8a1dd" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_7727cd82-d416-493e-baff-7c06c68a5801" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_132031d9-46a9-45ed-b4df-7bcaef25172b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_dc19f365-42e3-4f79-8bfd-288de3e8a1dd" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_132031d9-46a9-45ed-b4df-7bcaef25172b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_e6896887-ee03-451b-a531-484ee4a958de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_dc19f365-42e3-4f79-8bfd-288de3e8a1dd" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_e6896887-ee03-451b-a531-484ee4a958de" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_dd3aa01c-39ba-4636-9d7c-2aa586768a74" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_dd3aa01c-39ba-4636-9d7c-2aa586768a74" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_d83b4f43-2dbf-4e99-baf5-52d9dc71b259" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_d83b4f43-2dbf-4e99-baf5-52d9dc71b259" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_d925108f-f456-4246-9c36-1987071a7a19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:to="loc_us-gaap_ProfitLoss_d925108f-f456-4246-9c36-1987071a7a19" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_aac2d036-9f30-49aa-9f8c-006809a716df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_aac2d036-9f30-49aa-9f8c-006809a716df" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_2187effb-5949-44cb-b6e0-7e84c15c3f0a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:to="loc_us-gaap_NetIncomeLoss_2187effb-5949-44cb-b6e0-7e84c15c3f0a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_2cc11fad-e558-4c1f-9d79-c1ddadd1862c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:to="loc_us-gaap_EarningsPerShareBasic_2cc11fad-e558-4c1f-9d79-c1ddadd1862c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_562a6305-41ad-4ad2-9435-1069acbe0e0e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:to="loc_us-gaap_EarningsPerShareDiluted_562a6305-41ad-4ad2-9435-1069acbe0e0e" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_7a798d7f-269b-488a-a335-ce131a374e82" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_f0ba9925-9c60-4830-99ed-643f8f12c3ee" xlink:to="loc_us-gaap_StatementTable_7a798d7f-269b-488a-a335-ce131a374e82" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_e2c1decd-6af3-4000-9ab8-5e652a0dd019" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7a798d7f-269b-488a-a335-ce131a374e82" xlink:to="loc_srt_ProductOrServiceAxis_e2c1decd-6af3-4000-9ab8-5e652a0dd019" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_e2c1decd-6af3-4000-9ab8-5e652a0dd019_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_e2c1decd-6af3-4000-9ab8-5e652a0dd019" xlink:to="loc_srt_ProductsAndServicesDomain_e2c1decd-6af3-4000-9ab8-5e652a0dd019_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_62faad1a-a982-4e07-bc6e-b6be2985d4d4" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_e2c1decd-6af3-4000-9ab8-5e652a0dd019" xlink:to="loc_srt_ProductsAndServicesDomain_62faad1a-a982-4e07-bc6e-b6be2985d4d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_HealthCareCapitationRevenueMember_4343890c-c048-4a1c-b049-c2dac481e057" xlink:href="ameh-20230630.xsd#ameh_HealthCareCapitationRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_62faad1a-a982-4e07-bc6e-b6be2985d4d4" xlink:to="loc_ameh_HealthCareCapitationRevenueMember_4343890c-c048-4a1c-b049-c2dac481e057" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HealthCareOtherMember_e90791cc-d26c-4f43-add5-926d8264d92e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HealthCareOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_62faad1a-a982-4e07-bc6e-b6be2985d4d4" xlink:to="loc_us-gaap_HealthCareOtherMember_e90791cc-d26c-4f43-add5-926d8264d92e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementServiceMember_9ef6c3cd-c9f5-4f58-a3e5-a5ab23e37aad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ManagementServiceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_62faad1a-a982-4e07-bc6e-b6be2985d4d4" xlink:to="loc_us-gaap_ManagementServiceMember_9ef6c3cd-c9f5-4f58-a3e5-a5ab23e37aad" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HealthCarePatientServiceMember_dd3653b7-6524-4b26-9035-be7635860a79" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HealthCarePatientServiceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_62faad1a-a982-4e07-bc6e-b6be2985d4d4" xlink:to="loc_us-gaap_HealthCarePatientServiceMember_dd3653b7-6524-4b26-9035-be7635860a79" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductAndServiceOtherMember_f4a9c722-2ddf-472f-8218-8e52b633bdcf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProductAndServiceOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_62faad1a-a982-4e07-bc6e-b6be2985d4d4" xlink:to="loc_us-gaap_ProductAndServiceOtherMember_f4a9c722-2ddf-472f-8218-8e52b633bdcf" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/CONSOLIDATEDSTATEMENTSOFMEZZANINEANDSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="ameh-20230630.xsd#CONSOLIDATEDSTATEMENTSOFMEZZANINEANDSTOCKHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CONSOLIDATEDSTATEMENTSOFMEZZANINEANDSTOCKHOLDERSEQUITY" xlink:type="extended" id="i14f0dca1349a4cdf9ea594035df0c13e_CONSOLIDATEDSTATEMENTSOFMEZZANINEANDSTOCKHOLDERSEQUITY">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_a08a57ad-98a6-466b-93b8-1d07b8f5e945" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_82329b00-cf68-4eea-a2db-f5a652ccdd86" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInTemporaryEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_a08a57ad-98a6-466b-93b8-1d07b8f5e945" xlink:to="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_82329b00-cf68-4eea-a2db-f5a652ccdd86" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_cf62ab51-7319-4f6f-9bda-9323143192e7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_82329b00-cf68-4eea-a2db-f5a652ccdd86" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_cf62ab51-7319-4f6f-9bda-9323143192e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityNetIncome_8e9e280b-89fe-4b7e-b5df-db270e7b2276" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TemporaryEquityNetIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_82329b00-cf68-4eea-a2db-f5a652ccdd86" xlink:to="loc_us-gaap_TemporaryEquityNetIncome_8e9e280b-89fe-4b7e-b5df-db270e7b2276" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_554ca463-73a6-43f6-ac9f-b0deec23f660" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchasedDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_82329b00-cf68-4eea-a2db-f5a652ccdd86" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_554ca463-73a6-43f6-ac9f-b0deec23f660" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionOfDividends_892c2028-911a-43b3-8937-9b61b29d9557" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TemporaryEquityAccretionOfDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_82329b00-cf68-4eea-a2db-f5a652ccdd86" xlink:to="loc_us-gaap_TemporaryEquityAccretionOfDividends_892c2028-911a-43b3-8937-9b61b29d9557" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_TemporaryEquityDividendsImpact_80c069f8-0b3e-4de8-80f8-fbdb27cdf45c" xlink:href="ameh-20230630.xsd#ameh_TemporaryEquityDividendsImpact"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_82329b00-cf68-4eea-a2db-f5a652ccdd86" xlink:to="loc_ameh_TemporaryEquityDividendsImpact_80c069f8-0b3e-4de8-80f8-fbdb27cdf45c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_TemporaryEquityTransferOfCommonControlEntities_e71a5d5a-6b52-4854-a9b6-f6bdda23ee1e" xlink:href="ameh-20230630.xsd#ameh_TemporaryEquityTransferOfCommonControlEntities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_82329b00-cf68-4eea-a2db-f5a652ccdd86" xlink:to="loc_ameh_TemporaryEquityTransferOfCommonControlEntities_e71a5d5a-6b52-4854-a9b6-f6bdda23ee1e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_61de7f3d-f86d-441f-9daa-622104867a16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_a08a57ad-98a6-466b-93b8-1d07b8f5e945" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_785019cd-eeca-41f6-b40c-73dd53a6d129" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_SharesOutstanding_785019cd-eeca-41f6-b40c-73dd53a6d129" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_878745ca-1b97-49e2-b16e-a6f15b9d31c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_878745ca-1b97-49e2-b16e-a6f15b9d31c3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NetIncomeLossIncludingPortionAttributableToNoncontrollingInterestAndTemporaryEquity_009dba7b-0079-4f5e-833b-ba56b23ff23d" xlink:href="ameh-20230630.xsd#ameh_NetIncomeLossIncludingPortionAttributableToNoncontrollingInterestAndTemporaryEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_ameh_NetIncomeLossIncludingPortionAttributableToNoncontrollingInterestAndTemporaryEquity_009dba7b-0079-4f5e-833b-ba56b23ff23d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_aeabd2b5-d690-44fe-b337-725cbb622321" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MinorityInterestDecreaseFromRedemptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_aeabd2b5-d690-44fe-b337-725cbb622321" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest_ad95bad8-b56e-49e9-bb3f-a42ce476f1e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest_ad95bad8-b56e-49e9-bb3f-a42ce476f1e8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_b6c181c9-9fe4-4c2f-8b4c-2aa504be006a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_b6c181c9-9fe4-4c2f-8b4c-2aa504be006a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_9909ead5-f796-4907-b5d2-3d9b68ce3f16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_9909ead5-f796-4907-b5d2-3d9b68ce3f16" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_StockIssuedDuringThePeriodSharesOfExerciseOfOptionAndWarrants_92a760ec-de44-4d66-9aa4-7a0400968ec5" xlink:href="ameh-20230630.xsd#ameh_StockIssuedDuringThePeriodSharesOfExerciseOfOptionAndWarrants"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_ameh_StockIssuedDuringThePeriodSharesOfExerciseOfOptionAndWarrants_92a760ec-de44-4d66-9aa4-7a0400968ec5" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_StockIssuedDuringThePeriodValueOfExerciseOfOptionAndWarrants_3d6934c1-d0ed-4508-a67c-9d3a5ea3b56c" xlink:href="ameh-20230630.xsd#ameh_StockIssuedDuringThePeriodValueOfExerciseOfOptionAndWarrants"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_ameh_StockIssuedDuringThePeriodValueOfExerciseOfOptionAndWarrants_3d6934c1-d0ed-4508-a67c-9d3a5ea3b56c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_43556d2d-5309-48cb-98b7-abaac9d5deb5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_43556d2d-5309-48cb-98b7-abaac9d5deb5" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredParValueMethod_016d2db5-be5b-4f46-8707-cba034842117" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockValueAcquiredParValueMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredParValueMethod_016d2db5-be5b-4f46-8707-cba034842117" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_2270d35d-0fe8-4370-a977-8ed5d594693d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_2270d35d-0fe8-4370-a977-8ed5d594693d" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_a5ab7b99-077d-4a99-a895-86fdf9ff63e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_a5ab7b99-077d-4a99-a895-86fdf9ff63e1" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_f0625cd8-0f1d-4b63-b3ef-7a160e56a9d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_f0625cd8-0f1d-4b63-b3ef-7a160e56a9d7" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited_ca5f60a6-c08f-43b0-88d2-e6c8b61aabdb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited_ca5f60a6-c08f-43b0-88d2-e6c8b61aabdb" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardForfeitures_baff2341-75d2-4f31-9045-3d850a5499d8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardForfeitures_baff2341-75d2-4f31-9045-3d850a5499d8" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_bce1c48b-4e8b-4a61-8dc9-fbc8ddf52bfa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_bce1c48b-4e8b-4a61-8dc9-fbc8ddf52bfa" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NoncontrollingInterestDecreaseFromDistributionsToNoncontrollingInterestHoldersAndStockRepurchasedDuringPeriodValueReleaseOfHoldBackShares_f231f433-8b7f-4df6-8001-fbca0cbaf156" xlink:href="ameh-20230630.xsd#ameh_NoncontrollingInterestDecreaseFromDistributionsToNoncontrollingInterestHoldersAndStockRepurchasedDuringPeriodValueReleaseOfHoldBackShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_ameh_NoncontrollingInterestDecreaseFromDistributionsToNoncontrollingInterestHoldersAndStockRepurchasedDuringPeriodValueReleaseOfHoldBackShares_f231f433-8b7f-4df6-8001-fbca0cbaf156" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_TransferOfCommonControlEntities_2141c797-209d-4adb-8870-bc2ef5fbc2d4" xlink:href="ameh-20230630.xsd#ameh_TransferOfCommonControlEntities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c31cdf5a-727e-4136-9049-0a6ad16101df" xlink:to="loc_ameh_TransferOfCommonControlEntities_2141c797-209d-4adb-8870-bc2ef5fbc2d4" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_84b430d0-6902-4d62-8adf-7806c06cd4aa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_2453b3cb-0729-443a-bc10-1d253ceb0570" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_6d488273-3198-4d76-8f38-91ded461b9cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_a08a57ad-98a6-466b-93b8-1d07b8f5e945" xlink:to="loc_us-gaap_StatementTable_6d488273-3198-4d76-8f38-91ded461b9cc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_e8cdb618-1cc0-4723-bba9-0733a7a1c199" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_6d488273-3198-4d76-8f38-91ded461b9cc" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_e8cdb618-1cc0-4723-bba9-0733a7a1c199" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_e8cdb618-1cc0-4723-bba9-0733a7a1c199_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e8cdb618-1cc0-4723-bba9-0733a7a1c199" xlink:to="loc_us-gaap_EquityComponentDomain_e8cdb618-1cc0-4723-bba9-0733a7a1c199_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_e2977fc4-5bf5-4554-8746-0d70aabfa478" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e8cdb618-1cc0-4723-bba9-0733a7a1c199" xlink:to="loc_us-gaap_EquityComponentDomain_e2977fc4-5bf5-4554-8746-0d70aabfa478" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_e2a560ad-9f36-42d0-a772-f1c5cc59f22f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_e2977fc4-5bf5-4554-8746-0d70aabfa478" xlink:to="loc_us-gaap_CommonStockMember_e2a560ad-9f36-42d0-a772-f1c5cc59f22f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_667d787f-45a7-4f97-aff7-a1240d2c34bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_e2977fc4-5bf5-4554-8746-0d70aabfa478" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_667d787f-45a7-4f97-aff7-a1240d2c34bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_9c8bdc49-8029-4b1e-9cfe-d791d5f47b99" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_e2977fc4-5bf5-4554-8746-0d70aabfa478" xlink:to="loc_us-gaap_RetainedEarningsMember_9c8bdc49-8029-4b1e-9cfe-d791d5f47b99" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestMember_2748f8fd-00b8-4946-bd25-c296182ff4bc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_e2977fc4-5bf5-4554-8746-0d70aabfa478" xlink:to="loc_us-gaap_NoncontrollingInterestMember_2748f8fd-00b8-4946-bd25-c296182ff4bc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_491a7e1b-fa23-4559-8f83-a76034559ee3" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_6d488273-3198-4d76-8f38-91ded461b9cc" xlink:to="loc_dei_LegalEntityAxis_491a7e1b-fa23-4559-8f83-a76034559ee3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_491a7e1b-fa23-4559-8f83-a76034559ee3_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_491a7e1b-fa23-4559-8f83-a76034559ee3" xlink:to="loc_dei_EntityDomain_491a7e1b-fa23-4559-8f83-a76034559ee3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_0a810c70-ad3b-4415-ad27-6e53e84753d3" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_491a7e1b-fa23-4559-8f83-a76034559ee3" xlink:to="loc_dei_EntityDomain_0a810c70-ad3b-4415-ad27-6e53e84753d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MezzanineMember_bb06a08b-3c65-41bc-b735-1d72c8dd7bac" xlink:href="ameh-20230630.xsd#ameh_MezzanineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_0a810c70-ad3b-4415-ad27-6e53e84753d3" xlink:to="loc_ameh_MezzanineMember_bb06a08b-3c65-41bc-b735-1d72c8dd7bac" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/DescriptionofBusinessAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#DescriptionofBusinessAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/DescriptionofBusinessAdditionalInformationDetails" xlink:type="extended" id="i89b604fb4dc243c4ab2ef747845cc4dc_DescriptionofBusinessAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DescriptionOfBusinessLineItems_93c94d93-b167-4d04-ab17-8cc4542b99bd" xlink:href="ameh-20230630.xsd#ameh_DescriptionOfBusinessLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_feaafa70-d110-43c6-a9d4-03a71460e3b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NumberOfReportableSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_DescriptionOfBusinessLineItems_93c94d93-b167-4d04-ab17-8cc4542b99bd" xlink:to="loc_us-gaap_NumberOfReportableSegments_feaafa70-d110-43c6-a9d4-03a71460e3b5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_03c0c0b8-89b8-4f4a-b4f9-79fe2cdcb697" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_DescriptionOfBusinessLineItems_93c94d93-b167-4d04-ab17-8cc4542b99bd" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_03c0c0b8-89b8-4f4a-b4f9-79fe2cdcb697" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BusinessCombinationEquityInterestPurchaseObligationPeriodToPurchase_fde09f3d-eb8e-4931-aa0a-3ab5d58245ee" xlink:href="ameh-20230630.xsd#ameh_BusinessCombinationEquityInterestPurchaseObligationPeriodToPurchase"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_DescriptionOfBusinessLineItems_93c94d93-b167-4d04-ab17-8cc4542b99bd" xlink:to="loc_ameh_BusinessCombinationEquityInterestPurchaseObligationPeriodToPurchase_fde09f3d-eb8e-4931-aa0a-3ab5d58245ee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_d9dc6018-4acd-436c-9c62-341f1765d1bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_DescriptionOfBusinessLineItems_93c94d93-b167-4d04-ab17-8cc4542b99bd" xlink:to="loc_us-gaap_EquityMethodInvestments_d9dc6018-4acd-436c-9c62-341f1765d1bd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BusinessCombinationEquityInterestPurchaseObligationNoncurrent_50047e52-69f5-46b8-a5f2-9e3c6468ad24" xlink:href="ameh-20230630.xsd#ameh_BusinessCombinationEquityInterestPurchaseObligationNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_DescriptionOfBusinessLineItems_93c94d93-b167-4d04-ab17-8cc4542b99bd" xlink:to="loc_ameh_BusinessCombinationEquityInterestPurchaseObligationNoncurrent_50047e52-69f5-46b8-a5f2-9e3c6468ad24" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BusinessCombinationChangeInFairValueOfEquityInterestPurchaseObligation_56a92a0e-f2bc-434f-b121-bcf5a564bec0" xlink:href="ameh-20230630.xsd#ameh_BusinessCombinationChangeInFairValueOfEquityInterestPurchaseObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_DescriptionOfBusinessLineItems_93c94d93-b167-4d04-ab17-8cc4542b99bd" xlink:to="loc_ameh_BusinessCombinationChangeInFairValueOfEquityInterestPurchaseObligation_56a92a0e-f2bc-434f-b121-bcf5a564bec0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AssetAcquisitionPercentageOfSharesAcquired_5d319792-e90a-4efa-81ae-f90f95d4ab1c" xlink:href="ameh-20230630.xsd#ameh_AssetAcquisitionPercentageOfSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_DescriptionOfBusinessLineItems_93c94d93-b167-4d04-ab17-8cc4542b99bd" xlink:to="loc_ameh_AssetAcquisitionPercentageOfSharesAcquired_5d319792-e90a-4efa-81ae-f90f95d4ab1c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DescriptionOfBusinessTable_18c822ac-a7b7-4a12-beb4-c745e6931a4d" xlink:href="ameh-20230630.xsd#ameh_DescriptionOfBusinessTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ameh_DescriptionOfBusinessLineItems_93c94d93-b167-4d04-ab17-8cc4542b99bd" xlink:to="loc_ameh_DescriptionOfBusinessTable_18c822ac-a7b7-4a12-beb4-c745e6931a4d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_3b152815-cf43-449e-9f1d-efd1b5b1b5af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_DescriptionOfBusinessTable_18c822ac-a7b7-4a12-beb4-c745e6931a4d" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_3b152815-cf43-449e-9f1d-efd1b5b1b5af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3b152815-cf43-449e-9f1d-efd1b5b1b5af_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3b152815-cf43-449e-9f1d-efd1b5b1b5af" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3b152815-cf43-449e-9f1d-efd1b5b1b5af_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_6506c3cc-4610-4091-9420-bb3c08f6b766" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3b152815-cf43-449e-9f1d-efd1b5b1b5af" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_6506c3cc-4610-4091-9420-bb3c08f6b766" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AmgIncMember_ed935f11-fedc-4754-9924-49bd4216d7dc" xlink:href="ameh-20230630.xsd#ameh_AmgIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_6506c3cc-4610-4091-9420-bb3c08f6b766" xlink:to="loc_ameh_AmgIncMember_ed935f11-fedc-4754-9924-49bd4216d7dc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApolloSunLabsManagementLLCMember_17645eae-0438-41a4-83f2-96fc58e8eabe" xlink:href="ameh-20230630.xsd#ameh_ApolloSunLabsManagementLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_6506c3cc-4610-4091-9420-bb3c08f6b766" xlink:to="loc_ameh_ApolloSunLabsManagementLLCMember_17645eae-0438-41a4-83f2-96fc58e8eabe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_6754a74f-823d-462d-b93d-8d596753aacc" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_DescriptionOfBusinessTable_18c822ac-a7b7-4a12-beb4-c745e6931a4d" xlink:to="loc_dei_LegalEntityAxis_6754a74f-823d-462d-b93d-8d596753aacc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_6754a74f-823d-462d-b93d-8d596753aacc_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_6754a74f-823d-462d-b93d-8d596753aacc" xlink:to="loc_dei_EntityDomain_6754a74f-823d-462d-b93d-8d596753aacc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_fc5bbf7f-be61-4d2f-a97a-f449231d1a4f" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_6754a74f-823d-462d-b93d-8d596753aacc" xlink:to="loc_dei_EntityDomain_fc5bbf7f-be61-4d2f-a97a-f449231d1a4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApcLsmaMember_376ebe6f-2b36-4521-b7f4-6276360dfc92" xlink:href="ameh-20230630.xsd#ameh_ApcLsmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_fc5bbf7f-be61-4d2f-a97a-f449231d1a4f" xlink:to="loc_ameh_ApcLsmaMember_376ebe6f-2b36-4521-b7f4-6276360dfc92" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlliedPacificOfCaliforniaIPAMember_032e8257-17a4-42cd-9f74-bdb192f9230e" xlink:href="ameh-20230630.xsd#ameh_AlliedPacificOfCaliforniaIPAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_fc5bbf7f-be61-4d2f-a97a-f449231d1a4f" xlink:to="loc_ameh_AlliedPacificOfCaliforniaIPAMember_032e8257-17a4-42cd-9f74-bdb192f9230e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_f7337109-a349-45f6-ac3f-2f2696a824e9" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_DescriptionOfBusinessTable_18c822ac-a7b7-4a12-beb4-c745e6931a4d" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_f7337109-a349-45f6-ac3f-2f2696a824e9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_f7337109-a349-45f6-ac3f-2f2696a824e9_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_f7337109-a349-45f6-ac3f-2f2696a824e9" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_f7337109-a349-45f6-ac3f-2f2696a824e9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_f9dfaa44-c679-4f16-a503-9adb7990bf14" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_f7337109-a349-45f6-ac3f-2f2696a824e9" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_f9dfaa44-c679-4f16-a503-9adb7990bf14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DmgMember_cec6a592-1937-41f7-90bd-13b6f7e1fe5a" xlink:href="ameh-20230630.xsd#ameh_DmgMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_f9dfaa44-c679-4f16-a503-9adb7990bf14" xlink:to="loc_ameh_DmgMember_cec6a592-1937-41f7-90bd-13b6f7e1fe5a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DMGAndSunLabsMember_f3a636d5-97aa-4c26-8375-5b8419da4e47" xlink:href="ameh-20230630.xsd#ameh_DMGAndSunLabsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_f9dfaa44-c679-4f16-a503-9adb7990bf14" xlink:to="loc_ameh_DMGAndSunLabsMember_f3a636d5-97aa-4c26-8375-5b8419da4e47" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionAxis_9db588c5-e697-4ce3-90c4-810ca5c81862" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_DescriptionOfBusinessTable_18c822ac-a7b7-4a12-beb4-c745e6931a4d" xlink:to="loc_us-gaap_AssetAcquisitionAxis_9db588c5-e697-4ce3-90c4-810ca5c81862" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_9db588c5-e697-4ce3-90c4-810ca5c81862_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AssetAcquisitionAxis_9db588c5-e697-4ce3-90c4-810ca5c81862" xlink:to="loc_us-gaap_AssetAcquisitionDomain_9db588c5-e697-4ce3-90c4-810ca5c81862_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_cd515588-e0ba-42bc-ab7b-545e101cb09f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AssetAcquisitionAxis_9db588c5-e697-4ce3-90c4-810ca5c81862" xlink:to="loc_us-gaap_AssetAcquisitionDomain_cd515588-e0ba-42bc-ab7b-545e101cb09f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MPPAMGPropertiesAndZLLTag8Tag6AssetAcquisitionMember_3a34c826-92b8-49d5-8503-6ebb215ba298" xlink:href="ameh-20230630.xsd#ameh_MPPAMGPropertiesAndZLLTag8Tag6AssetAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionDomain_cd515588-e0ba-42bc-ab7b-545e101cb09f" xlink:to="loc_ameh_MPPAMGPropertiesAndZLLTag8Tag6AssetAcquisitionMember_3a34c826-92b8-49d5-8503-6ebb215ba298" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_OneMSOLLCMember_d8ce134b-e934-40eb-8555-7396b4ef61d5" xlink:href="ameh-20230630.xsd#ameh_OneMSOLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionDomain_cd515588-e0ba-42bc-ab7b-545e101cb09f" xlink:to="loc_ameh_OneMSOLLCMember_d8ce134b-e934-40eb-8555-7396b4ef61d5" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesAdditionalInformationDetails" xlink:type="extended" id="id7bd9b6dc55d48b2a4c51e9b6cfe98a5_BasisofPresentationandSummaryofSignificantAccountingPoliciesAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:href="ameh-20230630.xsd#ameh_SummaryOfSignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_92d1d234-1ae8-4b3b-97a1-e169b8980a6d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NumberOfReportableSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:to="loc_us-gaap_NumberOfReportableSegments_92d1d234-1ae8-4b3b-97a1-e169b8980a6d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashUninsuredAmount_0fd3a47c-d8a6-4b94-aa5d-cfc9979c297e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashUninsuredAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:to="loc_us-gaap_CashUninsuredAmount_0fd3a47c-d8a6-4b94-aa5d-cfc9979c297e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MarketableSecuritiesCurrentMaturityPeriod_6d672797-ad7e-403c-99a9-f47728612da7" xlink:href="ameh-20230630.xsd#ameh_MarketableSecuritiesCurrentMaturityPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:to="loc_ameh_MarketableSecuritiesCurrentMaturityPeriod_6d672797-ad7e-403c-99a9-f47728612da7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_b3679a1e-6421-4a9b-a1b9-22f029182abf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_b3679a1e-6421-4a9b-a1b9-22f029182abf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_9666f53d-b4ee-48a1-a847-b0eddd0cacf5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_9666f53d-b4ee-48a1-a847-b0eddd0cacf5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PromissoryNotesExpectedToBeCollectedWithinPeriod_2a13ebcc-4c45-42b0-9873-0f4741a84457" xlink:href="ameh-20230630.xsd#ameh_PromissoryNotesExpectedToBeCollectedWithinPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:to="loc_ameh_PromissoryNotesExpectedToBeCollectedWithinPeriod_2a13ebcc-4c45-42b0-9873-0f4741a84457" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_RiskPoolSurplusOrDeficitsSettlementPeriodAfterPerformanceYear_56b3ee74-9510-46f1-b752-75752665b98e" xlink:href="ameh-20230630.xsd#ameh_RiskPoolSurplusOrDeficitsSettlementPeriodAfterPerformanceYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:to="loc_ameh_RiskPoolSurplusOrDeficitsSettlementPeriodAfterPerformanceYear_56b3ee74-9510-46f1-b752-75752665b98e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_0757f6c6-3af9-40e1-8a98-0a48ce4b0e5c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_0757f6c6-3af9-40e1-8a98-0a48ce4b0e5c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DerivativeCeilingInterestRate_733aed8c-3ebe-4198-8b43-237754c0a8c9" xlink:href="ameh-20230630.xsd#ameh_DerivativeCeilingInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:to="loc_ameh_DerivativeCeilingInterestRate_733aed8c-3ebe-4198-8b43-237754c0a8c9" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFloorInterestRate_05b22b60-b1af-45d3-9acd-26b5658650f3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeFloorInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:to="loc_us-gaap_DerivativeFloorInterestRate_05b22b60-b1af-45d3-9acd-26b5658650f3" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsCurrent_f8264d8b-07b4-4bc9-84a9-07cbe9d42cda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:to="loc_us-gaap_DerivativeAssetsCurrent_f8264d8b-07b4-4bc9-84a9-07cbe9d42cda" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_SummaryOfSignificantAccountingPoliciesTable_d87642c7-444b-4a23-ab11-cf3b928838a0" xlink:href="ameh-20230630.xsd#ameh_SummaryOfSignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesLineItems_946d0e3b-d07b-4f26-899a-801ea26b89cc" xlink:to="loc_ameh_SummaryOfSignificantAccountingPoliciesTable_d87642c7-444b-4a23-ab11-cf3b928838a0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_cfb89fe8-0a15-4b24-b158-8301d023d62f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesTable_d87642c7-444b-4a23-ab11-cf3b928838a0" xlink:to="loc_us-gaap_FinancialInstrumentAxis_cfb89fe8-0a15-4b24-b158-8301d023d62f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_cfb89fe8-0a15-4b24-b158-8301d023d62f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_cfb89fe8-0a15-4b24-b158-8301d023d62f" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_cfb89fe8-0a15-4b24-b158-8301d023d62f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_58c083b7-1178-4c04-9dd0-63eaddc0178b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_cfb89fe8-0a15-4b24-b158-8301d023d62f" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_58c083b7-1178-4c04-9dd0-63eaddc0178b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CertificatesOfDepositMember_f1e6760d-21a5-45e5-84e5-db42d042c679" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CertificatesOfDepositMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_58c083b7-1178-4c04-9dd0-63eaddc0178b" xlink:to="loc_us-gaap_CertificatesOfDepositMember_f1e6760d-21a5-45e5-84e5-db42d042c679" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_ebcdedd0-57b7-438c-b4be-27e9e5f5cd65" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesTable_d87642c7-444b-4a23-ab11-cf3b928838a0" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_ebcdedd0-57b7-438c-b4be-27e9e5f5cd65" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_ebcdedd0-57b7-438c-b4be-27e9e5f5cd65_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_ebcdedd0-57b7-438c-b4be-27e9e5f5cd65" xlink:to="loc_us-gaap_HedgingRelationshipDomain_ebcdedd0-57b7-438c-b4be-27e9e5f5cd65_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_1177c0fa-060d-4e29-a993-b135ddb25f3f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_ebcdedd0-57b7-438c-b4be-27e9e5f5cd65" xlink:to="loc_us-gaap_HedgingRelationshipDomain_1177c0fa-060d-4e29-a993-b135ddb25f3f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_81ee046e-f4b9-4e5f-be67-e88010933806" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashFlowHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_1177c0fa-060d-4e29-a993-b135ddb25f3f" xlink:to="loc_us-gaap_CashFlowHedgingMember_81ee046e-f4b9-4e5f-be67-e88010933806" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_c66f84ac-3165-4cca-949d-c7c77fce2a48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesTable_d87642c7-444b-4a23-ab11-cf3b928838a0" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_c66f84ac-3165-4cca-949d-c7c77fce2a48" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_c66f84ac-3165-4cca-949d-c7c77fce2a48_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_c66f84ac-3165-4cca-949d-c7c77fce2a48" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_c66f84ac-3165-4cca-949d-c7c77fce2a48_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_45cd1942-74d9-4d61-a985-58e203d44792" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_c66f84ac-3165-4cca-949d-c7c77fce2a48" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_45cd1942-74d9-4d61-a985-58e203d44792" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_ff1efca3-a387-42df-8183-239fc3e32c21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_45cd1942-74d9-4d61-a985-58e203d44792" xlink:to="loc_us-gaap_InterestRateSwapMember_ff1efca3-a387-42df-8183-239fc3e32c21" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CollarMember_53f78043-26b3-453f-8f1d-d8afc3d24045" xlink:href="ameh-20230630.xsd#ameh_CollarMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_45cd1942-74d9-4d61-a985-58e203d44792" xlink:to="loc_ameh_CollarMember_53f78043-26b3-453f-8f1d-d8afc3d24045" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ContingentEquitySecuritiesMember_e900f4f3-0ab2-4559-be0d-2e97316cb441" xlink:href="ameh-20230630.xsd#ameh_ContingentEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_45cd1942-74d9-4d61-a985-58e203d44792" xlink:to="loc_ameh_ContingentEquitySecuritiesMember_e900f4f3-0ab2-4559-be0d-2e97316cb441" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_fcfce369-b999-47fe-9706-85beb746add4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesTable_d87642c7-444b-4a23-ab11-cf3b928838a0" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_fcfce369-b999-47fe-9706-85beb746add4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_fcfce369-b999-47fe-9706-85beb746add4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_fcfce369-b999-47fe-9706-85beb746add4" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_fcfce369-b999-47fe-9706-85beb746add4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_d65d5e4c-e8b0-40fc-a688-0bdb456c0edc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_fcfce369-b999-47fe-9706-85beb746add4" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_d65d5e4c-e8b0-40fc-a688-0bdb456c0edc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_f13ef2ee-73dd-4e06-87ad-076e4df0cf5d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNoncurrentAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_d65d5e4c-e8b0-40fc-a688-0bdb456c0edc" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_f13ef2ee-73dd-4e06-87ad-076e4df0cf5d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_9f0f272a-dc63-49c1-b552-0f288fafec1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_SummaryOfSignificantAccountingPoliciesTable_d87642c7-444b-4a23-ab11-cf3b928838a0" xlink:to="loc_us-gaap_HedgingDesignationAxis_9f0f272a-dc63-49c1-b552-0f288fafec1d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_9f0f272a-dc63-49c1-b552-0f288fafec1d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_9f0f272a-dc63-49c1-b552-0f288fafec1d" xlink:to="loc_us-gaap_HedgingDesignationDomain_9f0f272a-dc63-49c1-b552-0f288fafec1d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_1594adad-1782-4c66-b042-262666b9b733" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_9f0f272a-dc63-49c1-b552-0f288fafec1d" xlink:to="loc_us-gaap_HedgingDesignationDomain_1594adad-1782-4c66-b042-262666b9b733" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_66b0471d-8dce-4039-bb98-e64f6b734e9a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_1594adad-1782-4c66-b042-262666b9b733" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_66b0471d-8dce-4039-bb98-e64f6b734e9a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofDisaggregatedRevenuebyEachPayorTypeDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofDisaggregatedRevenuebyEachPayorTypeDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofDisaggregatedRevenuebyEachPayorTypeDetails" xlink:type="extended" id="ie531895694724237b84280ebde50fa6d_BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofDisaggregatedRevenuebyEachPayorTypeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_4d62741b-8456-4bc9-aa27-3741a40dcd19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_9ab81ca3-360f-41e2-9b58-5db27b1cce56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_4d62741b-8456-4bc9-aa27-3741a40dcd19" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_9ab81ca3-360f-41e2-9b58-5db27b1cce56" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_b7c7fa9e-3285-487b-baf8-bfdc5d0dab42" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_4d62741b-8456-4bc9-aa27-3741a40dcd19" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_b7c7fa9e-3285-487b-baf8-bfdc5d0dab42" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_e93979e1-ae91-442a-b974-6365e39ab633" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_b7c7fa9e-3285-487b-baf8-bfdc5d0dab42" xlink:to="loc_srt_MajorCustomersAxis_e93979e1-ae91-442a-b974-6365e39ab633" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_e93979e1-ae91-442a-b974-6365e39ab633_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_e93979e1-ae91-442a-b974-6365e39ab633" xlink:to="loc_srt_NameOfMajorCustomerDomain_e93979e1-ae91-442a-b974-6365e39ab633_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_07fa8103-91dc-4d46-9b0d-94e7e9d8471d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_e93979e1-ae91-442a-b974-6365e39ab633" xlink:to="loc_srt_NameOfMajorCustomerDomain_07fa8103-91dc-4d46-9b0d-94e7e9d8471d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CommercialMember_eb5b692c-5777-44bc-bc32-bc914a15aad6" xlink:href="ameh-20230630.xsd#ameh_CommercialMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_07fa8103-91dc-4d46-9b0d-94e7e9d8471d" xlink:to="loc_ameh_CommercialMember_eb5b692c-5777-44bc-bc32-bc914a15aad6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MedicareMember_8c8a618e-f3c1-467b-8fea-40630c58a29d" xlink:href="ameh-20230630.xsd#ameh_MedicareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_07fa8103-91dc-4d46-9b0d-94e7e9d8471d" xlink:to="loc_ameh_MedicareMember_8c8a618e-f3c1-467b-8fea-40630c58a29d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MedicaidMember_5ade0e8f-e5d5-41a4-b049-ec3b1c84143e" xlink:href="ameh-20230630.xsd#ameh_MedicaidMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_07fa8103-91dc-4d46-9b0d-94e7e9d8471d" xlink:to="loc_ameh_MedicaidMember_5ade0e8f-e5d5-41a4-b049-ec3b1c84143e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_OtherThirdPartiesMember_b6b182a6-5eb1-4f7e-8a54-3126c65b0042" xlink:href="ameh-20230630.xsd#ameh_OtherThirdPartiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_07fa8103-91dc-4d46-9b0d-94e7e9d8471d" xlink:to="loc_ameh_OtherThirdPartiesMember_b6b182a6-5eb1-4f7e-8a54-3126c65b0042" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContributionstoRevenueandReceivablesbyPayorDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContributionstoRevenueandReceivablesbyPayorDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContributionstoRevenueandReceivablesbyPayorDetails" xlink:type="extended" id="ib0e7d5d78f8d46fea9ccf0c01526a334_BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContributionstoRevenueandReceivablesbyPayorDetails">
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AccountsReceivableAndNetRevenueLineItems_2af70cb8-2a1d-4ba6-b428-9ab03b7d27af" xlink:href="ameh-20230630.xsd#ameh_AccountsReceivableAndNetRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_f7772b62-83e2-4813-8fbf-ca5a659045d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_AccountsReceivableAndNetRevenueLineItems_2af70cb8-2a1d-4ba6-b428-9ab03b7d27af" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_f7772b62-83e2-4813-8fbf-ca5a659045d4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AccountsReceivableAndNetRevenueTable_a3df9d98-de2b-49ab-84cc-6e20774a1212" xlink:href="ameh-20230630.xsd#ameh_AccountsReceivableAndNetRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ameh_AccountsReceivableAndNetRevenueLineItems_2af70cb8-2a1d-4ba6-b428-9ab03b7d27af" xlink:to="loc_ameh_AccountsReceivableAndNetRevenueTable_a3df9d98-de2b-49ab-84cc-6e20774a1212" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_8c388c45-7a43-4a23-b680-f583c61cd64c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_AccountsReceivableAndNetRevenueTable_a3df9d98-de2b-49ab-84cc-6e20774a1212" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_8c388c45-7a43-4a23-b680-f583c61cd64c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_8c388c45-7a43-4a23-b680-f583c61cd64c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_8c388c45-7a43-4a23-b680-f583c61cd64c" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_8c388c45-7a43-4a23-b680-f583c61cd64c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_131c7cf2-344b-4791-b2a7-c17aadfa9735" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_8c388c45-7a43-4a23-b680-f583c61cd64c" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_131c7cf2-344b-4791-b2a7-c17aadfa9735" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_aa3a5263-0275-4d3d-b794-354f59e39928" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_131c7cf2-344b-4791-b2a7-c17aadfa9735" xlink:to="loc_us-gaap_SalesRevenueNetMember_aa3a5263-0275-4d3d-b794-354f59e39928" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableMember_7867b2da-4674-4182-988c-4723a67556d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_131c7cf2-344b-4791-b2a7-c17aadfa9735" xlink:to="loc_us-gaap_AccountsReceivableMember_7867b2da-4674-4182-988c-4723a67556d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_dafe8141-596e-480c-acbd-7f59660939ca" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_AccountsReceivableAndNetRevenueTable_a3df9d98-de2b-49ab-84cc-6e20774a1212" xlink:to="loc_srt_MajorCustomersAxis_dafe8141-596e-480c-acbd-7f59660939ca" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_dafe8141-596e-480c-acbd-7f59660939ca_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_dafe8141-596e-480c-acbd-7f59660939ca" xlink:to="loc_srt_NameOfMajorCustomerDomain_dafe8141-596e-480c-acbd-7f59660939ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_8c9568fe-bc74-4d10-8575-1a4b33dd86e7" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_dafe8141-596e-480c-acbd-7f59660939ca" xlink:to="loc_srt_NameOfMajorCustomerDomain_8c9568fe-bc74-4d10-8575-1a4b33dd86e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PayorAMember_9ff514f7-bc98-4204-9cc0-8f0056a9e7e5" xlink:href="ameh-20230630.xsd#ameh_PayorAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_8c9568fe-bc74-4d10-8575-1a4b33dd86e7" xlink:to="loc_ameh_PayorAMember_9ff514f7-bc98-4204-9cc0-8f0056a9e7e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PayorBMember_e12ac7ba-1236-4447-aeaa-70f81d8cf349" xlink:href="ameh-20230630.xsd#ameh_PayorBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_8c9568fe-bc74-4d10-8575-1a4b33dd86e7" xlink:to="loc_ameh_PayorBMember_e12ac7ba-1236-4447-aeaa-70f81d8cf349" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PayorCMember_d6659a23-5ca7-4ee0-8544-9ec62549953d" xlink:href="ameh-20230630.xsd#ameh_PayorCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_8c9568fe-bc74-4d10-8575-1a4b33dd86e7" xlink:to="loc_ameh_PayorCMember_d6659a23-5ca7-4ee0-8544-9ec62549953d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_7db5777a-c0ea-4655-b9b6-a6b5cd0e3a8d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_AccountsReceivableAndNetRevenueTable_a3df9d98-de2b-49ab-84cc-6e20774a1212" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_7db5777a-c0ea-4655-b9b6-a6b5cd0e3a8d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_7db5777a-c0ea-4655-b9b6-a6b5cd0e3a8d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_7db5777a-c0ea-4655-b9b6-a6b5cd0e3a8d" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_7db5777a-c0ea-4655-b9b6-a6b5cd0e3a8d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_41ecced8-df14-41fc-97f3-ad5c7e32ddf4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_7db5777a-c0ea-4655-b9b6-a6b5cd0e3a8d" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_41ecced8-df14-41fc-97f3-ad5c7e32ddf4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_57998e73-c654-4c02-b882-084da039cc6d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_41ecced8-df14-41fc-97f3-ad5c7e32ddf4" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_57998e73-c654-4c02-b882-084da039cc6d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofCarryingAmountsandFairValuesofFinancialInstrumentsDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofCarryingAmountsandFairValuesofFinancialInstrumentsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofCarryingAmountsandFairValuesofFinancialInstrumentsDetails" xlink:type="extended" id="i6c556c397bf142a09a85f1caa31f3c87_BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofCarryingAmountsandFairValuesofFinancialInstrumentsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f7251405-25d1-4b9b-8c04-4d449d8436b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_6da18970-5129-4645-bc68-bd0c2aa8190c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f7251405-25d1-4b9b-8c04-4d449d8436b8" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_6da18970-5129-4645-bc68-bd0c2aa8190c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_2fcfafed-f7cf-4866-acb2-792fb1f38e7c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f7251405-25d1-4b9b-8c04-4d449d8436b8" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_2fcfafed-f7cf-4866-acb2-792fb1f38e7c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_10ef9215-ecd2-440a-ba6a-27e5b458d258" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNi"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f7251405-25d1-4b9b-8c04-4d449d8436b8" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_10ef9215-ecd2-440a-ba6a-27e5b458d258" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_9e283940-57d0-48fe-8989-730e9c8bcbef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f7251405-25d1-4b9b-8c04-4d449d8436b8" xlink:to="loc_us-gaap_DerivativeAssets_9e283940-57d0-48fe-8989-730e9c8bcbef" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_ef208598-619d-40d9-b2a4-79a3fc568c6b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f7251405-25d1-4b9b-8c04-4d449d8436b8" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_ef208598-619d-40d9-b2a4-79a3fc568c6b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_3c957f3a-4286-4561-b4d7-89f5b4e69405" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f7251405-25d1-4b9b-8c04-4d449d8436b8" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_3c957f3a-4286-4561-b4d7-89f5b4e69405" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BusinessCombinationEquityInterestPurchaseObligationNoncurrent_f2cca449-e5c1-425c-9379-dac612405e9d" xlink:href="ameh-20230630.xsd#ameh_BusinessCombinationEquityInterestPurchaseObligationNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f7251405-25d1-4b9b-8c04-4d449d8436b8" xlink:to="loc_ameh_BusinessCombinationEquityInterestPurchaseObligationNoncurrent_f2cca449-e5c1-425c-9379-dac612405e9d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_85563185-e211-4cec-9cc2-a56546afcd3a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialLiabilitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f7251405-25d1-4b9b-8c04-4d449d8436b8" xlink:to="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_85563185-e211-4cec-9cc2-a56546afcd3a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_41d74ab8-b81d-42e1-8090-559ed76cd53f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_f7251405-25d1-4b9b-8c04-4d449d8436b8" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_41d74ab8-b81d-42e1-8090-559ed76cd53f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8fcb0549-efbe-4a7d-8d61-8fced3d7564d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_41d74ab8-b81d-42e1-8090-559ed76cd53f" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8fcb0549-efbe-4a7d-8d61-8fced3d7564d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8fcb0549-efbe-4a7d-8d61-8fced3d7564d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8fcb0549-efbe-4a7d-8d61-8fced3d7564d" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_8fcb0549-efbe-4a7d-8d61-8fced3d7564d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f8b88e0f-b8fc-4cfe-aa08-e3d9ed42b1d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_8fcb0549-efbe-4a7d-8d61-8fced3d7564d" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f8b88e0f-b8fc-4cfe-aa08-e3d9ed42b1d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_72a5ec6d-07c0-4f95-80ab-b46f210243a4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f8b88e0f-b8fc-4cfe-aa08-e3d9ed42b1d2" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_72a5ec6d-07c0-4f95-80ab-b46f210243a4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_4ef9e87f-6a3d-4ba6-bbb8-8ca476086d76" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f8b88e0f-b8fc-4cfe-aa08-e3d9ed42b1d2" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_4ef9e87f-6a3d-4ba6-bbb8-8ca476086d76" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_452659f8-7c5c-46fd-aabf-3dc9366aa191" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f8b88e0f-b8fc-4cfe-aa08-e3d9ed42b1d2" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_452659f8-7c5c-46fd-aabf-3dc9366aa191" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_fbb78d5f-2bf1-4d09-829c-3ffcc7c0c0fa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_41d74ab8-b81d-42e1-8090-559ed76cd53f" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_fbb78d5f-2bf1-4d09-829c-3ffcc7c0c0fa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_fbb78d5f-2bf1-4d09-829c-3ffcc7c0c0fa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_fbb78d5f-2bf1-4d09-829c-3ffcc7c0c0fa" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_fbb78d5f-2bf1-4d09-829c-3ffcc7c0c0fa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_add589f4-fffc-4d8d-84e8-b6340a0dc8ef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_fbb78d5f-2bf1-4d09-829c-3ffcc7c0c0fa" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_add589f4-fffc-4d8d-84e8-b6340a0dc8ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_bd733dbb-39b9-451f-8617-7725c151918a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_add589f4-fffc-4d8d-84e8-b6340a0dc8ef" xlink:to="loc_us-gaap_InterestRateSwapMember_bd733dbb-39b9-451f-8617-7725c151918a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CollarMember_4e78c5c8-9604-48d1-b304-55f2ff87bfc9" xlink:href="ameh-20230630.xsd#ameh_CollarMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_add589f4-fffc-4d8d-84e8-b6340a0dc8ef" xlink:to="loc_ameh_CollarMember_4e78c5c8-9604-48d1-b304-55f2ff87bfc9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ContingentEquitySecuritiesMember_0f5b6f8f-7e54-4592-846a-1535616c35a5" xlink:href="ameh-20230630.xsd#ameh_ContingentEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_add589f4-fffc-4d8d-84e8-b6340a0dc8ef" xlink:to="loc_ameh_ContingentEquitySecuritiesMember_0f5b6f8f-7e54-4592-846a-1535616c35a5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_b5afa867-4981-4280-a247-72540802c290" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_41d74ab8-b81d-42e1-8090-559ed76cd53f" xlink:to="loc_dei_LegalEntityAxis_b5afa867-4981-4280-a247-72540802c290" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_b5afa867-4981-4280-a247-72540802c290_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_b5afa867-4981-4280-a247-72540802c290" xlink:to="loc_dei_EntityDomain_b5afa867-4981-4280-a247-72540802c290_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_49d578e9-ed9f-43e5-ad81-6babe4e5ebe3" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_b5afa867-4981-4280-a247-72540802c290" xlink:to="loc_dei_EntityDomain_49d578e9-ed9f-43e5-ad81-6babe4e5ebe3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_APCMGMember_3607c36e-18cf-4fae-bda6-d1b61ef4d906" xlink:href="ameh-20230630.xsd#ameh_APCMGMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_49d578e9-ed9f-43e5-ad81-6babe4e5ebe3" xlink:to="loc_ameh_APCMGMember_3607c36e-18cf-4fae-bda6-d1b61ef4d906" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AAMGMember_c01fc105-be49-44af-9f3c-1cb28a02bf36" xlink:href="ameh-20230630.xsd#ameh_AAMGMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_49d578e9-ed9f-43e5-ad81-6babe4e5ebe3" xlink:to="loc_ameh_AAMGMember_c01fc105-be49-44af-9f3c-1cb28a02bf36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_VOMGMember_79c39d94-241d-49d1-a2c0-3bb15dff8b8f" xlink:href="ameh-20230630.xsd#ameh_VOMGMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_49d578e9-ed9f-43e5-ad81-6babe4e5ebe3" xlink:to="loc_ameh_VOMGMember_79c39d94-241d-49d1-a2c0-3bb15dff8b8f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DmgMember_b664fdf9-1da3-4bf1-ac3b-d828fd4220d0" xlink:href="ameh-20230630.xsd#ameh_DmgMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_49d578e9-ed9f-43e5-ad81-6babe4e5ebe3" xlink:to="loc_ameh_DmgMember_b664fdf9-1da3-4bf1-ac3b-d828fd4220d0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApolloSunLabsManagementLLCMember_54ad2e2e-3a95-4784-845c-b83dcc2d3afc" xlink:href="ameh-20230630.xsd#ameh_ApolloSunLabsManagementLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_49d578e9-ed9f-43e5-ad81-6babe4e5ebe3" xlink:to="loc_ameh_ApolloSunLabsManagementLLCMember_54ad2e2e-3a95-4784-845c-b83dcc2d3afc" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/BusinessCombinationsAssetAcquisitionsandGoodwillAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#BusinessCombinationsAssetAcquisitionsandGoodwillAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/BusinessCombinationsAssetAcquisitionsandGoodwillAdditionalInformationDetails" xlink:type="extended" id="i9e88f4c1ddb6414d99da69201481348e_BusinessCombinationsAssetAcquisitionsandGoodwillAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_1edecdcf-07cd-4e20-a896-7acafd6d80b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_4622b96e-a3d0-4522-b0fb-070b6d8e4c18" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1edecdcf-07cd-4e20-a896-7acafd6d80b2" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_4622b96e-a3d0-4522-b0fb-070b6d8e4c18" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NumberOfPrimaryCareClinics_afd4b392-9211-447e-83a2-113d408e95ae" xlink:href="ameh-20230630.xsd#ameh_NumberOfPrimaryCareClinics"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1edecdcf-07cd-4e20-a896-7acafd6d80b2" xlink:to="loc_ameh_NumberOfPrimaryCareClinics_afd4b392-9211-447e-83a2-113d408e95ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_e53818d7-fad0-4737-99ad-f6abfcf3275f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1edecdcf-07cd-4e20-a896-7acafd6d80b2" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_e53818d7-fad0-4737-99ad-f6abfcf3275f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_a16c1a27-e9ab-4eb3-8d19-7c30b3bf1a25" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1edecdcf-07cd-4e20-a896-7acafd6d80b2" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_a16c1a27-e9ab-4eb3-8d19-7c30b3bf1a25" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_39e24cbf-3c74-4bfb-982c-39d9fd7f1353" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_1edecdcf-07cd-4e20-a896-7acafd6d80b2" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_39e24cbf-3c74-4bfb-982c-39d9fd7f1353" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_0b516e36-50e3-498a-ab50-ac44cfa90539" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_39e24cbf-3c74-4bfb-982c-39d9fd7f1353" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_0b516e36-50e3-498a-ab50-ac44cfa90539" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0b516e36-50e3-498a-ab50-ac44cfa90539_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_0b516e36-50e3-498a-ab50-ac44cfa90539" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0b516e36-50e3-498a-ab50-ac44cfa90539_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_00f3dfe0-67a9-4e6d-b927-e7dc86005667" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_0b516e36-50e3-498a-ab50-ac44cfa90539" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_00f3dfe0-67a9-4e6d-b927-e7dc86005667" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ForYourBenefitIncMember_217d3126-7927-48ef-adbf-1649a2bc197c" xlink:href="ameh-20230630.xsd#ameh_ForYourBenefitIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_00f3dfe0-67a9-4e6d-b927-e7dc86005667" xlink:to="loc_ameh_ForYourBenefitIncMember_217d3126-7927-48ef-adbf-1649a2bc197c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_OrmaHealthIncAndProviderGrowthSolutionsLLCMember_90eb8bb7-4fa0-41c4-849b-c22e125c40c3" xlink:href="ameh-20230630.xsd#ameh_OrmaHealthIncAndProviderGrowthSolutionsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_00f3dfe0-67a9-4e6d-b927-e7dc86005667" xlink:to="loc_ameh_OrmaHealthIncAndProviderGrowthSolutionsLLCMember_90eb8bb7-4fa0-41c4-849b-c22e125c40c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_JadeHealthCareMedicalGroupIncMember_103523d3-0a2b-43e1-8dce-1c9cccfbe55b" xlink:href="ameh-20230630.xsd#ameh_JadeHealthCareMedicalGroupIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_00f3dfe0-67a9-4e6d-b927-e7dc86005667" xlink:to="loc_ameh_JadeHealthCareMedicalGroupIncMember_103523d3-0a2b-43e1-8dce-1c9cccfbe55b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AAMGMember_47f34ef2-3072-4330-ad71-d8a27b25fcf1" xlink:href="ameh-20230630.xsd#ameh_AAMGMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_00f3dfe0-67a9-4e6d-b927-e7dc86005667" xlink:to="loc_ameh_AAMGMember_47f34ef2-3072-4330-ad71-d8a27b25fcf1" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/IntangibleAssetsNetScheduleofIntangibleAssetsDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#IntangibleAssetsNetScheduleofIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/IntangibleAssetsNetScheduleofIntangibleAssetsDetails" xlink:type="extended" id="i60d03937f8894c09840d6235678bd64d_IntangibleAssetsNetScheduleofIntangibleAssetsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_7516a7b9-442e-42aa-b343-19db7045c511" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_39bf9b35-bcd9-44f6-af98-86533018be58" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_7516a7b9-442e-42aa-b343-19db7045c511" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_39bf9b35-bcd9-44f6-af98-86533018be58" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_5c48bd16-c6f0-48f3-a64a-f8561455bd5a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_7516a7b9-442e-42aa-b343-19db7045c511" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_5c48bd16-c6f0-48f3-a64a-f8561455bd5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_8aa20105-9fbf-46b1-811c-c72db312e81f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_7516a7b9-442e-42aa-b343-19db7045c511" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_8aa20105-9fbf-46b1-811c-c72db312e81f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_030c690b-8aab-41e8-b1d5-0b8f6a814684" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_7516a7b9-442e-42aa-b343-19db7045c511" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_030c690b-8aab-41e8-b1d5-0b8f6a814684" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9d1d088a-c8e8-4ef8-98be-d14a2e46d7e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_7516a7b9-442e-42aa-b343-19db7045c511" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9d1d088a-c8e8-4ef8-98be-d14a2e46d7e1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9811244d-6197-4237-b32f-10bd3ebbf739" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9d1d088a-c8e8-4ef8-98be-d14a2e46d7e1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9811244d-6197-4237-b32f-10bd3ebbf739" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9811244d-6197-4237-b32f-10bd3ebbf739_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9811244d-6197-4237-b32f-10bd3ebbf739" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9811244d-6197-4237-b32f-10bd3ebbf739_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5ab2bcbe-14d5-4801-9c77-d6adb76212b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9811244d-6197-4237-b32f-10bd3ebbf739" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5ab2bcbe-14d5-4801-9c77-d6adb76212b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NetworkRelationshipsMember_029fd404-a672-47c9-9844-72112edef26e" xlink:href="ameh-20230630.xsd#ameh_NetworkRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5ab2bcbe-14d5-4801-9c77-d6adb76212b7" xlink:to="loc_ameh_NetworkRelationshipsMember_029fd404-a672-47c9-9844-72112edef26e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ManagementContractsMember_508cae52-902d-4ca1-a84a-67da08699329" xlink:href="ameh-20230630.xsd#ameh_ManagementContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5ab2bcbe-14d5-4801-9c77-d6adb76212b7" xlink:to="loc_ameh_ManagementContractsMember_508cae52-902d-4ca1-a84a-67da08699329" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MemberRelationshipsMember_b8c4b97b-ebf4-43f9-a39a-0f6bf7b15a42" xlink:href="ameh-20230630.xsd#ameh_MemberRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5ab2bcbe-14d5-4801-9c77-d6adb76212b7" xlink:to="loc_ameh_MemberRelationshipsMember_b8c4b97b-ebf4-43f9-a39a-0f6bf7b15a42" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PatientManagementPlatformMember_ab3fd042-aa0e-44af-984c-025fc53129e6" xlink:href="ameh-20230630.xsd#ameh_PatientManagementPlatformMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5ab2bcbe-14d5-4801-9c77-d6adb76212b7" xlink:to="loc_ameh_PatientManagementPlatformMember_ab3fd042-aa0e-44af-984c-025fc53129e6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_85022137-5300-46ba-854c-eb049bd2c79e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TrademarksAndTradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5ab2bcbe-14d5-4801-9c77-d6adb76212b7" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_85022137-5300-46ba-854c-eb049bd2c79e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_3ac9ea3e-7195-408d-9496-0bb32c5d59dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DevelopedTechnologyRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5ab2bcbe-14d5-4801-9c77-d6adb76212b7" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_3ac9ea3e-7195-408d-9496-0bb32c5d59dc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_6f5faa0b-54d8-49aa-bad0-6ae9368cccf2" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9d1d088a-c8e8-4ef8-98be-d14a2e46d7e1" xlink:to="loc_srt_RangeAxis_6f5faa0b-54d8-49aa-bad0-6ae9368cccf2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_6f5faa0b-54d8-49aa-bad0-6ae9368cccf2_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_6f5faa0b-54d8-49aa-bad0-6ae9368cccf2" xlink:to="loc_srt_RangeMember_6f5faa0b-54d8-49aa-bad0-6ae9368cccf2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_8f85b486-f3e4-47a3-a4a8-601defb6e5f4" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_6f5faa0b-54d8-49aa-bad0-6ae9368cccf2" xlink:to="loc_srt_RangeMember_8f85b486-f3e4-47a3-a4a8-601defb6e5f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_8d3ea9e7-8519-4e79-9cb4-676a8bb8d8d6" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_8f85b486-f3e4-47a3-a4a8-601defb6e5f4" xlink:to="loc_srt_MinimumMember_8d3ea9e7-8519-4e79-9cb4-676a8bb8d8d6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_e2f47c99-5610-4d82-b2c9-02dbc5ab456d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_8f85b486-f3e4-47a3-a4a8-601defb6e5f4" xlink:to="loc_srt_MaximumMember_e2f47c99-5610-4d82-b2c9-02dbc5ab456d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_5c25f9fc-6a1b-49f6-8a4d-46be0cd23ac9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_50db263d-acba-40a8-b037-26970b909ed0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_5c25f9fc-6a1b-49f6-8a4d-46be0cd23ac9" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_50db263d-acba-40a8-b037-26970b909ed0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_e898b7e8-e82e-4a87-9c9d-6e5313eebcd7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_5c25f9fc-6a1b-49f6-8a4d-46be0cd23ac9" xlink:to="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_e898b7e8-e82e-4a87-9c9d-6e5313eebcd7" xlink:type="arc" order="2" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_2f09777a-7b45-46c6-8cda-5ea6e21c38c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_e898b7e8-e82e-4a87-9c9d-6e5313eebcd7" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_2f09777a-7b45-46c6-8cda-5ea6e21c38c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_2f09777a-7b45-46c6-8cda-5ea6e21c38c3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_2f09777a-7b45-46c6-8cda-5ea6e21c38c3" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_2f09777a-7b45-46c6-8cda-5ea6e21c38c3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_a711ffb0-0999-4017-ad58-ab09c490960b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_2f09777a-7b45-46c6-8cda-5ea6e21c38c3" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_a711ffb0-0999-4017-ad58-ab09c490960b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_e33f9fd7-376b-42db-9d9b-e0ec18b26cca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TrademarksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_a711ffb0-0999-4017-ad58-ab09c490960b" xlink:to="loc_us-gaap_TrademarksMember_e33f9fd7-376b-42db-9d9b-e0ec18b26cca" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/InvestmentsinOtherEntitiesScheduleofEquityMethodInvestmentsDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#InvestmentsinOtherEntitiesScheduleofEquityMethodInvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/InvestmentsinOtherEntitiesScheduleofEquityMethodInvestmentsDetails" xlink:type="extended" id="i95c17c90531e47919cf946188ffdf0a7_InvestmentsinOtherEntitiesScheduleofEquityMethodInvestmentsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_578c68d9-f69c-4ca8-8a10-9621776634a2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_abfb7e15-70b9-411f-a06b-d38da142b98a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_578c68d9-f69c-4ca8-8a10-9621776634a2" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_abfb7e15-70b9-411f-a06b-d38da142b98a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EquityMethodInvestmentsRollForward_4999f3cd-a19e-43be-914d-02d75bdd544f" xlink:href="ameh-20230630.xsd#ameh_EquityMethodInvestmentsRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_578c68d9-f69c-4ca8-8a10-9621776634a2" xlink:to="loc_ameh_EquityMethodInvestmentsRollForward_4999f3cd-a19e-43be-914d-02d75bdd544f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_895f0695-3e75-4c27-a854-01851423c354" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EquityMethodInvestmentsRollForward_4999f3cd-a19e-43be-914d-02d75bdd544f" xlink:to="loc_us-gaap_EquityMethodInvestments_895f0695-3e75-4c27-a854-01851423c354" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EquityMethodInvestmentAdditionalInvestment_ea9a320e-87db-4db2-857a-48264347a74d" xlink:href="ameh-20230630.xsd#ameh_EquityMethodInvestmentAdditionalInvestment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EquityMethodInvestmentsRollForward_4999f3cd-a19e-43be-914d-02d75bdd544f" xlink:to="loc_ameh_EquityMethodInvestmentAdditionalInvestment_ea9a320e-87db-4db2-857a-48264347a74d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_92975032-13e2-4c03-839f-8457cef84137" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EquityMethodInvestmentsRollForward_4999f3cd-a19e-43be-914d-02d75bdd544f" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_92975032-13e2-4c03-839f-8457cef84137" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EquityMethodInvestmentFundingReclassifiedToLoanReceivable_4ea3ff64-113c-452d-ae3a-c72d8466c8f7" xlink:href="ameh-20230630.xsd#ameh_EquityMethodInvestmentFundingReclassifiedToLoanReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EquityMethodInvestmentsRollForward_4999f3cd-a19e-43be-914d-02d75bdd544f" xlink:to="loc_ameh_EquityMethodInvestmentFundingReclassifiedToLoanReceivable_4ea3ff64-113c-452d-ae3a-c72d8466c8f7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EquityMethodInvestmentsContribution_07f36a69-89ce-43cd-858f-715579999ac8" xlink:href="ameh-20230630.xsd#ameh_EquityMethodInvestmentsContribution"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EquityMethodInvestmentsRollForward_4999f3cd-a19e-43be-914d-02d75bdd544f" xlink:to="loc_ameh_EquityMethodInvestmentsContribution_07f36a69-89ce-43cd-858f-715579999ac8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentSoldCarryingAmount_e802b0b6-ec78-4f44-9a27-b27e48e84aa6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentSoldCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EquityMethodInvestmentsRollForward_4999f3cd-a19e-43be-914d-02d75bdd544f" xlink:to="loc_us-gaap_EquityMethodInvestmentSoldCarryingAmount_e802b0b6-ec78-4f44-9a27-b27e48e84aa6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_52ca2f1c-0850-42ca-9f9b-c77fccd006d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_915a411f-07ae-4b2d-a72d-3b8f37654ec8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_578c68d9-f69c-4ca8-8a10-9621776634a2" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_915a411f-07ae-4b2d-a72d-3b8f37654ec8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_ab9890eb-3462-4616-aa42-b56a836e99e2" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_915a411f-07ae-4b2d-a72d-3b8f37654ec8" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_ab9890eb-3462-4616-aa42-b56a836e99e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_ab9890eb-3462-4616-aa42-b56a836e99e2_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_ab9890eb-3462-4616-aa42-b56a836e99e2" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_ab9890eb-3462-4616-aa42-b56a836e99e2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_bcde9528-1cde-4c64-86fa-fe9cde11d15d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_ab9890eb-3462-4616-aa42-b56a836e99e2" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_bcde9528-1cde-4c64-86fa-fe9cde11d15d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LasalleMedicalAssociatesIpaMember_0c1175ac-203b-47db-8580-50b47cc492df" xlink:href="ameh-20230630.xsd#ameh_LasalleMedicalAssociatesIpaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_bcde9528-1cde-4c64-86fa-fe9cde11d15d" xlink:to="loc_ameh_LasalleMedicalAssociatesIpaMember_0c1175ac-203b-47db-8580-50b47cc492df" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PacificMedicalImagingAndOncologyCenterIncMember_4b3afe70-d9ce-409b-9ad3-0ec017800053" xlink:href="ameh-20230630.xsd#ameh_PacificMedicalImagingAndOncologyCenterIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_bcde9528-1cde-4c64-86fa-fe9cde11d15d" xlink:to="loc_ameh_PacificMedicalImagingAndOncologyCenterIncMember_4b3afe70-d9ce-409b-9ad3-0ec017800053" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_FiveThreeOneW.CollegeLLCMember_49d75148-563a-4866-a32f-52e39852c721" xlink:href="ameh-20230630.xsd#ameh_FiveThreeOneW.CollegeLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_bcde9528-1cde-4c64-86fa-fe9cde11d15d" xlink:to="loc_ameh_FiveThreeOneW.CollegeLLCMember_49d75148-563a-4866-a32f-52e39852c721" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_OneMSOLLCMember_4730fc4e-28a1-4e55-bd87-ea6df855c962" xlink:href="ameh-20230630.xsd#ameh_OneMSOLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_bcde9528-1cde-4c64-86fa-fe9cde11d15d" xlink:to="loc_ameh_OneMSOLLCMember_4730fc4e-28a1-4e55-bd87-ea6df855c962" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CAIPAMSOLLCMember_35b162f1-cf22-46cf-b4db-561d05763047" xlink:href="ameh-20230630.xsd#ameh_CAIPAMSOLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_bcde9528-1cde-4c64-86fa-fe9cde11d15d" xlink:to="loc_ameh_CAIPAMSOLLCMember_35b162f1-cf22-46cf-b4db-561d05763047" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_JamesSongMDAProfessionalCorporationMember_2a516afa-f6ac-43ab-8fbe-9c71f3c9a487" xlink:href="ameh-20230630.xsd#ameh_JamesSongMDAProfessionalCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_bcde9528-1cde-4c64-86fa-fe9cde11d15d" xlink:to="loc_ameh_JamesSongMDAProfessionalCorporationMember_2a516afa-f6ac-43ab-8fbe-9c71f3c9a487" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_Tag6MedicalInvestmentGroupLLCMember_4ad6faa5-b504-48b7-84b7-84683df26899" xlink:href="ameh-20230630.xsd#ameh_Tag6MedicalInvestmentGroupLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_bcde9528-1cde-4c64-86fa-fe9cde11d15d" xlink:to="loc_ameh_Tag6MedicalInvestmentGroupLLCMember_4ad6faa5-b504-48b7-84b7-84683df26899" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/InvestmentsinOtherEntitiesAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#InvestmentsinOtherEntitiesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/InvestmentsinOtherEntitiesAdditionalInformationDetails" xlink:type="extended" id="i88f788cdfa2242f4af4d8e6c23f1bbc6_InvestmentsinOtherEntitiesAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_0cd9cbbd-1177-488f-960d-020c28e69c7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_27867ca8-8f54-42aa-95a1-6cf241467f1c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_0cd9cbbd-1177-488f-960d-020c28e69c7d" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_27867ca8-8f54-42aa-95a1-6cf241467f1c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_e90bdaa8-198d-42d2-831a-625c3ed9792e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_0cd9cbbd-1177-488f-960d-020c28e69c7d" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_e90bdaa8-198d-42d2-831a-625c3ed9792e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_8d899060-be7a-4fef-8b69-742b652cac19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_0cd9cbbd-1177-488f-960d-020c28e69c7d" xlink:to="loc_us-gaap_EquityMethodInvestments_8d899060-be7a-4fef-8b69-742b652cac19" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment_804dd6cd-0b32-4f25-aa2d-cc8fa6a5b5ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_0cd9cbbd-1177-488f-960d-020c28e69c7d" xlink:to="loc_us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment_804dd6cd-0b32-4f25-aa2d-cc8fa6a5b5ac" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_f73559ea-4858-42e9-be7d-7de7620b7fef" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_0cd9cbbd-1177-488f-960d-020c28e69c7d" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_f73559ea-4858-42e9-be7d-7de7620b7fef" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_a0c01cf0-06d2-4b46-b3f5-d7b5b66b4ef2" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_f73559ea-4858-42e9-be7d-7de7620b7fef" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_a0c01cf0-06d2-4b46-b3f5-d7b5b66b4ef2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_a0c01cf0-06d2-4b46-b3f5-d7b5b66b4ef2_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_a0c01cf0-06d2-4b46-b3f5-d7b5b66b4ef2" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_a0c01cf0-06d2-4b46-b3f5-d7b5b66b4ef2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_3782a488-5888-4e96-b99a-63de4464321d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_a0c01cf0-06d2-4b46-b3f5-d7b5b66b4ef2" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_3782a488-5888-4e96-b99a-63de4464321d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_JamesSongMDAProfessionalCorporationMember_95d92025-300a-4f04-b035-62e376d3ba8a" xlink:href="ameh-20230630.xsd#ameh_JamesSongMDAProfessionalCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_3782a488-5888-4e96-b99a-63de4464321d" xlink:to="loc_ameh_JamesSongMDAProfessionalCorporationMember_95d92025-300a-4f04-b035-62e376d3ba8a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_77919c4c-0cf5-4b56-8d3e-85d18ab25bfd" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_f73559ea-4858-42e9-be7d-7de7620b7fef" xlink:to="loc_dei_LegalEntityAxis_77919c4c-0cf5-4b56-8d3e-85d18ab25bfd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_77919c4c-0cf5-4b56-8d3e-85d18ab25bfd_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_77919c4c-0cf5-4b56-8d3e-85d18ab25bfd" xlink:to="loc_dei_EntityDomain_77919c4c-0cf5-4b56-8d3e-85d18ab25bfd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_a604fdf0-4e8b-4080-92c1-bb2ffeb7e8cf" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_77919c4c-0cf5-4b56-8d3e-85d18ab25bfd" xlink:to="loc_dei_EntityDomain_a604fdf0-4e8b-4080-92c1-bb2ffeb7e8cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_APAMH2Member_80f6692f-9ad2-4e47-bab0-91a2e413a2a2" xlink:href="ameh-20230630.xsd#ameh_APAMH2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_a604fdf0-4e8b-4080-92c1-bb2ffeb7e8cf" xlink:to="loc_ameh_APAMH2Member_80f6692f-9ad2-4e47-bab0-91a2e413a2a2" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/LoanReceivableandLoanReceivableRelatedPartiesAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#LoanReceivableandLoanReceivableRelatedPartiesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/LoanReceivableandLoanReceivableRelatedPartiesAdditionalInformationDetails" xlink:type="extended" id="i7289b64bae664ab4b18901ccd111429f_LoanReceivableandLoanReceivableRelatedPartiesAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_50753d31-dff5-4587-8744-708f2cd12232" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_361c811e-c3c0-4fc4-a079-b0877d71fe7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesReceivableNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_50753d31-dff5-4587-8744-708f2cd12232" xlink:to="loc_us-gaap_NotesReceivableNet_361c811e-c3c0-4fc4-a079-b0877d71fe7f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_e5ef6c78-db02-44c6-a930-cbc64a61f2e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_50753d31-dff5-4587-8744-708f2cd12232" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_e5ef6c78-db02-44c6-a930-cbc64a61f2e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_FinanceReceivableInterestRateStatedPercentage_e15a73a5-20be-48ad-a5c4-22d412eb6dd4" xlink:href="ameh-20230630.xsd#ameh_FinanceReceivableInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_50753d31-dff5-4587-8744-708f2cd12232" xlink:to="loc_ameh_FinanceReceivableInterestRateStatedPercentage_e15a73a5-20be-48ad-a5c4-22d412eb6dd4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_0d8bf184-5966-4635-bac0-dbacf87357ae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_50753d31-dff5-4587-8744-708f2cd12232" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_0d8bf184-5966-4635-bac0-dbacf87357ae" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c3ba34fa-a9a0-4d81-a21e-27e5279db587" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_50753d31-dff5-4587-8744-708f2cd12232" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c3ba34fa-a9a0-4d81-a21e-27e5279db587" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_ceef93e1-318e-4a64-b969-1921ff752154" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c3ba34fa-a9a0-4d81-a21e-27e5279db587" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_ceef93e1-318e-4a64-b969-1921ff752154" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_ceef93e1-318e-4a64-b969-1921ff752154_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_ceef93e1-318e-4a64-b969-1921ff752154" xlink:to="loc_us-gaap_ReceivableTypeDomain_ceef93e1-318e-4a64-b969-1921ff752154_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_c0a353b6-903e-4f31-832f-c7f8da3c6826" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_ceef93e1-318e-4a64-b969-1921ff752154" xlink:to="loc_us-gaap_ReceivableTypeDomain_c0a353b6-903e-4f31-832f-c7f8da3c6826" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableMember_4292bd84-721f-42f2-b6bc-7dd8e89a888b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_c0a353b6-903e-4f31-832f-c7f8da3c6826" xlink:to="loc_us-gaap_NotesReceivableMember_4292bd84-721f-42f2-b6bc-7dd8e89a888b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_721eace6-6bc5-4f33-9dd0-da7ef148baf6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c3ba34fa-a9a0-4d81-a21e-27e5279db587" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_721eace6-6bc5-4f33-9dd0-da7ef148baf6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_721eace6-6bc5-4f33-9dd0-da7ef148baf6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_721eace6-6bc5-4f33-9dd0-da7ef148baf6" xlink:to="loc_us-gaap_RelatedPartyDomain_721eace6-6bc5-4f33-9dd0-da7ef148baf6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_d8c8424c-ffed-46bc-8f47-c3b39cc55a49" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_721eace6-6bc5-4f33-9dd0-da7ef148baf6" xlink:to="loc_us-gaap_RelatedPartyDomain_d8c8424c-ffed-46bc-8f47-c3b39cc55a49" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_56593247-7253-4170-ab79-2385f60c1e27" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_d8c8424c-ffed-46bc-8f47-c3b39cc55a49" xlink:to="loc_us-gaap_RelatedPartyMember_56593247-7253-4170-ab79-2385f60c1e27" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_4f95c345-d521-45cc-aba2-71b6c58c1aef" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c3ba34fa-a9a0-4d81-a21e-27e5279db587" xlink:to="loc_dei_LegalEntityAxis_4f95c345-d521-45cc-aba2-71b6c58c1aef" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_4f95c345-d521-45cc-aba2-71b6c58c1aef_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_4f95c345-d521-45cc-aba2-71b6c58c1aef" xlink:to="loc_dei_EntityDomain_4f95c345-d521-45cc-aba2-71b6c58c1aef_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_57811314-01fc-4f34-88ae-3e0e4ec78069" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_4f95c345-d521-45cc-aba2-71b6c58c1aef" xlink:to="loc_dei_EntityDomain_57811314-01fc-4f34-88ae-3e0e4ec78069" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NetworkMedicalManagementMember_33485b5b-3090-4822-8575-f486400fb133" xlink:href="ameh-20230630.xsd#ameh_NetworkMedicalManagementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_57811314-01fc-4f34-88ae-3e0e4ec78069" xlink:to="loc_ameh_NetworkMedicalManagementMember_33485b5b-3090-4822-8575-f486400fb133" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LmaMember_3f7e015f-5d8c-4f2a-b0b2-319f9282f25a" xlink:href="ameh-20230630.xsd#ameh_LmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_57811314-01fc-4f34-88ae-3e0e4ec78069" xlink:to="loc_ameh_LmaMember_3f7e015f-5d8c-4f2a-b0b2-319f9282f25a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_5e95923b-084b-4d64-a96b-9a6dc2bf98d9" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c3ba34fa-a9a0-4d81-a21e-27e5279db587" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_5e95923b-084b-4d64-a96b-9a6dc2bf98d9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_5e95923b-084b-4d64-a96b-9a6dc2bf98d9_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_5e95923b-084b-4d64-a96b-9a6dc2bf98d9" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_5e95923b-084b-4d64-a96b-9a6dc2bf98d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_5b370957-b7fa-4815-a63a-22aea4326e85" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_5e95923b-084b-4d64-a96b-9a6dc2bf98d9" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_5b370957-b7fa-4815-a63a-22aea4326e85" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LmaMember_7f0a814a-0c06-4035-a7c6-e7b3b798e1f8" xlink:href="ameh-20230630.xsd#ameh_LmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_5b370957-b7fa-4815-a63a-22aea4326e85" xlink:to="loc_ameh_LmaMember_7f0a814a-0c06-4035-a7c6-e7b3b798e1f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_1cec0daa-7957-4b24-b8d5-2c91aad64b94" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c3ba34fa-a9a0-4d81-a21e-27e5279db587" xlink:to="loc_srt_CounterpartyNameAxis_1cec0daa-7957-4b24-b8d5-2c91aad64b94" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_1cec0daa-7957-4b24-b8d5-2c91aad64b94_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_1cec0daa-7957-4b24-b8d5-2c91aad64b94" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_1cec0daa-7957-4b24-b8d5-2c91aad64b94_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_03db0907-a753-4995-ab1d-9fd2331a788c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_1cec0daa-7957-4b24-b8d5-2c91aad64b94" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_03db0907-a753-4995-ab1d-9fd2331a788c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_Pacific6EnterprisesMember_02015444-76ff-4e13-8c1b-911618030bd5" xlink:href="ameh-20230630.xsd#ameh_Pacific6EnterprisesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_03db0907-a753-4995-ab1d-9fd2331a788c" xlink:to="loc_ameh_Pacific6EnterprisesMember_02015444-76ff-4e13-8c1b-911618030bd5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApcLsmaMember_5fce9186-f641-4894-90a4-4b0572a061fc" xlink:href="ameh-20230630.xsd#ameh_ApcLsmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_03db0907-a753-4995-ab1d-9fd2331a788c" xlink:to="loc_ameh_ApcLsmaMember_5fce9186-f641-4894-90a4-4b0572a061fc" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditScheduleofCreditFacilityDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#CreditFacilityBankLoansandLinesofCreditScheduleofCreditFacilityDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditScheduleofCreditFacilityDetails" xlink:type="extended" id="ia932e895f3d443d5b651a2b0124b3e4f_CreditFacilityBankLoansandLinesofCreditScheduleofCreditFacilityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_1a4a2a74-f3b7-4572-a297-de7ebb28621e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_a222a15f-c5e0-48c7-a3dc-e57d240311a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1a4a2a74-f3b7-4572-a297-de7ebb28621e" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_a222a15f-c5e0-48c7-a3dc-e57d240311a0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_64d6467e-a52b-467c-b610-1e341225ebf8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1a4a2a74-f3b7-4572-a297-de7ebb28621e" xlink:to="loc_us-gaap_LongTermDebtCurrent_64d6467e-a52b-467c-b610-1e341225ebf8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_5147dcf5-236d-4569-a288-f4ba875ea894" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1a4a2a74-f3b7-4572-a297-de7ebb28621e" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_5147dcf5-236d-4569-a288-f4ba875ea894" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_58a030a1-4caa-4567-a976-67405e8c014b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1a4a2a74-f3b7-4572-a297-de7ebb28621e" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_58a030a1-4caa-4567-a976-67405e8c014b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_cf565cbd-b8fb-4ace-bb93-3e06093cebac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_1a4a2a74-f3b7-4572-a297-de7ebb28621e" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_cf565cbd-b8fb-4ace-bb93-3e06093cebac" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_ae829471-5605-4fee-b99a-05e6b8744086" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_cf565cbd-b8fb-4ace-bb93-3e06093cebac" xlink:to="loc_us-gaap_CreditFacilityAxis_ae829471-5605-4fee-b99a-05e6b8744086" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_ae829471-5605-4fee-b99a-05e6b8744086_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_ae829471-5605-4fee-b99a-05e6b8744086" xlink:to="loc_us-gaap_CreditFacilityDomain_ae829471-5605-4fee-b99a-05e6b8744086_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_e9c4927f-c789-443a-8a6e-c7c0ebd32690" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_ae829471-5605-4fee-b99a-05e6b8744086" xlink:to="loc_us-gaap_CreditFacilityDomain_e9c4927f-c789-443a-8a6e-c7c0ebd32690" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_941e41ec-ac7c-43b6-b79c-3bdc1fcc1962" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_e9c4927f-c789-443a-8a6e-c7c0ebd32690" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_941e41ec-ac7c-43b6-b79c-3bdc1fcc1962" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_c5d511ae-e0f4-4ca2-a7dd-c670c34b76cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_cf565cbd-b8fb-4ace-bb93-3e06093cebac" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_c5d511ae-e0f4-4ca2-a7dd-c670c34b76cf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_c5d511ae-e0f4-4ca2-a7dd-c670c34b76cf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_c5d511ae-e0f4-4ca2-a7dd-c670c34b76cf" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_c5d511ae-e0f4-4ca2-a7dd-c670c34b76cf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_02966352-a251-4f0a-ba8b-8894b6c4320e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_c5d511ae-e0f4-4ca2-a7dd-c670c34b76cf" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_02966352-a251-4f0a-ba8b-8894b6c4320e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateLoanMember_d7dc75d9-2bb7-45b3-bfce-f65d3bd0ac4d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealEstateLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_02966352-a251-4f0a-ba8b-8894b6c4320e" xlink:to="loc_us-gaap_RealEstateLoanMember_d7dc75d9-2bb7-45b3-bfce-f65d3bd0ac4d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ConstructionLoanMember_7fd912e8-7fd9-4263-b61f-8a22cc09c9da" xlink:href="ameh-20230630.xsd#ameh_ConstructionLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_02966352-a251-4f0a-ba8b-8894b6c4320e" xlink:to="loc_ameh_ConstructionLoanMember_7fd912e8-7fd9-4263-b61f-8a22cc09c9da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayableToBanksMember_37cb1b28-e77a-457a-aac1-aeb51dd3502d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesPayableToBanksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_02966352-a251-4f0a-ba8b-8894b6c4320e" xlink:to="loc_us-gaap_NotesPayableToBanksMember_37cb1b28-e77a-457a-aac1-aeb51dd3502d" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#CreditFacilityBankLoansandLinesofCreditAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditAdditionalInformationDetails" xlink:type="extended" id="i021e67aaafb5472fb16c21a1983f9258_CreditFacilityBankLoansandLinesofCreditAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTerm_621c8c69-7c5c-4a18-8e85-09236fdf7168" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_DebtInstrumentTerm_621c8c69-7c5c-4a18-8e85-09236fdf7168" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_583c72ba-3e4f-46d2-92ae-50217abe7586" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_583c72ba-3e4f-46d2-92ae-50217abe7586" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeeAmount_93821f52-1d73-46b5-b432-9352d73327c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityCommitmentFeeAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeeAmount_93821f52-1d73-46b5-b432-9352d73327c3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_5785bd04-6e0c-4983-8a25-74330b7e4962" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_5785bd04-6e0c-4983-8a25-74330b7e4962" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_a7a0592f-2992-4660-be8b-15d5d7ee17ad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_a7a0592f-2992-4660-be8b-15d5d7ee17ad" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_78e71a8c-f63e-41e6-9049-f3cb2c0a89c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_78e71a8c-f63e-41e6-9049-f3cb2c0a89c5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentNumberOfKeyFinancialRatios_ec5b6ad5-01fc-429c-b175-d1fa9ec276c6" xlink:href="ameh-20230630.xsd#ameh_DebtInstrumentNumberOfKeyFinancialRatios"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_ameh_DebtInstrumentNumberOfKeyFinancialRatios_ec5b6ad5-01fc-429c-b175-d1fa9ec276c6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantLeverageRatioMaximum_c6b7edb6-2f9d-43db-b976-b8e416eec391" xlink:href="ameh-20230630.xsd#ameh_DebtInstrumentCovenantLeverageRatioMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_ameh_DebtInstrumentCovenantLeverageRatioMaximum_c6b7edb6-2f9d-43db-b976-b8e416eec391" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtCovenantAggregatePurchasePriceMaximum_255ee3c7-6315-4f5d-a5b4-d8fee826d2d9" xlink:href="ameh-20230630.xsd#ameh_DebtCovenantAggregatePurchasePriceMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_ameh_DebtCovenantAggregatePurchasePriceMaximum_255ee3c7-6315-4f5d-a5b4-d8fee826d2d9" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantLeverageRatioIncrementalChange_d89b0023-cf5c-492b-80ed-f31bade06f22" xlink:href="ameh-20230630.xsd#ameh_DebtInstrumentCovenantLeverageRatioIncrementalChange"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_ameh_DebtInstrumentCovenantLeverageRatioIncrementalChange_d89b0023-cf5c-492b-80ed-f31bade06f22" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantLeverageRatioAdjustedMaximum_4399916c-042f-4740-927e-0ee8aef80924" xlink:href="ameh-20230630.xsd#ameh_DebtInstrumentCovenantLeverageRatioAdjustedMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_ameh_DebtInstrumentCovenantLeverageRatioAdjustedMaximum_4399916c-042f-4740-927e-0ee8aef80924" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantInterestCoverageRatioMinimum_3781eea4-b447-430c-9650-fcc93d0cbf4d" xlink:href="ameh-20230630.xsd#ameh_DebtInstrumentCovenantInterestCoverageRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_ameh_DebtInstrumentCovenantInterestCoverageRatioMinimum_3781eea4-b447-430c-9650-fcc93d0cbf4d" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_b703ac99-79ac-419f-8ad0-61c8735424d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_b703ac99-79ac-419f-8ad0-61c8735424d2" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_36a8dde4-409b-436c-beee-1389e583097d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_36a8dde4-409b-436c-beee-1389e583097d" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_70327227-dba5-487e-b12d-e45070acbadf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_LongTermDebt_70327227-dba5-487e-b12d-e45070acbadf" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantDebtCoverageRatioMinimum_bfd83790-d5f4-414e-8b28-2b8caa418388" xlink:href="ameh-20230630.xsd#ameh_DebtInstrumentCovenantDebtCoverageRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_ameh_DebtInstrumentCovenantDebtCoverageRatioMinimum_bfd83790-d5f4-414e-8b28-2b8caa418388" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_8da56cad-c977-473e-b6a2-257141eb7e4f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_8da56cad-c977-473e-b6a2-257141eb7e4f" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantCashFlowToDebtServiceRatioMinimum_b940e147-b6a7-47a0-9979-7259e7f8e77f" xlink:href="ameh-20230630.xsd#ameh_DebtInstrumentCovenantCashFlowToDebtServiceRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_ameh_DebtInstrumentCovenantCashFlowToDebtServiceRatioMinimum_b940e147-b6a7-47a0-9979-7259e7f8e77f" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtCovenantThresholdPercentageForOccupationOfProperty_0b66e31f-d59c-43b5-8e2d-569845fc36ce" xlink:href="ameh-20230630.xsd#ameh_DebtCovenantThresholdPercentageForOccupationOfProperty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_ameh_DebtCovenantThresholdPercentageForOccupationOfProperty_0b66e31f-d59c-43b5-8e2d-569845fc36ce" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantCashFlowCoverageRatioMinimum_16063854-5638-4f7f-af1d-9338ef9cb7bc" xlink:href="ameh-20230630.xsd#ameh_DebtInstrumentCovenantCashFlowCoverageRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_ameh_DebtInstrumentCovenantCashFlowCoverageRatioMinimum_16063854-5638-4f7f-af1d-9338ef9cb7bc" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateDuringPeriod_18d8f1be-2e85-44a7-83d7-acf1f624326b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_DebtInstrumentInterestRateDuringPeriod_18d8f1be-2e85-44a7-83d7-acf1f624326b" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_b9d8b975-bdba-4153-89a2-a1eba0d2458e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_InterestExpense_b9d8b975-bdba-4153-89a2-a1eba0d2458e" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_f360bff2-0e92-403f-8a69-6008265e9c54" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityExpirationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_f360bff2-0e92-403f-8a69-6008265e9c54" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_7aac1d3d-5191-4b43-a68f-0c7326ea9947" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4b0562df-5910-450b-90be-bda7d6087645" xlink:to="loc_us-gaap_DebtInstrumentTable_7aac1d3d-5191-4b43-a68f-0c7326ea9947" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_2e473fbc-baa4-4726-86cd-b5f5aabc9722" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7aac1d3d-5191-4b43-a68f-0c7326ea9947" xlink:to="loc_us-gaap_CreditFacilityAxis_2e473fbc-baa4-4726-86cd-b5f5aabc9722" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_2e473fbc-baa4-4726-86cd-b5f5aabc9722_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_2e473fbc-baa4-4726-86cd-b5f5aabc9722" xlink:to="loc_us-gaap_CreditFacilityDomain_2e473fbc-baa4-4726-86cd-b5f5aabc9722_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_f7ab077d-f51d-42c5-8aac-8cdcd5915578" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_2e473fbc-baa4-4726-86cd-b5f5aabc9722" xlink:to="loc_us-gaap_CreditFacilityDomain_f7ab077d-f51d-42c5-8aac-8cdcd5915578" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_03908b25-5750-4065-9e50-22d39166ae5b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_f7ab077d-f51d-42c5-8aac-8cdcd5915578" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_03908b25-5750-4065-9e50-22d39166ae5b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_35a44f94-d7fa-40f4-aa61-460fec93e5d6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_f7ab077d-f51d-42c5-8aac-8cdcd5915578" xlink:to="loc_us-gaap_LineOfCreditMember_35a44f94-d7fa-40f4-aa61-460fec93e5d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_8b7059e1-8a3e-4569-9fb3-90b18b92567e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_f7ab077d-f51d-42c5-8aac-8cdcd5915578" xlink:to="loc_us-gaap_LetterOfCreditMember_8b7059e1-8a3e-4569-9fb3-90b18b92567e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BridgeLoanMember_44453758-803f-4c21-b468-53507f44bf36" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BridgeLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_f7ab077d-f51d-42c5-8aac-8cdcd5915578" xlink:to="loc_us-gaap_BridgeLoanMember_44453758-803f-4c21-b468-53507f44bf36" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_115f06c3-5c41-4eed-b009-190c7db6678d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StandbyLettersOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_f7ab077d-f51d-42c5-8aac-8cdcd5915578" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_115f06c3-5c41-4eed-b009-190c7db6678d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_532e1590-6017-41ec-8d8f-206cdfc45dc7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7aac1d3d-5191-4b43-a68f-0c7326ea9947" xlink:to="loc_us-gaap_DebtInstrumentAxis_532e1590-6017-41ec-8d8f-206cdfc45dc7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_532e1590-6017-41ec-8d8f-206cdfc45dc7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_532e1590-6017-41ec-8d8f-206cdfc45dc7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_532e1590-6017-41ec-8d8f-206cdfc45dc7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_b301e013-4ace-4d61-8f76-d44fc5351483" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_532e1590-6017-41ec-8d8f-206cdfc45dc7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_b301e013-4ace-4d61-8f76-d44fc5351483" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AmendedCreditAgreementMember_6c8520db-6a77-4f49-8b59-2d4899875969" xlink:href="ameh-20230630.xsd#ameh_AmendedCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b301e013-4ace-4d61-8f76-d44fc5351483" xlink:to="loc_ameh_AmendedCreditAgreementMember_6c8520db-6a77-4f49-8b59-2d4899875969" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CreditAgreementMember_3ad6a6d3-ae01-4b89-b484-a9288a1f10d6" xlink:href="ameh-20230630.xsd#ameh_CreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b301e013-4ace-4d61-8f76-d44fc5351483" xlink:to="loc_ameh_CreditAgreementMember_3ad6a6d3-ae01-4b89-b484-a9288a1f10d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ConstructionLoanMember_3462e4d9-75a0-4bc9-87f4-443472e7de03" xlink:href="ameh-20230630.xsd#ameh_ConstructionLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b301e013-4ace-4d61-8f76-d44fc5351483" xlink:to="loc_ameh_ConstructionLoanMember_3462e4d9-75a0-4bc9-87f4-443472e7de03" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionLoansMember_31afdd07-b770-42d8-be95-5a2b82f9907c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConstructionLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b301e013-4ace-4d61-8f76-d44fc5351483" xlink:to="loc_us-gaap_ConstructionLoansMember_31afdd07-b770-42d8-be95-5a2b82f9907c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_SubordinatedLoanAgreementMember_41097c21-9579-4c2f-adb3-a39b82a642e7" xlink:href="ameh-20230630.xsd#ameh_SubordinatedLoanAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b301e013-4ace-4d61-8f76-d44fc5351483" xlink:to="loc_ameh_SubordinatedLoanAgreementMember_41097c21-9579-4c2f-adb3-a39b82a642e7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApcBusinessLoanAgreementMember_e4d4eca3-ab1c-4ade-afed-2760d03bf1ff" xlink:href="ameh-20230630.xsd#ameh_ApcBusinessLoanAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_b301e013-4ace-4d61-8f76-d44fc5351483" xlink:to="loc_ameh_ApcBusinessLoanAgreementMember_e4d4eca3-ab1c-4ade-afed-2760d03bf1ff" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_52e13bb3-7adf-419e-9379-17bbc3a18403" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7aac1d3d-5191-4b43-a68f-0c7326ea9947" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_52e13bb3-7adf-419e-9379-17bbc3a18403" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_52e13bb3-7adf-419e-9379-17bbc3a18403_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_52e13bb3-7adf-419e-9379-17bbc3a18403" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_52e13bb3-7adf-419e-9379-17bbc3a18403_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_9ad06bfc-df07-411a-b4b6-c0a8f6839bcb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_52e13bb3-7adf-419e-9379-17bbc3a18403" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_9ad06bfc-df07-411a-b4b6-c0a8f6839bcb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebtMember_8a2be505-cc0a-471a-9fd7-9fa8baf48063" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubordinatedDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_9ad06bfc-df07-411a-b4b6-c0a8f6839bcb" xlink:to="loc_us-gaap_SubordinatedDebtMember_8a2be505-cc0a-471a-9fd7-9fa8baf48063" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_3786a3c5-3bc4-42df-9ef9-f7230df74be9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_9ad06bfc-df07-411a-b4b6-c0a8f6839bcb" xlink:to="loc_us-gaap_LineOfCreditMember_3786a3c5-3bc4-42df-9ef9-f7230df74be9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_582512f4-b2d1-4d79-91de-7047c551300a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7aac1d3d-5191-4b43-a68f-0c7326ea9947" xlink:to="loc_srt_RangeAxis_582512f4-b2d1-4d79-91de-7047c551300a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_582512f4-b2d1-4d79-91de-7047c551300a_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_582512f4-b2d1-4d79-91de-7047c551300a" xlink:to="loc_srt_RangeMember_582512f4-b2d1-4d79-91de-7047c551300a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_60d79b7e-879d-4ad5-9099-cca280f3aeb3" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_582512f4-b2d1-4d79-91de-7047c551300a" xlink:to="loc_srt_RangeMember_60d79b7e-879d-4ad5-9099-cca280f3aeb3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_4daf8029-7501-426b-a815-387c3150accf" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_60d79b7e-879d-4ad5-9099-cca280f3aeb3" xlink:to="loc_srt_MinimumMember_4daf8029-7501-426b-a815-387c3150accf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_4956c07b-4102-4294-b7b4-74b43fde3141" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_60d79b7e-879d-4ad5-9099-cca280f3aeb3" xlink:to="loc_srt_MaximumMember_4956c07b-4102-4294-b7b4-74b43fde3141" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_97075898-3834-470d-9e91-d3ef9bf2fd67" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7aac1d3d-5191-4b43-a68f-0c7326ea9947" xlink:to="loc_dei_LegalEntityAxis_97075898-3834-470d-9e91-d3ef9bf2fd67" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_97075898-3834-470d-9e91-d3ef9bf2fd67_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_97075898-3834-470d-9e91-d3ef9bf2fd67" xlink:to="loc_dei_EntityDomain_97075898-3834-470d-9e91-d3ef9bf2fd67_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_25865275-9f8b-4d4b-bbe6-3cd66bdab93a" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_97075898-3834-470d-9e91-d3ef9bf2fd67" xlink:to="loc_dei_EntityDomain_25865275-9f8b-4d4b-bbe6-3cd66bdab93a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MedicalPropertyPartnersLLCMember_f07b418b-b601-460c-b0bd-9da6c32dbe69" xlink:href="ameh-20230630.xsd#ameh_MedicalPropertyPartnersLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_25865275-9f8b-4d4b-bbe6-3cd66bdab93a" xlink:to="loc_ameh_MedicalPropertyPartnersLLCMember_f07b418b-b601-460c-b0bd-9da6c32dbe69" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AMGPropertiesLLCMember_ff46577f-daae-41b8-8ce8-dd43d8527eb9" xlink:href="ameh-20230630.xsd#ameh_AMGPropertiesLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_25865275-9f8b-4d4b-bbe6-3cd66bdab93a" xlink:to="loc_ameh_AMGPropertiesLLCMember_ff46577f-daae-41b8-8ce8-dd43d8527eb9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ZLLPartnersLLCMember_3b79beb0-c81d-44ec-b253-6755c1589bcb" xlink:href="ameh-20230630.xsd#ameh_ZLLPartnersLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_25865275-9f8b-4d4b-bbe6-3cd66bdab93a" xlink:to="loc_ameh_ZLLPartnersLLCMember_3b79beb0-c81d-44ec-b253-6755c1589bcb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_A120HellmanLLCMember_3e968ab9-c8af-4ae7-b89d-8950d44bfc56" xlink:href="ameh-20230630.xsd#ameh_A120HellmanLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_25865275-9f8b-4d4b-bbe6-3cd66bdab93a" xlink:to="loc_ameh_A120HellmanLLCMember_3e968ab9-c8af-4ae7-b89d-8950d44bfc56" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_Tag8MedicalInvestmentGroupLLCMember_5675d386-10a3-4cf1-9fac-c9f7d5b67192" xlink:href="ameh-20230630.xsd#ameh_Tag8MedicalInvestmentGroupLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_25865275-9f8b-4d4b-bbe6-3cd66bdab93a" xlink:to="loc_ameh_Tag8MedicalInvestmentGroupLLCMember_5675d386-10a3-4cf1-9fac-c9f7d5b67192" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlliedPacificOfCaliforniaIPAMember_8329d5c4-290a-4432-b696-3689035fd607" xlink:href="ameh-20230630.xsd#ameh_AlliedPacificOfCaliforniaIPAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_25865275-9f8b-4d4b-bbe6-3cd66bdab93a" xlink:to="loc_ameh_AlliedPacificOfCaliforniaIPAMember_8329d5c4-290a-4432-b696-3689035fd607" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlphaCareMedicalGroupInc.Member_55385571-b4b5-474b-b906-9eac46cc3975" xlink:href="ameh-20230630.xsd#ameh_AlphaCareMedicalGroupInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_25865275-9f8b-4d4b-bbe6-3cd66bdab93a" xlink:to="loc_ameh_AlphaCareMedicalGroupInc.Member_55385571-b4b5-474b-b906-9eac46cc3975" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_4b8869bb-c5f8-49cf-8d14-3964d6737119" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7aac1d3d-5191-4b43-a68f-0c7326ea9947" xlink:to="loc_us-gaap_VariableRateAxis_4b8869bb-c5f8-49cf-8d14-3964d6737119" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_4b8869bb-c5f8-49cf-8d14-3964d6737119_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_4b8869bb-c5f8-49cf-8d14-3964d6737119" xlink:to="loc_us-gaap_VariableRateDomain_4b8869bb-c5f8-49cf-8d14-3964d6737119_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_1b6e9955-5b72-450e-8962-50cabd5fd0d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_4b8869bb-c5f8-49cf-8d14-3964d6737119" xlink:to="loc_us-gaap_VariableRateDomain_1b6e9955-5b72-450e-8962-50cabd5fd0d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_SecuredOvernightFinancingRateMember_e7c0872f-7d12-4711-a278-89a12806fa91" xlink:href="ameh-20230630.xsd#ameh_SecuredOvernightFinancingRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_1b6e9955-5b72-450e-8962-50cabd5fd0d7" xlink:to="loc_ameh_SecuredOvernightFinancingRateMember_e7c0872f-7d12-4711-a278-89a12806fa91" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_7aaf5a4f-d509-4519-8acf-e5545fbdef2c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_1b6e9955-5b72-450e-8962-50cabd5fd0d7" xlink:to="loc_us-gaap_BaseRateMember_7aaf5a4f-d509-4519-8acf-e5545fbdef2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrimeRateMember_618066fd-9dcb-4032-a589-815c2735857c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrimeRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_1b6e9955-5b72-450e-8962-50cabd5fd0d7" xlink:to="loc_us-gaap_PrimeRateMember_618066fd-9dcb-4032-a589-815c2735857c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_e75d35c5-805e-48ef-ac62-9b223c7eb12a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7aac1d3d-5191-4b43-a68f-0c7326ea9947" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_e75d35c5-805e-48ef-ac62-9b223c7eb12a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_e75d35c5-805e-48ef-ac62-9b223c7eb12a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityLenderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_e75d35c5-805e-48ef-ac62-9b223c7eb12a" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_e75d35c5-805e-48ef-ac62-9b223c7eb12a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_49e80cb8-8e77-4e6b-8408-17e84b9fd44b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityLenderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_e75d35c5-805e-48ef-ac62-9b223c7eb12a" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_49e80cb8-8e77-4e6b-8408-17e84b9fd44b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PreferredBankMember_ef04e90e-221e-430d-9265-eaa7ab39c6ab" xlink:href="ameh-20230630.xsd#ameh_PreferredBankMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_49e80cb8-8e77-4e6b-8408-17e84b9fd44b" xlink:to="loc_ameh_PreferredBankMember_ef04e90e-221e-430d-9265-eaa7ab39c6ab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_TruistBankMember_2723e5ee-bbb9-4bff-9afd-fbfebcda1bb4" xlink:href="ameh-20230630.xsd#ameh_TruistBankMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_49e80cb8-8e77-4e6b-8408-17e84b9fd44b" xlink:to="loc_ameh_TruistBankMember_2723e5ee-bbb9-4bff-9afd-fbfebcda1bb4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_583cdc9f-6c74-476c-ac5e-43a6a2c36981" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7aac1d3d-5191-4b43-a68f-0c7326ea9947" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_583cdc9f-6c74-476c-ac5e-43a6a2c36981" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_583cdc9f-6c74-476c-ac5e-43a6a2c36981_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_583cdc9f-6c74-476c-ac5e-43a6a2c36981" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_583cdc9f-6c74-476c-ac5e-43a6a2c36981_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_fe6634e2-26f3-47cb-9098-ea0c2131ad5f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_583cdc9f-6c74-476c-ac5e-43a6a2c36981" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_fe6634e2-26f3-47cb-9098-ea0c2131ad5f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_6576d48a-622f-4565-a4fe-2e3d321f6cd2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StandbyLettersOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_fe6634e2-26f3-47cb-9098-ea0c2131ad5f" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_6576d48a-622f-4565-a4fe-2e3d321f6cd2" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/MezzanineandStockholdersEquityAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#MezzanineandStockholdersEquityAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/MezzanineandStockholdersEquityAdditionalInformationDetails" xlink:type="extended" id="i86ac3a03bf644b7a932ba061c1b212f5_MezzanineandStockholdersEquityAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_4dc31648-1709-49cd-8848-cdfa818757a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_StockIssuedDuringPeriodSharesMerger_c2ea0754-5045-43cb-8337-a7f7887aadf1" xlink:href="ameh-20230630.xsd#ameh_StockIssuedDuringPeriodSharesMerger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4dc31648-1709-49cd-8848-cdfa818757a0" xlink:to="loc_ameh_StockIssuedDuringPeriodSharesMerger_c2ea0754-5045-43cb-8337-a7f7887aadf1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_41d8b93c-6534-4973-909d-646f9b67a9ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4dc31648-1709-49cd-8848-cdfa818757a0" xlink:to="loc_us-gaap_TreasuryStockCommonShares_41d8b93c-6534-4973-909d-646f9b67a9ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_d874c827-4db9-470d-a62a-0a0b6ebc52d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4dc31648-1709-49cd-8848-cdfa818757a0" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_d874c827-4db9-470d-a62a-0a0b6ebc52d5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Dividends_add85ef0-efab-4058-b54b-21f1638cd711" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Dividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4dc31648-1709-49cd-8848-cdfa818757a0" xlink:to="loc_us-gaap_Dividends_add85ef0-efab-4058-b54b-21f1638cd711" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_ac4c703a-3bcf-4334-a9da-d08da755c14c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_4dc31648-1709-49cd-8848-cdfa818757a0" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_ac4c703a-3bcf-4334-a9da-d08da755c14c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_03048eae-5eb7-4b07-8454-9fcefccbf750" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_ac4c703a-3bcf-4334-a9da-d08da755c14c" xlink:to="loc_dei_LegalEntityAxis_03048eae-5eb7-4b07-8454-9fcefccbf750" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_03048eae-5eb7-4b07-8454-9fcefccbf750_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_03048eae-5eb7-4b07-8454-9fcefccbf750" xlink:to="loc_dei_EntityDomain_03048eae-5eb7-4b07-8454-9fcefccbf750_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_49b4b083-5fa2-45bd-8063-27ea61305cad" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_03048eae-5eb7-4b07-8454-9fcefccbf750" xlink:to="loc_dei_EntityDomain_49b4b083-5fa2-45bd-8063-27ea61305cad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlliedPacificOfCaliforniaIPAMember_c57a121d-638a-4bb1-96f5-aaa44c20006e" xlink:href="ameh-20230630.xsd#ameh_AlliedPacificOfCaliforniaIPAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_49b4b083-5fa2-45bd-8063-27ea61305cad" xlink:to="loc_ameh_AlliedPacificOfCaliforniaIPAMember_c57a121d-638a-4bb1-96f5-aaa44c20006e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CDSCMember_0653b029-713b-4c66-b8ee-2bd5075422e7" xlink:href="ameh-20230630.xsd#ameh_CDSCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_49b4b083-5fa2-45bd-8063-27ea61305cad" xlink:to="loc_ameh_CDSCMember_0653b029-713b-4c66-b8ee-2bd5075422e7" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/StockBasedCompensationScheduleofShareBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#StockBasedCompensationScheduleofShareBasedCompensationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/StockBasedCompensationScheduleofShareBasedCompensationExpenseDetails" xlink:type="extended" id="i76a419e57738434ba0e2ed750757a2d7_StockBasedCompensationScheduleofShareBasedCompensationExpenseDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_f0d8cde5-c6e1-461c-93ff-a7b121b497b5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_596db328-a701-412b-a912-30e6847a048d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_f0d8cde5-c6e1-461c-93ff-a7b121b497b5" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_596db328-a701-412b-a912-30e6847a048d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_31b4af5f-1231-4f0f-8273-879dbce0cab1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_f0d8cde5-c6e1-461c-93ff-a7b121b497b5" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_31b4af5f-1231-4f0f-8273-879dbce0cab1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_a80e270a-53cb-403f-9cc6-577b4aacaf1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_31b4af5f-1231-4f0f-8273-879dbce0cab1" xlink:to="loc_us-gaap_AwardTypeAxis_a80e270a-53cb-403f-9cc6-577b4aacaf1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a80e270a-53cb-403f-9cc6-577b4aacaf1b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_a80e270a-53cb-403f-9cc6-577b4aacaf1b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a80e270a-53cb-403f-9cc6-577b4aacaf1b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_65f1b127-146a-49f1-aa04-9222e8d490c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_a80e270a-53cb-403f-9cc6-577b4aacaf1b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_65f1b127-146a-49f1-aa04-9222e8d490c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_2c1f2a00-e1d0-4fe9-9127-ea6dc8dee7c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_65f1b127-146a-49f1-aa04-9222e8d490c8" xlink:to="loc_us-gaap_EmployeeStockOptionMember_2c1f2a00-e1d0-4fe9-9127-ea6dc8dee7c0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_StockAwardsAndUnitsMember_ad7d040e-dc32-4c80-860e-cac9d0885eea" xlink:href="ameh-20230630.xsd#ameh_StockAwardsAndUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_65f1b127-146a-49f1-aa04-9222e8d490c8" xlink:to="loc_ameh_StockAwardsAndUnitsMember_ad7d040e-dc32-4c80-860e-cac9d0885eea" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/StockBasedCompensationAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#StockBasedCompensationAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/StockBasedCompensationAdditionalInformationDetails" xlink:type="extended" id="i6a82dde627f747c29b3a86846c22d923_StockBasedCompensationAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_315f0c57-1e7b-436e-9d06-79be9e140027" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_315f0c57-1e7b-436e-9d06-79be9e140027" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_05d85d26-5a37-4d16-8070-755a49cafd79" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_05d85d26-5a37-4d16-8070-755a49cafd79" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_28b6706b-e78b-47fa-b94f-d5d9fa326547" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_28b6706b-e78b-47fa-b94f-d5d9fa326547" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_cec5143e-2eb0-4c2a-aae1-f8b92a7a1999" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_cec5143e-2eb0-4c2a-aae1-f8b92a7a1999" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsContingentOnPerformance_46032084-0a72-4d9c-ad06-ae1ccf018b40" xlink:href="ameh-20230630.xsd#ameh_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsContingentOnPerformance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:to="loc_ameh_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsContingentOnPerformance_46032084-0a72-4d9c-ad06-ae1ccf018b40" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_ac76ae1c-11f4-4c36-affb-6b185c048285" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_ac76ae1c-11f4-4c36-affb-6b185c048285" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_7ffaab43-37d4-4629-b2d6-da0d3563e1ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_7ffaab43-37d4-4629-b2d6-da0d3563e1ee" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightOutstanding_d340ff68-09fc-410e-820b-838165212714" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfWarrantOrRightOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:to="loc_us-gaap_ClassOfWarrantOrRightOutstanding_d340ff68-09fc-410e-820b-838165212714" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExercisesInPeriod_c291abde-9dc2-4982-9ed0-967373183df2" xlink:href="ameh-20230630.xsd#ameh_ShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExercisesInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:to="loc_ameh_ShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExercisesInPeriod_c291abde-9dc2-4982-9ed0-967373183df2" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_WarrantIssuedDuringPeriodValueStockOptionsExercised_e5c5e493-4279-491b-8529-304b9a8fdf36" xlink:href="ameh-20230630.xsd#ameh_WarrantIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:to="loc_ameh_WarrantIssuedDuringPeriodValueStockOptionsExercised_e5c5e493-4279-491b-8529-304b9a8fdf36" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ShareBasedCompensationArrangementBySharebasedPaymentAwardWarrantExercisedExercisePrice_f46e0488-315e-45c6-b98b-642e4aed21a8" xlink:href="ameh-20230630.xsd#ameh_ShareBasedCompensationArrangementBySharebasedPaymentAwardWarrantExercisedExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:to="loc_ameh_ShareBasedCompensationArrangementBySharebasedPaymentAwardWarrantExercisedExercisePrice_f46e0488-315e-45c6-b98b-642e4aed21a8" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_97d054ad-1ce6-474e-a369-d8cda43e8446" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_edc973f0-5593-4ce0-ab73-966419c9da3f" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_97d054ad-1ce6-474e-a369-d8cda43e8446" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_e6f526f5-389b-43a0-8024-7f333be330fd" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_97d054ad-1ce6-474e-a369-d8cda43e8446" xlink:to="loc_srt_TitleOfIndividualAxis_e6f526f5-389b-43a0-8024-7f333be330fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_e6f526f5-389b-43a0-8024-7f333be330fd_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_e6f526f5-389b-43a0-8024-7f333be330fd" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_e6f526f5-389b-43a0-8024-7f333be330fd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_0f929bc3-83d4-4b68-946e-e8094a8b69ce" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_e6f526f5-389b-43a0-8024-7f333be330fd" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_0f929bc3-83d4-4b68-946e-e8094a8b69ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApcStockOptionMember_b22960c8-8049-4673-9912-783c42333856" xlink:href="ameh-20230630.xsd#ameh_ApcStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_0f929bc3-83d4-4b68-946e-e8094a8b69ce" xlink:to="loc_ameh_ApcStockOptionMember_b22960c8-8049-4673-9912-783c42333856" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_be9f983e-8747-43bd-ac59-0aaaaa414aa4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_97d054ad-1ce6-474e-a369-d8cda43e8446" xlink:to="loc_us-gaap_AwardTypeAxis_be9f983e-8747-43bd-ac59-0aaaaa414aa4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_be9f983e-8747-43bd-ac59-0aaaaa414aa4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_be9f983e-8747-43bd-ac59-0aaaaa414aa4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_be9f983e-8747-43bd-ac59-0aaaaa414aa4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c4e53d1b-255b-4f88-8453-4a451fe1cea2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_be9f983e-8747-43bd-ac59-0aaaaa414aa4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c4e53d1b-255b-4f88-8453-4a451fe1cea2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_42dd8ae1-8294-4204-a513-2dc8d4be0b26" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c4e53d1b-255b-4f88-8453-4a451fe1cea2" xlink:to="loc_us-gaap_RestrictedStockMember_42dd8ae1-8294-4204-a513-2dc8d4be0b26" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PerformanceBasedRestrictedStockMember_da684b0b-cfb2-48b5-a66f-ca87195fcbeb" xlink:href="ameh-20230630.xsd#ameh_PerformanceBasedRestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c4e53d1b-255b-4f88-8453-4a451fe1cea2" xlink:to="loc_ameh_PerformanceBasedRestrictedStockMember_da684b0b-cfb2-48b5-a66f-ca87195fcbeb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_236d9470-a364-4bc0-966b-806bd7371ee0" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_97d054ad-1ce6-474e-a369-d8cda43e8446" xlink:to="loc_srt_RangeAxis_236d9470-a364-4bc0-966b-806bd7371ee0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_236d9470-a364-4bc0-966b-806bd7371ee0_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_236d9470-a364-4bc0-966b-806bd7371ee0" xlink:to="loc_srt_RangeMember_236d9470-a364-4bc0-966b-806bd7371ee0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ffac8773-ea14-490a-b2a1-6f467de8b399" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_236d9470-a364-4bc0-966b-806bd7371ee0" xlink:to="loc_srt_RangeMember_ffac8773-ea14-490a-b2a1-6f467de8b399" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_7723be1c-58fd-4ac3-b3d3-bdededd0d716" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ffac8773-ea14-490a-b2a1-6f467de8b399" xlink:to="loc_srt_MinimumMember_7723be1c-58fd-4ac3-b3d3-bdededd0d716" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_d02c1652-6628-4737-bc62-fcbb87f3af9a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ffac8773-ea14-490a-b2a1-6f467de8b399" xlink:to="loc_srt_MaximumMember_d02c1652-6628-4737-bc62-fcbb87f3af9a" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/CommitmentsandContingenciesAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#CommitmentsandContingenciesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CommitmentsandContingenciesAdditionalInformationDetails" xlink:type="extended" id="i879d572379534393954dd9e919d9cf40_CommitmentsandContingenciesAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CommitmentsAndContingenciesLineItems_6e38416e-aabe-4178-964b-57fa0a631bb1" xlink:href="ameh-20230630.xsd#ameh_CommitmentsAndContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_c53c468e-caf9-4fac-a26f-079cf1dcecb1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_CommitmentsAndContingenciesLineItems_6e38416e-aabe-4178-964b-57fa0a631bb1" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_c53c468e-caf9-4fac-a26f-079cf1dcecb1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_82038271-d609-4ad2-bd50-2744247001b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_CommitmentsAndContingenciesLineItems_6e38416e-aabe-4178-964b-57fa0a631bb1" xlink:to="loc_us-gaap_LineOfCredit_82038271-d609-4ad2-bd50-2744247001b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CommitmentsAndContingenciesTable_041bddcc-9fdd-4dbc-bfa5-c7fd491f2d15" xlink:href="ameh-20230630.xsd#ameh_CommitmentsAndContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ameh_CommitmentsAndContingenciesLineItems_6e38416e-aabe-4178-964b-57fa0a631bb1" xlink:to="loc_ameh_CommitmentsAndContingenciesTable_041bddcc-9fdd-4dbc-bfa5-c7fd491f2d15" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_b5cf2c05-c0e7-4608-a64a-27e08f143ba9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_CommitmentsAndContingenciesTable_041bddcc-9fdd-4dbc-bfa5-c7fd491f2d15" xlink:to="loc_us-gaap_DebtInstrumentAxis_b5cf2c05-c0e7-4608-a64a-27e08f143ba9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_b5cf2c05-c0e7-4608-a64a-27e08f143ba9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_b5cf2c05-c0e7-4608-a64a-27e08f143ba9" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_b5cf2c05-c0e7-4608-a64a-27e08f143ba9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_f2834b3e-1621-48ad-a961-bd7845d79946" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_b5cf2c05-c0e7-4608-a64a-27e08f143ba9" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_f2834b3e-1621-48ad-a961-bd7845d79946" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AmendedCreditAgreementMember_34d3d41f-2431-43d2-869e-f2fd737de6d5" xlink:href="ameh-20230630.xsd#ameh_AmendedCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_f2834b3e-1621-48ad-a961-bd7845d79946" xlink:to="loc_ameh_AmendedCreditAgreementMember_34d3d41f-2431-43d2-869e-f2fd737de6d5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_6b25e2fa-74e5-4052-8d56-521075e4d741" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_CommitmentsAndContingenciesTable_041bddcc-9fdd-4dbc-bfa5-c7fd491f2d15" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_6b25e2fa-74e5-4052-8d56-521075e4d741" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_6b25e2fa-74e5-4052-8d56-521075e4d741_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityLenderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_6b25e2fa-74e5-4052-8d56-521075e4d741" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_6b25e2fa-74e5-4052-8d56-521075e4d741_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_a9f04c4a-f19d-4e3e-9fc5-51be74cf1967" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityLenderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_6b25e2fa-74e5-4052-8d56-521075e4d741" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_a9f04c4a-f19d-4e3e-9fc5-51be74cf1967" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_TruistBankMember_2bea873d-3ac1-4e23-ad4a-3be675f80b3d" xlink:href="ameh-20230630.xsd#ameh_TruistBankMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_a9f04c4a-f19d-4e3e-9fc5-51be74cf1967" xlink:to="loc_ameh_TruistBankMember_2bea873d-3ac1-4e23-ad4a-3be675f80b3d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_229f422f-da53-46fc-af46-a2cc9627aa5c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_CommitmentsAndContingenciesTable_041bddcc-9fdd-4dbc-bfa5-c7fd491f2d15" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_229f422f-da53-46fc-af46-a2cc9627aa5c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_229f422f-da53-46fc-af46-a2cc9627aa5c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_229f422f-da53-46fc-af46-a2cc9627aa5c" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_229f422f-da53-46fc-af46-a2cc9627aa5c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_2feb99a6-31bb-43a9-9b65-6cc5f283efb5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_229f422f-da53-46fc-af46-a2cc9627aa5c" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_2feb99a6-31bb-43a9-9b65-6cc5f283efb5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_5a85d52d-c2de-4c56-be0e-812fe2588106" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StandbyLettersOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_2feb99a6-31bb-43a9-9b65-6cc5f283efb5" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_5a85d52d-c2de-4c56-be0e-812fe2588106" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_6da6aa5a-9a46-4f6e-951a-5bf10a9ff983" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_CommitmentsAndContingenciesTable_041bddcc-9fdd-4dbc-bfa5-c7fd491f2d15" xlink:to="loc_dei_LegalEntityAxis_6da6aa5a-9a46-4f6e-951a-5bf10a9ff983" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_6da6aa5a-9a46-4f6e-951a-5bf10a9ff983_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_6da6aa5a-9a46-4f6e-951a-5bf10a9ff983" xlink:to="loc_dei_EntityDomain_6da6aa5a-9a46-4f6e-951a-5bf10a9ff983_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_45d1ad9e-1370-4bd1-ae58-29ea67217757" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_6da6aa5a-9a46-4f6e-951a-5bf10a9ff983" xlink:to="loc_dei_EntityDomain_45d1ad9e-1370-4bd1-ae58-29ea67217757" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlliedPacificOfCaliforniaIPAMember_83b5ede6-2c88-4ae0-8841-0b236d8a0410" xlink:href="ameh-20230630.xsd#ameh_AlliedPacificOfCaliforniaIPAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_45d1ad9e-1370-4bd1-ae58-29ea67217757" xlink:to="loc_ameh_AlliedPacificOfCaliforniaIPAMember_83b5ede6-2c88-4ae0-8841-0b236d8a0410" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlphaCareMedicalGroupInc.Member_e7a2661a-63c4-4703-9895-3c4d17027b91" xlink:href="ameh-20230630.xsd#ameh_AlphaCareMedicalGroupInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_45d1ad9e-1370-4bd1-ae58-29ea67217757" xlink:to="loc_ameh_AlphaCareMedicalGroupInc.Member_e7a2661a-63c4-4703-9895-3c4d17027b91" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/RelatedPartyTransactionsAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#RelatedPartyTransactionsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/RelatedPartyTransactionsAdditionalInformationDetails" xlink:type="extended" id="i2a9c0df8c453450e98b769fee50a6dac_RelatedPartyTransactionsAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_3bb0fdff-6406-4daa-bc61-a234173ab97f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_68f7b8c9-1e98-4601-9ff1-06a723752fd5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_3bb0fdff-6406-4daa-bc61-a234173ab97f" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_68f7b8c9-1e98-4601-9ff1-06a723752fd5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_bc43784b-24ae-4039-8cc1-2131336b9e03" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionAmountsOfTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_3bb0fdff-6406-4daa-bc61-a234173ab97f" xlink:to="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_bc43784b-24ae-4039-8cc1-2131336b9e03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_9ce9cf02-b9f9-4e81-9c65-778a78a46dd7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_3bb0fdff-6406-4daa-bc61-a234173ab97f" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_9ce9cf02-b9f9-4e81-9c65-778a78a46dd7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_7849dbe6-4f09-478e-a155-dcf9e209658a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_3bb0fdff-6406-4daa-bc61-a234173ab97f" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_7849dbe6-4f09-478e-a155-dcf9e209658a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCreditsAndOtherLiabilities_e77b7aff-3d1d-4625-b344-f21dc9d3771b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredCreditsAndOtherLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_3bb0fdff-6406-4daa-bc61-a234173ab97f" xlink:to="loc_us-gaap_DeferredCreditsAndOtherLiabilities_e77b7aff-3d1d-4625-b344-f21dc9d3771b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0a8b95c7-e764-49c7-b6ce-849d95829c32" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_3bb0fdff-6406-4daa-bc61-a234173ab97f" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0a8b95c7-e764-49c7-b6ce-849d95829c32" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_4b1044b0-1bda-450e-9c29-5300d89b2de8" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0a8b95c7-e764-49c7-b6ce-849d95829c32" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_4b1044b0-1bda-450e-9c29-5300d89b2de8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_4b1044b0-1bda-450e-9c29-5300d89b2de8_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_4b1044b0-1bda-450e-9c29-5300d89b2de8" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_4b1044b0-1bda-450e-9c29-5300d89b2de8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_d6417800-60fb-4350-85f9-b10627a0301d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_4b1044b0-1bda-450e-9c29-5300d89b2de8" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_d6417800-60fb-4350-85f9-b10627a0301d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LmaMember_55808dcc-00bd-4d67-8e79-7abdad3ddff6" xlink:href="ameh-20230630.xsd#ameh_LmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_d6417800-60fb-4350-85f9-b10627a0301d" xlink:to="loc_ameh_LmaMember_55808dcc-00bd-4d67-8e79-7abdad3ddff6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PmiocMember_7d8f0cbd-1143-417f-9831-0c06b39a7126" xlink:href="ameh-20230630.xsd#ameh_PmiocMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_d6417800-60fb-4350-85f9-b10627a0301d" xlink:to="loc_ameh_PmiocMember_7d8f0cbd-1143-417f-9831-0c06b39a7126" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_OneMSOInc.Member_e420845d-885d-4852-858c-58579e2f324e" xlink:href="ameh-20230630.xsd#ameh_OneMSOInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_d6417800-60fb-4350-85f9-b10627a0301d" xlink:to="loc_ameh_OneMSOInc.Member_e420845d-885d-4852-858c-58579e2f324e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_79da9f35-5066-405a-a02f-306664922e9d" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0a8b95c7-e764-49c7-b6ce-849d95829c32" xlink:to="loc_dei_LegalEntityAxis_79da9f35-5066-405a-a02f-306664922e9d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_79da9f35-5066-405a-a02f-306664922e9d_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_79da9f35-5066-405a-a02f-306664922e9d" xlink:to="loc_dei_EntityDomain_79da9f35-5066-405a-a02f-306664922e9d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_ac77f567-9510-4b93-995e-b98de9b7a882" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_79da9f35-5066-405a-a02f-306664922e9d" xlink:to="loc_dei_EntityDomain_ac77f567-9510-4b93-995e-b98de9b7a882" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NetworkMedicalManagementMember_765ca09e-6b57-4efd-af43-74eb35e071bc" xlink:href="ameh-20230630.xsd#ameh_NetworkMedicalManagementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_ac77f567-9510-4b93-995e-b98de9b7a882" xlink:to="loc_ameh_NetworkMedicalManagementMember_765ca09e-6b57-4efd-af43-74eb35e071bc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlliedPacificOfCaliforniaIPAMember_eede976b-6bca-4079-9450-1cacf0e9ffaf" xlink:href="ameh-20230630.xsd#ameh_AlliedPacificOfCaliforniaIPAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_ac77f567-9510-4b93-995e-b98de9b7a882" xlink:to="loc_ameh_AlliedPacificOfCaliforniaIPAMember_eede976b-6bca-4079-9450-1cacf0e9ffaf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MedicalPropertyPartnersLLCMember_fcb9df15-691a-40f5-84cc-ac62d167a679" xlink:href="ameh-20230630.xsd#ameh_MedicalPropertyPartnersLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_ac77f567-9510-4b93-995e-b98de9b7a882" xlink:to="loc_ameh_MedicalPropertyPartnersLLCMember_fcb9df15-691a-40f5-84cc-ac62d167a679" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_Tag6MedicalInvestmentGroupLLCMember_09f5876e-b92e-48d4-b9b7-9c74cee2ff0d" xlink:href="ameh-20230630.xsd#ameh_Tag6MedicalInvestmentGroupLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_ac77f567-9510-4b93-995e-b98de9b7a882" xlink:to="loc_ameh_Tag6MedicalInvestmentGroupLLCMember_09f5876e-b92e-48d4-b9b7-9c74cee2ff0d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_f4faf2a0-4c05-4ece-a70c-18eb758b1fd1" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0a8b95c7-e764-49c7-b6ce-849d95829c32" xlink:to="loc_srt_CounterpartyNameAxis_f4faf2a0-4c05-4ece-a70c-18eb758b1fd1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_f4faf2a0-4c05-4ece-a70c-18eb758b1fd1_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_f4faf2a0-4c05-4ece-a70c-18eb758b1fd1" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_f4faf2a0-4c05-4ece-a70c-18eb758b1fd1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_f4faf2a0-4c05-4ece-a70c-18eb758b1fd1" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LmaMember_7e68240a-1802-46d6-b9af-112276894e82" xlink:href="ameh-20230630.xsd#ameh_LmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_LmaMember_7e68240a-1802-46d6-b9af-112276894e82" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ArroyoVistaMember_4145ff77-ef4f-42d3-b48e-dbdc14a72da4" xlink:href="ameh-20230630.xsd#ameh_ArroyoVistaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_ArroyoVistaMember_4145ff77-ef4f-42d3-b48e-dbdc14a72da4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PmiocMember_b41df9d3-5948-4fbd-a8a0-d6b0b288c1c1" xlink:href="ameh-20230630.xsd#ameh_PmiocMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_PmiocMember_b41df9d3-5948-4fbd-a8a0-d6b0b288c1c1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_SongPCMember_9d1380a2-6c8c-4b3c-a28c-314ce580da84" xlink:href="ameh-20230630.xsd#ameh_SongPCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_SongPCMember_9d1380a2-6c8c-4b3c-a28c-314ce580da84" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AdvanceDiagnosticSurgeryCenterMember_a1a3331c-d780-4f55-8c53-e9271c9517fd" xlink:href="ameh-20230630.xsd#ameh_AdvanceDiagnosticSurgeryCenterMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_AdvanceDiagnosticSurgeryCenterMember_a1a3331c-d780-4f55-8c53-e9271c9517fd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DiagnosticAndSurgicalCenterMember_7ef7d02d-8262-4239-9502-e8a01950135d" xlink:href="ameh-20230630.xsd#ameh_DiagnosticAndSurgicalCenterMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_DiagnosticAndSurgicalCenterMember_7ef7d02d-8262-4239-9502-e8a01950135d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_FulgentGeneticsIncMember_5a6fc228-4436-45bf-b72c-9fd0e4781fe5" xlink:href="ameh-20230630.xsd#ameh_FulgentGeneticsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_FulgentGeneticsIncMember_5a6fc228-4436-45bf-b72c-9fd0e4781fe5" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_SunnyVillageCareCenterMember_2b724a30-4d01-4d5a-b3c5-b8d27750deab" xlink:href="ameh-20230630.xsd#ameh_SunnyVillageCareCenterMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_SunnyVillageCareCenterMember_2b724a30-4d01-4d5a-b3c5-b8d27750deab" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_OneMSOInc.Member_15be8fc6-fdf8-46a3-b7c5-7720c2b41686" xlink:href="ameh-20230630.xsd#ameh_OneMSOInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_OneMSOInc.Member_15be8fc6-fdf8-46a3-b7c5-7720c2b41686" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AHMCMember_4289e6c1-7b9a-4a29-948b-70b11b41e030" xlink:href="ameh-20230630.xsd#ameh_AHMCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_AHMCMember_4289e6c1-7b9a-4a29-948b-70b11b41e030" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApcShareholdersMember_fce56aa9-ee9c-4d90-92d7-955c5e2ab2b7" xlink:href="ameh-20230630.xsd#ameh_ApcShareholdersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_ApcShareholdersMember_fce56aa9-ee9c-4d90-92d7-955c5e2ab2b7" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ShareholdersAndOfficersMember_766b86ce-52c5-4289-97df-087eb0be7ff7" xlink:href="ameh-20230630.xsd#ameh_ShareholdersAndOfficersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_ShareholdersAndOfficersMember_766b86ce-52c5-4289-97df-087eb0be7ff7" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BoardMembersMember_9afbcbe8-8355-45c5-8e61-e2e20a19a4a5" xlink:href="ameh-20230630.xsd#ameh_BoardMembersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_BoardMembersMember_9afbcbe8-8355-45c5-8e61-e2e20a19a4a5" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BoardMembersWhoAreAlsoOfficersMember_5ebbca75-c4ff-41c9-915e-09fe56ea906e" xlink:href="ameh-20230630.xsd#ameh_BoardMembersWhoAreAlsoOfficersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_59807cfb-a16b-4fe9-b148-20f3de9a2afb" xlink:to="loc_ameh_BoardMembersWhoAreAlsoOfficersMember_5ebbca75-c4ff-41c9-915e-09fe56ea906e" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_ec63a175-878c-4a50-85bc-3136cb6a1a61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0a8b95c7-e764-49c7-b6ce-849d95829c32" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_ec63a175-878c-4a50-85bc-3136cb6a1a61" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_ec63a175-878c-4a50-85bc-3136cb6a1a61_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_ec63a175-878c-4a50-85bc-3136cb6a1a61" xlink:to="loc_us-gaap_RelatedPartyDomain_ec63a175-878c-4a50-85bc-3136cb6a1a61_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_4aa7f79e-dc57-451f-a003-e11351c798da" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_ec63a175-878c-4a50-85bc-3136cb6a1a61" xlink:to="loc_us-gaap_RelatedPartyDomain_4aa7f79e-dc57-451f-a003-e11351c798da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_ae095fef-d773-4695-8233-7a8c85c6944e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_4aa7f79e-dc57-451f-a003-e11351c798da" xlink:to="loc_us-gaap_RelatedPartyMember_ae095fef-d773-4695-8233-7a8c85c6944e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_DirectorMember_7a429323-0cbd-4978-b8ce-9ae7af4a856a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_DirectorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_4aa7f79e-dc57-451f-a003-e11351c798da" xlink:to="loc_srt_DirectorMember_7a429323-0cbd-4978-b8ce-9ae7af4a856a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_0c06aa00-9b31-47bb-8571-4e8379fa552a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0a8b95c7-e764-49c7-b6ce-849d95829c32" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_0c06aa00-9b31-47bb-8571-4e8379fa552a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_0c06aa00-9b31-47bb-8571-4e8379fa552a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_0c06aa00-9b31-47bb-8571-4e8379fa552a" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_0c06aa00-9b31-47bb-8571-4e8379fa552a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_70a9f81f-a44f-4510-8963-53772d3cd774" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_0c06aa00-9b31-47bb-8571-4e8379fa552a" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_70a9f81f-a44f-4510-8963-53772d3cd774" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ProviderServicesMember_476ef76c-0ad4-4847-ad95-926b0371f745" xlink:href="ameh-20230630.xsd#ameh_ProviderServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_70a9f81f-a44f-4510-8963-53772d3cd774" xlink:to="loc_ameh_ProviderServicesMember_476ef76c-0ad4-4847-ad95-926b0371f745" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_RentPaymentMember_26c01fef-6af0-48af-a8dd-fe927bd6f64a" xlink:href="ameh-20230630.xsd#ameh_RentPaymentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_70a9f81f-a44f-4510-8963-53772d3cd774" xlink:to="loc_ameh_RentPaymentMember_26c01fef-6af0-48af-a8dd-fe927bd6f64a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_OfficeLeaseMember_7ecbba6c-e1fb-45da-8d68-a5ffe8ef435c" xlink:href="ameh-20230630.xsd#ameh_OfficeLeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_70a9f81f-a44f-4510-8963-53772d3cd774" xlink:to="loc_ameh_OfficeLeaseMember_7ecbba6c-e1fb-45da-8d68-a5ffe8ef435c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_2c53ce8b-4c30-4849-a090-51c95044196a" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_0a8b95c7-e764-49c7-b6ce-849d95829c32" xlink:to="loc_srt_ProductOrServiceAxis_2c53ce8b-4c30-4849-a090-51c95044196a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_2c53ce8b-4c30-4849-a090-51c95044196a_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_2c53ce8b-4c30-4849-a090-51c95044196a" xlink:to="loc_srt_ProductsAndServicesDomain_2c53ce8b-4c30-4849-a090-51c95044196a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_74cf46a9-c9c2-405a-9d79-dc3b02e20254" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_2c53ce8b-4c30-4849-a090-51c95044196a" xlink:to="loc_srt_ProductsAndServicesDomain_74cf46a9-c9c2-405a-9d79-dc3b02e20254" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HealthCareOtherMember_361eed09-819f-4b00-96d5-a439fd606c1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HealthCareOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_74cf46a9-c9c2-405a-9d79-dc3b02e20254" xlink:to="loc_us-gaap_HealthCareOtherMember_361eed09-819f-4b00-96d5-a439fd606c1b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/RelatedPartyTransactionsScheduleofFeesIncurredandRevenueEarnedfromRelatedPartyTransactionsDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#RelatedPartyTransactionsScheduleofFeesIncurredandRevenueEarnedfromRelatedPartyTransactionsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/RelatedPartyTransactionsScheduleofFeesIncurredandRevenueEarnedfromRelatedPartyTransactionsDetails" xlink:type="extended" id="i8b79e0d7fce54bbdac1f00221cda5414_RelatedPartyTransactionsScheduleofFeesIncurredandRevenueEarnedfromRelatedPartyTransactionsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_ff457a1f-01df-44ec-a282-f080558fa4b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_cac6d59a-6bb9-4966-a102-b6e11de45e71" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionAmountsOfTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ff457a1f-01df-44ec-a282-f080558fa4b6" xlink:to="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_cac6d59a-6bb9-4966-a102-b6e11de45e71" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_eae26146-b822-4511-b8b8-62ef8e915973" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ff457a1f-01df-44ec-a282-f080558fa4b6" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_eae26146-b822-4511-b8b8-62ef8e915973" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_172cd485-8765-466d-8cc6-e210394e0791" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_eae26146-b822-4511-b8b8-62ef8e915973" xlink:to="loc_srt_CounterpartyNameAxis_172cd485-8765-466d-8cc6-e210394e0791" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_172cd485-8765-466d-8cc6-e210394e0791_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_172cd485-8765-466d-8cc6-e210394e0791" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_172cd485-8765-466d-8cc6-e210394e0791_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_8bfefb82-7c7b-4385-9913-11806ca25ea1" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_172cd485-8765-466d-8cc6-e210394e0791" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_8bfefb82-7c7b-4385-9913-11806ca25ea1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AHMCMember_86c0c943-a251-4094-9ade-50a884d10aa9" xlink:href="ameh-20230630.xsd#ameh_AHMCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_8bfefb82-7c7b-4385-9913-11806ca25ea1" xlink:to="loc_ameh_AHMCMember_86c0c943-a251-4094-9ade-50a884d10aa9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_HSMSOMember_2c0d1e48-8dcb-4047-ada1-64ebd47c82da" xlink:href="ameh-20230630.xsd#ameh_HSMSOMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_8bfefb82-7c7b-4385-9913-11806ca25ea1" xlink:to="loc_ameh_HSMSOMember_2c0d1e48-8dcb-4047-ada1-64ebd47c82da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AurionMember_47e8c561-fa6c-4a4b-b220-016ec83dc780" xlink:href="ameh-20230630.xsd#ameh_AurionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_8bfefb82-7c7b-4385-9913-11806ca25ea1" xlink:to="loc_ameh_AurionMember_47e8c561-fa6c-4a4b-b220-016ec83dc780" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_05d4c42c-e098-486a-b07f-b2fdf4228676" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_eae26146-b822-4511-b8b8-62ef8e915973" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_05d4c42c-e098-486a-b07f-b2fdf4228676" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_05d4c42c-e098-486a-b07f-b2fdf4228676_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_05d4c42c-e098-486a-b07f-b2fdf4228676" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_05d4c42c-e098-486a-b07f-b2fdf4228676_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_a52a8a77-7b90-44f9-a5be-4859fb19e76e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_05d4c42c-e098-486a-b07f-b2fdf4228676" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_a52a8a77-7b90-44f9-a5be-4859fb19e76e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_FeesIncurredAndIncomeRecognizedMember_d2b150ef-a561-4191-a658-ad9e802515a8" xlink:href="ameh-20230630.xsd#ameh_FeesIncurredAndIncomeRecognizedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_a52a8a77-7b90-44f9-a5be-4859fb19e76e" xlink:to="loc_ameh_FeesIncurredAndIncomeRecognizedMember_d2b150ef-a561-4191-a658-ad9e802515a8" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/EarningsPerShareAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#EarningsPerShareAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/EarningsPerShareAdditionalInformationDetails" xlink:type="extended" id="i65744075ca344b1da0343db359a11481_EarningsPerShareAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EarningsPerShareLineItems_5bff2b21-5c75-4b95-afb5-44806944a170" xlink:href="ameh-20230630.xsd#ameh_EarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_42ae35e4-144e-4348-bc3b-2fd92638b88d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EarningsPerShareLineItems_5bff2b21-5c75-4b95-afb5-44806944a170" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_42ae35e4-144e-4348-bc3b-2fd92638b88d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EarningsPerShareTable_71a83c09-05a3-4c9c-96c6-9e645068cfb4" xlink:href="ameh-20230630.xsd#ameh_EarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ameh_EarningsPerShareLineItems_5bff2b21-5c75-4b95-afb5-44806944a170" xlink:to="loc_ameh_EarningsPerShareTable_71a83c09-05a3-4c9c-96c6-9e645068cfb4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_8cf42cf1-c3e4-48cb-ad7f-ce929762fb0d" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_EarningsPerShareTable_71a83c09-05a3-4c9c-96c6-9e645068cfb4" xlink:to="loc_dei_LegalEntityAxis_8cf42cf1-c3e4-48cb-ad7f-ce929762fb0d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_8cf42cf1-c3e4-48cb-ad7f-ce929762fb0d_default" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_8cf42cf1-c3e4-48cb-ad7f-ce929762fb0d" xlink:to="loc_dei_EntityDomain_8cf42cf1-c3e4-48cb-ad7f-ce929762fb0d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_8a179663-0c95-46f0-bace-dcde26cfc986" xlink:href="https://xbrl.sec.gov/dei/2023/dei-2023.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_8cf42cf1-c3e4-48cb-ad7f-ce929762fb0d" xlink:to="loc_dei_EntityDomain_8a179663-0c95-46f0-bace-dcde26cfc986" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlliedPacificOfCaliforniaIPAMember_19369892-0f89-46d9-ad1c-889f63658a8d" xlink:href="ameh-20230630.xsd#ameh_AlliedPacificOfCaliforniaIPAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_8a179663-0c95-46f0-bace-dcde26cfc986" xlink:to="loc_ameh_AlliedPacificOfCaliforniaIPAMember_19369892-0f89-46d9-ad1c-889f63658a8d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_d5b2fadf-7eda-4e4e-bfed-27a37c1c466d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_EarningsPerShareTable_71a83c09-05a3-4c9c-96c6-9e645068cfb4" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_d5b2fadf-7eda-4e4e-bfed-27a37c1c466d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_d5b2fadf-7eda-4e4e-bfed-27a37c1c466d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_d5b2fadf-7eda-4e4e-bfed-27a37c1c466d" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_d5b2fadf-7eda-4e4e-bfed-27a37c1c466d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_36703dca-3edd-4f76-9043-e031486f102b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_d5b2fadf-7eda-4e4e-bfed-27a37c1c466d" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_36703dca-3edd-4f76-9043-e031486f102b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_92d3b811-7378-45e0-8875-072e16b8802f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_36703dca-3edd-4f76-9043-e031486f102b" xlink:to="loc_us-gaap_RestrictedStockMember_92d3b811-7378-45e0-8875-072e16b8802f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_1dbc044d-3d67-4613-8d96-6fdea482e549" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_36703dca-3edd-4f76-9043-e031486f102b" xlink:to="loc_us-gaap_PerformanceSharesMember_1dbc044d-3d67-4613-8d96-6fdea482e549" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/EarningsPerShareScheduleofSharesIncludedintheDilutedEarningsPerShareComputationsDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#EarningsPerShareScheduleofSharesIncludedintheDilutedEarningsPerShareComputationsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/EarningsPerShareScheduleofSharesIncludedintheDilutedEarningsPerShareComputationsDetails" xlink:type="extended" id="i9b034cbf00db4cbeabb3f7633883ba0d_EarningsPerShareScheduleofSharesIncludedintheDilutedEarningsPerShareComputationsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EarningsPerShareLineItems_4408ca33-5865-456c-9c70-81b957dde2a0" xlink:href="ameh-20230630.xsd#ameh_EarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_5d9fdb29-da76-4dff-97e3-05420e525ee1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EarningsPerShareLineItems_4408ca33-5865-456c-9c70-81b957dde2a0" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_5d9fdb29-da76-4dff-97e3-05420e525ee1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_c5b07874-e269-4db0-9dd9-2c47190da068" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EarningsPerShareLineItems_4408ca33-5865-456c-9c70-81b957dde2a0" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_c5b07874-e269-4db0-9dd9-2c47190da068" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToContingentlyIssuableShares_3e19b169-4a6b-4028-8c85-082cf7070d57" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToContingentlyIssuableShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EarningsPerShareLineItems_4408ca33-5865-456c-9c70-81b957dde2a0" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToContingentlyIssuableShares_3e19b169-4a6b-4028-8c85-082cf7070d57" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_d4fdc736-d841-4694-9b2f-0c462f4823cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EarningsPerShareLineItems_4408ca33-5865-456c-9c70-81b957dde2a0" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_d4fdc736-d841-4694-9b2f-0c462f4823cf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EarningsPerShareTable_0257994d-f49b-493b-b861-7657691d62c8" xlink:href="ameh-20230630.xsd#ameh_EarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ameh_EarningsPerShareLineItems_4408ca33-5865-456c-9c70-81b957dde2a0" xlink:to="loc_ameh_EarningsPerShareTable_0257994d-f49b-493b-b861-7657691d62c8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_731b2c25-14c4-4a76-957f-326f603f97dc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_EarningsPerShareTable_0257994d-f49b-493b-b861-7657691d62c8" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_731b2c25-14c4-4a76-957f-326f603f97dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_731b2c25-14c4-4a76-957f-326f603f97dc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_731b2c25-14c4-4a76-957f-326f603f97dc" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_731b2c25-14c4-4a76-957f-326f603f97dc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_154f9ee7-7aab-411b-beeb-ccb147ebfffe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_731b2c25-14c4-4a76-957f-326f603f97dc" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_154f9ee7-7aab-411b-beeb-ccb147ebfffe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_b178cbb0-dc6e-41e7-b6d5-03933334a6b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_154f9ee7-7aab-411b-beeb-ccb147ebfffe" xlink:to="loc_us-gaap_EmployeeStockOptionMember_b178cbb0-dc6e-41e7-b6d5-03933334a6b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_7c7c4a9c-0ca2-4c4d-a9fa-ac56ed2ce1be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_154f9ee7-7aab-411b-beeb-ccb147ebfffe" xlink:to="loc_us-gaap_RestrictedStockMember_7c7c4a9c-0ca2-4c4d-a9fa-ac56ed2ce1be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_c7dfea90-e8aa-4045-9b83-2662267b8234" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ameh_EarningsPerShareTable_0257994d-f49b-493b-b861-7657691d62c8" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_c7dfea90-e8aa-4045-9b83-2662267b8234" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_c7dfea90-e8aa-4045-9b83-2662267b8234_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_c7dfea90-e8aa-4045-9b83-2662267b8234" xlink:to="loc_us-gaap_EquityComponentDomain_c7dfea90-e8aa-4045-9b83-2662267b8234_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_16d08a5f-8d6d-4652-86af-4ba0cc620bfd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_c7dfea90-e8aa-4045-9b83-2662267b8234" xlink:to="loc_us-gaap_EquityComponentDomain_16d08a5f-8d6d-4652-86af-4ba0cc620bfd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_4980ba98-3dad-4e62-b8a3-3727050b8cd5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_16d08a5f-8d6d-4652-86af-4ba0cc620bfd" xlink:to="loc_us-gaap_WarrantMember_4980ba98-3dad-4e62-b8a3-3727050b8cd5" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/VariableInterestEntitiesVIEsDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#VariableInterestEntitiesVIEsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/VariableInterestEntitiesVIEsDetails" xlink:type="extended" id="if81a44a9fe1440cda3bc16a7ffae97ed_VariableInterestEntitiesVIEsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_d9cfca96-817f-498c-beef-afa46a6bb39d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_e4fad303-ca16-4f1e-8e5f-24787527de85" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_d9cfca96-817f-498c-beef-afa46a6bb39d" xlink:to="loc_us-gaap_AssetsAbstract_e4fad303-ca16-4f1e-8e5f-24787527de85" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_457ad5df-04fc-41f8-97b3-f457705a715a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_e4fad303-ca16-4f1e-8e5f-24787527de85" xlink:to="loc_us-gaap_AssetsCurrentAbstract_457ad5df-04fc-41f8-97b3-f457705a715a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_52d4d46b-960f-4210-8402-756600f26525" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_457ad5df-04fc-41f8-97b3-f457705a715a" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_52d4d46b-960f-4210-8402-756600f26525" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_6f4c05dd-e9e9-4ad6-8c34-89238c0bdbaa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_457ad5df-04fc-41f8-97b3-f457705a715a" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_6f4c05dd-e9e9-4ad6-8c34-89238c0bdbaa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_edd6bccf-cf50-4d16-8ecf-33fe176d87a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_457ad5df-04fc-41f8-97b3-f457705a715a" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_edd6bccf-cf50-4d16-8ecf-33fe176d87a1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesReceivable_48b97611-76e3-493e-be8b-b03e68bcd240" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxesReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_457ad5df-04fc-41f8-97b3-f457705a715a" xlink:to="loc_us-gaap_IncomeTaxesReceivable_48b97611-76e3-493e-be8b-b03e68bcd240" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_3a9134f2-9705-4b76-97b8-e1fa13a10b48" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherReceivablesNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_457ad5df-04fc-41f8-97b3-f457705a715a" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_3a9134f2-9705-4b76-97b8-e1fa13a10b48" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_570a0844-c568-48bf-98e9-724b0b100838" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_457ad5df-04fc-41f8-97b3-f457705a715a" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_570a0844-c568-48bf-98e9-724b0b100838" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesAndLoansReceivableNetCurrent_c2023582-ce19-4689-b0de-9bc6303fcd53" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesAndLoansReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_457ad5df-04fc-41f8-97b3-f457705a715a" xlink:to="loc_us-gaap_NotesAndLoansReceivableNetCurrent_c2023582-ce19-4689-b0de-9bc6303fcd53" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_85c37102-b7dd-422c-8279-b91b5b1ae4c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_457ad5df-04fc-41f8-97b3-f457705a715a" xlink:to="loc_us-gaap_OtherAssetsCurrent_85c37102-b7dd-422c-8279-b91b5b1ae4c9" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_43292dfb-e00d-4531-b49d-8ab10abf7988" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_457ad5df-04fc-41f8-97b3-f457705a715a" xlink:to="loc_us-gaap_AssetsCurrent_43292dfb-e00d-4531-b49d-8ab10abf7988" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_7ac5471c-d459-408b-894b-382b46d0ed32" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsNoncurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_e4fad303-ca16-4f1e-8e5f-24787527de85" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_7ac5471c-d459-408b-894b-382b46d0ed32" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_6036957f-29f6-4086-89a2-3129241fd716" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_7ac5471c-d459-408b-894b-382b46d0ed32" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_6036957f-29f6-4086-89a2-3129241fd716" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_3a1c3e86-2e49-496b-a102-812c99cd4a73" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_7ac5471c-d459-408b-894b-382b46d0ed32" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_3a1c3e86-2e49-496b-a102-812c99cd4a73" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_e91abaed-aeb1-4d76-a4dc-63a3b7a537e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_7ac5471c-d459-408b-894b-382b46d0ed32" xlink:to="loc_us-gaap_Goodwill_e91abaed-aeb1-4d76-a4dc-63a3b7a537e3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesReceivableNoncurrent_854d5e80-c1c6-4227-a7c2-fb8e15060ca4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeTaxesReceivableNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_7ac5471c-d459-408b-894b-382b46d0ed32" xlink:to="loc_us-gaap_IncomeTaxesReceivableNoncurrent_854d5e80-c1c6-4227-a7c2-fb8e15060ca4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermInvestments_5c127c8b-afc3-4b5b-b00b-0446ec2afa53" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLongTermInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_7ac5471c-d459-408b-894b-382b46d0ed32" xlink:to="loc_us-gaap_OtherLongTermInvestments_5c127c8b-afc3-4b5b-b00b-0446ec2afa53" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_ca2e2e9d-d645-4ac4-a9c1-adf27019c66d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_7ac5471c-d459-408b-894b-382b46d0ed32" xlink:to="loc_us-gaap_EquityMethodInvestments_ca2e2e9d-d645-4ac4-a9c1-adf27019c66d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue_8f642586-7372-4735-a3b9-607bb96faef5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_7ac5471c-d459-408b-894b-382b46d0ed32" xlink:to="loc_us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue_8f642586-7372-4735-a3b9-607bb96faef5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_def8d5de-39d2-416d-9e44-163ec310d764" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_7ac5471c-d459-408b-894b-382b46d0ed32" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_def8d5de-39d2-416d-9e44-163ec310d764" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_2b747099-960c-452c-b18b-9cf4659c6fe1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_7ac5471c-d459-408b-894b-382b46d0ed32" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_2b747099-960c-452c-b18b-9cf4659c6fe1" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrent_07af3e20-c15a-4cbd-9eb2-da4788a42fbf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_7ac5471c-d459-408b-894b-382b46d0ed32" xlink:to="loc_us-gaap_AssetsNoncurrent_07af3e20-c15a-4cbd-9eb2-da4788a42fbf" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_8c988e5d-71b4-44b8-899b-f657f1203dcd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_e4fad303-ca16-4f1e-8e5f-24787527de85" xlink:to="loc_us-gaap_Assets_8c988e5d-71b4-44b8-899b-f657f1203dcd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_2d0f5f78-e5cd-4f83-81d7-603848121d00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_d9cfca96-817f-498c-beef-afa46a6bb39d" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_2d0f5f78-e5cd-4f83-81d7-603848121d00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_57ee0046-b8eb-4e3d-b5f8-eaaab7778f03" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2d0f5f78-e5cd-4f83-81d7-603848121d00" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_57ee0046-b8eb-4e3d-b5f8-eaaab7778f03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_FiduciaryAccountsPayableCurrent_bef3719d-074c-4238-86d8-f57b97d987b8" xlink:href="ameh-20230630.xsd#ameh_FiduciaryAccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2d0f5f78-e5cd-4f83-81d7-603848121d00" xlink:to="loc_ameh_FiduciaryAccountsPayableCurrent_bef3719d-074c-4238-86d8-f57b97d987b8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_1607a69b-51e3-44c6-b5f7-e8c38ff2515a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2d0f5f78-e5cd-4f83-81d7-603848121d00" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_1607a69b-51e3-44c6-b5f7-e8c38ff2515a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_69a72089-c826-44f7-a802-3d4cda6ac2ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TaxesPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2d0f5f78-e5cd-4f83-81d7-603848121d00" xlink:to="loc_us-gaap_TaxesPayableCurrent_69a72089-c826-44f7-a802-3d4cda6ac2ff" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_0d8d63e3-56b9-45ba-a3fc-ad8e79d362f0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2d0f5f78-e5cd-4f83-81d7-603848121d00" xlink:to="loc_us-gaap_DividendsPayableCurrent_0d8d63e3-56b9-45ba-a3fc-ad8e79d362f0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_550577cb-f039-4254-8b1a-5fd01de3c765" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2d0f5f78-e5cd-4f83-81d7-603848121d00" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_550577cb-f039-4254-8b1a-5fd01de3c765" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_24ddcaa1-f9a0-4817-a919-6d4e6ba93c09" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2d0f5f78-e5cd-4f83-81d7-603848121d00" xlink:to="loc_us-gaap_LongTermDebtCurrent_24ddcaa1-f9a0-4817-a919-6d4e6ba93c09" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_76ca59cd-439e-46dd-aac6-a9dc5d3cf7af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2d0f5f78-e5cd-4f83-81d7-603848121d00" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_76ca59cd-439e-46dd-aac6-a9dc5d3cf7af" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_5907e610-291a-4ae2-9a28-5a53d7c34377" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2d0f5f78-e5cd-4f83-81d7-603848121d00" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_5907e610-291a-4ae2-9a28-5a53d7c34377" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_2ebf1828-b972-4923-bb96-8e6cea12d8e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_2d0f5f78-e5cd-4f83-81d7-603848121d00" xlink:to="loc_us-gaap_LiabilitiesCurrent_2ebf1828-b972-4923-bb96-8e6cea12d8e1" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_67ca97f8-752c-414a-ba60-466d33273b56" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesNoncurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_d9cfca96-817f-498c-beef-afa46a6bb39d" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_67ca97f8-752c-414a-ba60-466d33273b56" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_58832e5f-06fb-40c1-996c-bc961da055c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_67ca97f8-752c-414a-ba60-466d33273b56" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_58832e5f-06fb-40c1-996c-bc961da055c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_17396cf0-3e6f-413c-81d4-cd12332a7724" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_67ca97f8-752c-414a-ba60-466d33273b56" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_17396cf0-3e6f-413c-81d4-cd12332a7724" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_db710b42-d8e7-4930-a31e-df14aa9c94c4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_67ca97f8-752c-414a-ba60-466d33273b56" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_db710b42-d8e7-4930-a31e-df14aa9c94c4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_1946482f-809b-4377-aeac-dd0ef83c7e2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_67ca97f8-752c-414a-ba60-466d33273b56" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_1946482f-809b-4377-aeac-dd0ef83c7e2d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_2dee748a-b6ce-41b1-a49e-a716ddabdaf9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_67ca97f8-752c-414a-ba60-466d33273b56" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_2dee748a-b6ce-41b1-a49e-a716ddabdaf9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_0bae284f-ca3d-41f7-bf60-419a61df6e95" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_67ca97f8-752c-414a-ba60-466d33273b56" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_0bae284f-ca3d-41f7-bf60-419a61df6e95" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_01f278b0-6ba1-4cdd-8f3b-e255cfa7a3b8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_d9cfca96-817f-498c-beef-afa46a6bb39d" xlink:to="loc_us-gaap_Liabilities_01f278b0-6ba1-4cdd-8f3b-e255cfa7a3b8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_b2a72e7b-9be9-4ee3-8b0a-be524fc0798f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_d9cfca96-817f-498c-beef-afa46a6bb39d" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_b2a72e7b-9be9-4ee3-8b0a-be524fc0798f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_bf3628c4-0bec-4c13-9f0b-21afe278aa48" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_b2a72e7b-9be9-4ee3-8b0a-be524fc0798f" xlink:to="loc_srt_ConsolidatedEntitiesAxis_bf3628c4-0bec-4c13-9f0b-21afe278aa48" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_bf3628c4-0bec-4c13-9f0b-21afe278aa48_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_bf3628c4-0bec-4c13-9f0b-21afe278aa48" xlink:to="loc_srt_ConsolidatedEntitiesDomain_bf3628c4-0bec-4c13-9f0b-21afe278aa48_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_1d7c3044-ba39-44c8-bd44-e098d3c77d8b" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_bf3628c4-0bec-4c13-9f0b-21afe278aa48" xlink:to="loc_srt_ConsolidatedEntitiesDomain_1d7c3044-ba39-44c8-bd44-e098d3c77d8b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_6c88bd49-4f6e-48ed-abd0-cc596afebcaf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_1d7c3044-ba39-44c8-bd44-e098d3c77d8b" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_6c88bd49-4f6e-48ed-abd0-cc596afebcaf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_722c0024-9a6c-4f07-8cbd-f8c31bd862ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_b2a72e7b-9be9-4ee3-8b0a-be524fc0798f" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_722c0024-9a6c-4f07-8cbd-f8c31bd862ff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_722c0024-9a6c-4f07-8cbd-f8c31bd862ff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_722c0024-9a6c-4f07-8cbd-f8c31bd862ff" xlink:to="loc_us-gaap_RelatedPartyDomain_722c0024-9a6c-4f07-8cbd-f8c31bd862ff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_49b30f87-c83d-4a2f-8634-6835923bce1e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_722c0024-9a6c-4f07-8cbd-f8c31bd862ff" xlink:to="loc_us-gaap_RelatedPartyDomain_49b30f87-c83d-4a2f-8634-6835923bce1e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonrelatedPartyMember_14e969d6-0c1a-4819-bbe5-86680dabce7f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonrelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_49b30f87-c83d-4a2f-8634-6835923bce1e" xlink:to="loc_us-gaap_NonrelatedPartyMember_14e969d6-0c1a-4819-bbe5-86680dabce7f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_395d4e9b-26e6-43b9-91ec-b121daf0c5b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_49b30f87-c83d-4a2f-8634-6835923bce1e" xlink:to="loc_us-gaap_RelatedPartyMember_395d4e9b-26e6-43b9-91ec-b121daf0c5b1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/LeasesAdditionalinformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#LeasesAdditionalinformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/LeasesAdditionalinformationDetails" xlink:type="extended" id="i3d619640cd5f43eca40514748ba7aa60_LeasesAdditionalinformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_32238da0-af98-4b4b-9945-55594cd626a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_1edf5fab-601f-4e63-978d-85876354d8ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseRemainingLeaseTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_32238da0-af98-4b4b-9945-55594cd626a6" xlink:to="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_1edf5fab-601f-4e63-978d-85876354d8ce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeFinanceLeaseRemainingLeaseTerm_d54d794b-1c8b-4515-84cc-243acd2d5ccb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeFinanceLeaseRemainingLeaseTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_32238da0-af98-4b4b-9945-55594cd626a6" xlink:to="loc_us-gaap_LesseeFinanceLeaseRemainingLeaseTerm_d54d794b-1c8b-4515-84cc-243acd2d5ccb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_6e5fd436-8da2-48c1-8c8f-cb25e8c1fa4b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseRenewalTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_32238da0-af98-4b4b-9945-55594cd626a6" xlink:to="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_6e5fd436-8da2-48c1-8c8f-cb25e8c1fa4b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeFinanceLeaseRenewalTerm1_e19eea8a-595a-442c-8ec8-2732f76b8d73" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeFinanceLeaseRenewalTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_32238da0-af98-4b4b-9945-55594cd626a6" xlink:to="loc_us-gaap_LesseeFinanceLeaseRenewalTerm1_e19eea8a-595a-442c-8ec8-2732f76b8d73" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LesseeOperatingLeaseTerminationPeriodIfApplicable_756c5d4f-7a82-4c04-ad95-c97b3edd2c37" xlink:href="ameh-20230630.xsd#ameh_LesseeOperatingLeaseTerminationPeriodIfApplicable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_32238da0-af98-4b4b-9945-55594cd626a6" xlink:to="loc_ameh_LesseeOperatingLeaseTerminationPeriodIfApplicable_756c5d4f-7a82-4c04-ad95-c97b3edd2c37" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LesseeFinanceLeaseTerminationPeriodIfApplicable_4fc9b1e2-9152-4e41-b73e-f53e1de7ae74" xlink:href="ameh-20230630.xsd#ameh_LesseeFinanceLeaseTerminationPeriodIfApplicable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_32238da0-af98-4b4b-9945-55594cd626a6" xlink:to="loc_ameh_LesseeFinanceLeaseTerminationPeriodIfApplicable_4fc9b1e2-9152-4e41-b73e-f53e1de7ae74" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_779e728b-6734-44a9-8071-bd8b174a726e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_32238da0-af98-4b4b-9945-55594cd626a6" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_779e728b-6734-44a9-8071-bd8b174a726e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAccumulatedAmortization_eac5c020-dc8d-4415-a866-019b2b90822c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinanceLeaseRightOfUseAssetAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_32238da0-af98-4b4b-9945-55594cd626a6" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAccumulatedAmortization_eac5c020-dc8d-4415-a866-019b2b90822c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_01ba914b-4f3c-4f71-9fbf-4767838327ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_32238da0-af98-4b4b-9945-55594cd626a6" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_01ba914b-4f3c-4f71-9fbf-4767838327ba" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_cbb5c1df-7c1e-495e-b332-c3e6896a6c0f" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_01ba914b-4f3c-4f71-9fbf-4767838327ba" xlink:to="loc_srt_RangeAxis_cbb5c1df-7c1e-495e-b332-c3e6896a6c0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_cbb5c1df-7c1e-495e-b332-c3e6896a6c0f_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_cbb5c1df-7c1e-495e-b332-c3e6896a6c0f" xlink:to="loc_srt_RangeMember_cbb5c1df-7c1e-495e-b332-c3e6896a6c0f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_29b51038-4010-44ca-8f84-8c1f5e8a9895" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_cbb5c1df-7c1e-495e-b332-c3e6896a6c0f" xlink:to="loc_srt_RangeMember_29b51038-4010-44ca-8f84-8c1f5e8a9895" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_dcc20fd6-0a54-4a17-911d-a94bf2c3f2ba" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_29b51038-4010-44ca-8f84-8c1f5e8a9895" xlink:to="loc_srt_MinimumMember_dcc20fd6-0a54-4a17-911d-a94bf2c3f2ba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_86ae8ac9-8b9d-4eff-b86b-025784421f41" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_29b51038-4010-44ca-8f84-8c1f5e8a9895" xlink:to="loc_srt_MaximumMember_86ae8ac9-8b9d-4eff-b86b-025784421f41" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/SegmentsScheduleofInformationaboutourSegmentsDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#SegmentsScheduleofInformationaboutourSegmentsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/SegmentsScheduleofInformationaboutourSegmentsDetails" xlink:type="extended" id="i3986e365017648c3a385f4cb5708cc60_SegmentsScheduleofInformationaboutourSegmentsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_dc42d5bf-afb3-4a07-9256-01851663c8cf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_07df1ca4-fd8a-4f86-96b6-21c01ba18c34" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_dc42d5bf-afb3-4a07-9256-01851663c8cf" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_07df1ca4-fd8a-4f86-96b6-21c01ba18c34" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_d245e8d6-d97f-4307-aa8f-7ccbf87e4777" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_dc42d5bf-afb3-4a07-9256-01851663c8cf" xlink:to="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_d245e8d6-d97f-4307-aa8f-7ccbf87e4777" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_GeneralAndAdministrativeExpensesAndDepreciationAndAmortization_38f6ca3b-5fcd-4bb4-bb9b-ba143e89ebf7" xlink:href="ameh-20230630.xsd#ameh_GeneralAndAdministrativeExpensesAndDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_dc42d5bf-afb3-4a07-9256-01851663c8cf" xlink:to="loc_ameh_GeneralAndAdministrativeExpensesAndDepreciationAndAmortization_38f6ca3b-5fcd-4bb4-bb9b-ba143e89ebf7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_b95e0210-b99d-420b-8fe0-8a9e87181ee0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_dc42d5bf-afb3-4a07-9256-01851663c8cf" xlink:to="loc_us-gaap_CostsAndExpenses_b95e0210-b99d-420b-8fe0-8a9e87181ee0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_8868cdc9-1964-4340-af05-c3d7d57285f5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_dc42d5bf-afb3-4a07-9256-01851663c8cf" xlink:to="loc_us-gaap_OperatingIncomeLoss_8868cdc9-1964-4340-af05-c3d7d57285f5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_58bafea5-936d-4c9a-91d2-83e437e5e559" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_dc42d5bf-afb3-4a07-9256-01851663c8cf" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_58bafea5-936d-4c9a-91d2-83e437e5e559" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_3978f50f-3dcd-4d20-aa40-4988c0e35f42" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_58bafea5-936d-4c9a-91d2-83e437e5e559" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_3978f50f-3dcd-4d20-aa40-4988c0e35f42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_3978f50f-3dcd-4d20-aa40-4988c0e35f42_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3978f50f-3dcd-4d20-aa40-4988c0e35f42" xlink:to="loc_us-gaap_SegmentDomain_3978f50f-3dcd-4d20-aa40-4988c0e35f42_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_234213bd-c640-45c2-847a-c406454297e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3978f50f-3dcd-4d20-aa40-4988c0e35f42" xlink:to="loc_us-gaap_SegmentDomain_234213bd-c640-45c2-847a-c406454297e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CareEnablementMember_c1a0f975-114f-4a50-b3fc-2d74f0bccd1b" xlink:href="ameh-20230630.xsd#ameh_CareEnablementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_234213bd-c640-45c2-847a-c406454297e3" xlink:to="loc_ameh_CareEnablementMember_c1a0f975-114f-4a50-b3fc-2d74f0bccd1b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CarePartnersMember_e61125ee-bec9-475e-91c2-af3656597aff" xlink:href="ameh-20230630.xsd#ameh_CarePartnersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_234213bd-c640-45c2-847a-c406454297e3" xlink:to="loc_ameh_CarePartnersMember_e61125ee-bec9-475e-91c2-af3656597aff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CareDeliveryMember_bffb643e-af72-4c72-ad59-f4219d09bedd" xlink:href="ameh-20230630.xsd#ameh_CareDeliveryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_234213bd-c640-45c2-847a-c406454297e3" xlink:to="loc_ameh_CareDeliveryMember_bffb643e-af72-4c72-ad59-f4219d09bedd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllOtherSegmentsMember_ee4a357e-17c3-4d6a-80e1-af2a085167ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllOtherSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_234213bd-c640-45c2-847a-c406454297e3" xlink:to="loc_us-gaap_AllOtherSegmentsMember_ee4a357e-17c3-4d6a-80e1-af2a085167ce" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_889b5685-d585-4eaf-bdb2-6b8e32fff991" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_58bafea5-936d-4c9a-91d2-83e437e5e559" xlink:to="loc_srt_ConsolidationItemsAxis_889b5685-d585-4eaf-bdb2-6b8e32fff991" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_889b5685-d585-4eaf-bdb2-6b8e32fff991_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_889b5685-d585-4eaf-bdb2-6b8e32fff991" xlink:to="loc_srt_ConsolidationItemsDomain_889b5685-d585-4eaf-bdb2-6b8e32fff991_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_2078c77a-6617-4a8e-bd9e-a8df482036f9" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_889b5685-d585-4eaf-bdb2-6b8e32fff991" xlink:to="loc_srt_ConsolidationItemsDomain_2078c77a-6617-4a8e-bd9e-a8df482036f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_1f4ff5e8-a4b2-41ec-9bf2-d1f86503f633" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_2078c77a-6617-4a8e-bd9e-a8df482036f9" xlink:to="loc_us-gaap_OperatingSegmentsMember_1f4ff5e8-a4b2-41ec-9bf2-d1f86503f633" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntersegmentEliminationMember_5d9a1a6d-0136-4378-b1c2-444bbc79f6fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntersegmentEliminationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_2078c77a-6617-4a8e-bd9e-a8df482036f9" xlink:to="loc_us-gaap_IntersegmentEliminationMember_5d9a1a6d-0136-4378-b1c2-444bbc79f6fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_e4d476d6-4dcc-465a-a1ce-f11149307bb5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_2078c77a-6617-4a8e-bd9e-a8df482036f9" xlink:to="loc_us-gaap_CorporateNonSegmentMember_e4d476d6-4dcc-465a-a1ce-f11149307bb5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsegmentsAxis_1065644e-612b-4ce1-9efc-29e3da29a580" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_58bafea5-936d-4c9a-91d2-83e437e5e559" xlink:to="loc_us-gaap_SubsegmentsAxis_1065644e-612b-4ce1-9efc-29e3da29a580" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsegmentsDomain_1065644e-612b-4ce1-9efc-29e3da29a580_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsegmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsegmentsAxis_1065644e-612b-4ce1-9efc-29e3da29a580" xlink:to="loc_us-gaap_SubsegmentsDomain_1065644e-612b-4ce1-9efc-29e3da29a580_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsegmentsDomain_b014461f-54fb-4fc4-bade-66d704494203" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsegmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsegmentsAxis_1065644e-612b-4ce1-9efc-29e3da29a580" xlink:to="loc_us-gaap_SubsegmentsDomain_b014461f-54fb-4fc4-bade-66d704494203" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HealthCarePatientServiceMember_d00aff50-692d-476f-a264-1cfbc440e0b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HealthCarePatientServiceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsegmentsDomain_b014461f-54fb-4fc4-bade-66d704494203" xlink:to="loc_us-gaap_HealthCarePatientServiceMember_d00aff50-692d-476f-a264-1cfbc440e0b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductAndServiceOtherMember_e13002c6-bce3-4b14-af36-8b18b1ea10ae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProductAndServiceOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsegmentsDomain_b014461f-54fb-4fc4-bade-66d704494203" xlink:to="loc_us-gaap_ProductAndServiceOtherMember_e13002c6-bce3-4b14-af36-8b18b1ea10ae" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/SubsequentEventsAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230630.xsd#SubsequentEventsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/SubsequentEventsAdditionalInformationDetails" xlink:type="extended" id="i6b1d3f2e55f049a0b59ef3f147bd6eea_SubsequentEventsAdditionalInformationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_db029837-d4ee-46fb-b133-75a84c5ccc38" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NumberOfPrimaryCareProvider_496a652b-9fb4-4f7f-8c55-da738791b50a" xlink:href="ameh-20230630.xsd#ameh_NumberOfPrimaryCareProvider"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_db029837-d4ee-46fb-b133-75a84c5ccc38" xlink:to="loc_ameh_NumberOfPrimaryCareProvider_496a652b-9fb4-4f7f-8c55-da738791b50a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NumberOfPrimaryCareServices_ea36b135-9df6-493f-93d7-e791f555f3c0" xlink:href="ameh-20230630.xsd#ameh_NumberOfPrimaryCareServices"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_db029837-d4ee-46fb-b133-75a84c5ccc38" xlink:to="loc_ameh_NumberOfPrimaryCareServices_ea36b135-9df6-493f-93d7-e791f555f3c0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTerm_041d94b1-16d1-4153-96f9-08d010e6c560" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_db029837-d4ee-46fb-b133-75a84c5ccc38" xlink:to="loc_us-gaap_DebtInstrumentTerm_041d94b1-16d1-4153-96f9-08d010e6c560" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_86391862-3e4e-4efa-924e-3b877b00bbb8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_db029837-d4ee-46fb-b133-75a84c5ccc38" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_86391862-3e4e-4efa-924e-3b877b00bbb8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_f478b4cf-7e11-4c07-a29b-bf71ed2927fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_db029837-d4ee-46fb-b133-75a84c5ccc38" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_f478b4cf-7e11-4c07-a29b-bf71ed2927fe" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_f9e5be88-335d-43a6-a2a5-b32fb796c403" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_db029837-d4ee-46fb-b133-75a84c5ccc38" xlink:to="loc_us-gaap_SubsequentEventTable_f9e5be88-335d-43a6-a2a5-b32fb796c403" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_9149721d-8cfa-48e0-991b-284dd1bb9e1e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_f9e5be88-335d-43a6-a2a5-b32fb796c403" xlink:to="loc_us-gaap_DebtInstrumentAxis_9149721d-8cfa-48e0-991b-284dd1bb9e1e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_9149721d-8cfa-48e0-991b-284dd1bb9e1e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_9149721d-8cfa-48e0-991b-284dd1bb9e1e" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_9149721d-8cfa-48e0-991b-284dd1bb9e1e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_fa3b920b-0b28-4798-a73b-33ff73b3c29a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_9149721d-8cfa-48e0-991b-284dd1bb9e1e" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_fa3b920b-0b28-4798-a73b-33ff73b3c29a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_IntraCareConvertiblePromissoryNoteReceivableMember_2998ec12-fd56-407b-a25b-50fff8fb50e0" xlink:href="ameh-20230630.xsd#ameh_IntraCareConvertiblePromissoryNoteReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_fa3b920b-0b28-4798-a73b-33ff73b3c29a" xlink:to="loc_ameh_IntraCareConvertiblePromissoryNoteReceivableMember_2998ec12-fd56-407b-a25b-50fff8fb50e0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_ccf60463-bd9b-4842-9070-f783d7b77ef2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_f9e5be88-335d-43a6-a2a5-b32fb796c403" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_ccf60463-bd9b-4842-9070-f783d7b77ef2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_ccf60463-bd9b-4842-9070-f783d7b77ef2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_ccf60463-bd9b-4842-9070-f783d7b77ef2" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_ccf60463-bd9b-4842-9070-f783d7b77ef2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_221b4713-616a-4fa1-b0de-0e6d5d62de0b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_ccf60463-bd9b-4842-9070-f783d7b77ef2" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_221b4713-616a-4fa1-b0de-0e6d5d62de0b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_784d14f4-40bf-4808-ae7e-5e822ba34ee4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_221b4713-616a-4fa1-b0de-0e6d5d62de0b" xlink:to="loc_us-gaap_SubsequentEventMember_784d14f4-40bf-4808-ae7e-5e822ba34ee4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_ac48e0c1-4af9-4b6c-8912-337f02b8cbc0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_f9e5be88-335d-43a6-a2a5-b32fb796c403" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_ac48e0c1-4af9-4b6c-8912-337f02b8cbc0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_ac48e0c1-4af9-4b6c-8912-337f02b8cbc0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_ac48e0c1-4af9-4b6c-8912-337f02b8cbc0" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_ac48e0c1-4af9-4b6c-8912-337f02b8cbc0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3e2c3233-d4f9-44bc-9421-bea3da7d373d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_ac48e0c1-4af9-4b6c-8912-337f02b8cbc0" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3e2c3233-d4f9-44bc-9421-bea3da7d373d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableMember_4f331df7-faa1-4808-8848-9f8614c648d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_3e2c3233-d4f9-44bc-9421-bea3da7d373d" xlink:to="loc_us-gaap_NotesReceivableMember_4f331df7-faa1-4808-8848-9f8614c648d2" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#AwardTypeOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_StockAwardsAndUnitsMember_82f66b1f-3531-4447-9a51-f8eaa893a5b7" xlink:href="ameh-20230630.xsd#ameh_StockAwardsAndUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_ameh_StockAwardsAndUnitsMember_82f66b1f-3531-4447-9a51-f8eaa893a5b7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_RestrictedStockMember" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PerformanceBasedRestrictedStockMember_0ae3124b-5a22-486f-96eb-17dbf1752899" xlink:href="ameh-20230630.xsd#ameh_PerformanceBasedRestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_ameh_PerformanceBasedRestrictedStockMember_0ae3124b-5a22-486f-96eb-17dbf1752899" xlink:type="arc" order="6"/>
  </link:definitionLink>
</link:linkbase>
