This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "V3 PubProcess - Generate MIF and Related Content"

From HL7Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
This sub-step  has no automated task.  It involves establishing the "configuration" parameters for the V3 Generator in '''''InputFiles/configuration.ext'''''.  This file is more or less self-documenting.  For the purposes of the combined Pub-Gen tool suite, the default properties are just fine, except that '''"publicationId"''' should be set to something like "Ballot2010Sep".  
 
This sub-step  has no automated task.  It involves establishing the "configuration" parameters for the V3 Generator in '''''InputFiles/configuration.ext'''''.  This file is more or less self-documenting.  For the purposes of the combined Pub-Gen tool suite, the default properties are just fine, except that '''"publicationId"''' should be set to something like "Ballot2010Sep".  
 
===04.20...Generate All MIF2===
 
===04.20...Generate All MIF2===
This process starts "from scratch" and builds MIF2 files for all common files (coremif), static models (in HMD or Visio XML form) and dynamic models (pubDb xml) that have been placed in the Generator. Preparation for this process may include:
+
This process starts "from scratch" and builds MIF2 files for all common files (coremif), static models (in HMD or Visio XML form) and dynamic models (pubDb xml) that have been placed in the Generator.  
* Introduction of new cmetInfoExport.txt, RIM.xml, Vocabulary.MIF and DEFN=VO=...coremif into the Generator/InputFiles/CommonSourceFiles. (This is, as yet, a manual process.)
+
{{:V3_PubProcess_Generator_Preparation}}
* Resetting the Generator temporary and output files (see [[V3_PubProcess_-_Establish_Environment#00.3x...Reset Generator Environment and Clear Selected generator Input|process '''00.30...RESET Generator Environment''']] above.
 
* Clearing the generator InputFiles/DynamicModelFiles and /VisioModelXmlFiles (see [[V3_PubProcess_-_Establish_Environment#00.3x...Reset Generator Environment and Clear Selected generator Input|process '''00.40...CLEAR Selected Generator InputFiles''']] above.)
 
* Creating new generator dynamic model input from PubDbs (see [[V3_PubProcess_-_Prepare_Source_Files|process '''02.10...PUBDB Extract''']] above.)
 
* Updating InputFiles/DynamicModelFiles and /VisioModelXmlFiles from input sources (see [[V3_PubProcess_-_Prepare_Source_Files|process '''02.40...POSITION Domain Source - XML and Visio''']] above.) 
 
 
 
 
'''NOTE: ''' This process is part of '''04.30...Generate All MIF and Schemas''' (below).  If your intent is to  generate schemas, use that process instead.
 
'''NOTE: ''' This process is part of '''04.30...Generate All MIF and Schemas''' (below).  If your intent is to  generate schemas, use that process instead.
  
 +
:'''Defined Processes''' (Eclipse '''''Target''''' or '''''BAT''''' file):
 +
:*'''''04.20...Generate All MIF2''''' Runs Generator up to Schema Generation point, (see 04.30 for full generator run.
 +
===04.30...Generate Schemas===
 +
This process will '''first build MIF2 files''' if they have not already been generated, and then create static model and interaction schemas from them.  Thjis is equivalent to a "full run" of the generator.  Therefore, it is not necessary to run '''''04.20...Generate All MIF2''''' before this is run.
  
04.30...Generate All MIF and Schemas ="FULL Generator run - All MIFs and Schemas"
+
Generator preparation
 
+
:'''Defined Processes''' (Eclipse '''''Target''''' or '''''BAT''''' file):
04.40...Generate Tables and Excel ="Process Excel and Table Views from Generator"
+
:*'''''04.30...Generate All MIF and Schemas'''''  FULL Generator run - All MIFs and Schemas
 
 
04.80...Distribute Generated Content="Causes Domain content copy for 'active' and 'support' domains to output dirs. (SOMEWHAT REDUNDANT TO -buildDomain)"
 
 
 
04.99...All Generator Targets ="All Generator Targets"
 
===04.30...Generate Schemas===
 
 
===04.40...Generate Tables, Excel===
 
===04.40...Generate Tables, Excel===
 +
:'''Defined Processes''' (Eclipse '''''Target''''' or '''''BAT''''' file):
 +
:*'''''04.40...Generate Tables and Excel''''' Process Excel and Table Views from Generator"
 
===04.50...Post-process Excel===
 
===04.50...Post-process Excel===
 
===04.60...Process QA on MIF===
 
===04.60...Process QA on MIF===
 
===04.70...Version MIF===
 
===04.70...Version MIF===
 
 
{{:V3 PubProcess - Distribute Generated Content}}
 
{{:V3 PubProcess - Distribute Generated Content}}
 
+
:'''Defined Processes''' (Eclipse '''''Target''''' or '''''BAT''''' file):
 +
:*'''''04.80...Distribute Generated Content''''' Causes Domain content copy for 'active' and 'support' domains to output directories. (SOMEWHAT REDUNDANT TO -buildDomain)"
 +
:*'''''04.99...All Generator Targets''''' All Generator Targets"
 +
===04.99...All Generator Processes===
 +
Execute all generator processes in a single invocation. (Actually activates the Generator two or three times to complete.)
 +
:'''Defined Processes''' (Eclipse '''''Target''''' or '''''BAT''''' file):
 +
:*'''''04.99...All Generator Targets''''' All Generator Targets"
  
 
{{to-top}}
 
{{to-top}}

Revision as of 17:11, 16 August 2010

04...Generate MIF and Related Content

The HL7 V3 Generator is a tool whose primary purpose is to convert a set of domain and design content (frequently expressed in idiosyncratic xml formats, into a set of files expressed in the HL7 Model Interchange Format (MIF); and then to process the MIF files to create a supporting set of artifacts, such as static model schemas, table- and Excel- views of the static models, etc. This section covers the execution of the Generator processes.

04.10...Select configuration

This sub-step has no automated task. It involves establishing the "configuration" parameters for the V3 Generator in InputFiles/configuration.ext. This file is more or less self-documenting. For the purposes of the combined Pub-Gen tool suite, the default properties are just fine, except that "publicationId" should be set to something like "Ballot2010Sep".

04.20...Generate All MIF2

This process starts "from scratch" and builds MIF2 files for all common files (coremif), static models (in HMD or Visio XML form) and dynamic models (pubDb xml) that have been placed in the Generator. Preparation for this process may include:

NOTE: This process is part of 04.30...Generate All MIF and Schemas (below). If your intent is to generate schemas, use that process instead.

Defined Processes (Eclipse Target or BAT file):
  • 04.20...Generate All MIF2 Runs Generator up to Schema Generation point, (see 04.30 for full generator run.

04.30...Generate Schemas

This process will first build MIF2 files if they have not already been generated, and then create static model and interaction schemas from them. Thjis is equivalent to a "full run" of the generator. Therefore, it is not necessary to run 04.20...Generate All MIF2 before this is run.

Generator preparation

Defined Processes (Eclipse Target or BAT file):
  • 04.30...Generate All MIF and Schemas FULL Generator run - All MIFs and Schemas

04.40...Generate Tables, Excel

Defined Processes (Eclipse Target or BAT file):
  • 04.40...Generate Tables and Excel Process Excel and Table Views from Generator"

04.50...Post-process Excel

04.60...Process QA on MIF

04.70...Version MIF

04.80 or 05.10...Distribute Generated Content

Distribute generated files to Publishing Process directory structure.

Jump to top of page

Defined Processes (Eclipse Target or BAT file):
  • 04.80...Distribute Generated Content Causes Domain content copy for 'active' and 'support' domains to output directories. (SOMEWHAT REDUNDANT TO -buildDomain)"
  • 04.99...All Generator Targets All Generator Targets"

04.99...All Generator Processes

Execute all generator processes in a single invocation. (Actually activates the Generator two or three times to complete.)

Defined Processes (Eclipse Target or BAT file):
  • 04.99...All Generator Targets All Generator Targets"

Jump to top of page