private AnatomicRegion XsdAnatomicRegionToAnatomicRegion(AnatomicCodesAnatomicRegion xsdAnatomicRegion)
        {
            var anatomicRegion = new AnatomicRegion()
            {
                CodeMeaning            = xsdAnatomicRegion.codeMeaning,
                CodeValue              = xsdAnatomicRegion.codeValue,
                CodingSchemeDesignator = xsdAnatomicRegion.codingScheme
            };

            if (xsdAnatomicRegion.Modifier != null)
            {
                foreach (var xsdModifier in xsdAnatomicRegion.Modifier)
                {
                    if (xsdModifier != null)
                    {
                        AnatomicRegionModifier modifier = XsdAnatomicRegionModifierToAnatomicRegionModifier(xsdModifier);
                        anatomicRegion.AnatomicRegionModifiers.Add(modifier);
                    }
                }
            }
            return(anatomicRegion);
        }
        private AnatomicRegion XsdAnatomicRegionToAnatomicRegion(AnatomicCodesAnatomicRegion xsdAnatomicRegion)
        {
            var anatomicRegion = new AnatomicRegion()
            {
                CodeMeaning = xsdAnatomicRegion.codeMeaning,
                CodeValue = xsdAnatomicRegion.codeValue,
                CodingSchemeDesignator = xsdAnatomicRegion.codingScheme
            };

            if (xsdAnatomicRegion.Modifier != null)
            {
                foreach (var xsdModifier in xsdAnatomicRegion.Modifier)
                {
                    if (xsdModifier != null)
                    {
                        AnatomicRegionModifier modifier = XsdAnatomicRegionModifierToAnatomicRegionModifier(xsdModifier);
                        anatomicRegion.AnatomicRegionModifiers.Add(modifier);
                    }
                }
            }
            return anatomicRegion;
        }