Document And Entity Information Note To Financial Statement Details Textual Note 3 - Stock-based Compensation Note 4 - Basic and Diluted Net Income Per Share Note 5 - Business Segment Reporting Note 9 - Debt and Other Financing Agreements Note 13 - Revenue Note 3 - Stock-based Compensation - Stock Option Activity (Details) Note 3 - Share-based Compensation - Nonvested Award Activity (Details) Note 4 - Basic and Diluted Net Income Per Share - Basic and Diluted Shares Outstanding (Details) Note 5 - Business Segment Reporting - Summary of Revenues by Geographic Region (Details) Note 9 - Debt and Other Financing Arrangements - Schedule of Debt Repayments (Details) Note 13 - Revenue - Revenue by Major Source (Details) Notes To Financial Statements Other assets Stock-based compensation Notes To Financial Statements [Abstract] us-gaap_LiabilitiesCurrent Total Current Liabilities us-gaap_Revenues Revenues Operating Expenses: Share-based Compensation, Stock Options, Activity [Table Text Block] us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod Forfeited (in shares) Foreign currency translation us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber Outstanding & Unvested (in shares) Outstanding & Unvested (in shares) us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod Granted (in shares) Depreciation and amortization Current portion of long-term debt Less current portion of long-term debt Schedule of Nonvested Restricted Stock Units Activity [Table Text Block] Exercisable, weighted average exercise price (in dollars per share) us-gaap_AssetsCurrent Total Current Assets Exercisable, Weighted average remaining contractual life (Year) Exercisable, aggregate intrinsic value Exercisable (in shares) Outstanding, Weighted average remaining contractual life (Year) Outstanding, aggregate intrinsic value Treasury stock, shares (in shares) Common stock, $0.005 par value; 50,000 shares authorized 6,160 shares issued in 2018 and 2017 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice Outstanding, weighted average exercise price (in dollars per share) Outstanding, weighted average exercise price (in dollars per share) Adjustments to reconcile net income to net cash provided by operating activities: Common stock, shares authorized (in shares) Forfeited, weighted average exercise price (in dollars per share) Common stock, shares issued (in shares) Purchases of equipment through accounts payable and accrued liabilities Common stock, par value (in dollars per share) Granted, weighted average exercise price (in dollars per share) Exercised, weighted average exercise price (in dollars per share) Accrued expenses us-gaap_CommonStockCapitalSharesReservedForFutureIssuance Common Stock, Capital Shares Reserved for Future Issuance Accounts payable Product and Service [Axis] us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber Outstanding (in shares) Outstanding (in shares) Product and Service [Domain] us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod Forfeited (in shares) Preferred stock, $0.005 par value, 873 shares authorized, no shares issued or outstanding Preferred stock, shares issued (in shares) Cash paid for interest us-gaap_PolicyTextBlockAbstract Accounting Policies Cash paid for income taxes Geographical [Axis] Geographical [Domain] Preferred stock, shares authorized (in shares) us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant Preferred stock, par value (in dollars per share) us-gaap_PaymentsToDevelopSoftware Cost of internally developed software Revenues us-gaap_PaymentsToAcquirePropertyPlantAndEquipment Purchases of equipment and leasehold improvements Current Liabilities: us-gaap_Assets Total Assets Supplemental Disclosures of Cash Flow Information: Plan Name [Axis] Plan Name [Domain] us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Total CASH FLOWS FROM OPERATING ACTIVITIES: us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition Statement [Line Items] Allowance for doubtful accounts us-gaap_NumberOfOperatingSegments Number of Operating Segments Accounts receivable, net of allowance for doubtful accounts of $69 in 2018 and $64 in 2017 Disclosure of Compensation Related Costs, Share-based Payments [Text Block] Additional paid-in capital Shareholders' Equity: Other income (expense) Segment Reporting Disclosure [Text Block] Equity Award [Domain] Current Assets: Fair Value Disclosures [Text Block] Award Type [Axis] Net income Net income us-gaap_Liabilities Total Liabilities us-gaap_NetCashProvidedByUsedInFinancingActivities Net cash used in financing activities Commitments and Contingencies (Note 7) us-gaap_OperatingIncomeLoss Operating income us-gaap_NetCashProvidedByUsedInOperatingActivities Net cash provided by operating activities Prepaid expenses and other current assets us-gaap_NetCashProvidedByUsedInInvestingActivities Net cash used in investing activities Accrued expenses and accrued income taxes The increase (decrease) during the reporting period in the aggregate amount of expenses and income taxes incurred but not yet paid. Effect of exchange rate changes on cash and cash equivalents us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease Net increase / (decrease) in cash and cash equivalents us-gaap_GrossProfit Gross profit pmd_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsConvertedToCommonStockInPeriod Converted to common stock (in shares) The number of equity-based payment instruments, excluding stock (or unit) options, that were converted to common stock during the reporting period. Cost of revenues pmd_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsCancelledInPeriod Cancelled (in shares) The number of equity-based payment instruments, excluding stock (or unit) options, that were cancelled during the reporting period. pmd_PaymentsOfEquipmentFinancing Payments of equipment financing The cash outflow in relating to equity financing during the year. Stock Incentive Plan 2006 [Member] Related to the stock incentive plan 2006. Outstanding & Unvested, weighted average fair value Weighted average fair value at which grantees can acquire the shares reserved for issuance under the equity instrument other than option. Granted, weighted average fair value Weighted average grant date fair value at which grantees can acquire shares of common stock by exercise of equity instrument other than option. pmd_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingAndNonvestedWeightedAverageExercisePrice Outstanding & Unvested, weighted average price per share (in dollars per share) Outstanding & Unvested, weighted average price per share (in dollars per share) Weighted average price at which grantees can acquire the shares reserved for issuance under the equity instrument other than option. pmd_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageExercisePrice Granted, weighted average price per share (in dollars per share) Weighted average per share amount at which grantees can acquire shares of common stock by exercise of equity instrument other than option. Commitments and Contingencies Disclosure [Text Block] Accumulated amortization and depreciation Fixed Assets, net of accumulated amortization and depreciation of $12,414 in 2018 and $11,670 in 2017 Stock Unit Award [Member] Related to stock unit awards. pmd_NumberOfMajorCustomers Number of Major Customers Represents the number of major customers accounting for 10% or more of the specified concentration risk benchmark, which includes, but not limited to, sales revenue, accounts receivable, etc. us-gaap_PaymentsOfDividendsCommonStock Cash dividends paid CASH FLOWS FROM INVESTING ACTIVITIES: Earnings Per Share [Text Block] BRAZIL Provision for income taxes Equity Components [Axis] Equity Component [Domain] us-gaap_LongTermDebt Long-term Debt, Total Total long-term debt Accounts payable us-gaap_IncreaseDecreaseInAccountsPayable Testing [Member] Represents testing services. Other Revenue [Member] Represents other revenue sources not otherwise disclosed. us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest Net income before provision for income taxes us-gaap_OperatingExpenses Total Operating Expenses General & administrative Cash and cash equivalents Cash and cash equivalents, beginning of period Cash and cash equivalents, end of period Disaggregation of Revenue [Table Text Block] Revenue from Contract with Customer [Text Block] Amendment Flag Other Comprehensive Income (Loss): Accounting Policies [Abstract] us-gaap_ComprehensiveIncomeNetOfTax Total Comprehensive Income Concentration Risk Disclosure [Text Block] Dividends declared per share (in dollars per share) Common Stock, Dividends, Per Share, Declared Preferred stock, shares outstanding (in shares) us-gaap_DebtWeightedAverageInterestRate Debt, Weighted Average Interest Rate Other Foreign Countries [Member] Information related to other foreign countries. Current Fiscal Year End Date Shipping/Collection (Hair) [Member] Information pertaining to shipping and hair collection services. us-gaap_DebtInstrumentInterestRateEffectivePercentage Debt Instrument, Interest Rate, Effective Percentage us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets Prepaid expenses, other current assets, and income tax receivable Document Fiscal Period Focus Document Fiscal Year Focus us-gaap_IncreaseDecreaseInDeferredIncomeTaxes Deferred income taxes Document Period End Date Document Type Document Information [Line Items] Document Information [Table] Entity Filer Category Entity Current Reporting Status Entity Voluntary Filers Entity Well-known Seasoned Issuer Dilutive common equivalent shares (in shares) us-gaap_SharePrice Share Price Schedule of Long-term Debt Instruments [Table Text Block] us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding Weighted average common shares outstanding, diluted (in shares) us-gaap_ConcentrationRiskPercentage1 Concentration Risk, Percentage us-gaap_IncreaseDecreaseInAccountsReceivable Accounts receivable Entity Central Index Key Entity Registrant Name Product Concentration Risk [Member] Entity [Domain] Customer Concentration Risk [Member] Legal Entity [Axis] Statement [Table] Scenario [Axis] Statement of Financial Position [Abstract] Diluted net income per share (in dollars per share) Scenario, Unspecified [Domain] Weighted average common shares outstanding, basic (in shares) Basic net income per share (in dollars per share) Concentration Risk Type [Axis] Concentration Risk Type [Domain] us-gaap_TreasuryStockValue Less - Treasury stock, at cost, 668 shares Statement of Cash Flows [Abstract] Entity Common Stock, Shares Outstanding (in shares) Income Statement [Abstract] us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree 2020 us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour 2021 Sales Revenue, Net [Member] Revenue from External Customers by Geographic Areas [Table Text Block] us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive 2022 Accounts Receivable [Member] us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths 2018 us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo 2019 Trading Symbol Concentration Risk Benchmark [Axis] Concentration Risk Benchmark [Domain] Description of New Accounting Pronouncements Not yet Adopted [Text Block] Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block] us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised Exercised (in shares) us-gaap_TableTextBlock Notes Tables New Accounting Pronouncements and Changes in Accounting Principles [Text Block] us-gaap_DividendPayableDateToBePaidDayMonthAndYear Dividends Payable, Date to be Paid us-gaap_PaymentsForProceedsFromOtherInvestingActivities Other assets Granted (in shares) CASH FLOWS FROM FINANCING ACTIVITIES: Marketing & selling us-gaap_DividendsPayableDateOfRecordDayMonthAndYear Dividends Payable, Date of Record us-gaap_DividendsPayableCurrentAndNoncurrent Dividends Payable us-gaap_LiabilitiesAndStockholdersEquity Total Liabilities and Shareholders' Equity Deferred tax liabilities, long-term UNITED STATES Accumulated deficit Research & development Accumulated other comprehensive loss Debt Disclosure [Text Block] us-gaap_InterestExpense Interest Expense, Total Changes in assets and liabilities: us-gaap_StockholdersEquity Total Shareholders' Equity us-gaap_DisclosureTextBlockAbstract Notes to Financial Statements Subsequent Event [Member] Class of Stock [Axis] Long-term debt Total long-term debt, net of current portion Subsequent Event Type [Axis] Cash and Cash Equivalents Disclosure [Text Block] Subsequent Event Type [Domain] Subsequent Events [Text Block] Schedule of Weighted Average Number of Shares [Table Text Block]