1 of 163

Standardisation: why and how

Context, fundamental problems, strategies, and examples of solutions for Electronic Health Records (and maybe a bit of time-travel)

11+18 Dec 2024 + Q&A session 10 Mar 2025 @ Karolinska Institutet,

Course 5HI001 - Computer Applications in Health Care and Biomedicine

Erik Sundvall,

PhD Medical Informatics, MSc Information Technology / Computer Science

Information architect & CDR product owner @ Karolinska University Hospital, Region Stockholm (Main job)

Adjunct Senior Lecturer in Medical Informatics @ IMT, Linköping University

Affiliated researcher @ HIC, LIME, Karolinska Institutet

2 of 163

3 of 163

4 of 163

AGREE WHERE?

Agree where - inside or outside the EHR systems?

The difference between interoperability and intraoperability

Karolinska Institutet – A medical university

4

16 December 2021

5 of 163

Agree where?

Karolinska Institutet – A medical university

5

16 December 2021

HL7 FHIR etc.

openEHR etc.

openEHR etc.

6 of 163

Interoperability vs Intraoperability

  • A model is agreed to that allows all systems to exchange what needs to be exchanged, without requiring any design changes to the way their systems works ☺
  • Whatever is done can be done on the periphery. And what can be done is therefore constrained to the lowest common denominator of the way that the systems function – all systems are constrained to the dumbest system ☹ �(But it is a fast start for many simple use-cases ☺)
  • Smarter systems need to come up with their own (only partly standardized) “extensions” to the basic model so they can do smarter things. Many well known deficiencies of this (semantic scalability, fragmentation etc.)
  • Examples: Messaging, HL7 FHIR etc.

Source: Grieve, G. Good Exchange Specifications: Interoperability vs Intraoperability. �Health Intersections. http://www.healthintersections.com.au/?p=820

Karolinska Institutet – A medical university

6

16 December 2021

7 of 163

Interoperability vs Intraoperability

  • Rework the core structures of the systems to function in an agreed way. Because all the systems work the same way, then exchange between the systems is easy and straight forward. ☺ (And internal model maintenance/update workload can be shared globally/nationally ☺.)
  • Intraoperability has fewer deficiencies, but they are much bigger: it’s much harder to get agreement… ☹ (Both technical and clinical agreements are needed to get maximum benefit of this approach ☹)
  • Examples: CIMI, openEHR, some usages of ISO13606 etc...

Typically, at this point, the system designers (often vendors) get the blame. But – it’s not as simple as that – vendors do whatever sells, which is whatever the purchaser wants to buy… 

Karolinska Institutet – A medical university

7

16 December 2021

Based on a post by Grahame Grieve (member of FHIR-core team) on February 28, 2012: http://www.healthintersections.com.au/?p=820. A more descriptive name for this kind of open intraoperability approach might be something like ”shared model driven strategy” Note that the positive view of intraoperability described above is concerning vendor neutral models, there is also another different (risky, lock-in-prone) definition of intraoperability focused around dominating market actors described at http://www.ecis.eu/intraoperability/)

8 of 163

Exploring categories of reinterpretation problems.

Some conversions are possible to do automatically with an algorithm, some others are possible with a human in the loop (manually reinterpreting every transfer) and yet some other conversions are impossible.

Karolinska Institutet – A medical university

8

16 December 2021

9 of 163

What can conversion/reinterpretation solve?

Karolinska Institutet – A medical university

9

16 December 2021

10 of 163

Reinterpretation problems, Type I, II & III

Example

System A

System B

Type I�A <-- --> B �Can be done with algoritm/program

Birth weight: 3300g�Date: 1954-03-13

Body weight: 3,3 kg�Timepoint: 13 Mar 1954

Type II

A --> B�Semantic loss and distortion �due to reinterpretations.

Hard, dangerous or impossible with algorithm/program…

…but often done manually �by medically skilled staff�over and over for each transfer…

B --> A�Missing information�impossible with algorithm/program

Needs surgery at latest: 2018-01-30�Surgery scheduled: 2018-01-20 15:30�Main diagnose*:

323291000119108 | Osteoarthritis of left hip joint|�Other Diagnosis*: �25343008 | Secondary localized osteoarthrosis of pelvic region|�299308007 | Hip joint painful on movement | �Procedure*: �19954002 | Reconstruction of hip with use of methyl methacrylate|�Surgery type**: Lubinus SP II �Preferred anesthesia*: 18946005 | Epidural anesthesia |�NEWS2-score at admission: 1�Anesthesia assessment:�- Fitness: can handle light physical exercise�- Cardiovascular: OK�- Lungs: OK�- Throat: OK�- Gastrointestinal*: 16331000 | Heartburn

Surgery date: 2018-01-20�Diagnosis code: M16.7 | Other secondary coxarthrosis�Surgery code***: NFB49 | Primär total höftledsplastik med cement (Primary total hip arthroplasty with cement)�Anesthesia code***: ZXH50 | Epiduralanestesi (epidural anestesia)�ASA-classification: ASA I = normal healthy patient�

*)  Codes from Snomed CT�**) special kind of hip replacement� with cement�***) Codes from the Swedish ”KVÅ”� terminology

Type III�Reinterpretaion impossible (even for skilled humans) due to aggregations etc.

Number of cigarettes smoked per week: 6-10�…specified in a system with the options:�0, 1-5, 6-10, 11-15, 16-30, 31-50, 51-100, 101+

Number of cigarettes per week: ?�…specified in a system with the options:

0, 1-3, 4-7, 8-14, 15-28, 29-69, 70+

11 of 163

Reinterpretation problems, Type I, II & III

Example

System A

System B

Type I�A <-- --> B �Can be done with algoritm/program

Birth weight: 3300g�Date: 1954-03-13

Body weight: 3,3 kg�Timepoint: 13 Mar 1954

Type II

A --> B�Semantic loss and distortion �due to reinterpretations.

Hard, dangerous or impossible with algorithm/program…

…but often done manually �by medically skilled staff�over and over for each transfer…

B --> A�Missing information�impossible with algorithm/program

Needs surgery at latest: 2018-01-30�Surgery scheduled: 2018-01-20 15:30�Main diagnose*:

323291000119108 | Osteoarthritis of left hip joint|�Other Diagnosis*: �25343008 | Secondary localized osteoarthrosis of pelvic region|�299308007 | Hip joint painful on movement | �Procedure*: �19954002 | Reconstruction of hip with use of methyl methacrylate|�Surgery type**: Lubinus SP II �Preferred anesthesia*: 18946005 | Epidural anesthesia |�NEWS2-score at admission: 1�Anesthesia assessment:�- Fitness: can handle light physical exercise�- Cardiovascular: OK�- Lungs: OK�- Throat: OK�- Gastrointestinal*: 16331000 | Heartburn

Surgery date: 2018-01-20�Diagnosis code: M16.7 | Other secondary coxarthrosis�Surgery code***: NFB49 | Primär total höftledsplastik med cement (Primary total hip arthroplasty with cement)�Anesthesia code***: ZXH50 | Epiduralanestesi (epidural anestesia)�ASA-classification: ASA I = normal healthy patient�

*)  Codes from Snomed CT�**) special kind of hip replacement� with cement�***) Codes from the Swedish ”KVÅ”� terminology

Type III�Reinterpretaion impossible (even for skilled humans) due to aggregations etc.

Number of cigarettes smoked per week: 6-10�…specified in a system with the options:�0, 1-5, 6-10, 11-15, 16-30, 31-50, 51-100, 101+

Number of cigarettes per week: ?�…specified in a system with the options:

0, 1-3, 4-7, 8-14, 15-28, 29-69, 70+

12 of 163

Reinterpretation problems, Type I, II & III

Example

System A

System B

Type I�A <-- --> B �Can be done with algoritm/program

Birth weight: 3300g�Date: 1954-03-13

Body weight: 3,3 kg�Timepoint: 13 Mar 1954

Type II

A --> B�Semantic loss and distortion �due to reinterpretations.

Hard, dangerous or impossible with algorithm/program…

…but often done manually �by medically skilled staff�over and over for each transfer…

B --> A�Missing information�impossible with algorithm/program

Needs surgery at latest: 2018-01-30�Surgery scheduled: 2018-01-20 15:30�Main diagnose*:

323291000119108 | Osteoarthritis of left hip joint|�Other Diagnosis*: �25343008 | Secondary localized osteoarthrosis of pelvic region|�299308007 | Hip joint painful on movement | �Procedure*: �19954002 | Reconstruction of hip with use of methyl methacrylate|�Surgery type**: Lubinus SP II �Preferred anesthesia*: 18946005 | Epidural anesthesia |�NEWS2-score at admission: 1�Anesthesia assessment:�- Fitness: can handle light physical exercise�- Cardiovascular: OK�- Lungs: OK�- Throat: OK�- Gastrointestinal*: 16331000 | Heartburn

Surgery date: 2018-01-20�Diagnosis code: M16.7 | Other secondary coxarthrosis�Surgery code***: NFB49 | Primär total höftledsplastik med cement (Primary total hip arthroplasty with cement)�Anesthesia code***: ZXH50 | Epiduralanestesi (epidural anestesia)�ASA-classification: ASA I = normal healthy patient�

*)  Codes from Snomed CT�**) special kind of hip replacement� with cement�***) Codes from the Swedish ”KVÅ”� terminology

Type III�Reinterpretaion impossible (even for skilled humans) due to aggregations etc.

Number of cigarettes smoked per week: 6-10�…specified in a system with the options:�0, 1-5, 6-10, 11-15, 16-30, 31-50, 51-100, 101+

Number of cigarettes per week: ?�…specified in a system with the options:

0, 1-3, 4-7, 8-14, 15-28, 29-69, 70+

13 of 163

Agree on what, where?

Karolinska Institutet – A medical university

13

16 December 2021

Type I can be �solved here

Type II & III must �be solved here�also solves type I

Type II & III must �be solved here�also solves type I

14 of 163

Agree on what, where?

14

Type I can be �solved here

Type II & III must �be solved here�also solves type I

Type II & III must �be solved here�also solves type I

Fax is a common workaround today

15 of 163

Agree on what, where?

15

Type I can be �solved here

Type II & III must �be solved here�also solves type I

Type II & III must �be solved here�also solves type I

Many reinterpretation problems remain even if fax is replaced by PDF sharing…

…but may become less visible

16 of 163

Also within the same organisation…

16

”swivel chair integration”

Type I can be �solved here

Type II & III must �be solved here�also solves type I

Type II & III must �be solved here�also solves type I

17 of 163

Agree on what, where? - Repetition

Karolinska Institutet – A medical university

17

16 December 2021

Type I can be �solved here

Type II & III must �be solved here�also solves type I

Type II & III must �be solved here�also solves type I

18 of 163

Best of Breed vs Best of Suite

Historical attempts to solve integration.

Is a Best of Breed 2.0 emerging?

Karolinska Institutet – A medical university

18

16 December 2021

19 of 163

Source: Tomaž Gornik, Marand /Better. Presentation at Vitalis conference, Gothenburg, Sweden

20 of 163

Source: Tomaž Gornik, Marand /Better. Presentation at Vitalis conference, Gothenburg, Sweden (Black text added by Erik Sundvall)

WordPerfect

+ Lotus 1-2-3

+ dBASE?

Microsoft Office?

Cooperating and competing web applications?

Comparison with productivity/office applications?

”best of suite”

21 of 163

A Series of posts regarding "post-modern EHR"

Image source: Tomaž Gornik, Marand /Better Presentation at Vitalis conference, Gothenburg, Sweden

WordPerfect

Lotus 1-2-3

dBASE

Microsoft Office

Cooperating and competing web applications?

22 of 163

Ecosystem paradigm

Source: Martin Grundberg, Cambio, https://www.cambio.se/

23 of 163

Source: Martin Grundberg, Cambio, https://www.cambio.se/

24 of 163

Let’s compare!

Best of Breed 2.0 already partially done for medical images (PACS) etc

Karolinska Institutet – A medical university

24

16 December 2021

25 of 163

The way it used to be…

Documents�(Scanned, fax, PDF etc)

Image data�(X-ray, ultrasonic imaging, �MR, photos etc.)

Structured data�(from EHR forms etc)

Illustrations based on images from Better, https://www.better.care/

26 of 163

The way it used to be…

Illustrations based on images from Better, https://www.better.care/

27 of 163

Then we shared image and document storage…

Structured data�(from EHR forms etc)

often still not standardised

and thus stuck in

each different system

Illustrations based on images from Better, https://www.better.care/

28 of 163

A goal

Illustrations based on images from Better and Cambio

(mainly for clinical EHR content)�+

facade or storage for administrative PMI & ”PAS” data, but also supporting lab logistics/investigations, e.g. ”genomic study”

29 of 163

Different knowledge and assumptions of possible…�standardisation & integration strategies� …enable different procurement strategies

  • Core system strategy
  • Mapping/conversion-based strategy
  • Shared, model-driven strategy ☺

Karolinska Institutet – A medical university

29

30 of 163

Agree on what, where?

Karolinska Institutet – A medical university

30

19 March 2025

Type I can be �solved here

Type II & III must �be solved here�also solves type I

Type II & III must �be solved here�also solves type I

Data capture�(openEHR etc)

Data transfer�(HL7 FHIR etc.)

Data capture�(openEHR etc)

31 of 163

Standardisation strategies 🡪 procurement assumptions

  • 1. Core system strategy
    • Buy the same system, install the same way at all organizations that will share or exchange information.Pretend “there is no system B”
  • 2. Mapping/conversion based strategy
    • Translate, where possible from system specific semantics and structures to a standardized exchange format (message format, API, etc.). �Only works for ”type 1” differences

  • 3. Shared model-driven strategy
    • Handle data (semantics and information structure) the same way �within systems using open standardization of the content.��

Source: The Swedish ”StandIN”-projects

Data capture�(openEHR etc)

Data transfer�(HL7 FHIR etc.)

Supplier’s proprietary models

32 of 163

1. Core system strategy

Buy the same system, install the same way at all organizations that will share or exchange information. Pretend “there is no system B”

Consequence: Causes vendor dependency and anti-competitive effects at the level where the strategy is applied. A single system rarely does everything well.

It is a common strategy locally/regionally: Large systems exist, but they are not comprehensive and thus need to be combined with other strategies �… and then the interoperability problems usually reappear!

Example: A region procures large EHR system + encourages municipalities and others within the geographic area to use the same system for the information to be shared.

Stockholm started but cancelled a core system procurement, but now in practice started a �”smaller” core system procurement again.... VGR (Gothenburg etc) and Skåne (Malmö etc) �have bought and are now installing Cerner Millenium as a core system but will also use �other systems.

33 of 163

2. Mapping/conversion based strategy

Translate, where possible (only works for ”type 1” differences), from system specific semantics and structures to a standardized exchange format (message format, API, etc.).

Consequences:

  • Reinterpretations increase risk of loss or distortion of information, �Data that is too different may need to be omitted (Sometimes no data may be better than incorrect data…)
  • Can sometimes require health-IT systems to be rebuilt internally to be able to capture and export required shared data in some agreed form (This can be expensive, time/resource consuming, and dependent on vendors’ priorities).

It is a common strategy today in national cross-regional information exchanges.

Examples: HL7 v2, HL7 v3 CDA, HL7 FHIR, certain applications of ISO 13606, Swedish national "service contracts" in the service platform coordinated by SKR/Inera.

34 of 163

3. Shared model-driven strategy

Handle data (semantics and information structure) the same way �within systems using open standardization of the content.

Consequences:

  • facilitates vendor independence
  • limits selection to products that can internally use the open standardized models, or that can be configured flexibly enough to broadly match the standardized

Used today in the Nordic region in components of several EHR systems (but is rarely a requirement in procurements). Further development is underway at several suppliers, including open-source alternatives

Main example: openEHR

Will Region Stockholm choose this? Karolinska University Hospital already uses an openEHR based system for some use cases and will change openEHR- system supplier soon.��Most Swedish regions use or will use Cambio Cosmic that is piece by piece converting�modules to openEHR (Norwegian DIPS started such a transition several years ago.)

35 of 163

The three integration strategies combined

Not mutually exclusive and can be combined depending on e.g.

  • Geographical granularity �(international, national, regional and local)
  • Timeframe – gradual changes�(1 year, 5 years, 20 years)

Karolinska Institutet – A medical university

35

16 December 2021

36 of 163

Source: Martin Grundberg, Cambio, https://www.cambio.se/

Data capture�(openEHR etc)

Supplier’s proprietary models

Data transfer?�(HL7 FHIR etc.)

Supplier’s proprietary models

+

#1. Core system strategy

(”Monolith”/all-inclusive)

#2. Mapping/conversion based strategy

#3. Shared model-driven strategy

37 of 163

Catalonia, Spanish region, 8 million inhabitants

Procurement-related activities

Catalan 25-year retrospective https://preprints.jmir.org/preprint/58933

#3. Shared model-driven strategy

38 of 163

Introducing a ”core system” (strategy #1) and making it even worse by using the ”big bang” method – a recipe for potential disaster regarding user experience

38

Alla ”big bang”-införanden utan bra och välbekant samexistens-stöd ökar risk för kaos liknande VGRs försök till Millenium-införande - oavsett vilket journalsystem man köper och inför.

(”SUSSA”-regionerna som nu inför Cambio Cosmic får själva välja grad av Big Bang kontra samexistensperiod, men den som tror och föreslår att något åt ”Big bang”-hållet funkar bra i Stockholm bara för att det gått ganska OK i mindre regioner kommer nog ångra eventuellt sådant förslag)

  • Ger möjlighet till bra samexistens mellan gammalt och nytt, t.ex. systemöverskridande översikter. (Helst bättre än de gamla – för att locka användare, inte tvinga.)
  • Underlättar succesivt införande för olika informationsmängder/moduler (först pilot sedan breddinförande för respektive del/modul) – Ger fler alternativ till ”big bang”
  • Om man redan nu standardiserar strukturer i nya systemet så blir framtida systembyten till andra standardiserade system väldigt mycket smidigare (Jämför PACS/röntgensystem som följer DICOM-standarden m.m.)
  • Tips: tillåt succesiv manuell uppdatering av läkemedelsordinationer över tid, vid naturliga receptförnyelse-tillfällen (av det som inte går att automatisera) [Ordinationsuppdatering kan ibland även göras med direktintegration mellan gammalt 🡨🡪 nytt huvudjournalsystem]

Möjligheter till förebyggande om man har en öppen standardiserad vårddataplattform på plats som ”sidovagn” både innan och under systembyte: (Alltså en touch av strategi #3)

#1. Core system strategy

(”Monolith”/all-inclusive)

39 of 163

Migrating many integrations at once when replacing EHRs – another recipe for potential disaster

Att ändra hundratals integrationer tar tid!

Ny journalsystems-leverantör kan inte göra detta själv, det behövs mycket lokal/regional kompetens med process- och system-kännedom. (Det är brist på sådan personal och att ta in konsulter hjälper inte så mycket.)

Möjligheter till förebyggande åtgärder:

  • Avveckla/inför långsamt och modulärt. Samexistens!
  • Börja tidigt (och över lång tid) flytta integrationer till långsiktig leverantörsneutral vårddataplattform, koppla sedan även nya journalsystemet dit (istället för att under tidspress behöva skapa nya integrationer)
  • Följdeffekt: mycket lättare även vid nästa systembyte

2025-03-19

Exempel:

  • Labbsystem, se figurer 🡪
  • Nytt journalsystem importerar inte allt från TakeCare som behövs till NPÖ och ”1177 Journalen” men om TakeCare-innehåll ändå kopieras till vårddataplattform kan det tas därifrån när TakeCare stängs av.
  • ...

40 of 163

Möjligheter till förebyggande om man har en öppen standardiserad vårddataplattform på plats som ”sidovagn” både innan och uinder systembyte (en touch av strat #3)

Möjligheter till förebyggande om man har en öppen standardiserad vårddataplattform på plats som ”sidovagn” både innan och uinder systembyte (en touch av strat #3)

41 of 163

A TRAVEL THROUGH TIME

Discovery of some problems, useful sulutions and modeling formalisms��“Those who cannot remember the past are condemned to repeat it.“�- George Santayana

Karolinska Institutet – A medical university

41

16 December 2021

The future is already here — it's just not very evenly distributed

William Gibson

42 of 163

Clinical decision support (AAPHelp etc.)

Diagnostic error rate -40%

Mortality -22%

1972

Decision support languages for clinicians were created and successfully used, and rules/programs were intended to be shared…

…but lack of shared data structures hampered sharing, see next slide. �(Often a problem still today)

Kap. 1 i: Taylor P. From patient data to medical knowledge: the principles and practice� of health informatics. Malden, MA: Blackwell Publishing; 2006 

43 of 163

“Desperatly seeking data”

Linking a knowledge-based system (KBS) to a clinical database.

    • KBS provided alerts, interpretations, research screening, and quality assurance functions.

Used Arden Syntax Medical Logic Modules (MLMs)

    • Intended to make medical rules reusable
    • Data slots in rules like {latest blood glocose} …�…and “data dictionaries” to access actual data in health record

KBS-database links consumed a lot more resources than the medical logic in the MLMs in terms of coding, maintenance, and performance.�Hripcsak G, Johnson SB, Clayton PD. �Desperately seeking data: knowledge base-database links. �Proc Annu Symp Comput Appl Med Care. 1993:639-43.�http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2850654/

1993

44 of 163

1996

[Kirby 1996] Kirby J, Rector AL.

The PEN&PAD data entry system: from prototype to practical system. Proc AMIA Annu Fall Symp.1996:709--‐13.

Context dependent data entry (Pen & Pad , Clinergy etc.)

  • Methods and tools for ontologies & logic�
  • Advanced terminology systems and ontologier �(Precursors to �Snomed CT etc.) �
  • Principles for �knowedge �managment

45 of 163

PEN&PAD from the 90:s

46 of 163

Clinical care requires that patients be described rather than labelled.

John Kirby & Alan Rector

PEN & PAD used a compositional approach combining features to describe patients, rather than picking from long lists of precoordinated terms.

The PEN&PAD data entry system: from prototype to practical system - PubMed (nih.gov)

46

47 of 163

47

48 of 163

48

49 of 163

49

50 of 163

Note: laterality selection to select left or right arm.

50

51 of 163

Note: NO laterality selection → prohibits “left nose”-nonsense etc.

51

52 of 163

Learn more

53 of 163

Illustration based on content from:�Rector AL, Rogers J, Taweel A. �Models and inference methods for clinical systems: a principled approach. �Stud Health Technol Inform. 2004;107(Pt 1):79-83

2004

Generally applicable knowledge

Terminology systems. �ICD-10, SNOMED CT etc.

Documentation of what has been done, observed, planned etc.

Decision support rules, AI etc.

Design experiences gained from �PEN & PAD, Clinergy, GALEN etc.

54 of 163

ICD-10 from WHO, an example of a monohierarhchy.

Treestructure where every concept has at maximum one ”parent”

55 of 163

Type I can be �solved here

Type II & III must �be solved here�also solves type I

Type II & III must �be solved here�also solves type I

SNOMED CT, an example of a polyhierarchy, where every concept can have multiple ”parents”.

>300 000 concepts currently…

56 of 163

SNOMED CT, an example of a polyhierarchy, where every concept can have multiple ”parents”…

…and many other kinds of relations between concepts

57 of 163

SNOMED CT, an example of a polyhierarchy, where every concept can have multiple ”parents”…

…and many other kinds of relations between concepts

58 of 163

For example openEHR (or proprietary model) for storage +� HL7 FHIR etc. for exchange (more about this later)

Form builder

openEHR ”template”

For specific use case, e.g. local, regional or national.

Free archetype and editing tool at https://tools.openehr.org/designer/

openEHR ”archetypes”

Clinical data models.

Found in internatioinal repository

https://ckm.openehr.org/ckm/

Maximi-datasets, intended for many use cases. Multilingual

”Form renderer”

Web-component that can be included in any webapp. It displays forms and submits validated data to openEHR backends via standardized API.

Conditional logic

59 of 163

Reinterpretation problems, Type I, II & III

Example

System A

System B

Type I

Birth weight: 3300g�Date: 1954-03-13

Body weight: 3,3 kg�Timepoint: 13 Mar 1954

Type II

Needs surgery at latest: 2018-01-30�Surgery scheduled: 2018-01-20 15:30�Main diagnose*:

323291000119108 | Osteoarthritis of left hip joint|�Other Diagnosis*: �25343008 | Secondary localized osteoarthrosis of pelvic region|�299308007 | Hip joint painful on movement | �Procedure*: �19954002 | Reconstruction of hip with use of methyl methacrylate|�Surgery type**: Lubinus SP II �Preferred anesthesia*: 18946005 | Epidural anesthesia |�NEWS2-score at admission: 1�Anesthesia assessment:�- Fitness: can handle light physical exercise�- Cardiovascular: OK�- Lungs: OK�- Throat: OK�- Gastrointestinal*: 16331000 | Heartburn

Surgery date: 2018-01-20�Diagnosis code: M16.7 | Other secondary coxarthrosis�Surgery code***: NFB49 | Primär total höftledsplastik med cement (Primary total hip arthroplasty with cement)�Anesthesia code***: ZXH50 | Epiduralanestesi (epidural anestesia)�ASA-classification: ASA I = normal healthy patient�

*)  Codes from Snomed CT�**) special kind of hip replacement� with cement�***) Codes from the Swedish ”KVÅ”� terminology

Type III�

Number of cigarettes smoked per week: 6-10�…specified in a system with the options:�0, 1-5, 6-10, 11-15, 16-30, 31-50, 51-100, 101+

Number of cigarettes per week: ?�…specified in a system with the options:

0, 1-3, 4-7, 8-14, 15-28, 29-69, 70+

60 of 163

Exempel i två olika IT-system

Exempel

System A

System B

Typ I

Födelsevikt: 3300g�Datum: 1954-03-13

Kroppsvikt: 3,3 kg�Tidpunkt: 13 Mar 1954

Typ II

Opereras senast: 2018-01-30�Preliminär operationstid: 2018-01-20 15:30�Huvuddiagnos*: 323291000119108 | osteoartrit i vänster höftled |�Övriga diagnoser*: �25343008 | sekundär lokaliserad osteoartros i bäckenregion |�299308007 | smärta i höftled vid rörelse | �Åtgärd*: �33788003 | insättning av total protes eller protetisk utrustning i höft med metylmetakrylat |�Operationstyp**: Lubinus SP II med klack �Önskad anestesi*: 18946005 | epiduralanestesi |�NEWS2-score vid inskrivning: 1�Anestesibedömning:�- Kondition: klarar lättare fysisk träning�- Hjärta/kärl: u.a. (u.a. = utan anmärkning)�- Lungor: u.a.�- Svalg: u.a.�- Mag/tarm*: 162030005 | halsbränna med sur eller vattnig uppstötning

*)  Koder från Snomed CT�**) en särskild typ av höftledsplastik med cement

Operationsdatum: 2018-01-20�Diagnoskod: M167; Annan sekundär koxartros�Operationskod: NFB49; Primär total höftledsplastik med cement�Anestesikod: ZXH50; Epiduralanestesi�ASA-klass: 1 – Frisk patient

 

Typ III

Antal rökta cigaretter per vecka: 6-10�…angivna i ett system med alternativen:�0, 1-5, 6-10, 11-15, 16-30, 31-50, 51-100, 101+

Antal rökta cigaretter per vecka: ?

…angivna i ett system med alternativen:

0, 1-3, 4-7, 8-14, 15-28, 29-69, 70+

61 of 163

Focus, strengths and weaknesses for ontologies and information models

Ontology/terminology

What, How and Why

+++

Disease, Symptom, Sign, Procedure, Body structure,

Morphology, Substance, Drug, Equipment, Organism

++

Semantic constraints, �Refinement of concepts (e.g. laterality)

+ +

Context-dependent clinical situations, Present / absent / uncertain,

Family history, Previous history, Referred / planned / completed

++

Structural constraints of classes and attributes,�Relationships between journal notes

+++

Date, Time, Duration, Quantity, Text, �Instance (e.g. of people, organization and place), Context

Information model

Who, When and Where

Example: openEHR

Example: SNOMED CT

Souorce: Slight modification of a slide by Mikael Nyström, Cambio

62 of 163

Decision support rules etc

63 of 163

Illustration from CDS in Cambio Cosmic

64 of 163

2007

Evidence-Based Medicine and the Changing Nature of Healthcare: Workshop Summary (IOM Roundtable on Evidence-Based Medicine) �Mark B. McClellan, Michael McGinnis, Elizabeth G. Nabel, and LeighAnne M. Olsen, Institute of Medicine. ISBN: 0-309-11370-9�https://www.nap.edu/catalog/12041/evidence-based-medicine-and-the-changing-nature-of-health-care Fig 5-1. page 116

65 of 163

2007

Evidence-Based Medicine and the Changing Nature of Healthcare: Workshop Summary (IOM Roundtable on Evidence-Based Medicine) �Mark B. McClellan, Michael McGinnis, Elizabeth G. Nabel, and LeighAnne M. Olsen, Institute of Medicine. ISBN: 0-309-11370-9�https://www.nap.edu/catalog/12041/evidence-based-medicine-and-the-changing-nature-of-health-care Page 16

66 of 163

2007

Källa, © Gartner:

https://hiriresearch.files.wordpress.com

/2011/04/cpr-generational-model.pdf

Guessed 2007

67 of 163

2007

Källa, © Gartner:

https://hiriresearch.files.wordpress.com

/2011/04/cpr-generational-model.pdf

Guessed 2012

2012

Why so slow progress?

Integration problems?�Not proprely dealing with complexity?

Waste of resouces?

Guessed 2007

68 of 163

HINTS TO OVERCONFIDENT �IT-PEOPLE

End of historical time travel. Let’s look forward, remembering history

Karolinska Institutet – A medical university

68

16 December 2021

69 of 163

What’s the thing about Health IT?

Bra intro för IT-folk m.fl. https://youtu.be/FbgohflFzo8 (18 min) �Silje Ljosland Bakke

Region Östergötland

69

70 of 163

Region Östergötland

70

71 of 163

Region Östergötland

71

72 of 163

HOW HARD CAN IT BE?

Karolinska Institutet – A medical university

72

16 December 2021

73 of 163

Hur svårt kan det vara?

Share the workload – internationally. Thousands of collaborators

How long time would it take to structure ”everything” well in healthcare?�Guesstimates range between tens to hundeds of person years initially, + some percentage of that annually for new needs and maintenance. (Probably longer if you also invent a new standard)

Table incl. references reachable via https://bit.ly/es-pres, [direct link here]

Att skapa och underhålla ett eget modellbibliotek utan internationell arbetsdelning är ett resursslukande högriskprojekt! �Detta gäller även svenska myndigheter och stora regioner. �Risken blir ännu större om man hittar på egna standarder…

Att hitta på ett eget svenskt Snomed CT vore dumt, detsamma gäller dokumentationsmodeller!

74 of 163

Deteiled modeling takes time! Coooperate internationally & vendor independent

75 of 163

Mission possible but never ending (if done right together)�Mission expensive and likely impossible if done wrong.

  • Share & reuse! Use national and international brain-share
    • International, open, multilingual approaches need to be used
  • Avoid unnecessary human delays and re-interpretations
    • Let clinicians do the real detailed modelling using understandable methods, proper tools & visualisations (supported by informaticians)
    • Use models that can be imported to systems without excessive manual reinterpretations by non-clinicians
  • Keep track of the potential mess
    • Version controlled formal (computable) models created in tools
    • Use computers & logic to help indexing, detecting inconsistencies etc
  • It´s a socio-technical challenge, clinicians in global discussion

76 of 163

QUESTIONS & THOUGHTS

…up to this point of the presentation…

Karolinska Institutet – A medical university

76

16 December 2021

77 of 163

openEHR, a bit more in depth + �HL7 FHIR + some practical examples from Karolinska University Hospital�

(Material mainly intended for part 2, we might have some time to start during part 1)

78 of 163

Quick repetition �from last lecture

79 of 163

Reinterpretation problems, Type I, II & III

Example

System A

System B

Type I�A <-- --> B �Can be done with algoritm/program

Birth weight: 3300g�Date: 1954-03-13

Body weight: 3,3 kg�Timepoint: 13 Mar 1954

Type II

A --> B�Semantic loss and distortion �due to reinterpretations.

Hard, dangerous or impossible with algorithm/program…

…but often done manually �by medically skilled staff�over and over for each transfer…

B --> A�Missing information�impossible with algorithm/program

Needs surgery at latest: 2018-01-30�Surgery scheduled: 2018-01-20 15:30�Main diagnose*:

323291000119108 | Osteoarthritis of left hip joint|�Other Diagnosis*: �25343008 | Secondary localized osteoarthrosis of pelvic region|�299308007 | Hip joint painful on movement | �Procedure*: �19954002 | Reconstruction of hip with use of methyl methacrylate|�Surgery type**: Lubinus SP II �Preferred anesthesia*: 18946005 | Epidural anesthesia |�NEWS2-score at admission: 1�Anesthesia assessment:�- Fitness: can handle light physical exercise�- Cardiovascular: OK�- Lungs: OK�- Throat: OK�- Gastrointestinal*: 16331000 | Heartburn

Surgery date: 2018-01-20�Diagnosis code: M16.7 | Other secondary coxarthrosis�Surgery code***: NFB49 | Primär total höftledsplastik med cement (Primary total hip arthroplasty with cement)�Anesthesia code***: ZXH50 | Epiduralanestesi (epidural anestesia)�ASA-classification: ASA I = normal healthy patient�

*)  Codes from Snomed CT�**) special kind of hip replacement� with cement�***) Codes from the Swedish ”KVÅ”� terminology

Type III�Reinterpretaion impossible (even for skilled humans) due to aggregations etc.

Number of cigarettes smoked per week: 6-10�…specified in a system with the options:�0, 1-5, 6-10, 11-15, 16-30, 31-50, 51-100, 101+

Number of cigarettes per week: ?�…specified in a system with the options:

0, 1-3, 4-7, 8-14, 15-28, 29-69, 70+

80 of 163

Agree on what, where?

Karolinska Institutet – A medical university

80

16 December 2021

Type I can be �solved here

Type II & III must �be solved here�also solves type I

Type II & III must �be solved here�also solves type I

81 of 163

The three integration strategies combined

Not mutually exclusive and can be combined depending on e.g.

  • Geographical granularity �(international, national, regional and local)
  • Timeframe – gradual changes�(1 year, 5 years, 20 years)

Karolinska Institutet – A medical university

81

16 December 2021

Example on next slide

82 of 163

Catalonia, Spanish region, 8 million inhabitants

Procurement-related activities

Catalan 25-year retrospective https://preprints.jmir.org/preprint/58933

#3. Shared model-driven strategy

P.S. Karolinska University Hospital is also following a similar path for internally developed applications based on an openEHR CDR + FHIR Server

83 of 163

Illustration based on content from:�Rector AL, Rogers J, Taweel A. �Models and inference methods for clinical systems: a principled approach. �Stud Health Technol Inform. 2004;107(Pt 1):79-83

2004

Generally applicable knowledge

Terminology systems. ICD-10, SNOMED CT etc.

Documentation of what has been done, observed, planned etc.

Decision support rules, AI etc.

Design experiences gained from �PEN & PAD, Clinergy, GALEN etc.

84 of 163

OPENEHR

The inventors of the standard pronounce it like ”open air”

EHR = Electronic Health Record (Swedish: Journalsystem)

Karolinska Institutet – A medical university

84

16 December 2021

85 of 163

What is openEHR? Formally...

A technology for e-health �– open specifications + clinical models (archetypes and templates)�– software (tools etc.)

…to build information and interoperability solutions for healthcare.

Artefacts of openEHR are produced by the openEHR community and managed by openEHR International, a non-profit organisation established in 2003

https://openehr.org/about/what_is_openehr�EHR = Electronic Health Record = Elektronisk Patientjournal

86 of 163

What is openEHR? Organisational parts

  • Specification Program
    • Defines the openEHR technical platform:�Specification of system architecture, models and formats, APIs, the Archetype Query Language (AQL) etc.
  • Clinical Models Program
    • Builds archetypes which act as international standards for �re-usable clinical content. These archetypes can be used by national and local e-health programs, and are the basis for building openEHR templates, from which software artefacts are generated by tooling.
  • Software Program
    • Is responsible for open source implementations of both tools and healthcare information system components. Such components can be freely used by openEHR implementers to build their own tooling and systems
    • Note: most openEHR-based platforms (EHR systems) are provided by independent providers, using mixed licensing schemes and different commercial approaches

87 of 163

What is openEHR? People! Collaboration!

International community with clinicians, informaticians, technicians, researchers and others working together

Discussions: https://discourse.openehr.org/

http://openehr.se/

ärende 4260283

88 of 163

Speed! ..by sharing the workload�Information models take time to create - if they are to work well for everyone.

88

Library and collaboration portal for archetypes, templates, etc. https://ckm.openehr.org/

Positive side effects:

  • Easier to share decision support, applications and data (e.g. for research)
  • Reduces supplier lock-in
  • Faster updates

Reuse!�Share the requirements gathering, analysis and information modeling. (globally!

89 of 163

Archetypes (arketyper)�Reusable documentation patterns

Template (mall)�Specific to a use case.�Combines and configures multiple archetypes.

Form (formulär/gränssnitt)�Autogenerated from template, then manually adjusted

90 of 163

Exempel på en ”arketyp” från openEHR

Kliniskt intressanta saker angående blodtrycksmätning?

”Maximi-tänk” istället för minsta gemensamma nämnare.

Det finns metod/formalism/verktyg att fånga och krav i, och forum att diskutera i.

”Template” (mall) väljer ut & anpassar från arketyper, exempelvis:

= inmatning/datafångst

= ställer in passande default-värde (kan ändras vid behov)�utan pil = fält som inte behövs i just detta exempel/användningsfall, syns då ej i formulär m.m.

Region Östergötland

90

91 of 163

Exempel på en ”arketyp” från openEHR

Kliniskt intressanta saker angående blodtrycksmätning?

”Maximi-tänk” istället för minsta gemensamma nämnare.

Det finns metod/formalism/verktyg att fånga och krav i, och forum att diskutera i.

”Template” (mall) väljer ut & anpassar från arketyper, exempelvis:

= inmatning/datafångst

= ställer in passande default-värde (kan ändras vid behov)�utan pil = fält som inte behövs i just detta exempel/användningsfall, syns då ej i formulär m.m.

Region Östergötland

91

92 of 163

”Adoptera” de arketyper du vill följa och t.ex. få inbjudan till review för.

Stöder olika språk. Flera arketyper finns redan på svenska.

Versionshanterat! Föra bilden var v1 denna bild visar v2

Ordentlig Sökfunktion

Begränsad namnsökning

Versionshistorik

Region Östergötland

92

93 of 163

”Adoptera” de arketyper du vill följa och t.ex. få inbjudan till review för.

Stöder olika språk. Flera arketyper finns redan på svenska.

Versionshanterat! Föra bilden var v1 denna bild visar v2

Ordentlig Sökfunktion

  • Mindmap - en av flera visualiseringar
  • Under ytan - objektorienterade modeller...
  • …som kan sparas i valfritt format t.ex. ADL, XML, JSON, YAML

Begränsad namnsökning

Versionshistorik

Region Östergötland

93

94 of 163

Context for openEHR, Image from: https://www.openehr.org/about/what_is_openehr

Can also include patients!

Other (non-EHR) server functions

Non-EHR storage

openEHR API

API

How do openEHR parts fit together?

Archetypes, Templates, �CDS rules etc.

SNOMED CT, �ICD, ICF etc.

Archetype Designer tools etc.

Clinical Knowledge Manager (CKM),

GitHub etc.

Upload template to platform

Open template in a tool

95 of 163

API

openEHR API

Archetype Designer tools etc.

Archetypes, Templates, �CDS rules etc.

96 of 163

API

openEHR API

CKM, GitHub etc

Free to use. Search, visualisation, review/versioning, adoption, and translation archetypes and templates

Archetype

CKM = Clinical Knowledge Manager

https://ckm.openehr.org/

97 of 163

Context for openEHR, Image from: https://www.openehr.org/about/what_is_openehr

openEHR API

API

How do openEHR parts fit together?

Archetypes, Templates, �CDS rules etc.

SNOMED CT, �ICD, ICF etc.

Archetype Designer tools etc.

CKM, GitHub etc

Upload template to platform

Open template in a tool

🡨 Focus of next slide

98 of 163

openEHR modeling toolchain

Form builder

openEHR ”template”

For specific use case, e.g. local, regional or national.

Free archetype and editing tool at https://tools.openehr.org/designer/

openEHR ”archetypes”

Clinical data models.

Found in internatioinal repository

https://ckm.openehr.org/ckm/

Maximi-datasets, intended for many use cases. Multilingual

”Form renderer”

Web-component that can be included in any webapp. It displays forms and submits validated data to openEHR backends via standardized API.

Conditional logic

99 of 163

Exempel: �Patologisvar Bröstcancer

Mer om detta exempel under utbildningsdag 2.

Se även rapport om modellering av patologisvaren: �http://liu.diva-portal.org/smash/get/diva2:1343958/FULLTEXT01.pdf

Formuläreditor

openEHR ”template”

…för specifikt användningsfall

Ofta nationellt, regionalt eller lokalt.

Har laddats in i formuläreditorn.

openEHR ”arketyper”

Kliniska datamodeller.

Maximi-dataset, många användningsfall

Internationella, översätts.

”Form renderer”

Web-komponent som�Visar formulär & skickar data till openEHR API.

Vilkorsstyrning av formulär

100 of 163

Teknikfokus: referensmodell

  • En vanlig objektorienterad referensmodell i botten, med datayper, trädstrukturer etc…
  • …vars objekt man (med arketyper+templates) kombinerar till strukturer och sätter id+namn på…
  • Och som man sedan kan lagra, dela, läsa och ställa (AQL-)sökfrågor mot [se senare föredrag om kvalitetsregister]
  • https://specifications.openehr.org/

101 of 163

Figure 20. High-level Structure of the openEHR EHR

102 of 163

103 of 163

104 of 163

105 of 163

Byggbitarna ärver från LOCATABLE, när man lagrar ner motsvarande journaldata så är:

  • name = namnet arketypförfattaren ger noden
  • archetype_node_id = at/id-koder inuti arketyper t.ex. at0008, eller arketypens ID vid arketyp-rotnonder.

106 of 163

107 of 163

108 of 163

openEHRs

”allt-i-allo”

109 of 163

Spårbarhet från import etc.

Länka mellan journalinnehåll

Extra ID för ev. speciella behov

110 of 163

Examples of openEHR use from�different parts of the world

111 of 163

…not complete, for example missing some providers, missing recent projects and missing China!

2012

2010

2010

2016

112 of 163

113 of 163

HiGHmed (Nästa generations kvalitetsregister?)�https://www.highmed.org/ - https://youtu.be/x4sZQpjxP5A

114 of 163

National German COVID-19 research hub

Open source stack�The openEHR-based open source plattform https://ehrbase.org/ in large scale deployment

Source: openEHR 2020 Digital event 24 Nov. https://openehr2020.com/oehrf2020/

115 of 163

Svenska exempel och experiment

116 of 163

Cambio Cosmic, vissa (hårdkodade) arketypbaserade sökord�

CDS - Stroke Prevention

Cambio CDS Beslutsstöd – baserat på GDL

117 of 163

StandIN3, projektseminarium, infopass 4, 2019-03-05. https://github.com/modellbibliotek/standin/tree/master/ehr-form-config

"Configuration of input forms in EHR systems using spreadsheets, openEHR archetypes and templates" http://dx.doi.org/10.3233/SHTI190645

Delat detaljerat informatikarbete i exsiterande system? Standin3 testade med CGM TakeCare!�Komplement/alternativ till kvalitetsregister?

118 of 163

HL7 WITH FOCUS ON HL7 FHIR

Briefly…

119 of 163

Health Level Seven International

Messaging & API examples:

  • HL7 V2.x ”version2”
  • HL7 V3
    • V3 RIM
    • CDA
      • Green CDA
  • HL7 FHIR, http://hl7.org/fhir/

Other examples:

  • CCOW (+FHIRcast) for consisten patient context switching in several applications
  • Arden syntax

Karolinska Institutet – A medical university

119

16 December 2021

120 of 163

HL7 FHIR�Here we had a look at https://hl7.org/fhir/ during the lecture

Karolinska Institutet – A medical university

121 of 163

openEHR tool & modeling demo

122 of 163

We had a look at these.

122

123 of 163

This is where we ended 18 dec 2024

  • Next time (spring 2025), we will look more at usage examples at Karolinska and other places
  • Slides follow this on will likely change before then….

124 of 163

openEHR in practice + FHIR + Q&A

[Future] Extra seminar for 5HI020 - Standardisation within healthcare

?? ??? 2025 @ Karolinska Institutet

Erik Sundvall,

PhD Medical Informatics, MSc Information Technology / Computer Science

Information architect @ Karolinska University Hospital, Region Stockholm (Main job)

Adjunct Senior Lecturer in Medical Informatics @ IMT, Linköping University

Affiliated researcher @ HIC, LIME, Karolinska Institutet

125 of 163

HL7 FHIR AND OPENEHR COMBINED?

Material mainly for part 2 (Thursday)

126 of 163

How Karolinska University Hospital views standards in the data life cycle. Any may be useful for a given purpose, depending on the need and relevant constraints.

126

“Gartner believes that truly effective and sustainable open architectures will need a capability for vendor-neutral data persistence, such as utilizing a common schema or set of openEHR archetypes and rules for managing structured and unstructured data (for example, a VNA, openEHR or IHE XDS repository in combination with services for trust/consent, ecosystem governance and oversight, and reuse of data and processes for secondary purposes, such as research and population health).

Providing open messaging standards (for example, FHIR, HL7) for data exchange in specific use cases will only go so far in meeting the architectural challenges of digital citizen-centric care delivery”

Healthcare Provider CIOs Need to Rally Their Enterprise Architects Around Citizen-Centric Care Delivery, Gartner 2017

Extended from a slide by Patrik Georgii-Hemming, CMIO at Karolinska University Hospital

OMOP etc.

Most of the proprietary �EHR internal models

All these standards can be combined with

127 of 163

Recent example of lacking understanding of what can be solved where/how

127

128 of 163

HL7 FHIR

openEHR

Main focus

  • Interoperability (find & use similarity?)
  • Exchange and access

FHIR is not written for clinicians, it's written for software developers” [2a] �(and other implementation experts)

  • Intraoperability [1] (reduce differences inside?)
  • Clinical documentation

openEHR … working at the clinical semantics level with implementation as a downstream activity” [2b]

Clinical content selection

  • Common patterns implemented in existing systems. (Plus some other new needs that can be agreed widely upon.)
  • ”The 80/20-principle”. [3]
  • Reqirements expressed by clinicians and implementing organisations via an international (sometimes national) online consensus process, open to all.

Technical focus

  • Easy/fast to understand and implement
  • Easy to maintain & extend EHR systems�(new RESTful I/F make it easier to implement)

Local and speciality-specific adjustments

Extensions & Profiling

Only non-extended FHIR resources guarantee easy international interoperability/similarity.

(Extensions can be retrieved and analyzed. Data entered using previously unseen extensions follow the FHIR model and can thus be transferred and read by any system.)

Templates & Archetypes

Only templates and archetype specializations based on international archetypes guarantee easy interoperability/similarity.

(Local archetypes etc. can be retrieved and analyzed. Data entered using previously unseen archetypes follow the openEHR model and can thus be transferred and read by any system.)

Final decisions

HL7 member balloting

Clinical: mainly consensus in online review rounds – mostly clinicians

Technical: Specifications Editorial Committee (SEC) – mostly EHR system implementers

[1] Open internal clinical models as in Grahame Grieve’s: Interoperability vs Intraoperability http://www.healthintersections.com.au/?p=820 � (Above we do not mean intraoperability around a dominating proprietary vendor as in the definition at http://www.ecis.eu/intraoperability/) �[2a] Lloyd McKenzie 2016 March 28 and [2b] Thomas Beale at March 29, both in https://chat.fhir.org/#narrow/stream/openehr

[3] Grahame Grieve, FHIR and confusion about the 80/20 rule, http://www.healthintersections.com.au/?p=1924

129 of 163

130 of 163

OPTIONS WHEN USING FHIR AND OPENEHR TOGETHER

No alignment (just mapping)

    • To FHIR, openEHR can be seen just as any other EHR-system �(and mappings can be done for some things)
    • To openEHR FHIR can be seen just as any other exchange format �(and mappings can be done for some things)�

Partial alignment (giving better mapping possiblilities)

    • Align the clinical content of some important resources and archetypes. Then keep each other updated regarding new versions. (Already done e.g. for Adverse Reaction)
    • Create shared and (inter)nationally maintained FHIR extensions/profiles to carry the extra datapoints from openEHR systems. �

Encapsulate one in the other

131 of 163

When to use what? Inter- vs Intra-operability?

  • A continuum, not black/white. Some degree of both is often needed. �What is your main pain?
    • Too much variation in input 🡪 focus on intra
    • Too much variation in output 🡪 focus on inter

  • Interoperability focused approaches e.g. HL7 FHIR, HL7 V2 messaging etc
    • Focus: exchange/messaging . ”Usual” way - mappings. Familiar to system providers etc.

  • Intraoperability focused approaches e.g. openEHR, HL7 CIMI (long term goal)
    • Focus: sharing clinical documentation + sharing modeling workload
    • 🡪 Easy to move entire health records (to other organizations or competing systems)

  • Approaches somwhere inbetween or all over the continuum: HL7 CIMI, ISO 13606 etc.

132 of 163

WHEN TO USE WHAT? INTER- VS INTRA-OPERABILITY?

  • How competent are you compared to your systems provider(s)?
    • We know more (and stay updated), and can specify it well 🡪 intra… �But you’ll need to get involved in international (and national) collaboration.
    • Equal or varies a lot 🡪??? (very context dependent)
    • They know more 🡪 interLet them do internal modeling and tell you how to use it.

  • How much can you influence decisions (implementation/configuration) inside EHR systems?
    • Not much 🡪 �interoperability! Intraoperability if of interest to system provider(s).
    • A lot 🡪�Might get intraoperability if you know what you are asking for, and why.

133 of 163

Egna hälsodata + Digital tvilling + Egenmonitorering

(Webb)app:�filtrering, aggregering data-standardisering, berikning, kopiering/flytt. �+ Ev inmatning via formulär

Självvald

lagring

Tvilling använder:

- Data delad med vården (aggregerad?)

- Vårdgivarens data (PDL)

Tvilling använder:�- Privat data (detaljerad)

- Kopia av vårdgivarens data

”Wearables”, mätare, smartklockor m.m.

Mobiltelefon

Lagringsalternativ:�- Valfri server/molnleverantör

- Lokal lagring på egen mobil

- Egen server (open source?)

- Förening, klubb etc

- …någon du litar på

Linköpings Universitet, IMT (Gunnar Cedersund m.fl.) + Region Östergötland

In English https://www.youtube.com/watch?v=MvWPHM7wWV4�Longer in Swedish; Part 1: https://www.youtube.com/watch?v=8geMW5lpSs4 Part2: https://www.youtube.com/watch?v=SxtxhjR-lAU

Regionens lagring.

Lagring�- Regionens openEHR-plattform

- Överföring till/från befintligt

journalsystem

Ofiltrerat

Filtrerat &�berikat

REST API

REST API

Ofiltrerat (?)

& berikat

inbyggda sensorer

Google Fit was used as bridge since it works on both iOS and Android

Upphandlad plattform för egenmonitorering

134 of 163

TODO: Add many more example slides here + possibly live demos

Karolinska Institutet – A medical university

134

16 December 2021

135 of 163

LET’S WORK TOGETHER TO SUPPORT BETTER HEALTH

Medical informatics is very interesting and can be challenging

  • multi faceted – socio-technical
  • complex and ever-changing healthcare (*omics and brain interfaces)

Collaborate

  • Do a master thesis or come work for e.g. Karolinska University Hospital or KI
  • Collaborate internationally in communities & organisations (e.g. FHIR, openEHR, SNOMED CT, ISO)
  • Academic interest organisations, IMIA, regional EFMI etc, natioal SFMI etc.

Karolinska Institutet – A medical university

135

16 December 2021

136 of 163

Bonus tracks

Extra material for possible discussioins/questions

137 of 163

138 of 163

Technical debt (Teknisk skuld)

Ward Cunningham used the metaphor of debt to explain to his boss that if the design team failed to continuously update the design to become aligned with increased updated knowledge of the problem at hand, than they were continually going to stumble over that disagreement. That would slow the team down, which was like paying interest on a loan.

‘Loans’ in the form of rushed solutions can be well motivated by business needs or by wanting to get initial experience. If you keep borrowing and never repay by refactoring and updating the design then ‘eventually all your income goes to interest and your purchasing power goes to zero’. Only adding features and never reorganizing programs to reflect your understanding of those features, then eventually work on it take longer and longer, the interest is total, zero progress.

139 of 163

Bildkälla: http://kirstenfeldbrugge.nl/?p=85

Bra förklarande video (8:38) med David Snowden: http://youtu.be/N7oz366X0-8

Förklarande artikel: Snowden, David; Boone, Mary (November 2007). "A Leader's Framework for Decision Making". �Harvard Business Review: 69–76. Nås från t.ex. http://scholar.google.se/scholar?cluster=16946851987297242719

140 of 163

141 of 163

142 of 163

AGILITY AND EFFICIENCY?

143 of 163

Towards interoperable and knowledge-based electronic health records using archetype methodology Rong Chen (PhD thesis), http://urn.kb.se/resolve?urn=urn%3Anbn%3Ase%3Aliu%3Adiva-54822

Region Östergötland

143

144 of 163

144

years

months

Health IT organizations & vendors are often slower than Gartners average system examples (perhaps due to complexity, regulations etc?)

Region Östergötland

144

145 of 163

Reliability+Agility? Quality+Speed/Innovation? Bimodal IT (1+2)�Finding suitable abstraction layers and suitable management (people+process)…

Specifications, e.g.: XML,

XML Schema (the ”language”),

XPath & XQuery

General XML database systems

XML Schema V (national?)

XML Schema U

General XML Tools (editors, processors etc)

XML Schema Y using V+W

X instances

Software manipulating/using X instances

XML Schema X using U+V

XML Schema W (international?)

Y instances

Rule engines

Rules & data flows

Spreadsheet

Software

(e.g. Excel)

Spreadsheet

template, e.g.

time report

for company X

Mr Smith’s

time report

for June

(an instance)

Specifications, e.g.:

-Reference Model (RM),

-Archetype Model (AM),

-AQL (query language)

-GDL (decision support lang.)…

EHR storage system RM+AQL+…

Archetype V (national?)

Archetype U

Archetype W (international?)

Template Y using V+W

Template X using U+V

Tools, editors…

http://www.gartner.com/it-glossary/bimodal/

GUIs generating/reading/querying instances

Region Östergötland

145

146 of 163

”Bimodal IT” �2x ”modes”

Mode 1

Stabilt

Effektivt

”Maratonlöpare”

Mode 2

Agilt

Snabbt

”Sprinter”

Bimodal IT

Väsensskilda modus

Båda är viktiga

Region Östergötland

146

147 of 163

  • Actors betting on long term sustainable, scalable solutions
  • Educated protestors, willing to contribute to solutions!
  • Educated leaders daring to choose and support sustainiable solutions?

148 of 163

Tell the truth!�Listen to science!

Solutions are possible!

  • Actors betting on long term sustainable, scalable solutions
  • Educated protestors, willing to contribute to solutions!
  • Educated leaders daring to choose and support sustainiable solutions?

149 of 163

Support

Sys. admin

Customer group

Delivery

Release mgmnt. Programming

Test

Configuration

Roll-out (during planned service ”windows”)

Find/create archetypes�Create template

Create form/GUI and ”task planning” �incl. dynamic w/ ”low code”

Sometimes: Modify or create CDS rules

Upload to system�(”live” in an active system)

Test and quality control

Sometimes: Extra programming & optimisations

Mode 1

”Marathonl”

Mode 2

”Sprint”

Adjusting related systems (integrations

Statistical reports etc)

Custromer repr.�Investigation

Prioritisation

Pre-study

GUI/client-design

API-design

Database design

Objekt-modelling

Mode 1

”Maratonlöpare”�Stabil informatik och teknisk grundplattform

Tech sys. administration and improvement�of CDR and tools

Mode 2

”Sprinter”, delar�konfigurerbara av verksamhet

150 of 163

Support

Förvaltning

Kundgrupp

Leverans

Releasehantering�Programmering

Test

Konfiguration

Utrullning (servicefönster för planerade driftstopp)

Leta/skapa arketyper�Skapa template

Skapa formulär/GUI och ”task planning” �inkl. dynamik m. ”low code”

Ev. Modifiera/skapa beslutsregler

Ladda in i system�(”live” i aktivt system)

Test/granskning�Ev. kompletterande programmering och optimering

Mode 1

”Maratonlöpare”

Mode 2

”Sprinter”

Anpassning av kringsystem

(integrationer

Statistik, uppföljning)

Kundkontakt�Utredning

Prioritering

Förstudie

GUI/klient-design

API-design

Databasdesign

Objekt-modellering

Mode 1

”Maratonlöpare”�Stabil informatik och teknisk grundplattform

Teknisk förvaltning av grundplattform och ”verktygslåda”

Mode 2

”Sprinter”, delar�konfigurerbara av verksamhet

https://youtu.be/RYTmMQJFpAc?t=718

"...still many organizations choosing ... traditional route and we know that this will be the last cohort adopting this… already a legacy technology… not going to be what we use in the future"

  • Actors betting on long term sustainable, scalable solutions
  • Educated protestors…?, willing to contribute to solutions…?
  • Educated leaders daring to choose and support sustainiable solutions…?

https://youtu.be/RYTmMQJFpAc?t=718

151 of 163

DEMO OF TOOLS? +�QUESTIONS & DISCUSSION

152 of 163

Q & A

153 of 163

CDR

Mottagande system

Labb/Patologi-�system

Journalsystem �+ ev remiss- & svarssystem

RIS/PACS

system

Kvalitetsregister X

Svarsmallar

Remittent

BMA

Patolog

Radiolog

Källsystem

Svarsmallar

Svars-mottagare

Svarsmallar

Svarsmallar

Regional del av INCAS  vårddatalager

'���

Cancerregistret

Nat. modellbibliotek

T.ex. GitHub och andra tjänster för att dela filer versionshanterat, t.ex. eHälsomyndighetens “NGS”

NAG Patologi, �KVAST-grupper, �Sv. openEHR-förvaltning

Vårdgivare/regioner m.m.

openEHR CKM

Verktyg�för templates, �forms, AQL mm

Exempel-�formulär

Kvalitetsregister Y

Kundgruppers systemspecifika

formulär

Patologiformulär

Kvalreg-app Y

IPÖ-app

Kvalreg-app X

Lokala patientöversikter etc.

Användare i regioner som vill fortsätta jobba som idag

Kirurg

OpenEHR

Templates �för patologi

Gula pilar är informationsstruktur, terminologiurval, formulär, etc �(Alltså konfiguration, inte patientdata.)

Narrativ-genererande�algoritmer

Förenklad bild

CDR

DB

...

154 of 163

155 of 163

156 of 163

Standardisation: why and how

Context, fundamental problems, strategies, and examples of solutions for Electronic Health Records (and maybe a bit of time-travel)

11+18 Dec 2024 + Q&A session 10 Mar 2025 @ Karolinska Institutet,

Course 5HI001 - Computer Applications in Health Care and Biomedicine

Erik Sundvall,

PhD Medical Informatics, MSc Information Technology / Computer Science

Information architect & CDR product owner @ Karolinska University Hospital, Region Stockholm (Main job)

Adjunct Senior Lecturer in Medical Informatics @ IMT, Linköping University

Affiliated researcher @ HIC, LIME, Karolinska Institutet

157 of 163

  • I would like to know more about how OpenEHR is implemented today at KS and how this will change/improve(?) with the future implementation of the Cambio (Cosmic) system
    • See separate slides later + Linkedin
  • (Will KS get the same system as St. Göran, or are they different systems?).
    • Probably not since a) St. Görans is already configured and in use – a cahnge would be very disrupting b) they are a separate private caregiver and separate Cambio customer
    • ...or possibly yes, if Region Stockholms contract allows them to join and they want to ditch their own contract + config (It might be a challenge to access old data though)
    • I have even heard roump
  • Also, I would like to ask you how the new journal system will connect to other standards (such as Fhir or terminologies standards such as SnomedCT) in contraposition with the present TakeCare system.
    • There are no FHIR APIs in TakeCare - Cambio Cosmic has some (more read than write)
    • TakeCare has very limited support for SNOMED CT (in headings ”sökord”) no support in value selections/valuelists. – I believe Cambio Cosmic can use snomed also in selections/valuelists

//Alex Alfarone

158 of 163

  • I think would be great if you can provide an example of the implementation, when we build the templates, usually the data from the patients is stored in the EHRbase or any software backend established by the hospital, is it connected to the database of the hospital, or the data is solely stored in the EHRbase

// Pamela Castillo

    • See separate slides later

159 of 163

  • During the course, we learn how to create repositories in the "openehr archetype designer" platform by working with archetypes and templates. Suppose a particular region/organization formulates required templates in this stage. Then, if they plan to implement EHR in their health facilities with openEHR,
    • (i) What are the processes?
      • See process doc + Github process + openEHR-force
    • (ii) Which platforms will they have to use? Is it the own web database/system or the openEHR planform like District Health Information System 2 (DHIS2) platform?
    • (iii) If the process is about importing downloaded openEHR files into the own web-planform managed by the region/organization, how does it work?
      • Illustrate on whiteboard…
  • What are the current challenges in practical applications of openEHR in hospital settings?
    • See separate slides later + discussion

// Htet Wai

160 of 163

  • 1 - What is the development stage of the information system/electronic health record system based on openEHR specifications, at the Karolinska University Hospital? What is the time frame for a complete development?
  •  
  • 2 - Could you give a view of how many types of computer applications are running at the Karolinska University Hospital?. During the courses we mostly considered EHR systems, CDSS, CPOE. How do they communicate each other? Using HL7 FHIR messages? Other ways?
  •  
  • 3-  Supposing that two clinical settings have their information systems/electronic health record systems based on openEHR specifications. Is it reasonable that their data exchange is performed by HL7 FHIR messages?
  •  
  • 4- In the international CKM of openEHR, archetypes on Demographics are available. However, it appears that clinical settings have their demographics systems/servers. It appears that it is reasonable creating a demographic server based on openEHR Demographics when things are starting from the scratch/ a previous system for demographics is not in place. Could you comment on this aspect?
  •  
  • 5 - On the international CKM, there are 974 archetypes (you see that when a bulk download is performed). Not all of them are published (green mark) and it appears that three years are needed for an archetype to be published. This time frame clashes with the timeframe of a company or aclinical setting that is developing information system/electronic health record system based on openEHR specifications. Could you comment on this aspect? 
  •  
  • 6 - Terminology servers. How different medical terminologies will be managed in the upcoming information system/electronic health record system based on openEHR specifications, at the Karolinska University Hospital? It appears that ICD-10 (and ICD-11), SNOMED CT, NPU, (LOINC in the future?), KVÅ, ATC, RxNorm(?), others, should be implemented. Could you comment on that and on how many persons in the staff is needed to implement and maintain those services?
  •  
  • 7 - What is the stage of the development of openEHR specifications related to Dental care? One student of the second year is doing a thesis on that. We saw your blog post of May 2024, and the Incubator available on the International CKM. For research purposes the student is also looking at the US Dental Data Exchange in HL7 FHIR (https://build.fhir.org/ig/HL7/dental-data-exchange/). Are their any new initiatives?
  •  
  • // Stefano

160

161 of 163

  • 5 - On the international CKM, there are 974 archetypes (you see that when a bulk download is performed). Not all of them are published (green mark) and it appears that three years are needed for an archetype to be published. This time frame clashes with the timeframe of a company or aclinical setting that is developing information system/electronic health record system based on openEHR specifications. Could you comment on this aspect? 
  •  
  • 6 - Terminology servers. How different medical terminologies will be managed in the upcoming information system/electronic health record system based on openEHR specifications, at the Karolinska University Hospital? It appears that ICD-10 (and ICD-11), SNOMED CT, NPU, (LOINC in the future?), KVÅ, ATC, RxNorm(?), others, should be implemented. Could you comment on that and on how many persons in the staff is needed to implement and maintain those services?
  •  
  • 7 - What is the stage of the development of openEHR specifications related to Dental care? One student of the second year is doing a thesis on that. We saw your blog post of May 2024, and the Incubator available on the International CKM. For research purposes the student is also looking at the US Dental Data Exchange in HL7 FHIR (https://build.fhir.org/ig/HL7/dental-data-exchange/). Are their any new initiatives? 

// Stefano

161

162 of 163

    • See separate slides later

163 of 163

    • See separate slides later