Example #1
0
        public void CRValueNameValidTest()
        {
            CR <String> cr = new CR <String>();

            cr.Value      = "284196006";
            cr.Name       = "SNOMED CT";
            cr.NullFlavor = null;
            Assert.IsTrue(cr.Validate());
        }
Example #2
0
        public void CRValueNameNullFlavorTest()
        {
            CR <String> cr = new CR <String>();

            cr.Value      = "284196006";
            cr.Name       = "SNOMED CT";
            cr.NullFlavor = NullFlavor.NotAsked;
            Assert.IsFalse(cr.Validate());
        }
Example #3
0
        public void CRNullFlavorTest()
        {
            CR <String> cr = new CR <String>();

            cr.Value      = null;
            cr.Name       = null;
            cr.NullFlavor = NullFlavor.NotAsked;
            Assert.IsTrue(cr.Validate());
        }
Example #4
0
        public void CRNullTest()
        {
            CR <String> cr = new CR <String>();

            cr.Value      = null;
            cr.Name       = null;
            cr.NullFlavor = null;
            Assert.IsFalse(cr.Validate());
        }
Example #5
0
        public void CRValueNameNotValidTest()
        {
            CR <String> cr = new CR <String>();

            cr.Value      = "";
            cr.Name       = "";
            cr.NullFlavor = null;
            Assert.IsTrue(cr.Validate());
        }
Example #6
0
 public void CRValueNameValidTest()
 {
     CR<String> cr = new CR<String>();
     cr.Value = "284196006";
     cr.Name = "SNOMED CT";
     cr.NullFlavor = null;
     Assert.IsTrue(cr.Validate());
 }
Example #7
0
 public void CRValueNameNullFlavorTest()
 {
     CR<String> cr = new CR<String>();
     cr.Value = "284196006";
     cr.Name = "SNOMED CT";
     cr.NullFlavor = NullFlavor.NotAsked;
     Assert.IsFalse(cr.Validate());
 }
Example #8
0
 public void CRNullFlavorTest()
 {
     CR<String> cr = new CR<String>();
     cr.Value = null;
     cr.Name = null;
     cr.NullFlavor = NullFlavor.NotAsked;
     Assert.IsTrue(cr.Validate());
 }
Example #9
0
 public void CRNullTest()
 {
     CR<String> cr = new CR<String>();
     cr.Value = null;
     cr.Name = null;
     cr.NullFlavor = null;
     Assert.IsFalse(cr.Validate());
 }
Example #10
0
 public void CRValueNameNotValidTest()
 {
     CR<String> cr = new CR<String>();
     cr.Value = "";
     cr.Name = "";
     cr.NullFlavor = null;
     Assert.IsTrue(cr.Validate());
 }