Difference between revisions of "Model Interchange Format"
Rene spronk (talk | contribs) |
Rene spronk (talk | contribs) |
||
Line 10: | Line 10: | ||
*The released coremifs and (annotated) schema's can be found at [http://gforge.hl7.org/gf/project/design-repos/frs/?action=FrsReleaseBrowse&frs_package_id=103] and at [http://gforge.hl7.org/gf/project/mif-schemas/frs/?action=FrsReleaseBrowse&frs_package_id=14]. | *The released coremifs and (annotated) schema's can be found at [http://gforge.hl7.org/gf/project/design-repos/frs/?action=FrsReleaseBrowse&frs_package_id=103] and at [http://gforge.hl7.org/gf/project/mif-schemas/frs/?action=FrsReleaseBrowse&frs_package_id=14]. | ||
*See also [[:Category:V3 Methodology Requirements]], which acts as additional documentation of the MIF format. | *See also [[:Category:V3 Methodology Requirements]], which acts as additional documentation of the MIF format. | ||
+ | |||
+ | ==Programatic rules in MIF== | ||
+ | *See [[OCL]]. | ||
+ | |||
+ | Example: | ||
+ | <pre> | ||
+ | <mif:annotations> | ||
+ | <mif:appInfo> | ||
+ | <mif:formalConstraint> | ||
+ | <mif:body>Some OCL goes here</mif:body> | ||
+ | <mif:text> | ||
+ | <mif:p>Textual expression goes here</mif:p> | ||
+ | </mif:text> | ||
+ | </mif:formalConstraint> | ||
+ | </mif:appInfo> | ||
+ | </mif:annotations> | ||
+ | </pre> |
Revision as of 06:15, 19 November 2009
Glossary definition: The Model Interchange Format (MIF) is a set of XML formats used to support the storage and exchange of HL7 version 3 artefacts as part of the HL7 Development Framework (HDF). It is the pre-publication format of HL7 v3 artefacts used by tooling. The formats are defined by a set inter-related schemas. The MIF serves to document the HL7 metamodel, identifying all data elements of interest to version 3, as well as indicating correspondance to the UML meta-model.
The MIF makes use of schema constructs including simple type patterns, the use of choice and sequence structures as well as cardinality and attribute use to reflect HL7 requirements as tightly as possible. In some cases, w3c schema is not capable of expressing the rules required by HL7. In these cases, the rules are either encoded as embedded Schematron rules or by listing them as “programmatic” rules at the beginning of the schema. Instances must comply with the Schema, Schematron and programmatic rules to be considered HL7-compliant instances.
The definition of the MIF is a task of the Tooling Work Group. The MIF files are contained in the v3 publications. Comments can be submitted to the HL7 Tooling list or Lloyd McKenzie.
External links
- See MIF Whitepaper (with embedded Video explanation of the MIF).
- See MIF to UML mapping issues
- The released coremifs and (annotated) schema's can be found at [1] and at [2].
- See also Category:V3 Methodology Requirements, which acts as additional documentation of the MIF format.
Programatic rules in MIF
- See OCL.
Example:
<mif:annotations> <mif:appInfo> <mif:formalConstraint> <mif:body>Some OCL goes here</mif:body> <mif:text> <mif:p>Textual expression goes here</mif:p> </mif:text> </mif:formalConstraint> </mif:appInfo> </mif:annotations>