Using the FHIR Validator to transform content
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.