public void Check(StructureDefinition.DifferentialComponent differentialComponent,
                   String name,
                   String baseName)
 {
     if (differentialComponent == null)
     {
         return;
     }
     this.Check(differentialComponent.Element, name, baseName);
 }
Exemple #2
0
        // [WMR 20180816] NEW: Expose public extension method on DifferentialComponent
        // Suggested by Brendan Kowitz (https://github.com/brendankowitz)

        /// <summary>Create a valid tree structure from a sparse differential element list by adding missing parent element definitions.</summary>
        /// <returns>A list of <see cref="ElementDefinition"/> instances that represent a tree structure.</returns>
        /// <remarks>This method returns a new list of element definitions. The input elements list is not modified.</remarks>
        public static List <ElementDefinition> MakeTree(this StructureDefinition.DifferentialComponent diff)
        {
            return(MakeTree(diff.Element));
        }