<< | Index | >>
[ {"search_query":"7680463450531","drug":"panadol 1000 mg, 10 suppositorien"}, {"search_query":"7680463450456","drug":"panadol 500 mg, 10 suppositorien"}, {"search_query":"7680581200018","drug":"panadol antigrippine, 10 sachet(s)"}, ...
Created ajax event as ajax_delete_drug
.
in src/state/drugs/prescription.rb
def ajax_delete_drug check_model if ean13 = @session.persistent_user_input(:ean13) drugs = @session.persistent_user_input(:drugs) || {} drugs.delete(ean13) @session.set_persistent_user_input(:drugs, drugs) end AjaxDrugs.new(@session, @model) end
ean13 contains ::iksnr: and ::ikscd:
@@ean13_form = /^(7680)(\d{5})(\d{3})(\d)$/u
Improved init of session.
in src/state/drugs/prescription.rb
def init if @session.event.to_sym == self.class::DIRECT_EVENT and drugs = @session.persistent_user_input(:drugs) # init @session.set_persistent_user_input(:drugs, {}) end super end
updated note text.
Attach:Rezept_Yasuhiro_Asaka_08.1982.csv.txt