コード例 #1
0
        public void SetAuthor(NPFIT_000081_Role template, DateTime timeValue)
        {
            author            = new p_author_000081();
            author.AuthorTime = new TS(timeValue);
            author.AuthorTime.DateValuePrecision = DatePrecision.Second;

            author.Role = template;
        }
コード例 #2
0
        public void SetAuthor(NPFIT_000081_Role template, DateTime timeValue)
        {
            author = new p_author_000081();
            author.AuthorTime = new TS(timeValue);
            author.AuthorTime.DateValuePrecision = DatePrecision.Second;

            author.Role = template;
        }
コード例 #3
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;
 }
コード例 #4
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);
        }