Skip to content

Test Catalog

The Test Catalog (/admin/tests) is the master list of investigations your laboratory offers. Every invoice line item, sample routing rule, analyzer mapping, and report metric ultimately references catalog entries.

Permission module: catalog (parameters use catalog_parameters)

Catalog hierarchy

mermaid
flowchart TB
    T[Test] --> P[Parameters]
    T --> PR[Profile membership]
    T --> D[Department]
    T --> $[Default price]
    P --> PG[Parameter groups / medicine groups]
    PR --> PF[Testing profiles]
EntityPurpose
TestA billable investigation (e.g., CBC, LFT, HbA1c)
ParameterIndividual analytes within a test (e.g., WBC, RBC)
ProfileBundle of tests sold as a package
DepartmentBench routing (Hematology, Biochemistry, etc.)

Creating a test

  1. Navigate to Admin → Tests.
  2. Click Add Test.
  3. Complete core fields:
FieldGuidance
CodeShort internal code; map to analyzer analyteCode where applicable
NamePatient-facing name on reports
DepartmentControls workflow queues
Default priceBase charge before discounts or referral rules
Turnaround (TAT)Expected hours for TAT reports
Sample typeBlood, urine, swab — drives collection instructions
Outsource flagRoutes to outsource report when enabled
  1. Add parameters for structured result entry (numeric, text, pick-list).
  2. Save and verify the test appears in invoice search.

Naming conventions

Use consistent codes (CBC, LFT-7) so analyzer middleware can auto-map HL7/ASTM OBX codes to catalog parameters.

Parameters and reference ranges

Each parameter supports:

AttributeDescription
Unite.g., g/dL, ×10³/µL
Reference rangeAge/gender-specific ranges where configured
Critical limitsOptional flags for panic values
Display orderControls result PDF layout

Configure grouped parameters under Admin → Medicine Groups (catalog_parameters) when prescriptions or structured panels share metadata.

Profiles (testing packages)

Profiles combine multiple catalog tests at a bundle price:

mermaid
flowchart LR
    INV[Invoice] --> PF[Profile: Executive Checkup]
    PF --> T1[Lipid Panel]
    PF --> T2[LFT]
    PF --> T3[RFT]
    PF --> T4[CBC]

Link profiles on the Testing Profile screen (profiles permission). Profiles accelerate reception workflows and reduce pricing errors.

Pricing interactions

SourcePrecedence
Catalog default priceBase
Rate list / couponApplied at invoice time
Referral doctor agreementCommission and optional price override
Home collectionAdditional charges module

Analyzer mapping

For analyzer integration, ensure:

  1. Parameter codes align with instrument output codes.
  2. Sample barcodes registered before ingest match machine payloads.
  3. JSON analyteCode values map to catalog parameter codes.

Inactive tests

Deactivating a test hides it from new invoices but preserves historical results. Prefer inactive over delete for audit compliance.

Import and bulk maintenance

For large catalogs:

  • Use spreadsheet import where available (see Import / Export)
  • Stage changes in a test environment before production
  • Run a catalog diff review with bench supervisors

Permissions summary

ActionPermission
View catalogcatalog.view
Add testscatalog.create
Edit prices/parameterscatalog.edit
Retire testscatalog.delete
Medicine groupscatalog_parameters.*

Quality checklist

CheckWhy it matters
Every billed test has a departmentSample routing
Parameters match report templatePDF accuracy
TAT populatedOperational dashboards
Outsource flags correctReferral lab billing

Ease Lab — Cloud Pathology Lab Management