コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: TerminologyIdTests.cs プロジェクト: nickvane/vela
        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);
        }