XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases...

88
XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C Web Ontology Working Group Chair, ASTM E31.28 Electronic Healthcare Records

Transcript of XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases...

Page 1: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

XML in Healthcare and the Semantic Web

Jonathan Borden, M.D.Center for Brain and Cranial DiseasesSt. Vincent Health System, Erie PAInvited Expert, W3C Web Ontology Working GroupChair, ASTM E31.28 Electronic Healthcare Records

Page 2: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

The Goal

Answer questions like:“Of all the patient’s I operated on for

brain tumors between 1996-2000, matching severity of pathology and matching clinical status and who have the “P53” mutation, did PCV chemotherapy improve the cure rate at five years?”

Page 3: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Healthcare: The current situation

A disaster: 1.1 Trillion $/year in the USA30-40 % overheadmostly paper basedhighly proprietary commercial systemstens of thousands of people die each

year due to poor information/errorsMost of the information is rendered

useless

Page 4: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Strategies

Define open standardsCapture information in an electronic

formReduce errors related to informationDefine distributed, web enabled,

query models

Page 5: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Tactics

XML, schemas, query modelSemantic Web/URI graphsData analysis based on actual

population rather than small, potentially biased, samples

Google for biomedical information

Page 6: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Why XML?

Widely implemented with excellent open source tools

Life of data is longer than life of application

Data driven, Platform independentFormal schema and query models

Page 7: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Reinventing medical informatics

Get the data format right and the rest will follow

Structured information has been the holy grail of medical informatics for the last 30+ years

XML is the culmination of 30+ years of work in structured information

Time to do something

Page 8: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

XML Briefly

Simplification of SGML … markup language for the web

<element> content </element><element attribute=“value”>

<child-element another=“123”/></element>

Page 9: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

XML and Infosets

<patient> <person.name>

<given>James</given><given>Steven</given>

<family>Smith</family><suffix>3rd</suffix>

</person.name>startElement(“patient”)

startElement(“person.name”)startElement(“given”);characters(“James”);...

Page 10: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Regular Expressions

Pattern matching“*TATA*”bp ::= ‘G’ | ‘T’ | ‘A’ | ‘C’tata ::= bp*, ‘T’, ‘A’, ‘T’, ‘A’, bp*

Page 11: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

XML DTD

<!ELEMENT foo (bar*)><!ELEMENT bar (baz?)><!ATTLIST bar bop CDATA

#IMPLIED><!ELEMENT baz (#PCDATA)>

Page 12: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Tree Regular Expressions

element foo{element bar{

attribute bop[int]element baz{‘xxx’}}

}

<foo><bar bop=“23”>

<baz>xxx</baz>

</bar></foo>

Page 13: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

ASTM E2182/E2183

XML DTDs for HealthcareEmphasize Human ReadabilityFlexibilityOpenhealth reference

implementation http://www.openhealth.org/ASTM

Compatible with HL7 CDA

Page 14: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

ASTM Healthcare DTDs

clinical.header compatible with HL7 CDA

clinical.body specific to document type operative.report radiology.report discharge.summary etc.

Page 15: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

ASTM E31.28 Clinical Header

ch.person.type = person.name, id*, addr* ch.organization.type = organization.name?, id*, addr* clinical.header =

element clinical.header{ ch.attrib, id*, version.number?, confidentiality.code*, patient.encounter?, authenticator*, legal.authenticator*, intended.recipient*, originator?, originating.organization?, transcriptionist?, provider+, service.actor*, patient, events?, codes?, related.document*

}

Page 16: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

ASTM E31.28 Clinical Header

service.actor = element service.actor { ch.attrib, xlink.attrib?,

(person.name|organization.name), id*, addr*, type.code?, function?, date.time? }

provider = element provider{ ch.attrib, ch.actor.type,

function?}

Page 17: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

ASTM E31.28 Clinical Header

patient.encounter = element patient.encounter{ ch.attrib,

(id? & practice.setting? & date.time? & location)

}

service.target.model = ch.actor.type & birth.date? & gender?

patient = element patient { ch.attrib,xlink.attrib?,

service.target.model }

Page 18: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Encounter

<encounter> <patient>…</patient> <provider>…</provider> <date.time>…</date.time> <location> … </location> <encounter.id>…</encounter.id>

</encounter>

Page 19: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

XML examples

<person> <person.name>

<prefix>Ms.</prefix> <given>Susan</given> <given>Samantha</given> <family>Jones</family>

</person.name> <id type=“SSN”>000-11-2233</id>

Page 20: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

XML examples

<patient> <person.name> … </person.name> <id authority=“New England Medical

Center”>000112233</id>

</patient> <provider>

<person.name><prefix>Dr.</prefix><given>Amanda</given><family>Smith</family></person.name>

</provider>

Page 21: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Using XML to generate reports

Browser formASTM E2182 XML formatXSLT transform for display in

browserXSL-FO transform for printable form

(e.g. PDF)

Page 22: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.
Page 23: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.
Page 24: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

ASTM Opnote: Header (1/3)<operative.report xmlns="http://www.openhealth.org/ASTM/operative.report"> <clinical.header xmlns="http://www.openhealth.org/ASTM/clinical.header">

<id>5556666</id><patient.encounter>

<id>ENC-11111</id><practice.setting>Operation</practice.setting><date.time>2000-10-15</date.time><location>New England Medical Center</location>

</patient.encounter><provider>

<person.name><prefix type="title">Dr.</prefix><given>Jonathan</given><given>Alan</given><family>Borden</family><suffix type="degree">M.D.</suffix>

</person.name>...

Page 25: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

ASTM Opnote: Header (2/3)…<id type="license" authority="MA">12345</id>

<addr type="office"><house.number>750</house.number><street>Washington Street</street><city>Boston</city><state>MA</state><zip>02111</zip><uri type="email">mailto:[email protected]</uri><telephone>617-636-7587</telephone>

</addr><type.code>Attending</type.code><function>Surgeon</function>

</provider>...

Page 26: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

ASTM Opnote: Header (3/3)…

<patient><person.name>

<given>John</given><given type="MI">Q</given><family>Doe</family><suffix>Jr.</suffix>

</person.name><id type="patient.identifier" authority="NEMC">111223344</id><id type="SSN" authority="SSA">111-22-3344</id><birth.date>1955-10-21</birth.date>

</patient><codes>

<coded.value code.system="CPT">63051</coded.value><coded.value code.system="CPT">69990</coded.value><coded.value code.system="ICD9">XXX.21</coded.value>

</codes> </clinical.header>

Page 27: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

ASTM Opnote: Body <clinical.body> <preoperative.diagnosis>Right Frontal Brain Tumor</preoperative.diagnosis> <postoperative.diagnosis>same, probable Astrocytoma</postoperative.diagnosis> <procedure>Right Frontal Craniotomy for Excision of Brain Tumor</procedure> <anesthesia>GETA</anesthesia> <indications><p>The patient presents with severe headaches and blurred vision. An MRI demonstrates a large cystic irregularly shaped mass within the right frontal lobe.</p> </indications> <description> <p>The patient had application of the external fiducial markers and was brought down to the MRI suite where a head MRI was obtained using the frameless stereotactic (3D) protocol. The image set was transferred using the DICOM protocol ... </p> </description> <estimated.blood.loss>100cc</estimated.blood.loss> <patient.condition>Stable, extubated</patient.condition> <disposition>SICU</disposition> </clinical.body></operative.report>

Page 28: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.
Page 29: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.
Page 30: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.
Page 31: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

How it works

Browser

Apache

XSLT

Servlet engine

xml:dbRDF

Page 32: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Form generation

Form.xml

Defaults.xml

Formgen.xsl

XML + XSLT => XHTML

Page 33: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Workflow

Form createdTransform into ASTM XML formatXHTML editing (opnote-edit.xsl)Sign finished productRender as XHTML for viewing,

printingemail to Medical Records and Billing

Page 34: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Workflow

generate

edit

sign

Billing

repository

Page 35: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Document analysis

Like gene sequences, it turns out that …Medical documentation is highly repetitiveWith ‘hot spots’ of unique informationSchema defines template filled with valuesEasily expanded into HTML for human

consumptionEasily analyzed by software

Page 36: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Document analysis

Page 37: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Integrating binary formats

MIME <-> XMTPHL7 V2X12 EDIDICOM

Page 38: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Internet Telemedicine

The OceanMed project, 1998Merchant vessel, e-mail access via

satellite gatewayDigital cameraWeb based physician access

Page 39: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

XMTP

ShipGateway

XMTPMIME -> XML ->

XSLT -> HTML

SMTP

HTML

Page 40: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

XMTP Consult

36 year old male has itchy rash for 6 days

Hydrocortisone cream 1% to affected area t.i.d.|

reply

Page 41: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

How it works

Messages arrive in MIME formatMIME SAX parser ‘converts’ to XML

by SAX eventsXMTP employs XML object model

*not necessarily* serialization format ->

grove processing

Page 42: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

XMTP

From: [email protected] To: [email protected] Content-type: multipart/related; charset=iso-8859-1 --------- startDocument()

startElement(“MIME”) startElement(“From”)

• characters(“[email protected]”) endElement(“From”) startElement(“Content-Type”, attribute(“charset”,”iso-8859-

1”))• characters(“multipart/related”)

endElement(“Content-Type”)

Page 43: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

The XMTP/MIME grove

Content-type: text/plain

From: [email protected]

To: [email protected]

Hi Sue! See you in Boston, Joe

<MIME>

<Content-type>text/plain</Content-Type>

<From>[email protected]</From>

<Body>Hi Sue! See you in Seattle, Joe</Body>

</MIME>

Page 44: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

The HL7 Grove

Non-XML syntax => XML InfosetMSH|PAT|Jones^James^Stephen^3rd|

startElement(“patient”)startElement(“person.name”)

startElement(“family”)characters(“Jones”);

endElement(“family”)…endElement(“person.name”)

endElement(“patient”)

Page 45: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Simple building blocks

XML parsersXSLT transform enginesHTTP clients and servers

Page 46: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

From syntax to semantics

Layer 1: syntax XML defines syntactic constrains on text other specs define syntactic constraints

on binary dataLayer 2: datatypes

integers define mapping from lexical space to value space

“10”base10 -> 10, “10”base2 -> 2

Page 47: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

The shape of informationsyntax -> structure = semantics

“…..TATA…..”

gene

tatasnp

snp

Pattern matching transform

Page 48: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Semantics

Layer 3: hierarchy of classes the set of individuals of a given

datatype or object type define a classOntology: a description of a

collection of classes, their properties and the relationships between them

Page 49: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Healthcare Ontology

Page 50: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

RDF in Healthcare

<rdf:Description about=“…/patient/12345”><lab:HIV>positive</lab:HIV><lab:CD4>100</lab:CD4>

</rdf:Description>

<path:Biopsy about=“…/patient/12345”>

<path:description>The brain demonstrates areas of PML including viral inclusion bodies

</path:description>

</path>

Page 51: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

RDF is...

A standard syntax to represent (edge labeled) directed graphs in XML

Page 52: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

DLG: Semantic Networks

vertebrate

mammal bird

canary ostrich

heartspine

hair

fly

wings

walkdoesn’t fly

yellow

isa isa

isa

has

can

freddie hugo

Page 53: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Semantic Networks

A way to represent natural language circa 1970s

A format for organizing statements in a way that can be queries by computers

Page 54: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Semantic Networks

“Can freddy fly?”“Does hugo have wings?”“Does freddy have a spine?”“Of all the canaries, how many live in

cages?”

Page 55: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

RDF N-triples syntax

Subject predicate object .

ex:Freddy rdf:type ex:Canary .

ex:Canary rdfs:subClassOf ex:Bird .

ex:Freddy ex:color “Yellow” .

Bird

Canary

yellow

isa

Freddie

Page 56: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

RDF/XML syntax

<rdf:Description rdf:ID=“Freddy”>

<rdf:type rdf:resource=“#Canary”/>

<ex:color>Yellow</ex:color>

</rdf:Description>

<rdf:Description rdf:ID=“Canary”>

</rdf:Description>

Page 57: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

RDF/XML syntax: typed

<ex:Canary rdf:ID=“Freddy”>

<ex:color>Yellow</ex:color>

</ex:Canary>

Page 58: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Semantic analysis

“Of all the patient’s I operated on for brain tumors between 1996-2000, matching severity of pathology and matching clinical status and who have the “P53” mutation, did PCV chemotherapy improve the cure rate at five years?”

Page 59: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Web Ontology Language (OWL)

Problem (restated): "Tell me what wines I should buy to serve with each course of the following menu. And, by the way, I don't like Sauterne."

OWL is a language for defining Web ontologies and their associated knowledge bases.

Page 60: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Ontologies

Ontology is a term borrowed from philosophy that refers to the science of describing the kinds of entities in the world and how they are related. In OWL, an ontology is a set of definitions of classes and properties, and constraints on the way those classes and properties can be employed.

Page 61: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

OWL

includes taxonomic relations between classes datatype properties, descriptions of

attributes of elements of classes, object properties, descriptions of relations

between elements of classes,

Datatype properties and object properties are collectively the properties of a class.

Page 62: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Simple Named Classesclass, subClassOf

Root classes: Every individual in the OWL world is a member of owl:Thing.

sample wines domain, we create three root classes: Winery, Region, and ConsumableThing. <owl:Class rdf:ID="Winery"/> <owl:Class rdf:ID="Region"/> <owl:Class rdf:ID="ConsumableThing"/>

Page 63: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Simple Named Classesclass, subClassOf

<owl:Class rdf:ID="PotableLiquid">

<rdfs:subClassOf rdf:resource="#ConsumableThing" />

</owl:Class>

<owl:Class rdf:ID="Wine"> <rdfs:subClassOf rdf:resource="#PotableLiquid"/> <rdfs:label xml:lang="en">wine</rdfs:label>

<rdfs:label xml:lang="fr">vin</rdfs:label> ... </owl:Class>

Page 64: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Defining individuals

<Region rdf:ID="CentralCoastRegion" />

is identical to

<owl:Thing rdf:ID="CentralCoastRegion" /> <owl:Thing rdf:about="#CentralCoastRegion"> <rdf:type rdf:resource="#Region"/> </owl:Thing>

Page 65: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Grapes

<owl:Class rdf:ID="Grape” />

<owl:Class rdf:ID="WineGrape">

<rdfs:subClassOf rdf:resource="#Grape"/> </owl:Class>

<WineGrape rdf:ID="CabernetSauvignonGrape" />

Page 66: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Simple properties

Object Properties

<owl:ObjectProperty rdf:ID="madeFromGrape"> <rdfs:domain rdf:resource="#Wine"/> <rdfs:range rdf:resource="#WineGrape"/> </owl:ObjectProperty>

Page 67: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Property hierarchy

<owl:ObjectProperty rdf:ID="WineDescriptor" />

<owl:Class rdf:ID="WineColor"> <rdfs:subClassOf rdf:resource="#WineDescriptor" /> ...</owl:Class>

<owl:ObjectProperty rdf:ID="hasWineDescriptor"> <rdfs:domain rdf:resource="#Wine" /> <rdfs:range rdf:resource="#WineDescriptor" /></owl:ObjectProperty>

<owl:ObjectProperty rdf:ID="hasColor"> <rdfs:subPropertyOf rdf:resource="#hasWineDescriptor" /> <rdfs:range rdf:resource="#WineColor" /></owl:ObjectProperty>

Page 68: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Domain and range

<owl:ObjectProperty rdf:ID="locatedIn">

...

<rdfs:domain rdf:resource="http://www.w3.org/2002/07/owl#Thing" />

<rdfs:range rdf:resource="#Region" />

</owl:ObjectProperty>

Page 69: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Restrictions

<owl:Class rdf:ID="Wine"> <rdfs:subClassOf rdf:resource="#PotableLiquid"/> <rdfs:subClassOf>

<owl:Restriction> <owl:onProperty rdf:resource="#madeFromGrape"/> <owl:minCardinality>1</owl:minCardinality>

</owl:Restriction></rdfs:subClassOf> <rdfs:subClassOf>

<owl:Restriction> <owl:onProperty rdf:resource="#locatedIn"/> <owl:minCardinality>1</owl:minCardinality></owl:Restriction>

</rdfs:subClassOf> ... </owl:Class>

Page 70: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Vintages

<owl:Class rdf:ID="Vintage"> <rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/> <rdfs:subClassOf> <owl:Restriction> <owl:onProperty rdf:resource="#vintageOf"/> <owl:minCardinality>1</owl:minCardinality> </owl:Restriction> </rdfs:subClassOf></owl:Class>

<owl:ObjectProperty rdf:ID="vintageOf"> <rdfs:domain rdf:resource="#Vintage" /> <rdfs:range rdf:resource="#Wine" /></owl:ObjectProperty>

Page 71: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Datatype properties

<owl:Class rdf:ID="WineYear" />

<owl:DataTypeProperty rdf:ID="yearValue">

<rdfs:domain rdf:resource="#WineYear" />

<rdfs:range rdf:resource="&dt;wineYear"/> </owl:DataTypeProperty>

dt;wineYear ::= integer > 1700

Page 72: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Properties of individuals

<CaliforniaRegion rdf:ID="SantaCruzMountainsRegion" />

<Winery rdf:ID="SantaCruzMountainVineyard" />

<CabernetSauvignon rdf:ID="SantaCruzMountainVineyardCabernetSauvignon" >

<locatedIn rdf:resource="#SantaCruzMountainsRegion"/>

<hasMaker rdf:resource="#SantaCruzMountainVineyard" />

</CabernetSauvignon>

Page 73: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Ontology mapping

sameClassAssameIndividualAssamePropertyAs<owl:Class rdf:ID="TexasThings">

<owl:sameClassAs> <owl:Restriction>

<owl:onProperty rdf:resource="#locatedIn" /> <owl:allValuesFrom rdf:resource="#TexasRegion" />

</owl:Restriction> </owl:sameClassAs>

</owl:Class>

Page 74: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Complex constructs

Description Logic unionOf intersectionOf complementOf oneOf disjointWith

Page 75: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Healthcare DL ontologies

OpenGALEN http://www.opengalen.org Open terminology French Ministry of Health CCAM

SNOMED http://www.snomed.org Closed DL terminology

Page 76: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Simplified Healthcare Ontology

<owl:Class rdf:ID=“Provider”>

<rdfs:subClassOf rdf:resource=“#Person”/>

</owl:Class>

Page 77: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Simplified Healthcare Ontology

Page 78: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Healthcare Ontology

Page 79: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Putting it all together

Biomedical information has many vocabularies - each in its own namespace

genetics “Bio ML”pathology “SNOMED”surgery “CPT”medicine “ICD”radiology “DICOM”

Page 80: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Putting it all together

Electronic medical record

genesdiagnoses

drugs

procedures

Page 81: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

genetics

MRIPath-specimen

personGene:p53

Left temporal tumorSNOMED:

glioblastoma

OWL across schemas

Page 82: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Assimilating disparate information

glioblastoma

p53.1

...Ring enhancing

enhancing astrocytoma p53

Page 83: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

UMLS next generation

Ontologies exposed as OWL on webCross references exposed as OWL on

web

Enables searching for and reasoning about terms relating to eachother

Enables searching for and reasoning about terms from multiple terminologies

Page 84: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Semantic analysis

repository

instance

Class

Class

Property

domain

type

subClass

Class

type

Page 85: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Queries: several views

Regular expression pattern matchingQuery as universal/existential

quantification (FOPL)Query as DL classification

Page 86: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

First Order Predicate Logic

(for-all ?pat (exists ?surgeon (last-name ?surgeon “Borden”))

(exists ?procedure (craniotomy ?procedure)(patient ?procedure ?pat)(surgeon ?procedure ?surgeon)(between (date ?procedure)

“1996” “2000”)(sequence ?procedure “p53”)

...

Page 87: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Future directions

The technology is here …ASTM E31.28 http://www.astm.orgDefine schemas and ontologiesStandardize data formatsCollect datajust do it!

[email protected]

Page 88: XML in Healthcare and the Semantic Web Jonathan Borden, M.D. Center for Brain and Cranial Diseases St. Vincent Health System, Erie PA Invited Expert, W3C.

Contact Information

Jonathan Borden, M.D.Center for Brain and Cranial DiseasesSt. Vincent Health System311 W. 24th StreetErie, PA, 16505

www.openhealth.org/ASTMwww.openhealth.org/opnote (demo)www.w3.org/2001/sw/WebOntwww.jonathanborden-md.com

[email protected]