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
- Enter dispensingId, recordedReversal, superseded. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read countAsActive. Inspect countAsActive before interpreting the associated values.
Require dispensingId nonempty; countAsActive means !recordedReversal && !superseded.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| dispensingId | Dispensing Id | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| recordedReversal | Recorded Reversal | Required. Boolean. |
| superseded | Superseded | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| countAsActive | Count As Active | Required. Boolean. |
{
"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
Similar or alternative tools
- Exposure Episode Start Tag
Tag an explicit exposure episode with its supplied start reason.
- Adverse Event Report Duplicate Key
Build an unambiguous key from explicit adverse-event identifiers.