view · edit · sidebar · attach · print · history

20130206-update-oddb2xml-output

<< | Index | >>


Summary

  • Change limitation.xml.

Commits

Index


Change-limitation.xml

Uniquey key of limitation

Update unique keys by limitation entries as ID(SwissmedicNo8, SwissmedicNo5, Pharmacode) + LIMTYPE.

commit

Priority of limitation ID

Changed the order of priority.

  • SwissmedicNo5
  • SwissmedicNo8
  • Pharmacode (If there is no related SwissmedicNo.)
commit

Currently, there are 28 Pharmacodes in limitation.xml.
Only use this like following case.

z.B.

BAGxml
<Preparation ProductCommercial="1111821">
  <NameDe>Torisel</NameDe>^M
  ...
  <SwissmedicNo5 />^M                        <= no No5
  ...
  <Packs>^M
    ...
  <Packs>
  <Substances>^M
    ...
  </Substances>^M
  <Limitations>^M                            <= Preparation > Limitation
    <Limitation>^M
      <LimitationCode>TORISEL</LimitationCode>^M
      <LimitationType>DIA</LimitationType>^M
      <LimitationNiveau>P</LimitationNiveau>^M
      <LimitationValue />^M
      ...
    </Limitation>^M
  </Limitations>^M
  ...
</Preparation>
oddb_limitation.xml
 <LIM DT="">
  <Pharmacode>4055570</Pharmacode>           # => Pharmacode
  <IT>07.16.10.</IT>
  <LIMTYP>DIA</LIMTYP>
  <LIMVAL/>
  <LIMNAMEBAG>TORISEL</LIMNAMEBAG>
  <LIMNIV>P</LIMNIV>
  <DSCRD>... </DSCRF>
  <VDAT>01.04.2010</VDAT>
</LIM>  

Fix orphans bug

Fix bug at reading of Number(Float) from spreadsheet.

Change ORPH

Update ORPH tag of product.xml.

view · edit · sidebar · attach · print · history
Page last modified on February 06, 2013, at 10:57 AM