Skip to content

Main content

Service Referral Status Label Tool

Render a recorded service-referral status; closed means the record is closed, not that a client's needs were met.

Loading tool…

Description

Format the label and mark complete only for closed.

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.

Format the label and mark complete only for closed.

When to use this tool

Use Service Referral Status Label when you need one administrative calculation or label from supplied care-service records.

How to use the tool and how it works

  1. Enter referralCode, status. 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 label, complete. Inspect complete before interpreting the associated values.

Require a nonempty referralCode and one of sent, received, accepted, declined, or closed. Format the label and mark complete only for closed.1

Input fieldMeaning and unitsAccepted input
referralCodeReferral CodeRequired. Text; maximum UTF-16 length 8192.
statusStatus under the explicitly supplied comparison or record convention.Required. Text; one of "sent", "received", "accepted", "declined", "closed"; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
labelFormatted label for the supplied components under the convention above.Required. Text; maximum UTF-16 length 8192.
completeCompleteRequired. Boolean.
json
{
  "input": {
    "referralCode": "R17",
    "status": "received"
  },
  "output": {
    "label": "R17 [received]",
    "complete": false
  }
}

Limitations and assumptions

  • Closed is a recorded workflow status, not proof that a referral produced care or that needs were resolved.
  • 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/service-referral-status-label — tool.io

Similar or alternative tools