pub enum ConceptMapSourceScope {
Uri(Uri),
Canonical(Canonical),
}Expand description
The `sourceScope[x]` choice of `ConceptMap`.
Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings. Limits the scope of the map to source codes (ConceptMap.group.element code or valueSet) that are members of this value set.
Variants§
Implementations§
Source§impl ConceptMapSourceScope
impl ConceptMapSourceScope
Sourcepub fn to_json_parts(
&self,
) -> Result<(&'static str, Option<Value>, Option<Value>), EncodeError>
pub fn to_json_parts( &self, ) -> Result<(&'static str, Option<Value>, Option<Value>), EncodeError>
The key suffix, the value part, and the _name part of this form.
§Errors
Returns super::super::codec::EncodeError when a held value has no JSON form.
Sourcepub fn from_json_parts(
suffix: &str,
value: Option<&Value>,
element: Option<&Value>,
path: &mut Path,
) -> Result<Self, DecodeError>
pub fn from_json_parts( suffix: &str, value: Option<&Value>, element: Option<&Value>, path: &mut Path, ) -> Result<Self, DecodeError>
Decodes the form named by suffix from its value and _name parts.
§Errors
Returns super::super::codec::DecodeError for an unknown suffix or a malformed part.
Trait Implementations§
Source§impl Clone for ConceptMapSourceScope
impl Clone for ConceptMapSourceScope
Source§impl Debug for ConceptMapSourceScope
impl Debug for ConceptMapSourceScope
impl Eq for ConceptMapSourceScope
Source§impl PartialEq for ConceptMapSourceScope
impl PartialEq for ConceptMapSourceScope
impl StructuralPartialEq for ConceptMapSourceScope
Auto Trait Implementations§
impl Freeze for ConceptMapSourceScope
impl RefUnwindSafe for ConceptMapSourceScope
impl Send for ConceptMapSourceScope
impl Sync for ConceptMapSourceScope
impl Unpin for ConceptMapSourceScope
impl UnsafeUnpin for ConceptMapSourceScope
impl UnwindSafe for ConceptMapSourceScope
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