Skip to main content

Crate haste_fhir_profiling

Crate haste_fhir_profiling 

Source
Expand description

Validates a FHIR resource against a profile (a StructureDefinition with derivation = constraint).

A profile is compiled once into a tree the validator walks directly, and that compiled form, the profiles it refers to and the value sets its slices bind are cached for as long as the [CanonicalResolver] keeps handing out the same resources. Validating a resource is then a synchronous walk over the value with no path parsing and no resolver calls.

Structs§

FHIRProfileArguments
FHIRProfileCTX

Functions§

validate_profile
Validates the profile represented by the given context.
validate_profile_by_url
Validates a value against the profile identified by its canonical URL.