Beispiel #1
0
        public virtual void TestShouldDetermineUnqualifiedInnerTypesComplicatedName()
        {
            Hl7DataTypeName name = Hl7DataTypeName.Create("IVL.LOW<PQ.LAB>");

            Assert.AreEqual("IVL.LOW<PQ>", name.GetUnqualifiedInnerTypesVersion().ToString());
        }
Beispiel #2
0
        public virtual void TestShouldDetermineUnqualifiedCollectionName()
        {
            Hl7DataTypeName name = Hl7DataTypeName.Create("SET<TS.FULLDATE>");

            Assert.AreEqual("SET<TS>", name.GetUnqualifiedVersion().ToString());
        }
Beispiel #3
0
        public virtual void TestShouldDetermineUnqualifiedComplicatedName()
        {
            Hl7DataTypeName name = Hl7DataTypeName.Create("RTO<MO.CAD,PQ.BASIC>");

            Assert.AreEqual("RTO<MO,PQ>", name.GetUnqualifiedVersion().ToString());
        }
Beispiel #4
0
        public virtual void TestShouldRecognizeQualifiedTypes()
        {
            Hl7DataTypeName name = Hl7DataTypeName.Create("TS.FULLDATE");

            Assert.IsTrue(name.IsQualified(), "TS.FULLDATE");
        }