Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }