Skip to content

Main content

Lactation Contact Preferred Format

Check whether an explicitly preferred contact format is listed as available without inferring lactation needs or communication preferences.

Loading tool…

Description

Check whether a requested lactation-contact format appears in a supplied list.

Midwifery records link contact identities, referrals, translated documents, equipment dates and user-preferred formats. A recorded receipt or listed format differs from actual service availability. Calendar margins and kit counts preserve supplied records without establishing readiness, appropriate response time or clinical need.

Check whether a requested lactation-contact format appears in a supplied list.

When to use this tool

Use Lactation Contact Preferred Format when you already have preferredFormat, availableFormats and need to check whether a requested lactation-contact format appears in a supplied list.

How to use the tool and how it works

  1. Enter preferredFormat, availableFormats. 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 available. Inspect available before interpreting the associated values.

Require preferredFormat nonempty; return availableFormats.includes(preferredFormat) using literal matching.1

Input fieldMeaning and unitsAccepted input
preferredFormatPreferred FormatRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
availableFormatsAvailable FormatsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
availableLiteral membership in the supplied list; does not arrange a contact or assess suitability.Required. Boolean.
json
{
  "input": {
    "preferredFormat": "text",
    "availableFormats": [
      "text",
      "phone"
    ]
  },
  "output": {
    "available": true
  }
}

Limitations and assumptions

  • The list is supplied; no accessibility, actual service availability, communication suitability or care advice is determined.
  • 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

Review original contact, referral, equipment and education records when actual delivery or readiness matters. Preserve requested language and format preferences; the local count, date or membership check does not verify the broader care workflow.

References

  1. Calculation and input contract: midwifery/lactation-contact-preferred-format — tool.io

Similar or alternative tools