Exemplo n.º 1
0
    def test_mdcs16(self):

        de = DRGEngine()

        drg_lst = de.get_drg_all(["Z9481"], ["07CP0ZZ"])
        self.assertTrue("801" in drg_lst)

        drg_lst = de.get_drg_all(["Z9481"], ["02LV4DZ"])
        self.assertTrue("804" in drg_lst)

        drg_lst = de.get_drg_all(["D592"], [])
        self.assertTrue("810" in drg_lst)

        drg_lst = de.get_drg_all(["D4620"], [])
        self.assertTrue("812" in drg_lst)

        drg_lst = de.get_drg_all(["D65"], [])
        self.assertTrue("813" in drg_lst)

        drg_lst = de.get_drg_all(["A182"], [])
        self.assertTrue("816" in drg_lst)
Exemplo n.º 2
0
    def test_mdcs21(self):

        de = DRGEngine()

        drg_lst = de.get_drg_all(["Z041"], ["0JBB0ZZ"])
        self.assertTrue("903" in drg_lst)

        drg_lst = de.get_drg_all(["Z041"], ["0HR1XJ3"])
        self.assertTrue("905" in drg_lst)

        drg_lst = de.get_drg_all(["Z041"], ["0HRFX73"])
        self.assertTrue("906" in drg_lst)

        drg_lst = de.get_drg_all(["Z041"], ["XRGD0F3"])
        self.assertTrue("909" in drg_lst)

        drg_lst = de.get_drg_all(["S0570XS"], [])
        self.assertTrue("914" in drg_lst)

        drg_lst = de.get_drg_all(["T7800XA"], [])
        self.assertTrue("916" in drg_lst)

        drg_lst = de.get_drg_all(["M1A10X1"], [])
        self.assertTrue("918" in drg_lst)

        drg_lst = de.get_drg_all(["D47Z1"], [])
        self.assertTrue("921" in drg_lst)

        drg_lst = de.get_drg_all(["T3341XS"], [])
        self.assertTrue("923" in drg_lst)
Exemplo n.º 3
0
    def test_mdcs17(self):

        de = DRGEngine()

        drg_lst = de.get_drg_all(["C261"], ["0016070"])
        self.assertTrue("822" in drg_lst)

        drg_lst = de.get_drg_all(["C261"], ["D020JZZ"])
        self.assertTrue("825" in drg_lst)

        drg_lst = de.get_drg_all(["C37"], ["00160JB"])
        self.assertTrue("828" in drg_lst)

        drg_lst = de.get_drg_all(["C37"], ["D021DZZ"])
        self.assertTrue("830" in drg_lst)

        drg_lst = de.get_drg_all(["C9242"], [])
        self.assertTrue("836" in drg_lst)

        drg_lst = de.get_drg_all(["Z08", "C9100"], [])
        self.assertTrue("838" in drg_lst)
        drg_lst = de.get_drg_all(["Z08", "C9100", "E0800"], [])
        self.assertTrue("837" in drg_lst)
        drg_lst = de.get_drg_all(["Z08"], ["3E03002"])
        self.assertTrue("838" in drg_lst)

        drg_lst = de.get_drg_all(["C261"], [])
        self.assertTrue("842" in drg_lst)

        drg_lst = de.get_drg_all(["C37"], [])
        self.assertTrue("845" in drg_lst)

        drg_lst = de.get_drg_all(["Z08"], [])
        self.assertTrue("848" in drg_lst)

        drg_lst = de.get_drg_all(["Z510"], [])
        self.assertTrue("849" in drg_lst)
Exemplo n.º 4
0
    def test_mdcs03(self):

        de = DRGEngine()

        drg_lst = de.get_drg_all(["A690"], ["07T00ZZ"])
        self.assertTrue("130" in drg_lst)
        drg_lst = de.get_drg_all(["T753XXA"], ["07T00ZZ", "09HD05Z"])
        self.assertTrue("129" in drg_lst)

        drg_lst = de.get_drg_all(["T753XXA"], ["00J00ZZ"])
        self.assertTrue("132" in drg_lst)
 
        drg_lst = de.get_drg_all(["T753XXA"], ["008F0ZZ"])
        self.assertTrue("134" in drg_lst)
 
        drg_lst = de.get_drg_all(["T753XXA"], ["095B0ZZ"])
        self.assertTrue("136" in drg_lst)
 
        drg_lst = de.get_drg_all(["T753XXA"], ["0C00X7Z"])
        self.assertTrue("138" in drg_lst)

        drg_lst = de.get_drg_all(["T753XXA"], ["0C580ZZ"])
        self.assertTrue("139" in drg_lst)

        drg_lst = de.get_drg_all(["C000"], [])
        self.assertTrue("148" in drg_lst)

        drg_lst = de.get_drg_all(["H8101"], [])
        self.assertTrue("149" in drg_lst)

        drg_lst = de.get_drg_all(["R040"], [])
        self.assertTrue("151" in drg_lst)

        drg_lst = de.get_drg_all(["A545"], [])
        self.assertTrue("153" in drg_lst)

        drg_lst = de.get_drg_all(["A186"], [])
        self.assertTrue("156" in drg_lst)

        drg_lst = de.get_drg_all(["A690"], [])
        self.assertTrue("159" in drg_lst)
Exemplo n.º 5
0
    def test_mdcs08(self):

        de = DRGEngine()

        drg_lst = de.get_drg_all(["Z9716"], ["0RG1070"])
        self.assertTrue("455" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0RG8070"])
        self.assertTrue("458" in drg_lst)
        drg_lst = de.get_drg_all(["Z9716"], ["0RG7070", "0SG10J0"])
        self.assertTrue("458" in drg_lst)
        drg_lst = de.get_drg_all(["Z9716"], ["0RG707J", "0SG10J1"])
        self.assertTrue("458" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0RG607J"])
        self.assertTrue("460" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0SUR0BZ", "0SRB03Z"])
        self.assertTrue("462" in drg_lst)
        drg_lst = de.get_drg_all(["Z9716", "E0800"], ["0SRC06Z", "0SRF0J9"])
        self.assertTrue("461" in drg_lst)
        drg_lst = de.get_drg_all(["Z9716", "E0800"], ["0SRC06Z", "0SRC06Z"])
        self.assertTrue("461" not in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0HR1XJZ"])
        self.assertTrue("465" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0SPD0JC"])
        self.assertTrue("468" in drg_lst)
        drg_lst = de.get_drg_all(["Z9716"], ["0SPB0JZ", "0SRB01Z"])
        self.assertTrue("468" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0SR903Z"])
        self.assertTrue("470" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0RG03J0"])
        self.assertTrue("473" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0X6B0ZZ"])
        self.assertTrue("476" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0N934ZX"])
        self.assertTrue("479" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0Q863ZZ"])
        self.assertTrue("482" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0RRF0KZ"])
        self.assertTrue("483" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0MQP3ZZ"])
        self.assertTrue("489" in drg_lst)
        drg_lst = de.get_drg_all(["T8453XA"], ["0MQP3ZZ"])
        self.assertTrue("487" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["005W3ZZ"])
        self.assertTrue("520" in drg_lst)
        drg_lst = de.get_drg_all(["Z9716"], ["0RH03BZ"])
        self.assertTrue("518" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0SWG48Z"])
        self.assertTrue("494" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0M530ZZ"])
        self.assertTrue("497" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0Q573ZZ"])
        self.assertTrue("499" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0J860ZZ"])
        self.assertTrue("502" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0L8P4ZZ"])
        self.assertTrue("505" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0MC50ZZ"])
        self.assertTrue("506" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0R9G0ZZ"])
        self.assertTrue("508" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0RJJ4ZZ"])
        self.assertTrue("509" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0P8J0ZZ"])
        self.assertTrue("512" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["0HRGX74"])
        self.assertTrue("514" in drg_lst)

        drg_lst = de.get_drg_all(["Z9716"], ["008G0ZZ"])
        self.assertTrue("517" in drg_lst)

        drg_lst = de.get_drg_all(["S72301B"], [])
        self.assertTrue("534" in drg_lst)

        drg_lst = de.get_drg_all(["S32301B"], [])
        self.assertTrue("536" in drg_lst)

        drg_lst = de.get_drg_all(["S73022A"], [])
        self.assertTrue("538" in drg_lst)

        drg_lst = de.get_drg_all(["M4622"], [])
        self.assertTrue("541" in drg_lst)

        drg_lst = de.get_drg_all(["C4010"], [])
        self.assertTrue("544" in drg_lst)

        drg_lst = de.get_drg_all(["I7301"], [])
        self.assertTrue("547" in drg_lst)

        drg_lst = de.get_drg_all(["M00049"], [])
        self.assertTrue("550" in drg_lst)

        drg_lst = de.get_drg_all(["S335XXA"], [])
        self.assertTrue("552" in drg_lst)

        drg_lst = de.get_drg_all(["M02021", "E0800"], [])
        self.assertTrue("553" in drg_lst)

        drg_lst = de.get_drg_all(["M25111"], [])
        self.assertTrue("556" in drg_lst)

        drg_lst = de.get_drg_all(["M24242"], [])
        self.assertTrue("558" in drg_lst)

        drg_lst = de.get_drg_all(["M4842XD"], [])
        self.assertTrue("561" in drg_lst)

        drg_lst = de.get_drg_all(["M222X2"], [])
        self.assertTrue("563" in drg_lst)

        drg_lst = de.get_drg_all(["D1601"], [])
        self.assertTrue("566" in drg_lst)
Exemplo n.º 6
0
    def test_mdcs20(self):

        de = DRGEngine()

        drg_lst = de.get_drg_all(["R780"], ["HZ39ZZZ"])
        self.assertTrue("895" in drg_lst)