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
- Enter readyDate, collectionDate. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read signedCalendarDays. Use the output convention below.
Parse real UTC dates; return collection-ready in calendar days.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| readyDate | Ready Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| collectionDate | Collection Date | Required. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| signedCalendarDays | Signed Calendar Days | Required. Finite number. |
{
"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
Similar or alternative tools
- Prescription Partial Fill Remainder
Calculate a supplied prescription partial-fill remainder and overfill flag.
- Pharmacy Private Consultation Duration
Measure a supplied private-consultation end-minus-start gap.