The request
{
"name": "wever_pharma-facility-record-check",
"arguments": {
"as_of": "2026-11-30",
"program": {
"cycle_days": 90
},
"facilities": [
{
"id": "F1",
"facility": "BLDG-1",
"class": "plant_building",
"holder_class": "manufacturer",
"area_classes": [
"grade_d",
"unclassified"
],
"line_classes": [
"blending",
"granulation",
"compression",
"coating"
],
"product_classes": [
"oral_solid"
],
"rooms": 2,
"lines": 2,
"status": "in_service",
"in_service_at": "2018-04-01"
},
{
"id": "F2",
"facility": "PKG-1",
"class": "packaging_area",
"holder_class": "manufacturer",
"area_classes": [
"unclassified"
],
"line_classes": [
"packaging"
],
"product_classes": [
"oral_solid"
],
"rooms": 1,
"lines": 1,
"status": "in_service",
"in_service_at": "2019-09-15"
},
{
"id": "F3",
"facility": "UTIL-1",
"class": "utility_area",
"holder_class": "company",
"area_classes": [
"unclassified"
],
"line_classes": [],
"product_classes": [
"oral_solid"
],
"rooms": 1,
"lines": 0,
"status": "in_service",
"in_service_at": "2020-02-10"
}
],
"references": [
{
"id": "R1",
"facility": "BLDG-1",
"source": "production",
"product_class": "oral_solid",
"at": "2026-10-12"
},
{
"id": "R2",
"facility": "PKG-1",
"source": "packaging",
"product_class": "oral_solid",
"at": "2026-11-03"
},
{
"id": "R3",
"facility": "UTIL-1",
"source": "maintenance",
"product_class": "oral_solid",
"at": "2026-09-20"
}
],
"rooms": [
{
"id": "RM1",
"facility": "BLDG-1",
"status": "active"
},
{
"id": "RM2",
"facility": "BLDG-1",
"status": "active"
},
{
"id": "RM3",
"facility": "PKG-1",
"status": "active"
},
{
"id": "RM4",
"facility": "UTIL-1",
"status": "active"
},
{
"id": "RM5",
"facility": "PKG-1",
"status": "active"
}
],
"lines": [
{
"id": "L1",
"facility": "BLDG-1",
"status": "active"
},
{
"id": "L2",
"facility": "BLDG-1",
"status": "active"
},
{
"id": "L3",
"facility": "PKG-1",
"status": "active"
}
]
}
}What the report returns
Verdict: pharma_facility_record_divergent.
| Finding, figure unsupported | 1 register entry carries a stated figure the room or line entries do not support: PKG-1, 2 active room entries against 1 stated room. |
|---|
| Fix, figure unsupported | Match each stated room and line figure to the room and line entries, or correct the figure. |
|---|
The pharma facility record diverges from its own operating, room and line entries: figure unsupported.
Every area the production, packaging and maintenance entries name is in the register, each product class they use is listed at its entry, every in-service entry carries an operating entry inside the 90-day cycle, and the line entries stay inside the stated line figures; PKG-1 carries two active room entries against a stated figure of one. Correcting the stated figure, or retiring the extra room entry, turns the verdict to pharma_facility_record_consistent.