Skip to content

Main content

Psychiatry Appointment Attendance Code

Encode explicit appointment attendance, cancellation, and future-event flags without inferring reasons for nonattendance.

Loading tool…

Description

Classify an appointment's supplied attendance state.

Mental-health records preserve instrument versions, recall wording, reporter roles, unknown responses and a person's own priorities. A missing code differs from a symptom rating, and a normalized preference is a scale position rather than a clinical urgency score. Recording these values does not assess mental state, diagnose a condition or choose care.

Classify an appointment's supplied attendance state.

When to use this tool

Use Psychiatry Appointment Attendance Code when you already have appointmentId, attended, cancelled, notYetOccurred and need to classify an appointment's supplied attendance state.

How to use the tool and how it works

  1. Enter appointmentId, attended, cancelled, notYetOccurred. 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 status. Use the output convention below.

Require appointmentId nonempty and at most one true attended/cancelled/notYetOccurred flag. Prefer the active flag; with none true return not-attended.1

Input fieldMeaning and unitsAccepted input
appointmentIdAppointment IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
attendedAttendedRequired. Boolean.
cancelledCancelledRequired. Boolean.
notYetOccurredNot Yet OccurredRequired. Boolean.
Output fieldInterpretationReturned shape
statusWith all three flags false returns not-attended; this does not verify an absence.Required. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "appointmentId": "A17",
    "attended": true,
    "cancelled": false,
    "notYetOccurred": false
  },
  "output": {
    "status": "attended"
  }
}

Limitations and assumptions

  • The default is not a verified absence, and no attendance, intent, urgency or clinical need is assessed.
  • 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

Consult the original instrument, language/version and reporter context for any substantive assessment. Preserve missing responses and user-selected goals explicitly; use the instrument's complete scoring process rather than treating one label or normalized preference as a clinical score.

References

  1. Calculation and input contract: psychiatry/psychiatry-appointment-attendance-code — tool.io

Similar or alternative tools