pub enum Reason {
DiscriminatorPath,
DiscriminatorType,
NoDiscriminatorValue,
ValueSetNotEnumerated,
UnresolvedReference,
ReferenceOutOfScope,
ProfileNotFound,
DefaultSliceNotClosed,
Invariants,
Bindings,
Profiles,
ExtensionContext,
}Expand description
Why a constraint was not evaluated.
Variants§
DiscriminatorPath
The discriminator path is outside the simple FHIRPath subset (https://hl7.org/fhir/R4/fhirpath.html#simple).
DiscriminatorType
The discriminator type is none of the five R4 defines.
NoDiscriminatorValue
The slice sets no value, pattern, required binding, cardinality, type or profile at the discriminator path to tell it apart by.
ValueSetNotEnumerated
The value set of the binding cannot be enumerated from the package set.
UnresolvedReference
A reference the discriminator path resolves names no resource the reference points into.
ReferenceOutOfScope
A reference the discriminator path resolves points outside the resources the validator searches.
ProfileNotFound
The profile is not in the package set.
DefaultSliceNotClosed
The profile declares a @default slice under rules other than
closed, which R4 does not allow, so the default slice is not used.
Invariants
The validator does not evaluate invariants.
Bindings
The validator does not check terminology bindings.
Profiles
The validator does not validate a reference’s target against its target profiles, or a resource against a profile it claims.
ExtensionContext
The validator does not check where an extension is used.
Trait Implementations§
impl Copy for Reason
impl Eq for Reason
Source§impl Ord for Reason
impl Ord for Reason
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for Reason
impl PartialOrd for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Freeze for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnsafeUnpin for Reason
impl UnwindSafe for Reason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> OrderedSeq<'_, T> for Twhere
T: Clone,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
WrappingSpan::make_wrapped to wrap an AST node in a span.