X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fview_prescription.sh;h=0fdd871691c7ce1ea4bb86b425ec36c55025af05;hp=d31accaef86ee12cdbc881de544d43d009922a90;hb=957f0ced0095d421006a0dbc68ef9be8a4325514;hpb=afdc06688cc51a168011da48adbafcba238d3ae1 diff --git a/templates/view_prescription.sh b/templates/view_prescription.sh index d31acca..0fdd871 100755 --- a/templates/view_prescription.sh +++ b/templates/view_prescription.sh @@ -18,31 +18,40 @@ check(){ [ "$1" = "$2" ] && printf checked} cat < -

$(l10n therapy_prescription)

- +
+
${mpx[insurance]}
-${mpx[name]} -
+${mpx[name]} ${mpx[bday]}
${mpx[date]} +
+
+

$(l10n therapy_prescription)


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

$(l10n prescription_by_catalogue)


-
@@ -57,39 +66,47 @@ cat <$(l10n housecall)
+
-
- -${mpx[remidy]} -
- -${mpx[quantity]} -
- -${mpx[quantity_weekly]} +
+ + + + ${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[icd10]} +

+
+

+ + ${mpx[indicator_reading]} +

+

+ + $mpx[issuer] +

-
- -${mpx[remidy1]} -
- -${mpx[quantity1]} -
- -${mpx[quantity_weekly1]} - -
- -${mpx[indicator]} -
- -${mpx[icd10]} - -
- +
-
-$(l10n edit) +
+$(l10n edit) +$(l10n therapy) +
END_HTML