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
- Enter appointmentId, attended, cancelled, notYetOccurred. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| appointmentId | Appointment Id | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| attended | Attended | Required. Boolean. |
| cancelled | Cancelled | Required. Boolean. |
| notYetOccurred | Not Yet Occurred | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| status | With all three flags false returns not-attended; this does not verify an absence. | Required. Text; maximum UTF-16 length 8192. |
{
"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
Similar or alternative tools
- Physio Attendance Streak Policy
Count the current recorded attendance streak under a supplied schedule policy.
- Health Promotion Attendee Session Count
Count recorded attendances, distinct attendees and distinct sessions.