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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2023 Workiva-->
<!--r:60bab11e-ce58-41df-a3e4-fdcf8dc63460,g:c4d4246e-1edd-4a3a-b340-df584fcae84a-->
<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-20230930.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_35c37f03-73dc-4e3c-9a77-af1f173aba40" 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_6d0fb217-45f7-4dd6-bd63-b432b5e8179d" 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_35c37f03-73dc-4e3c-9a77-af1f173aba40" xlink:to="loc_us-gaap_AssetsAbstract_6d0fb217-45f7-4dd6-bd63-b432b5e8179d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_a3bf1ddf-fe9b-4c54-bb50-accb073f5d06" 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_6d0fb217-45f7-4dd6-bd63-b432b5e8179d" xlink:to="loc_us-gaap_AssetsCurrentAbstract_a3bf1ddf-fe9b-4c54-bb50-accb073f5d06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_a3688822-7278-49aa-9e48-c9b91b01855d" 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_a3bf1ddf-fe9b-4c54-bb50-accb073f5d06" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_a3688822-7278-49aa-9e48-c9b91b01855d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_754faa32-4c99-46af-ba03-8f524884697b" 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_a3bf1ddf-fe9b-4c54-bb50-accb073f5d06" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_754faa32-4c99-46af-ba03-8f524884697b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_b2476dad-d12f-4903-85ee-43f62c66c6d7" 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_a3bf1ddf-fe9b-4c54-bb50-accb073f5d06" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_b2476dad-d12f-4903-85ee-43f62c66c6d7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_287c40cb-8307-4063-b04d-021451472f0b" 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_a3bf1ddf-fe9b-4c54-bb50-accb073f5d06" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_287c40cb-8307-4063-b04d-021451472f0b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_fcdab652-7141-43bc-988f-76ad170dfb3a" 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_a3bf1ddf-fe9b-4c54-bb50-accb073f5d06" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_fcdab652-7141-43bc-988f-76ad170dfb3a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesAndLoansReceivableNetCurrent_5936bdd3-a9ca-44bf-be5c-75b8b8d3a308" 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_a3bf1ddf-fe9b-4c54-bb50-accb073f5d06" xlink:to="loc_us-gaap_NotesAndLoansReceivableNetCurrent_5936bdd3-a9ca-44bf-be5c-75b8b8d3a308" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_22379787-1fea-4625-ae52-aad7267f0d1b" 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_a3bf1ddf-fe9b-4c54-bb50-accb073f5d06" xlink:to="loc_us-gaap_AssetsCurrent_22379787-1fea-4625-ae52-aad7267f0d1b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_d7651ed8-adb3-43bd-901b-2bbf26f21fad" 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_6d0fb217-45f7-4dd6-bd63-b432b5e8179d" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_d7651ed8-adb3-43bd-901b-2bbf26f21fad" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_ded33334-edff-49b2-a0a9-a5c1538b2009" 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_d7651ed8-adb3-43bd-901b-2bbf26f21fad" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_ded33334-edff-49b2-a0a9-a5c1538b2009" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ee62b375-03ff-44dc-b921-0dc1484f2581" 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_d7651ed8-adb3-43bd-901b-2bbf26f21fad" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ee62b375-03ff-44dc-b921-0dc1484f2581" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_d152ac44-dfe8-4530-865f-57aa364e1fef" 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_d7651ed8-adb3-43bd-901b-2bbf26f21fad" xlink:to="loc_us-gaap_Goodwill_d152ac44-dfe8-4530-865f-57aa364e1fef" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesReceivableNoncurrent_e45ea0f4-e393-46ad-b9d7-22aa3fff31e1" 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_d7651ed8-adb3-43bd-901b-2bbf26f21fad" xlink:to="loc_us-gaap_IncomeTaxesReceivableNoncurrent_e45ea0f4-e393-46ad-b9d7-22aa3fff31e1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesAndLoansReceivableNetNoncurrent_b76f4d68-ece7-4d22-8c7a-e34078659da1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NotesAndLoansReceivableNetNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_d7651ed8-adb3-43bd-901b-2bbf26f21fad" xlink:to="loc_us-gaap_NotesAndLoansReceivableNetNoncurrent_b76f4d68-ece7-4d22-8c7a-e34078659da1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_b698efee-576d-4eb4-a830-acd7256f7934" 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_d7651ed8-adb3-43bd-901b-2bbf26f21fad" xlink:to="loc_us-gaap_EquityMethodInvestments_b698efee-576d-4eb4-a830-acd7256f7934" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_InvestmentInPrivatelyHeldEntityThatDoesNotReportNetAssetValue_c1a56faa-ed5b-48a4-ac54-3731d6eeca1f" xlink:href="ameh-20230930.xsd#ameh_InvestmentInPrivatelyHeldEntityThatDoesNotReportNetAssetValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_d7651ed8-adb3-43bd-901b-2bbf26f21fad" xlink:to="loc_ameh_InvestmentInPrivatelyHeldEntityThatDoesNotReportNetAssetValue_c1a56faa-ed5b-48a4-ac54-3731d6eeca1f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashNoncurrent_a0e723bf-8ac6-4807-9f6e-8560af9a1df0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCashNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsNoncurrentAbstract_d7651ed8-adb3-43bd-901b-2bbf26f21fad" xlink:to="loc_us-gaap_RestrictedCashNoncurrent_a0e723bf-8ac6-4807-9f6e-8560af9a1df0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_1b962748-13bf-4194-b952-7704eaabdb75" 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_d7651ed8-adb3-43bd-901b-2bbf26f21fad" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_1b962748-13bf-4194-b952-7704eaabdb75" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_420cf0ab-e75e-469c-a6c4-dc028e06ecd3" 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_d7651ed8-adb3-43bd-901b-2bbf26f21fad" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_420cf0ab-e75e-469c-a6c4-dc028e06ecd3" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrent_35dba70c-87bd-48d1-937b-be8f3a952c59" 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_d7651ed8-adb3-43bd-901b-2bbf26f21fad" xlink:to="loc_us-gaap_AssetsNoncurrent_35dba70c-87bd-48d1-937b-be8f3a952c59" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_0526918c-6c3c-44c4-bfad-ee937e8132b8" 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_6d0fb217-45f7-4dd6-bd63-b432b5e8179d" xlink:to="loc_us-gaap_Assets_0526918c-6c3c-44c4-bfad-ee937e8132b8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_673cb1c1-afe5-4763-b287-db911e0c9fef" 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_35c37f03-73dc-4e3c-9a77-af1f173aba40" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_673cb1c1-afe5-4763-b287-db911e0c9fef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_4ac5eb69-2921-4ad5-bb87-e77fed8f659c" 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_673cb1c1-afe5-4763-b287-db911e0c9fef" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_4ac5eb69-2921-4ad5-bb87-e77fed8f659c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_1a36fd09-0a64-432b-97e6-11e1a5e8f5f2" 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_4ac5eb69-2921-4ad5-bb87-e77fed8f659c" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_1a36fd09-0a64-432b-97e6-11e1a5e8f5f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_FiduciaryAccountsPayableCurrent_5283e2f7-0842-468c-856f-dbfb9a608fad" xlink:href="ameh-20230930.xsd#ameh_FiduciaryAccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_4ac5eb69-2921-4ad5-bb87-e77fed8f659c" xlink:to="loc_ameh_FiduciaryAccountsPayableCurrent_5283e2f7-0842-468c-856f-dbfb9a608fad" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_dc2cc564-d704-44e7-be43-619c1bfda4b8" 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_4ac5eb69-2921-4ad5-bb87-e77fed8f659c" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_dc2cc564-d704-44e7-be43-619c1bfda4b8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedIncomeTaxesCurrent_6eca0e77-fbd4-4dd4-8cae-ffeae19dfd32" 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_4ac5eb69-2921-4ad5-bb87-e77fed8f659c" xlink:to="loc_us-gaap_AccruedIncomeTaxesCurrent_6eca0e77-fbd4-4dd4-8cae-ffeae19dfd32" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_ec8992d3-5426-415c-9fa4-abaa6fc11683" 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_4ac5eb69-2921-4ad5-bb87-e77fed8f659c" xlink:to="loc_us-gaap_DividendsPayableCurrent_ec8992d3-5426-415c-9fa4-abaa6fc11683" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_5740b523-9a98-4f12-b37a-80dd93d60fcc" 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_4ac5eb69-2921-4ad5-bb87-e77fed8f659c" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_5740b523-9a98-4f12-b37a-80dd93d60fcc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_ddbaebf1-b806-492f-9229-412974ef4401" 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_4ac5eb69-2921-4ad5-bb87-e77fed8f659c" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_ddbaebf1-b806-492f-9229-412974ef4401" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_b21e0729-48a9-49b4-a135-8bdb76f68afb" 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_4ac5eb69-2921-4ad5-bb87-e77fed8f659c" xlink:to="loc_us-gaap_LongTermDebtCurrent_b21e0729-48a9-49b4-a135-8bdb76f68afb" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_afcc01a4-6985-4169-8eff-bea833d11b96" 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_4ac5eb69-2921-4ad5-bb87-e77fed8f659c" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_afcc01a4-6985-4169-8eff-bea833d11b96" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_b807472c-fe43-438d-a7fe-d915e28ff9ed" 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_4ac5eb69-2921-4ad5-bb87-e77fed8f659c" xlink:to="loc_us-gaap_LiabilitiesCurrent_b807472c-fe43-438d-a7fe-d915e28ff9ed" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_d045e9b3-d95e-4739-a3f1-9c555431e3b5" 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_673cb1c1-afe5-4763-b287-db911e0c9fef" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_d045e9b3-d95e-4739-a3f1-9c555431e3b5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_ebe3fa1e-50a3-4288-9b60-e978e17aa48d" 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_d045e9b3-d95e-4739-a3f1-9c555431e3b5" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_ebe3fa1e-50a3-4288-9b60-e978e17aa48d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_2e12914e-661d-489f-be57-d47028541c21" 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_d045e9b3-d95e-4739-a3f1-9c555431e3b5" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_2e12914e-661d-489f-be57-d47028541c21" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_8bb0e1ee-34a7-4702-a9af-9bbb350fb037" 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_d045e9b3-d95e-4739-a3f1-9c555431e3b5" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_8bb0e1ee-34a7-4702-a9af-9bbb350fb037" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_d56d5156-d104-4aa6-9a4c-6779faffd066" 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_d045e9b3-d95e-4739-a3f1-9c555431e3b5" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_d56d5156-d104-4aa6-9a4c-6779faffd066" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_4ce4052a-0a19-4006-9cc8-11da032d821d" 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_d045e9b3-d95e-4739-a3f1-9c555431e3b5" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_4ce4052a-0a19-4006-9cc8-11da032d821d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_a00c5a71-050b-4d3e-a375-d56771f3ec57" 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_d045e9b3-d95e-4739-a3f1-9c555431e3b5" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_a00c5a71-050b-4d3e-a375-d56771f3ec57" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_7478f63a-333b-4e7f-9dbc-4d01cb583d90" 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_673cb1c1-afe5-4763-b287-db911e0c9fef" xlink:to="loc_us-gaap_Liabilities_7478f63a-333b-4e7f-9dbc-4d01cb583d90" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_77a2d705-83a4-426c-8376-ff941d240bcf" 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_673cb1c1-afe5-4763-b287-db911e0c9fef" xlink:to="loc_us-gaap_CommitmentsAndContingencies_77a2d705-83a4-426c-8376-ff941d240bcf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MezzanineEquityAbstract_867d3e3c-a6f6-457f-a59e-47c8c44cc0cf" xlink:href="ameh-20230930.xsd#ameh_MezzanineEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_673cb1c1-afe5-4763-b287-db911e0c9fef" xlink:to="loc_ameh_MezzanineEquityAbstract_867d3e3c-a6f6-457f-a59e-47c8c44cc0cf" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_2bef7b89-dd18-4704-835a-508e7fadfa6d" 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_867d3e3c-a6f6-457f-a59e-47c8c44cc0cf" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_2bef7b89-dd18-4704-835a-508e7fadfa6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_b7dedb7d-381e-4bb1-b978-a753080ba400" 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_673cb1c1-afe5-4763-b287-db911e0c9fef" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_b7dedb7d-381e-4bb1-b978-a753080ba400" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_e6211e32-d9a3-4845-a95e-37a5f57c93f3" 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_b7dedb7d-381e-4bb1-b978-a753080ba400" xlink:to="loc_us-gaap_PreferredStockValue_e6211e32-d9a3-4845-a95e-37a5f57c93f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_6ac15390-fd27-4cae-ba38-a1a9c70fbbab" 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_b7dedb7d-381e-4bb1-b978-a753080ba400" xlink:to="loc_us-gaap_CommonStockValue_6ac15390-fd27-4cae-ba38-a1a9c70fbbab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_fc3cfcdf-23ad-45de-bb25-d6e4d25756f9" 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_b7dedb7d-381e-4bb1-b978-a753080ba400" xlink:to="loc_us-gaap_AdditionalPaidInCapital_fc3cfcdf-23ad-45de-bb25-d6e4d25756f9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_f18994d4-c657-454c-b702-56d12bde05c8" 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_b7dedb7d-381e-4bb1-b978-a753080ba400" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_f18994d4-c657-454c-b702-56d12bde05c8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_dd2ac4dd-f97b-4b91-aa51-3e2327afb5c4" 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_b7dedb7d-381e-4bb1-b978-a753080ba400" xlink:to="loc_us-gaap_StockholdersEquity_dd2ac4dd-f97b-4b91-aa51-3e2327afb5c4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_4e4834a0-d40a-436d-9b3b-f0f49f545f35" 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_b7dedb7d-381e-4bb1-b978-a753080ba400" xlink:to="loc_us-gaap_MinorityInterest_4e4834a0-d40a-436d-9b3b-f0f49f545f35" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_5cd2c657-4ccb-4066-ae76-5bc101ae575e" 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_b7dedb7d-381e-4bb1-b978-a753080ba400" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_5cd2c657-4ccb-4066-ae76-5bc101ae575e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_15789ecb-fdec-4d0c-877d-40e5e76f3730" 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_673cb1c1-afe5-4763-b287-db911e0c9fef" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_15789ecb-fdec-4d0c-877d-40e5e76f3730" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_11aa69ce-3661-4f5c-af30-c3a45479dcbb" 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_35c37f03-73dc-4e3c-9a77-af1f173aba40" xlink:to="loc_us-gaap_StatementTable_11aa69ce-3661-4f5c-af30-c3a45479dcbb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_a0b9c44b-7260-4afd-9f5e-548177acfa72" 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_11aa69ce-3661-4f5c-af30-c3a45479dcbb" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_a0b9c44b-7260-4afd-9f5e-548177acfa72" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_a0b9c44b-7260-4afd-9f5e-548177acfa72_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_a0b9c44b-7260-4afd-9f5e-548177acfa72" xlink:to="loc_us-gaap_RelatedPartyDomain_a0b9c44b-7260-4afd-9f5e-548177acfa72_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_fb803189-1872-44e5-b6dd-2d5030b57709" 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_a0b9c44b-7260-4afd-9f5e-548177acfa72" xlink:to="loc_us-gaap_RelatedPartyDomain_fb803189-1872-44e5-b6dd-2d5030b57709" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonrelatedPartyMember_244a9fe7-a01a-47b3-b832-7569d3c6e45b" 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_fb803189-1872-44e5-b6dd-2d5030b57709" xlink:to="loc_us-gaap_NonrelatedPartyMember_244a9fe7-a01a-47b3-b832-7569d3c6e45b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_dd4968e4-b187-4494-8595-0f6016ee7efa" 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_fb803189-1872-44e5-b6dd-2d5030b57709" xlink:to="loc_us-gaap_RelatedPartyMember_dd4968e4-b187-4494-8595-0f6016ee7efa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_57183002-36fd-4153-8f69-3c47ee5c9491" 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_11aa69ce-3661-4f5c-af30-c3a45479dcbb" xlink:to="loc_us-gaap_StatementClassOfStockAxis_57183002-36fd-4153-8f69-3c47ee5c9491" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_57183002-36fd-4153-8f69-3c47ee5c9491_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_57183002-36fd-4153-8f69-3c47ee5c9491" xlink:to="loc_us-gaap_ClassOfStockDomain_57183002-36fd-4153-8f69-3c47ee5c9491_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_8da7cb20-0a93-4059-8b31-2d4440095b92" 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_57183002-36fd-4153-8f69-3c47ee5c9491" xlink:to="loc_us-gaap_ClassOfStockDomain_8da7cb20-0a93-4059-8b31-2d4440095b92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_841c09a6-80de-4dd4-8c0a-3bc123a80ce5" 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_8da7cb20-0a93-4059-8b31-2d4440095b92" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_841c09a6-80de-4dd4-8c0a-3bc123a80ce5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_6042aa66-abd1-486e-926d-6768ff936e37" 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_8da7cb20-0a93-4059-8b31-2d4440095b92" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_6042aa66-abd1-486e-926d-6768ff936e37" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="ameh-20230930.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" 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_63fc9dd9-2f9c-4f56-8388-65c6ac75cabc" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_63fc9dd9-2f9c-4f56-8388-65c6ac75cabc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_628f7c2a-dbb6-42b1-908f-415f2a8b38e6" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_628f7c2a-dbb6-42b1-908f-415f2a8b38e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_3928368f-a914-4366-8593-61d1c7cc62c8" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_PreferredStockSharesIssued_3928368f-a914-4366-8593-61d1c7cc62c8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_ad9cae9e-b38e-43bf-b3a8-77331596a4fe" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_ad9cae9e-b38e-43bf-b3a8-77331596a4fe" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_047b9826-845c-4d8c-83ef-b806cf1010b1" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_047b9826-845c-4d8c-83ef-b806cf1010b1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_7134e6ea-f773-49bc-bde2-9dff77ae2aa7" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_7134e6ea-f773-49bc-bde2-9dff77ae2aa7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_3d094288-1cbc-4640-911d-d285c2d33de4" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_CommonStockSharesIssued_3d094288-1cbc-4640-911d-d285c2d33de4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_c74e58b6-5a56-4811-bfb5-78ba2ae07540" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_c74e58b6-5a56-4811-bfb5-78ba2ae07540" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_0760196c-ce9f-4482-a31d-e5d222d1000c" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_TreasuryStockCommonShares_0760196c-ce9f-4482-a31d-e5d222d1000c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_af7e4d24-76f9-4c51-b08d-bbf15bb89794" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_Assets_af7e4d24-76f9-4c51-b08d-bbf15bb89794" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_d5612d86-ffdd-4d1d-9bae-5708920ab021" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_Liabilities_d5612d86-ffdd-4d1d-9bae-5708920ab021" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_82350c5e-cc92-4fd0-ba3c-f9ea5b2c467a" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_82350c5e-cc92-4fd0-ba3c-f9ea5b2c467a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_90451c48-b712-4032-a7b9-e9a1883a5a04" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_OtherLiabilities_90451c48-b712-4032-a7b9-e9a1883a5a04" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_9699f21a-a4e2-4911-93bd-fd29e1eb2153" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_OtherReceivables_9699f21a-a4e2-4911-93bd-fd29e1eb2153" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_e54b3b19-0215-406f-931a-c22cbe424206" 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_c1ca5d6e-0f85-49de-b5f7-729747b3e7bb" xlink:to="loc_us-gaap_StatementTable_e54b3b19-0215-406f-931a-c22cbe424206" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_7d273811-2bd9-492d-bf71-690f35d2fd40" 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_e54b3b19-0215-406f-931a-c22cbe424206" xlink:to="loc_us-gaap_StatementClassOfStockAxis_7d273811-2bd9-492d-bf71-690f35d2fd40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_7d273811-2bd9-492d-bf71-690f35d2fd40_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_7d273811-2bd9-492d-bf71-690f35d2fd40" xlink:to="loc_us-gaap_ClassOfStockDomain_7d273811-2bd9-492d-bf71-690f35d2fd40_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_82146881-0cfc-4599-9bda-651740695f9f" 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_7d273811-2bd9-492d-bf71-690f35d2fd40" xlink:to="loc_us-gaap_ClassOfStockDomain_82146881-0cfc-4599-9bda-651740695f9f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_4fc4ecdd-4886-440f-b548-6d8f5806b6a8" 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_82146881-0cfc-4599-9bda-651740695f9f" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_4fc4ecdd-4886-440f-b548-6d8f5806b6a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_f8dabc8a-562e-4e8e-8482-0b50814a9b04" 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_82146881-0cfc-4599-9bda-651740695f9f" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_f8dabc8a-562e-4e8e-8482-0b50814a9b04" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_83552a90-15a2-41f5-87e8-57241d27de09" 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_e54b3b19-0215-406f-931a-c22cbe424206" xlink:to="loc_srt_ConsolidatedEntitiesAxis_83552a90-15a2-41f5-87e8-57241d27de09" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_83552a90-15a2-41f5-87e8-57241d27de09_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_83552a90-15a2-41f5-87e8-57241d27de09" xlink:to="loc_srt_ConsolidatedEntitiesDomain_83552a90-15a2-41f5-87e8-57241d27de09_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_649bf658-874f-4428-befe-981068b7ef41" 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_83552a90-15a2-41f5-87e8-57241d27de09" xlink:to="loc_srt_ConsolidatedEntitiesDomain_649bf658-874f-4428-befe-981068b7ef41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_b9878cf0-c617-4f0f-8ade-ff80587f7ea2" 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_649bf658-874f-4428-befe-981068b7ef41" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_b9878cf0-c617-4f0f-8ade-ff80587f7ea2" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="simple" xlink:href="ameh-20230930.xsd#CONSOLIDATEDSTATEMENTSOFINCOME"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_d2690fbc-457e-4b85-b733-1a11cc438a8a" 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_458cc2cc-a571-4cc6-a3c4-6834f20b8f11" 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_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_RevenuesAbstract_458cc2cc-a571-4cc6-a3c4-6834f20b8f11" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_70ca8cb8-2995-4eee-be8f-c5e9b2335613" 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_458cc2cc-a571-4cc6-a3c4-6834f20b8f11" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_70ca8cb8-2995-4eee-be8f-c5e9b2335613" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpensesAbstract_585286ca-1a86-407b-ad7d-22d7a66b6f8f" 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_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_OperatingExpensesAbstract_585286ca-1a86-407b-ad7d-22d7a66b6f8f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_7a98eee7-92f8-4374-a5a8-97feb6c78ff8" 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_585286ca-1a86-407b-ad7d-22d7a66b6f8f" xlink:to="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_7a98eee7-92f8-4374-a5a8-97feb6c78ff8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_5623d1b4-6606-4a83-9a7a-abbf5a041452" 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_585286ca-1a86-407b-ad7d-22d7a66b6f8f" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_5623d1b4-6606-4a83-9a7a-abbf5a041452" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_39ad90c9-c684-4616-872c-8a6a14cc84de" 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_585286ca-1a86-407b-ad7d-22d7a66b6f8f" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_39ad90c9-c684-4616-872c-8a6a14cc84de" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_01356eb9-1ef3-48c3-aec5-b355d49926f1" 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_585286ca-1a86-407b-ad7d-22d7a66b6f8f" xlink:to="loc_us-gaap_CostsAndExpenses_01356eb9-1ef3-48c3-aec5-b355d49926f1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_76061dd2-36bd-497e-a862-5d3429a8402d" 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_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_OperatingIncomeLoss_76061dd2-36bd-497e-a862-5d3429a8402d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpenseAbstract_5f5d7bf1-adf4-42dd-bc36-733dfd1f61e2" 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_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_NonoperatingIncomeExpenseAbstract_5f5d7bf1-adf4-42dd-bc36-733dfd1f61e2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_10ad32a8-3836-4e70-b1ad-5bd849ff15d5" 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_5f5d7bf1-adf4-42dd-bc36-733dfd1f61e2" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_10ad32a8-3836-4e70-b1ad-5bd849ff15d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_8447d19d-814f-41da-a00c-d08f80260e49" 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_5f5d7bf1-adf4-42dd-bc36-733dfd1f61e2" xlink:to="loc_us-gaap_InterestExpense_8447d19d-814f-41da-a00c-d08f80260e49" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_e0c15df9-2100-4fd0-ad25-8728c3381691" 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_5f5d7bf1-adf4-42dd-bc36-733dfd1f61e2" xlink:to="loc_us-gaap_InvestmentIncomeInterest_e0c15df9-2100-4fd0-ad25-8728c3381691" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_8f1086d1-b794-4d67-bdd9-b9fb1cd77c03" 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_5f5d7bf1-adf4-42dd-bc36-733dfd1f61e2" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_8f1086d1-b794-4d67-bdd9-b9fb1cd77c03" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_8226b4d5-02ac-4edc-8d98-5f7971533549" 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_5f5d7bf1-adf4-42dd-bc36-733dfd1f61e2" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_8226b4d5-02ac-4edc-8d98-5f7971533549" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_75ae5646-d9f7-418e-b797-14e4a0e55811" 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_5f5d7bf1-adf4-42dd-bc36-733dfd1f61e2" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_75ae5646-d9f7-418e-b797-14e4a0e55811" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a2b9cf2a-3aad-49af-9c4b-b7529c7cf5d9" 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_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_a2b9cf2a-3aad-49af-9c4b-b7529c7cf5d9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_f98520e7-3ada-4e62-bb26-3b6187bcf575" 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_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_f98520e7-3ada-4e62-bb26-3b6187bcf575" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_69a20d02-f035-4c47-a9ac-181f127dfc96" 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_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_ProfitLoss_69a20d02-f035-4c47-a9ac-181f127dfc96" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_3e63fea9-e0db-4634-aae7-92be7fa60fc1" 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_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_3e63fea9-e0db-4634-aae7-92be7fa60fc1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_86643c53-aab4-4bac-8587-9e39b39d9587" 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_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_NetIncomeLoss_86643c53-aab4-4bac-8587-9e39b39d9587" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_124a267e-7edc-4152-abc2-6f5555f18e47" 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_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_EarningsPerShareBasic_124a267e-7edc-4152-abc2-6f5555f18e47" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_9354b31c-3855-4e64-a244-66387d5eb32c" 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_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_EarningsPerShareDiluted_9354b31c-3855-4e64-a244-66387d5eb32c" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1e1c09dd-fa10-4030-b019-6108ec8c2f97" 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_us-gaap_StatementLineItems_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1e1c09dd-fa10-4030-b019-6108ec8c2f97" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_c83d6484-0b64-4f97-ad2f-8740296f3aa6" 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_us-gaap_StatementLineItems_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_c83d6484-0b64-4f97-ad2f-8740296f3aa6" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_572bc722-9ad3-4dad-b404-3f87f43a306f" 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_d2690fbc-457e-4b85-b733-1a11cc438a8a" xlink:to="loc_us-gaap_StatementTable_572bc722-9ad3-4dad-b404-3f87f43a306f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_00a4783f-0adb-4946-b1b4-139bca14f734" 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_572bc722-9ad3-4dad-b404-3f87f43a306f" xlink:to="loc_srt_ProductOrServiceAxis_00a4783f-0adb-4946-b1b4-139bca14f734" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_00a4783f-0adb-4946-b1b4-139bca14f734_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_00a4783f-0adb-4946-b1b4-139bca14f734" xlink:to="loc_srt_ProductsAndServicesDomain_00a4783f-0adb-4946-b1b4-139bca14f734_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_1866a6df-ca27-47ce-bf88-91e713d176ed" 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_00a4783f-0adb-4946-b1b4-139bca14f734" xlink:to="loc_srt_ProductsAndServicesDomain_1866a6df-ca27-47ce-bf88-91e713d176ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_HealthCareCapitationRevenueMember_8ea5b2c7-de21-47b5-8a2a-b9cf370d0c7a" xlink:href="ameh-20230930.xsd#ameh_HealthCareCapitationRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_1866a6df-ca27-47ce-bf88-91e713d176ed" xlink:to="loc_ameh_HealthCareCapitationRevenueMember_8ea5b2c7-de21-47b5-8a2a-b9cf370d0c7a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HealthCareOtherMember_bea17ee6-d6b0-4789-9403-49dc5cdd6dfd" 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_1866a6df-ca27-47ce-bf88-91e713d176ed" xlink:to="loc_us-gaap_HealthCareOtherMember_bea17ee6-d6b0-4789-9403-49dc5cdd6dfd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ManagementServiceMember_40d59e82-b415-47b9-8957-eb6feccf0a47" 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_1866a6df-ca27-47ce-bf88-91e713d176ed" xlink:to="loc_us-gaap_ManagementServiceMember_40d59e82-b415-47b9-8957-eb6feccf0a47" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HealthCarePatientServiceMember_9e1178b4-fce2-421b-a05a-84cafc8048f2" 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_1866a6df-ca27-47ce-bf88-91e713d176ed" xlink:to="loc_us-gaap_HealthCarePatientServiceMember_9e1178b4-fce2-421b-a05a-84cafc8048f2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductAndServiceOtherMember_fca3ab14-a093-4784-867b-cc2745b140c0" 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_1866a6df-ca27-47ce-bf88-91e713d176ed" xlink:to="loc_us-gaap_ProductAndServiceOtherMember_fca3ab14-a093-4784-867b-cc2745b140c0" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/CONSOLIDATEDSTATEMENTSOFMEZZANINEANDSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="ameh-20230930.xsd#CONSOLIDATEDSTATEMENTSOFMEZZANINEANDSTOCKHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CONSOLIDATEDSTATEMENTSOFMEZZANINEANDSTOCKHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_7939318b-f9c3-4888-bac5-2db95f7d9dde" 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_b93ecc16-811d-473d-8e52-90139c23e882" 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_7939318b-f9c3-4888-bac5-2db95f7d9dde" xlink:to="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_b93ecc16-811d-473d-8e52-90139c23e882" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_857af101-ae52-4243-8901-466dcb636764" 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_b93ecc16-811d-473d-8e52-90139c23e882" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_857af101-ae52-4243-8901-466dcb636764" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityNetIncome_01b1f134-c672-4ecd-8b13-c477f3588646" 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_b93ecc16-811d-473d-8e52-90139c23e882" xlink:to="loc_us-gaap_TemporaryEquityNetIncome_01b1f134-c672-4ecd-8b13-c477f3588646" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_TemporaryEquityTreasuryStockValueAcquired_dea61d6a-4daf-4e13-be5f-bcaa950f5e12" xlink:href="ameh-20230930.xsd#ameh_TemporaryEquityTreasuryStockValueAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_b93ecc16-811d-473d-8e52-90139c23e882" xlink:to="loc_ameh_TemporaryEquityTreasuryStockValueAcquired_dea61d6a-4daf-4e13-be5f-bcaa950f5e12" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_8fc39c51-f5a5-4a38-92b1-042153de4978" 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_b93ecc16-811d-473d-8e52-90139c23e882" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_8fc39c51-f5a5-4a38-92b1-042153de4978" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionOfDividends_3c0e4fee-d5b7-4c0c-8b80-ffbb2afecc49" 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_b93ecc16-811d-473d-8e52-90139c23e882" xlink:to="loc_us-gaap_TemporaryEquityAccretionOfDividends_3c0e4fee-d5b7-4c0c-8b80-ffbb2afecc49" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_TemporaryEquityTransferOfCommonControlEntities_76dfcf4d-1e69-46f8-8434-ab58b8ab90cf" xlink:href="ameh-20230930.xsd#ameh_TemporaryEquityTransferOfCommonControlEntities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_b93ecc16-811d-473d-8e52-90139c23e882" xlink:to="loc_ameh_TemporaryEquityTransferOfCommonControlEntities_76dfcf4d-1e69-46f8-8434-ab58b8ab90cf" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_TemporaryEquityDividendsImpact_d35c8902-ac26-49e5-9189-370db40ba95d" xlink:href="ameh-20230930.xsd#ameh_TemporaryEquityDividendsImpact"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_b93ecc16-811d-473d-8e52-90139c23e882" xlink:to="loc_ameh_TemporaryEquityDividendsImpact_d35c8902-ac26-49e5-9189-370db40ba95d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountIncludingPortionAttributableToNoncontrollingInterests_6b6cd3b8-d8b7-405b-8acb-9ddecaea8b7c" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" 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_7939318b-f9c3-4888-bac5-2db95f7d9dde" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_46dda4dc-5562-41f6-a3a2-50076d95efa4" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_SharesOutstanding_46dda4dc-5562-41f6-a3a2-50076d95efa4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_5fb9de37-a87c-465e-8693-5bb192f9842f" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_5fb9de37-a87c-465e-8693-5bb192f9842f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NetIncomeLossIncludingPortionAttributableToNoncontrollingInterestAndTemporaryEquity_69e6b914-67bb-4a92-8765-57a7180ded05" xlink:href="ameh-20230930.xsd#ameh_NetIncomeLossIncludingPortionAttributableToNoncontrollingInterestAndTemporaryEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_ameh_NetIncomeLossIncludingPortionAttributableToNoncontrollingInterestAndTemporaryEquity_69e6b914-67bb-4a92-8765-57a7180ded05" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_96a0b2a2-f2e9-42ef-9283-09e424497a5b" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_96a0b2a2-f2e9-42ef-9283-09e424497a5b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest_80941081-0ada-4223-b642-184e262a29bd" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromSaleOfParentEquityInterest_80941081-0ada-4223-b642-184e262a29bd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_7cb5135e-73e8-48b3-9626-ca13987a9d86" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross_7cb5135e-73e8-48b3-9626-ca13987a9d86" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_029a06a2-2903-4387-a9ed-c448c732e463" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_029a06a2-2903-4387-a9ed-c448c732e463" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_StockIssuedDuringThePeriodSharesOfExerciseOfOptionAndWarrants_99f87ae7-28f3-475a-a731-4c22764bfadb" xlink:href="ameh-20230930.xsd#ameh_StockIssuedDuringThePeriodSharesOfExerciseOfOptionAndWarrants"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_ameh_StockIssuedDuringThePeriodSharesOfExerciseOfOptionAndWarrants_99f87ae7-28f3-475a-a731-4c22764bfadb" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_StockIssuedDuringThePeriodValueOfExerciseOfOptionAndWarrants_caccb8cc-bc6d-4430-9c80-115f56a59479" xlink:href="ameh-20230930.xsd#ameh_StockIssuedDuringThePeriodValueOfExerciseOfOptionAndWarrants"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_ameh_StockIssuedDuringThePeriodValueOfExerciseOfOptionAndWarrants_caccb8cc-bc6d-4430-9c80-115f56a59479" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_877aa913-a58f-4582-8317-6cd13848251a" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_877aa913-a58f-4582-8317-6cd13848251a" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredParValueMethod_dcb9fb4f-c5f0-4bc0-a1d6-a14b70649df7" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredParValueMethod_dcb9fb4f-c5f0-4bc0-a1d6-a14b70649df7" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_b1f2eb38-36cc-47ba-8f25-996c74d5de95" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_b1f2eb38-36cc-47ba-8f25-996c74d5de95" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_9b369a1d-1a21-4e08-8ac4-e566c4c33d1b" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_9b369a1d-1a21-4e08-8ac4-e566c4c33d1b" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_fa6e3288-72c8-4240-97d9-8caa92456940" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_fa6e3288-72c8-4240-97d9-8caa92456940" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited_ee16814c-e73d-4142-8fe3-0e882aa7670d" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited_ee16814c-e73d-4142-8fe3-0e882aa7670d" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardForfeitures_8d5c2668-3323-43f3-8262-8910ad04cbc9" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardForfeitures_8d5c2668-3323-43f3-8262-8910ad04cbc9" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_e713a100-4939-4e10-8837-6a27cfa7b1e8" 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_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_e713a100-4939-4e10-8837-6a27cfa7b1e8" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NoncontrollingInterestDecreaseFromDistributionsToNoncontrollingInterestHoldersAndStockRepurchasedDuringPeriodValueReleaseOfHoldBackShares_d6ab1734-7f4e-446e-8b7a-eeca43195f20" xlink:href="ameh-20230930.xsd#ameh_NoncontrollingInterestDecreaseFromDistributionsToNoncontrollingInterestHoldersAndStockRepurchasedDuringPeriodValueReleaseOfHoldBackShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_ameh_NoncontrollingInterestDecreaseFromDistributionsToNoncontrollingInterestHoldersAndStockRepurchasedDuringPeriodValueReleaseOfHoldBackShares_d6ab1734-7f4e-446e-8b7a-eeca43195f20" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_TransferOfCommonControlEntities_46fbf347-4db5-4254-9a56-d3756c40bf0f" xlink:href="ameh-20230930.xsd#ameh_TransferOfCommonControlEntities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_65cbb4b9-ad14-4fd7-8fe9-aad97d99183c" xlink:to="loc_ameh_TransferOfCommonControlEntities_46fbf347-4db5-4254-9a56-d3756c40bf0f" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_78d0d55f-132a-4c03-b026-6ed8e3d56eef" 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_83537927-e61c-4904-8112-18340318a7db" 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_cd6493e7-8ed3-49ae-92d7-352f69aac64c" 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_7939318b-f9c3-4888-bac5-2db95f7d9dde" xlink:to="loc_us-gaap_StatementTable_cd6493e7-8ed3-49ae-92d7-352f69aac64c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_cdb0f9f2-c525-4fb6-bf41-6df3596b15ba" 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_cd6493e7-8ed3-49ae-92d7-352f69aac64c" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_cdb0f9f2-c525-4fb6-bf41-6df3596b15ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_cdb0f9f2-c525-4fb6-bf41-6df3596b15ba_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_cdb0f9f2-c525-4fb6-bf41-6df3596b15ba" xlink:to="loc_us-gaap_EquityComponentDomain_cdb0f9f2-c525-4fb6-bf41-6df3596b15ba_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_6237475f-50ba-436f-aadd-a68100017d4f" 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_cdb0f9f2-c525-4fb6-bf41-6df3596b15ba" xlink:to="loc_us-gaap_EquityComponentDomain_6237475f-50ba-436f-aadd-a68100017d4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_35300d09-727e-4619-b1fd-8a2d15a004dd" 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_6237475f-50ba-436f-aadd-a68100017d4f" xlink:to="loc_us-gaap_CommonStockMember_35300d09-727e-4619-b1fd-8a2d15a004dd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_b4d19e6e-8331-485b-8b72-73b2c02e8201" 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_6237475f-50ba-436f-aadd-a68100017d4f" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_b4d19e6e-8331-485b-8b72-73b2c02e8201" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_2070b7b0-439a-488c-820f-50efc632d24f" 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_6237475f-50ba-436f-aadd-a68100017d4f" xlink:to="loc_us-gaap_RetainedEarningsMember_2070b7b0-439a-488c-820f-50efc632d24f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestMember_2998ea3d-e1e6-4f08-be22-bfddb0a3531e" 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_6237475f-50ba-436f-aadd-a68100017d4f" xlink:to="loc_us-gaap_NoncontrollingInterestMember_2998ea3d-e1e6-4f08-be22-bfddb0a3531e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_17590acd-b8c9-4d45-a126-f42b8b7d62c4" 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_cd6493e7-8ed3-49ae-92d7-352f69aac64c" xlink:to="loc_dei_LegalEntityAxis_17590acd-b8c9-4d45-a126-f42b8b7d62c4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_17590acd-b8c9-4d45-a126-f42b8b7d62c4_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_17590acd-b8c9-4d45-a126-f42b8b7d62c4" xlink:to="loc_dei_EntityDomain_17590acd-b8c9-4d45-a126-f42b8b7d62c4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_37769d5d-f8fe-4957-a615-fdaa9ef87545" 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_17590acd-b8c9-4d45-a126-f42b8b7d62c4" xlink:to="loc_dei_EntityDomain_37769d5d-f8fe-4957-a615-fdaa9ef87545" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MezzanineMember_811fee25-71af-40a7-aa67-38b32ae7a0db" xlink:href="ameh-20230930.xsd#ameh_MezzanineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_37769d5d-f8fe-4957-a615-fdaa9ef87545" xlink:to="loc_ameh_MezzanineMember_811fee25-71af-40a7-aa67-38b32ae7a0db" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/DescriptionofBusinessDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#DescriptionofBusinessDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/DescriptionofBusinessDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DescriptionOfBusinessLineItems_77984c37-8f7b-4308-a46e-d12097324f39" xlink:href="ameh-20230930.xsd#ameh_DescriptionOfBusinessLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_99409f8d-0013-4a91-913a-bd991e7deab1" 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_77984c37-8f7b-4308-a46e-d12097324f39" xlink:to="loc_us-gaap_NumberOfReportableSegments_99409f8d-0013-4a91-913a-bd991e7deab1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_b14559f2-d09d-4512-ad75-b0520f3c2797" 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_77984c37-8f7b-4308-a46e-d12097324f39" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_b14559f2-d09d-4512-ad75-b0520f3c2797" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NumberOfPhysicians_9f73fafd-dfcc-4e94-a333-8d53cbf43d18" xlink:href="ameh-20230930.xsd#ameh_NumberOfPhysicians"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_DescriptionOfBusinessLineItems_77984c37-8f7b-4308-a46e-d12097324f39" xlink:to="loc_ameh_NumberOfPhysicians_9f73fafd-dfcc-4e94-a333-8d53cbf43d18" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_a4d8f61c-60b4-4cf9-a19b-2976bc2ee5eb" 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_ameh_DescriptionOfBusinessLineItems_77984c37-8f7b-4308-a46e-d12097324f39" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_a4d8f61c-60b4-4cf9-a19b-2976bc2ee5eb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DescriptionOfBusinessTable_b6fbff61-7989-42ca-90f5-3ed773874bf6" xlink:href="ameh-20230930.xsd#ameh_DescriptionOfBusinessTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ameh_DescriptionOfBusinessLineItems_77984c37-8f7b-4308-a46e-d12097324f39" xlink:to="loc_ameh_DescriptionOfBusinessTable_b6fbff61-7989-42ca-90f5-3ed773874bf6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_0c6bc58c-b089-46bc-a510-b5c06ce855d2" 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_b6fbff61-7989-42ca-90f5-3ed773874bf6" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_0c6bc58c-b089-46bc-a510-b5c06ce855d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0c6bc58c-b089-46bc-a510-b5c06ce855d2_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_0c6bc58c-b089-46bc-a510-b5c06ce855d2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0c6bc58c-b089-46bc-a510-b5c06ce855d2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_92501a1d-3f20-4fb9-8835-0ae0904982d2" 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_0c6bc58c-b089-46bc-a510-b5c06ce855d2" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_92501a1d-3f20-4fb9-8835-0ae0904982d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AmgIncMember_56cf7400-1372-4c0c-a06d-b86e4ed20e81" xlink:href="ameh-20230930.xsd#ameh_AmgIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_92501a1d-3f20-4fb9-8835-0ae0904982d2" xlink:to="loc_ameh_AmgIncMember_56cf7400-1372-4c0c-a06d-b86e4ed20e81" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EleanorLeungMDMember_72a8a654-5ff3-48ed-92c3-e72dc8f1b761" xlink:href="ameh-20230930.xsd#ameh_EleanorLeungMDMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_92501a1d-3f20-4fb9-8835-0ae0904982d2" xlink:to="loc_ameh_EleanorLeungMDMember_72a8a654-5ff3-48ed-92c3-e72dc8f1b761" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_49aa5981-dd82-49d0-b2bd-5c7bc86cbf06" 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_b6fbff61-7989-42ca-90f5-3ed773874bf6" xlink:to="loc_dei_LegalEntityAxis_49aa5981-dd82-49d0-b2bd-5c7bc86cbf06" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_49aa5981-dd82-49d0-b2bd-5c7bc86cbf06_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_49aa5981-dd82-49d0-b2bd-5c7bc86cbf06" xlink:to="loc_dei_EntityDomain_49aa5981-dd82-49d0-b2bd-5c7bc86cbf06_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_fe553021-20a8-4069-a114-cf1711704832" 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_49aa5981-dd82-49d0-b2bd-5c7bc86cbf06" xlink:to="loc_dei_EntityDomain_fe553021-20a8-4069-a114-cf1711704832" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApcLsmaMember_702ad2c7-b803-4682-9eb6-ffb6e5163dad" xlink:href="ameh-20230930.xsd#ameh_ApcLsmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_fe553021-20a8-4069-a114-cf1711704832" xlink:to="loc_ameh_ApcLsmaMember_702ad2c7-b803-4682-9eb6-ffb6e5163dad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PhysiciansMember_3adf5d9e-135d-47d9-b5fa-a8225da29e37" xlink:href="ameh-20230930.xsd#ameh_PhysiciansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_fe553021-20a8-4069-a114-cf1711704832" xlink:to="loc_ameh_PhysiciansMember_3adf5d9e-135d-47d9-b5fa-a8225da29e37" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_APAMH2Member_7d0f4f54-5ea1-45bc-9d37-8e9426bed850" xlink:href="ameh-20230930.xsd#ameh_APAMH2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_fe553021-20a8-4069-a114-cf1711704832" xlink:to="loc_ameh_APAMH2Member_7d0f4f54-5ea1-45bc-9d37-8e9426bed850" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_98117e76-7071-4c0f-83c3-53946903a6e7" 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_b6fbff61-7989-42ca-90f5-3ed773874bf6" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_98117e76-7071-4c0f-83c3-53946903a6e7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_98117e76-7071-4c0f-83c3-53946903a6e7_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_98117e76-7071-4c0f-83c3-53946903a6e7" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_98117e76-7071-4c0f-83c3-53946903a6e7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_05ba1fd9-0329-4ffe-b737-7eca8351fec0" 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_98117e76-7071-4c0f-83c3-53946903a6e7" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_05ba1fd9-0329-4ffe-b737-7eca8351fec0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EleanorLeungMDMember_d7887d2d-f4bd-4dc3-8b0f-a3943b45aff0" xlink:href="ameh-20230930.xsd#ameh_EleanorLeungMDMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_05ba1fd9-0329-4ffe-b737-7eca8351fec0" xlink:to="loc_ameh_EleanorLeungMDMember_d7887d2d-f4bd-4dc3-8b0f-a3943b45aff0" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofDisaggregatedRevenuebyEachPayerTypeDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofDisaggregatedRevenuebyEachPayerTypeDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofDisaggregatedRevenuebyEachPayerTypeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_121645b7-42b8-4137-b320-3289b7ecac8e" 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_49ecd335-4ee1-410a-8a33-305386323fb0" 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_121645b7-42b8-4137-b320-3289b7ecac8e" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_49ecd335-4ee1-410a-8a33-305386323fb0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_503a701a-ce80-48d6-8d5a-6a34aa3d78bc" 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_121645b7-42b8-4137-b320-3289b7ecac8e" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_503a701a-ce80-48d6-8d5a-6a34aa3d78bc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_6d8fbb04-4d73-4670-aba1-cf1517f0c6db" 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_503a701a-ce80-48d6-8d5a-6a34aa3d78bc" xlink:to="loc_srt_MajorCustomersAxis_6d8fbb04-4d73-4670-aba1-cf1517f0c6db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_6d8fbb04-4d73-4670-aba1-cf1517f0c6db_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_6d8fbb04-4d73-4670-aba1-cf1517f0c6db" xlink:to="loc_srt_NameOfMajorCustomerDomain_6d8fbb04-4d73-4670-aba1-cf1517f0c6db_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_5449f411-350c-4d1c-920c-2362f0695c98" 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_6d8fbb04-4d73-4670-aba1-cf1517f0c6db" xlink:to="loc_srt_NameOfMajorCustomerDomain_5449f411-350c-4d1c-920c-2362f0695c98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CommercialMember_6a67e0c0-1867-4573-9186-d0f1d8ae4645" xlink:href="ameh-20230930.xsd#ameh_CommercialMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_5449f411-350c-4d1c-920c-2362f0695c98" xlink:to="loc_ameh_CommercialMember_6a67e0c0-1867-4573-9186-d0f1d8ae4645" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MedicareMember_29f3ad4a-0ff3-48be-8028-25a9dbea53aa" xlink:href="ameh-20230930.xsd#ameh_MedicareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_5449f411-350c-4d1c-920c-2362f0695c98" xlink:to="loc_ameh_MedicareMember_29f3ad4a-0ff3-48be-8028-25a9dbea53aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MedicaidMember_a1d7d4a8-c9f8-438c-ad75-efb927683d86" xlink:href="ameh-20230930.xsd#ameh_MedicaidMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_5449f411-350c-4d1c-920c-2362f0695c98" xlink:to="loc_ameh_MedicaidMember_a1d7d4a8-c9f8-438c-ad75-efb927683d86" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_OtherThirdPartiesMember_d78f3e0f-fde2-4c21-b3e2-00e26c6376fe" xlink:href="ameh-20230930.xsd#ameh_OtherThirdPartiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_5449f411-350c-4d1c-920c-2362f0695c98" xlink:to="loc_ameh_OtherThirdPartiesMember_d78f3e0f-fde2-4c21-b3e2-00e26c6376fe" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContributionstoRevenueandReceivablesbyPayerDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContributionstoRevenueandReceivablesbyPayerDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesScheduleofContributionstoRevenueandReceivablesbyPayerDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AccountsReceivableAndNetRevenueLineItems_93002c06-1aaf-42e2-99e0-efbb52e91496" xlink:href="ameh-20230930.xsd#ameh_AccountsReceivableAndNetRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_c9f647c7-a9e0-4fc6-ba58-f729c13a1f92" 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_93002c06-1aaf-42e2-99e0-efbb52e91496" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_c9f647c7-a9e0-4fc6-ba58-f729c13a1f92" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AccountsReceivableAndNetRevenueTable_0a207a92-a1e9-4433-9761-f28950092855" xlink:href="ameh-20230930.xsd#ameh_AccountsReceivableAndNetRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ameh_AccountsReceivableAndNetRevenueLineItems_93002c06-1aaf-42e2-99e0-efbb52e91496" xlink:to="loc_ameh_AccountsReceivableAndNetRevenueTable_0a207a92-a1e9-4433-9761-f28950092855" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b700170f-4eab-4a16-b50b-41e6ed98fee9" 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_0a207a92-a1e9-4433-9761-f28950092855" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b700170f-4eab-4a16-b50b-41e6ed98fee9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_b700170f-4eab-4a16-b50b-41e6ed98fee9_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_b700170f-4eab-4a16-b50b-41e6ed98fee9" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_b700170f-4eab-4a16-b50b-41e6ed98fee9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_a1162180-7d8c-422b-9dcd-1a03c951d5ad" 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_b700170f-4eab-4a16-b50b-41e6ed98fee9" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_a1162180-7d8c-422b-9dcd-1a03c951d5ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_8a3e267b-90d8-423d-9c2d-fe984ba6813c" 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_a1162180-7d8c-422b-9dcd-1a03c951d5ad" xlink:to="loc_us-gaap_SalesRevenueNetMember_8a3e267b-90d8-423d-9c2d-fe984ba6813c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableMember_65953966-1d2c-4e47-b197-6712afc68005" 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_a1162180-7d8c-422b-9dcd-1a03c951d5ad" xlink:to="loc_us-gaap_AccountsReceivableMember_65953966-1d2c-4e47-b197-6712afc68005" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_b7b4ed06-1946-41c7-8a39-093668a74dae" 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_0a207a92-a1e9-4433-9761-f28950092855" xlink:to="loc_srt_MajorCustomersAxis_b7b4ed06-1946-41c7-8a39-093668a74dae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_b7b4ed06-1946-41c7-8a39-093668a74dae_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_b7b4ed06-1946-41c7-8a39-093668a74dae" xlink:to="loc_srt_NameOfMajorCustomerDomain_b7b4ed06-1946-41c7-8a39-093668a74dae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_46c3b1fa-36cf-43e5-9398-4b970b47d495" 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_b7b4ed06-1946-41c7-8a39-093668a74dae" xlink:to="loc_srt_NameOfMajorCustomerDomain_46c3b1fa-36cf-43e5-9398-4b970b47d495" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PayorAMember_25538efd-628e-4827-9f87-e0577c618ec9" xlink:href="ameh-20230930.xsd#ameh_PayorAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_46c3b1fa-36cf-43e5-9398-4b970b47d495" xlink:to="loc_ameh_PayorAMember_25538efd-628e-4827-9f87-e0577c618ec9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PayorBMember_501857c8-4412-4062-a513-a26c662e9452" xlink:href="ameh-20230930.xsd#ameh_PayorBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_46c3b1fa-36cf-43e5-9398-4b970b47d495" xlink:to="loc_ameh_PayorBMember_501857c8-4412-4062-a513-a26c662e9452" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PayorCMember_16183f81-28c7-4f99-b256-d29f5bbe6c6f" xlink:href="ameh-20230930.xsd#ameh_PayorCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_46c3b1fa-36cf-43e5-9398-4b970b47d495" xlink:to="loc_ameh_PayorCMember_16183f81-28c7-4f99-b256-d29f5bbe6c6f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PayorDMember_c39923fb-d2f0-4631-bb11-b8a32e356b6e" xlink:href="ameh-20230930.xsd#ameh_PayorDMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_46c3b1fa-36cf-43e5-9398-4b970b47d495" xlink:to="loc_ameh_PayorDMember_c39923fb-d2f0-4631-bb11-b8a32e356b6e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_661485fc-6644-4d37-9ccb-735198dc1695" 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_0a207a92-a1e9-4433-9761-f28950092855" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_661485fc-6644-4d37-9ccb-735198dc1695" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_661485fc-6644-4d37-9ccb-735198dc1695_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_661485fc-6644-4d37-9ccb-735198dc1695" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_661485fc-6644-4d37-9ccb-735198dc1695_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_6488a703-6e8f-4c6d-afc3-1f8cc4376caa" 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_661485fc-6644-4d37-9ccb-735198dc1695" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_6488a703-6e8f-4c6d-afc3-1f8cc4376caa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_e4a6c051-36eb-4b17-97cf-decb33dc8232" 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_6488a703-6e8f-4c6d-afc3-1f8cc4376caa" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_e4a6c051-36eb-4b17-97cf-decb33dc8232" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/BusinessCombinationsAssetAcquisitionsandGoodwillAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#BusinessCombinationsAssetAcquisitionsandGoodwillAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/BusinessCombinationsAssetAcquisitionsandGoodwillAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_6fb4cdda-8ca3-4bc0-b247-4ddcb79064e8" 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_b6665663-d933-451b-98c2-1078e3c5ac87" 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_6fb4cdda-8ca3-4bc0-b247-4ddcb79064e8" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_b6665663-d933-451b-98c2-1078e3c5ac87" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_34b0217c-9648-4e4a-8c8d-20a99e24b70b" 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_6fb4cdda-8ca3-4bc0-b247-4ddcb79064e8" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_34b0217c-9648-4e4a-8c8d-20a99e24b70b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_43a2f1b5-f884-4de8-bc05-56422d8deb12" 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_6fb4cdda-8ca3-4bc0-b247-4ddcb79064e8" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_43a2f1b5-f884-4de8-bc05-56422d8deb12" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_8e2017c0-433c-4911-800f-80f64bf28078" 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_43a2f1b5-f884-4de8-bc05-56422d8deb12" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_8e2017c0-433c-4911-800f-80f64bf28078" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8e2017c0-433c-4911-800f-80f64bf28078_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_8e2017c0-433c-4911-800f-80f64bf28078" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_8e2017c0-433c-4911-800f-80f64bf28078_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_b5b9e147-b18b-42cb-994f-88f6189b6a8d" 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_8e2017c0-433c-4911-800f-80f64bf28078" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_b5b9e147-b18b-42cb-994f-88f6189b6a8d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ForYourBenefitIncMember_67e7d32b-0c50-499d-bad4-0223ae2774ac" xlink:href="ameh-20230930.xsd#ameh_ForYourBenefitIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_b5b9e147-b18b-42cb-994f-88f6189b6a8d" xlink:to="loc_ameh_ForYourBenefitIncMember_67e7d32b-0c50-499d-bad4-0223ae2774ac" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/IntangibleAssetsNetScheduleofIntangibleAssetsDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#IntangibleAssetsNetScheduleofIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/IntangibleAssetsNetScheduleofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_e862adb3-935a-4b79-a817-012286dc6e66" 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_7ddb1cfb-4bef-4f95-a2bc-115343972920" 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_e862adb3-935a-4b79-a817-012286dc6e66" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_7ddb1cfb-4bef-4f95-a2bc-115343972920" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_7be2db51-7516-4dc7-9379-0aadaa32ab31" 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_e862adb3-935a-4b79-a817-012286dc6e66" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_7be2db51-7516-4dc7-9379-0aadaa32ab31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_a1877948-ba04-4a7d-b36b-e1f42c5fc73a" 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_e862adb3-935a-4b79-a817-012286dc6e66" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_a1877948-ba04-4a7d-b36b-e1f42c5fc73a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_57dfda65-6a3f-4bb8-a832-2dea621add84" 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_e862adb3-935a-4b79-a817-012286dc6e66" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_57dfda65-6a3f-4bb8-a832-2dea621add84" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_bd0b816e-eb96-49b2-9b96-bd1a63173f06" 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_e862adb3-935a-4b79-a817-012286dc6e66" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_bd0b816e-eb96-49b2-9b96-bd1a63173f06" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_616be76b-820d-401e-ae78-7b9d9c5d8e3a" 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_bd0b816e-eb96-49b2-9b96-bd1a63173f06" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_616be76b-820d-401e-ae78-7b9d9c5d8e3a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_616be76b-820d-401e-ae78-7b9d9c5d8e3a_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_616be76b-820d-401e-ae78-7b9d9c5d8e3a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_616be76b-820d-401e-ae78-7b9d9c5d8e3a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_57df458d-aa73-4420-a404-5d266bd6a73a" 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_616be76b-820d-401e-ae78-7b9d9c5d8e3a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_57df458d-aa73-4420-a404-5d266bd6a73a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NetworkRelationshipsMember_5f44bf2f-1b8f-4a79-837b-0fdddf72677e" xlink:href="ameh-20230930.xsd#ameh_NetworkRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_57df458d-aa73-4420-a404-5d266bd6a73a" xlink:to="loc_ameh_NetworkRelationshipsMember_5f44bf2f-1b8f-4a79-837b-0fdddf72677e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ManagementContractsMember_e5407610-ec8d-4678-acb6-512fb33b2eff" xlink:href="ameh-20230930.xsd#ameh_ManagementContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_57df458d-aa73-4420-a404-5d266bd6a73a" xlink:to="loc_ameh_ManagementContractsMember_e5407610-ec8d-4678-acb6-512fb33b2eff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MemberRelationshipsMember_f007aafa-9a86-4ccf-a418-907c514192b7" xlink:href="ameh-20230930.xsd#ameh_MemberRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_57df458d-aa73-4420-a404-5d266bd6a73a" xlink:to="loc_ameh_MemberRelationshipsMember_f007aafa-9a86-4ccf-a418-907c514192b7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PatientManagementPlatformMember_3c68437e-6924-407c-be5b-0567250bb149" xlink:href="ameh-20230930.xsd#ameh_PatientManagementPlatformMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_57df458d-aa73-4420-a404-5d266bd6a73a" xlink:to="loc_ameh_PatientManagementPlatformMember_3c68437e-6924-407c-be5b-0567250bb149" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_0005dc5a-3522-4d5d-94c8-61cb3d10fc81" 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_57df458d-aa73-4420-a404-5d266bd6a73a" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_0005dc5a-3522-4d5d-94c8-61cb3d10fc81" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_5cfdabdb-ca8b-483c-a4c5-e3b211b300dc" 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_57df458d-aa73-4420-a404-5d266bd6a73a" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_5cfdabdb-ca8b-483c-a4c5-e3b211b300dc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_833bff68-0ef3-4c00-915b-d418e5f93d6b" 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_bd0b816e-eb96-49b2-9b96-bd1a63173f06" xlink:to="loc_srt_RangeAxis_833bff68-0ef3-4c00-915b-d418e5f93d6b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_833bff68-0ef3-4c00-915b-d418e5f93d6b_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_833bff68-0ef3-4c00-915b-d418e5f93d6b" xlink:to="loc_srt_RangeMember_833bff68-0ef3-4c00-915b-d418e5f93d6b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_f841f3a3-aca1-4268-8104-98ae0ed751ff" 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_833bff68-0ef3-4c00-915b-d418e5f93d6b" xlink:to="loc_srt_RangeMember_f841f3a3-aca1-4268-8104-98ae0ed751ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_4feea98a-b70d-4964-a543-0fc76adbc72c" 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_f841f3a3-aca1-4268-8104-98ae0ed751ff" xlink:to="loc_srt_MinimumMember_4feea98a-b70d-4964-a543-0fc76adbc72c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_00fac59d-e093-4558-bfa3-b34236733442" 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_f841f3a3-aca1-4268-8104-98ae0ed751ff" xlink:to="loc_srt_MaximumMember_00fac59d-e093-4558-bfa3-b34236733442" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_746ac1e5-cfd1-4fa1-b4d8-f46df15f178d" 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_a8986d59-a921-4af0-b2e3-83bbba45cacc" 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_746ac1e5-cfd1-4fa1-b4d8-f46df15f178d" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_a8986d59-a921-4af0-b2e3-83bbba45cacc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_515959f3-8f71-4e30-9926-815a5bfd2d56" 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_746ac1e5-cfd1-4fa1-b4d8-f46df15f178d" xlink:to="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_515959f3-8f71-4e30-9926-815a5bfd2d56" xlink:type="arc" order="2" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_54bf5ff6-9068-4c1a-b049-616c44ebd5ab" 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_515959f3-8f71-4e30-9926-815a5bfd2d56" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_54bf5ff6-9068-4c1a-b049-616c44ebd5ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_54bf5ff6-9068-4c1a-b049-616c44ebd5ab_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_54bf5ff6-9068-4c1a-b049-616c44ebd5ab" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_54bf5ff6-9068-4c1a-b049-616c44ebd5ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_7b4bb9eb-55a5-4e67-a817-bd8c57f0232f" 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_54bf5ff6-9068-4c1a-b049-616c44ebd5ab" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_7b4bb9eb-55a5-4e67-a817-bd8c57f0232f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_514863e7-415b-4039-aadf-3b4ec525f7a6" 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_7b4bb9eb-55a5-4e67-a817-bd8c57f0232f" xlink:to="loc_us-gaap_TrademarksMember_514863e7-415b-4039-aadf-3b4ec525f7a6" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/InvestmentsinOtherEntitiesScheduleofEquityMethodInvestmentsDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#InvestmentsinOtherEntitiesScheduleofEquityMethodInvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/InvestmentsinOtherEntitiesScheduleofEquityMethodInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_d1356c05-a46e-4c75-87f9-431db5ec2c13" 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_f5eee392-fbd0-465e-bad7-5695ab1fb413" 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_d1356c05-a46e-4c75-87f9-431db5ec2c13" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_f5eee392-fbd0-465e-bad7-5695ab1fb413" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EquityMethodInvestmentsRollForward_a997d748-0df3-4016-9749-b1a12ce3b50a" xlink:href="ameh-20230930.xsd#ameh_EquityMethodInvestmentsRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_d1356c05-a46e-4c75-87f9-431db5ec2c13" xlink:to="loc_ameh_EquityMethodInvestmentsRollForward_a997d748-0df3-4016-9749-b1a12ce3b50a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_76f7e309-4aac-4a8a-a60d-be7fe04d44ab" 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_a997d748-0df3-4016-9749-b1a12ce3b50a" xlink:to="loc_us-gaap_EquityMethodInvestments_76f7e309-4aac-4a8a-a60d-be7fe04d44ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EquityMethodInvestmentAdditionalInvestment_83f0d1d8-82bb-41c7-ab31-973f4e980479" xlink:href="ameh-20230930.xsd#ameh_EquityMethodInvestmentAdditionalInvestment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EquityMethodInvestmentsRollForward_a997d748-0df3-4016-9749-b1a12ce3b50a" xlink:to="loc_ameh_EquityMethodInvestmentAdditionalInvestment_83f0d1d8-82bb-41c7-ab31-973f4e980479" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_3ddfde37-9103-4aed-a4e0-5e4738f3c760" 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_a997d748-0df3-4016-9749-b1a12ce3b50a" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_3ddfde37-9103-4aed-a4e0-5e4738f3c760" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EquityMethodInvestmentFundingReclassifiedToLoanReceivable_ece2a3e7-5271-4430-957a-a6d5f4eecbca" xlink:href="ameh-20230930.xsd#ameh_EquityMethodInvestmentFundingReclassifiedToLoanReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EquityMethodInvestmentsRollForward_a997d748-0df3-4016-9749-b1a12ce3b50a" xlink:to="loc_ameh_EquityMethodInvestmentFundingReclassifiedToLoanReceivable_ece2a3e7-5271-4430-957a-a6d5f4eecbca" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EquityMethodInvestmentsContribution_4d33b910-0829-4135-9cf3-94c5c176cd78" xlink:href="ameh-20230930.xsd#ameh_EquityMethodInvestmentsContribution"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EquityMethodInvestmentsRollForward_a997d748-0df3-4016-9749-b1a12ce3b50a" xlink:to="loc_ameh_EquityMethodInvestmentsContribution_4d33b910-0829-4135-9cf3-94c5c176cd78" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EquityMethodInvestmentsConsolidated_545a0429-14b8-46a2-8e36-b8dc38015b0a" xlink:href="ameh-20230930.xsd#ameh_EquityMethodInvestmentsConsolidated"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ameh_EquityMethodInvestmentsRollForward_a997d748-0df3-4016-9749-b1a12ce3b50a" xlink:to="loc_ameh_EquityMethodInvestmentsConsolidated_545a0429-14b8-46a2-8e36-b8dc38015b0a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentSoldCarryingAmount_7481eb6a-832e-42c9-8845-2836515161c4" 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_a997d748-0df3-4016-9749-b1a12ce3b50a" xlink:to="loc_us-gaap_EquityMethodInvestmentSoldCarryingAmount_7481eb6a-832e-42c9-8845-2836515161c4" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_e293e7ed-e92a-4fe3-90a6-254cf37b02df" 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_c566cd0f-3ee9-4f0c-a73d-9bc97b2ebf6e" 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_d1356c05-a46e-4c75-87f9-431db5ec2c13" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_c566cd0f-3ee9-4f0c-a73d-9bc97b2ebf6e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_c870d843-a99a-4ca0-ac72-0df7014c1619" 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_c566cd0f-3ee9-4f0c-a73d-9bc97b2ebf6e" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_c870d843-a99a-4ca0-ac72-0df7014c1619" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_c870d843-a99a-4ca0-ac72-0df7014c1619_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_c870d843-a99a-4ca0-ac72-0df7014c1619" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_c870d843-a99a-4ca0-ac72-0df7014c1619_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_4471bb8a-9b5a-4726-9b8f-23c9d3dcc844" 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_c870d843-a99a-4ca0-ac72-0df7014c1619" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_4471bb8a-9b5a-4726-9b8f-23c9d3dcc844" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LasalleMedicalAssociatesIpaMember_ed6f9ecb-a399-47a0-918f-44fb949b8368" xlink:href="ameh-20230930.xsd#ameh_LasalleMedicalAssociatesIpaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_4471bb8a-9b5a-4726-9b8f-23c9d3dcc844" xlink:to="loc_ameh_LasalleMedicalAssociatesIpaMember_ed6f9ecb-a399-47a0-918f-44fb949b8368" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PacificMedicalImagingAndOncologyCenterIncMember_0995c2f3-e023-48dd-9329-f0a5a1c62551" xlink:href="ameh-20230930.xsd#ameh_PacificMedicalImagingAndOncologyCenterIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_4471bb8a-9b5a-4726-9b8f-23c9d3dcc844" xlink:to="loc_ameh_PacificMedicalImagingAndOncologyCenterIncMember_0995c2f3-e023-48dd-9329-f0a5a1c62551" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_FiveThreeOneW.CollegeLLCMember_20136918-8d91-4ca7-bd1d-8e07fe5bcef7" xlink:href="ameh-20230930.xsd#ameh_FiveThreeOneW.CollegeLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_4471bb8a-9b5a-4726-9b8f-23c9d3dcc844" xlink:to="loc_ameh_FiveThreeOneW.CollegeLLCMember_20136918-8d91-4ca7-bd1d-8e07fe5bcef7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_OneMSOLLCMember_4db0b670-c83f-4756-83f4-1be1ed11ab9d" xlink:href="ameh-20230930.xsd#ameh_OneMSOLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_4471bb8a-9b5a-4726-9b8f-23c9d3dcc844" xlink:to="loc_ameh_OneMSOLLCMember_4db0b670-c83f-4756-83f4-1be1ed11ab9d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_Tag6MedicalInvestmentGroupLLCMember_85fbfead-91f1-48fd-a3f7-3fc97f4b5174" xlink:href="ameh-20230930.xsd#ameh_Tag6MedicalInvestmentGroupLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_4471bb8a-9b5a-4726-9b8f-23c9d3dcc844" xlink:to="loc_ameh_Tag6MedicalInvestmentGroupLLCMember_85fbfead-91f1-48fd-a3f7-3fc97f4b5174" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CAIPAMSOLLCMember_3589f50c-e9d7-4120-9bfa-d10ef61caecd" xlink:href="ameh-20230930.xsd#ameh_CAIPAMSOLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_4471bb8a-9b5a-4726-9b8f-23c9d3dcc844" xlink:to="loc_ameh_CAIPAMSOLLCMember_3589f50c-e9d7-4120-9bfa-d10ef61caecd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvesteesMember_2531024c-9cfd-48a3-8fa0-ab8cb2544276" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherInvesteesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_4471bb8a-9b5a-4726-9b8f-23c9d3dcc844" xlink:to="loc_us-gaap_OtherInvesteesMember_2531024c-9cfd-48a3-8fa0-ab8cb2544276" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/LoanReceivableandLoanReceivableRelatedPartiesDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#LoanReceivableandLoanReceivableRelatedPartiesDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/LoanReceivableandLoanReceivableRelatedPartiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_39306e81-ff27-4f00-a84f-f609c0b100dd" 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_fc30796c-6b3f-4c2d-b891-41152287a2c1" 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_39306e81-ff27-4f00-a84f-f609c0b100dd" xlink:to="loc_us-gaap_NotesReceivableNet_fc30796c-6b3f-4c2d-b891-41152287a2c1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_0b6984b3-32fb-4251-b4d7-074ef30b4405" 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_39306e81-ff27-4f00-a84f-f609c0b100dd" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_0b6984b3-32fb-4251-b4d7-074ef30b4405" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTerm_d304d1b8-ad8b-4c40-986f-1dc99c103554" 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_AccountsNotesAndLoansReceivableLineItems_39306e81-ff27-4f00-a84f-f609c0b100dd" xlink:to="loc_us-gaap_DebtInstrumentTerm_d304d1b8-ad8b-4c40-986f-1dc99c103554" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_89339abc-7de8-43d5-8ab4-012cba46b0b6" 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_AccountsNotesAndLoansReceivableLineItems_39306e81-ff27-4f00-a84f-f609c0b100dd" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_89339abc-7de8-43d5-8ab4-012cba46b0b6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_FinanceReceivableInterestRateStatedPercentage_4dab1e81-2039-4ad0-95f5-18bcbc0874fd" xlink:href="ameh-20230930.xsd#ameh_FinanceReceivableInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_39306e81-ff27-4f00-a84f-f609c0b100dd" xlink:to="loc_ameh_FinanceReceivableInterestRateStatedPercentage_4dab1e81-2039-4ad0-95f5-18bcbc0874fd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_5fa1f5b5-459e-4a87-8bbe-08b9a83bbb63" 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_39306e81-ff27-4f00-a84f-f609c0b100dd" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_5fa1f5b5-459e-4a87-8bbe-08b9a83bbb63" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_2d8c423d-d8fe-4fe0-9f7b-d4ed7e7aa1e6" 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_39306e81-ff27-4f00-a84f-f609c0b100dd" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_2d8c423d-d8fe-4fe0-9f7b-d4ed7e7aa1e6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_17bcfb53-5eb6-43a3-8f03-f3d87df4f02a" 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_2d8c423d-d8fe-4fe0-9f7b-d4ed7e7aa1e6" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_17bcfb53-5eb6-43a3-8f03-f3d87df4f02a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_17bcfb53-5eb6-43a3-8f03-f3d87df4f02a_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_17bcfb53-5eb6-43a3-8f03-f3d87df4f02a" xlink:to="loc_us-gaap_ReceivableTypeDomain_17bcfb53-5eb6-43a3-8f03-f3d87df4f02a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_f6df8657-e9f2-4577-b298-851c7f62ba37" 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_17bcfb53-5eb6-43a3-8f03-f3d87df4f02a" xlink:to="loc_us-gaap_ReceivableTypeDomain_f6df8657-e9f2-4577-b298-851c7f62ba37" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableMember_261f31ff-4022-4b42-be78-451e9796baf7" 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_f6df8657-e9f2-4577-b298-851c7f62ba37" xlink:to="loc_us-gaap_NotesReceivableMember_261f31ff-4022-4b42-be78-451e9796baf7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_d062176a-ee2b-4f88-a18d-adda2fa4d014" 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_2d8c423d-d8fe-4fe0-9f7b-d4ed7e7aa1e6" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_d062176a-ee2b-4f88-a18d-adda2fa4d014" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_d062176a-ee2b-4f88-a18d-adda2fa4d014_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_d062176a-ee2b-4f88-a18d-adda2fa4d014" xlink:to="loc_us-gaap_RelatedPartyDomain_d062176a-ee2b-4f88-a18d-adda2fa4d014_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_901ff676-1b67-466d-959e-a3be1df29950" 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_d062176a-ee2b-4f88-a18d-adda2fa4d014" xlink:to="loc_us-gaap_RelatedPartyDomain_901ff676-1b67-466d-959e-a3be1df29950" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_3a932f35-6db9-4775-99fe-ac5462478721" 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_901ff676-1b67-466d-959e-a3be1df29950" xlink:to="loc_us-gaap_RelatedPartyMember_3a932f35-6db9-4775-99fe-ac5462478721" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_0b567e4c-1ba8-4145-a145-c5e93bb4b6e1" 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_2d8c423d-d8fe-4fe0-9f7b-d4ed7e7aa1e6" xlink:to="loc_dei_LegalEntityAxis_0b567e4c-1ba8-4145-a145-c5e93bb4b6e1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_0b567e4c-1ba8-4145-a145-c5e93bb4b6e1_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_0b567e4c-1ba8-4145-a145-c5e93bb4b6e1" xlink:to="loc_dei_EntityDomain_0b567e4c-1ba8-4145-a145-c5e93bb4b6e1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_3ab36aef-705b-4736-bb31-70b7083d564d" 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_0b567e4c-1ba8-4145-a145-c5e93bb4b6e1" xlink:to="loc_dei_EntityDomain_3ab36aef-705b-4736-bb31-70b7083d564d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NetworkMedicalManagementMember_ace68b0e-f561-429f-9fa7-bf9911a4383c" xlink:href="ameh-20230930.xsd#ameh_NetworkMedicalManagementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_3ab36aef-705b-4736-bb31-70b7083d564d" xlink:to="loc_ameh_NetworkMedicalManagementMember_ace68b0e-f561-429f-9fa7-bf9911a4383c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LmaMember_ae75da67-fd5d-4a7a-aa7a-66cec11924a6" xlink:href="ameh-20230930.xsd#ameh_LmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_3ab36aef-705b-4736-bb31-70b7083d564d" xlink:to="loc_ameh_LmaMember_ae75da67-fd5d-4a7a-aa7a-66cec11924a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_00b8b0f9-e4c6-46c9-b177-37761dae9078" 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_2d8c423d-d8fe-4fe0-9f7b-d4ed7e7aa1e6" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_00b8b0f9-e4c6-46c9-b177-37761dae9078" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_00b8b0f9-e4c6-46c9-b177-37761dae9078_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_00b8b0f9-e4c6-46c9-b177-37761dae9078" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_00b8b0f9-e4c6-46c9-b177-37761dae9078_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_761af8b5-e5d1-420b-a93c-de8fdcba57f5" 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_00b8b0f9-e4c6-46c9-b177-37761dae9078" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_761af8b5-e5d1-420b-a93c-de8fdcba57f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LmaMember_9e9dc405-d6b0-4991-b833-251e448a95f6" xlink:href="ameh-20230930.xsd#ameh_LmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_761af8b5-e5d1-420b-a93c-de8fdcba57f5" xlink:to="loc_ameh_LmaMember_9e9dc405-d6b0-4991-b833-251e448a95f6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_96d8e3fd-2b86-4683-93b0-8d33f1892ab9" 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_2d8c423d-d8fe-4fe0-9f7b-d4ed7e7aa1e6" xlink:to="loc_srt_CounterpartyNameAxis_96d8e3fd-2b86-4683-93b0-8d33f1892ab9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_96d8e3fd-2b86-4683-93b0-8d33f1892ab9_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_96d8e3fd-2b86-4683-93b0-8d33f1892ab9" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_96d8e3fd-2b86-4683-93b0-8d33f1892ab9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_e6750430-1857-4f9d-9f1b-2cdb0916aca0" 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_96d8e3fd-2b86-4683-93b0-8d33f1892ab9" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_e6750430-1857-4f9d-9f1b-2cdb0916aca0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_Pacific6EnterprisesMember_e12365b5-0a8a-491a-8bb1-c8af7ec63795" xlink:href="ameh-20230930.xsd#ameh_Pacific6EnterprisesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_e6750430-1857-4f9d-9f1b-2cdb0916aca0" xlink:to="loc_ameh_Pacific6EnterprisesMember_e12365b5-0a8a-491a-8bb1-c8af7ec63795" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApcLsmaMember_74dc4014-0494-4a97-b72e-c68895429387" xlink:href="ameh-20230930.xsd#ameh_ApcLsmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_e6750430-1857-4f9d-9f1b-2cdb0916aca0" xlink:to="loc_ameh_ApcLsmaMember_74dc4014-0494-4a97-b72e-c68895429387" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_3b1437f9-6c29-4b05-9774-3934afdbad2a" 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_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_2d8c423d-d8fe-4fe0-9f7b-d4ed7e7aa1e6" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_3b1437f9-6c29-4b05-9774-3934afdbad2a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3b1437f9-6c29-4b05-9774-3934afdbad2a_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_3b1437f9-6c29-4b05-9774-3934afdbad2a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3b1437f9-6c29-4b05-9774-3934afdbad2a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_0a02d8f2-e77a-4138-ad4c-94dca0433b43" 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_3b1437f9-6c29-4b05-9774-3934afdbad2a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_0a02d8f2-e77a-4138-ad4c-94dca0433b43" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableMember_50a5eeae-4be1-4887-b2e9-2d8bca3037f2" 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_0a02d8f2-e77a-4138-ad4c-94dca0433b43" xlink:to="loc_us-gaap_NotesReceivableMember_50a5eeae-4be1-4887-b2e9-2d8bca3037f2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_ff8206e5-7849-4e11-99d3-832bef8522f0" 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_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_2d8c423d-d8fe-4fe0-9f7b-d4ed7e7aa1e6" xlink:to="loc_us-gaap_DebtInstrumentAxis_ff8206e5-7849-4e11-99d3-832bef8522f0" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_ff8206e5-7849-4e11-99d3-832bef8522f0_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_ff8206e5-7849-4e11-99d3-832bef8522f0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_ff8206e5-7849-4e11-99d3-832bef8522f0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_490d1eca-974c-4f93-9ef5-35b93440b6d2" 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_ff8206e5-7849-4e11-99d3-832bef8522f0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_490d1eca-974c-4f93-9ef5-35b93440b6d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_IntraCareConvertiblePromissoryNoteReceivableMember_c2c81706-cdf3-452d-9c06-4c8f1f3b2bf4" xlink:href="ameh-20230930.xsd#ameh_IntraCareConvertiblePromissoryNoteReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_490d1eca-974c-4f93-9ef5-35b93440b6d2" xlink:to="loc_ameh_IntraCareConvertiblePromissoryNoteReceivableMember_c2c81706-cdf3-452d-9c06-4c8f1f3b2bf4" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditScheduleofCreditFacilityDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#CreditFacilityBankLoansandLinesofCreditScheduleofCreditFacilityDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditScheduleofCreditFacilityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_d07f3f2c-3106-4bbb-a51b-2b3cdd25b5f4" 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_d76200e9-6e20-4625-96c0-fab09264d655" 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_d07f3f2c-3106-4bbb-a51b-2b3cdd25b5f4" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_d76200e9-6e20-4625-96c0-fab09264d655" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_4dde72ac-7321-4fc4-a723-9e2d2c7827aa" 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_d07f3f2c-3106-4bbb-a51b-2b3cdd25b5f4" xlink:to="loc_us-gaap_LongTermDebtCurrent_4dde72ac-7321-4fc4-a723-9e2d2c7827aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_5aa1b0a3-d6e7-43d7-a163-582a9cd93b1f" 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_d07f3f2c-3106-4bbb-a51b-2b3cdd25b5f4" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_5aa1b0a3-d6e7-43d7-a163-582a9cd93b1f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_a5c298b5-36f5-4c5e-9343-a1224347a335" 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_d07f3f2c-3106-4bbb-a51b-2b3cdd25b5f4" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_a5c298b5-36f5-4c5e-9343-a1224347a335" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_a23f3a3d-6df6-4664-b961-60627d60683f" 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_d07f3f2c-3106-4bbb-a51b-2b3cdd25b5f4" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_a23f3a3d-6df6-4664-b961-60627d60683f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_b06ada54-6f67-40e2-a0ab-80fe81f0e10c" 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_a23f3a3d-6df6-4664-b961-60627d60683f" xlink:to="loc_us-gaap_CreditFacilityAxis_b06ada54-6f67-40e2-a0ab-80fe81f0e10c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_b06ada54-6f67-40e2-a0ab-80fe81f0e10c_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_b06ada54-6f67-40e2-a0ab-80fe81f0e10c" xlink:to="loc_us-gaap_CreditFacilityDomain_b06ada54-6f67-40e2-a0ab-80fe81f0e10c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_8dd27eb0-0334-482e-8375-5413ef1a21b0" 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_b06ada54-6f67-40e2-a0ab-80fe81f0e10c" xlink:to="loc_us-gaap_CreditFacilityDomain_8dd27eb0-0334-482e-8375-5413ef1a21b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_45eddfd6-e438-495a-a3db-9a8ab563c158" 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_8dd27eb0-0334-482e-8375-5413ef1a21b0" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_45eddfd6-e438-495a-a3db-9a8ab563c158" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_0ca8d428-e25d-4699-a114-b5749bf8172e" 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_a23f3a3d-6df6-4664-b961-60627d60683f" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_0ca8d428-e25d-4699-a114-b5749bf8172e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_0ca8d428-e25d-4699-a114-b5749bf8172e_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_0ca8d428-e25d-4699-a114-b5749bf8172e" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_0ca8d428-e25d-4699-a114-b5749bf8172e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_df8756a0-92f3-45a5-b2f8-7d1bd1bc4c13" 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_0ca8d428-e25d-4699-a114-b5749bf8172e" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_df8756a0-92f3-45a5-b2f8-7d1bd1bc4c13" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateLoanMember_ebd7b7a5-4233-48c1-a489-65eaf5bba5c6" 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_df8756a0-92f3-45a5-b2f8-7d1bd1bc4c13" xlink:to="loc_us-gaap_RealEstateLoanMember_ebd7b7a5-4233-48c1-a489-65eaf5bba5c6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ConstructionLoanMember_2bac1b4d-6ffa-4ce7-b563-00157cde60e7" xlink:href="ameh-20230930.xsd#ameh_ConstructionLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_df8756a0-92f3-45a5-b2f8-7d1bd1bc4c13" xlink:to="loc_ameh_ConstructionLoanMember_2bac1b4d-6ffa-4ce7-b563-00157cde60e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayableToBanksMember_88df1aa4-a4bc-480c-866e-40eab11775e6" 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_df8756a0-92f3-45a5-b2f8-7d1bd1bc4c13" xlink:to="loc_us-gaap_NotesPayableToBanksMember_88df1aa4-a4bc-480c-866e-40eab11775e6" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#CreditFacilityBankLoansandLinesofCreditAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CreditFacilityBankLoansandLinesofCreditAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" 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_19f1f754-3fe8-4456-8795-575b8c49f513" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_DebtInstrumentTerm_19f1f754-3fe8-4456-8795-575b8c49f513" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_db7fe8a2-5514-424f-a7c6-bdaa49a1636d" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_db7fe8a2-5514-424f-a7c6-bdaa49a1636d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeeAmount_b02def68-9a5a-48c5-8772-66e2a8f6d1b6" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeeAmount_b02def68-9a5a-48c5-8772-66e2a8f6d1b6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_67d74e91-55f5-4b9b-8e75-9d2b7064073c" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_67d74e91-55f5-4b9b-8e75-9d2b7064073c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_1965cf58-64c0-4b2d-80bb-f0ed3c786c47" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_1965cf58-64c0-4b2d-80bb-f0ed3c786c47" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_7edf7bf2-2cb2-49a2-af6c-af49cb123629" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_7edf7bf2-2cb2-49a2-af6c-af49cb123629" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentNumberOfKeyFinancialRatios_1c1af751-6b3a-4f35-8a2b-85923db5935a" xlink:href="ameh-20230930.xsd#ameh_DebtInstrumentNumberOfKeyFinancialRatios"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_ameh_DebtInstrumentNumberOfKeyFinancialRatios_1c1af751-6b3a-4f35-8a2b-85923db5935a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantLeverageRatioMaximum_b350cc60-f5c6-4a06-86be-5dd349c032f8" xlink:href="ameh-20230930.xsd#ameh_DebtInstrumentCovenantLeverageRatioMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_ameh_DebtInstrumentCovenantLeverageRatioMaximum_b350cc60-f5c6-4a06-86be-5dd349c032f8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtCovenantAggregatePurchasePriceMaximum_d2f70ce7-7ea2-495c-99cf-83b38a0f5597" xlink:href="ameh-20230930.xsd#ameh_DebtCovenantAggregatePurchasePriceMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_ameh_DebtCovenantAggregatePurchasePriceMaximum_d2f70ce7-7ea2-495c-99cf-83b38a0f5597" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantLeverageRatioIncrementalChange_b045aee3-1b8a-4cb3-b598-11a4467f799d" xlink:href="ameh-20230930.xsd#ameh_DebtInstrumentCovenantLeverageRatioIncrementalChange"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_ameh_DebtInstrumentCovenantLeverageRatioIncrementalChange_b045aee3-1b8a-4cb3-b598-11a4467f799d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantLeverageRatioAdjustedMaximum_754e2917-d1af-46b0-8e99-2c5075a89a00" xlink:href="ameh-20230930.xsd#ameh_DebtInstrumentCovenantLeverageRatioAdjustedMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_ameh_DebtInstrumentCovenantLeverageRatioAdjustedMaximum_754e2917-d1af-46b0-8e99-2c5075a89a00" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantInterestCoverageRatioMinimum_1cfce274-16a8-455d-afab-69fca9af2d93" xlink:href="ameh-20230930.xsd#ameh_DebtInstrumentCovenantInterestCoverageRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_ameh_DebtInstrumentCovenantInterestCoverageRatioMinimum_1cfce274-16a8-455d-afab-69fca9af2d93" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_43ecd83f-f9ca-4b23-a5b6-eea8e5157280" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsNet_43ecd83f-f9ca-4b23-a5b6-eea8e5157280" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_8cc04204-be05-4417-a25c-268d32cb4f40" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_8cc04204-be05-4417-a25c-268d32cb4f40" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_d74c1aa5-1a81-4c50-a76d-f02ce4b2ea3a" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_LongTermDebt_d74c1aa5-1a81-4c50-a76d-f02ce4b2ea3a" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantDebtCoverageRatioMinimum_7aad528b-13d1-4c13-8857-04bc80257dec" xlink:href="ameh-20230930.xsd#ameh_DebtInstrumentCovenantDebtCoverageRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_ameh_DebtInstrumentCovenantDebtCoverageRatioMinimum_7aad528b-13d1-4c13-8857-04bc80257dec" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_c3f36d87-888f-4a1d-a852-ad941093b9f6" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_c3f36d87-888f-4a1d-a852-ad941093b9f6" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantCashFlowToDebtServiceRatioMinimum_5263a24f-4990-46f0-9616-56f0e270210b" xlink:href="ameh-20230930.xsd#ameh_DebtInstrumentCovenantCashFlowToDebtServiceRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_ameh_DebtInstrumentCovenantCashFlowToDebtServiceRatioMinimum_5263a24f-4990-46f0-9616-56f0e270210b" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtCovenantThresholdPercentageForOccupationOfProperty_fcbce97d-8298-413a-85f7-e7586d28c75a" xlink:href="ameh-20230930.xsd#ameh_DebtCovenantThresholdPercentageForOccupationOfProperty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_ameh_DebtCovenantThresholdPercentageForOccupationOfProperty_fcbce97d-8298-413a-85f7-e7586d28c75a" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentCovenantCashFlowCoverageRatioMinimum_d42d0246-72da-461f-870b-5f6f2f8b1abf" xlink:href="ameh-20230930.xsd#ameh_DebtInstrumentCovenantCashFlowCoverageRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_ameh_DebtInstrumentCovenantCashFlowCoverageRatioMinimum_d42d0246-72da-461f-870b-5f6f2f8b1abf" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateDuringPeriod_dd395173-1d04-4785-9fd4-e64552a2e652" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_DebtInstrumentInterestRateDuringPeriod_dd395173-1d04-4785-9fd4-e64552a2e652" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_4cd88da6-404e-4491-a797-54489b61714b" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_InterestExpense_4cd88da6-404e-4491-a797-54489b61714b" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_1b210141-c1a5-4a53-9a2d-16b48f8b971d" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_1b210141-c1a5-4a53-9a2d-16b48f8b971d" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_7a2ccbc5-a09b-498f-8bf5-9ba4137ebac5" 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_e5ba6064-dd78-4fa2-8c45-4f4f85fec157" xlink:to="loc_us-gaap_DebtInstrumentTable_7a2ccbc5-a09b-498f-8bf5-9ba4137ebac5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_83b822a7-9dc3-4fac-807b-19762647c2d3" 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_7a2ccbc5-a09b-498f-8bf5-9ba4137ebac5" xlink:to="loc_us-gaap_CreditFacilityAxis_83b822a7-9dc3-4fac-807b-19762647c2d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_83b822a7-9dc3-4fac-807b-19762647c2d3_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_83b822a7-9dc3-4fac-807b-19762647c2d3" xlink:to="loc_us-gaap_CreditFacilityDomain_83b822a7-9dc3-4fac-807b-19762647c2d3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_9cc2af7d-558a-46a2-a9c5-9b4b3f62d759" 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_83b822a7-9dc3-4fac-807b-19762647c2d3" xlink:to="loc_us-gaap_CreditFacilityDomain_9cc2af7d-558a-46a2-a9c5-9b4b3f62d759" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_eb88d139-6647-4ff2-8dd2-52757ca6484e" 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_9cc2af7d-558a-46a2-a9c5-9b4b3f62d759" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_eb88d139-6647-4ff2-8dd2-52757ca6484e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_7614718b-1dc1-4831-b30e-9335ef0de2b2" 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_9cc2af7d-558a-46a2-a9c5-9b4b3f62d759" xlink:to="loc_us-gaap_LineOfCreditMember_7614718b-1dc1-4831-b30e-9335ef0de2b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_3aeeccec-04bc-474b-88ad-586d2d03dfce" 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_9cc2af7d-558a-46a2-a9c5-9b4b3f62d759" xlink:to="loc_us-gaap_LetterOfCreditMember_3aeeccec-04bc-474b-88ad-586d2d03dfce" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BridgeLoanMember_43ce26ea-6cbf-4944-a409-5d2b9419a1de" 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_9cc2af7d-558a-46a2-a9c5-9b4b3f62d759" xlink:to="loc_us-gaap_BridgeLoanMember_43ce26ea-6cbf-4944-a409-5d2b9419a1de" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_b886fea2-edd3-4019-948b-4519cfc7d06b" 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_9cc2af7d-558a-46a2-a9c5-9b4b3f62d759" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_b886fea2-edd3-4019-948b-4519cfc7d06b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_89adbe82-595f-4454-86fc-857790fdb3b5" 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_7a2ccbc5-a09b-498f-8bf5-9ba4137ebac5" xlink:to="loc_us-gaap_DebtInstrumentAxis_89adbe82-595f-4454-86fc-857790fdb3b5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_89adbe82-595f-4454-86fc-857790fdb3b5_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_89adbe82-595f-4454-86fc-857790fdb3b5" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_89adbe82-595f-4454-86fc-857790fdb3b5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_74676002-dda4-473b-9833-b63989db4077" 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_89adbe82-595f-4454-86fc-857790fdb3b5" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_74676002-dda4-473b-9833-b63989db4077" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AmendedCreditAgreementMember_cec25bdb-aa7c-4f5e-9220-995491623a72" xlink:href="ameh-20230930.xsd#ameh_AmendedCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_74676002-dda4-473b-9833-b63989db4077" xlink:to="loc_ameh_AmendedCreditAgreementMember_cec25bdb-aa7c-4f5e-9220-995491623a72" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CreditAgreementMember_1fa62dd1-38fc-4a13-bcff-9e982da1d800" xlink:href="ameh-20230930.xsd#ameh_CreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_74676002-dda4-473b-9833-b63989db4077" xlink:to="loc_ameh_CreditAgreementMember_1fa62dd1-38fc-4a13-bcff-9e982da1d800" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ConstructionLoanMember_75403f33-823e-4bed-a46f-ed8a40f1bdc1" xlink:href="ameh-20230930.xsd#ameh_ConstructionLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_74676002-dda4-473b-9833-b63989db4077" xlink:to="loc_ameh_ConstructionLoanMember_75403f33-823e-4bed-a46f-ed8a40f1bdc1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionLoansMember_71f4530c-8c09-402c-b2b0-157b36076929" 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_74676002-dda4-473b-9833-b63989db4077" xlink:to="loc_us-gaap_ConstructionLoansMember_71f4530c-8c09-402c-b2b0-157b36076929" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_SubordinatedLoanAgreementMember_2ad01083-96ea-4903-981e-d85fecd23ae9" xlink:href="ameh-20230930.xsd#ameh_SubordinatedLoanAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_74676002-dda4-473b-9833-b63989db4077" xlink:to="loc_ameh_SubordinatedLoanAgreementMember_2ad01083-96ea-4903-981e-d85fecd23ae9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApcBusinessLoanAgreementMember_22f8cfd2-966e-46c3-8c02-827d1acd8ccd" xlink:href="ameh-20230930.xsd#ameh_ApcBusinessLoanAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_74676002-dda4-473b-9833-b63989db4077" xlink:to="loc_ameh_ApcBusinessLoanAgreementMember_22f8cfd2-966e-46c3-8c02-827d1acd8ccd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_7c9539ea-12a3-49d2-bfec-691b1c6abd92" 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_7a2ccbc5-a09b-498f-8bf5-9ba4137ebac5" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_7c9539ea-12a3-49d2-bfec-691b1c6abd92" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7c9539ea-12a3-49d2-bfec-691b1c6abd92_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_7c9539ea-12a3-49d2-bfec-691b1c6abd92" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7c9539ea-12a3-49d2-bfec-691b1c6abd92_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_200243b9-d433-4731-b73c-192d5d3a76ac" 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_7c9539ea-12a3-49d2-bfec-691b1c6abd92" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_200243b9-d433-4731-b73c-192d5d3a76ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_a27ebec3-390f-4f73-ab24-cbd7ae401ef8" 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_200243b9-d433-4731-b73c-192d5d3a76ac" xlink:to="loc_us-gaap_LineOfCreditMember_a27ebec3-390f-4f73-ab24-cbd7ae401ef8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebtMember_9cb1e388-b7a5-428e-83ee-46531483ba56" 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_200243b9-d433-4731-b73c-192d5d3a76ac" xlink:to="loc_us-gaap_SubordinatedDebtMember_9cb1e388-b7a5-428e-83ee-46531483ba56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_771d6cea-3cdf-4a02-9319-eef088ef975c" 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_7a2ccbc5-a09b-498f-8bf5-9ba4137ebac5" xlink:to="loc_srt_RangeAxis_771d6cea-3cdf-4a02-9319-eef088ef975c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_771d6cea-3cdf-4a02-9319-eef088ef975c_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_771d6cea-3cdf-4a02-9319-eef088ef975c" xlink:to="loc_srt_RangeMember_771d6cea-3cdf-4a02-9319-eef088ef975c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_0ba96dfc-17f5-44ea-93ea-07f61c2731da" 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_771d6cea-3cdf-4a02-9319-eef088ef975c" xlink:to="loc_srt_RangeMember_0ba96dfc-17f5-44ea-93ea-07f61c2731da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_c50243d5-8d66-4920-8e93-1f32cf62fd76" 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_0ba96dfc-17f5-44ea-93ea-07f61c2731da" xlink:to="loc_srt_MinimumMember_c50243d5-8d66-4920-8e93-1f32cf62fd76" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_c643c5d5-04bc-4d77-ba22-2eec78077708" 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_0ba96dfc-17f5-44ea-93ea-07f61c2731da" xlink:to="loc_srt_MaximumMember_c643c5d5-04bc-4d77-ba22-2eec78077708" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_69e7c96b-b5b4-4efc-bf38-7fb60eb50ca6" 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_7a2ccbc5-a09b-498f-8bf5-9ba4137ebac5" xlink:to="loc_dei_LegalEntityAxis_69e7c96b-b5b4-4efc-bf38-7fb60eb50ca6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_69e7c96b-b5b4-4efc-bf38-7fb60eb50ca6_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_69e7c96b-b5b4-4efc-bf38-7fb60eb50ca6" xlink:to="loc_dei_EntityDomain_69e7c96b-b5b4-4efc-bf38-7fb60eb50ca6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_d9d1a810-0f9e-4e7c-a031-0edf7c3fe16e" 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_69e7c96b-b5b4-4efc-bf38-7fb60eb50ca6" xlink:to="loc_dei_EntityDomain_d9d1a810-0f9e-4e7c-a031-0edf7c3fe16e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MedicalPropertyPartnersLLCMember_f6a5ea90-30f2-4cf3-a285-f3695272563f" xlink:href="ameh-20230930.xsd#ameh_MedicalPropertyPartnersLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_d9d1a810-0f9e-4e7c-a031-0edf7c3fe16e" xlink:to="loc_ameh_MedicalPropertyPartnersLLCMember_f6a5ea90-30f2-4cf3-a285-f3695272563f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AMGPropertiesLLCMember_677a3cb7-cad8-4c90-bd71-4599aef04423" xlink:href="ameh-20230930.xsd#ameh_AMGPropertiesLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_d9d1a810-0f9e-4e7c-a031-0edf7c3fe16e" xlink:to="loc_ameh_AMGPropertiesLLCMember_677a3cb7-cad8-4c90-bd71-4599aef04423" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ZLLPartnersLLCMember_b1d85806-5812-4f55-a196-f1b8de6cf5c3" xlink:href="ameh-20230930.xsd#ameh_ZLLPartnersLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_d9d1a810-0f9e-4e7c-a031-0edf7c3fe16e" xlink:to="loc_ameh_ZLLPartnersLLCMember_b1d85806-5812-4f55-a196-f1b8de6cf5c3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_A120HellmanLLCMember_41adfa47-0a60-4724-aa8a-9516c42c6f7c" xlink:href="ameh-20230930.xsd#ameh_A120HellmanLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_d9d1a810-0f9e-4e7c-a031-0edf7c3fe16e" xlink:to="loc_ameh_A120HellmanLLCMember_41adfa47-0a60-4724-aa8a-9516c42c6f7c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_Tag8MedicalInvestmentGroupLLCMember_6d27b570-a093-44d7-af18-5a1965e975a1" xlink:href="ameh-20230930.xsd#ameh_Tag8MedicalInvestmentGroupLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_d9d1a810-0f9e-4e7c-a031-0edf7c3fe16e" xlink:to="loc_ameh_Tag8MedicalInvestmentGroupLLCMember_6d27b570-a093-44d7-af18-5a1965e975a1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlliedPacificOfCaliforniaIPAMember_06c12f20-a6d5-4c11-b3da-7fec92db6943" xlink:href="ameh-20230930.xsd#ameh_AlliedPacificOfCaliforniaIPAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_d9d1a810-0f9e-4e7c-a031-0edf7c3fe16e" xlink:to="loc_ameh_AlliedPacificOfCaliforniaIPAMember_06c12f20-a6d5-4c11-b3da-7fec92db6943" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlphaCareMedicalGroupInc.Member_6e4ec68d-32d8-41a0-99f4-1c33774181e7" xlink:href="ameh-20230930.xsd#ameh_AlphaCareMedicalGroupInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_d9d1a810-0f9e-4e7c-a031-0edf7c3fe16e" xlink:to="loc_ameh_AlphaCareMedicalGroupInc.Member_6e4ec68d-32d8-41a0-99f4-1c33774181e7" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_c6970f14-1ace-4693-855a-a0be07d0ebb7" 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_7a2ccbc5-a09b-498f-8bf5-9ba4137ebac5" xlink:to="loc_us-gaap_VariableRateAxis_c6970f14-1ace-4693-855a-a0be07d0ebb7" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_c6970f14-1ace-4693-855a-a0be07d0ebb7_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_c6970f14-1ace-4693-855a-a0be07d0ebb7" xlink:to="loc_us-gaap_VariableRateDomain_c6970f14-1ace-4693-855a-a0be07d0ebb7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_e4d14697-e6a0-4ed1-bc98-82f211e58302" 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_c6970f14-1ace-4693-855a-a0be07d0ebb7" xlink:to="loc_us-gaap_VariableRateDomain_e4d14697-e6a0-4ed1-bc98-82f211e58302" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_SecuredOvernightFinancingRateMember_edd6637a-02ff-4be3-92ac-6ffd7d305467" xlink:href="ameh-20230930.xsd#ameh_SecuredOvernightFinancingRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_e4d14697-e6a0-4ed1-bc98-82f211e58302" xlink:to="loc_ameh_SecuredOvernightFinancingRateMember_edd6637a-02ff-4be3-92ac-6ffd7d305467" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_80b49ec8-a49b-4a43-b48b-1e7c7139246c" 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_e4d14697-e6a0-4ed1-bc98-82f211e58302" xlink:to="loc_us-gaap_BaseRateMember_80b49ec8-a49b-4a43-b48b-1e7c7139246c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrimeRateMember_52725569-1494-4dc3-92a1-4b52e131e28c" 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_e4d14697-e6a0-4ed1-bc98-82f211e58302" xlink:to="loc_us-gaap_PrimeRateMember_52725569-1494-4dc3-92a1-4b52e131e28c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_3dd6e422-041b-43d2-9ee6-c94a6a7765e0" 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_7a2ccbc5-a09b-498f-8bf5-9ba4137ebac5" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_3dd6e422-041b-43d2-9ee6-c94a6a7765e0" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_3dd6e422-041b-43d2-9ee6-c94a6a7765e0_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_3dd6e422-041b-43d2-9ee6-c94a6a7765e0" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_3dd6e422-041b-43d2-9ee6-c94a6a7765e0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_749544d5-47ac-468a-a158-11a59f095a8b" 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_3dd6e422-041b-43d2-9ee6-c94a6a7765e0" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_749544d5-47ac-468a-a158-11a59f095a8b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PreferredBankMember_8628ccc5-4c65-4b5e-9687-919b10313a25" xlink:href="ameh-20230930.xsd#ameh_PreferredBankMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_749544d5-47ac-468a-a158-11a59f095a8b" xlink:to="loc_ameh_PreferredBankMember_8628ccc5-4c65-4b5e-9687-919b10313a25" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_TruistBankMember_0ea8a93f-c197-4b8c-80d4-6b00e904cfe6" xlink:href="ameh-20230930.xsd#ameh_TruistBankMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_749544d5-47ac-468a-a158-11a59f095a8b" xlink:to="loc_ameh_TruistBankMember_0ea8a93f-c197-4b8c-80d4-6b00e904cfe6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_ea6f0338-69b8-466e-8198-413301cc01d8" 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_7a2ccbc5-a09b-498f-8bf5-9ba4137ebac5" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_ea6f0338-69b8-466e-8198-413301cc01d8" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_ea6f0338-69b8-466e-8198-413301cc01d8_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_ea6f0338-69b8-466e-8198-413301cc01d8" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_ea6f0338-69b8-466e-8198-413301cc01d8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_a782d4a8-3b36-4983-8c6c-be25dc4d91e7" 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_ea6f0338-69b8-466e-8198-413301cc01d8" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_a782d4a8-3b36-4983-8c6c-be25dc4d91e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_4f4ce827-cd1a-4206-8f18-d258f054bbc4" 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_a782d4a8-3b36-4983-8c6c-be25dc4d91e7" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_4f4ce827-cd1a-4206-8f18-d258f054bbc4" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/MezzanineandStockholdersEquityDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#MezzanineandStockholdersEquityDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/MezzanineandStockholdersEquityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_8854077c-5665-436c-a9c7-d1dd0f8dc7d1" 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_f55ba677-ab03-43ff-9ddd-317a38c17148" xlink:href="ameh-20230930.xsd#ameh_StockIssuedDuringPeriodSharesMerger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_8854077c-5665-436c-a9c7-d1dd0f8dc7d1" xlink:to="loc_ameh_StockIssuedDuringPeriodSharesMerger_f55ba677-ab03-43ff-9ddd-317a38c17148" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_08cac072-f299-4ba6-b66f-ed8d3ee4a243" 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_8854077c-5665-436c-a9c7-d1dd0f8dc7d1" xlink:to="loc_us-gaap_TreasuryStockCommonShares_08cac072-f299-4ba6-b66f-ed8d3ee4a243" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_c6143beb-097d-487c-bbd3-6eade09fdc75" 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_8854077c-5665-436c-a9c7-d1dd0f8dc7d1" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_c6143beb-097d-487c-bbd3-6eade09fdc75" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Dividends_909bbf48-582e-4102-b7c8-55c2bc512231" 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_8854077c-5665-436c-a9c7-d1dd0f8dc7d1" xlink:to="loc_us-gaap_Dividends_909bbf48-582e-4102-b7c8-55c2bc512231" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_a49e4797-604c-4471-859d-1e2f4bfe8b9f" 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_8854077c-5665-436c-a9c7-d1dd0f8dc7d1" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_a49e4797-604c-4471-859d-1e2f4bfe8b9f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_3fef8469-6e6f-4172-aa61-02dd10b30825" 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_a49e4797-604c-4471-859d-1e2f4bfe8b9f" xlink:to="loc_dei_LegalEntityAxis_3fef8469-6e6f-4172-aa61-02dd10b30825" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_3fef8469-6e6f-4172-aa61-02dd10b30825_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_3fef8469-6e6f-4172-aa61-02dd10b30825" xlink:to="loc_dei_EntityDomain_3fef8469-6e6f-4172-aa61-02dd10b30825_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_9afd85b9-8c8e-4d75-b6e1-37a5cb9ce160" 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_3fef8469-6e6f-4172-aa61-02dd10b30825" xlink:to="loc_dei_EntityDomain_9afd85b9-8c8e-4d75-b6e1-37a5cb9ce160" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlliedPacificOfCaliforniaIPAMember_ac452995-d8cb-4fae-9830-247cf1e822f6" xlink:href="ameh-20230930.xsd#ameh_AlliedPacificOfCaliforniaIPAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_9afd85b9-8c8e-4d75-b6e1-37a5cb9ce160" xlink:to="loc_ameh_AlliedPacificOfCaliforniaIPAMember_ac452995-d8cb-4fae-9830-247cf1e822f6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CDSCMember_bd1e89e0-c38d-49ea-b36d-749f31186b66" xlink:href="ameh-20230930.xsd#ameh_CDSCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_9afd85b9-8c8e-4d75-b6e1-37a5cb9ce160" xlink:to="loc_ameh_CDSCMember_bd1e89e0-c38d-49ea-b36d-749f31186b66" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/StockBasedCompensationScheduleofShareBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#StockBasedCompensationScheduleofShareBasedCompensationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/StockBasedCompensationScheduleofShareBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_325b8a11-7d60-43a5-93a0-2f7eb96fe9b3" 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_0f59d72e-2ee8-4dbc-a10c-c87a11fbf1de" 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_325b8a11-7d60-43a5-93a0-2f7eb96fe9b3" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_0f59d72e-2ee8-4dbc-a10c-c87a11fbf1de" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_84d88ce4-0e45-4703-bc7e-cc4aedad7f46" 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_325b8a11-7d60-43a5-93a0-2f7eb96fe9b3" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_84d88ce4-0e45-4703-bc7e-cc4aedad7f46" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_63f7c1f8-1b14-4ce0-9a88-58cca7824573" 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_84d88ce4-0e45-4703-bc7e-cc4aedad7f46" xlink:to="loc_us-gaap_AwardTypeAxis_63f7c1f8-1b14-4ce0-9a88-58cca7824573" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_63f7c1f8-1b14-4ce0-9a88-58cca7824573_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_63f7c1f8-1b14-4ce0-9a88-58cca7824573" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_63f7c1f8-1b14-4ce0-9a88-58cca7824573_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3ea2e486-9efe-4559-9243-e4beaf850ba8" 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_63f7c1f8-1b14-4ce0-9a88-58cca7824573" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3ea2e486-9efe-4559-9243-e4beaf850ba8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_5fccc926-1dd9-4e5a-849d-3216e2e46f3a" 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_3ea2e486-9efe-4559-9243-e4beaf850ba8" xlink:to="loc_us-gaap_EmployeeStockOptionMember_5fccc926-1dd9-4e5a-849d-3216e2e46f3a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_StockAwardsAndUnitsMember_65ec0a10-e36c-438a-a292-f7322870700b" xlink:href="ameh-20230930.xsd#ameh_StockAwardsAndUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3ea2e486-9efe-4559-9243-e4beaf850ba8" xlink:to="loc_ameh_StockAwardsAndUnitsMember_65ec0a10-e36c-438a-a292-f7322870700b" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/StockBasedCompensationAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#StockBasedCompensationAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/StockBasedCompensationAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a6b6146a-cfab-4d78-bc0d-4af566d210eb" 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_80913a8e-57aa-4b7b-8011-78356989bf4f" 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_a6b6146a-cfab-4d78-bc0d-4af566d210eb" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_80913a8e-57aa-4b7b-8011-78356989bf4f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_7687f703-4181-4046-a64b-34a17e731ef2" 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_a6b6146a-cfab-4d78-bc0d-4af566d210eb" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_7687f703-4181-4046-a64b-34a17e731ef2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_2cb36269-7dcf-4e68-93fb-de98ab9045a0" 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_a6b6146a-cfab-4d78-bc0d-4af566d210eb" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_2cb36269-7dcf-4e68-93fb-de98ab9045a0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_d9400680-dcec-4b2e-a7fa-8dda805bbfa3" 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_a6b6146a-cfab-4d78-bc0d-4af566d210eb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_d9400680-dcec-4b2e-a7fa-8dda805bbfa3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsContingentOnPerformance_4d304c3c-b1a8-4266-847c-60a029ccf770" xlink:href="ameh-20230930.xsd#ameh_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsContingentOnPerformance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a6b6146a-cfab-4d78-bc0d-4af566d210eb" xlink:to="loc_ameh_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsContingentOnPerformance_4d304c3c-b1a8-4266-847c-60a029ccf770" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_4b5046a1-e4cc-44f3-b41e-2247b83de6d4" 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_a6b6146a-cfab-4d78-bc0d-4af566d210eb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_4b5046a1-e4cc-44f3-b41e-2247b83de6d4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_63c771ca-9c12-4eb8-8b5d-2da30a7ab688" 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_a6b6146a-cfab-4d78-bc0d-4af566d210eb" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_63c771ca-9c12-4eb8-8b5d-2da30a7ab688" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightOutstanding_09977f1a-da56-43d3-a7d2-9adb472fdb96" 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_a6b6146a-cfab-4d78-bc0d-4af566d210eb" xlink:to="loc_us-gaap_ClassOfWarrantOrRightOutstanding_09977f1a-da56-43d3-a7d2-9adb472fdb96" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExercisesInPeriod_7092fb39-433e-44f0-a323-9dded434178f" xlink:href="ameh-20230930.xsd#ameh_ShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExercisesInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a6b6146a-cfab-4d78-bc0d-4af566d210eb" xlink:to="loc_ameh_ShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExercisesInPeriod_7092fb39-433e-44f0-a323-9dded434178f" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_WarrantIssuedDuringPeriodValueStockOptionsExercised_51fd4fec-1711-4c0b-9c13-c14e1f0b9ac2" xlink:href="ameh-20230930.xsd#ameh_WarrantIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a6b6146a-cfab-4d78-bc0d-4af566d210eb" xlink:to="loc_ameh_WarrantIssuedDuringPeriodValueStockOptionsExercised_51fd4fec-1711-4c0b-9c13-c14e1f0b9ac2" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ShareBasedCompensationArrangementBySharebasedPaymentAwardWarrantExercisedExercisePrice_2c456647-edf3-4735-bdaa-1dccdd75c70e" xlink:href="ameh-20230930.xsd#ameh_ShareBasedCompensationArrangementBySharebasedPaymentAwardWarrantExercisedExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a6b6146a-cfab-4d78-bc0d-4af566d210eb" xlink:to="loc_ameh_ShareBasedCompensationArrangementBySharebasedPaymentAwardWarrantExercisedExercisePrice_2c456647-edf3-4735-bdaa-1dccdd75c70e" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3f4c4f8a-9000-4b3e-bac1-a3a2a62753fa" 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_a6b6146a-cfab-4d78-bc0d-4af566d210eb" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_3f4c4f8a-9000-4b3e-bac1-a3a2a62753fa" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_389e6a63-a804-4c77-be11-869408cd2b98" 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_3f4c4f8a-9000-4b3e-bac1-a3a2a62753fa" xlink:to="loc_srt_TitleOfIndividualAxis_389e6a63-a804-4c77-be11-869408cd2b98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_389e6a63-a804-4c77-be11-869408cd2b98_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_389e6a63-a804-4c77-be11-869408cd2b98" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_389e6a63-a804-4c77-be11-869408cd2b98_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_35ec282e-249d-4cf7-8fe3-4951638828f7" 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_389e6a63-a804-4c77-be11-869408cd2b98" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_35ec282e-249d-4cf7-8fe3-4951638828f7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApcStockOptionMember_5a361dc4-52a4-49ac-bcd3-91b377babeb5" xlink:href="ameh-20230930.xsd#ameh_ApcStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_35ec282e-249d-4cf7-8fe3-4951638828f7" xlink:to="loc_ameh_ApcStockOptionMember_5a361dc4-52a4-49ac-bcd3-91b377babeb5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_649e0fe2-481b-4be0-b8fa-10ae048fcc57" 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_3f4c4f8a-9000-4b3e-bac1-a3a2a62753fa" xlink:to="loc_us-gaap_AwardTypeAxis_649e0fe2-481b-4be0-b8fa-10ae048fcc57" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_649e0fe2-481b-4be0-b8fa-10ae048fcc57_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_649e0fe2-481b-4be0-b8fa-10ae048fcc57" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_649e0fe2-481b-4be0-b8fa-10ae048fcc57_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a22f0773-f477-48df-ab09-ed70353e6e9b" 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_649e0fe2-481b-4be0-b8fa-10ae048fcc57" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a22f0773-f477-48df-ab09-ed70353e6e9b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_4071b962-e102-468e-8888-e873be28f2d2" 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_a22f0773-f477-48df-ab09-ed70353e6e9b" xlink:to="loc_us-gaap_RestrictedStockMember_4071b962-e102-468e-8888-e873be28f2d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PerformanceBasedRestrictedStockMember_40d018e7-2514-4ddb-a44a-7a13889d021d" xlink:href="ameh-20230930.xsd#ameh_PerformanceBasedRestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a22f0773-f477-48df-ab09-ed70353e6e9b" xlink:to="loc_ameh_PerformanceBasedRestrictedStockMember_40d018e7-2514-4ddb-a44a-7a13889d021d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_24e20bdd-3597-48b4-b8e5-a08f44dc032a" 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_3f4c4f8a-9000-4b3e-bac1-a3a2a62753fa" xlink:to="loc_srt_RangeAxis_24e20bdd-3597-48b4-b8e5-a08f44dc032a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_24e20bdd-3597-48b4-b8e5-a08f44dc032a_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_24e20bdd-3597-48b4-b8e5-a08f44dc032a" xlink:to="loc_srt_RangeMember_24e20bdd-3597-48b4-b8e5-a08f44dc032a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_b577b3bb-c00c-4fe0-9aff-68f789ddfc3a" 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_24e20bdd-3597-48b4-b8e5-a08f44dc032a" xlink:to="loc_srt_RangeMember_b577b3bb-c00c-4fe0-9aff-68f789ddfc3a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_8d4864be-4e24-4035-bef6-c8e5e9e980ec" 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_b577b3bb-c00c-4fe0-9aff-68f789ddfc3a" xlink:to="loc_srt_MinimumMember_8d4864be-4e24-4035-bef6-c8e5e9e980ec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_fdad4331-49d5-46b2-b1c8-b2778d158b2e" 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_b577b3bb-c00c-4fe0-9aff-68f789ddfc3a" xlink:to="loc_srt_MaximumMember_fdad4331-49d5-46b2-b1c8-b2778d158b2e" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/CommitmentsandContingenciesDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#CommitmentsandContingenciesDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/CommitmentsandContingenciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CommitmentsAndContingenciesLineItems_59103ad4-6a10-4543-86be-c5dfd2f2eaa7" xlink:href="ameh-20230930.xsd#ameh_CommitmentsAndContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_444dd499-8dc2-4420-b13a-c8ef5ef99724" 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_59103ad4-6a10-4543-86be-c5dfd2f2eaa7" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_444dd499-8dc2-4420-b13a-c8ef5ef99724" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_ee496385-d36c-4e37-a9e2-63afeaa1c00e" 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_59103ad4-6a10-4543-86be-c5dfd2f2eaa7" xlink:to="loc_us-gaap_LineOfCredit_ee496385-d36c-4e37-a9e2-63afeaa1c00e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CommitmentsAndContingenciesTable_b473fc2c-b0ee-43ad-a544-fb5fdaef62cd" xlink:href="ameh-20230930.xsd#ameh_CommitmentsAndContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ameh_CommitmentsAndContingenciesLineItems_59103ad4-6a10-4543-86be-c5dfd2f2eaa7" xlink:to="loc_ameh_CommitmentsAndContingenciesTable_b473fc2c-b0ee-43ad-a544-fb5fdaef62cd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_1876ae2c-13c5-4dde-a805-22ca57a6353a" 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_b473fc2c-b0ee-43ad-a544-fb5fdaef62cd" xlink:to="loc_us-gaap_DebtInstrumentAxis_1876ae2c-13c5-4dde-a805-22ca57a6353a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1876ae2c-13c5-4dde-a805-22ca57a6353a_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_1876ae2c-13c5-4dde-a805-22ca57a6353a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1876ae2c-13c5-4dde-a805-22ca57a6353a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_a28afe2c-efaf-4c78-8382-047031b58df7" 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_1876ae2c-13c5-4dde-a805-22ca57a6353a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_a28afe2c-efaf-4c78-8382-047031b58df7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AmendedCreditAgreementMember_b3dfa28a-1258-42f7-9e16-77898f4d3a1a" xlink:href="ameh-20230930.xsd#ameh_AmendedCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_a28afe2c-efaf-4c78-8382-047031b58df7" xlink:to="loc_ameh_AmendedCreditAgreementMember_b3dfa28a-1258-42f7-9e16-77898f4d3a1a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_bc686773-2e54-405b-9905-1ce7cf8bfd60" 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_b473fc2c-b0ee-43ad-a544-fb5fdaef62cd" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_bc686773-2e54-405b-9905-1ce7cf8bfd60" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_bc686773-2e54-405b-9905-1ce7cf8bfd60_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_bc686773-2e54-405b-9905-1ce7cf8bfd60" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_bc686773-2e54-405b-9905-1ce7cf8bfd60_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_e15c093a-1ed2-498a-8dee-22e7e69e8c78" 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_bc686773-2e54-405b-9905-1ce7cf8bfd60" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_e15c093a-1ed2-498a-8dee-22e7e69e8c78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_TruistBankMember_7a874cda-d73e-424f-a64d-b55fd46bb894" xlink:href="ameh-20230930.xsd#ameh_TruistBankMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_e15c093a-1ed2-498a-8dee-22e7e69e8c78" xlink:to="loc_ameh_TruistBankMember_7a874cda-d73e-424f-a64d-b55fd46bb894" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_91a26a4f-cb77-49cc-b01e-d623b3ca0d7c" 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_b473fc2c-b0ee-43ad-a544-fb5fdaef62cd" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityAxis_91a26a4f-cb77-49cc-b01e-d623b3ca0d7c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_91a26a4f-cb77-49cc-b01e-d623b3ca0d7c_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_91a26a4f-cb77-49cc-b01e-d623b3ca0d7c" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_91a26a4f-cb77-49cc-b01e-d623b3ca0d7c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_07557801-a638-47a4-abe5-a480d2ee15a5" 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_91a26a4f-cb77-49cc-b01e-d623b3ca0d7c" xlink:to="loc_us-gaap_FinancialSupportToNonconsolidatedLegalEntityDomain_07557801-a638-47a4-abe5-a480d2ee15a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StandbyLettersOfCreditMember_b078c8a1-81f6-492c-ad30-156bd4476477" 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_07557801-a638-47a4-abe5-a480d2ee15a5" xlink:to="loc_us-gaap_StandbyLettersOfCreditMember_b078c8a1-81f6-492c-ad30-156bd4476477" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_43034475-9c99-44bc-a0e3-e2c1f8f1b45c" 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_b473fc2c-b0ee-43ad-a544-fb5fdaef62cd" xlink:to="loc_dei_LegalEntityAxis_43034475-9c99-44bc-a0e3-e2c1f8f1b45c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_43034475-9c99-44bc-a0e3-e2c1f8f1b45c_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_43034475-9c99-44bc-a0e3-e2c1f8f1b45c" xlink:to="loc_dei_EntityDomain_43034475-9c99-44bc-a0e3-e2c1f8f1b45c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_2781b6e3-6a9a-41a5-85c1-58e17de9aca4" 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_43034475-9c99-44bc-a0e3-e2c1f8f1b45c" xlink:to="loc_dei_EntityDomain_2781b6e3-6a9a-41a5-85c1-58e17de9aca4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlliedPacificOfCaliforniaIPAMember_942d3203-0b11-40c5-9ce3-85c74be3f1c6" xlink:href="ameh-20230930.xsd#ameh_AlliedPacificOfCaliforniaIPAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_2781b6e3-6a9a-41a5-85c1-58e17de9aca4" xlink:to="loc_ameh_AlliedPacificOfCaliforniaIPAMember_942d3203-0b11-40c5-9ce3-85c74be3f1c6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlphaCareMedicalGroupInc.Member_72cc5331-d4c5-467c-bd41-afaf77bf444c" xlink:href="ameh-20230930.xsd#ameh_AlphaCareMedicalGroupInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_2781b6e3-6a9a-41a5-85c1-58e17de9aca4" xlink:to="loc_ameh_AlphaCareMedicalGroupInc.Member_72cc5331-d4c5-467c-bd41-afaf77bf444c" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/RelatedPartyTransactionsAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#RelatedPartyTransactionsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/RelatedPartyTransactionsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_9a8e64c7-8c12-4104-8978-006c4c16c61e" 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_716c233a-8c91-459e-9a44-c8426a1cbc49" 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_9a8e64c7-8c12-4104-8978-006c4c16c61e" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_716c233a-8c91-459e-9a44-c8426a1cbc49" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_70645cb3-f7fa-4067-819e-b7e97b4f8ee3" 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_9a8e64c7-8c12-4104-8978-006c4c16c61e" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_70645cb3-f7fa-4067-819e-b7e97b4f8ee3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_be766b5d-dae1-451c-b46c-00de9fd4745c" 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_9a8e64c7-8c12-4104-8978-006c4c16c61e" xlink:to="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_be766b5d-dae1-451c-b46c-00de9fd4745c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d5586a46-dab3-41a2-b814-c217feba3a8c" 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_9a8e64c7-8c12-4104-8978-006c4c16c61e" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d5586a46-dab3-41a2-b814-c217feba3a8c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCreditsAndOtherLiabilities_09fe527c-7bec-41a9-afbf-f6b6d4809c37" 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_9a8e64c7-8c12-4104-8978-006c4c16c61e" xlink:to="loc_us-gaap_DeferredCreditsAndOtherLiabilities_09fe527c-7bec-41a9-afbf-f6b6d4809c37" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_d93362f7-8910-4bf2-8d41-6afeb242e492" 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_9a8e64c7-8c12-4104-8978-006c4c16c61e" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_d93362f7-8910-4bf2-8d41-6afeb242e492" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_645fa8e8-8af8-4346-9433-b53cb5effd45" 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_d93362f7-8910-4bf2-8d41-6afeb242e492" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_645fa8e8-8af8-4346-9433-b53cb5effd45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_645fa8e8-8af8-4346-9433-b53cb5effd45_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_645fa8e8-8af8-4346-9433-b53cb5effd45" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_645fa8e8-8af8-4346-9433-b53cb5effd45_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_33506c95-a6eb-43be-8e5f-7baa953b065c" 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_645fa8e8-8af8-4346-9433-b53cb5effd45" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_33506c95-a6eb-43be-8e5f-7baa953b065c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LmaMember_78a21dea-f116-40e5-a291-f8b32123a63e" xlink:href="ameh-20230930.xsd#ameh_LmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_33506c95-a6eb-43be-8e5f-7baa953b065c" xlink:to="loc_ameh_LmaMember_78a21dea-f116-40e5-a291-f8b32123a63e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PmiocMember_436a24b7-db55-480b-a675-1ca9c1a62302" xlink:href="ameh-20230930.xsd#ameh_PmiocMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_33506c95-a6eb-43be-8e5f-7baa953b065c" xlink:to="loc_ameh_PmiocMember_436a24b7-db55-480b-a675-1ca9c1a62302" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_OneMSOInc.Member_3342a3c2-87ea-4a58-8a53-15b90027c8d1" xlink:href="ameh-20230930.xsd#ameh_OneMSOInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_33506c95-a6eb-43be-8e5f-7baa953b065c" xlink:to="loc_ameh_OneMSOInc.Member_3342a3c2-87ea-4a58-8a53-15b90027c8d1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_4d951f43-1dd7-42ff-89e1-4ff0f1666fe2" 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_d93362f7-8910-4bf2-8d41-6afeb242e492" xlink:to="loc_dei_LegalEntityAxis_4d951f43-1dd7-42ff-89e1-4ff0f1666fe2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_4d951f43-1dd7-42ff-89e1-4ff0f1666fe2_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_4d951f43-1dd7-42ff-89e1-4ff0f1666fe2" xlink:to="loc_dei_EntityDomain_4d951f43-1dd7-42ff-89e1-4ff0f1666fe2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_0a7242cd-8b4c-4b97-a5d4-06c0c269c320" 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_4d951f43-1dd7-42ff-89e1-4ff0f1666fe2" xlink:to="loc_dei_EntityDomain_0a7242cd-8b4c-4b97-a5d4-06c0c269c320" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_NetworkMedicalManagementMember_707404c1-f036-4328-b1da-8f6f43648317" xlink:href="ameh-20230930.xsd#ameh_NetworkMedicalManagementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_0a7242cd-8b4c-4b97-a5d4-06c0c269c320" xlink:to="loc_ameh_NetworkMedicalManagementMember_707404c1-f036-4328-b1da-8f6f43648317" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlliedPacificOfCaliforniaIPAMember_1ae2092b-007a-4d51-9217-b1e88e91fc17" xlink:href="ameh-20230930.xsd#ameh_AlliedPacificOfCaliforniaIPAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_0a7242cd-8b4c-4b97-a5d4-06c0c269c320" xlink:to="loc_ameh_AlliedPacificOfCaliforniaIPAMember_1ae2092b-007a-4d51-9217-b1e88e91fc17" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_MedicalPropertyPartnersLLCMember_cb8c78c6-6eae-4c7a-a1bc-0655db62a0d4" xlink:href="ameh-20230930.xsd#ameh_MedicalPropertyPartnersLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_0a7242cd-8b4c-4b97-a5d4-06c0c269c320" xlink:to="loc_ameh_MedicalPropertyPartnersLLCMember_cb8c78c6-6eae-4c7a-a1bc-0655db62a0d4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_Tag6MedicalInvestmentGroupLLCMember_bc44c4a9-776b-422d-8004-7350f24de8c8" xlink:href="ameh-20230930.xsd#ameh_Tag6MedicalInvestmentGroupLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_0a7242cd-8b4c-4b97-a5d4-06c0c269c320" xlink:to="loc_ameh_Tag6MedicalInvestmentGroupLLCMember_bc44c4a9-776b-422d-8004-7350f24de8c8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ProfessionalMedicalCorporationMember_6394f6b7-8510-408c-bc1c-02bd83352ce5" xlink:href="ameh-20230930.xsd#ameh_ProfessionalMedicalCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_0a7242cd-8b4c-4b97-a5d4-06c0c269c320" xlink:to="loc_ameh_ProfessionalMedicalCorporationMember_6394f6b7-8510-408c-bc1c-02bd83352ce5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_e1ee4c81-b7ff-4bb9-8422-5dea782d436e" 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_d93362f7-8910-4bf2-8d41-6afeb242e492" xlink:to="loc_srt_CounterpartyNameAxis_e1ee4c81-b7ff-4bb9-8422-5dea782d436e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_e1ee4c81-b7ff-4bb9-8422-5dea782d436e_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_e1ee4c81-b7ff-4bb9-8422-5dea782d436e" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_e1ee4c81-b7ff-4bb9-8422-5dea782d436e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" 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_e1ee4c81-b7ff-4bb9-8422-5dea782d436e" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LmaMember_8ad1e678-b76a-4ea9-a443-842bce8aaea0" xlink:href="ameh-20230930.xsd#ameh_LmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_LmaMember_8ad1e678-b76a-4ea9-a443-842bce8aaea0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ArroyoVistaMember_874de80c-c278-47f0-9750-9e64e452586e" xlink:href="ameh-20230930.xsd#ameh_ArroyoVistaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_ArroyoVistaMember_874de80c-c278-47f0-9750-9e64e452586e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_PmiocMember_23ba5072-8d4f-4218-82f7-7f78bc0f9c97" xlink:href="ameh-20230930.xsd#ameh_PmiocMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_PmiocMember_23ba5072-8d4f-4218-82f7-7f78bc0f9c97" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_SongPCMember_f2319db2-27c2-470a-8ba6-fae7bbadbec1" xlink:href="ameh-20230930.xsd#ameh_SongPCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_SongPCMember_f2319db2-27c2-470a-8ba6-fae7bbadbec1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AdvanceDiagnosticSurgeryCenterMember_6ef6c1c4-72fc-4fda-a77b-04c6dfcb2242" xlink:href="ameh-20230930.xsd#ameh_AdvanceDiagnosticSurgeryCenterMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_AdvanceDiagnosticSurgeryCenterMember_6ef6c1c4-72fc-4fda-a77b-04c6dfcb2242" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_FulgentGeneticsIncMember_50ad2a3c-e64a-4ca7-81f4-73c7cce95fb0" xlink:href="ameh-20230930.xsd#ameh_FulgentGeneticsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_FulgentGeneticsIncMember_50ad2a3c-e64a-4ca7-81f4-73c7cce95fb0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_SunnyVillageCareCenterMember_97894b8d-82d9-447e-96da-9432c5bd8a4a" xlink:href="ameh-20230930.xsd#ameh_SunnyVillageCareCenterMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_SunnyVillageCareCenterMember_97894b8d-82d9-447e-96da-9432c5bd8a4a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_OneMSOInc.Member_31f60343-621b-41cc-bcce-516eeecfd3a3" xlink:href="ameh-20230930.xsd#ameh_OneMSOInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_OneMSOInc.Member_31f60343-621b-41cc-bcce-516eeecfd3a3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_FirstCommonwealthPropertyLLCMember_dfe7a2af-e8ff-4733-a8b0-82cd4b56a9fe" xlink:href="ameh-20230930.xsd#ameh_FirstCommonwealthPropertyLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_FirstCommonwealthPropertyLLCMember_dfe7a2af-e8ff-4733-a8b0-82cd4b56a9fe" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AHMCMember_fd4ed823-d2a4-4a65-93c1-783597ba51d4" xlink:href="ameh-20230930.xsd#ameh_AHMCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_AHMCMember_fd4ed823-d2a4-4a65-93c1-783597ba51d4" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BoardMembersMember_e39d7f84-52ee-439d-bb8f-5cac85e43eb6" xlink:href="ameh-20230930.xsd#ameh_BoardMembersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_BoardMembersMember_e39d7f84-52ee-439d-bb8f-5cac85e43eb6" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BoardMembersWhoAreAlsoOfficersMember_4d0916cb-df5d-423b-84e5-7e8c5ff40b85" xlink:href="ameh-20230930.xsd#ameh_BoardMembersWhoAreAlsoOfficersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_BoardMembersWhoAreAlsoOfficersMember_4d0916cb-df5d-423b-84e5-7e8c5ff40b85" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApcShareholdersMember_1dca8db6-7be2-4ec6-b76c-3daf75ad75e1" xlink:href="ameh-20230930.xsd#ameh_ApcShareholdersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_ApcShareholdersMember_1dca8db6-7be2-4ec6-b76c-3daf75ad75e1" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ShareholdersAndOfficersMember_a5ccc4fd-4e91-4b9d-b676-ec2c12b92a9f" xlink:href="ameh-20230930.xsd#ameh_ShareholdersAndOfficersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_15b5482f-e2ef-4ee6-9860-17a1a96ed6fb" xlink:to="loc_ameh_ShareholdersAndOfficersMember_a5ccc4fd-4e91-4b9d-b676-ec2c12b92a9f" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0c239bc1-4f79-414d-b8d0-2c205694b8e0" 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_d93362f7-8910-4bf2-8d41-6afeb242e492" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0c239bc1-4f79-414d-b8d0-2c205694b8e0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_0c239bc1-4f79-414d-b8d0-2c205694b8e0_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_0c239bc1-4f79-414d-b8d0-2c205694b8e0" xlink:to="loc_us-gaap_RelatedPartyDomain_0c239bc1-4f79-414d-b8d0-2c205694b8e0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_aa655b04-722e-4532-befe-8cdd60f57c68" 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_0c239bc1-4f79-414d-b8d0-2c205694b8e0" xlink:to="loc_us-gaap_RelatedPartyDomain_aa655b04-722e-4532-befe-8cdd60f57c68" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_10963e9a-5f25-43bb-9d95-ca072d78cfae" 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_aa655b04-722e-4532-befe-8cdd60f57c68" xlink:to="loc_us-gaap_RelatedPartyMember_10963e9a-5f25-43bb-9d95-ca072d78cfae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_DirectorMember_30b5b969-79dd-4255-923f-b6c724a2fd7e" 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_aa655b04-722e-4532-befe-8cdd60f57c68" xlink:to="loc_srt_DirectorMember_30b5b969-79dd-4255-923f-b6c724a2fd7e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_b34f7cfc-2836-488a-b244-bb75a3ff4d3d" 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_d93362f7-8910-4bf2-8d41-6afeb242e492" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_b34f7cfc-2836-488a-b244-bb75a3ff4d3d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_b34f7cfc-2836-488a-b244-bb75a3ff4d3d_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_b34f7cfc-2836-488a-b244-bb75a3ff4d3d" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_b34f7cfc-2836-488a-b244-bb75a3ff4d3d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_7534a041-b811-413e-b2ce-dbf1636f3691" 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_b34f7cfc-2836-488a-b244-bb75a3ff4d3d" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_7534a041-b811-413e-b2ce-dbf1636f3691" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ProviderServicesMember_2b26eb9b-f89f-4953-adc2-a19a45ba1cc6" xlink:href="ameh-20230930.xsd#ameh_ProviderServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_7534a041-b811-413e-b2ce-dbf1636f3691" xlink:to="loc_ameh_ProviderServicesMember_2b26eb9b-f89f-4953-adc2-a19a45ba1cc6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_RentPaymentMember_01849ea9-c72e-4c7b-9624-62e6bca5a285" xlink:href="ameh-20230930.xsd#ameh_RentPaymentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_7534a041-b811-413e-b2ce-dbf1636f3691" xlink:to="loc_ameh_RentPaymentMember_01849ea9-c72e-4c7b-9624-62e6bca5a285" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_OfficeLeaseMember_66ddcc77-425b-4459-af12-07a5b8bb6a44" xlink:href="ameh-20230930.xsd#ameh_OfficeLeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_7534a041-b811-413e-b2ce-dbf1636f3691" xlink:to="loc_ameh_OfficeLeaseMember_66ddcc77-425b-4459-af12-07a5b8bb6a44" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_46c6fd7a-9398-4967-8ff5-96e6b74ebb05" 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_d93362f7-8910-4bf2-8d41-6afeb242e492" xlink:to="loc_srt_ProductOrServiceAxis_46c6fd7a-9398-4967-8ff5-96e6b74ebb05" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_46c6fd7a-9398-4967-8ff5-96e6b74ebb05_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_46c6fd7a-9398-4967-8ff5-96e6b74ebb05" xlink:to="loc_srt_ProductsAndServicesDomain_46c6fd7a-9398-4967-8ff5-96e6b74ebb05_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_65eb565e-ed0e-44ea-80c1-a9c15e21a4f8" 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_46c6fd7a-9398-4967-8ff5-96e6b74ebb05" xlink:to="loc_srt_ProductsAndServicesDomain_65eb565e-ed0e-44ea-80c1-a9c15e21a4f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HealthCareOtherMember_0fb5eeaf-86b3-4f64-b191-e0becca30eba" 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_65eb565e-ed0e-44ea-80c1-a9c15e21a4f8" xlink:to="loc_us-gaap_HealthCareOtherMember_0fb5eeaf-86b3-4f64-b191-e0becca30eba" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/RelatedPartyTransactionsScheduleofFeesIncurredandRevenueEarnedfromRelatedPartyTransactionsDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#RelatedPartyTransactionsScheduleofFeesIncurredandRevenueEarnedfromRelatedPartyTransactionsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/RelatedPartyTransactionsScheduleofFeesIncurredandRevenueEarnedfromRelatedPartyTransactionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_620228c0-59b8-4574-b4f4-4d2ac769e593" 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_a1648eaf-c3e4-421c-95f4-679bc29b4461" 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_620228c0-59b8-4574-b4f4-4d2ac769e593" xlink:to="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_a1648eaf-c3e4-421c-95f4-679bc29b4461" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_04479be2-ad44-4968-8bf2-ff3977ed4b57" 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_620228c0-59b8-4574-b4f4-4d2ac769e593" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_04479be2-ad44-4968-8bf2-ff3977ed4b57" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_47684329-060a-4d1f-9d33-686f17922234" 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_04479be2-ad44-4968-8bf2-ff3977ed4b57" xlink:to="loc_srt_CounterpartyNameAxis_47684329-060a-4d1f-9d33-686f17922234" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_47684329-060a-4d1f-9d33-686f17922234_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_47684329-060a-4d1f-9d33-686f17922234" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_47684329-060a-4d1f-9d33-686f17922234_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_6b9fbc06-13df-46b9-8f35-12d7b6c886e0" 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_47684329-060a-4d1f-9d33-686f17922234" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_6b9fbc06-13df-46b9-8f35-12d7b6c886e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AHMCMember_c953ca49-1fae-405d-8481-764168a8a181" xlink:href="ameh-20230930.xsd#ameh_AHMCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_6b9fbc06-13df-46b9-8f35-12d7b6c886e0" xlink:to="loc_ameh_AHMCMember_c953ca49-1fae-405d-8481-764168a8a181" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_HSMSOMember_075391ef-1383-4359-aeee-431db69591e7" xlink:href="ameh-20230930.xsd#ameh_HSMSOMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_6b9fbc06-13df-46b9-8f35-12d7b6c886e0" xlink:to="loc_ameh_HSMSOMember_075391ef-1383-4359-aeee-431db69591e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AurionMember_d973bfb0-c5aa-4810-a159-6da4ec16cc8d" xlink:href="ameh-20230930.xsd#ameh_AurionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_6b9fbc06-13df-46b9-8f35-12d7b6c886e0" xlink:to="loc_ameh_AurionMember_d973bfb0-c5aa-4810-a159-6da4ec16cc8d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_55070c53-6974-4dd7-afe3-4e6e6c931ab9" 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_04479be2-ad44-4968-8bf2-ff3977ed4b57" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_55070c53-6974-4dd7-afe3-4e6e6c931ab9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_55070c53-6974-4dd7-afe3-4e6e6c931ab9_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_55070c53-6974-4dd7-afe3-4e6e6c931ab9" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_55070c53-6974-4dd7-afe3-4e6e6c931ab9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_baa44a41-2509-4961-9120-95ccf8496abe" 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_55070c53-6974-4dd7-afe3-4e6e6c931ab9" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_baa44a41-2509-4961-9120-95ccf8496abe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_RelatedPartyTransactionRevenueRecognizedMember_d2431097-751c-454f-911c-c5ee269a73c9" xlink:href="ameh-20230930.xsd#ameh_RelatedPartyTransactionRevenueRecognizedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_baa44a41-2509-4961-9120-95ccf8496abe" xlink:to="loc_ameh_RelatedPartyTransactionRevenueRecognizedMember_d2431097-751c-454f-911c-c5ee269a73c9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_RelatedPartyTransactionExpensesIncurredMember_3d08a5eb-8395-4daf-a2ad-8d221de599e3" xlink:href="ameh-20230930.xsd#ameh_RelatedPartyTransactionExpensesIncurredMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_baa44a41-2509-4961-9120-95ccf8496abe" xlink:to="loc_ameh_RelatedPartyTransactionExpensesIncurredMember_3d08a5eb-8395-4daf-a2ad-8d221de599e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_RelatedPartyTransactionRevenueExpenseNetMember_73cddc3c-4e9d-448f-af10-2df51d4d1eee" xlink:href="ameh-20230930.xsd#ameh_RelatedPartyTransactionRevenueExpenseNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_baa44a41-2509-4961-9120-95ccf8496abe" xlink:to="loc_ameh_RelatedPartyTransactionRevenueExpenseNetMember_73cddc3c-4e9d-448f-af10-2df51d4d1eee" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/EarningsPerShareAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#EarningsPerShareAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/EarningsPerShareAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EarningsPerShareLineItems_c7569bf0-a311-45a2-845d-31a64b8d48c8" xlink:href="ameh-20230930.xsd#ameh_EarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_c9d07844-74d0-4d76-8036-7fd5396263b6" 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_c7569bf0-a311-45a2-845d-31a64b8d48c8" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_c9d07844-74d0-4d76-8036-7fd5396263b6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EarningsPerShareTable_785cf28b-8adf-44fe-80fb-464961a6a3a5" xlink:href="ameh-20230930.xsd#ameh_EarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ameh_EarningsPerShareLineItems_c7569bf0-a311-45a2-845d-31a64b8d48c8" xlink:to="loc_ameh_EarningsPerShareTable_785cf28b-8adf-44fe-80fb-464961a6a3a5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_e019d269-2209-46cf-a0a8-a51e5e8be9e2" 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_785cf28b-8adf-44fe-80fb-464961a6a3a5" xlink:to="loc_dei_LegalEntityAxis_e019d269-2209-46cf-a0a8-a51e5e8be9e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_e019d269-2209-46cf-a0a8-a51e5e8be9e2_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_e019d269-2209-46cf-a0a8-a51e5e8be9e2" xlink:to="loc_dei_EntityDomain_e019d269-2209-46cf-a0a8-a51e5e8be9e2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_5ca757e7-4c7e-4ee6-b0fd-533edfd52307" 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_e019d269-2209-46cf-a0a8-a51e5e8be9e2" xlink:to="loc_dei_EntityDomain_5ca757e7-4c7e-4ee6-b0fd-533edfd52307" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlliedPacificOfCaliforniaIPAMember_2f28a884-6736-4db5-82b9-06cfabd697a1" xlink:href="ameh-20230930.xsd#ameh_AlliedPacificOfCaliforniaIPAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_5ca757e7-4c7e-4ee6-b0fd-533edfd52307" xlink:to="loc_ameh_AlliedPacificOfCaliforniaIPAMember_2f28a884-6736-4db5-82b9-06cfabd697a1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_1eb778c1-147b-47d6-a28c-e0cd5407dca2" 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_785cf28b-8adf-44fe-80fb-464961a6a3a5" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_1eb778c1-147b-47d6-a28c-e0cd5407dca2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_1eb778c1-147b-47d6-a28c-e0cd5407dca2_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_1eb778c1-147b-47d6-a28c-e0cd5407dca2" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_1eb778c1-147b-47d6-a28c-e0cd5407dca2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_3e0cea18-795a-447c-8199-3056607351ae" 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_1eb778c1-147b-47d6-a28c-e0cd5407dca2" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_3e0cea18-795a-447c-8199-3056607351ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_80f7a1be-b9de-4015-8e16-6874e0fe1808" 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_3e0cea18-795a-447c-8199-3056607351ae" xlink:to="loc_us-gaap_RestrictedStockMember_80f7a1be-b9de-4015-8e16-6874e0fe1808" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_107b9543-5aee-400b-9479-70b3f7d8057d" 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_3e0cea18-795a-447c-8199-3056607351ae" xlink:to="loc_us-gaap_PerformanceSharesMember_107b9543-5aee-400b-9479-70b3f7d8057d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/EarningsPerShareScheduleofSharesIncludedintheDilutedEarningsPerShareComputationsDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#EarningsPerShareScheduleofSharesIncludedintheDilutedEarningsPerShareComputationsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/EarningsPerShareScheduleofSharesIncludedintheDilutedEarningsPerShareComputationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EarningsPerShareLineItems_35543b3b-f221-4647-8296-17ab93c25465" xlink:href="ameh-20230930.xsd#ameh_EarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_04125bc8-b4da-43a8-a182-7e920b9cd5d5" 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_35543b3b-f221-4647-8296-17ab93c25465" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_04125bc8-b4da-43a8-a182-7e920b9cd5d5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_93acece4-b4d9-40b4-af7e-dfff72b3919f" 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_35543b3b-f221-4647-8296-17ab93c25465" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_93acece4-b4d9-40b4-af7e-dfff72b3919f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToContingentlyIssuableShares_d33cb87c-ad7c-4f64-9c6f-3ca2df7c52f3" 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_35543b3b-f221-4647-8296-17ab93c25465" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToContingentlyIssuableShares_d33cb87c-ad7c-4f64-9c6f-3ca2df7c52f3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8b61aef2-c20e-4d8f-ae37-11ddc30a0c2b" 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_35543b3b-f221-4647-8296-17ab93c25465" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8b61aef2-c20e-4d8f-ae37-11ddc30a0c2b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EarningsPerShareTable_d2771ba4-91e6-4085-aa25-754fd22dff89" xlink:href="ameh-20230930.xsd#ameh_EarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ameh_EarningsPerShareLineItems_35543b3b-f221-4647-8296-17ab93c25465" xlink:to="loc_ameh_EarningsPerShareTable_d2771ba4-91e6-4085-aa25-754fd22dff89" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_322be243-b896-4556-9388-ff0fcfbd0961" 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_d2771ba4-91e6-4085-aa25-754fd22dff89" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_322be243-b896-4556-9388-ff0fcfbd0961" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_322be243-b896-4556-9388-ff0fcfbd0961_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_322be243-b896-4556-9388-ff0fcfbd0961" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_322be243-b896-4556-9388-ff0fcfbd0961_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_75722e9e-24e6-4bd2-bf3e-7f3dde6b6498" 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_322be243-b896-4556-9388-ff0fcfbd0961" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_75722e9e-24e6-4bd2-bf3e-7f3dde6b6498" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_94f150fe-0be4-434c-8260-d5ca91798ce6" 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_75722e9e-24e6-4bd2-bf3e-7f3dde6b6498" xlink:to="loc_us-gaap_EmployeeStockOptionMember_94f150fe-0be4-434c-8260-d5ca91798ce6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_dfbb4e53-cdd2-402b-ac97-ea666c682144" 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_75722e9e-24e6-4bd2-bf3e-7f3dde6b6498" xlink:to="loc_us-gaap_RestrictedStockMember_dfbb4e53-cdd2-402b-ac97-ea666c682144" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_6859ea8c-a1d6-48db-a589-c81445d01c2c" 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_d2771ba4-91e6-4085-aa25-754fd22dff89" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_6859ea8c-a1d6-48db-a589-c81445d01c2c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_6859ea8c-a1d6-48db-a589-c81445d01c2c_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_6859ea8c-a1d6-48db-a589-c81445d01c2c" xlink:to="loc_us-gaap_EquityComponentDomain_6859ea8c-a1d6-48db-a589-c81445d01c2c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_c942d391-3dd7-4b10-8c7e-0d0f3680dd67" 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_6859ea8c-a1d6-48db-a589-c81445d01c2c" xlink:to="loc_us-gaap_EquityComponentDomain_c942d391-3dd7-4b10-8c7e-0d0f3680dd67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_24beed48-f162-454e-bf9e-4eb4982b6aec" 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_c942d391-3dd7-4b10-8c7e-0d0f3680dd67" xlink:to="loc_us-gaap_WarrantMember_24beed48-f162-454e-bf9e-4eb4982b6aec" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/VariableInterestEntitiesVIEsDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#VariableInterestEntitiesVIEsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/VariableInterestEntitiesVIEsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_e1ca03d2-8940-43bf-a732-e0fded520403" 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_25e8216a-bab9-4a0f-9edc-cc2ac146abf8" 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_e1ca03d2-8940-43bf-a732-e0fded520403" xlink:to="loc_us-gaap_AssetsAbstract_25e8216a-bab9-4a0f-9edc-cc2ac146abf8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_608d92c3-b605-472e-8bf1-558075b5e03e" 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_25e8216a-bab9-4a0f-9edc-cc2ac146abf8" xlink:to="loc_us-gaap_AssetsCurrentAbstract_608d92c3-b605-472e-8bf1-558075b5e03e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_cdda2be8-d79c-4627-98bc-a52b4c156d77" 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_608d92c3-b605-472e-8bf1-558075b5e03e" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_cdda2be8-d79c-4627-98bc-a52b4c156d77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_6b684d79-8d62-4c2d-ad73-f1b89d26af18" 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_608d92c3-b605-472e-8bf1-558075b5e03e" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_6b684d79-8d62-4c2d-ad73-f1b89d26af18" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_223f85ef-688c-4ac7-867d-a76fc8db5fc8" 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_608d92c3-b605-472e-8bf1-558075b5e03e" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_223f85ef-688c-4ac7-867d-a76fc8db5fc8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesReceivable_04694539-d572-4859-b6b9-a6456013eace" 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_608d92c3-b605-472e-8bf1-558075b5e03e" xlink:to="loc_us-gaap_IncomeTaxesReceivable_04694539-d572-4859-b6b9-a6456013eace" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivablesNetCurrent_b5ec1432-39ab-471d-821c-376bfa0f3afa" 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_608d92c3-b605-472e-8bf1-558075b5e03e" xlink:to="loc_us-gaap_OtherReceivablesNetCurrent_b5ec1432-39ab-471d-821c-376bfa0f3afa" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_f2e48211-ce86-4963-a6bc-34b70bd8b48c" 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_608d92c3-b605-472e-8bf1-558075b5e03e" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_f2e48211-ce86-4963-a6bc-34b70bd8b48c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesAndLoansReceivableNetCurrent_a5246a1f-557a-47e7-ba7f-f101a04f0ec9" 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_608d92c3-b605-472e-8bf1-558075b5e03e" xlink:to="loc_us-gaap_NotesAndLoansReceivableNetCurrent_a5246a1f-557a-47e7-ba7f-f101a04f0ec9" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_74dd3757-f67b-49df-b114-49ed4dbd3999" 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_608d92c3-b605-472e-8bf1-558075b5e03e" xlink:to="loc_us-gaap_OtherAssetsCurrent_74dd3757-f67b-49df-b114-49ed4dbd3999" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_8912fea1-5eee-4bc9-9a89-fe7ae1c1e659" 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_608d92c3-b605-472e-8bf1-558075b5e03e" xlink:to="loc_us-gaap_AssetsCurrent_8912fea1-5eee-4bc9-9a89-fe7ae1c1e659" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrentAbstract_c13180a8-3ebf-40ed-8b16-44be62da9864" 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_25e8216a-bab9-4a0f-9edc-cc2ac146abf8" xlink:to="loc_us-gaap_AssetsNoncurrentAbstract_c13180a8-3ebf-40ed-8b16-44be62da9864" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_d043ad97-a538-4881-a2ae-0ee0cbb5b5cd" 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_c13180a8-3ebf-40ed-8b16-44be62da9864" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_d043ad97-a538-4881-a2ae-0ee0cbb5b5cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ccc91e03-5898-426d-8d83-c3e3e6a7b465" 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_c13180a8-3ebf-40ed-8b16-44be62da9864" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ccc91e03-5898-426d-8d83-c3e3e6a7b465" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_c167fc90-8cae-42b7-b8c3-e84c6fdcc278" 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_c13180a8-3ebf-40ed-8b16-44be62da9864" xlink:to="loc_us-gaap_Goodwill_c167fc90-8cae-42b7-b8c3-e84c6fdcc278" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesReceivableNoncurrent_945eed4d-8618-49ee-88a6-776808b08c3e" 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_c13180a8-3ebf-40ed-8b16-44be62da9864" xlink:to="loc_us-gaap_IncomeTaxesReceivableNoncurrent_945eed4d-8618-49ee-88a6-776808b08c3e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermInvestments_80342658-6ae7-4259-ab33-60339c5d6597" 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_c13180a8-3ebf-40ed-8b16-44be62da9864" xlink:to="loc_us-gaap_OtherLongTermInvestments_80342658-6ae7-4259-ab33-60339c5d6597" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_ab0cbc46-23f4-4364-9def-6f9743e7af4a" 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_c13180a8-3ebf-40ed-8b16-44be62da9864" xlink:to="loc_us-gaap_EquityMethodInvestments_ab0cbc46-23f4-4364-9def-6f9743e7af4a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue_c80db817-5bff-4ea7-8e1c-69ecb666069f" 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_c13180a8-3ebf-40ed-8b16-44be62da9864" xlink:to="loc_us-gaap_EquitySecuritiesFvNiAndWithoutReadilyDeterminableFairValue_c80db817-5bff-4ea7-8e1c-69ecb666069f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_c75769bf-85b7-4e44-b858-9a2119b229bd" 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_c13180a8-3ebf-40ed-8b16-44be62da9864" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_c75769bf-85b7-4e44-b858-9a2119b229bd" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_9d16dcdf-9c60-4d3a-bef6-e1e891fd6191" 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_c13180a8-3ebf-40ed-8b16-44be62da9864" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_9d16dcdf-9c60-4d3a-bef6-e1e891fd6191" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNoncurrent_bcc9a749-0362-4743-911f-f23dcd87caeb" 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_c13180a8-3ebf-40ed-8b16-44be62da9864" xlink:to="loc_us-gaap_AssetsNoncurrent_bcc9a749-0362-4743-911f-f23dcd87caeb" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_9c9fd0b6-1dd3-48aa-ba92-255cbecfa03b" 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_25e8216a-bab9-4a0f-9edc-cc2ac146abf8" xlink:to="loc_us-gaap_Assets_9c9fd0b6-1dd3-48aa-ba92-255cbecfa03b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_b207c45c-c313-4d34-abc2-51ce22d53b0f" 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_e1ca03d2-8940-43bf-a732-e0fded520403" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_b207c45c-c313-4d34-abc2-51ce22d53b0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_ef0d99bc-e935-4030-892d-8aef9026f066" 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_b207c45c-c313-4d34-abc2-51ce22d53b0f" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_ef0d99bc-e935-4030-892d-8aef9026f066" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_FiduciaryAccountsPayableCurrent_412275a4-e758-4de1-9960-04f6b762f04c" xlink:href="ameh-20230930.xsd#ameh_FiduciaryAccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_b207c45c-c313-4d34-abc2-51ce22d53b0f" xlink:to="loc_ameh_FiduciaryAccountsPayableCurrent_412275a4-e758-4de1-9960-04f6b762f04c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_e1f84e6c-fa7a-46dc-a923-7ca2175a5b19" 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_b207c45c-c313-4d34-abc2-51ce22d53b0f" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_e1f84e6c-fa7a-46dc-a923-7ca2175a5b19" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxesPayableCurrent_8dad72cb-87e0-41d6-8bab-8cfd87494bb1" 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_b207c45c-c313-4d34-abc2-51ce22d53b0f" xlink:to="loc_us-gaap_TaxesPayableCurrent_8dad72cb-87e0-41d6-8bab-8cfd87494bb1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrent_376f63a2-7c9a-4703-a245-26e63195a9e7" 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_b207c45c-c313-4d34-abc2-51ce22d53b0f" xlink:to="loc_us-gaap_DividendsPayableCurrent_376f63a2-7c9a-4703-a245-26e63195a9e7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_7f1330e4-2e6a-4ba7-8de9-3a6a868864d7" 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_b207c45c-c313-4d34-abc2-51ce22d53b0f" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_7f1330e4-2e6a-4ba7-8de9-3a6a868864d7" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_92246265-3abb-48c5-b38f-8945fc152784" 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_b207c45c-c313-4d34-abc2-51ce22d53b0f" xlink:to="loc_us-gaap_LongTermDebtCurrent_92246265-3abb-48c5-b38f-8945fc152784" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_75a80a24-d8be-46df-b97e-f801b2ccad79" 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_b207c45c-c313-4d34-abc2-51ce22d53b0f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_75a80a24-d8be-46df-b97e-f801b2ccad79" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_82beb4f2-4999-45ef-ad99-38e5026b9322" 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_b207c45c-c313-4d34-abc2-51ce22d53b0f" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_82beb4f2-4999-45ef-ad99-38e5026b9322" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_56dc8fd7-9457-4287-beed-9fc121360f3d" 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_b207c45c-c313-4d34-abc2-51ce22d53b0f" xlink:to="loc_us-gaap_LiabilitiesCurrent_56dc8fd7-9457-4287-beed-9fc121360f3d" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_f6368c57-79ba-45ca-906f-d063ee2a80ee" 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_e1ca03d2-8940-43bf-a732-e0fded520403" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_f6368c57-79ba-45ca-906f-d063ee2a80ee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_3eed8da1-fdf4-41f8-9891-c90ec1291487" 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_f6368c57-79ba-45ca-906f-d063ee2a80ee" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_3eed8da1-fdf4-41f8-9891-c90ec1291487" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_e6b806c8-bc64-4222-b8d9-b2c086cc15bb" 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_f6368c57-79ba-45ca-906f-d063ee2a80ee" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_e6b806c8-bc64-4222-b8d9-b2c086cc15bb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_99f0f8ee-c89f-405f-b71e-b2181eaa94ff" 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_f6368c57-79ba-45ca-906f-d063ee2a80ee" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_99f0f8ee-c89f-405f-b71e-b2181eaa94ff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_4994ede2-ae31-4fbb-a93b-236571c4b7ef" 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_f6368c57-79ba-45ca-906f-d063ee2a80ee" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_4994ede2-ae31-4fbb-a93b-236571c4b7ef" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_2c074fed-9350-4d57-ac27-9862f1ac287f" 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_f6368c57-79ba-45ca-906f-d063ee2a80ee" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_2c074fed-9350-4d57-ac27-9862f1ac287f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_c2acea31-8ab9-4616-8aca-046c44195d92" 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_f6368c57-79ba-45ca-906f-d063ee2a80ee" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_c2acea31-8ab9-4616-8aca-046c44195d92" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_f8b4243c-1478-42b2-96bc-b28c54025b4a" 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_e1ca03d2-8940-43bf-a732-e0fded520403" xlink:to="loc_us-gaap_Liabilities_f8b4243c-1478-42b2-96bc-b28c54025b4a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_b0adcf2e-8962-4856-a69b-7821d32f4438" 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_e1ca03d2-8940-43bf-a732-e0fded520403" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_b0adcf2e-8962-4856-a69b-7821d32f4438" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_1c706333-ae4a-42a4-9949-5c05491b923e" 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_b0adcf2e-8962-4856-a69b-7821d32f4438" xlink:to="loc_srt_ConsolidatedEntitiesAxis_1c706333-ae4a-42a4-9949-5c05491b923e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_1c706333-ae4a-42a4-9949-5c05491b923e_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_1c706333-ae4a-42a4-9949-5c05491b923e" xlink:to="loc_srt_ConsolidatedEntitiesDomain_1c706333-ae4a-42a4-9949-5c05491b923e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_e6cd21cf-6cbc-420e-b6bc-ea2d8da4a072" 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_1c706333-ae4a-42a4-9949-5c05491b923e" xlink:to="loc_srt_ConsolidatedEntitiesDomain_e6cd21cf-6cbc-420e-b6bc-ea2d8da4a072" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_fe27250d-6e45-4489-8558-8268ac258cd5" 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_e6cd21cf-6cbc-420e-b6bc-ea2d8da4a072" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_fe27250d-6e45-4489-8558-8268ac258cd5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_66eefc05-d3e5-464b-a31c-952f2a7106ab" 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_b0adcf2e-8962-4856-a69b-7821d32f4438" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_66eefc05-d3e5-464b-a31c-952f2a7106ab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_66eefc05-d3e5-464b-a31c-952f2a7106ab_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_66eefc05-d3e5-464b-a31c-952f2a7106ab" xlink:to="loc_us-gaap_RelatedPartyDomain_66eefc05-d3e5-464b-a31c-952f2a7106ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_5295929c-23a5-4757-89ff-02b8159dfc84" 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_66eefc05-d3e5-464b-a31c-952f2a7106ab" xlink:to="loc_us-gaap_RelatedPartyDomain_5295929c-23a5-4757-89ff-02b8159dfc84" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonrelatedPartyMember_f41f01b5-5239-4f93-be17-7bd1e85d592a" 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_5295929c-23a5-4757-89ff-02b8159dfc84" xlink:to="loc_us-gaap_NonrelatedPartyMember_f41f01b5-5239-4f93-be17-7bd1e85d592a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_8abfc058-aacf-44a7-9c10-2ac2c84b2cfb" 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_5295929c-23a5-4757-89ff-02b8159dfc84" xlink:to="loc_us-gaap_RelatedPartyMember_8abfc058-aacf-44a7-9c10-2ac2c84b2cfb" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/LeasesAdditionalinformationDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#LeasesAdditionalinformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/LeasesAdditionalinformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_50719dad-9ea2-426b-a61d-79db173611be" 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_2e71d096-c76a-4793-bb9f-f51886e309a0" 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_50719dad-9ea2-426b-a61d-79db173611be" xlink:to="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_2e71d096-c76a-4793-bb9f-f51886e309a0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeFinanceLeaseRemainingLeaseTerm_4117e708-213f-426b-9df7-b2c06afb574a" 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_50719dad-9ea2-426b-a61d-79db173611be" xlink:to="loc_us-gaap_LesseeFinanceLeaseRemainingLeaseTerm_4117e708-213f-426b-9df7-b2c06afb574a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_9841aaeb-1382-48bf-95d5-8e6edfc5d8b2" 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_50719dad-9ea2-426b-a61d-79db173611be" xlink:to="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_9841aaeb-1382-48bf-95d5-8e6edfc5d8b2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeFinanceLeaseRenewalTerm1_2149a648-fea5-47d8-b4e0-1ec7fa7eb9f2" 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_50719dad-9ea2-426b-a61d-79db173611be" xlink:to="loc_us-gaap_LesseeFinanceLeaseRenewalTerm1_2149a648-fea5-47d8-b4e0-1ec7fa7eb9f2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LesseeOperatingLeaseTerminationPeriodIfApplicable_cc3c8b4e-eacc-45e7-9dde-4201ca0c6052" xlink:href="ameh-20230930.xsd#ameh_LesseeOperatingLeaseTerminationPeriodIfApplicable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_50719dad-9ea2-426b-a61d-79db173611be" xlink:to="loc_ameh_LesseeOperatingLeaseTerminationPeriodIfApplicable_cc3c8b4e-eacc-45e7-9dde-4201ca0c6052" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LesseeFinanceLeaseTerminationPeriodIfApplicable_eb9a44ec-0e70-4f49-9ba7-7cf1bf333241" xlink:href="ameh-20230930.xsd#ameh_LesseeFinanceLeaseTerminationPeriodIfApplicable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_50719dad-9ea2-426b-a61d-79db173611be" xlink:to="loc_ameh_LesseeFinanceLeaseTerminationPeriodIfApplicable_eb9a44ec-0e70-4f49-9ba7-7cf1bf333241" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_e26988d7-303a-45e7-86a2-7799cfeaea9b" 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_50719dad-9ea2-426b-a61d-79db173611be" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_e26988d7-303a-45e7-86a2-7799cfeaea9b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAccumulatedAmortization_6a034694-6c4b-4d78-b8ee-e978805075df" 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_50719dad-9ea2-426b-a61d-79db173611be" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAccumulatedAmortization_6a034694-6c4b-4d78-b8ee-e978805075df" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_a0be7f5b-158e-4dd0-8d9d-c38352831ec6" 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_50719dad-9ea2-426b-a61d-79db173611be" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_a0be7f5b-158e-4dd0-8d9d-c38352831ec6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_1d9e8130-6e30-475a-bd14-e953a546770c" 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_a0be7f5b-158e-4dd0-8d9d-c38352831ec6" xlink:to="loc_srt_RangeAxis_1d9e8130-6e30-475a-bd14-e953a546770c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_1d9e8130-6e30-475a-bd14-e953a546770c_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_1d9e8130-6e30-475a-bd14-e953a546770c" xlink:to="loc_srt_RangeMember_1d9e8130-6e30-475a-bd14-e953a546770c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e3980d62-5ef0-4542-8cf9-d017d3bfb90d" 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_1d9e8130-6e30-475a-bd14-e953a546770c" xlink:to="loc_srt_RangeMember_e3980d62-5ef0-4542-8cf9-d017d3bfb90d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_965b98ae-6872-450a-abc1-a34909a18108" 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_e3980d62-5ef0-4542-8cf9-d017d3bfb90d" xlink:to="loc_srt_MinimumMember_965b98ae-6872-450a-abc1-a34909a18108" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_e98701e8-6480-4608-9ef7-f1e024dd9870" 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_e3980d62-5ef0-4542-8cf9-d017d3bfb90d" xlink:to="loc_srt_MaximumMember_e98701e8-6480-4608-9ef7-f1e024dd9870" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/SegmentsScheduleofInformationaboutourSegmentsDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#SegmentsScheduleofInformationaboutourSegmentsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/SegmentsScheduleofInformationaboutourSegmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_a2f2fb78-58bc-4e57-8260-ca152f26ca9b" 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_d0c6ecb7-5dc6-415d-bf47-fc1a449096f2" 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_a2f2fb78-58bc-4e57-8260-ca152f26ca9b" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_d0c6ecb7-5dc6-415d-bf47-fc1a449096f2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_4e3383a9-0e81-497c-828c-4ef29316f292" 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_a2f2fb78-58bc-4e57-8260-ca152f26ca9b" xlink:to="loc_us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization_4e3383a9-0e81-497c-828c-4ef29316f292" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_GeneralAndAdministrativeExpensesAndDepreciationAndAmortization_1ebf881a-1e3f-47f6-a872-85264d155d84" xlink:href="ameh-20230930.xsd#ameh_GeneralAndAdministrativeExpensesAndDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_a2f2fb78-58bc-4e57-8260-ca152f26ca9b" xlink:to="loc_ameh_GeneralAndAdministrativeExpensesAndDepreciationAndAmortization_1ebf881a-1e3f-47f6-a872-85264d155d84" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_68e9c562-2a3b-48af-9bc8-059160839c6b" 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_a2f2fb78-58bc-4e57-8260-ca152f26ca9b" xlink:to="loc_us-gaap_CostsAndExpenses_68e9c562-2a3b-48af-9bc8-059160839c6b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_d3df1ac7-84e9-4409-8a2c-ad0f8b33b05d" 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_a2f2fb78-58bc-4e57-8260-ca152f26ca9b" xlink:to="loc_us-gaap_OperatingIncomeLoss_d3df1ac7-84e9-4409-8a2c-ad0f8b33b05d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_f62d4af9-09c2-40af-9274-dabcebbd269e" 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_a2f2fb78-58bc-4e57-8260-ca152f26ca9b" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_f62d4af9-09c2-40af-9274-dabcebbd269e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_f1940cc2-5545-49b2-9c3b-0d183d5df85e" 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_f62d4af9-09c2-40af-9274-dabcebbd269e" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_f1940cc2-5545-49b2-9c3b-0d183d5df85e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_f1940cc2-5545-49b2-9c3b-0d183d5df85e_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_f1940cc2-5545-49b2-9c3b-0d183d5df85e" xlink:to="loc_us-gaap_SegmentDomain_f1940cc2-5545-49b2-9c3b-0d183d5df85e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_1809802f-0f42-42ba-a976-56a5ec5c6162" 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_f1940cc2-5545-49b2-9c3b-0d183d5df85e" xlink:to="loc_us-gaap_SegmentDomain_1809802f-0f42-42ba-a976-56a5ec5c6162" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CarePartnersMember_f89d59c1-06ba-4392-9489-e6a6f0915eee" xlink:href="ameh-20230930.xsd#ameh_CarePartnersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_1809802f-0f42-42ba-a976-56a5ec5c6162" xlink:to="loc_ameh_CarePartnersMember_f89d59c1-06ba-4392-9489-e6a6f0915eee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CareDeliveryMember_a574e0a2-f08a-4393-83cc-d8349165a55b" xlink:href="ameh-20230930.xsd#ameh_CareDeliveryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_1809802f-0f42-42ba-a976-56a5ec5c6162" xlink:to="loc_ameh_CareDeliveryMember_a574e0a2-f08a-4393-83cc-d8349165a55b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CareEnablementMember_f455b6e5-f361-4f72-896b-5f31fc644c37" xlink:href="ameh-20230930.xsd#ameh_CareEnablementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_1809802f-0f42-42ba-a976-56a5ec5c6162" xlink:to="loc_ameh_CareEnablementMember_f455b6e5-f361-4f72-896b-5f31fc644c37" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllOtherSegmentsMember_b2a02dba-c4b9-4631-a658-828a547bf397" 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_1809802f-0f42-42ba-a976-56a5ec5c6162" xlink:to="loc_us-gaap_AllOtherSegmentsMember_b2a02dba-c4b9-4631-a658-828a547bf397" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_b3a242a5-5e0c-489e-8753-cb8a5499573f" 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_f62d4af9-09c2-40af-9274-dabcebbd269e" xlink:to="loc_srt_ConsolidationItemsAxis_b3a242a5-5e0c-489e-8753-cb8a5499573f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_b3a242a5-5e0c-489e-8753-cb8a5499573f_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_b3a242a5-5e0c-489e-8753-cb8a5499573f" xlink:to="loc_srt_ConsolidationItemsDomain_b3a242a5-5e0c-489e-8753-cb8a5499573f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_a7051858-fb0d-4761-a815-ec7bbf02e68e" 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_b3a242a5-5e0c-489e-8753-cb8a5499573f" xlink:to="loc_srt_ConsolidationItemsDomain_a7051858-fb0d-4761-a815-ec7bbf02e68e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_c4bfb091-fb3d-4d79-b039-342eed68d86f" 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_a7051858-fb0d-4761-a815-ec7bbf02e68e" xlink:to="loc_us-gaap_OperatingSegmentsMember_c4bfb091-fb3d-4d79-b039-342eed68d86f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntersegmentEliminationMember_8c79bda8-cb5a-44a5-9035-ad0274af5f3b" 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_a7051858-fb0d-4761-a815-ec7bbf02e68e" xlink:to="loc_us-gaap_IntersegmentEliminationMember_8c79bda8-cb5a-44a5-9035-ad0274af5f3b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_d2465df0-8ed0-4669-bac8-bdae9b915c59" 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_a7051858-fb0d-4761-a815-ec7bbf02e68e" xlink:to="loc_us-gaap_CorporateNonSegmentMember_d2465df0-8ed0-4669-bac8-bdae9b915c59" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsegmentsAxis_6452168f-19e0-4d94-9f47-1a90a947837c" 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_f62d4af9-09c2-40af-9274-dabcebbd269e" xlink:to="loc_us-gaap_SubsegmentsAxis_6452168f-19e0-4d94-9f47-1a90a947837c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsegmentsDomain_6452168f-19e0-4d94-9f47-1a90a947837c_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_6452168f-19e0-4d94-9f47-1a90a947837c" xlink:to="loc_us-gaap_SubsegmentsDomain_6452168f-19e0-4d94-9f47-1a90a947837c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsegmentsDomain_7d511500-bbaa-47b2-ae09-bc9eeda38200" 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_6452168f-19e0-4d94-9f47-1a90a947837c" xlink:to="loc_us-gaap_SubsegmentsDomain_7d511500-bbaa-47b2-ae09-bc9eeda38200" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HealthCarePatientServiceMember_683f99e8-20d9-4927-b386-a085058f51ef" 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_7d511500-bbaa-47b2-ae09-bc9eeda38200" xlink:to="loc_us-gaap_HealthCarePatientServiceMember_683f99e8-20d9-4927-b386-a085058f51ef" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductAndServiceOtherMember_f9f87f8b-440a-4768-9205-c8169b743d06" 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_7d511500-bbaa-47b2-ae09-bc9eeda38200" xlink:to="loc_us-gaap_ProductAndServiceOtherMember_f9f87f8b-440a-4768-9205-c8169b743d06" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/FairValueMeasurementsofFinancialInstrumentsScheduleofCarryingAmountsandFairValuesofFinancialInstrumentsDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#FairValueMeasurementsofFinancialInstrumentsScheduleofCarryingAmountsandFairValuesofFinancialInstrumentsDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/FairValueMeasurementsofFinancialInstrumentsScheduleofCarryingAmountsandFairValuesofFinancialInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_adb1bc8e-91ac-4fd6-8ffb-0b992af3d600" 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_70cb9ec2-4564-42c5-a27e-0a84e80ed919" 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_adb1bc8e-91ac-4fd6-8ffb-0b992af3d600" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_70cb9ec2-4564-42c5-a27e-0a84e80ed919" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_27ed86d2-64c1-4aeb-9ccf-d3f045a517ff" 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_adb1bc8e-91ac-4fd6-8ffb-0b992af3d600" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_27ed86d2-64c1-4aeb-9ccf-d3f045a517ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_a87263ba-73f1-4e40-83b8-1751e4d6993d" 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_adb1bc8e-91ac-4fd6-8ffb-0b992af3d600" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_a87263ba-73f1-4e40-83b8-1751e4d6993d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_429a9269-c014-43ce-920e-988117a0901e" 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_adb1bc8e-91ac-4fd6-8ffb-0b992af3d600" xlink:to="loc_us-gaap_DerivativeAssets_429a9269-c014-43ce-920e-988117a0901e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_2838097c-624c-4ddc-b4d8-fb9eacc2f7f2" 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_adb1bc8e-91ac-4fd6-8ffb-0b992af3d600" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_2838097c-624c-4ddc-b4d8-fb9eacc2f7f2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_e6fefaa0-53e6-4e67-8ee6-1092d7128ad4" 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_adb1bc8e-91ac-4fd6-8ffb-0b992af3d600" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_e6fefaa0-53e6-4e67-8ee6-1092d7128ad4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BusinessCombinationEquityInterestPurchaseObligationNoncurrent_bb9a4904-1346-4202-9aa3-ea3efa5f5deb" xlink:href="ameh-20230930.xsd#ameh_BusinessCombinationEquityInterestPurchaseObligationNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_adb1bc8e-91ac-4fd6-8ffb-0b992af3d600" xlink:to="loc_ameh_BusinessCombinationEquityInterestPurchaseObligationNoncurrent_bb9a4904-1346-4202-9aa3-ea3efa5f5deb" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_55e6831e-d1c4-42dc-9725-5e81a470e06e" 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_adb1bc8e-91ac-4fd6-8ffb-0b992af3d600" xlink:to="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure_55e6831e-d1c4-42dc-9725-5e81a470e06e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_9acd479b-8111-41a7-9b8d-637e901490da" 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_adb1bc8e-91ac-4fd6-8ffb-0b992af3d600" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_9acd479b-8111-41a7-9b8d-637e901490da" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_74cfe919-3ecc-4ff4-82c9-e06075659544" 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_9acd479b-8111-41a7-9b8d-637e901490da" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_74cfe919-3ecc-4ff4-82c9-e06075659544" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_74cfe919-3ecc-4ff4-82c9-e06075659544_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_74cfe919-3ecc-4ff4-82c9-e06075659544" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_74cfe919-3ecc-4ff4-82c9-e06075659544_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2d1ee7af-fd0e-45fd-b43d-7299650a6af5" 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_74cfe919-3ecc-4ff4-82c9-e06075659544" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2d1ee7af-fd0e-45fd-b43d-7299650a6af5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_6cf96133-5cbf-4a52-a596-183c0ff0a7be" 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_2d1ee7af-fd0e-45fd-b43d-7299650a6af5" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_6cf96133-5cbf-4a52-a596-183c0ff0a7be" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_58193530-bb7c-4e32-9ac9-e1bac9f5f75a" 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_2d1ee7af-fd0e-45fd-b43d-7299650a6af5" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_58193530-bb7c-4e32-9ac9-e1bac9f5f75a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_fdf454e1-e467-4221-a863-fb25c967cf40" 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_2d1ee7af-fd0e-45fd-b43d-7299650a6af5" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_fdf454e1-e467-4221-a863-fb25c967cf40" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_6b5fd136-00ea-41e8-b401-5c5f6f404873" 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_9acd479b-8111-41a7-9b8d-637e901490da" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_6b5fd136-00ea-41e8-b401-5c5f6f404873" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_6b5fd136-00ea-41e8-b401-5c5f6f404873_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_6b5fd136-00ea-41e8-b401-5c5f6f404873" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_6b5fd136-00ea-41e8-b401-5c5f6f404873_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_4157463b-3440-42f1-9e2b-fbc5c7ef81f1" 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_6b5fd136-00ea-41e8-b401-5c5f6f404873" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_4157463b-3440-42f1-9e2b-fbc5c7ef81f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_82bdf01f-2019-4a4e-bc3e-02d1c52556a6" 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_4157463b-3440-42f1-9e2b-fbc5c7ef81f1" xlink:to="loc_us-gaap_InterestRateSwapMember_82bdf01f-2019-4a4e-bc3e-02d1c52556a6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CollarMember_8fc7e216-26ac-4dd0-90b1-5b52e3e33739" xlink:href="ameh-20230930.xsd#ameh_CollarMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_4157463b-3440-42f1-9e2b-fbc5c7ef81f1" xlink:to="loc_ameh_CollarMember_8fc7e216-26ac-4dd0-90b1-5b52e3e33739" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ContingentEquitySecuritiesMember_26e38666-adea-410f-b988-1fb9464fa45c" xlink:href="ameh-20230930.xsd#ameh_ContingentEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_4157463b-3440-42f1-9e2b-fbc5c7ef81f1" xlink:to="loc_ameh_ContingentEquitySecuritiesMember_26e38666-adea-410f-b988-1fb9464fa45c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_83254681-3202-449e-82b3-560401aeebd4" 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_9acd479b-8111-41a7-9b8d-637e901490da" xlink:to="loc_dei_LegalEntityAxis_83254681-3202-449e-82b3-560401aeebd4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_83254681-3202-449e-82b3-560401aeebd4_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_83254681-3202-449e-82b3-560401aeebd4" xlink:to="loc_dei_EntityDomain_83254681-3202-449e-82b3-560401aeebd4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_4baf2a14-e85f-4b06-9c3a-05e064aa63e7" 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_83254681-3202-449e-82b3-560401aeebd4" xlink:to="loc_dei_EntityDomain_4baf2a14-e85f-4b06-9c3a-05e064aa63e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_APCMGMember_3c85857d-56d2-46aa-af91-382e47034670" xlink:href="ameh-20230930.xsd#ameh_APCMGMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_4baf2a14-e85f-4b06-9c3a-05e064aa63e7" xlink:to="loc_ameh_APCMGMember_3c85857d-56d2-46aa-af91-382e47034670" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AAMGMember_1be6c9a1-80db-47ea-929e-d35628db0fe0" xlink:href="ameh-20230930.xsd#ameh_AAMGMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_4baf2a14-e85f-4b06-9c3a-05e064aa63e7" xlink:to="loc_ameh_AAMGMember_1be6c9a1-80db-47ea-929e-d35628db0fe0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_VOMGMember_b5e705a1-00a3-44f9-8fd5-1d6191766b2c" xlink:href="ameh-20230930.xsd#ameh_VOMGMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_4baf2a14-e85f-4b06-9c3a-05e064aa63e7" xlink:to="loc_ameh_VOMGMember_b5e705a1-00a3-44f9-8fd5-1d6191766b2c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DmgMember_2828966e-2043-4ca9-87de-7f42f3b281bc" xlink:href="ameh-20230930.xsd#ameh_DmgMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_4baf2a14-e85f-4b06-9c3a-05e064aa63e7" xlink:to="loc_ameh_DmgMember_2828966e-2043-4ca9-87de-7f42f3b281bc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApolloSunLabsManagementLLCMember_86591067-039a-40c7-9283-8a11b007d1ad" xlink:href="ameh-20230930.xsd#ameh_ApolloSunLabsManagementLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_4baf2a14-e85f-4b06-9c3a-05e064aa63e7" xlink:to="loc_ameh_ApolloSunLabsManagementLLCMember_86591067-039a-40c7-9283-8a11b007d1ad" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/FairValueMeasurementsofFinancialInstrumentsAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#FairValueMeasurementsofFinancialInstrumentsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/FairValueMeasurementsofFinancialInstrumentsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" 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_ameh_MarketableSecuritiesCurrentMaturityPeriod_95f5f712-07dd-4fa9-a06d-aec7ae631218" xlink:href="ameh-20230930.xsd#ameh_MarketableSecuritiesCurrentMaturityPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_ameh_MarketableSecuritiesCurrentMaturityPeriod_95f5f712-07dd-4fa9-a06d-aec7ae631218" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_6e94f1bc-363c-4a71-aea4-31c6b5f809d8" 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_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_6e94f1bc-363c-4a71-aea4-31c6b5f809d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesFvNi_befce05e-4437-462c-aa96-9c32a0db4089" 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_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_us-gaap_EquitySecuritiesFvNi_befce05e-4437-462c-aa96-9c32a0db4089" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_6d271f5d-cbfc-4495-9d7f-2fa0074602dc" 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_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_6d271f5d-cbfc-4495-9d7f-2fa0074602dc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DerivativeCeilingInterestRate_b4c3a1ee-8bf1-4650-94b7-fca538252131" xlink:href="ameh-20230930.xsd#ameh_DerivativeCeilingInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_ameh_DerivativeCeilingInterestRate_b4c3a1ee-8bf1-4650-94b7-fca538252131" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFloorInterestRate_e477583c-c47e-484c-b1ec-65e4a52ea10c" 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_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_us-gaap_DerivativeFloorInterestRate_e477583c-c47e-484c-b1ec-65e4a52ea10c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsCurrent_4dbe69e5-4871-436d-8dc3-04ec3332b614" 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_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_us-gaap_DerivativeAssetsCurrent_4dbe69e5-4871-436d-8dc3-04ec3332b614" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BusinessCombinationEquityInterestPurchaseObligationPeriodToPurchase_0d833fa4-803c-4905-a6ff-81a1d2431d99" xlink:href="ameh-20230930.xsd#ameh_BusinessCombinationEquityInterestPurchaseObligationPeriodToPurchase"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_ameh_BusinessCombinationEquityInterestPurchaseObligationPeriodToPurchase_0d833fa4-803c-4905-a6ff-81a1d2431d99" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_d2413442-e61a-4c16-87c2-309a838da149" 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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_us-gaap_EquityMethodInvestments_d2413442-e61a-4c16-87c2-309a838da149" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BusinessCombinationEquityInterestPurchaseObligationNoncurrent_dbeed079-293c-460c-803b-d634057e34d9" xlink:href="ameh-20230930.xsd#ameh_BusinessCombinationEquityInterestPurchaseObligationNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_ameh_BusinessCombinationEquityInterestPurchaseObligationNoncurrent_dbeed079-293c-460c-803b-d634057e34d9" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BusinessCombinationChangeInFairValueOfEquityInterestPurchaseObligation_55f2dabd-6b51-40f2-8378-7a338f1c9e4d" xlink:href="ameh-20230930.xsd#ameh_BusinessCombinationChangeInFairValueOfEquityInterestPurchaseObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_ameh_BusinessCombinationChangeInFairValueOfEquityInterestPurchaseObligation_55f2dabd-6b51-40f2-8378-7a338f1c9e4d" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_ed61f204-13bd-4c44-993a-c7936a94aeb5" 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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_ed61f204-13bd-4c44-993a-c7936a94aeb5" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_73a0a48d-ea00-4054-bce9-9bda67ee7ac8" 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_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_73a0a48d-ea00-4054-bce9-9bda67ee7ac8" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_BusinessCombinationStockContingentConsiderationLiability_fbdbfdfe-6a44-4af7-9876-abbce5c3c08a" xlink:href="ameh-20230930.xsd#ameh_BusinessCombinationStockContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_ameh_BusinessCombinationStockContingentConsiderationLiability_fbdbfdfe-6a44-4af7-9876-abbce5c3c08a" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1c896506-db9d-423a-8494-99f8da0253f6" 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_2a9f0bf0-dbb2-48c0-96fe-ce028aa72f12" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1c896506-db9d-423a-8494-99f8da0253f6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_4e186d8c-8f42-4f50-8a10-d173f2586e12" 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_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1c896506-db9d-423a-8494-99f8da0253f6" xlink:to="loc_us-gaap_FinancialInstrumentAxis_4e186d8c-8f42-4f50-8a10-d173f2586e12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_4e186d8c-8f42-4f50-8a10-d173f2586e12_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_4e186d8c-8f42-4f50-8a10-d173f2586e12" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_4e186d8c-8f42-4f50-8a10-d173f2586e12_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ccdd9e39-298b-4b18-8547-0b6552afeffd" 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_4e186d8c-8f42-4f50-8a10-d173f2586e12" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ccdd9e39-298b-4b18-8547-0b6552afeffd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CertificatesOfDepositMember_89613b5d-d6c8-4e4b-86e3-1ba4bc5e5309" 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_ccdd9e39-298b-4b18-8547-0b6552afeffd" xlink:to="loc_us-gaap_CertificatesOfDepositMember_89613b5d-d6c8-4e4b-86e3-1ba4bc5e5309" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_207fde5a-d679-463d-ade1-0eef008aae69" 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_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1c896506-db9d-423a-8494-99f8da0253f6" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_207fde5a-d679-463d-ade1-0eef008aae69" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_207fde5a-d679-463d-ade1-0eef008aae69_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_207fde5a-d679-463d-ade1-0eef008aae69" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_207fde5a-d679-463d-ade1-0eef008aae69_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_033cba28-dc39-49c0-b3f6-018b2ef7e90c" 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_207fde5a-d679-463d-ade1-0eef008aae69" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_033cba28-dc39-49c0-b3f6-018b2ef7e90c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_27abcbb4-5bc4-4bd2-aaf3-29beca653a02" 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_033cba28-dc39-49c0-b3f6-018b2ef7e90c" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_27abcbb4-5bc4-4bd2-aaf3-29beca653a02" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_a21e94ac-865c-4301-9485-5bc56c696e4b" 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_1c896506-db9d-423a-8494-99f8da0253f6" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_a21e94ac-865c-4301-9485-5bc56c696e4b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_a21e94ac-865c-4301-9485-5bc56c696e4b_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_a21e94ac-865c-4301-9485-5bc56c696e4b" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_a21e94ac-865c-4301-9485-5bc56c696e4b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_ef65203a-1bf3-4dcc-ba1b-d5e96c791d03" 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_a21e94ac-865c-4301-9485-5bc56c696e4b" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_ef65203a-1bf3-4dcc-ba1b-d5e96c791d03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_a4c1a29a-a956-4fd6-976f-11a2d4074cf0" 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_ef65203a-1bf3-4dcc-ba1b-d5e96c791d03" xlink:to="loc_us-gaap_InterestRateSwapMember_a4c1a29a-a956-4fd6-976f-11a2d4074cf0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CollarMember_b8352615-378a-45ad-9ee4-05b1404371b6" xlink:href="ameh-20230930.xsd#ameh_CollarMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_ef65203a-1bf3-4dcc-ba1b-d5e96c791d03" xlink:to="loc_ameh_CollarMember_b8352615-378a-45ad-9ee4-05b1404371b6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ContingentEquitySecuritiesMember_389240a5-9d64-404e-8ae0-898d65377a16" xlink:href="ameh-20230930.xsd#ameh_ContingentEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_ef65203a-1bf3-4dcc-ba1b-d5e96c791d03" xlink:to="loc_ameh_ContingentEquitySecuritiesMember_389240a5-9d64-404e-8ae0-898d65377a16" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_d8d0b340-ec5c-4151-af7f-ec3a4eca2f80" 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_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1c896506-db9d-423a-8494-99f8da0253f6" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_d8d0b340-ec5c-4151-af7f-ec3a4eca2f80" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_d8d0b340-ec5c-4151-af7f-ec3a4eca2f80_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_d8d0b340-ec5c-4151-af7f-ec3a4eca2f80" xlink:to="loc_us-gaap_HedgingRelationshipDomain_d8d0b340-ec5c-4151-af7f-ec3a4eca2f80_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_98bc9d18-40a7-4d0b-8d8c-6b82b3a64d35" 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_d8d0b340-ec5c-4151-af7f-ec3a4eca2f80" xlink:to="loc_us-gaap_HedgingRelationshipDomain_98bc9d18-40a7-4d0b-8d8c-6b82b3a64d35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_4fa35a1c-a28d-4d80-b31d-458c76d05436" 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_98bc9d18-40a7-4d0b-8d8c-6b82b3a64d35" xlink:to="loc_us-gaap_CashFlowHedgingMember_4fa35a1c-a28d-4d80-b31d-458c76d05436" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_770ed92c-24f4-41d7-a0d4-12090920f6ee" 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_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1c896506-db9d-423a-8494-99f8da0253f6" xlink:to="loc_us-gaap_HedgingDesignationAxis_770ed92c-24f4-41d7-a0d4-12090920f6ee" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_770ed92c-24f4-41d7-a0d4-12090920f6ee_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_770ed92c-24f4-41d7-a0d4-12090920f6ee" xlink:to="loc_us-gaap_HedgingDesignationDomain_770ed92c-24f4-41d7-a0d4-12090920f6ee_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_8bfbe277-f179-450e-a860-18ce2d4e4be9" 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_770ed92c-24f4-41d7-a0d4-12090920f6ee" xlink:to="loc_us-gaap_HedgingDesignationDomain_8bfbe277-f179-450e-a860-18ce2d4e4be9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_17c8f634-8885-4ced-82f9-a4a37b2cfc61" 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_8bfbe277-f179-450e-a860-18ce2d4e4be9" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_17c8f634-8885-4ced-82f9-a4a37b2cfc61" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1374a460-b202-4f4e-a4b7-a01ad08e79c7" 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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1c896506-db9d-423a-8494-99f8da0253f6" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1374a460-b202-4f4e-a4b7-a01ad08e79c7" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1374a460-b202-4f4e-a4b7-a01ad08e79c7_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_1374a460-b202-4f4e-a4b7-a01ad08e79c7" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1374a460-b202-4f4e-a4b7-a01ad08e79c7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_614f3fa0-fa7a-42e7-81a9-56b444646619" 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_1374a460-b202-4f4e-a4b7-a01ad08e79c7" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_614f3fa0-fa7a-42e7-81a9-56b444646619" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DMGAndSunLabsMember_62f760b7-9c09-4fd8-a9bf-784ac9cc7ff5" xlink:href="ameh-20230930.xsd#ameh_DMGAndSunLabsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_614f3fa0-fa7a-42e7-81a9-56b444646619" xlink:to="loc_ameh_DMGAndSunLabsMember_62f760b7-9c09-4fd8-a9bf-784ac9cc7ff5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DmgMember_805a5178-2bb5-4a94-a9ec-3146cfbffb93" xlink:href="ameh-20230930.xsd#ameh_DmgMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_614f3fa0-fa7a-42e7-81a9-56b444646619" xlink:to="loc_ameh_DmgMember_805a5178-2bb5-4a94-a9ec-3146cfbffb93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_2d78d00a-adae-497a-a6f5-27fd22208225" 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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_1c896506-db9d-423a-8494-99f8da0253f6" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_2d78d00a-adae-497a-a6f5-27fd22208225" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2d78d00a-adae-497a-a6f5-27fd22208225_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_2d78d00a-adae-497a-a6f5-27fd22208225" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_2d78d00a-adae-497a-a6f5-27fd22208225_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0addd916-ea25-4885-b978-1a93a2b38104" 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_2d78d00a-adae-497a-a6f5-27fd22208225" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0addd916-ea25-4885-b978-1a93a2b38104" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_ApolloSunLabsManagementLLCMember_7c6ad991-0eb4-4bc9-8d1d-e8e6f640d3c1" xlink:href="ameh-20230930.xsd#ameh_ApolloSunLabsManagementLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0addd916-ea25-4885-b978-1a93a2b38104" xlink:to="loc_ameh_ApolloSunLabsManagementLLCMember_7c6ad991-0eb4-4bc9-8d1d-e8e6f640d3c1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AAMGMember_2176493c-2280-4986-ac56-2f4de3578b98" xlink:href="ameh-20230930.xsd#ameh_AAMGMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0addd916-ea25-4885-b978-1a93a2b38104" xlink:to="loc_ameh_AAMGMember_2176493c-2280-4986-ac56-2f4de3578b98" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.apollomed.net/role/SubsequentEventsAdditionalInformationDetails" xlink:type="simple" xlink:href="ameh-20230930.xsd#SubsequentEventsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.apollomed.net/role/SubsequentEventsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" 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_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_6d0cc233-06f0-4512-9f86-be095b2b3ca5" 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_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_6d0cc233-06f0-4512-9f86-be095b2b3ca5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LineOfCreditFacilityAmountFundedAtClosing_b549dc24-6d7f-494e-8937-340f6a31ff22" xlink:href="ameh-20230930.xsd#ameh_LineOfCreditFacilityAmountFundedAtClosing"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_ameh_LineOfCreditFacilityAmountFundedAtClosing_b549dc24-6d7f-494e-8937-340f6a31ff22" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LineOfCreditFacilityAmountAvailableSubsequentToClosing_d27c6d81-77d3-4182-865d-989cb32e09f3" xlink:href="ameh-20230930.xsd#ameh_LineOfCreditFacilityAmountAvailableSubsequentToClosing"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_ameh_LineOfCreditFacilityAmountAvailableSubsequentToClosing_d27c6d81-77d3-4182-865d-989cb32e09f3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_LineOfCreditFacilityAmountAvailableSubsequentToClosingPeriod_dbc3edcd-f091-49c1-ad0b-d601ce983a9b" xlink:href="ameh-20230930.xsd#ameh_LineOfCreditFacilityAmountAvailableSubsequentToClosingPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_ameh_LineOfCreditFacilityAmountAvailableSubsequentToClosingPeriod_dbc3edcd-f091-49c1-ad0b-d601ce983a9b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_304d3b8b-5345-449c-b92c-ea2fe9c1f117" 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_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_304d3b8b-5345-449c-b92c-ea2fe9c1f117" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_af9118e0-ba1f-4b44-b620-cf59bbc6e2ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_af9118e0-ba1f-4b44-b620-cf59bbc6e2ff" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_594ac7a5-76a0-46f9-b560-3552456a5ad2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_us-gaap_RepaymentsOfDebt_594ac7a5-76a0-46f9-b560-3552456a5ad2" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_DebtInstrumentQuarterlyTickingFeePercentage_b9dca870-66a2-4172-a444-7840b4af926b" xlink:href="ameh-20230930.xsd#ameh_DebtInstrumentQuarterlyTickingFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_ameh_DebtInstrumentQuarterlyTickingFeePercentage_b9dca870-66a2-4172-a444-7840b4af926b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_8e91fdc9-e281-4b4d-ac93-a0abd74a4efb" 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_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_8e91fdc9-e281-4b4d-ac93-a0abd74a4efb" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_882e0dc9-a2c6-4de8-8767-e48d1a1e63fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_882e0dc9-a2c6-4de8-8767-e48d1a1e63fe" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_f195e83b-a754-43b8-aa55-66b6f8eedff5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_f195e83b-a754-43b8-aa55-66b6f8eedff5" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_7d20bda1-4761-4f1f-b150-86bfc36b4f00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_7d20bda1-4761-4f1f-b150-86bfc36b4f00" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_c238a7f0-cdde-4771-b36c-1b3d60fa24be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_c238a7f0-cdde-4771-b36c-1b3d60fa24be" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_59ef5f0f-d839-4c1c-81e6-c79664a69161" 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_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_59ef5f0f-d839-4c1c-81e6-c79664a69161" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_be9d0495-20be-4869-aae0-781b68b24135" 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_SubsequentEventLineItems_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_be9d0495-20be-4869-aae0-781b68b24135" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_47319281-6e45-4089-b1e2-02e620a136ec" 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_759f8e35-e62d-45b8-953e-3e788e6c5e61" xlink:to="loc_us-gaap_SubsequentEventTable_47319281-6e45-4089-b1e2-02e620a136ec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_e14ecdcf-983c-43de-93e3-c57dd68eede8" 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_47319281-6e45-4089-b1e2-02e620a136ec" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_e14ecdcf-983c-43de-93e3-c57dd68eede8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_e14ecdcf-983c-43de-93e3-c57dd68eede8_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_e14ecdcf-983c-43de-93e3-c57dd68eede8" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_e14ecdcf-983c-43de-93e3-c57dd68eede8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_2f74cce2-1204-4203-a2ec-47cb8b300b67" 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_e14ecdcf-983c-43de-93e3-c57dd68eede8" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_2f74cce2-1204-4203-a2ec-47cb8b300b67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_e0cbb4f9-601e-49b1-931d-8dc95cfd929c" 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_2f74cce2-1204-4203-a2ec-47cb8b300b67" xlink:to="loc_us-gaap_SubsequentEventMember_e0cbb4f9-601e-49b1-931d-8dc95cfd929c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_8205d699-7c3d-47a5-b2b2-151589aa6caa" 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_47319281-6e45-4089-b1e2-02e620a136ec" xlink:to="loc_us-gaap_DebtInstrumentAxis_8205d699-7c3d-47a5-b2b2-151589aa6caa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_8205d699-7c3d-47a5-b2b2-151589aa6caa_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_8205d699-7c3d-47a5-b2b2-151589aa6caa" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_8205d699-7c3d-47a5-b2b2-151589aa6caa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_0b9c49cd-5159-4175-baad-7bdd8d51a7c5" 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_8205d699-7c3d-47a5-b2b2-151589aa6caa" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_0b9c49cd-5159-4175-baad-7bdd8d51a7c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AmendedAndRestatedCreditAgreementMember_56c397a3-4adc-4726-827d-14d7d0f7a268" xlink:href="ameh-20230930.xsd#ameh_AmendedAndRestatedCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0b9c49cd-5159-4175-baad-7bdd8d51a7c5" xlink:to="loc_ameh_AmendedAndRestatedCreditAgreementMember_56c397a3-4adc-4726-827d-14d7d0f7a268" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AmendedCreditAgreementMember_6dd54890-6383-4175-9221-561314082a45" xlink:href="ameh-20230930.xsd#ameh_AmendedCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0b9c49cd-5159-4175-baad-7bdd8d51a7c5" xlink:to="loc_ameh_AmendedCreditAgreementMember_6dd54890-6383-4175-9221-561314082a45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_7f0e20f1-e112-4aa1-acca-8af1c2c84720" 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_SubsequentEventTable_47319281-6e45-4089-b1e2-02e620a136ec" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_7f0e20f1-e112-4aa1-acca-8af1c2c84720" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_7f0e20f1-e112-4aa1-acca-8af1c2c84720_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_7f0e20f1-e112-4aa1-acca-8af1c2c84720" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_7f0e20f1-e112-4aa1-acca-8af1c2c84720_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_dae72e9f-bd85-4048-9b02-33090eab38e2" 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_7f0e20f1-e112-4aa1-acca-8af1c2c84720" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_dae72e9f-bd85-4048-9b02-33090eab38e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_TruistBankMember_820e6c46-14ea-4ed2-a763-fbc32cf0ab08" xlink:href="ameh-20230930.xsd#ameh_TruistBankMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_dae72e9f-bd85-4048-9b02-33090eab38e2" xlink:to="loc_ameh_TruistBankMember_820e6c46-14ea-4ed2-a763-fbc32cf0ab08" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_73d91dc4-a46d-4e92-a79f-38c35fde8946" 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_47319281-6e45-4089-b1e2-02e620a136ec" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_73d91dc4-a46d-4e92-a79f-38c35fde8946" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_73d91dc4-a46d-4e92-a79f-38c35fde8946_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_73d91dc4-a46d-4e92-a79f-38c35fde8946" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_73d91dc4-a46d-4e92-a79f-38c35fde8946_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3e9a91e6-484d-48e8-833d-e5c0dfa1147c" 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_73d91dc4-a46d-4e92-a79f-38c35fde8946" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3e9a91e6-484d-48e8-833d-e5c0dfa1147c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_74e1b3c4-8227-4cc8-89e4-34c69c9cfd92" 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_3e9a91e6-484d-48e8-833d-e5c0dfa1147c" xlink:to="loc_us-gaap_LineOfCreditMember_74e1b3c4-8227-4cc8-89e4-34c69c9cfd92" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_766e2100-5511-47cd-8474-6dbc97a52824" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_3e9a91e6-484d-48e8-833d-e5c0dfa1147c" xlink:to="loc_us-gaap_SecuredDebtMember_766e2100-5511-47cd-8474-6dbc97a52824" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_37b1db58-bc55-4e0b-895b-869d6025c3c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_47319281-6e45-4089-b1e2-02e620a136ec" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_37b1db58-bc55-4e0b-895b-869d6025c3c9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_37b1db58-bc55-4e0b-895b-869d6025c3c9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_37b1db58-bc55-4e0b-895b-869d6025c3c9" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_37b1db58-bc55-4e0b-895b-869d6025c3c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_86ce6ef7-fc3e-4dbd-b694-f4a9f29d87b2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_37b1db58-bc55-4e0b-895b-869d6025c3c9" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_86ce6ef7-fc3e-4dbd-b694-f4a9f29d87b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_40dc5273-65fd-4768-9bc1-4230b9069481" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_86ce6ef7-fc3e-4dbd-b694-f4a9f29d87b2" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_40dc5273-65fd-4768-9bc1-4230b9069481" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_af14b90a-d3f7-4082-b2b0-271750d38074" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_86ce6ef7-fc3e-4dbd-b694-f4a9f29d87b2" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_af14b90a-d3f7-4082-b2b0-271750d38074" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodThreeMember_c63468c2-900a-4566-bf80-95c7dd4c6498" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentRedemptionPeriodThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_86ce6ef7-fc3e-4dbd-b694-f4a9f29d87b2" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodThreeMember_c63468c2-900a-4566-bf80-95c7dd4c6498" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_155f38be-b8ba-4392-9e9e-290bc0f887cd" 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_SubsequentEventTable_47319281-6e45-4089-b1e2-02e620a136ec" xlink:to="loc_us-gaap_VariableRateAxis_155f38be-b8ba-4392-9e9e-290bc0f887cd" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_155f38be-b8ba-4392-9e9e-290bc0f887cd_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_155f38be-b8ba-4392-9e9e-290bc0f887cd" xlink:to="loc_us-gaap_VariableRateDomain_155f38be-b8ba-4392-9e9e-290bc0f887cd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_6d24e898-2342-4919-9e40-01f2fc883dad" 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_155f38be-b8ba-4392-9e9e-290bc0f887cd" xlink:to="loc_us-gaap_VariableRateDomain_6d24e898-2342-4919-9e40-01f2fc883dad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_SecuredOvernightFinancingRateSOFRMember_ad82bd9b-1ae5-45a2-92ea-dcd9f825b72b" xlink:href="ameh-20230930.xsd#ameh_SecuredOvernightFinancingRateSOFRMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_6d24e898-2342-4919-9e40-01f2fc883dad" xlink:to="loc_ameh_SecuredOvernightFinancingRateSOFRMember_ad82bd9b-1ae5-45a2-92ea-dcd9f825b72b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_f90ddda3-0458-4fa6-afea-80a28f3d2e23" 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_6d24e898-2342-4919-9e40-01f2fc883dad" xlink:to="loc_us-gaap_BaseRateMember_f90ddda3-0458-4fa6-afea-80a28f3d2e23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_dc88c7f1-9c5a-4c62-8260-ba439ad7230f" 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_SubsequentEventTable_47319281-6e45-4089-b1e2-02e620a136ec" xlink:to="loc_srt_RangeAxis_dc88c7f1-9c5a-4c62-8260-ba439ad7230f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_dc88c7f1-9c5a-4c62-8260-ba439ad7230f_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_dc88c7f1-9c5a-4c62-8260-ba439ad7230f" xlink:to="loc_srt_RangeMember_dc88c7f1-9c5a-4c62-8260-ba439ad7230f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_f1dcbc07-0b53-48f8-81ca-15919a479bba" 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_dc88c7f1-9c5a-4c62-8260-ba439ad7230f" xlink:to="loc_srt_RangeMember_f1dcbc07-0b53-48f8-81ca-15919a479bba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_a1bfe22f-1983-4099-b560-0956876ef8ac" 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_f1dcbc07-0b53-48f8-81ca-15919a479bba" xlink:to="loc_srt_MinimumMember_a1bfe22f-1983-4099-b560-0956876ef8ac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_ef398379-c956-4109-80d2-ab9387fd633c" 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_f1dcbc07-0b53-48f8-81ca-15919a479bba" xlink:to="loc_srt_MaximumMember_ef398379-c956-4109-80d2-ab9387fd633c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_b675d3a9-c62c-40dc-bd76-ec234eb51102" 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_SubsequentEventTable_47319281-6e45-4089-b1e2-02e620a136ec" xlink:to="loc_us-gaap_CreditFacilityAxis_b675d3a9-c62c-40dc-bd76-ec234eb51102" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_b675d3a9-c62c-40dc-bd76-ec234eb51102_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_b675d3a9-c62c-40dc-bd76-ec234eb51102" xlink:to="loc_us-gaap_CreditFacilityDomain_b675d3a9-c62c-40dc-bd76-ec234eb51102_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_d1032422-8762-4e05-ae8b-99bd9b629c4f" 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_b675d3a9-c62c-40dc-bd76-ec234eb51102" xlink:to="loc_us-gaap_CreditFacilityDomain_d1032422-8762-4e05-ae8b-99bd9b629c4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_79ae9f67-83a5-44ab-8540-3c0197275924" 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_d1032422-8762-4e05-ae8b-99bd9b629c4f" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_79ae9f67-83a5-44ab-8540-3c0197275924" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_7eeeabda-4c36-4252-bbac-0149e94afad0" 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_SubsequentEventTable_47319281-6e45-4089-b1e2-02e620a136ec" xlink:to="loc_srt_CounterpartyNameAxis_7eeeabda-4c36-4252-bbac-0149e94afad0" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_7eeeabda-4c36-4252-bbac-0149e94afad0_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_7eeeabda-4c36-4252-bbac-0149e94afad0" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_7eeeabda-4c36-4252-bbac-0149e94afad0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_cbc737f3-40b7-4b5f-8f75-b14191e74898" 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_7eeeabda-4c36-4252-bbac-0149e94afad0" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_cbc737f3-40b7-4b5f-8f75-b14191e74898" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AlliedPhysiciansOfCaliforniaAPCMember_ba5d6983-1cf5-4e3b-9c2f-1e11a0730931" xlink:href="ameh-20230930.xsd#ameh_AlliedPhysiciansOfCaliforniaAPCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_cbc737f3-40b7-4b5f-8f75-b14191e74898" xlink:to="loc_ameh_AlliedPhysiciansOfCaliforniaAPCMember_ba5d6983-1cf5-4e3b-9c2f-1e11a0730931" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_24afe149-b958-4065-9ab6-7cbc247228d1" 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_SubsequentEventTable_47319281-6e45-4089-b1e2-02e620a136ec" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_24afe149-b958-4065-9ab6-7cbc247228d1" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_24afe149-b958-4065-9ab6-7cbc247228d1_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_24afe149-b958-4065-9ab6-7cbc247228d1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_24afe149-b958-4065-9ab6-7cbc247228d1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_14cbfe35-30b6-41ad-947e-551ec51bf648" 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_24afe149-b958-4065-9ab6-7cbc247228d1" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_14cbfe35-30b6-41ad-947e-551ec51bf648" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_CommunityFamilyCareMedicalGroupIPAMember_c69d172c-8238-40e2-9405-9251741363f1" xlink:href="ameh-20230930.xsd#ameh_CommunityFamilyCareMedicalGroupIPAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_14cbfe35-30b6-41ad-947e-551ec51bf648" xlink:to="loc_ameh_CommunityFamilyCareMedicalGroupIPAMember_c69d172c-8238-40e2-9405-9251741363f1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_AdvancedHealthManagementSystemsLPMember_02ad6945-459c-4a32-a375-c1bbc759e248" xlink:href="ameh-20230930.xsd#ameh_AdvancedHealthManagementSystemsLPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_14cbfe35-30b6-41ad-947e-551ec51bf648" xlink:to="loc_ameh_AdvancedHealthManagementSystemsLPMember_02ad6945-459c-4a32-a375-c1bbc759e248" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_IHealthIncMember_d89746cb-9d33-4d0a-aaaf-264f0459cae9" xlink:href="ameh-20230930.xsd#ameh_IHealthIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_14cbfe35-30b6-41ad-947e-551ec51bf648" xlink:to="loc_ameh_IHealthIncMember_d89746cb-9d33-4d0a-aaaf-264f0459cae9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis_af29ad18-7f0d-44aa-b6ec-0fe4d2e918af" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContingentConsiderationByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_47319281-6e45-4089-b1e2-02e620a136ec" xlink:to="loc_us-gaap_ContingentConsiderationByTypeAxis_af29ad18-7f0d-44aa-b6ec-0fe4d2e918af" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_af29ad18-7f0d-44aa-b6ec-0fe4d2e918af_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_af29ad18-7f0d-44aa-b6ec-0fe4d2e918af" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_af29ad18-7f0d-44aa-b6ec-0fe4d2e918af_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_a620bd56-963d-42fe-ac99-ebb5f7898609" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_af29ad18-7f0d-44aa-b6ec-0fe4d2e918af" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_a620bd56-963d-42fe-ac99-ebb5f7898609" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ameh_EarnoutPaymentsMember_9e5fdb35-a747-4eb2-b92b-4fdb58b1e4e7" xlink:href="ameh-20230930.xsd#ameh_EarnoutPaymentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_a620bd56-963d-42fe-ac99-ebb5f7898609" xlink:to="loc_ameh_EarnoutPaymentsMember_9e5fdb35-a747-4eb2-b92b-4fdb58b1e4e7" 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_fe89be80-6bb6-43f8-ae29-97ffd3d3ae3a" xlink:href="ameh-20230930.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_fe89be80-6bb6-43f8-ae29-97ffd3d3ae3a" 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_e1176b0b-0554-4331-bac1-9a2d27b371fc" xlink:href="ameh-20230930.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_e1176b0b-0554-4331-bac1-9a2d27b371fc" xlink:type="arc" order="6"/>
  </link:definitionLink>
</link:linkbase>
