Skip to content

Main content

Midwifery Study Mother Infant ID Scope Tool

Validate supplied permissions on an existing linkage identifier.

Loading tool…

Description

Test link equality and exact membership of purpose and audience in their approved lists; eligible requires all three and not revoked.

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

Test link equality and exact membership of purpose and audience in their approved lists; eligible requires all three and not revoked.

When to use this tool

Use Midwifery Study Mother Infant ID Scope when you need to compare supplied permission or disclosure records.

How to use the tool and how it works

  1. Enter linkId, expectedLinkId, approvedPurposes, requestedPurpose, audience, approvedAudiences, revoked. Keep parallel arrays aligned. 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 linkMatches, purposeMatches, audienceMatches, eligible. Inspect linkMatches, purposeMatches, audienceMatches, eligible before interpreting the associated values.

Require nonempty link and request identifiers. Test link equality and exact membership of purpose and audience in their approved lists; eligible requires all three and not revoked.1

Input fieldMeaning and unitsAccepted input
linkIdLink IdRequired. Text; maximum UTF-16 length 8192.
expectedLinkIdExpected Link IdRequired. Text; maximum UTF-16 length 8192.
approvedPurposesApproved PurposesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
requestedPurposeRequested PurposeRequired. Text; maximum UTF-16 length 8192.
audienceAudienceRequired. Text; maximum UTF-16 length 8192.
approvedAudiencesApproved AudiencesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
revokedRevokedRequired. Boolean.
Output fieldInterpretationReturned shape
linkMatchesLink MatchesRequired. Boolean.
purposeMatchesPurpose MatchesRequired. Boolean.
audienceMatchesAudience MatchesRequired. Boolean.
eligibleEligibleRequired. Boolean.
json
{
  "input": {
    "linkId": "L1",
    "expectedLinkId": "L1",
    "approvedPurposes": [
      "audit"
    ],
    "requestedPurpose": "audit",
    "audience": "team",
    "approvedAudiences": [
      "team"
    ],
    "revoked": false
  },
  "output": {
    "linkMatches": true,
    "purposeMatches": true,
    "audienceMatches": true,
    "eligible": true
  }
}

Limitations and assumptions

  • The flags reflect supplied metadata rather than verified identity or a legal authorization decision.
  • 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/midwifery-study-mother-infant-id-scope — tool.io

Similar or alternative tools