Crate tlq_fhir_package

Crate tlq_fhir_package 

Source
Expand description

Canonical models for the FHIR NPM Package specification.

Provides serde-friendly representations of package.json manifests and .index.json files with support for extension fields.

Structs§

FhirPackage
Loaded FHIR package with manifest, optional index, and resources.
IndexedFile
File entry in package index.
Maintainer
PackageIndex
Package index (.index.json).
PackageManifest
FHIR NPM Package manifest (package/package.json).

Enums§

PackageError
PackageType

Functions§

compare_versions
Compare versions numerically if both start with digits, otherwise lexicographically. Labels ignored.
parse_version
Parse version into base and optional label (e.g., “1.2.3-release” → (“1.2.3”, Some(“release”))).
validate_version_format
Validate version string format per FHIR Package specification.
version_matches
Check if version matches reference (supports exact match, patch wildcards like “1.2.x”, and label variants).

Type Aliases§

PackageName
PackageResult
Url
Version
VersionReference