Skip to content

Main content

Housing Assistance Document Expiry Tool

Compare a supplied housing-assistance document's inclusive expiry date with an appointment date without deciding document acceptability.

Loading tool…

Description

Parse real Gregorian expiryDate and appointmentDate.

Care-service administration records appointments, referrals, reimbursements, and contact arrangements. Formatting or comparing these fields supports record keeping; it does not assess a person's needs or replace a professional care decision.

Parse real Gregorian expiryDate and appointmentDate.

When to use this tool

Use Housing Assistance Document Expiry when you need one administrative calculation or label from supplied care-service records.

How to use the tool and how it works

  1. Enter expiryDate, appointmentDate. 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 expiredBeforeAppointment, daysRemaining. Inspect expiredBeforeAppointment before interpreting the associated values.

Parse real Gregorian expiryDate and appointmentDate. Return expiry minus appointment in days and expiredBeforeAppointment only when appointment is strictly later.1

Input fieldMeaning and unitsAccepted input
expiryDateSupplied expiry date; boundary inclusion follows the comparison above.Required. Text; maximum UTF-16 length 8192.
appointmentDateAppointment DateRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
expiredBeforeAppointmentExpired Before AppointmentRequired. Boolean.
daysRemainingDays RemainingRequired. Safe integer.
json
{
  "input": {
    "expiryDate": "2026-11-10",
    "appointmentDate": "2026-11-01"
  },
  "output": {
    "expiredBeforeAppointment": false,
    "daysRemaining": 9
  }
}

Limitations and assumptions

  • The expiry date itself is included by this rule; document validity, benefit eligibility, and agency policy are not established.
  • 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

Use the responsible service's complete workflow and consult an appropriate professional for care decisions.

References

  1. Calculation and input contract: social-work/housing-assistance-document-expiry — tool.io

Similar or alternative tools