public static ClinicalDocument CreateDocument(string id, string title, CE code, ConfidentialityCodes confidentiality, Author author, Custodian custodian, RecordTarget recordTarget) { using (new ClinicalDocumentDesigner()) { ClinicalDocument cda = new ClinicalDocument() { Id = new II(id), Code = code, Confidentiality = confidentiality, Title = new ST(title), TypeId = new InfrastructureRootTypeId(TypeIdRoot, TypeIdExtension), EffectiveTime = new TS(GetDateNow()), Custodian = custodian, }; cda.RealmCodes.Add(new CS(DefaultRealmCode)); cda.Authors.Add(author); cda.RecordTargets.Add(recordTarget); return cda; } }
public Act(ActClassCodes classCode, ActMoodCodes moodCode, CE code) { this.classCodeField = classCode; this.moodCodeField = moodCode; this.codeField = code; }
public Section(CE code, string title) : this(code, new ST(title)) { }
public Section(CE code, ST title) { this.Code = code; this.Title = title; }