Skip to content

Main content

Dispensing Reversal Status

Combine explicit reversal and supersession flags for a dispensing record without adjudicating a claim.

Loading tool…

Description

Flag a dispensing record as active under supplied reversal and supersession states.

Medication-study records distinguish supplied coverage intervals, observed person-days, dispensing reversals and source event definitions. Inclusive calendar-day counting differs from continuous elapsed time. Recorded supply and washout flags are study conventions rather than evidence of ingestion, drug clearance, causal effect or suitable treatment.

Flag a dispensing record as active under supplied reversal and supersession states.

When to use this tool

Use Dispensing Reversal Status when you already have dispensingId, recordedReversal, superseded and need to flag a dispensing record as active under supplied reversal and supersession states.

How to use the tool and how it works

  1. Enter dispensingId, recordedReversal, superseded. 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 countAsActive. Inspect countAsActive before interpreting the associated values.

Require dispensingId nonempty; countAsActive means !recordedReversal && !superseded.1

Input fieldMeaning and unitsAccepted input
dispensingIdDispensing IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
recordedReversalRecorded ReversalRequired. Boolean.
supersededSupersededRequired. Boolean.
Output fieldInterpretationReturned shape
countAsActiveCount As ActiveRequired. Boolean.
json
{
  "input": {
    "dispensingId": "D17",
    "recordedReversal": false,
    "superseded": false
  },
  "output": {
    "countAsActive": true
  }
}

Limitations and assumptions

  • This does not alter a dispensing record or establish medication availability, use, adherence or a valid prescription.
  • 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.

Alternative or Complementary methods

Construct exposure episodes from a documented study rule and verified dispensing or observation history. Keep inclusive calendar coverage distinct from elapsed time and actual ingestion; evaluate causal questions with a complete study design rather than one interval flag.

References

  1. Calculation and input contract: pharmacoepidemiology/dispensing-reversal-status — tool.io

Similar or alternative tools