Guidance for FHIR IG Creation
0.1.0 - CI Build
Guidance for FHIR IG Creation, published by HL7 International - FHIR Management Group. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/FHIR/ig-guidance/ and changes regularly. See the Directory of published versions
For several resource types, it can be more convenient to edit base64Binary content directly. The obvious candidate resources are:
But there are many other resources where this might be useful. The technique described here will work for any Resource with Attachments in it.
Here's how to make it work:
Binary is a special case. For Binary, make the content of the data itself equal to "ig-loader-[filename]"
Note: the following file extensions are supported:
CQL included into a library is subject to additional processing. Additional content elements will be injected for application/elm+xml or application/elm+json, depending on the format
cql translator option - do not create a stub for this manually.
CQL translator options are provided using a cql-options.json
file co-located with the CQL source content (as specified in the path-binary
parameter). Documentation of this file is provided in the CqlTranslatorOptions topic of the CQL-to-ELM translator overview.
If no CQL options file is present, the default translator options will be used.
For each CQL source file included in a Library resource, the following steps are performed:
application/elm+xml
, application/elm+json
, or both, depending on the format
option.depends-on
relatedArtifact entries in the library as documented in Related Artifacts. Dependencies include any models, libraries, code systems, or value sets referenced in the CQL.in
parametersout
parametersdataRequirement
elementscqf-cqlOptions
extensionParameters and data requirements are reported as documented in FHIR Type Mapping and Parameters and Data Requirements
The resulting Library is expected to conform to the following profiles:
JSON
is specified as a format