System Design Atlas

Social care case coordination across organisations

02 / 10Worked example

Requirements

Which rule protects the support plan, and how is its exact boundary tested?

The case boundary leads to domain rules and measurable targets. For support plan H-29, every new external read requires currently valid permission for the purpose and recipient; existing receipt evidence stays traceable. This invariant applies after every completed operation. Quality targets describe measurable operational behaviour.

Starting point Share a support plan extract for a defined purpose.

Assumptions for the example case

Own fictitious example design. A fictitious voluntary exchange of a specific section of the aid plan between two organisations. A release granted for 3600 seconds in the example is only valid for age < 3600 seconds. All figures and test goals are illustrative assumptions.

Business guarantee and measurable limit

Guarantee and preconditions

1
Support plan H-29Defines purpose and permitted extract
2
Permission F-29binds recipient, purpose, scope and validity
3
Handover U-29Stores empfang_unbekannt before the first bytes
Exact limitRelease is valid for age < 3,600 s

Every new partner access requires current permission for the specified purpose and recipient.

Every new external reading authorization requires a currently valid purpose- and receiver-related release; existing receipts remain traceable.

Business requirements (functional)

Further reading
Durable commitment
Every new external reading authorization requires a currently valid purpose- and receiver-related release; existing receipts remain traceable.
Evidence and closure
Revocation after receipt requires coordinated further processing and storage.
Domain boundary rule
A release granted for 3600 seconds in the example is only valid for age < 3600 seconds.

Operational goals (non-functional)

Further reading
Local processing
Illustrated target: 95% of local commands under 800 milliseconds in a 15-minute profile with 5 commands/s. External processing and human waiting time are measured separately.
Traceable processing
The test profile records the authoritative version and handover-processing lag. After restart, every accepted change to support plan H-29 must be verifiable from its stored result.

Permission applies to the recipient and the current access

Permission applies to the recipient and the current access

Permission applies to the recipient and the current access.

Every new external reading authorization requires a currently valid purpose- and receiver-related release; existing receipts remain traceable.

Permission granted for 3600 seconds is valid only at age < 3600 seconds. Your test defines the input and expected result.

Alternative considered
A response-time target alone leaves invalid business states unchecked.
Trade-off
Strict validation can pause an operation for investigation.
Reassess
Measured processing times or new contracts with a partner organization require a new target check.

Try it yourself

Separate the business invariant from the 800-millisecond target. Explain the exact limit in this case.

A hint for your attempt

Completing an operation quickly but incorrectly does not satisfy the business guarantee.

Compare with a possible solution
Business rule
Every new external reading authorization requires a currently valid purpose- and receiver-related release; existing receipts remain traceable. The counterexample test checks the permitted state.
Operations and boundary
800 milliseconds is the target for 95% of local commands in the assumed peak profile. Permission granted for 3600 seconds is valid only at age < 3600 seconds.

Apply to your project

Which rule of your project remains binding even with slow processing?

Next: concurrent withdrawal determines the critical load test.