Skip to content

Main content

Prescription Collection Day Count

Count signed calendar days between explicitly recorded ready and collection dates without determining expiry.

Loading tool…

Description

Measure a supplied collection date's signed gap from ready date.

Pharmacy records distinguish prescribed wording, recorded supply, package counts, consultation timing and product identifiers. A partial-fill balance can reveal a recorded overfill without determining lawful supply, and a lot-code comparison does not retrieve a recall. Preserving a dose string does not interpret or recommend the dose.

Measure a supplied collection date's signed gap from ready date.

When to use this tool

Use Prescription Collection Day Count when you already have readyDate, collectionDate and need to measure a supplied collection date's signed gap from ready date.

How to use the tool and how it works

  1. Enter readyDate, collectionDate. 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 signedCalendarDays. Use the output convention below.

Parse real UTC dates; return collection-ready in calendar days.1

Input fieldMeaning and unitsAccepted input
readyDateReady DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
collectionDateCollection DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
Output fieldInterpretationReturned shape
signedCalendarDaysSigned Calendar DaysRequired. Finite number.
json
{
  "input": {
    "readyDate": "2026-10-28",
    "collectionDate": "2026-11-01"
  },
  "output": {
    "signedCalendarDays": 4
  }
}

Limitations and assumptions

  • Negative gaps are retained. No prescription, collection, storage, legal deadline or safe supply 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.

Alternative or Complementary methods

Review the original prescription, dispensing, consultation and product records within the appropriate professional workflow. Use verified clinical and regulatory information for supply or care decisions; local balances and labels do not establish suitability, authenticity or authorization.

References

  1. Calculation and input contract: community-pharmacy/prescription-collection-day-count — tool.io

Similar or alternative tools