Skip to main content

extract_required_bindings

Function extract_required_bindings 

Source
pub fn extract_required_bindings(
    sd: &StructureDefinition,
) -> Vec<ElementBinding>
Expand description

Extract required bindings from a StructureDefinition

This function extracts all element bindings with “required” strength from the StructureDefinition’s snapshot. Only required bindings are extracted because they must be validated at runtime.

§Arguments

  • sd - The StructureDefinition to extract bindings from

§Returns

A vector of ElementBinding structs, sorted by element path