Create a FHIR Package Using the CLI
Create a FHIR package using the create-package command.
In the SAP Health Data Services for FHIR, command line interface, enter the following command to create a basic structure of a FHIR package:
java -jar hdsf-cli-1.0.40.jar create-package --package[-p]=<package name> --version[-v]=<package version> --category[-c]=<category> [--type=<FHIR package type>] [--canonical=<canonical URL>] [--title[-t]=<FHIR package title>] --description[-d]=<description> --author[-a]=<author> --dependencies=<dependencies> --username[-u]=<user name> --password[-pwd]=<password>
For more information on mandatory and optional path parameters, see Package Manifest Properties.
The create-package command creates a folder with the name of the package that you intend to build. The folder contains the package folder with package.json file. You can then place all your canonical resources in the JSON format into the package folder.