/// <summary> /// Creates and Hydrates the Author Authoring Device /// /// Note: the data used within this method is intended as a guide and should be replaced. /// </summary> /// <returns>A Hydrated AuthorAuthoringDevice object</returns> public static AuthorAuthoringDevice CreateAuthorDevice() { var author = BaseCDAModel.CreateAuthorAuthoringDevice(); // Date Time Authored author.DateTimeAuthored = new ISO8601DateTime(DateTime.Now); // Document Author > Role author.Role = BaseCDAModel.CreateRole(NullFlavour.NotApplicable); // Document Author > Software Name author.SoftwareName = "PCEHR National Repository"; // Document Author > Participant > Entity Identifier author.Identifiers = new List <Identifier> { BaseCDAModel.CreateHealthIdentifier(HealthIdentifierType.PAID, "8003640001000036"), BaseCDAModel.CreateIdentifier("SampleAuthority", null, null, "1.2.3.4.5.66666", null) }; return(author); }