http://build.fhir.org/ig/HL7/fhir-military-service/index.html
Military Service was developed using FHIR Shorthand (FSH), a domain-specific language (DSL) for defining the content of FHIR Implementation Guides (IG): profiles, value set bindings, extensions, and custom operatoins.
After you check out the "fhir-military-service" project from Github, install SUSHI (the FSH compiler), as instructed in FSH school.
To compile Military Service, open a command window and navigate to the directory where "fhir-military-service" has been checked out. Use the following command:
`$ sushi .
Next, change directories to ./build.
Now run:
Windows: $ _genonce
Mac: $ ./_genonce.sh
This will run the HL7 IG Publisher, which will take several minutes to complete. After the publisher is finished, open the file /build/output/index.html to see the resulting IG.
To get a clean build, you may delete the ./build/input/resources and/or the ./build/output directories. However, DO NOT delete the entire ./build directory!
Introduce customizations of the IG into the following files:
- Menus: Edit the /build/input/include/menu.xml file
- List of pages and artifacts to be included in the IG: Edit /build/input/ImplementationGuide-fhir.us.Military Service.json file. See ImplementationGuide resource for details. Note that profiles, value sets and examples are NOT automatically included in the IG; they must be listed in this file. Also note that the IG Publisher will produce an error and exit prematurely if an artifact listed in the IG json file is not found in the /build/input/resources directory.
- Additional pages, images, other content: Add files to /build/input/pagecontent directory, and link them to menus or other pages.
- Version history: Edit /build/package-list.json.