X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=templates%2Fedit_prescription.sh;h=8ac9bb7e5c6cef68d9f1d530cbb96370f2a7e34b;hb=8c40caf97226f3b5eb4812e7ce24183b1c83efea;hp=d4dce32e36f9c50f8a065a48af86ec47c5e6996a;hpb=18ecf2c0b034e25c418a83ecb1adefb9f3f04cd8;p=lobster diff --git a/templates/edit_prescription.sh b/templates/edit_prescription.sh index d4dce32..8ac9bb7 100755 --- a/templates/edit_prescription.sh +++ b/templates/edit_prescription.sh @@ -15,58 +15,135 @@ # You should have received a copy of the GNU Affero General Public License # along with Confetti. If not, see . +check(){ [ "$1" = "$2" ] && printf checked} +[ -z $mpx[presctype] ] && mpx[presctype]=doctor_compulsory + cat < + + +$(l10n doctor): + +$(l10n selfpaid) + +$(l10n private) + +$(l10n compulsory) + + +$(l10n dentist): + +$(l10n selfpaid) + +$(l10n private) + +$(l10n compulsory) + +$(l10n noprescription): + +$(l10n selfpaid) + + +$(l10n altpractition): + +$(l10n selfpaid) + +$(l10n private) + + + $(l10n insurance) - + + $(l10n name) - $(l10n bday) - + +${mpx[name]} + + $(l10n date) - + + + + +$(l10n therapy_prescription) $(l10n addcontrib) - - + $(l10n contribconfirm) + + +$(l10n contribreceipt) + + +$(l10n prescreviewed) + + $(l10n prescription_by_catalogue) - + $(l10n prescfirst) - + + $(l10n prescfollow1) - + + $(l10n prescfollow2) - + + $(l10n prescother) - + + $(l10n presccontinual) - + + $(l10n grouptherapy) - + + $(l10n housecall) - + + $(l10n report) + + $(l10n quantity) - $(l10n remidy) - $(l10n quantity_weekly) - + +${mpx[remidy]} + + +$(l10n quantity) +$(l10n remidy) +$(l10n quantity_weekly) + +${mpx[remidy1]} + + + $(l10n indicator) - + + $(l10n icd10) - - - -$(l10n prescreviewed) + + + + +$(l10n indicator_reading) +${mpx[indicator_reading]} + + + +$(l10n save) +$(l10n cancel) +$(l10n delete) + END_HTML
$(l10n indicator) - + + $(l10n icd10) - - - -$(l10n prescreviewed) + +
+$(l10n indicator_reading) +${mpx[indicator_reading]} +