Przedmiotem wynalazku jest membrana z organicznego materiału o właściwościach porotwórczych, przeciwzapalnych i przeciwkrzepliwych oraz sposób jej otrzymywania polegający na tym, że w pierwszym etapie wytwarza się materiał do budowy membrany, w taki sposób, że do reaktora wprowadza się w atmosferze gazu inertnego rozpuszczalnik polarny oraz kwas wybrany spośród: kwas siarkowy VI, kwas chlorowodorowy lub octowy, w proporcjach od 2 ÷ 0,002 do 7 ÷ 0,002, a następnie na 50 mL tak powstałej mieszaniny dodaje się 4-(difenyloamino)benzaldehyd w ilości od 0,2 g do 0,7 g oraz 1,3-indandion w ilości od 0,01 g do 0,08 g i miesza do uzyskania jednorodnej mieszaniny, po czym zawiesinę przemywa się gazem inertnym, podgrzewa doprowadzając do wrzenia pod chłodnicą zwrotną w atmosferze gazu inertnego i miesza intensywnie, w czasie co najmniej 18 godzin, po procesie mieszania powstałą mieszaninę chłodzi się do temperatury od 20 do 35°C i poddaje chromatografii kolumnowej w złożu SiO2 i w fazie ruchomej mieszaniny heksanu i chlorku metylenu, następnie suszy się próżniowo w czasie co najmniej 20 godzin do stałej masy, po czym rekrystalizuje się z chloroformu, a rekrystalizat umieszcza się w homogenizatorze i wprowadza bazę w postaci: polipropylenu (PP) lub poliuretanu (PU) lub politereftalanu etylenu (PET) lub poliwęglanu (PC) lub polioksymetylenu (POM) lub polisulfonu (PSU) lub silikonu lub polimeru fluorowego, korzystnie poli(tetrafluoroetylenu) (PTFE) lub polifluorku winylidenu (PVDF) lub kopolimeru tetrafluoroetylenu i heksafluoropropylenu (FEP), w proporcji baza - rekrystalizat od 50 ÷ 2 do 5000 ÷ 2, a następnie miesza aż do uzyskania jednorodnej mieszaniny i suszy przez czas co najmniej 20 godzin w temperaturze 80 - 110°C, po czym materiał wytłacza się na głowicy liniowej w postaci struny lub na głowicy krzyżowej w postaci rurki lub na głowicy płaskiej w postaci folii, a w kolejnym etapie przeprowadza się proces immobilizacji heparyny do struktury sterycznej tak otrzymanego materiału w sposób zapewniający jej zawartość w materiale w proporcji baza - heparyna od 80 ÷ 1 do 1200 ÷ 1, w taki sposób, że po wstępnym ochłodzeniu w łaźni zawierającej przesycony wodny roztwór heparyny do temperatury ±30°C od temperatury przejścia plastycznego, dokonuje się jego rozciągnięcia na kalandrach, następnie przeprowadza się drugi, finalny etap wytwarzania membrany, który realizuje się w trojaki sposób zależny od formy materiału otrzymanego w etapie pierwszym, to jest albo - według wariantu a), w którym materiał otrzymany w pierwszym etapie w formie struny doprowadza się do temperatury ±30°C od temperatury przejścia plastycznego, po czym dokonuje się jej rozciągnięcia na kalandrach, tak aby otrzymać membranę w postaci płaskiej folii o grubości od 0,2 do 200 μm, albo - według wariantu b), w którym materiał otrzymany w pierwszym etapie w formie rurki doprowadza się do temperatury ±30°C od temperatury przejścia plastycznego, po czym dokonuje się jej rozciągnięcia na kalandrach, tak aby otrzymać membranę w postaci rurki o średnicy zewnętrznej od 30 do 600 μm, albo - według wariantu c), w którym materiał otrzymany w pierwszym etapie w formie folii doprowadza się do temperatury ±30°C od temperatury przejścia plastycznego, po czym dokonuje się jej rozciągnięcia na kalandrach, tak aby otrzymać membranę w postaci płaskiej folii o grubości od 0,2 do 200μm.The subject of the invention is a membrane made of an organic material with pore-forming, anti-inflammatory and anticoagulant properties and a method of its preparation consisting in the first stage of producing a material for the construction of the membrane in such a way that a polar solvent and an acid are introduced into the reactor under an atmosphere of inert gas. selected from: sulfuric acid VI, hydrochloric or acetic acid, in proportions from 2 ÷ 0.002 to 7 ÷ 0.002, and then 4- (diphenylamino) benzaldehyde in the amount of 0.2 g to 0.7 is added to 50 mL of the mixture thus formed g and 1,3-indandione in an amount from 0.01 g to 0.08 g and stirred until a homogeneous mixture is obtained, then the suspension is washed with inert gas, heated to reflux under an inert gas atmosphere and stirred intensively for a period of time. at least 18 hours, after the mixing process, the resulting mixture is cooled to a temperature of 20 to 35 ° C and subjected to column chromatography in a SiO2 bed and in the mobile phase mixtures of hexane and methylene chloride, then vacuum dried for at least 20 hours to a constant mass, then recrystallized from chloroform, and the recrystallization product is placed in a homogenizer and the base is introduced in the form of: polypropylene (PP) or polyurethane (PU) or poly-terephthalate ethylene (PET) or polycarbonate (PC) or polyoxymethylene (POM) or polysulfone (PSU) or silicone or a fluoropolymer, preferably poly (tetrafluoroethylene) (PTFE) or polyvinylidene fluoride (PVDF) or a copolymer of tetrafluoroethylene and hexafluoropropylene in the proportion (FEP), base - recrystallization from 50 ÷ 2 to 5000 ÷ 2, then mixed until a homogeneous mixture is obtained and dried for at least 20 hours at a temperature of 80 - 110 ° C, then the material is extruded on a linear head in the form of a string or on a head crosswise in the form of a tube or on a flat head in the form of a foil, and in the next stage the process of heparin immobilization to the steric structure of the mater body in such a way that its content in the material in the base - heparin ratio from 80 ÷ 1 to 1200 ÷ 1, in such a way that after initial cooling in a bath containing a supersaturated aqueous solution of heparin to a temperature of ± 30 ° C from the plastic transition temperature, its stretching on the calenders, then the second, final stage of membrane production is carried out, which is carried out in three ways depending on the form of the material obtained in the first stage, i.e. either - according to variant a), in which the material obtained in the first stage in the form of a string is fed temperature of ± 30 ° C from the plastic transition temperature, and then it is stretched on calenders so as to obtain a membrane in the form of a flat foil with a thickness of 0.2 to 200 μm, or - according to variant b), in which the material obtained in the first stage, in the form of a tube, it is brought to a temperature of ± 30 ° C from the plastic transition temperature, then it is stretched on calenders, ta k to obtain a membrane in the form of a tube with an outside diameter of 30 to 600 μm, or - according to variant c), in which the material obtained in the first stage in the form of a film is brought to a temperature of ± 30 ° C from the plastic transition temperature, and then stretching it on calenders so as to obtain a membrane in the form of a flat foil with a thickness of 0.2 to 200 μm.