Description
Measure a supplied pharmacy-contact end-minus-start gap.
Clinical pharmacy records preserve medication wording, source dates, supply quantities and reconciliation states. Calendar shifts count weekends unless another rule is explicitly implemented. A supplied discrepancy or dose text describes a record rather than a verified medication history or a recommended regimen.
Measure a supplied pharmacy-contact end-minus-start gap.
When to use this tool
Use Clinical Pharmacy Contact Duration when you already have contactStartMinutes, contactEndMinutes and need to measure a supplied pharmacy-contact end-minus-start gap.
How to use the tool and how it works
- Enter contactStartMinutes, contactEndMinutes. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read signedGap. Use the output convention below.
Return contactEndMinutes-contactStartMinutes with signs preserved.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| contactStartMinutes | Contact Start Minutes | Required. Finite number. |
| contactEndMinutes | Contact End Minutes | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| signedGap | Signed Gap | Required. Finite number. |
{
"input": {
"contactStartMinutes": 12,
"contactEndMinutes": 17
},
"output": {
"signedGap": 5
}
} Limitations and assumptions
- No actual contact, chronological order, clinical adequacy, counseling or suitable duration 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
Reconcile the original medication, prescription and clinical records through the appropriate professional process. Check actual preparation, supply and patient context; local label formatting and arithmetic do not establish dose safety, therapeutic equivalence or permission to dispense.
References
Similar or alternative tools
- Clinical Order Unit Convention
Preserve an explicit order unit convention.
- Clinical Medicine Formulation Token
Qualify explicit medicine formulation wording.