Skip to main content

validate_profile

Function validate_profile 

Source
pub async fn validate_profile(
    ctx: Arc<FHIRProfileCTX<'_, impl CanonicalResolver>>,
) -> Result<OperationOutcome, OperationOutcomeError>
Expand description

Validates the profile represented by the given context.

ยงErrors

Returns [OperationOutcomeError] if:

  • validating an element fails; or
  • the profile does not have a derivation of constraint.