Show / Hide Table of Contents

Delegate Program.ProcessDelegate

Delegate function to do actual processing - matches Process.

Namespace: FhirCodegenCli
Assembly: fhir-codegen-cli.dll
Syntax
public delegate int ProcessDelegate(string outputPath = "", bool verbose = false, bool offlineMode = false, string language = "", string exportKeys = "", string loadR2 = "", string loadR3 = "", string loadR4 = "", string loadR4B = "", string loadR5 = "", string languageOptions = "", bool officialExpansionsOnly = false, string fhirServerUrl = "", string fhirServerHeaders = "", bool resolveExternal = true, bool includeExperimental = false, string exportTypes = "", string extensionSupport = "", bool languageHelp = false, string packageDirectory = "", string packages = "", string ciBranch = "", string languageInputDir = "", bool showHelp = false);
Parameters
Type Name Description
System.String outputPath

File or directory to write output.

System.Boolean verbose

Show verbose output.

System.Boolean offlineMode

Offline mode (will not download missing specs).

System.String language
 Name of the language to export (default:

Info|TypeScript|CSharpBasic).

System.String exportKeys

'|' separated list of items to export (not present to export everything).

System.String loadR2
   If FHIR R2 should be loaded, which version (e.g., 1.0.2

or latest).

System.String loadR3
   If FHIR R3 should be loaded, which version (e.g., 3.0.2

or latest).

System.String loadR4
   If FHIR R4 should be loaded, which version (e.g., 4.0.1

or latest).

System.String loadR4B
  If FHIR R4B should be loaded, which version (e.g., 4.3.0

or latest).

System.String loadR5
   If FHIR R5 should be loaded, which version (e.g., 5.0.0-snapshot1

or latest).

System.String languageOptions

Language specific options, see documentation for more details. Example: Lang1|opt=a|opt2=b|Lang2|opt=tt|opt3=oo.

System.Boolean officialExpansionsOnly

True to restrict value-sets exported to only official expansions (default: false).

System.String fhirServerUrl

FHIR Server URL to pull a CapabilityStatement (or Conformance) from. Requires application/fhir+json.

System.String fhirServerHeaders

Headers to include when calling a FHIR server, format is key=value|key=value|...

System.Boolean resolveExternal

Whether or not to try to resolve unknown canonicals at the given fhir server url.

System.Boolean includeExperimental

If the output should include structures marked experimental (false|true).

System.String exportTypes

Which FHIR classes types to export (primitive|complex|resource|interaction|enum), default is all.

System.String extensionSupport

The level of extensions to include (none|official|officialNonPrimitive|nonPrimitive|all), default is nonPrimitive.

System.Boolean languageHelp

Display languages and their options.

System.String packageDirectory

The full path to a local directory for FHIR packages; e.g., profiles. (.../fhirPackages)).

System.String packages

'|' separated list of packages, with or without version numbers (e.g., hl7.fhir.us.core#4.0.0).

System.String ciBranch

If loading from the CI server, the name of the branch to use.

System.String languageInputDir

The full path to a local directory to pass additional content to languages.

System.Boolean showHelp

Show command-line help.

Returns
Type Description
System.Int32

Exit-code for the process - 0 for success, else an error code.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX