<< | Index | >>
After swissmedicinfo
Job, name is there.
% be bin/admin ch.oddb> registration("00450").fachinfo.description("de").name.class -> ODDB::Text::Chapter ch.oddb> registration("00450").fachinfo.description("de").name -> FSME-Immun CC
To get iksnrs that don't have name in fachinfo.description
ch.oddb> effective_fachinfos.values.length -> 3728 ch.oddb> effective_fachinfos.values.select {|fi| fi.description("de").name.nil? || fi.description("fr").name.nil? }.length -> 44 ch.oddb> p effective_fachinfos.values.select {|fi| fi.description("de").name.nil? || fi.description("fr").name.nil? }.map{|fi| fi.iksnrs }.flatten # output ["34057", "54787", "54788", "58796", "56264", "57504", "52073", "46440", "54041", "60458", "60457", "56958", "49742", "55381", "44603", "56238", "56239", "45723", "45724", "47127", "59318", "54108", "56947", "47830", "54268", "55431", "51409", "55800", "61201", "49638", "31095", "55345", "44192", "53181", "41717", "29152", "49298", "57822", "44157", "00683", "52459", "10386", "52433", "53924", "51704", "59374", "38174", "57460", "52964", "57602", "43225", "61350"]
as argement.
34057 54787 54788 58796 56264 57504 52073 46440 54041 60458 60457 56958 49742 55381 44603 56238 56239 45723 45724 47127 59318 54108 56947 47830 54268 55431 51409 55800 61201 49638 31095 55345 44192 53181 41717 29152 49298 57822 44157 00683 52459 10386 52433 53924 51704 59374 38174 57460 52964 57602 43225 61350
So
fachinfo_now_yaml
(only now)