Ejemplo n.º 1
0
 internal void AddAuthor(NPFIT_000081_Role template, TS time)
 {
     if (author == null)
     {
         author = new p_author_000081();
     }
     author.AuthorTime = time;
     author.AuthorTime.DateValuePrecision = DatePrecision.Second;
     author.TemplateId = TEMPLATEID;
     author.Role       = template;
 }
Ejemplo n.º 2
0
        // Method for adding authors to the CDA document, a mandatory dateTime needs to be provided for each author.
        public void AddAuthor(NPFIT_000081_Role template, DateTime timeValue)
        {
            // If this is the first author to be added then initiate the list of authors.
            if (author == null)
            {
                author = new List <p_author_000081>();
            }

            p_author_000081 thisAuthor = new p_author_000081();

            thisAuthor.AuthorTime = new TS(timeValue);
            thisAuthor.AuthorTime.DateValuePrecision = DatePrecision.Second;

            thisAuthor.Role = template;
            author.Add(thisAuthor);
        }