Пример #1
0
        /// <summary>
        /// Add a Structured Body to the CDA document
        /// </summary>
        public void AddStructuredBodyTemplate(ITextSection structuredTextTemplate)
        {
            if (component == null)
            {
                component = new CdaBody(true);
            }

            component.AddTextSection(structuredTextTemplate);
        }
Пример #2
0
        public void AddTextSection(ITextSection structuredText)
        {
            if (textSection == null)
            {
                textSection = new List <ITextSection>();
            }

            textSection.Add(structuredText);
        }
        public void AddTextSection(ITextSection structuredText)
        {
            if (textSection == null)
            {
                textSection = new List<ITextSection>();
            }

            textSection.Add(structuredText);
        }
Пример #4
0
        public void AddTextSection(ITextSection structuredText)
        {
            bodyIsNonXml     = false;
            bodyIsStructured = true;

            // Define the container on first usage
            if (textSection == null)
            {
                textSection = new List <ITextSection>();
            }

            textSection.Add(structuredText);
        }
Пример #5
0
        public void AddTextSection(ITextSection structuredText)
        {
            bodyIsNonXml = false;
            bodyIsStructured = true;

            // Define the container on first usage
            if (textSection == null)
            {
                textSection = new List<ITextSection>();
            }

            textSection.Add(structuredText);
        }
Пример #6
0
        /// <summary>
        /// Add a Structured Body to the CDA document, generate a guid for the id.
        /// </summary>
        public void AddStructuredBodyTemplate(Guid Id,ITextSection structuredTextTemplate)
        {
            if (component == null)
            {
                component = new CdaBody(true);
            }

            component.Id = Id;
            component.AddTextSection(structuredTextTemplate);
        }