Clinical Use

Pharmacy Operations

Medication catalogue, formulary, prescribing, safety review, dispensing, administration, reconciliation, stock provenance, MediServe and billing integration.

System boundaries

SystemOwnsDoes not own
AMCDR/openEHRMedication orders, clinical indications, dispense/administer facts, reconciliation, discharge plan and provenance.Warehouse quantity as a clinical composition.
Medication catalogue/formularyGeneric/brand identity, dose form, strength, route, unit, RxNorm/ATC/local mappings, GTIN, manufacturer, pack and safety flags.Patient-specific medication truth or prices.
MediServeConfigured external pharmacy/medication workflow launched with governed patient and user context.Independent patient identity or a replacement clinical record.
Inventory/logisticsLocation stock, lot/batch, expiry, movements, quantities, acquisition and cold-chain context.Prescription intent or invoice state.
FinanceDispense/administration charge definition, tariff snapshot, account, invoice and payment.Drug terminology or stock balance.

Configure before clinical use

  1. Connect AmyTerm or approved terminology sources for medication concepts, routes, dose forms and units.
  2. Create/import products with stable codes, ingredient/generic identity, strength, dose form, route, unit, RxNorm/ATC/local mapping and barcode/GTIN where available.
  3. Record controlled-drug schedule, high-alert, look-alike/sound-alike and cold-chain flags.
  4. Approve formulary status and restrictions separately from product identity.
  5. Configure clinical safety, allergy/interaction services, workflow/template bindings, stock locations and permitted pharmacy roles.
  6. If billing is enabled, map product codes to medication_dispense or medication_administration charge definitions and active tariffs.

Medication lifecycle

  1. Prescribe: capture patient, encounter, medication, indication, dose, route, frequency, duration and author.
  2. Review: evaluate allergies, interactions, duplicate therapy, contraindications, formulary and dose context. Record warnings, decisions and override rationale.
  3. Verify and dispense: confirm product, patient, prescription, quantity, substitution reason, dispenser and lot/batch/expiry where inventory provides them.
  4. Administer: use medication-administration rights and patient/product barcode confirmation where enabled; record dose, route, time, performer and omission/refusal reason.
  5. Reconcile: compare home, admission, transfer and discharge medication lists; resolve continue/change/stop decisions.
  6. Discharge: publish an understandable current plan with instructions, duration, warnings and follow-up.

MediServe integration

Open MediServe from the medication workspace. AMCDR issues a short-lived launch token with the authorized user and patient context. The integration must validate issuer, audience, expiry, tenant and subject; use MPI-resolved patient identity; return stable workflow references; and write clinical outcomes back through governed AMCDR APIs. If MediServe is unavailable, AMCDR should expose a clear dependency state without losing existing canonical medication records.

Stock and financial integration

After the clinical transaction succeeds, dispensing can create an inventory movement and a billable event. Use the same stable dispense or administration source ID for retries to prevent duplicates. Reconcile stock or billing failures separately while retaining the completed clinical record.

Acceptance test

  1. Create a synthetic product, approve formulary status and verify AmyTerm-coded route/unit bindings.
  2. Prescribe for a synthetic patient with an allergy or interaction; verify warning, decision and override audit.
  3. Dispense with patient/product confirmation and lot/expiry, then verify the canonical record and stock movement.
  4. Administer and reconcile through discharge; verify timeline and current medication plan.
  5. With finance enabled, verify one charge per source event and correct reconciliation behavior when pricing is missing.
  6. Verify controlled/high-alert workflows, separation of duties and unauthorized-route denial.

See Medication Products and Clinical Safety for safety-sidecar details and Finance and Billing for tariff and revenue-cycle controls.