pub enum QuestionnaireAnswerConstraint {
OptionsOnly,
OptionsOrString,
OptionsOrType,
_Custom(String),
}Expand description
QuestionnaireAnswerConstraint. Codes that describe the types of constraints possible on a question item that has a list of permitted answers
FHIR version: 5.0.0.
Variants§
OptionsOnly
optionsOnly
Options only. Only values listed as answerOption or in the expansion of the answerValueSet are permitted
OptionsOrString
optionsOrString
Options or string. In addition to the values listed as answerOption or in the expansion of the answerValueSet, free-text strings are permitted. Answers will have a type of ‘string’.
OptionsOrType
optionsOrType
Options or ‘type’. In addition to the values listed as answerOption or in the expansion of the answerValueSet, any other values that correspond to the specified item.type are permitted
_Custom(String)
Custom code value.
Trait Implementations§
Source§impl AsRef<str> for QuestionnaireAnswerConstraint
impl AsRef<str> for QuestionnaireAnswerConstraint
Source§impl Clone for QuestionnaireAnswerConstraint
impl Clone for QuestionnaireAnswerConstraint
Source§fn clone(&self) -> QuestionnaireAnswerConstraint
fn clone(&self) -> QuestionnaireAnswerConstraint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for QuestionnaireAnswerConstraint
impl<'de> Deserialize<'de> for QuestionnaireAnswerConstraint
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<QuestionnaireAnswerConstraint> for CodeableConcept
impl From<QuestionnaireAnswerConstraint> for CodeableConcept
Source§fn from(code: QuestionnaireAnswerConstraint) -> Self
fn from(code: QuestionnaireAnswerConstraint) -> Self
Converts to this type from the input type.
Source§impl From<QuestionnaireAnswerConstraint> for Coding
impl From<QuestionnaireAnswerConstraint> for Coding
Source§fn from(code: QuestionnaireAnswerConstraint) -> Self
fn from(code: QuestionnaireAnswerConstraint) -> Self
Converts to this type from the input type.
Source§impl Hash for QuestionnaireAnswerConstraint
impl Hash for QuestionnaireAnswerConstraint
Source§impl PartialEq for QuestionnaireAnswerConstraint
impl PartialEq for QuestionnaireAnswerConstraint
Source§fn eq(&self, other: &QuestionnaireAnswerConstraint) -> bool
fn eq(&self, other: &QuestionnaireAnswerConstraint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for QuestionnaireAnswerConstraint
impl StructuralPartialEq for QuestionnaireAnswerConstraint
Auto Trait Implementations§
impl Freeze for QuestionnaireAnswerConstraint
impl RefUnwindSafe for QuestionnaireAnswerConstraint
impl Send for QuestionnaireAnswerConstraint
impl Sync for QuestionnaireAnswerConstraint
impl Unpin for QuestionnaireAnswerConstraint
impl UnsafeUnpin for QuestionnaireAnswerConstraint
impl UnwindSafe for QuestionnaireAnswerConstraint
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
Mutably borrows from an owned value. Read more