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

Difference between revisions of "Using the FHIR Validator to transform content"

From HL7Wiki
Jump to navigation Jump to search
(Created page with "This page describes how to use the validator to transform content from one format to another using the http://hl7.org/fhir/mapping-language.html FHIR Mapping Language. To ...")
 
Line 8: Line 8:
  
 
The params control how the transfomration occurs, and are documented here.
 
The params control how the transfomration occurs, and are documented here.
 +
 +
In general, in order to perform the transform, you need to specify:
 +
 +
* what to transform
 +
* the map to use to transform it
 +
* where to put the tranform
 +
 +
+ you need to tell the engine where to find all the relevant logical models, mapping libraries, etc.

Revision as of 21:50, 22 October 2018

This page describes how to use the validator to transform content from one format to another using the [FHIR Mapping Language]. To use the validator for validation, see Using the FHIR Validator

Running the validator

To use the validator, download the jar from http://build.fhir.org/downloads.html. Specifically, download the official FHIR validator at http://build.fhir.org/validator.zip Note that you always use the current validator from the build, irrespective of what transforms you are running.. You need a current version of java to run the validator:

 java -jar org.hl7.fhir.validator.jar -transform  [params]

The params control how the transfomration occurs, and are documented here.

In general, in order to perform the transform, you need to specify:

  • what to transform
  • the map to use to transform it
  • where to put the tranform

+ you need to tell the engine where to find all the relevant logical models, mapping libraries, etc.