Composing a domain process
This exercise brings together the book’s concepts in an equipment inspection process. The work is divided by the semantic responsibilities of the application, with verification criteria for each part.
Model and information
Identify equipment, instrument, technician, reading and assessment. Use the inspection example to organize their relations. Record the procedure revision applied to the evaluation and the acquisition, knowledge and decision times that are pertinent.
The model must make it possible to recover which equipment a reading came from and which assessment used it.
Computation
Define a query that selects the readings relevant to the equipment and to the period. Specify the search completion criterion. Separate it from the coverage criterion that determines whether the period has the required measurements.
An analysis or inference can produce a result about the equipment’s conditions. Identify the model or theory used and the result’s dependencies.
Governance
Define the validation contract of the inspection record. Then determine which conditions govern the admission of the equipment into an activity and the authorization of the responsible agent.
A decision can consume the judgments produced. Record the decider, the normative basis and the assumed result.
Action and return
When the decision requires external action, declare the corresponding request. Identify the target, the arguments and the realization requirement. The operational path follows dispatch, exposure, attempt and receipt.
New observations can provide information about the later state of the equipment. They are admitted by the acquisition boundary and used by later operations.
Alternative scenario
Evaluate the hypothesis of withdrawing the equipment during a maintenance window. Identify the local premises, the basis and the results that depend on them. Compare this alternative with another window under common criteria.
Verifications
Include a conforming inspection, an inspection with a violated restriction, a missing observational coverage, a missing authorization and a lost response after possible exposure. Each case must produce the outcome of its contract and keep the history needed by the next step.
The process is ready for integration when the contracts of the stages, their inputs, the alternative paths and the completion conditions are defined and the respective cases have been executed over the selected baseline.