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
- Enter preferredFormat, availableFormats. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read available. Inspect available before interpreting the associated values.
Require preferredFormat nonempty; return availableFormats.includes(preferredFormat) using literal matching.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| preferredFormat | Preferred Format | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| availableFormats | Available Formats | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| available | Literal membership in the supplied list; does not arrange a contact or assess suitability. | Required. Boolean. |
{
"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
Similar or alternative tools
- Midwifery Continuity Contact Label
Record explicit provider and continuity-group identifiers for a contact.
- Maternity Translation Language Key
Qualify an explicitly recorded maternity-document translation language and version.