Expand description
EBD answer-code cluster lookup.
Resolves UTILMD/ORDRSP/IFTSTA conditions that classify STS response codes by “Cluster Zustimmung” or “Cluster Ablehnung”. The cluster is a per-EBD attribute — the same A-code can sit in a different cluster depending on which EBD (C556/1131 qualifier) it belongs to.
Data source: extracted from mako_prozesse (YAML per EBD) via
scripts/extract_ebd_clusters.py.
Structs§
Enums§
- Cluster
- Cluster classifier derived from the
Cluster:hint in an EBD YAML.
Functions§
- all_
sts_ e01_ in_ cluster [UTILMD_Strom 359/360]— everySTS+E01carries a code whose cluster under its referenced EBD matchespredicate.- any_
scoped_ ajt_ in_ cluster [REMADV 517/518]— any AJT in the current scope (falls back to message-wide when no scope is attached) carries a code whose cluster matchespredicateand whose A-code is not inexcluded_codes.- any_
sts_ e01_ in_ cluster [UTILTS 61]— anySTS+E01carries an Ablehnung-cluster code. Existential rather than universal — matches the AHB wording “Wenn in einem STS+E01 … ein Antwortcode aus dem Cluster Ablehnung vorhanden ist”. ReturnsFalserather thanUnknownwhen noSTS+E01is present (the premise is absent).- ebd_
ablehnung_ except [UTILMD_Strom 366/368]— everySTS+E01referencesrequired_ebdand its code is Ablehnung and not inexcluded_codes.- resolved_
ajt_ code_ in_ cluster [REMADV 14/15/16]— resolved AJT DE4465 code is in the given cluster under the segment’s referenced EBD (DE1082, element[1][0]).- resolved_
sts_ code_ in_ cluster [ORDRSP 17/18]— resolved STS code is in the given cluster under the same segment’s referenced EBD. Usesctx.resolved_value+ctx.resolved_segmentwhich are populated by the tree validator when visiting a specific field.