Module version control and namespaces declaration

 

 

The module version is expressed as an integer at the end of the namespaces declaration. For example, if the namespaces declaration for test history information is

xmlns:mmlLb="http://www.medxml.net/MML/ContentModule/test/1.0"

the version of this test history information is 1.0.

With MML, a document’s data format is created in component form and treated as a module. For this reason, it is possible for a single MML instance to be generated by combining multiple modules having different creation dates and creators. Thus, it is necessary to control not only the overall format version of the MML instance but the version of the module being used.

The namespaces declaration that is applied to the overall instance becomes an attribute of the MML root tag (MML basic structure 1. Mml). When a single MML instance includes modules of the same type yet of a different version, the namespaces declaration of the modules will be an attribute of the root tag of each of the modules.

With MML version 2.3, it became possible to write the module version (moduleVersion) as a document header attribute, making it possible to know the version of the module being used by the module item (MML basic structure 1.2.1. MmlModuleItem) simply by referring to the document header (1.2.1.1. docInfo). When a single MML instance includes modules of the same type yet of a different version, the module version must be set up in the respective document headers.

The following table summarizes the modules and namespaces declarations that are entered in the MML Version 2.3 standard.

Patient information module

xmlns:mmlPi ="http://www.medxml.net/MML/ContentModule/PatientInfo/1.0"

Health insurance information module

xmlns:mmlHi ="http://www.medxml.net/MML/ContentModule/HealthInsurance/1.1"

Diagnosis 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 clinic 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"