to implement re-usable schema repository luc mouchot france cnam-ts (french national institution for...
TRANSCRIPT
To implement re-usable To implement re-usable schema repository schema repository
Luc MOUCHOTLuc MOUCHOTFRANCEFRANCECNAM-TS (French national institution for healthcare)CNAM-TS (French national institution for healthcare)
EWG-BARCELONAEWG-BARCELONA18-24 mars 200218-24 mars 2002
Design method of repositoryDesign method of repository
Two-step procedure :Two-step procedure :
Modelling and Derivation of modelModelling and Derivation of model
XML Schema repositoryXML Schema repository
Design method of repository :Design method of repository :processing modelsprocessing models
To know domain :- DIM
- Existing EDI Message - Nil
H-GMDHierarchical
General Message Description
GMDGeneral Message Description
(Oriented-Object)
P-GMD Physical
General Message Description
Background:types defined in UML
Syntax and Data Directory independent
New background:Types defined in Data Directory
The use of :- Syntax
- Data Directory
Syntax and Data Directory dependent
For example :- XML
- ISO 7372
Techniques to make a hierarchy :Techniques to make a hierarchy :
H-GMD (syntax independant) from GMDH-GMD (syntax independant) from GMD
Then must be interpreted according a given syntax and data directory :Then must be interpreted according a given syntax and data directory :
P-GMD (syntax and data directory independant) from H-GMDP-GMD (syntax and data directory independant) from H-GMD
To replace UML types by ISO 7372 types, international businessTo replace UML types by ISO 7372 types, international business data. data.
Design method of repository :Design method of repository :Model DerivationModel Derivation
The process create 2 new models UML : H-GMD + P-GMDThe process create 2 new models UML : H-GMD + P-GMD
H-GMD ’s Element
Simple types
Primitive UML Types :Integer
RealStringDateTime
DurationDateTime
Design method of repository :Design method of repository :H-GMD ’s Element and types UMLH-GMD ’s Element and types UML
H-GMD
Exchanged data model
Classes
Objects
Complex types
Types defining complexTypestéréotype UML : <<structure>>
Enumered types
Types defining enumerationsstereotype UML : <<enumeration>>
Boolean + user enumeration+enumeration itself
P-GMD ’ Element
Design method of repository : Design method of repository : P-GMD ’s Element and types ISO 7372P-GMD ’s Element and types ISO 7372
Enumered types Enumered types ISO 7372
Basic types ISO 7372Simple types
Types defining Complex TypeComplex Types
Exchanged data modelP-GMD
ObjectsClasses
Business Components including several objectsPackages
REPOSITORY
P-GMD ’s Element
Complex Types
Classes
Package
Model
Simple ISO
Enumered ISO
?
Design method of repository :Design method of repository :translation into XML Schematranslation into XML Schema
Business Componentschema
P-GMD schema
Complex typesschema
Classes schema
XML Types
Simple typesschema
Enumerated typesschema
A SCHEMA
BYP-GMD
ELEMENT
CC
CC
CC
Re-usable schema repository Re-usable schema repository
Schema repositorySchema repository It is an organisation of XML schemas that describes ISO It is an organisation of XML schemas that describes ISO 7372 compliant and re-usable object7372 compliant and re-usable object
Re-usable schema repositoryRe-usable schema repository Re-usable ? Why ?Re-usable ? Why ?
CloningCloning
A repository can be copied, moved, or duplicated in other A repository can be copied, moved, or duplicated in other locationlocation
Self useSelf use
The schema can be used in definition of other The schema can be used in definition of other schema in the same repositoryschema in the same repository
NeutralityNeutrality
The repository schemas are neutral in terms of The repository schemas are neutral in terms of namespacesnamespaces PublicationPublication
One can publish the whole, or a part of the repository One can publish the whole, or a part of the repository schema, through one or several namespaceschema, through one or several namespace
Application
Outside Word
Application
Application
Application
Application
Information SystemSemantic space
ProxyXML
Schemas
NAME
SPACE
Neutrality - Publication Neutrality - Publication
NeutralXML
Schemas
REPOSITORY
ProxyXML
Schemas
NAMESPACE
CloningCloning
Information SystemSémantic Space
proxyXML
Schemas
NAMESPACE
NeutralXML
Schemas
ENTREPOT
E
E
E
NS
NS
NS
clones
Méthode de conception de l ’entrepôt :Méthode de conception de l ’entrepôt :Set of rulesSet of rules
Derivation Rules for the hierarchical translation (from GMD to H-GMD):Derivation Rules for the hierarchical translation (from GMD to H-GMD):
- - Root selectionRoot selection- - Inheritance reductionInheritance reduction- - Reduction of loopReduction of loop- - Cardinalities reduction Cardinalities reduction
Application Rules of types ISO 7372 (from H-GMD to P-GMD)Application Rules of types ISO 7372 (from H-GMD to P-GMD)
XML Schema Design Rules (From P-GMD to Repository):XML Schema Design Rules (From P-GMD to Repository):
- To translate from P-GMD classes into XML Schema- To translate from P-GMD classes into XML Schema- To translate from P-GMD packages into XML Schema- To translate from P-GMD packages into XML Schema- To translate from P-GMD association into XML Schema- To translate from P-GMD association into XML Schema- To translate from P-GMD inheritance into XML Schema- To translate from P-GMD inheritance into XML Schema- etc.- etc.
XML schema Repository, specification V4.2XML schema Repository, specification V4.2On line www.edisante.orgOn line www.edisante.org