Understand MEMM, one task at a time.
Follow a message, a profile change or a field check. Each example shows the input, the responsible component and the meaning of the result.
Synthetic teaching examples. They do not connect to TI services or demonstrate production availability or approval.
From input to a bounded result.
A message
InputHost draftResponsible componentLocal Headless clientResultReported client stateOne supplied field
Input"active": "true"Responsible componentLocal boolean type ruleResultType error in the example
Six examples. Clear responsibilities.
Select the numbered steps. Without JavaScript, the complete sequences remain readable.
What changes when a profile changes?
Trace the effect on the adapter and the host contract.
Example P-021 · external profile revision
1 · Identify
First establish what the new source actually changes: syntax, validation or business meaning.
2 · Adapt
The adapter and its verification change together. The host contract is checked against the new result.
3 · Decide
Unchanged semantics can keep the interface stable. A changed business contract requires explicit host versioning.
One message. Three responsibilities.
Follow a message from the host interface to the client response.
Example H-104 · callback request
1 · Compose
The host owns the interface and the permitted input. A draft does not establish a TI-M session.
2 · Hand over
The module handles the TI-M client context. The host does not become a second Matrix client or a messenger bridge.
3 · Show feedback
The host displays the returned state. Acceptance by the client must not be presented as delivery or a read receipt.
A prescription becomes ready.
First see the outcome; then explore the detailed BPMN.
Illustrated E-Rezept workflow
1 · Create
Creation establishes the Task. It does not yet make the prescription ready for dispensing.
2 · Sign
The prescribing system prepares the bundle. The healthcare professional applies the QES through the connector; the integration preserves the signed content.
3 · Activate
Successful service-side checks activate the Task. The detailed model also shows the returned response and component boundaries.
A request needs an access decision.
Identity, request context and the decision have different roles.
Example A-008 · read an example document
1 · Ask
The requested resource and action are explicit. Being signed in does not grant every permission.
2 · Evaluate
The example checks a defined permission for the requested action. Missing context is not interpreted as permission.
3 · Enforce
The protected resource remains unavailable. A reason explains the outcome without exposing the document.
A small field makes a visible difference.
Compare a string with a boolean in one synthetic resource.
Patient.active · JSON
1 · Find
Quotation marks turn true into a string. The example marks this exact field instead of returning an unexplained failure.
2 · Correct
The value is corrected to a boolean. false has the same valid type; this is not a rule requiring true.
3 · Review
The teaching example passes. This does not establish FHIR profile conformance, gematik approval or acceptance by a service.
Evidence has a defined scope.
Follow a reference from document to component to claim.
Example E-017 · component report
1 · Read
A useful evidence reference identifies who issued it, when, and which exact subject was reviewed.
2 · Match
Coverage belongs to the named component and version. It does not automatically extend to its host or an entire platform.
3 · Bound
A changed deployment requires its own assessment. The site keeps source facts, design choices and outstanding evidence separate.