Skip to main content

stringify_meta_value

Function stringify_meta_value 

Source
pub fn stringify_meta_value(
    value: &dyn MetaValue,
) -> Result<String, OperationOutcomeError>
Expand description

Converts a [MetaValue] into its string representation.

ยงErrors

Returns an [OperationOutcomeError] if:

  • the value cannot be downcast to the expected FHIR type,
  • the FHIR primitive value is missing,
  • the value type is not supported for stringification.