X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fview_prescription.sh;h=0fdd871691c7ce1ea4bb86b425ec36c55025af05;hp=c11bd9de731cd03bcb9d24fe0c1a9d673df7aca1;hb=957f0ced0095d421006a0dbc68ef9be8a4325514;hpb=547778804d2beb3394ae47218d7490e6095b778c diff --git a/templates/view_prescription.sh b/templates/view_prescription.sh index c11bd9d..0fdd871 100755 --- a/templates/view_prescription.sh +++ b/templates/view_prescription.sh @@ -18,7 +18,7 @@ check(){ [ "$1" = "$2" ] && printf checked} cat < +
${mpx[insurance]} @@ -34,13 +34,20 @@ cat <
-

$(l10n therapy_prescription)

+

$(l10n therapy_prescription)


${mpx[addcontrib]} - + +${mpx[contribconfirm]} +
+ +

$(l10n prescription_by_catalogue)

@@ -49,9 +56,9 @@ cat <
- -
+
+
@@ -62,33 +69,42 @@ cat <
- - - - -${mpx[quantity]} -${mpx[remidy]} -${mpx[quantity_weekly]} - - - - -${mpx[quantity1]} -${mpx[remidy1]} -${mpx[quantity_weekly1]} - + + + + ${mpx[quantity]} + ${mpx[remidy]} + ${mpx[quantity_weekly]} +$( for n in {0..10}; do + [ -n "${mpx[quantity$n]}" -o -n "${mpx[remidy$n]}" -o -n "${mpx[quantity_weekly$n]}" ] \ + && printf ' + %s + %s + %s + ' "${mpx[quantity$n]}" "${mpx[remidy$n]}" "${mpx[quantity_weekly$n]}" +done )
- -${mpx[indicator]} +

+ + ${mpx[indicator]} +
+ + ${mpx[icd10]} +


- -${mpx[icd10]} -
+

+ + ${mpx[indicator_reading]} +

+

+ + $mpx[issuer] +

- +
-$(l10n edit) +$(l10n edit) $(l10n therapy)