view · edit · sidebar · attach · print · history

20120425-update-export-fachinfo-yaml-docx-parse

<< | Index | >>


Summary

  • Updated Fachinfo exporter job.
  • Create docx html converter tool.

Commits

Index


Update export_fachinfo_yaml

ch.oddb> fachinfos.length
-> 4731
ch.oddb> effective_fachinfos.length
-> 3488

Added export_effective_fachinfos method for fachinfo_now.yaml in src/plugin/yaml.rb.

in src/util/exporter.rb

    def export_fachinfo_yaml
      exporter = YamlExporter.new(@app)
      safe_export 'fachinfo.yaml' do
        exporter.export_fachinfos
      end
      safe_export 'fachinfo_now.yaml' do
        exporter.export_effective_fachinfos
      end 
    end

Added now option to job.

$ sudo -u apache jobs/export_fachinfo_yaml now

bin/admin

ch.oddb> Exporter.new(self).export_fachinfo_yaml('now')
  • option: now (active fachinfo only)
  • opiton: none (all fachinfo)

Create docx to html converter

see

I tried to parse/build with nokogiri.

Refs

added Table style option

Improved Table span

</w:tblGrid>
<w:tr w:rsidR="0017544B" w:rsidRPr="0038288A" w:rsidTr="00C93C19">
  <w:tc>
    <w:tcPr>
      <w:tcW w:w="6544" w:type="dxa"/>
      <w:gridSpan w:val="3"/>
    </w:tcPr>
    <w:p w:rsidR="0017544B" w:rsidRPr="0038288A" w:rsidRDefault="0017544B" w:rsidP="00C93C19">
      <w:pPr>
        <w:spacing w:line="360" w:lineRule="auto"/>
        <w:jc w:val="center"/>
        <w:rPr>
          <w:rFonts w:eastAsia="Times New Roman"/>
          <w:b/>
          <w:sz w:val="20"/>
        </w:rPr>
      </w:pPr>
      <w:r w:rsidRPr="0038288A">
        <w:rPr>
          <w:rFonts w:eastAsia="Times New Roman"/>
          <w:b/>
          <w:sz w:val="20"/>
        </w:rPr>
        <w:lastRenderedPageBreak/>
        <w:t>Pädiatrie (6 bis &lt;18 Jahre): Reyataz/Ritonavir</w:t>
      </w:r>
    </w:p>
  </w:tc>
</w:tr>
view · edit · sidebar · attach · print · history
Page last modified on April 25, 2012, at 07:30 PM