Either a programming language feature can be just what one needs or an obstacle to go around. Swift provides features that make clinical software design easier. Tuples support clinical concepts cleanly, and Swift offers a good implementation.
Modeling clinical workflows with BPMN allows one to capture precise interactions. Using Level I elements, Part V of the BPMN 2.0 tutorial presents a workflow model for a patient presenting with an earache.