Skip to content

Commit

Permalink
Merge pull request #244 from ngiger/issue-238
Browse files Browse the repository at this point in the history
(#238): Fix Selbstbehalt
  • Loading branch information
zdavatz authored Feb 8, 2024
2 parents a897b13 + 0b6f738 commit 961851b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/custom/lookandfeelbase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,9 @@ def google_analytics_token
:deactivate_patinfo => 'Patinfo deaktivieren (dd.mm.YYYY)',
:deductible => 'Selbstbehalt',
:deductible_display => 'Selbstbehalt anzeigen',
:deductible_g => '10%',
:deductible_g => '20%',
:deductible_legal_url => 'https://www.bag.admin.ch/bag/de/home/suche.html#Selbstbehalt',
:deductible_o => '20%',
:deductible_o => '40%',
:deductible_title0 => 'Für dieses Produkt bezahlen Sie ',
:deductible_title1 => ' <a href="https://www.bag.admin.ch/bag/de/home/suche.html#Selbstbehalt">Selbstbehalt</a>.<br>Achten Sie auf Ihre Krankenkassen-Abrechnung!',
:deductible_unknown => 'k.A.',
Expand Down Expand Up @@ -1910,9 +1910,9 @@ def google_analytics_token
:deactivate_fachinfo => 'Désactiver l\'information professionnelle (dd.mm.YYYY)',
:deactivate_patinfo => 'Désactiver l\'information liée au patient (dd.mm.YYYY)',
:deductible => 'Quote-part',
:deductible_g => '10%',
:deductible_g => '20%',
:deductible_legal_url => 'https://www.bag.admin.ch/bag/fr/home/suche.html#Participation%20aux%20co%C3%BBts',
:deductible_o => '20%',
:deductible_o => '40%',
:deductible_title0 => 'Le <a href="https://www.bag.admin.ch/bag/fr/home/suche.html#Participation%20aux%20co%C3%BBts">quote-part</a> pour ce produit est ',
:deductible_title1 => '.<br>Faites attention à votre facture de la caisse maladie!',
:deductible_unknown => 'N.O.',
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/bsv_xml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def tag_end name
@reg_data.store(:generic_type, (gtype || :unknown))
end
@pac_data.store :sl_generic_type, gtype
when 'FlagSB20'
when /FlagSB/
@pac_data.store :deductible, @text == 'Y' ? :deductible_o : :deductible_g
when 'FlagNarcosis'
@data.store :narcotic, @text == 'Y'
Expand Down
2 changes: 1 addition & 1 deletion test/data/xml/nasonex_2024.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<SwissmedicNo5>54189</SwissmedicNo5>
<FlagItLimitation>Y</FlagItLimitation>
<OrgGenCode>O</OrgGenCode>
<FlagSB20>N</FlagSB20>
<FlagSB>N</FlagSB>
<FlagGGSL>N</FlagGGSL>
<CommentDe />
<CommentFr />
Expand Down

0 comments on commit 961851b

Please sign in to comment.