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§
- Fhir
Package - Loaded FHIR package with manifest, optional index, and resources.
- Indexed
File - File entry in package index.
- Maintainer
- Package
Index - Package index (
.index.json). - Package
Manifest - FHIR NPM Package manifest (
package/package.json).
Enums§
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).