ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008...

51
ISO Healthcare Data ISO Healthcare Data Types: Interactions Types: Interactions with Metadata with Metadata Registries Registries Metadata Open Forum 22-05-2008 Grahame Grieve

Transcript of ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008...

Page 1: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

ISO Healthcare Data ISO Healthcare Data Types: Interactions Types: Interactions with Metadata with Metadata RegistriesRegistries

Metadata Open Forum 22-05-2008

Grahame Grieve

Page 2: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.
Page 3: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

OverviewOverviewHistory & Overview of ISO 21090Using ISO 21090 data types with

11179 registries

Page 4: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

History of ISO 21090History of ISO 21090Project chartered long ago (> 10

years)Held up repeatedly by

disagreements between stakeholder SDO’s:◦ISO◦CEN◦HL7

Page 5: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

HL7HL7Health Level 7 (from ISO OSI)US-based ANSI accredited

standards developerMembership:

◦Vendors◦Providers◦Government Programs◦Consultants◦Academics

Page 6: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Scope of HL7Scope of HL7Administrative Healthcare DataHealthcare financial informationClinical/EHR dataClinical Trials & Clinical SafetyClinical Decision SupportEnterprise architectureTechnology bindings (layers 4-6)Whatever the members want!

Page 7: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

HL7 v3HL7 v3HL7 is in the process of completely

updating it’s approachV2 (old):

◦ad hoc modelling◦single technology binding◦widely used

V3 (new)◦ rigorous consistency / not semantically

ambiguous◦high level of reuse / multiple technology

bindings◦uptake starting to gain critical mass

Page 8: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Overview of V3Overview of V3

RIM (Reference Information

Model)

Constraint Models(DMIM, DIM, RMIM, HMD, MT, CIM, LIM,

TIM)

Wire Formats(XML ITS)

Solid OntologicalFoundation

Adaptation to a context of use

How to make it work

Data Types

Terminology Definitions (a la ISO 704)

ImplementationConcept

Page 9: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

CEN 13606CEN 13606

RIM (Reference Model)Part #1

Archetypes

Part #2

Exchange FormatPart #5

Solid OntologicalFoundation

Adaptation to a context of use

How to make it work

Data Types

Terminology Definitions (a la ISO 704)

ImplementationConcept

Page 10: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

HL7 / ISO data typesHL7 / ISO data typesThe data types are ubiquitous

◦All actual data is stored in data types◦Plus content model bindings◦RIM is a general model for everything

The data types are where the pedal hits the metal

The data types are designed with rigor for rebust re-use in multiple contexts

Page 11: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Data Types RequirementsData Types RequirementsMassive requirements gathering:v2 semantics must all be supportedYears of requirements gatheringmany MBs of archived meeting

minutes, wiki content, ballot reconciliation, emails, skype chats

review by other standards organisations, experts

most available publicly, but not gathered together

Page 12: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

What’s the Political What’s the Political Discord?Discord?HL7 V3 Data Types highly controversial

◦ Improper UML diagrams◦Modeling by constraint◦Gap between specification and

implementation◦Open war about null flavors

CEN rejected V3 Data types◦Strong input from OpenEHR◦Several candidate standards proposed

ISO: Several candidate standards proposed

A mess: personal, and a disaster

Page 13: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Specification and Specification and ImplementationImplementationDifferent wire encodings

◦XML◦ASN.1

Different layers ◦XML◦Object Model

Different Paradigms◦Web 2◦SOA

Page 14: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Specification and Specification and ImplementationImplementationDefining a specification in terms

of any one layer creates problems:◦instability◦binding/bridging problems◦Implementer choice

OMG◦PIM: Platform Independent Model◦PSM: Platform Specific Model

Page 15: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Abstract & XML: GapAbstract & XML: GapHL7 Data types are specified in an

abstract form (defines everything from scratch, except true and false)

The abstract form is very useful as a rigorous semantic statement

The abstract form is completely useless as a basis for implementation

An XML form was defined for implementation

Page 16: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.
Page 17: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

RM-ODP View pointsRM-ODP View pointsEnterprise - purpose, scope and

policies of systemInformation – kinds of information,

and constraints & use of itComputational - functional decomp-

osition into objects that interactEngineering - infrastructure

required to support system distribution

Technology - technology to support system distribution

Page 18: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

RM-ODP MappingsRM-ODP MappingsEnterprise

Information

Computational

Engineering

Technology

Abstract Data Types

XML ITS Data Types

Page 19: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

RM-ODP MappingsRM-ODP MappingsEnterprise

Information

Computational

Engineering

Technology

Abstract Data Types

XML ITS Data Types

Missing!

Page 20: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

1117911179Data Element Concept is abstractData Element is partially technology

bound – neither one or the other◦11179 Attributes specify

“representation”, not semantics◦Representation is not sufficiently

technology bound to allow semantic interoperability

◦Representation is not sufficiently technology bound to allow technical interoperability

Page 21: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

1117911179Example

Page 22: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

ISO Data TypesISO Data TypesA computable/implementable

standard◦Full UML specification (PIM)◦Rigorous XML representation (PSM)

Proper implementation of abstract data types

Mappings to other major alternativesAcceptable to everyone

◦Grudging acceptance!◦The ISO data types are still full of

compromise

Page 23: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.
Page 24: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

ISO Data Types - ProgressISO Data Types - ProgressWork began in 2005 (conceived in UK)Combined data types are currently

undergoing simultaneous ballot by◦CEN◦ISO (DIS)◦HL7

Combined resolution Istanbul in October

Implementation trials are under way

Page 25: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

In the data types...In the data types...Infrastructural things (Lists, Sets,

Booleans)Text & multimedia contentCoded Concepts / Terminology

ReferencesIdentificationNames and AddressesQuantitiesIntervals and Complex Set ExpressionsUncertain Values

Page 26: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

CD: Concept ReferenceCD: Concept ReferenceCode – umbiguous reference to a

concept defined in a terminologyValueSet – reference to a value set

from which the concept was allowed to come

Display & Original TextCoding Information – information

about how this was codedTranslations – alternate concept

references

Page 27: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

CD: Concept ReferenceCD: Concept Reference

Page 28: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Relationship with 11404Relationship with 1140411404 defines General Purpose

Data types (GPDs)21090 builds on this to define

healthcare specific data types (HDTs)◦Why does healthcare need data

types?◦Why does it define data types with

the same name & function as GPD data types?

Page 29: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

What’s a Data Type?What’s a Data Type?Multiple AnswersIn this context:

◦ What you use for an attribute type

◦ Has no identity, so cannot have an association

◦ does not have associations (actually all associations are compositions)

Page 30: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

What’s a Data Type?What’s a Data Type?Only has a value (No identity)Defined in terms of possible

operations Operations yield new values – the

original value does not change (Immutable)

Does not have state – the value is unchanging in all contexts (No life cycle)

Is a single unit of semantic coherency

Page 31: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Why Healthcare Data Why Healthcare Data Types?Types?Records do not have the desired

semantic rigourNeed objects with defined life

cyclesDefining life cycles is inappropriate

for some basic concepts◦Define them as a black box◦Specify their operations◦Treat them as re-usable value domains◦ Data Types!

Page 32: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Why Healthcare Data Why Healthcare Data Types?Types?11404 concepts:

◦Strings, Integers, Reals, Booleans◦Sets, Lists, Bags, Intervals

Higher Level Concepts:◦Terminology Bindings◦Physical Values/Measurements◦Inclusion of externally defined content◦Specification of mathematical sets◦Names, Addresses, Identities

Page 33: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Why Redefine 11404 Why Redefine 11404 Types?Types?21090 defines types that

represent the same concept as 11404 types◦SET◦LIST◦BAG◦INT◦REAL

Why do this?

Page 34: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

NullFlavorNullFlavorIncomplete / Partial Data is common in healthcarePatient is unconsciousPatient was unwilling to provide informationPatient isn’t sure when the operation wasData is not (yet?) availableUser does not have access to the informationCode system doesn’t contain conceptA trace detected, but not enough to

quantify

Page 35: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

nullFlavornullFlavorEvery data element has a nullFlavor

attributeSemantically, the nullFlavor values

are part of the value domain of every type or class

Data elements that have a nullFlavor may also have other information

nullFlavor is not the same as null in technologies such as OCL and SQL◦But behaves a lot like them

Page 36: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Primitive Type PatternPrimitive Type PatternUse types in 11404Need to give them all nullFlavornullFlavor defined on base type

ANYDefine a class with a standard

name◦specialize ANY◦give it an attribute “value” ◦“value” type is the appropriate 11404

type

Page 37: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Why redefine 11404 Why redefine 11404 types?types?21090 defines types with similar

names and functionality to 1140421090 does not redefine 11404

typesIt wraps them using the primitive

type patternCauses much confusion

Page 38: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

11179 Registries & Data 11179 Registries & Data TypesTypesIs it appropriate to use the health

care data types as a type in a 11179 registry?

Page 39: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

11179 Attributes of 11179 Attributes of interestinterestDatatypeRepresentation CategoryMinimum SizeMaximum SizeLayout of Representation

(n(3).n(3)E2)Permissable Data Element Values

Page 40: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

DatatypeDatatypeThe format used for the collection

of letters, digits, and/or symbols, to depict values of a data element, determined by the operations that may be performed on the data element.

The data type does not define the operations, only the representation

What defines the operations?

Page 41: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

11179 Attributes of 11179 Attributes of interestinterestDatatypeRepresentation CategoryMinimum SizeMaximum SizeLayout of Representation

(n(3).n(3)E2)Permissable Data Element Values

Page 42: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Representation CategoryRepresentation Category“Type of symbol, character or

other designation used to represent a data element.”

The representation category shall be specified by the relevant standard

Page 43: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Representation CategoryRepresentation CategoryRepresentation Class: An

informational list of representation class terms is provided:◦Code / Text◦Count / Quantity / Currency◦Date / Time◦Graphic / Icon / Picture

“By using representation class, enhanced semantic control over the contents of value domains can be maintained”

11179 definitions are loose: core things are not nailed down

Page 44: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Maximum SizeMaximum SizeThe maximum number of storage

units (of the corresponding datatype) to represent the data

This is confusingName has type character string,

and a size of 80So you can have 80 names?

Page 45: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Health Care Data TypesHealth Care Data TypesThe Health Care Data Types

subsume these several conceptsDefine other attributes that are

required◦Cardinality◦Concept bindings◦Min & Max Length ◦Mandatory / Required / other

constraint levels

Page 46: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Health Care Data TypesHealth Care Data Types11179 allows other attribute types

that can define these other thingsRender existing mandatory and

conditional attributes irrelevent or misleading

Can use health care data types without loss of meaning since there isn’t much in the first place◦i.e. Are the types composite types?

Page 47: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

11179 & External Data 11179 & External Data TypesTypesSame issues apply to use of 11404

General Purpose Data typesAnd also W3C Schema types

Editor’s draft allows for referencing a particular data type specification

Need a profile for each specification

Page 48: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Describing Data Types in Describing Data Types in 1117911179Is this even appropriate?Attributes that make up data

elements are not re-usable in other contexts

Intent and definition is completely context bound

General Issue: HL7 specifications define re-usability at a much higher level than data element level

Page 49: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Describing Data Types in Describing Data Types in 1117911179General Issue: Need to make

formal (computable) statements about◦Operations◦Life Cycle◦Constraints◦Conformance Requirements

11179 allows some of this, but provides no formal framework

HL7 rolls it’s own xml syntax

Page 50: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

OWL & Healthcare Data OWL & Healthcare Data TypesTypesThere is ongoing interest in

representing the healthcare data types in OWL to facilitate formal logic

The health care data types are put of a larger web:◦Terminology & Value Sets◦Data Types & Reference Classes◦Constrained Models for use cases◦Process models (Services etc)

No comprehensive approach yet

Page 51: ISO Healthcare Data Types: Interactions with Metadata Registries Metadata Open Forum 22-05-2008 Grahame Grieve.

Ongoing EngagementOngoing EngagementHL7 is always prepared to engageHL7 is over committed in terms of

engagementAlways a struggle to maintain

balance between collaboration, productivity and linear development of standards

Ongoing engagement between registry development and HL7 productive for both