80 likes | 207 Views
What Are Mappings?. A set of Mappings is a precise statement of the equivalence between two data structures or class models. A set of Semantic Mappings is a precise statement of how a data structure conveys the information in a class model. Data structure = XML, RDBMS.
E N D
What Are Mappings? A set of Mappings is a precise statement of the equivalence between two data structures or class models A set of Semantic Mappings is a precise statement of how a data structure conveys the information in a class model Data structure = XML, RDBMS
Types of Mapping S2S Structure 1 Structure 2 S2M ITS 1 ITS 2 Class Model 1 Class Model 2 M2M
Mappings are the Only Basis for Interoperability • Before you write software to interface between two data structures or models, you must understand the equivalence between them. • That is the specification of the interface software (and the basis for testing it) • So write it down.
What do Semantic Mappings Look Like? They say: This node (XPath, field) in the an instance of the data structure represents this feature (object, property, link) in an instance of the class model.
Demo 1: Making V2-V3 Mappings See Notes page for this slide.
Demo 2: Running a Translation Test See Notes page for this slide.
The Use Case for V2-V3 Mapping V2 V3 XML Homebrew 1 V2 – V3 Mapping V3 ITS Mappings V3 RMIM System interfaces can use their own homebrew XML, and then inter-operate freely with both V2 and V3.
Summary • Mappings are the essential basis for interoperability • They should be written down • You could do this with Excel • Or you can use a tool which: • Captures the models and structures you are mapping between (so makes mapping easy) • Validates the mappings • Generates and runs translations from the mappings • Does automated self-test of the translations and mappings • Download the tool from the HL7 Homebase:http://hl7projects.hl7.nscee.edu/ • Send feedback to robert.worden@charteris.com