7. 3. Version control of modules
and namespace declaration
The version of a module is specified
in the numbers at the end of a namespace declaration.
For example, if the namespace declaration
of test history information is
xmlns:mmlLb="http://www.medxml.net/MML/ContentModule/test/1.0"
, the version of this test history
information module is 1.0
In MML, the document data format
is divided into parts as modules. So, one MML instance can be generated by
combining multiple modules, the creation dates and creators of which may be
different. Therefore, it is necessary to control not only the entire format
version of an MML instance but also the versions of modules used in the instance.
The rules of the version of an entire
instance as a CDA document, which is the levelone instance, comply with those
of the HL7 CDA.
The chart below shows the summary
of the modules and namespace declaration used in MML Version 3.0.
|
Structure module of MmlHeader
and docInfo
|
xmlns:mml =" http://www.medxml.net/MML "
|
|
Patient information module
|
xmlns:mmlPi ="http://www.medxml.net/MML/ContentModule/PatientInfo/1.0"
|
|
Health insurance module
|
xmlns:mmlHi ="http://www.medxml.net/MML/ContentModule/HealthInsurance/1.1"
|
|
Diagnosis record information
module
|
xmlns:mmlRd ="http://www.medxml.net/MML/ContentModule/RegisteredDiagnosis/1.0"
|
|
Lifestyle information
module
|
xmlns:mmlLs ="http://www.medxml.net/MML/ContentModule/Lifestyle/1.0"
|
|
Basic clinical information
module
|
xmlns:mmlBc ="http://www.medxml.net/MML/ContentModule/BaseClinic/1.0"
|
|
Initial-consultation
specific information module
|
xmlns:mmlFcl ="http://www.medxml.net/MML/ContentModule/FirstClinic/1.0"
|
|
Progress course information
module
|
xmlns:mmlPc ="http://www.medxml.net/MML/ContentModule/ProgressCourse/1.0"
|
|
Surgery record information
module
|
xmlns:mmlSg ="http://www.medxml.net/MML/ContentModule/Surgery/1.0"
|
|
Clinical summary information
module
|
xmlns:mmlSm ="http://www.medxml.net/MML/ContentModule/Summary/1.0"
|
|
Test history information
module
|
xmlns:mmlLb="http://www.medxml.net/MML/ContentModule/test/1.0"
|
|
Report information module
|
xmlns:mmlRp="http://www.medxml.net/MML/ContentModule/report/1.0"
|
|
Referral module
|
xmlns:mmlRe="http://www.medxml.net/MML/ContentModule/Referral/1.0"
|
This document explains the MML specification
assuming that readers have a general knowledge of XML. Refer to the reference
documents [5, 6, 7] for details of XML.