Skip to content

Main content

Medication Record Discontinued Active Conflict Tool

Audit conflicting record status flags under an explicit effective-day convention.

Loading tool…

Description

Flag an active record conflicting with effective discontinuation.

Pharmacy administration distinguishes medicine and document identifiers, service records, stock balances and payment conventions from decisions about care. Literal labels and supplied status flags help reconcile records, while medicine identity, appropriate treatment and actual availability require independent verification.

Flag an active record conflicting with effective discontinuation.

When to use this tool

Use Medication Record Discontinued Active Conflict when reconciling the stated pharmacy record, inventory, timing or financial convention.

How to use the tool and how it works

  1. Enter active, discontinued, discontinuedDay, observationDay, effectiveOnDay. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read effectiveDiscontinuation, conflict. Inspect effectiveDiscontinuation, conflict before interpreting the associated values.

Flag an active record conflicting with effective discontinuation. effectiveDiscontinuation requires discontinued and observationDay >= discontinuedDay when effectiveOnDay, otherwise strict >; conflict additionally requires active.1

Input fieldMeaning and unitsAccepted input
activeActiveRequired. Boolean.
discontinuedDiscontinuedRequired. Boolean.
discontinuedDayDiscontinued DayRequired. Safe integer.
observationDayObservation DayRequired. Safe integer.
effectiveOnDayTrue includes the discontinuation day; false requires observationDay strictly later.Required. Boolean.
Output fieldInterpretationReturned shape
effectiveDiscontinuationEffective DiscontinuationRequired. Boolean.
conflictConflictRequired. Boolean.
json
{
  "input": {
    "active": true,
    "discontinued": true,
    "discontinuedDay": 100,
    "observationDay": 100,
    "effectiveOnDay": true
  },
  "output": {
    "effectiveDiscontinuation": true,
    "conflict": true
  }
}

Limitations and assumptions

  • The effective-day convention and status assertions are supplied; no actual prescribing instruction, medication stop or clinical action is determined.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Inspect verified medicine and service records and the applicable professional procedures; use appropriate clinical systems and qualified professional judgment for care or supply decisions.

References

  1. Calculation and input contract: clinical-pharmacy/medication-record-discontinued-active-conflict — tool.io

Similar or alternative tools