Skip to content

Main content

Clinical Pharmacy Contact Duration

Subtract explicit pharmacy contact markers in minutes without assigning billing or care requirements.

Loading tool…

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

  1. Enter contactStartMinutes, contactEndMinutes. 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 signedGap. Use the output convention below.

Return contactEndMinutes-contactStartMinutes with signs preserved.1

Input fieldMeaning and unitsAccepted input
contactStartMinutesContact Start MinutesRequired. Finite number.
contactEndMinutesContact End MinutesRequired. Finite number.
Output fieldInterpretationReturned shape
signedGapSigned GapRequired. Finite number.
json
{
  "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

  1. Calculation and input contract: clinical-pharmacy/clinical-pharmacy-contact-duration — tool.io

Similar or alternative tools