Skip to content

Main content

Maternity Link Consent Purpose Flag Tool

Compare supplied purpose/consent record flags only; does not determine legal authority to process records.

Loading tool…

Description

Check requestedPurpose against recordedPurposes.

Recorded permissions are metadata with a declared scope, purpose, audience, and withdrawal status. Boolean consistency checks can expose gaps without establishing valid authorization.

Check requestedPurpose against recordedPurposes.

When to use this tool

Use Maternity Link Consent Purpose Flag when you need to compare supplied permission or disclosure records.

How to use the tool and how it works

  1. Enter requestedPurpose, recordedPurposes, consentKnown, consentGranted. 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 purposeRecorded, permittedUnderFlags, unresolved. Inspect purposeRecorded, permittedUnderFlags, unresolved before interpreting the associated values.

Check requestedPurpose against recordedPurposes. permittedUnderFlags requires consentKnown, consentGranted, and purpose membership; unresolved is the inverse of consentKnown.1

Input fieldMeaning and unitsAccepted input
requestedPurposeRequested PurposeRequired. Text; maximum UTF-16 length 8192.
recordedPurposesRecorded PurposesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
consentKnownConsent KnownRequired. Boolean.
consentGrantedConsent GrantedRequired. Boolean.
Output fieldInterpretationReturned shape
purposeRecordedPurpose RecordedRequired. Boolean.
permittedUnderFlagsPermitted Under FlagsRequired. Boolean.
unresolvedUnresolvedRequired. Boolean.
json
{
  "input": {
    "requestedPurpose": "research",
    "recordedPurposes": [
      "care"
    ],
    "consentKnown": true,
    "consentGranted": true
  },
  "output": {
    "purposeRecorded": false,
    "permittedUnderFlags": false,
    "unresolved": false
  }
}

Limitations and assumptions

  • An arithmetic permission flag is not a legal determination or independent consent verification.
  • 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 the original consent record and applicable policy with the responsible professional before relying on a permission flag.

References

  1. Calculation and input contract: midwifery/maternity-link-consent-purpose-flag — tool.io

Similar or alternative tools