示例#1
0
        public void TestUpdateGenderUndifferentiatedConceptKey()
        {
            var actual = new ADT_A01().PID;

            NotifierBase.UpdateGender("ae94a782-1485-4241-9bca-5b09db2156bf", actual);

            Assert.AreEqual("U", actual.Sex.Value);
        }
示例#2
0
        public void TestUpdateGenderUndifferentiatedConcept()
        {
            var actual = new ADT_A01().PID;

            NotifierBase.UpdateGender("undifferentiated", actual);

            Assert.AreEqual("U", actual.Sex.Value);
        }
示例#3
0
        public void TestUpdateGenderMaleConcept()
        {
            var actual = new ADT_A01().PID;

            NotifierBase.UpdateGender("male", actual);

            Assert.AreEqual("M", actual.Sex.Value);
        }
示例#4
0
        public void TestUpdateGenderMaleConceptKey()
        {
            var actual = new ADT_A01().PID;

            NotifierBase.UpdateGender("f4e3a6bb-612e-46b2-9f77-ff844d971198", actual);

            Assert.AreEqual("M", actual.Sex.Value);
        }
示例#5
0
        public void TestUpdateGenderFemaleConceptKey()
        {
            var actual = new ADT_A01().PID;

            NotifierBase.UpdateGender("094941e9-a3db-48b5-862c-bc289bd7f86c", actual);

            Assert.AreEqual("F", actual.Sex.Value);
        }