Description
Count exact pairs, source IDs beginning with the prefix, and mismatched pairs independently.
Manufacturing records link lots, batches, effective dates, and review windows. Literal agreement or timing within a supplied window does not establish approval or traceability on its own.
Count exact pairs, source IDs beginning with the prefix, and mismatched pairs independently.
When to use this tool
Use Manufacturing Lot Source Gap when you need a scoped manufacturing-record consistency check.
How to use the tool and how it works
- Enter lotIds, sourceLotIds, requiredSourcePrefix. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read exactMatches, prefixSupported, mismatched. Use the output convention below.
Require aligned lot lists and a nonempty requiredSourcePrefix. Count exact pairs, source IDs beginning with the prefix, and mismatched pairs independently.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| lotIds | Lot Ids | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| sourceLotIds | Source Lot Ids | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| requiredSourcePrefix | Required Source Prefix | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| exactMatches | Exact Matches | Required. Safe integer. |
| prefixSupported | Prefix Supported | Required. Safe integer. |
| mismatched | Mismatched | Required. Safe integer. |
{
"input": {
"lotIds": [
"L1",
"L2"
],
"sourceLotIds": [
"L1",
"X2"
],
"requiredSourcePrefix": "L"
},
"output": {
"exactMatches": 1,
"prefixSupported": 1,
"mismatched": 1
}
} Limitations and assumptions
- Prefix support can coexist with a mismatch; string agreement does not prove provenance or regulatory traceability.
- 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
Verify the original controlled records, approved procedures, and responsible quality review.
References
Similar or alternative tools
- Pharma Component Lot Use Allocation Term
Select requestedBatch, deduplicate lots in first-seen order, sum their masses, and return the combined batchMass.
- Packaging Component Count Delta
Use exact integers to return initial + received - used - rejected as remainingDecimal and received - used - rejected as deltaDecimal.