XML 60 R45.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Basis of Presentation and Summary of Significant Accounting Policies - Additional Information (Details) | 1 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2021 USD ($) | Apr. 30, 2020 USD ($) | Dec. 31, 2021 USD ($) segment unit | Dec. 31, 2020 USD ($) | Dec. 31, 2019 USD ($)
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Number of operating segments | segment |  |  | 1 |  |
Number of reportable segments | segment |  |  | 1 |  |
Amount deposit accounts exceeded FDIC insured limit |  |  | $ 285,900,000 | $ 294,900,000 |
Amount of short-term marketable securities |  |  | 53,417,000 | 67,695,000 |
Marketable securities – certificates of deposit |  |  | 25,024,000 | 67,637,000 |
Marketable securities - equity securities |  |  | 24,000,000 | 36,200,000 |
Unrealized loss on investments |  |  | $ (10,745,000) | 0 | $ 0
Risk pool surplus or deficits, settlement period after performance year |  |  | 18 months |  |
Number of main reporting units | unit |  |  | 3 |  |
Impairment of intangible assets |  |  | $ 0 | 0 |
Impairment of goodwill |  |  | 0 | 0 |
Fiduciary accounts payable |  |  | 10,534,000 | 9,642,000 |
Risk pool settlement |  |  |  | 21,800,000 | 19,800,000
Payment of revenue, monthly amount |  |  | 7,700,000 | 7,200,000 |
Payment of revenue, revenue recognized |  |  | 59,200,000 |  |
Contract liabilities |  |  | $ 16,798,000 | 12,988,000 |
Voting rights held (more than) |  |  | 50.00% |  |
Contingent Equity Securities |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Warrants |  |  | $ 4,270,000 |  |
Contingent equity securities |  |  | 4,300,000 |  |
Accounts Payable and Accrued Expenses |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Payment of revenue |  |  | 92,400,000 |  |
Revenue recognized |  |  | 400,000 |  |
Other Noncurrent Liabilities | Interest Rate Swap | Cash Flow Hedging | Designated as Hedging Instrument |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Derivative liability, fair value, gross liability |  |  | 1,100,000 |  |
Level 2 |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Marketable securities – certificates of deposit |  |  | 0 | 0 |
Warrants |  |  | 1,100,000 |  |
Level 2 | Contingent Equity Securities |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Warrants |  |  | 0 |  |
APC | UCAP |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Ownership interest |  | 100.00% |  |  |
Certificates of Deposit |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Marketable securities – certificates of deposit |  |  | $ 25,000,000 | 67,600,000 |
Clinigence Holdings, Inc. |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Payments to acquire common stock and warrants | $ 3,000,000 |  |  |  |
CMS |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Expected period of payment upon termination of agreement |  |  | 30 days |  |
PMPM |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Contract term |  |  | one year |  |
Management contracts |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Contract term |  |  | ten years |  |
NGACO |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Contract liabilities |  |  | $ 16,300,000 | 12,600,000 |
Universal Care Inc | UCAP |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Ownership interest disposed |  | 48.90% |  |  |
Contingent consideration, cash held in escrow |  | $ 15,600,000 |  |  |
Contingent consideration, preferred shares |  | 6,400,000 |  |  |
Contingent consideration, fair value |  | 22,000,000 |  |  |
Universal Care Inc | APC |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Additional proceeds to be received from sale of equity method investments, if circumstances met |  | $ 15,700,000 |  |  |
PASC |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Impairment of investments |  |  | 0 | $ 0 | 300,000
Trademarks |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Indefinite-lived assets written off |  |  |  |  | $ 2,000,000
Impairment of intangible assets |  |  | $ 0 |  |
Minimum |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Accounts receivable, expected to be collected, period |  |  | 2 years |  |
Property and equipment, useful life |  |  | 3 years |  |
Minimum | Certificates of Deposit |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Marketable securities, current, maturity period |  |  | 4 months |  |
Maximum |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Accounts receivable, expected to be collected, period |  |  | 4 years |  |
Property and equipment, useful life |  |  | 39 years |  |
Maximum | Certificates of Deposit |  |  |  |  |
Summary Of Significant Accounting Policies [Line Items] |  |  |  |  |
Marketable securities, current, maturity period |  |  | 24 months |  |

X
- Definition Accounts Receivable, Expected to be Collected, Period + References No definition available. + Details
Name: | ameh_AccountsReceivableExpectedToBeCollectedPeriod
Namespace Prefix: | ameh_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Additional Proceeds To Be Received From Sale Of Equity Method Investments, If Circumstances Met + References No definition available. + Details
Name: | ameh_AdditionalProceedsToBeReceivedFromSaleOfEquityMethodInvestmentsIfCircumstancesMet
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Equity Method Investment, Ownership Percentage Disposed + References No definition available. + Details
Name: | ameh_EquityMethodInvestmentOwnershipPercentageDisposed
Namespace Prefix: | ameh_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Equity Method Investment, Sale, Contingent Consideration, Cash + References No definition available. + Details
Name: | ameh_EquityMethodInvestmentSaleContingentConsiderationCash
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Equity Method Investment, Sale, Contingent Consideration, Fair Value + References No definition available. + Details
Name: | ameh_EquityMethodInvestmentSaleContingentConsiderationFairValue
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Equity Method Investment, Sale, Contingent Consideration, Preferred Shares + References No definition available. + Details
Name: | ameh_EquityMethodInvestmentSaleContingentConsiderationPreferredShares
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of fiduciary accounts payable, due after one year or beyond the normal operating cycle, if longer. + References No definition available. + Details
Name: | ameh_FiduciaryAccountsPayableCurrent
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Marketable Securities, Current, Maturity Period + References No definition available. + Details
Name: | ameh_MarketableSecuritiesCurrentMaturityPeriod
Namespace Prefix: | ameh_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Payment Of Revenue + References No definition available. + Details
Name: | ameh_PaymentOfRevenue
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Payment Of Revenue, Monthly Amount + References No definition available. + Details
Name: | ameh_PaymentOfRevenueMonthlyAmount
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Payment Of Revenue, Revenue Recognized + References No definition available. + Details
Name: | ameh_PaymentOfRevenueRevenueRecognized
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Payments To Acquire Common Stock And Warrants + References No definition available. + Details
Name: | ameh_PaymentsToAcquireCommonStockAndWarrants
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Revenue, Remaining Performance Obligation, Expected Timing Of Satisfaction, Period Of Payment Upon Finalization Of Settlement Report + References No definition available. + Details
Name: | ameh_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriodOfPaymentUponFinalizationOfSettlementReport
Namespace Prefix: | ameh_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition These lines are represents that risk pool settlement. + References No definition available. + Details
Name: | ameh_RiskPoolSettlement
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Risk Pool Surplus Or Deficits, Settlement Period After Performance Year + References No definition available. + Details
Name: | ameh_RiskPoolSurplusOrDeficitsSettlementPeriodAfterPerformanceYear
Namespace Prefix: | ameh_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Summary Of Significant Accounting Policies [Line Items] + References No definition available. + Details
Name: | ameh_SummaryOfSignificantAccountingPoliciesLineItems
Namespace Prefix: | ameh_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of cash as of the balance sheet date that is not insured by the Federal Deposit Insurance Corporation. + References No definition available. + Details
Name: | us-gaap_CashUninsuredAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123360276&loc=SL49130531-203044 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123360276&loc=SL49130532-203044 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130549-203045 + Details
Name: | us-gaap_ContractWithCustomerLiabilityCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of revenue recognized that was previously included in balance of obligation to transfer good or service to customer for which consideration from customer has been received or is due. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 8 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130549-203045 + Details
Name: | us-gaap_ContractWithCustomerLiabilityRevenueRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled within one year or normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 + Details
Name: | us-gaap_DerivativeAssetsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 4D -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=121570589&loc=SL51823488-111719 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4B -Subparagraph (a),(c) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313 + Details
Name: | us-gaap_DerivativeFairValueOfDerivativeLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition This item represents an other than temporary decline in value that has been recognized against an investment accounted for under the equity method of accounting. The excess of the carrying amount over the fair value of the investment represents the amount of the write down which is or was reflected in earnings. The written down value is a new cost basis with the adjusted value of the investment becoming its new carrying value subject to the equity accounting method. Evidence of a loss in value might include, but would not necessarily be limited to, absence of an ability to recover the carrying amount of the investment or inability of the investee to sustain an earnings capacity which would justify the carrying amount of the investment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 35 -Paragraph 32 -URI http://asc.fasb.org/extlink&oid=124268079&loc=d3e32787-111569 + Details
Name: | us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740 + Details
Name: | us-gaap_EquitySecuritiesFvNiCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266 + Details
Name: | us-gaap_GoodwillImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of impairment loss resulting from write-down of assets, excluding financial assets and goodwill, lacking physical substance and having a projected indefinite period of benefit to fair value. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of divestiture of an asset lacking physical substance and having a projected indefinite period of benefit to fair value. Excludes financial assets and goodwill. + References No definition available. + Details
Name: | us-gaap_IndefiniteLivedIntangibleAssetsWrittenOffRelatedToSaleOfBusinessUnit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of investment in marketable security, classified as current. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.2) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_MarketableSecuritiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The parent entity's interest in net assets of the subsidiary, expressed as a percentage. + References No definition available. + Details
Name: | us-gaap_MinorityInterestOwnershipPercentageByParent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8672-108599 + Details
Name: | us-gaap_NumberOfOperatingSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8672-108599 + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of reporting units tested for impairment of goodwill. A reporting unit is an operating segment or one level below an operating segment. + References No definition available. + Details
Name: | us-gaap_NumberOfReportingUnits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of timing for satisfying performance obligation in contract with customer. Includes, but is not limited to, as services are rendered, and upon shipment, delivery or completion of service. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -SubTopic 10 -Section 50 -Paragraph 12 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123351226&loc=SL49130554-203045 + Details
Name: | us-gaap_RevenuePerformanceObligationDescriptionOfTiming
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unrealized gain (loss) on investment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_UnrealizedGainLossOnInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Percentage of the Variable Interest Entity's (VIE) voting interest owned by (or beneficial interest in) the reporting entity (directly or indirectly). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 50 -Paragraph 5A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=123419778&loc=SL6759159-111685 + Details
Name: | us-gaap_VariableInterestEntityOwnershipPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=ameh_ContingentEquitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=ameh_AccountsPayableAndAccruedExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherNoncurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_DesignatedAsHedgingInstrumentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=ameh_AlliedPacificOfCaliforniaIPAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=ameh_UniversalCareAcquisitionPartnersLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=ameh_ClinigenceHoldingsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_CounterpartyNameAxis=ameh_CMSMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=ameh_PerMemberPerMonthManagedCareContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=us-gaap_ManagementServiceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=ameh_NextGenerationACOModelParticipationAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=ameh_UniversalCareIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=ameh_UniversalCareAcquisitionPartnersLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=ameh_PacificAmbulatorySurgeryCenterLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis=ameh_MedicareLicenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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