Пример #1
0
 public static void TumKodlariGetirXMLeYaz()
 {
     CUtil myutil = new CUtil();
     Service service = new Service();
     string str;
     str = service.SistemKodunaGoreGetir("1572FCEE-2E3D-4500-9BA4-743BE9A581A7"); myutil.LogToFile("ICD10.xml", str);
     str = service.SistemKodunaGoreGetir("AF7BB2C3-3AEF-433A-BD0A-EA7416D3D586"); myutil.LogToFile("IlacKodlari.xml", str);
     str = service.SistemKodunaGoreGetir("f85fc6de-b865-4e83-a4c0-ab1c5a07422c"); myutil.LogToFile("ButTurleri.xml", str);
     str = service.SistemKodunaGoreGetir("6B3CA76A-D43D-46F0-9161-E298DB78ABE1"); myutil.LogToFile("ButKodlari.xml", str);
     str = service.SistemKodunaGoreGetir("5EE0AB29-6B92-4356-B287-6CF93E052362"); myutil.LogToFile("TetkikKodlari.xml", str);
     str = service.SistemKodunaGoreGetir("60729d0d-c272-4521-8ed7-652780c1f71d"); myutil.LogToFile("KurumTurleri.xml", str);
     str = service.SistemKodunaGoreGetir("c9dbe1cb-57cb-48fb-bdd3-d622e0e304c6"); myutil.LogToFile("Kurumlar.xml", str);
     str = service.SistemKodunaGoreGetir("43B06D1E-A7D2-4920-A4E7-6534F6C1D199"); myutil.LogToFile("Klinikler.xml", str);
     str = service.SistemKodunaGoreGetir("B5DDD47A-A01C-4944-8117-993A97ABFE0F"); myutil.LogToFile("KlinikDokumanTipi.xml", str);
     str = service.SistemKodunaGoreGetir("BD8C6F17-430B-4F90-83E2-E0276052384C"); myutil.LogToFile("Asi.xml", str);
     str = service.SistemKodunaGoreGetir("1c1ba2a9-01e1-46c7-8b38-44"); myutil.LogToFile("TakvimBebekIzlem.xml", str);
     str = service.SistemKodunaGoreGetir("377153f3-8de1-4515-9833-746bf81b041b"); myutil.LogToFile("TakvimAsi.xml", str);
     str = service.SistemKodunaGoreGetir("4259c680-ef30-4243-ac52-019c5a7e71ed"); myutil.LogToFile("TakvimGebeIzlem.xml", str);
     str = service.SistemKodunaGoreGetir("9416085f-6a12-470a-bc19-66ee19293768"); myutil.LogToFile("TakvimCocukIzlem.xml", str);
     str = service.SistemKodunaGoreGetir("ac0eea4a-3fbb-4946-ac43-543fcff3fdd8"); myutil.LogToFile("MalzemeKodlari.xml", str);
     str = service.SistemKodunaGoreGetir("ED350183-F2E8-415B-BCDB-1FA10EF627D8"); myutil.LogToFile("MudahaleKodlari.xml", str);
     str = service.SistemKodunaGoreGetir("43B06D1E-A7D2-4920-A4E7-6534F6C1D100"); myutil.LogToFile("UyrukKodlari.xml", str);
     str = service.SistemKodunaGoreGetir("ISO 3166"); myutil.LogToFile("Ulkeler.xml", str);
     str = service.SistemKodunaGoreGetir("c5a8d278-daa8-4774-a390-ab444e02db32"); myutil.LogToFile("Ulkeler2.xml", str);
     str = service.SistemKodunaGoreGetir("512d0cb3-d0b3-487c-ab1e-1343fc7ff611"); myutil.LogToFile("Meslekler.xml", str);
     str = service.SistemKodunaGoreGetir("526CB860-9DD3-4CDC-8888-C10135AFED4F"); myutil.LogToFile("ATCKodlari.xml", str);
     str = service.SistemKodunaGoreGetir("94e988ab-c1c8-46ea-af0d-465699607091"); myutil.LogToFile("AtcIlaclar.xml", str);
     str = service.SistemKodunaGoreGetir("47BA9D19-7639-4E83-8C2B-A81ED2F0F578"); myutil.LogToFile("IlacDozBirimleri.xml", str);
     str = service.SistemKodunaGoreGetir("A4F5E158-866F-42B4-95B5-358BF4B26389"); myutil.LogToFile("KanGrublari.xml", str);
     str = service.SistemKodunaGoreGetir("701829ce-43c2-4dee-bfa7-ae2609c11d66"); myutil.LogToFile("Parametreler.xml", str);
     str = service.SistemKodunaGoreGetir("6500cac4-fee0-507d-e044-00144f26688f"); myutil.LogToFile("MeslekHastaUyari.xml", str);
     str = service.SistemKodunaGoreGetir("928d1201-5dba-4a1b-9e0b-f00653e8af4b"); myutil.LogToFile("Uzmanliklar.xml", str);
     str = service.SistemKodunaGoreGetir("b1c79345-d10b-4073-8ccb-9c9d3498eecc"); myutil.LogToFile("OlasiTaniKriterleri.xml", str);
     str = service.SistemKodunaGoreGetir("7b4af4a7-8e6b-4382-b50b-60d1a37f6812"); myutil.LogToFile("EnfeksiyonEtkenliTaniKriterleri.xml", str);
     str = service.SistemKodunaGoreGetir("646bff5d-73da-4349-8769-05ed48b18020"); myutil.LogToFile("TumorYerleri.xml", str);
     str = service.SistemKodunaGoreGetir("3A15B5BA-FD09-41EE-9396-C8C8F5F8DFCC"); myutil.LogToFile("SosyalGuvenlikKurumu.xml", str);
     str = service.SistemKodunaGoreGetir("2AFE8407-6DEB-4E7D-A2FB-76ECEFCDA4DF"); myutil.LogToFile("OgrenimDurumu.xml", str);
     str = service.SistemKodunaGoreGetir("f8f58940-1a33-480e-8e90-7eb464215166"); myutil.LogToFile("YakinlikKodlari.xml", str);
     str = service.SistemKodunaGoreGetir("f2176c6d-87c0-40d5-af31-a5ebda73d31d"); myutil.LogToFile("KesinTaniKriterleri.xml", str);
     str = service.SistemKodunaGoreGetir("3d78fed3-66ff-444e-b9eb-4ed3f05ddb06"); myutil.LogToFile("Histoloji.xml", str);
     str = service.SistemKodunaGoreGetir("66D5BACE-C604-42BE-BE4A-5BD61A06C574"); myutil.LogToFile("MERNIS.xml", str);
     str = service.SistemKodunaGoreGetir("2.16.840.1.113883.6.1"); myutil.LogToFile("LOINCKODLARI.xml", str);
     str = service.SistemKodunaGoreGetir("41F3264B-D590-4BA8-8B22-4F138950F467"); myutil.LogToFile("ap_Yontemleri.xml", str);
     str = service.SistemKodunaGoreGetir("5AF472F6-9867-4183-8151-8F14564B0D16"); myutil.LogToFile("HastaKayitTalepTuru.xml", str);
     str = service.SistemKodunaGoreGetir("78F2300E-B242-43E3-B124-5B9BA2FD60B2"); myutil.LogToFile("HastaKayitDonusTuru.xml", str);
     str = service.SistemKodunaGoreGetir("742CEA72-08B0-4D76-A2F5-979676ED924F"); myutil.LogToFile("HastaKayitdurumu.xml", str);
     str = service.SistemKodunaGoreGetir("E31DF2DC-7F0A-468F-BA12-FFC2719C5298"); myutil.LogToFile("IlisikKesmenedenIzamanKisitli.xml", str);
     str = service.SistemKodunaGoreGetir("B8E5BF84-0D3D-4C50-8C57-E269CDAA8484"); myutil.LogToFile("IlisikKesmenedenIzamanKisitsiz.xml", str);
     str = service.SistemKodunaGoreGetir("0D38AC2D-696A-4FD4-BEEB-D707076B4F31"); myutil.LogToFile("Cinsiyet.xml", str);
     str = service.SistemKodunaGoreGetir("F72C59A7-70D5-4C62-B3E8-3B426521D605"); myutil.LogToFile("PelvisDurumu.xml", str);
     str = service.SistemKodunaGoreGetir("2C8695F0-8F96-430B-BC98-0400E0DB4F56"); myutil.LogToFile("GizlilikDerecesi.xml", str);
     str = service.SistemKodunaGoreGetir("5F2DFFE8-C99A-47E4-8252-93F334C85AE8"); myutil.LogToFile("GelisBicimi.xml", str);
     str = service.SistemKodunaGoreGetir("F95D11EE-F985-45C2-A94C-7F632358FCCF"); myutil.LogToFile("DogumYontemi.xml", str);
     str = service.SistemKodunaGoreGetir("6CB236DD-52D9-4337-8756-E5631D7E9B3D"); myutil.LogToFile("GebelikSonlanmaDurumu.xml", str);
     str = service.SistemKodunaGoreGetir("b781820f-483a-4de4-8934-788af91fa531"); myutil.LogToFile("IlacTedarikcileri.xml", str);
     str = service.SistemKodunaGoreGetir("C8F78916-96CD-43B5-810A-E56302F4B6E1"); myutil.LogToFile("MedeniHali.xml", str);
     str = service.SistemKodunaGoreGetir("017EC9A9-DA42-44B7-957A-3404E4DD9611"); myutil.LogToFile("YakinlikDerecesi.xml", str);
     str = service.SistemKodunaGoreGetir("4CAE078C-E236-4CEA-8DF6-38FDD9843789"); myutil.LogToFile("RaporTuru.xml", str);
     str = service.SistemKodunaGoreGetir("DAEEB685-593E-4774-99DE-C69C17DA6395"); myutil.LogToFile("DogumaYardimEden.xml", str);
     str = service.SistemKodunaGoreGetir("317BC05E-1FB1-4346-BAD4-B44F8062A8AC"); myutil.LogToFile("DogumunYapildigiYer.xml", str);
     str = service.SistemKodunaGoreGetir("B2F5264B-3C1C-4729-BB18-7546B496161A"); myutil.LogToFile("IletisimTipi.xml", str);
     str = service.SistemKodunaGoreGetir("CF5924B0-DF84-4438-BC93-597B4E71B3B1"); myutil.LogToFile("AdresTipi.xml", str);
     str = service.SistemKodunaGoreGetir("B3A8369F-4AE9-4D4D-A855-E5E1ADCCB0F4"); myutil.LogToFile("UzunlukBirimi.xml", str);
     str = service.SistemKodunaGoreGetir("30E2300A-218B-4009-AE46-908299201F1C"); myutil.LogToFile("AgirlikBirimi.xml", str);
     str = service.SistemKodunaGoreGetir("B052F8A2-B5C0-4609-BE3E-A096C42DC20B"); myutil.LogToFile("AlerjiKodlari.xml", str);
     str = service.SistemKodunaGoreGetir("ED6657E4-2A20-4BE3-B300-2AA043F40A0B"); myutil.LogToFile("IlacKullanimSekli.xml", str);
     str = service.SistemKodunaGoreGetir("3763F41D-9B20-45BD-8765-E7FF1789D7F3"); myutil.LogToFile("SaglikKurumlariDurumu.xml", str);
     str = service.SistemKodunaGoreGetir("2.16.840.1.113883.5.25"); myutil.LogToFile("HL7ClinicalDocument.xml", str);
     str = service.SistemKodunaGoreGetir("e469815c-5127-4ca1-ba75-3cae424dbb9c"); myutil.LogToFile("Adresler.xml", str);
     str = service.SistemKodunaGoreGetir("eb72bf5a-d70e-407e-9483-c4f9922743dc"); myutil.LogToFile("Persentil2.xml", str);
     str = service.SistemKodunaGoreGetir("BK62FA79-04AG-2EK0-1986-SU1B9A8T4443"); myutil.LogToFile("BedenKitleEndeksi.xml", str);
     str = service.SistemKodunaGoreGetir("2K26SAET-1YN0-9MCK-8MAK-38AA44ELNPBN"); myutil.LogToFile("BelCevresiSiniflandirmasi.xml", str);
     str = service.SistemKodunaGoreGetir("S34M4NBO-1030-3353-M44A-12AB45JK67PT"); myutil.LogToFile("BelKalcaOrani.xml", str);
 }
Пример #2
0
        void btnkodxmlyaz_Click(object sender, EventArgs e)
        {
            try
            {
                edtsonuc.Items.Clear();
                Cursor.Current = Cursors.WaitCursor;
                CUtil myutil = new CUtil();
                Service service = new Service();
                string str;
                edtsonuc.Items.Add("-------------------------------------------------------");
                edtsonuc.Items.Add("XML dosyaları hazırlanacak:");
                edtsonuc.Items.Add("-------------------------------------------------------");
                for (int k = 0; k < lbkodlar.Items.Count; k++)
                    if (lbkodlar.Items[k].CheckState == CheckState.Checked)
                    {
                        edtsonuc.Items.Add(myutil.CalismaKlasoru() + lbkodlar.Items[k].Description + ".xml yazılıyor...");
                        str = service.SistemKodunaGoreGetir(lbkodlar.Items[k].Value.ToString());
                        myutil.LogToFile(lbkodlar.Items[k].Description + ".xml", str);

                        Application.DoEvents();
                    }
                edtsonuc.Items.Add("-------------------------------------------------------");
                edtsonuc.Items.Add("XML yazma işlmleri bitti.");
                edtsonuc.Items.Add("-------------------------------------------------------");

            }
            finally
            {
                Cursor.Current = Cursors.Default;
            }
        }