Skip to content

Industry field guide

Inpatient behavioral health follow-up evidence for AI

A referral, booked appointment and completed follow-up represent different states.

2022 NAICS
622210
Updated

What this guide tests

Which encounter has supported completion, and what is the most advanced documented state for E-A?

See the specimen and fields · Work through the fictional records

Task and source context

A referral, booked appointment and completed follow-up represent different states. CMS’s Inpatient Psychiatric Facility Quality Reporting program provides quality measurement context. A facility can design a fictional event timeline without using any clinical records. CMS inpatient psychiatric reporting program

Write two invented timelines with separate event IDs. One has a booking acknowledgment but no visit evidence. The other has a mock completion record linked to a different encounter. Ask which timeline supports a completed follow-up. Require citations and a missing-evidence flag rather than an inference from the schedule.

Use no actual stays, diagnoses, treatment histories, health records or narratives. Have the privacy team assess any future real-data request, including special protections that may apply. HHS mental and behavioral health privacy resources

Describe a fictional follow-up records sample

Industry research

The U.S. Census Bureau’s industry definitions establish which activities these codes cover. The workflow sources in this guide describe the task or record type. Fiund’s pilot below uses fictional material to test a specific decision within that scope.

622210 · Psychiatric and Substance Abuse Hospitals

This industry comprises establishments known and licensed as psychiatric and substance abuse hospitals primarily engaged in providing diagnostic, medical treatment, and monitoring services for inpatients who suffer from mental illness or substance abuse disorders.

U.S. Census Bureau, 2022 NAICS Manual, p. 530 ↗

Build a pilot sample

Set up this pilot

Create fictional follow-up referrals with booking and completion on separate events. Keep one booking unmatched and grade the latest supported state without clinical judgments.

Prepare the test packets

  1. Start with the worked case. Use the fictional record types below as a guide to the source files you need. Give each packet a stable ID and save its source versions with it.
  2. Change one fact. Make one packet with enough evidence to answer the question and one where the evidence points to a different answer. Keep the other fields fixed so a reviewer can tell what changed.
  3. Remove the decisive evidence. Give the reviewer a third packet with a plausible near-match in its place. Have them write what can still be established and what evidence would resolve the rest.

Fields the reviewer needs

Encounter and referral IDs
Defines the timeline.
Booking versus completion event
Separates workflow states.
Source link and unresolved evidence
Limits the summary.

Use What health care and social services teams can contribute to AI to turn the specimen into a brief with a defined task, source and review owner.

Fictional exercise

A booked follow-up and another encounter's completion are different states

Two original fictional event timelines use inert encounter labels. They contain no stay, diagnosis, treatment narrative, person or clinical follow-up advice.

Records supplied to the evaluator
Record IDSourceWhat it records
BF1Timeline AEncounter E-A: referral R-A sent, appointment booking B-A acknowledged for day 8. No visit-completion event supplied.
BF2Timeline BEncounter E-B: follow-up completion C-B explicitly links to E-B and day 9. Its referral alias resembles R-A but differs.
BF3Summary draftDraft says E-A follow-up completed because B-A was acknowledged and C-B appears in the same export.

Question for the model. Which encounter has supported completion, and what is the most advanced documented state for E-A?

Show the reference answer

BF2 explicitly documents completion for E-B. BF1 supports E-A's sent referral and acknowledged booking, without a completed visit. BF3 mixes a scheduling acknowledgment with another encounter's completion, so its E-A conclusion is unsupported. Preserve encounter-specific states and request an E-A-linked completion source before advancing it. The fixture establishes no clinical outcome, quality measure or real care status.

Download the fictional records and answer key (JSON)

How to check the result

Ask for the answer, the record IDs that support it and any fact the evidence leaves unresolved. Have a reviewer compare the response against the reference before deciding whether the sample is ready to expand.

Errors to flag in this case

  • Treating an appointment booking as a completed follow-up.
  • Joining a completion from another encounter because its referral alias looks similar.

Change the inputs and run it again

Add an E-A cancellation after the booking. Require the timeline to record cancellation rather than infer completion from the original appointment date.

Score the decision and the evidence separately

Save the reviewer’s expected answer, supporting record IDs and unresolved fields in a separate answer key. Score the model on the decision, its citations and its handling of the deliberate gap. A correct answer citing a different case counts as an evidence error.

Before expanding collection, have a second reviewer run the same checks on the held-out packet. Keep related versions, views and exports of the same case together so they stay on one side of the training and evaluation split.

Check permission and scope

Use original abstract records only. Exclude actual stays, narratives and health data; privacy staff assess any separate real-data proposal.

Leave out patients, real charts, security controls, clinical operations and staff identifiers.

Describe an authorized archive through Fiund’s existing-data assessment, or describe a new capture capability through the collection brief. The contributor agreement covers the terms for participation.

Sources and further reading

Resources for this workflow

How the examples work

Company and program reviews

Use these reviews to compare sourcing, capture or evaluation approaches. Confirm the applicable program, accepted sources and terms with the provider.

All company reviews

Related industry examples

← Health care and social assistance