XML 23 R42.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Notes and Line of Credit Payable - Additional Information (Detail) (USD $) | 0 Months Ended | 1 Months Ended | 3 Months Ended | 9 Months Ended | 0 Months Ended | 1 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Dec. 13, 2014 | Nov. 18, 2014 | Oct. 31, 2014 | Jul. 31, 2014 | Mar. 28, 2014 | Dec. 31, 2014 | Dec. 31, 2014 | Dec. 31, 2013 | Jan. 06, 2014 | Dec. 07, 2013 | Sep. 01, 2013 | Dec. 20, 2013 | Nov. 30, 2014 | Mar. 31, 2014 | Oct. 15, 2013
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Unamortized Discount |  |  |  |  |  | $ 1,121,959 us-gaap_DebtInstrumentUnamortizedDiscount | $ 1,121,959 us-gaap_DebtInstrumentUnamortizedDiscount |  |  |  |  |  |  | $ 1,305,435 us-gaap_DebtInstrumentUnamortizedDiscount |
Amortization Of Debt Discount Premium |  |  |  |  |  |  | 288,583 us-gaap_AmortizationOfDebtDiscountPremium | 76,890 us-gaap_AmortizationOfDebtDiscountPremium |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate | 1.63%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate | 1.60%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate | 1.60%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate | 1.63%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate | 2.31%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate | 1.60%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate | 62.90%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate | 62.90%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate | 62.90%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate | 63.70%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate | 71.40%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate | 62.90%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Exercise Price | $ 1.00 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice | $ 1.00 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice | $ 1.00 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice |  |  | $ 1.00 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice | $ 1.00 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice |  |  |  |  |  | $ 1.00 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice |  |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Rate | 0.00%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate | 0.00%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate | 0.00%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate | 0.00%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate | 0.00%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate | 0.00%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate |  |  |  |  |  |  |  |  |
Expected term | 6 years | 6 years | 6 years | 6 years | 7 years | 6 years |  |  |  |  |  |  |  |  |
2014 NNA Financing |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Amortization Of Debt Discount Premium |  |  |  |  |  |  | 20,930 us-gaap_AmortizationOfDebtDiscountPremium / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Related Party Costs |  |  |  |  |  |  | 235,119 us-gaap_RelatedPartyCosts / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Deferred Finance Costs Net |  |  |  |  |  | 150,101 us-gaap_DeferredFinanceCostsNet / ameh_AgreementsAxis = ameh_NnaFinancingMember | 150,101 us-gaap_DeferredFinanceCostsNet / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Proceeds From Issuance Of Debt Instruments On Fair Value |  |  |  |  |  |  | 9,000,000 ameh_ProceedsFromIssuanceOfDebtInstrumentsOnFairValue / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate |  |  |  |  |  |  | 2.31%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate |  |  |  |  |  |  | 71.40%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Exercise Price |  |  |  |  |  | $ 0.45 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice / ameh_AgreementsAxis = ameh_NnaFinancingMember | $ 0.45 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Rate |  |  |  |  |  |  | 0.00%us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Stock Issued During Period Value For Financing |  |  |  |  |  |  | 899,739 ameh_StockIssuedDuringPeriodValueForFinancing / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Discount On Shares Issuance |  |  |  |  |  |  | 1,100,261 ameh_DiscountOnSharesIssuance / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Discount On Term Loan |  |  |  |  |  |  | 1,254,363 ameh_DiscountOnTermLoan / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Fair Value Of Warrant Liabilities |  |  |  |  |  |  | 2,354,624 ameh_FairValueOfWarrantLiabilities / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Expected term |  |  |  |  |  |  | 7 years |  |  |  |  |  |  |  |
Amortization Of Debt Discount |  |  |  |  |  |  | 51,072 ameh_AmortizationOfDebtDiscount / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Amortization Of Debt Discount Premium Related To Equity |  |  |  |  |  |  | 7,998 ameh_AmortizationOfDebtDiscountPremiumRelatedToEquity / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
Term Loan Value Under Agreement |  |  |  |  |  |  | 5,745,637 ameh_TermLoanValueUnderAgreement / ameh_AgreementsAxis = ameh_NnaFinancingMember |  |  |  |  |  |  |  |
NNA |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Term Loan accrued interest |  |  |  |  |  |  | 8.00%ameh_TermLoanAccruedInterest / ameh_AgreementsAxis = ameh_NnaMember |  |  |  |  |  |  |  |
Investment Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Warrants To Purchase Common Stock |  |  |  |  |  |  | 2,000,000 ameh_WarrantsToPurchaseCommonStock / ameh_AgreementsAxis = ameh_InvestmentAgreementMember |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights |  |  |  |  |  | $ 2.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / ameh_AgreementsAxis = ameh_InvestmentAgreementMember | $ 2.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / ameh_AgreementsAxis = ameh_InvestmentAgreementMember |  |  |  |  |  |  |  |
Medical Clinic Acquisition Promissory Notes |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument, Payment Terms |  |  |  |  |  |  |  |  | five | eight | ten |  |  |  |
Business Acquisition Fair Value Of Note Interest Rate |  |  |  |  |  |  |  |  | 5.30%ameh_BusinessAcquisitionFairValueOfNoteInterestRate / ameh_MedicalClinicAcquisitionPromissoryNotesAxis = ameh_MedicalClinicAcquisitionPromissoryNotesMember | 5.46%ameh_BusinessAcquisitionFairValueOfNoteInterestRate / ameh_MedicalClinicAcquisitionPromissoryNotesAxis = ameh_MedicalClinicAcquisitionPromissoryNotesMember | 5.45%ameh_BusinessAcquisitionFairValueOfNoteInterestRate / ameh_MedicalClinicAcquisitionPromissoryNotesAxis = ameh_MedicalClinicAcquisitionPromissoryNotesMember |  |  |  |
Debt Instrument, Periodic Payment |  |  |  |  |  |  |  |  | 15,000 us-gaap_DebtInstrumentPeriodicPayment / ameh_MedicalClinicAcquisitionPromissoryNotesAxis = ameh_MedicalClinicAcquisitionPromissoryNotesMember | 10,000 us-gaap_DebtInstrumentPeriodicPayment / ameh_MedicalClinicAcquisitionPromissoryNotesAxis = ameh_MedicalClinicAcquisitionPromissoryNotesMember | 15,000 us-gaap_DebtInstrumentPeriodicPayment / ameh_MedicalClinicAcquisitionPromissoryNotesAxis = ameh_MedicalClinicAcquisitionPromissoryNotesMember |  |  |  |
Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, maturity date |  |  |  |  |  |  | Mar. 28, 2019 |  |  |  |  |  |  |  |
Revolving line of credit carrying amount |  |  |  |  |  | 100,000 us-gaap_DebtInstrumentCarryingAmount / us-gaap_CreditFacilityAxis = us-gaap_RevolvingCreditFacilityMember | 100,000 us-gaap_DebtInstrumentCarryingAmount / us-gaap_CreditFacilityAxis = us-gaap_RevolvingCreditFacilityMember |  |  |  |  |  |  |  | 2,000,000 us-gaap_DebtInstrumentCarryingAmount / us-gaap_CreditFacilityAxis = us-gaap_RevolvingCreditFacilityMember
Line of credit facility amount outstanding |  |  |  |  |  | 94,764 us-gaap_LineOfCredit / us-gaap_CreditFacilityAxis = us-gaap_RevolvingCreditFacilityMember | 94,764 us-gaap_LineOfCredit / us-gaap_CreditFacilityAxis = us-gaap_RevolvingCreditFacilityMember |  |  |  |  |  |  | 94,764 us-gaap_LineOfCredit / us-gaap_CreditFacilityAxis = us-gaap_RevolvingCreditFacilityMember |
Line of credit facility, interest rate description |  |  |  |  |  |  | prime rate (as defined) plus 4.50% (7.75% per annum at March 31, 2014 and December 31, 2014) |  |  |  |  |  |  |  |
Line of credit facility, frequency of payment and payment terms |  |  |  |  |  |  | interest only is payable monthly, and matures June 5, 2015 |  |  |  |  |  |  |  |
Debt Instrument, Maturity Date |  |  |  |  |  |  | Mar. 28, 2019 |  |  |  |  |  |  |  |
Revolving Credit Facility | Maximum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  |  | 4,000,000 us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity / us-gaap_CreditFacilityAxis = us-gaap_RevolvingCreditFacilityMember / us-gaap_RangeAxis = us-gaap_MaximumMember |  |  |
Revolving Credit Facility | Minimum |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility, maximum borrowing capacity |  |  |  |  |  |  |  |  |  |  |  | 2,000,000 us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity / us-gaap_CreditFacilityAxis = us-gaap_RevolvingCreditFacilityMember / us-gaap_RangeAxis = us-gaap_MinimumMember |  |  |
Amended | SpaGus | Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Proceeds from repayment |  |  |  |  |  |  |  |  |  |  |  | 500,000 us-gaap_ProceedsFromRepaymentsOfDebt / us-gaap_CreditFacilityAxis = us-gaap_RevolvingCreditFacilityMember / us-gaap_LongtermDebtTypeAxis = ameh_SpuGusMember / us-gaap_ShortTermDebtTypeAxis = ameh_AmendedMember |  |  |
Convertible Notes Payable |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, interest rate |  |  |  |  | 8.00%us-gaap_DebtInstrumentInterestRateStatedPercentage / us-gaap_ShortTermDebtTypeAxis = us-gaap_ConvertibleNotesPayableMember |  |  |  |  |  |  |  |  |  |
Debt, maturity date |  |  |  |  | Mar. 28, 2019 |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  | 2,000,000 us-gaap_DebtInstrumentFaceAmount / us-gaap_ShortTermDebtTypeAxis = us-gaap_ConvertibleNotesPayableMember |  |  |  |  |  |  |  |  |  |
Debt Instrument, Maturity Date |  |  |  |  | Mar. 28, 2019 |  |  |  |  |  |  |  |  |  |
Debt Instrument, Convertible, Conversion Ratio |  |  |  |  | 1.00 us-gaap_DebtInstrumentConvertibleConversionRatio1 / us-gaap_ShortTermDebtTypeAxis = us-gaap_ConvertibleNotesPayableMember |  |  |  |  |  |  |  |  |  |
Debt Instrument, Convertible, Terms of Conversion Feature |  |  |  |  | The Company may redeem amounts outstanding under the Convertible Note on 60 days prior notice to NNA. |  |  |  |  |  |  |  |  |  |
NNA Warrants [Member] | Investment Agreement [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Warrants To Purchase Common Stock |  |  |  |  |  |  | 3,000,000 ameh_WarrantsToPurchaseCommonStock / ameh_AgreementsAxis = ameh_InvestmentAgreementMember / us-gaap_ShortTermDebtTypeAxis = ameh_NnaWarrantsMember |  |  |  |  |  |  |  |
Class of Warrant or Right, Exercise Price of Warrants or Rights |  |  |  |  |  | $ 1.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / ameh_AgreementsAxis = ameh_InvestmentAgreementMember / us-gaap_ShortTermDebtTypeAxis = ameh_NnaWarrantsMember | $ 1.00 us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1 / ameh_AgreementsAxis = ameh_InvestmentAgreementMember / us-gaap_ShortTermDebtTypeAxis = ameh_NnaWarrantsMember |  |  |  |  |  |  |  |
Senior secured note | Amended | SpaGus |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Debt, interest rate |  |  |  |  |  | 8.00%us-gaap_DebtInstrumentInterestRateStatedPercentage / us-gaap_DebtInstrumentAxis = ameh_SeniorSecuredNoteMember / us-gaap_LongtermDebtTypeAxis = ameh_SpuGusMember / us-gaap_ShortTermDebtTypeAxis = ameh_AmendedMember | 8.00%us-gaap_DebtInstrumentInterestRateStatedPercentage / us-gaap_DebtInstrumentAxis = ameh_SeniorSecuredNoteMember / us-gaap_LongtermDebtTypeAxis = ameh_SpuGusMember / us-gaap_ShortTermDebtTypeAxis = ameh_AmendedMember |  |  |  |  |  |  |  |
Senior notes |  |  |  |  |  | 500,000 us-gaap_SeniorNotes / us-gaap_DebtInstrumentAxis = ameh_SeniorSecuredNoteMember / us-gaap_LongtermDebtTypeAxis = ameh_SpuGusMember / us-gaap_ShortTermDebtTypeAxis = ameh_AmendedMember | 500,000 us-gaap_SeniorNotes / us-gaap_DebtInstrumentAxis = ameh_SeniorSecuredNoteMember / us-gaap_LongtermDebtTypeAxis = ameh_SpuGusMember / us-gaap_ShortTermDebtTypeAxis = ameh_AmendedMember |  |  |  |  |  |  |  |
Proceeds from Issuance of Debt |  |  |  |  |  |  | 230,000 us-gaap_ProceedsFromIssuanceOfDebt / us-gaap_DebtInstrumentAxis = ameh_SeniorSecuredNoteMember / us-gaap_LongtermDebtTypeAxis = ameh_SpuGusMember / us-gaap_ShortTermDebtTypeAxis = ameh_AmendedMember |  |  |  |  |  |  |  |
Term Loan |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility amount outstanding |  |  |  |  | 7,000,000 us-gaap_LineOfCredit / us-gaap_DebtInstrumentAxis = ameh_TermLoanMember |  |  |  |  |  |  |  |  |  |
Class of warrant or right, number of securities called by warrants or rights |  |  |  |  |  | 3 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_DebtInstrumentAxis = ameh_TermLoanMember | 3 us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights / us-gaap_DebtInstrumentAxis = ameh_TermLoanMember |  |  |  |  |  |  |  |
Repayment of first year term loan |  |  |  |  |  |  | 87,500 ameh_RepaymentOfFirstYearTermLoan / us-gaap_DebtInstrumentAxis = ameh_TermLoanMember |  |  |  |  |  |  |  |
Repayment of second year term loan |  |  |  |  |  |  | 122,500 ameh_RepaymentOfSecondYearTermLoan / us-gaap_DebtInstrumentAxis = ameh_TermLoanMember |  |  |  |  |  |  |  |
Repayment of third year term loan |  |  |  |  |  |  | 122,500 ameh_RepaymentOfThirdYearTermLoan / us-gaap_DebtInstrumentAxis = ameh_TermLoanMember |  |  |  |  |  |  |  |
Repayment of fourth year term loan |  |  |  |  |  |  | 175,000 ameh_RepaymentOfFourthYearTermLoan / us-gaap_DebtInstrumentAxis = ameh_TermLoanMember |  |  |  |  |  |  |  |
Repayment of fifth year term loan |  |  |  |  |  |  | 210,000 ameh_RepaymentOfFifthYearTermLoan / us-gaap_DebtInstrumentAxis = ameh_TermLoanMember |  |  |  |  |  |  |  |
Debt Instrument, Unamortized Discount |  |  |  |  |  | 1,305,435 us-gaap_DebtInstrumentUnamortizedDiscount / us-gaap_DebtInstrumentAxis = ameh_TermLoanMember | 1,305,435 us-gaap_DebtInstrumentUnamortizedDiscount / us-gaap_DebtInstrumentAxis = ameh_TermLoanMember |  |  |  |  |  |  |  |
Debt Instrument, Fee Amount |  |  |  |  |  | 80,000 us-gaap_DebtInstrumentFeeAmount / us-gaap_DebtInstrumentAxis = ameh_TermLoanMember | 80,000 us-gaap_DebtInstrumentFeeAmount / us-gaap_DebtInstrumentAxis = ameh_TermLoanMember |  |  |  |  |  |  |  |
Revolving Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of credit facility amount outstanding |  |  |  |  | 1,000,000 us-gaap_LineOfCredit / us-gaap_DebtInstrumentAxis = ameh_RevolvingLoanMember |  |  |  |  |  |  |  |  |  |
Line of credit facility, interest rate description |  |  |  |  |  |  | three month LIBOR plus 6.0% |  |  |  |  |  |  |  |
Term Loan And Revolving Loan [Member] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Senior Secured Note [Line Items] |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Expiration Date |  |  |  |  | Mar. 28, 2019 |  |  |  |  |  |  |  |  |  |

X
- Definition Amortization Of Debt Discount. + References No definition available. + Details
Name: | ameh_AmortizationOfDebtDiscount
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortization Of Debt Discount Premium Related To Equity. + References No definition available. + Details
Name: | ameh_AmortizationOfDebtDiscountPremiumRelatedToEquity
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Business acquisition fair value of note interest rate + References No definition available. + Details
Name: | ameh_BusinessAcquisitionFairValueOfNoteInterestRate
Namespace Prefix: | ameh_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The discount on shares issuance under the agreement. + References No definition available. + Details
Name: | ameh_DiscountOnSharesIssuance
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The discount on term loan under the agreement. + References No definition available. + Details
Name: | ameh_DiscountOnTermLoan
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The fair value of warrant liabilities during the period. + References No definition available. + Details
Name: | ameh_FairValueOfWarrantLiabilities
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Proceeds From Issuance Of Debt Instruments On Fair Value. + References No definition available. + Details
Name: | ameh_ProceedsFromIssuanceOfDebtInstrumentsOnFairValue
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Repayment of fifth year term loan. + References No definition available. + Details
Name: | ameh_RepaymentOfFifthYearTermLoan
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Repayment of first year term loan. + References No definition available. + Details
Name: | ameh_RepaymentOfFirstYearTermLoan
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Repayment of fourth year term loan. + References No definition available. + Details
Name: | ameh_RepaymentOfFourthYearTermLoan
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Repayment of second year term loan, + References No definition available. + Details
Name: | ameh_RepaymentOfSecondYearTermLoan
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Repayment of third year term loan. + References No definition available. + Details
Name: | ameh_RepaymentOfThirdYearTermLoan
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | ameh_SeniorSecuredNoteLineItems
Namespace Prefix: | ameh_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The value of shares issued during period for agreement. + References No definition available. + Details
Name: | ameh_StockIssuedDuringPeriodValueForFinancing
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Term Loan accrued interest. + References No definition available. + Details
Name: | ameh_TermLoanAccruedInterest
Namespace Prefix: | ameh_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term Loan Value Under Agreement. + References No definition available. + Details
Name: | ameh_TermLoanValueUnderAgreement
Namespace Prefix: | ameh_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Warrants to purchase common stock. + References No definition available. + Details
Name: | ameh_WarrantsToPurchaseCommonStock
Namespace Prefix: | ameh_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.8) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 8 -Article 5 + Details
Name: | us-gaap_AmortizationOfDebtDiscountPremium
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Exercise price per share or per unit of warrants or rights outstanding. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(4)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 + Details
Name: | us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of securities into which the class of warrant or right may be converted. For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(i)(2)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph i -Subparagraph 2 -Article 4 + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of long-term debt before deduction of unamortized discount or premium. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt, with initial maturities beyond one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 20 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 16 -Article 9 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Ratio applied to the conversion of debt instrument into equity with equity shares divided by debt principal amount. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21475-112644 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21521-112644 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 6 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21506-112644 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(5)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Conversion Rate -URI http://asc.fasb.org/extlink&oid=6509012 + Details
Name: | us-gaap_DebtInstrumentConvertibleConversionRatio1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the conversion terms of a debt instrument which may include the conversion ratio (including all potential conversion ratios if contingently adjustable), type of debt or equity security into which the debt is convertible, the dollars of debt or the number of shares into which the instrument is convertible (or potentially convertible into), the conversion period, any contingencies associated with the conversion terms, and the existence and amount of a beneficial conversion feature. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21475-112644 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21506-112644 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21521-112644 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(5)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentConvertibleTermsOfConversionFeature
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=34725769&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the fee that accompanies borrowing money under the debt instrument. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentFeeAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the payment terms of the debt instrument (for example, whether periodic payments include principal and frequency of payments) and discussion about any contingencies associated with the payment. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6479336&loc=d3e64711-112823 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(3)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentPaymentTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments including both interest and principal payments. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6479336&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=34725769&loc=d3e28878-108400 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition For an unclassified balance sheet, the carrying amount (net of accumulated amortization) as of the balance sheet date of capitalized costs associated with the issuance of debt instruments (for example, legal, accounting, underwriting, printing, and registration costs) that will be charged against earnings over the life of the debt instruments to which such costs pertain. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28555-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 17 -Article 5 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 20, 22 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Date the credit facility terminates, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityExpirationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the frequency of the required periodic payments of interest, principal, or both, and the amount, if set, or a description of a formula upon which payment is based. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityFrequencyOfPaymentAndPaymentTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the interest rate for the amounts borrowed under the credit facility, including the terms and the method for determining the interest rate (for example, fixed or variable, LIBOR plus a percentage, increasing rate, timing of interest rate resets, remarketing provisions). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. + References No definition available. + Details
Name: | us-gaap_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The net cash inflow or outflow in aggregate debt due to repayments and proceeds from additional borrowings. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 + Details
Name: | us-gaap_ProceedsFromRepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Direct costs arising from transactions with related parties who are not affiliates or joint Ventures. These costs are categorized as cost of goods sold. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(k)(1)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph k -Subparagraph 1 -Article 4 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 + Details
Name: | us-gaap_RelatedPartyCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Including the current and noncurrent portions, carrying value as of the balance sheet date of Notes with the highest claim on the assets of the issuer in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle if longer). Senior note holders are paid off in full before any payments are made to junior note holders. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16(a)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 16 -Article 9 + Details
Name: | us-gaap_SeniorNotes
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Agreed-upon price for the exchange of the underlying asset relating to the share-based payment award. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExercisePrice
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Expected term of share-based compensation awards, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 14.D.2) -URI http://asc.fasb.org/extlink&oid=27013229&loc=d3e301413-122809 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 14 -Section D -Subsection 2 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The estimated measure of the percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(ii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The risk-free interest rate assumption that is used in valuing an option on its own shares. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(iv) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ameh_AgreementsAxis=ameh_InvestmentAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ameh_AgreementsAxis=ameh_NnaFinancingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ameh_AgreementsAxis=ameh_NnaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ameh_MedicalClinicAcquisitionPromissoryNotesAxis=ameh_MedicalClinicAcquisitionPromissoryNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ameh_RevolvingLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ameh_SeniorSecuredNoteMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ameh_TermLoanAndRevolvingLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ameh_TermLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=ameh_AmendedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=ameh_NnaWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShortTermDebtTypeAxis=us-gaap_ConvertibleNotesPayableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |