/// <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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
        /// <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);
        }