Slide 1

Slide 1 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E Domain Storytelling Mufrid Krilic, Senior Software Developer/Coach, DIPS AS, Norway Twitter: @mufridk How to Learn a Domain Language

Slide 2

Slide 2 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E ▪ Lightweight method to learn a domain language – By applying the same principles we use when we try to learn a foreign language • Listen to people who speak the language – Domain experts • Repeat what they had said • Get a confirmation that what you said was correct ▪ Increase ability to communicate with domain experts on their terms Motivation

Slide 3

Slide 3 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E ▪ Arrange a workshop with domain experts – Domain experts – Development team – Facilitator ▪ The facilitator ask domain experts to explain the way they work ▪ Important that explanation is centered around short examples How does it work?

Slide 4

Slide 4 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E ▪ The facilitator follows the explanation by visualizing each example as a Domain Story ▪ The domain experts confirm whether or not the visualized story is correct ▪ The facilitator checks if everybody in the room agree ▪ Comments and deviations are noted as textual annotations Facilitating Domain Storytelling

Slide 5

Slide 5 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E The Domain Story Syntax - Build Visual Sentences

Slide 6

Slide 6 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E Any rules?

Slide 7

Slide 7 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E ▪ Focus on what happens in the domain not on what could happen ▪ If domain experts differ on how the business process is conducted – For noticeable differences create another Domain Story – For minor differences make a comment as a textual annotation No Branching or Parallel Flows

Slide 8

Slide 8 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E ▪ An actor should not occur more than once in a story ▪ A work object can occur multiple times ▪ Label activities in order in which they occur ▪ Avoid technical jargon Story is Preferably a Short Example

Slide 9

Slide 9 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E Demo - Use Case from Healthcare – Group Treatment

Slide 10

Slide 10 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E ▪ For patients with identical diagnoses sometimes the treatment has the best effect when done in a group of patients ▪ Often applied in psychiatry Group Treatment in Healthcare

Slide 11

Slide 11 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E ▪ Actor - Physician – decides to start a group treatment for a group of patients ▪ Actor - Supporting consultant – Creates a patient group and lays out a schedule – When patients check-in for an appointment in the group: • Register patient attendance • Deal with no-show and cancellations • Follow-up on patient billing and reporting to authorities – Notice patients on appointments which they do not need to attend Group Treatment – Basic Business Flow

Slide 12

Slide 12 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E

Slide 13

Slide 13 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E ▪ Event Storming, – By Alberto Brandolini: www.eventstorming.com – Tell the story of the domain by plotting a timeline using domain events – Domain Event: Verb in a past tense for something that domain expert cares about ▪ Impact Mapping – By Gojko Adzic: www.impactmapping.org – Focus on the goal you are trying to achieve, actors who can help you achieve it and impacts you want to observe on the actors rather than focus on the software you want to deliver Alternative Methods to Learn a Domain Language

Slide 14

Slide 14 text

E N A B L I N G E F F I C I E N T H E A L T H C A R E ▪ Domain Storytelling references – Stefan Hofer and Henning Schwentner – www.domainstorytelling.org ▪ Community on Slack – #domain-storytelling channel at https://ddd-cqrs-es.slack.com ▪ Domain Storytelling book References and Further Reading