gefyra/FHIR CapabilityStatement Expander

Expands FHIR CapabilityStatements by recursively resolving imports and extracts all refer echo "" echo "📁 Copied Resources:" # Then show all other files (copied) - search recursively including subdirectories while IFS= read -r -d ' file; do resources

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
input_directoryPath to input directory with FHIR JSON filesyes./input
output_directoryPath to output directory for expanded resourcesyes./output
capability_statement_urlCanonical URL(s) of the CapabilityStatement(s) to expand. Can be a single URL string or a JSON array of URLs (use toJSON() for YAML lists).yes
verboseEnable verbose loggingnofalse
no_cleanDo not clean output directory before expansion (by default, output directory is cleaned)nofalse
expectation_filterFilter imports by minimum expectation level. SHALL=only SHALL, SHOULD=SHALL+SHOULD, MAY=SHALL+SHOULD+MAY. Default: import all expectations. Note: SHOULD-NOT is never imported.no""
python_versionPython version for executionno3.11
namedescription
expanded_files_countNumber of created expanded files
output_directoryPath to output directory with expanded resources
expanded_capability_statementFilename of the expanded CapabilityStatement