public CCodePhrase(TerminologyId terminologyId, List <string> codeList, string rmTypeName, string nodeId, AssumedTypes.Interval <int> occurrences, CAttribute parent, object assumedValue) : base(rmTypeName, nodeId, occurrences, parent, assumedValue) { this.TerminologyId = terminologyId; this.CodeList = codeList; }
public void ValueShouldBeSetCorrectly() { const string value1 = "snomed-ct"; var id1 = new TerminologyId(value1); Assert.AreEqual(value1, id1.Value); Assert.AreEqual(value1, id1.Name); Assert.IsEmpty(id1.VersionId); const string value2 = "ICD9(1999)"; var id2 = new TerminologyId(value2); Assert.AreEqual(value2, id2.Value); Assert.AreEqual("ICD9", id2.Name); Assert.AreEqual("1999", id2.VersionId); }