Description
Return a clock-corrected counseling-record review gap.
Pharmacy administration separates inventory, document identity, authorization, service timing and financial records from clinical decisions. Matching labels or a positive local predicate can reconcile supplied metadata without authenticating medicine, establishing lawful supply or determining appropriate care.
Return a clock-corrected counseling-record review gap.
When to use this tool
Use Counseling Record Review Gap when checking the stated pharmacy record, inventory, timing, coverage or cost convention.
How to use the tool and how it works
- Enter recordTime, reviewTime, suppliedClockOffset. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read elapsed, reviewedBeforeRecord. Inspect reviewedBeforeRecord before interpreting the associated values.
Return a clock-corrected counseling-record review gap. elapsed = reviewTime-suppliedClockOffset-recordTime; reviewedBeforeRecord tests the corrected review time against the record.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| recordTime | Record Time | Required. Finite number. |
| reviewTime | Review Time | Required. Finite number. |
| suppliedClockOffset | Supplied Clock Offset | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| elapsed | Elapsed | Required. Finite number. |
| reviewedBeforeRecord | Reviewed Before Record | Required. Boolean. |
{
"input": {
"recordTime": 10,
"reviewTime": 30,
"suppliedClockOffset": 5
},
"output": {
"elapsed": 15,
"reviewedBeforeRecord": false
}
} Limitations and assumptions
- Time units and clock correction are supplied; no actual review, care adequacy or record authenticity is verified.
- 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
Use verified medicine/service records and applicable professional procedures; consult a qualified pharmacist or other appropriate professional for clinical, legal or safe-supply decisions.
References
Similar or alternative tools
- Pharmacy Return To Stockelapsed Window
Compare time since return with a supplied return-to-stock window.
- Pharmacy Voucher Expiry Slack
Return voucher expiry slack under an explicit endpoint policy.