Академический Документы
Профессиональный Документы
Культура Документы
Charlie Mead, MD, MSc Director, Healthcare Information Architecture Oracle Healthcar e
Outline
T he Problem vs The Solution Syntax, Semantics, and the Semiotic T riangle T he Communication Pyramid What is a Model and what is a Modeling Language? Principles and Pitfalls of Modeling What is UML?? What is UML good for? Static structure vs Dynamic behavior in UML Static Structure: Syntax and Semantics of UML Class Diagrams Dynamic Behavior: Syntax and Semantics of UML Activity Diagrams Examples Clinical Genomics (Static Structure, Dynamic Behavior) Privileging/Credentialing (Static Structure) HL7 Reference Information Model (RIM) Backbone classes) Summary
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0 Sl i d e - 2
Page 1
1
Syntax vs Semantics
T ime flies like an arrow Fruit flies like a banana T he dog eats red meat T he dog runs blue boats Administer medication for pain Administer pain medication Syntax structure Semantics meaning
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 5
Symbol Shark
Delicious w ith caber net.
Thing
Concept
A predator. A mem ber of the genus .. ..
Page 2
2
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 7
Abstraction
Pr o Sp ble ac m en ta tio e
n-I nd ep en de nt
Im m ple
ta en
Im
ple m
` Free-text Documents
Discussi ons
Communication
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 8
What is a Model?
A representation of whats important Emphasizes concepts and relationships Hides unnecessary details Focuses on elucidating structure and/or function syntax semantics collaborations A human-friendly picture of complexity Encourages encapsulation Supports extensibility Facilitates layering Enables cognitive chunking 7 +- 2 concepts in hand
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 9
Page 3
3
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 1 0
Why Model?
Models help define the scope of a problem and/or solution Models represent an important vehicle for reaching consensus about the architecture (structure and function) of a Problem and/or a Solution A given model of a Problem can profoundly affect the nature of the Solutions proposed and developed to solve the Problem Seeing the Problem modeled Imagining the possible Solutions
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 1 1
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 1 2
Page 4
4
Principles of Modeling
The choice of what models to create has a profound influence on how a Problem is appr oached and thus how a Sol ution is shaped.
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 1 3
Principles of Modeling
Every model should be expressible at varyi ng levels of precision/granularity.
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 1 4
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 1 5
Page 5
5
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 1 6
UML is.
A well-defined (mostly) visual language for describing the structure and/or function of complex systems. A language supporting well-formed models T he UML is a language that facilitates. .visualizing complex ity .specifying relationships and interactions .guiding the construction of the modeled system .documenting the decisions made about the modeled system T he de facto modeling language standard managed, maintained, and evolved by the Object Management Group (omg.org) 10-15 years in develop Convergence of multiple perspectives and agendas
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 1 8
Page 6
6
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 1 9
Activity Diagram D ynamic Behavior Grounded in real-world stor yboards Glossar y NOT an UML diagram NOT fun ( or eas y) to devel op ESSENTIAL FOR SUCCESS
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 2 1
Page 7
7
UML Classes
Description/T emplate for set of things that share the same Attributes Methods/Operations/Behavior/Responsibilities Relationships syntactic semantic Named with noun phrase Classes encapsulate data (attributes) and the functions that operate on those data Cohesion == expert Classes v Instances (Objects) s T he essence of structure is the relationship between concepts
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0 Sl i d e - 2 2
Name
Attributes
Operations
Relationships
Structure is built by connectingclasses (concepts) using syntactic and semantic relationships Inheritance Parent/Childsemantics Aggregation/Composition Whole/Part semantics use general associations for now Vanilla associations Syntax Semantic Q ualifiers
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 2 3
Relationships: Aggregation/Composition
Co mpa ny
TaxID# Name CEO KnowProfit()
KnowProductLine ()
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 2 4
Page 8
8
Inheritance
Semantic link us ed to represent generalization / specializati on Child inherits from Parent
is-a, is-a-kind-of
is-a-kind of
POperations COperations
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 2 5
Relationships: Association
Unnamed syntactic link between two Concepts Real meaning is established through the further elaboration of the meaning of the association using one or more semantic qualifiers
has an association with
Co mpa ny
TaxID# Name TypeOfBusiness KnowProfit() KnowSchedule() SS# PayRate
Emp loye e
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 2 6
Person
1..*
Organization
employee employee
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 2 7
Page 9
9
agrees to
Pers on
Con trac t
1 1..* employer
0..*
1 employee
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 2 8
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 2 9
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 3 0
Page 10
10
Activity Diagrams
Flow charts on steroids Work flow Protocols Icons
Responsible Entity (Actor) Responsibility Partition (Swim Lane) Start/Entry point (1 per AD) End/Exit point (1-to-many per AD) Activity (verb phrase) T ransitions (directed arrow) Decision point Guard (Boolean condition) Parallelism (fork) Synchronization (join) Object/Datagram Signal (Sent vs Received)
Sl i d e - 3 1
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 3 2
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 3 3
Page 11
11
[ R s k t r es ho d N O T ex ce ed ed ] i h l [ R s k Th r es ho d E x cee de d] i l
N ot i f y Pt r e B R C A t es t
E xp a n t st l i e U nd er s t nd t st a e [ Q ue st i on s] [ N o qu es t o ns ] i [ C on se nt ] O r de r BR C A t est [ N o co ns en t ]
T est E xp a na t o n l i
C on se nt O r de r BR C A t est C on f r m s am p e s r ec ei ve d i l B o od D r w I f or m a t o n l a n i O b t n bl oo d sa m p e s a i l P er f or m t e st
U nd er s t nd r esu l t a s E xp a n r su t s l i e l [ Q ue st i on s]
S am pl es r e cvd con f r m a t o n i i S en d r es ul t s
[ N o qu es t o ns ] i E xp a n car e pl an s l i [ Q ue st i on s] [ N o qu es t o ns ] i C ho os e ca r e p a n l
B R C A R e sul t s
U nd er s t nd ca r pl an s a e
D oc um en t ca r e p a n l
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 3 4
P at i en t
0 . * I s a p at i e nt of P at i en t H i t o r y s
1 .1
0 .*
O r d er 0 .* L ab R s ul t e * I s c ol l ec t ed f ro m * - t yp e : < un sp ec f i ed > = B R C A Te st i - va u e l
1 .1
1 .1 T s su e i - t yp e : < un sp ec f i ed > = B l oo d S am pl e i 1 .1 u t l i ze s i
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 3 5
Participation
M gdpr t i t n n aae_ai pi o c a da_T>S<S> i : EcI ETC t usd st S<:
t l o_cC c cssc: SA a m _d: S _ t n d dT> i : EdI C S< ssu_r _ co i or f e a_uc yer deSosi hsor t p_cr l i Lp e vA C B ct : a h a dgD n : L hs c: C i dB _n ao 1 . . neet ed: d: C 0ni qsi cnocTS ont nor _I cuxoi t l N n 1 net c: ETC x: Ed t t i n_S<S> eot cbr N si i __b: t t D t mG sace_e: TS pr ent : T ry : r n ef uyt eG e_ m f svi S s_ I act _i : T ii ti t v s_r t r i t g_ aef o a_gt cukqn_: C hsr epae_yPQ t a hecoi c S p td avi ydSE<S at i yt m T a : llii 1 . . pt cdC 0nsi _dC l_ pr i ba_T: SE od_t t e : r et ogt : i d: L j nc: SSB ia _ oi i ni i cC T<E> cpat cl _dE>C nf _r yLI T> nei nncdC e l eV r t upbI d N b o uoo cnj t i _ : S ncn nnt ni : n<B i ext c_i : L oer ndni : L cept l ki : B nsecot ndE i ao_d_nC de_e_TdB L ega _SEE r nngedC > r nt __nef ogasnot o i ei c x_ a l u c: : < .. 1* Fi ni l c a a nca_t A hi neat M cer t m : O _ t _ .. 0* i A ct et _nxf copxdct t o _ nvs t r oeoe_r ee_dC l vl c: E
i n_ c adi sLi _sbj t : E m t r vgu ed bi esdi gndec C h_i t e t t mv B _ r ni ai e r : deesdt eTS c eTS d n deae_i : L cae_m : m i e_t i d: L l er ut l i h_n bi pdbr nI B h o t r or n_n_i : B a_r onb: N godr _r dTL
Enyhi it t _er
Entity
obi _m poy j _ceEEm ee bd C l o_c: _: T j _t l ndSE oal sccC E j l r _p_dC ba : aayyy: : sl yt eM a r qt oO E szaepsr _x D har _xeuet : t : _ pr dt eqi m _xED t cv u n oei _ p et
R _i r ohe e l Pant i te onf m aceC cyi ni l _dsE_: E d oi tt y e i eant : n vr _pr t _pr ocdC
Role
Pan_ncnt i t ur t ee o e act _vl deE: E usl e_uC C i : adysosr _cB m encend bi i n_oc_d: L h_g s s t aoei ot r ei _t r i n di hcua_i oPd c st _f nqt egaosdpyi _cC l nhr _t yi : Q : E pr r l st t n: L _ tu e_a_i si d B r edcuesd: E > e m r _e C pcnyc: esc: T<E sf i l ot ec_dSEC e oc_ ur a_sdsED e g rC al bedeEo_e : vl c_sl ai dscED aual _ct : vube_ocn al R ra e l f aur i d_i sy: EA h e i sq L t oz vt _t R
Sul py p c O r t on sv qt PQ e_i eI LT> m hcci _eEeC > vl r eN beai C y: e_ : t d : o<C er __Pr dur SE > exct ust m V<S aposdcTdSE>D aupA ncdSE<E ped neot Y: _<ET t e: t o apai ee: S<C t r ohst cETT< i r hscc: : C >> gt _d : D _ t e m t _aSETT> di at ai edr : D t e_t depE<C gvo_ S deei _x ST i n r t t enr _D egqyi y te PQ : rn i nr W kel t : E ehoi g_s _e _ i c aboyr eqt : cr hdat _yPQ ow spl vl dC
Clinical Acts
s n n i st o ot Su_nea: Tt D r pochi _dSEC > uebt c_dm r ai _da C ap_qsEcQ < a: I do_c: t PQ er y: e< asqt VVy: T> r t _cI _P>><R e yeL dods_t : E< TO e s t L< m _yeqySTR > x ok a hcqt SET pon_qydC O uect i cQ st t ut : P E si o_: b n
ad: A <D Pes dr B A r o G> n m i l t t _ddEE r as sl : aa_nuc_C edt t al ec_dC ucoye u : am i __t E: C bi ocv s a di l t agaecdE a t : sui r se l i i _r _dC _cC l l bar nm _c: E v y io egi s l t i r nga i ant dnE pi o_am odoC scal _f m ni : c e u d aei _SEC aT_ESETE> r c_dcocEEt C : <C et cgoTd>S< > ni : p hc u_<: r
n f co aooN Pr sl v_sbEt t xdcoces_t gcuec nm _aoni n_ j _ c iC br i t t l si ai nd: C t r nx: E : se_d: t c C ad t D E ge__i i dB n as eunr s__dLE ha au t easn :
m f at e_ol nm onar uem osa: d C sal r _r cdr _t t c: E w enm n t _cr _: t e_ ST f u ot or _el dST _ l et vec: E l e a m C c al cl _t ot e: S at abr onm l sl i ai _i T _ e mn d i I i g oay pi l i r oag_m l t dC pel pet _ei yPQ sxi l di yr t nhpc: E c_nnuql : osi _ a t s ta pi a_el i nqQ e g_o P x_asnt y_t : i 0*
nt ai ct C i n cpai _oaer t heet _yPQ g yqyPQ q: di t eqPQ m _t : ahr yt : apt ec: _EC cp_p_dC : E eaydt _e: sr e__at y aor y d p bar t l _qcPQ boi r l aqyPQ t o_et t : m et d M saeC r o s e g ot l n C m canuct n o ui t of ni mn i o
apocA edC st sScdebl r sr e p_h_cs : r _e o zhel eeeoc nut u i can_t : Q auassccC t r e_yi _D D l _i e_r m _qyP ggi t t : e td gat qePQ :
v: I S pam evei _akN a t _al eLT< > r er D ct sA Y ue Pui het _s c h l ubeD nacm eE t t obet d_cC sj ct i ot i i dC deci m _al : ae ogesi _g _ant _ca: i o r n _ d r em i phdcd: t aaes_m ccEE nsnonode E di si i oo__: C e s e s _m t d C r
A ot cun nm cc: C ST : uer yr et R <, Q cr et _dq: TO O > noe_aac_t M O i l ndbl neq: VLM te t E al s_a_y y I <P> w
Fi t m dat a c nc _ a a_ns n t pam nr l c: c cet ecnni l r qci A yen_i sor E r d_xFi c_aaat oL t ea_nt C i haer t ey E g _ R der ecnq_a_t : EA i ne_xhet : eO R i bt t r ner t qy: L t e_a_y T t s t ag R
nvi _l e I oceem t n m _r _: E d o : unqyeat R <O Q ti td C i f ec : un_nPQ LTM , > t _b : E r ai ocr R f cpi _m O P t snb: A por er R _ C nt A oi a_sucLd: cer g_oEecLE v r noysj c_d: i f en t _ubt i B
5 44 192 7 39
Pr im ar y Subject Ar eas Classes Attr ibut es Associa tio ns Gener aliza tio ns
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 3 6
Page 12
12
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 3 7
Healthcare Transactions
I need a Chest X-ray for Mr. Smith
Report Result
Interpre t Study
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 3 8
Summ ary
Healthcare domain knowledge is an instance of a complex system Complex, inter-related concepts (static structure) Complex, inter-related behavior (partitioning of responsibilities) Sy stems built to support healthcare will therefore be complex Experience in multiple disciplines has shown that the most efficient way to communicate, encapsulate, and manage complex systems is to represent them using a visual modeling language T he UML is the de facto visual modeling language in the world of software engineering Application to non-software sy stems as well Every practicing Informaticist should at a minimum -- have a reading knowledge of UML Class and Activ Diagrams (and be able to author ity the associated G lossary)
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 3 9
Page 13
13
References
www.omg.org The cor e UML site www.ectoset.com Affordable (<$100) UML modeling tool www.rational.c om White papers on tools and the use of the UML in building real-world s ystems
UM L i n Au s tra l a , Se p t/Oc t. 2 0 3 i 0
Sl i d e - 4 0
Page 14
14