const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/completionStore-D7-0CLjv.js","assets/index-OSKNspXo.js","assets/index-DGjjUWKZ.css","assets/QImg-a_u7l0UL.js","assets/QCircularProgress-CYK5xRCJ.js","assets/picto-scan-produit-BKgjsXCB.js","assets/p2_boite_pass-DY8FqOvq.js","assets/QBanner-B9C11qvC.js","assets/QDate-jX_qru4n.js","assets/use-render-cache-DLxPkVnQ.js","assets/QPopupProxy-D6KhZL6Z.js","assets/QForm-PGP8CIo6.js","assets/deenovaPrinterListComponent-DVDZgpK4.js","assets/use-dialog-plugin-component-C1Nnn8u2.js"])))=>i.map(i=>d[i]);
import{d as O,u as F,x as W,an as I,L,c as B,a as n,y as K,ac as J,di as Q}from"./index-OSKNspXo.js";const H={"completion.plus.api.errors.check_product_error":"Fehler beim Überprüfen des Produkts","completion.plus.api.errors.fetch_gpao_failed":"Abrufen der GPAO-Daten fehlgeschlagen","completion.plus.api.errors.fetch_wards_failed":"Abrufen der Stationen fehlgeschlagen","completion.plus.api.errors.header_row_mismatch":"Header- und Zeilenlänge stimmen nicht überein","completion.plus.api.errors.invalid_value":"Ungültiger Wert","completion.plus.api.errors.missing_parameters":"Erforderliche Parameter fehlen","completion.plus.api.errors.multiple_stocks":"Mehrere Bestände für dieses Produkt gefunden, überprüfen Sie die Informationen dieser Charge","completion.plus.api.errors.no_items_to_complete":"Keine zu vervollständigenden Elemente für die angegebenen Kriterien gefunden","completion.plus.api.errors.no_products":"Keine Produkte bereitgestellt","completion.plus.api.errors.no_stock":"Dieses Produkt hat keinen Bestand, überprüfen Sie die Informationen dieser Charge","completion.plus.api.errors.no_valid_quantity":"Keine gültige Menge bereitgestellt","completion.plus.api.errors.product_not_found_gtin":"Produkt nicht gefunden, überprüfen Sie die Informationen dieser Referenz mit der PZN","completion.plus.api.errors.required_config_not_found":"Erforderliche Konfiguration nicht gefunden","completion.plus.api.errors.serial_not_found":"Seriennummer nicht gefunden, dieses Produkt könnte bereits verwendet worden sein","completion.plus.api.errors.update_gpao_failed":"Aktualisierung der GPAO-Daten fehlgeschlagen","completion.plus.api.success.printing_finished":"Drucken abgeschlossen","completion.plus.error.too_many_products":"Zu viele Produkte gefunden, Datenbank inkonsistent.","completion.plus.globaltable.header.designation":"Bezeichnung","completion.plus.globaltable.header.fraction":"Fraktion","completion.plus.globaltable.header.quantity":"Menge","completion.plus.globaltable.header.reference":"Referenz","completion.plus.globaltable.header.rule":"Vert.","completion.plus.globaltable.header.stock":"Bestand","completion.plus.gpao.no_data.label":"Keine Daten gefunden","completion.plus.help.markdown":`# Wie man eine Pillbox vervollständigt

## Schritt-für-Schritt-Prozess

1. **Vervollständigungsmodus wählen**
   - Gehen Sie entweder zum Modus *Nominative Vervollständigung* oder *Globale Vervollständigung*.

2. **Nominativer Modus**
   - Scannen Sie eine Pillbox-Nummer oder geben Sie diese manuell ein.
   - Eine Liste erscheint, die alle Produkte für das gesamte Tablett mit Pillboxen zeigt.
   - Klicken Sie auf ein Produkt oder scannen Sie seinen Code, um es auszuwählen. Die Oberfläche zeigt, welche Pillbox dieses Produkt benötigt und wie viele Einheiten fehlen.
   - Wählen Sie die zu vervollständigende Pillbox aus und scannen Sie die erforderliche Anzahl von Produkten.
   - Validieren Sie, um den Prozess abzuschließen.

3. **Globaler Modus**
   - Wählen Sie eine Dispensation aus der Auswahlbox, anstatt eine Pillbox zu scannen.
   - Der Rest des Prozesses ist identisch: Produkte auswählen, Pillboxen wählen, Produkte scannen und validieren.

4. **Entnahme abschließen**
   - Gehen Sie zur Seite "Entnahme abschließen".
   - Wählen Sie eine Dispensation in der Auswahlbox.
   - Eine Liste von Produkten pro Patient wird angezeigt. Wählen Sie eine beliebige Anzahl von Produkten und klicken Sie auf "Senden".
   - Dies sendet die Daten an das Lagerverwaltungssystem (WMS). Jedes gesendete Produkt wird als validiert markiert und kann nicht weiter vervollständigt werden.

5. **An WMS senden Abschnitt**
   - Verwenden Sie diesen Abschnitt, um eine Anfrage an das WMS für vollständige Packungen eines Produkts zu senden.
`,"completion.plus.pillbox.add_prompt":"Bitte {0} Einheiten hinzufügen von","completion.plus.pillbox.added_prompt":"Referenz abgeschlossen! [x{0}]","completion.plus.pillbox.button.add_products":"Befüllung starten","completion.plus.pillbox.button.send_zero":'Als "wird nicht abgeschlossen" eingestellt',"completion.plus.pillbox.send_prompt":"Vervollständigung validiert! [{0}/{1}]","completion.plus.print.error":"Fehler beim Drucken der Liste aufgetreten","completion.plus.print.header.forme":"EXO","completion.plus.print.header.fraction":"Fraktion","completion.plus.print.header.quantite":"Anz.","completion.plus.print.header.reference":"Referenz","completion.plus.print.header.risque":"Riskant","completion.plus.print.header.stup":"Betäubungsmittel","completion.plus.print.success":"Liste erfolgreich gedruckt","completion.plus.scan.errors.no_serial_found":"Keine Seriennummer gefunden","completion.plus.scan.errors.no_valid_code":"Kein gültiger Code gefunden!","completion.plus.scandialog.buttons.cancel":"Abbrechen","completion.plus.scandialog.buttons.ok":"OK","completion.plus.scandialog.errors.duplicate_serial":"Produkt mit derselben Seriennummer bereits gescannt","completion.plus.scandialog.errors.enough_products":"Genügend Produkte gescannt!","completion.plus.scandialog.errors.wrong_product":"Falsches Produkt gescannt!","completion.plus.scandialog.fields.batch_number":"Chargennummer","completion.plus.scandialog.fields.date_placeholder":"JJJJ/MM/TT","completion.plus.scandialog.fields.expiration_date":"Verfallsdatum","completion.plus.scandialog.fields.gtin":"GTIN","completion.plus.scandialog.fields.quantity":"Anzahl Dosen in der Schachtel","completion.plus.scandialog.fields.serial_number":"Seriennummer","completion.plus.scandialog.form_title":"Produktdetails eingeben:","completion.plus.scandialog.labels.no_designation":"Keine Bezeichnung","completion.plus.scandialog.labels.no_reference":"Keine Referenz","completion.plus.scandialog.labels.of":"von","completion.plus.scandialog.labels.scan_prompt":"Bitte scannen Sie ein Produkt","completion.plus.scandialog.labels.scanned_product":"Gescanntes Produkt:","completion.plus.scandialog.manual_entry.alert":"Achtung: Sie geben die Daten manuell ein, bitte stellen Sie sicher, dass die Daten korrekt sind! Sie können die Fehlermeldungen beim Scannen ignorieren.","completion.plus.scandialog.manual_entry.button":"Kann mein Produkt nicht scannen","completion.plus.scandialog.manual_entry.tooltip":"Schachtelinformationen manuell ausfüllen. Nur WMS-Produkte.","completion.plus.scandialog.print_success":"Drucken erfolgreich","completion.plus.scandialog.printing.title":"Ein Schachteletikett drucken","completion.plus.scandialog.printing_disabled":"Bitte füllen Sie die fehlenden Informationen aus, bevor Sie ein Dosenetikett drucken","completion.plus.scandialog.products.batch":"Charge","completion.plus.scandialog.products.label_serial":"Etikett-Seriennummer","completion.plus.scandialog.products.no_products":"Noch keine Produkte gescannt","completion.plus.scandialog.products.reference":"Referenz","completion.plus.scandialog.products.serial":"Seriennummer","completion.plus.scandialog.products.title":"Gescannte Produkte","completion.plus.scandialog.title":"Produktscan","completion.plus.scandialog.validation.batch_required":"Chargennummer ist erforderlich","completion.plus.scandialog.validation.date_future":"Datum kann nicht in der Vergangenheit liegen","completion.plus.scandialog.validation.expiration_required":"Verfallsdatum ist erforderlich","completion.plus.scandialog.validation.gtin_required":"Bitte wählen Sie eine GTIN","completion.plus.scandialog.validation.quantity_positive":"Menge muss größer als 0 sein","completion.plus.scandialog.validation.quantity_required":"Menge ist erforderlich","completion.plus.ui.arx.tooltip":"Kein Lagerbestand für dieses Produkt, eine Anfrage an das Lagerverwaltungssystem sollte gesendet werden.","completion.plus.ui.clear_input.button":"Eingabe löschen und neue Pillbox scannen","completion.plus.ui.completion_success":"Artikel erfolgreich vervollständigt","completion.plus.ui.dashboard.title":"Aide-Plus Dashboard","completion.plus.ui.default_screenTitle":"Fertigstellung","completion.plus.ui.finished.label":"Dieser Artikel wurde fertiggestellt, es können keine weiteren Produkte hinzugefügt werden.","completion.plus.ui.global.title":"Global","completion.plus.ui.global_screenTitle":"Globale Vervollständigung","completion.plus.ui.gpao_screenTitle":"Kommunikation mit Drittsoftware","completion.plus.ui.gpao_table.all_wards":"Alle Stationen","completion.plus.ui.gpao_table.designation":"Bezeichnung","completion.plus.ui.gpao_table.export_btn":"Tabelle exportieren","completion.plus.ui.gpao_table.fraction":"Fraktion","completion.plus.ui.gpao_table.full_send_tooltip":"Dadurch werden alle leeren Zeilen und vollständig ausgefüllten Zeilen gesendet","completion.plus.ui.gpao_table.ipp":"IPP","completion.plus.ui.gpao_table.patient":"Patient","completion.plus.ui.gpao_table.patient_details.birthdate":"Geburtsdatum","completion.plus.ui.gpao_table.patient_details.ipp":"Patientennummer","completion.plus.ui.gpao_table.patient_details.maiden_name":"Mädchenname","completion.plus.ui.gpao_table.patient_details.pillbox":"Medikamentendose","completion.plus.ui.gpao_table.patient_details.stay":"Aufenthalt","completion.plus.ui.gpao_table.pillbox":"Medikamentendose","completion.plus.ui.gpao_table.quantity":"Menge","completion.plus.ui.gpao_table.reference":"Referenz","completion.plus.ui.gpao_table.refresh_btn":"Refresh","completion.plus.ui.gpao_table.refreshing":"Automatische Aktualisierung","completion.plus.ui.gpao_table.select_all_full":"Alle vollen Zeilen senden","completion.plus.ui.gpao_table.state":"Status","completion.plus.ui.gpao_table.stay":"Aufenthalt","completion.plus.ui.gpao_table.stock":"Bestand","completion.plus.ui.gpao_table.validate_button":"Senden an {name}","completion.plus.ui.gpao_table.ward":"Station","completion.plus.ui.gpao_table.ward_filter":"Stationen","completion.plus.ui.gpao_type.completion":"Zu vervollständigende Produkte (Vervollständigung / D)","completion.plus.ui.gpao_type.output":"Kommissionierte Produkte (Ausgabe / S)","completion.plus.ui.help_banner.pick.text_1":"Mit dieser Ansicht können Sie den Kommissioniervorgang für eine Station abschließen, indem Sie die Informationen an das Lagerverwaltungssystem senden.","completion.plus.ui.help_banner.pick.text_2":"Diese Aktion ist endgültig und kann nicht rückgängig gemacht werden.","completion.plus.ui.help_banner.pick.title":"Abschluss des Kommissioniervorgangs","completion.plus.ui.help_banner.wms.text":"Diese Ansicht dient dazu, die Liste der Produkte an das Lagerverwaltungssystem zu senden","completion.plus.ui.help_banner.wms.title":"Senden an das Lagerverwaltungssystem","completion.plus.ui.help_screenTitle":"Abschlüsse : Hilfebereich","completion.plus.ui.missing_products.title":"Zusammenfassung der Produkte auf diesem Tablett","completion.plus.ui.next.button":"Weiter","completion.plus.ui.no_pillbox":"Keine Medikamentendose an dieser Position","completion.plus.ui.no_stock.label":"Kein Bestand. Schwellenwert vorhanden.","completion.plus.ui.no_stock.tooltip":"Dieses Produkt hat keinen Bestand, wird aber von Median verwaltet.","completion.plus.ui.nomatif.title":"Nominativ","completion.plus.ui.nominative_screenTitle":"Nominative Vervollständigung","completion.plus.ui.pick_screenTitle":"Kommissionierung abschließen","completion.plus.ui.pillbox_input.hint":"Eine Pillendose scannen oder einen Code manuell eingeben","completion.plus.ui.previous.button":"Zurück","completion.plus.ui.product_in_list":"Dieses Produkt ist bekannt, aber nicht in dieser Liste enthalten","completion.plus.ui.product_not_found":"Dieses Produkt ist unbekannt.","completion.plus.ui.refresh_tray.button":"Fachdaten aktualisieren","completion.plus.ui.scan_now.button":"Jetzt scannen","completion.plus.ui.select_gpao.fetch_data":"Daten aktualisieren","completion.plus.ui.select_gpao.no_data":"Keine Daten, bitte wählen Sie eine Station.","completion.plus.ui.select_gpao.state.processing":"Dieses Element wird verarbeitet.","completion.plus.ui.select_gpao.state.sent":"Dieses Element kann gesendet werden.","completion.plus.ui.select_gpao.subtitle":"Scannen Sie eine Medikamentendose, um deren Inhalt anzuzeigen","completion.plus.ui.select_gpao.title":"Eine Medikamentendose scannen","completion.plus.ui.shelves.label":"Regale","completion.plus.ui.start_completing.button":"Vervollständigung starten","completion.plus.ui.tab.finalise_picking":"Picking abschließen","completion.plus.ui.tab.global_completion":"Globale Vervollständigung","completion.plus.ui.tab.help":"Hilfe","completion.plus.ui.tab.nominative_completion":"Nominative Vervollständigung","completion.plus.ui.tab.send_to_wms":"Senden an {0}","completion.plus.ui.tray_description":"Tablett mit Medikamentendosen, die gescannte Dose ist hervorgehoben","completion.plus.ui.tray_ready.button":"Tablett bereit für Vervollständigung","completion.plus.ui.validate.button":"Informationen validieren","completion.plus.ui.validate.tooltip":"Dies bereitet die Datenbank für den Vervollständigungsprozess der Medikamentendose vor.","completion.plus.ui.wms.label":"ARX","completion.print.error_data_preparation":"Etiketten drucken: Fehler bei der Datenaufbereitung"},U=Object.freeze(Object.defineProperty({__proto__:null,default:H},Symbol.toStringTag,{value:"Module"})),Z={"completion.plus.api.errors.check_product_error":"Error checking product","completion.plus.api.errors.fetch_gpao_failed":"Failed to fetch GPAO data","completion.plus.api.errors.fetch_wards_failed":"Failed to fetch wards","completion.plus.api.errors.header_row_mismatch":"Header and row length mismatch","completion.plus.api.errors.invalid_value":"Invalid value","completion.plus.api.errors.missing_parameters":"Missing required parameters","completion.plus.api.errors.multiple_stocks":"Multiple stocks found for this product, check the info of this batch","completion.plus.api.errors.no_items_to_complete":"No items to complete found for the specified criteria","completion.plus.api.errors.no_products":"No products provided","completion.plus.api.errors.no_stock":"This product has no stock, check the info of this batch","completion.plus.api.errors.no_valid_quantity":"No valid quantity provided","completion.plus.api.errors.product_not_found_gtin":"Product not found, check the info of this reference with the UCD","completion.plus.api.errors.required_config_not_found":"Required configuration not found","completion.plus.api.errors.serial_not_found":"Serial not found, this product might already have been used","completion.plus.api.errors.update_gpao_failed":"Failed to update GPAO data","completion.plus.api.success.printing_finished":"Printing finished","completion.plus.error.too_many_products":"Too many products have been found, database inconsistent.","completion.plus.globaltable.header.designation":"Designation","completion.plus.globaltable.header.fraction":"Fraction","completion.plus.globaltable.header.quantity":"Quantity","completion.plus.globaltable.header.reference":"Reference","completion.plus.globaltable.header.rule":"Dist.","completion.plus.globaltable.header.stock":"Stock","completion.plus.gpao.no_data.label":"No data found","completion.plus.help.markdown":`# How to Complete a Pillbox

## Step-by-step Process

1. **Choose Completion Mode**
   - Go to either *Nominative Completion* or *Global Completion* mode.

2. **Nominative Mode**
   - Scan or manually enter a pillbox number.
   - A list appears showing all products for the entire tray of pillboxes.
   - Click on a product or scan its code to select it. The interface will show which pillbox needs this product and how many units are missing.
   - Select the pillbox to complete and scan the required number of products.
   - Validate to complete the process.

3. **Global Mode**
   - Choose a dispensation from the select box instead of scanning a pillbox.
   - The rest of the process is identical: select products, choose pillboxes, scan products, and validate.

4. **Finalise Picking**
   - Go to the "Finalise Picking" page.
   - Select a dispensation in the select box.
   - A list of products per patient is shown. Select any number of products and click "Send".
   - This sends the data to the warehouse management system (WMS). Each product sent is marked as validated and cannot be completed further.

5. **Send to WMS Section**
   - Use this section to send a request to the WMS for full packs of a product.
`,"completion.plus.pillbox.add_prompt":"Please add {0} units of","completion.plus.pillbox.added_prompt":"Reference completed! [x{0}]","completion.plus.pillbox.button.add_products":"Start filling","completion.plus.pillbox.button.send_zero":`Set as "won't be completed"`,"completion.plus.pillbox.send_prompt":"Completion validated! [{0}/{1}]","completion.plus.print.error":"An error occurred while printing the list","completion.plus.print.header.forme":"EXO","completion.plus.print.header.fraction":"Fraction","completion.plus.print.header.quantite":"Qty","completion.plus.print.header.reference":"Reference","completion.plus.print.header.risque":"Risky","completion.plus.print.header.stup":"Narcotic","completion.plus.print.success":"List printed successfully","completion.plus.scan.errors.no_serial_found":"No serial found","completion.plus.scan.errors.no_valid_code":"No valid code found!","completion.plus.scandialog.buttons.cancel":"Cancel","completion.plus.scandialog.buttons.ok":"OK","completion.plus.scandialog.errors.duplicate_serial":"Product with same serial already scanned","completion.plus.scandialog.errors.enough_products":"Enough scanned products!","completion.plus.scandialog.errors.wrong_product":"Wrong scanned product!","completion.plus.scandialog.fields.batch_number":"Batch Number","completion.plus.scandialog.fields.date_placeholder":"YYYY/MM/DD","completion.plus.scandialog.fields.expiration_date":"Expiration Date","completion.plus.scandialog.fields.gtin":"GTIN","completion.plus.scandialog.fields.quantity":"Quantity of doses in box","completion.plus.scandialog.fields.serial_number":"Serial Number","completion.plus.scandialog.form_title":"Enter product details:","completion.plus.scandialog.labels.no_designation":"No Designation","completion.plus.scandialog.labels.no_reference":"No Reference","completion.plus.scandialog.labels.of":"of","completion.plus.scandialog.labels.scan_prompt":"Please scan a product","completion.plus.scandialog.labels.scanned_product":"Scanned product:","completion.plus.scandialog.manual_entry.alert":"Warning : You will enter the data manually, please make sure the data is correct ! You can ignore scan related error messages.","completion.plus.scandialog.manual_entry.button":"Can't scan my product","completion.plus.scandialog.manual_entry.tooltip":"Fill manually the box info. WMS products only.","completion.plus.scandialog.print_success":"Printing successful","completion.plus.scandialog.printing.title":"Printing a box label","completion.plus.scandialog.printing_disabled":"Please fill in the missing information before printing a box label","completion.plus.scandialog.products.batch":"Batch","completion.plus.scandialog.products.label_serial":"Label serial","completion.plus.scandialog.products.no_products":"No products scanned yet","completion.plus.scandialog.products.reference":"Reference","completion.plus.scandialog.products.serial":"Serial","completion.plus.scandialog.products.title":"Scanned Products","completion.plus.scandialog.title":"Product Scan","completion.plus.scandialog.validation.batch_required":"Batch number is required","completion.plus.scandialog.validation.date_future":"Date cannot be in the past","completion.plus.scandialog.validation.expiration_required":"Expiration date is required","completion.plus.scandialog.validation.gtin_required":"Please select a GTIN","completion.plus.scandialog.validation.quantity_positive":"Quantity must be greater than 0","completion.plus.scandialog.validation.quantity_required":"Quantity is required","completion.plus.ui.arx.tooltip":"No stock for this product, a request to the warehouse management system should be sent.","completion.plus.ui.clear_input.button":"Clear input and scan new pillbox","completion.plus.ui.completion_success":"Item completed successfully","completion.plus.ui.dashboard.title":"Aide-Plus Dashboard","completion.plus.ui.default_screenTitle":"Completion","completion.plus.ui.finished.label":"This item has been finalised, no additionnal products can be added.","completion.plus.ui.global.title":"Global","completion.plus.ui.global_screenTitle":"Global Completion","completion.plus.ui.gpao_screenTitle":"Third-Party Software Communication","completion.plus.ui.gpao_table.all_wards":"All wards","completion.plus.ui.gpao_table.designation":"Designation","completion.plus.ui.gpao_table.export_btn":"Export table","completion.plus.ui.gpao_table.fraction":"Fraction","completion.plus.ui.gpao_table.full_send_tooltip":"This will send all empty lines and fully completed lines","completion.plus.ui.gpao_table.ipp":"IPP","completion.plus.ui.gpao_table.patient":"Patient","completion.plus.ui.gpao_table.patient_details.birthdate":"Birthdate","completion.plus.ui.gpao_table.patient_details.ipp":"Patient Number","completion.plus.ui.gpao_table.patient_details.maiden_name":"Maiden Name","completion.plus.ui.gpao_table.patient_details.pillbox":"Pillbox","completion.plus.ui.gpao_table.patient_details.stay":"Stay","completion.plus.ui.gpao_table.pillbox":"Pillbox","completion.plus.ui.gpao_table.quantity":"Quantity","completion.plus.ui.gpao_table.reference":"Reference","completion.plus.ui.gpao_table.refresh_btn":"Refresh","completion.plus.ui.gpao_table.refreshing":"Auto-Refreshing","completion.plus.ui.gpao_table.select_all_full":"Send all full lines","completion.plus.ui.gpao_table.state":"Status","completion.plus.ui.gpao_table.stay":"Stay","completion.plus.ui.gpao_table.stock":"Stock","completion.plus.ui.gpao_table.validate_button":"Send to {name}","completion.plus.ui.gpao_table.ward":"Ward","completion.plus.ui.gpao_table.ward_filter":"Wards","completion.plus.ui.gpao_type.completion":"Products to complete (Completion / D)","completion.plus.ui.gpao_type.output":"Picked products (Output / S)","completion.plus.ui.help_banner.pick.text_1":"This view allows you to finalise the picking process for a ward, by sending the information to the warehouse management system.","completion.plus.ui.help_banner.pick.text_2":"This action is definitive and cannot be undone.","completion.plus.ui.help_banner.pick.title":"Finalisation of the picking process","completion.plus.ui.help_banner.wms.text":"This view allows you to send the list of products to the warehouse management system","completion.plus.ui.help_banner.wms.title":"Send to the warehouse management system","completion.plus.ui.help_screenTitle":"Completions : Help section","completion.plus.ui.missing_products.title":"Summary of the products on this tray","completion.plus.ui.next.button":"Next","completion.plus.ui.no_pillbox":"No pillbox at this position","completion.plus.ui.no_stock.label":"No stock. Threshold exists.","completion.plus.ui.no_stock.tooltip":"This product has no stock but is managed by Median","completion.plus.ui.nomatif.title":"Nominative","completion.plus.ui.nominative_screenTitle":"Nominative Completion","completion.plus.ui.pick_screenTitle":"Finalise Picking","completion.plus.ui.pillbox_input.hint":"Scan a pillbox or type code manually","completion.plus.ui.previous.button":"Previous","completion.plus.ui.product_in_list":"This product is known but is not included in this list","completion.plus.ui.product_not_found":"This product is unknown.","completion.plus.ui.refresh_tray.button":"Refresh tray data","completion.plus.ui.scan_now.button":"Scan Now","completion.plus.ui.select_gpao.fetch_data":"Refresh data","completion.plus.ui.select_gpao.no_data":"No data, please select a ward.","completion.plus.ui.select_gpao.state.processing":"This element will be processed.","completion.plus.ui.select_gpao.state.sent":"This element can be sent.","completion.plus.ui.select_gpao.subtitle":"Please scan a pillbox to view its contents","completion.plus.ui.select_gpao.title":"Scan a pillbox","completion.plus.ui.shelves.label":"Shelves","completion.plus.ui.start_completing.button":"Start completing","completion.plus.ui.tab.finalise_picking":"Finalise Picking","completion.plus.ui.tab.global_completion":"Global Completion","completion.plus.ui.tab.help":"Help","completion.plus.ui.tab.nominative_completion":"Nominative Completion","completion.plus.ui.tab.send_to_wms":"Send to {0}","completion.plus.ui.tray_description":"Tray of pillboxes, the scanned box is highlighted","completion.plus.ui.tray_ready.button":"Tray ready for completion","completion.plus.ui.validate.button":"Validate the information","completion.plus.ui.validate.tooltip":"This will prepare the database for the pillbox completion process.","completion.plus.ui.wms.label":"ARX","completion.print.error_data_preparation":"Print Labels : Error while preparing data"},X=Object.freeze(Object.defineProperty({__proto__:null,default:Z},Symbol.toStringTag,{value:"Module"})),Y={"completion.plus.api.errors.check_product_error":"Erreur lors de la vérification du produit","completion.plus.api.errors.fetch_gpao_failed":"Échec de la récupération des données GPAO","completion.plus.api.errors.fetch_wards_failed":"Échec de la récupération des services","completion.plus.api.errors.header_row_mismatch":"Incompatibilité entre l'en-tête et la longueur des lignes","completion.plus.api.errors.invalid_value":"Valeur invalide","completion.plus.api.errors.missing_parameters":"Paramètres requis manquants","completion.plus.api.errors.multiple_stocks":"Plusieurs stocks trouvés pour ce produit, vérifiez les informations de ce lot","completion.plus.api.errors.no_items_to_complete":"Aucun élément à compléter trouvé pour les critères spécifiés","completion.plus.api.errors.no_products":"Aucun produit fourni","completion.plus.api.errors.no_stock":"Ce produit n'a pas de stock, vérifiez les informations de ce lot","completion.plus.api.errors.no_valid_quantity":"Aucune quantité valide fournie","completion.plus.api.errors.product_not_found_gtin":"Produit non trouvé, vérifiez les informations de cette référence avec le CIP","completion.plus.api.errors.required_config_not_found":"Configuration requise non trouvée","completion.plus.api.errors.serial_not_found":"Numéro de série non trouvé, ce produit pourrait déjà avoir été utilisé","completion.plus.api.errors.update_gpao_failed":"Échec de la mise à jour des données GPAO","completion.plus.api.success.printing_finished":"Impression terminée","completion.plus.error.too_many_products":"Trop de produits ont été trouvés, base de données incohérente.","completion.plus.globaltable.header.designation":"Désignation","completion.plus.globaltable.header.fraction":"Fraction","completion.plus.globaltable.header.quantity":"Quantité","completion.plus.globaltable.header.reference":"Référence","completion.plus.globaltable.header.rule":"Dist.","completion.plus.globaltable.header.stock":"Stock","completion.plus.gpao.no_data.label":"Aucune donnée trouvée","completion.plus.help.markdown":`# Comment compléter un pilulier

## Processus étape par étape

1. **Choisir le mode de complétion**
   - Allez soit en mode *Complétion nominative* soit en mode *Complétion globale*.

2. **Mode nominatif**
   - Scannez ou saisissez manuellement un numéro de pilulier.
   - Une liste apparaît montrant tous les produits pour l'ensemble du plateau de piluliers.
   - Cliquez sur un produit ou scannez son code pour le sélectionner. L'interface montrera quel pilulier a besoin de ce produit et combien d'unités manquent.
   - Sélectionnez le pilulier à compléter et scannez le nombre requis de produits.
   - Validez pour terminer le processus.

3. **Mode global**
   - Choisissez une dispensation dans la liste déroulante au lieu de scanner un pilulier.
   - Le reste du processus est identique : sélectionnez les produits, choisissez les piluliers, scannez les produits et validez.

4. **Finaliser la préparation**
   - Allez à la page "Finaliser la préparation".
   - Sélectionnez une dispensation dans la liste déroulante.
   - Une liste de produits par patient est affichée. Sélectionnez n'importe quel nombre de produits et cliquez sur "Envoyer".
   - Ceci envoie les données au système de gestion d'entrepôt (WMS). Chaque produit envoyé est marqué comme validé et ne peut plus être complété.

5. **Section Envoyer au WMS**
   - Utilisez cette section pour envoyer une demande au WMS pour des boîtes complètes d'un produit.
`,"completion.plus.pillbox.add_prompt":"Veuillez ajouter {0} unités de","completion.plus.pillbox.added_prompt":"Référence complétée ! [x{0}]","completion.plus.pillbox.button.add_products":"Commencer le remplissage","completion.plus.pillbox.button.send_zero":'Défini comme "ne sera pas complété"',"completion.plus.pillbox.send_prompt":"Complétion validée ! [{0}/{1}]","completion.plus.print.error":"Une erreur s'est produite lors de l'impression de la liste","completion.plus.print.header.forme":"EXO","completion.plus.print.header.fraction":"Fraction","completion.plus.print.header.quantite":"Qté","completion.plus.print.header.reference":"Référence","completion.plus.print.header.risque":"Risqué","completion.plus.print.header.stup":"Stupéfiant","completion.plus.print.success":"Liste imprimée avec succès","completion.plus.scan.errors.no_serial_found":"Aucun numéro de série trouvé","completion.plus.scan.errors.no_valid_code":"Aucun code valide trouvé !","completion.plus.scandialog.buttons.cancel":"Annuler","completion.plus.scandialog.buttons.ok":"OK","completion.plus.scandialog.errors.duplicate_serial":"Produit avec le même numéro de série déjà scanné","completion.plus.scandialog.errors.enough_products":"Assez de produits scannés !","completion.plus.scandialog.errors.wrong_product":"Mauvais produit scanné !","completion.plus.scandialog.fields.batch_number":"Numéro de lot","completion.plus.scandialog.fields.date_placeholder":"AAAA/MM/JJ","completion.plus.scandialog.fields.expiration_date":"Date d'expiration","completion.plus.scandialog.fields.gtin":"GTIN","completion.plus.scandialog.fields.quantity":"Quantité de doses dans la boîte","completion.plus.scandialog.fields.serial_number":"Numéro de série","completion.plus.scandialog.form_title":"Saisir les détails du produit :","completion.plus.scandialog.labels.no_designation":"Aucune désignation","completion.plus.scandialog.labels.no_reference":"Aucune référence","completion.plus.scandialog.labels.of":"sur","completion.plus.scandialog.labels.scan_prompt":"Veuillez scanner un produit","completion.plus.scandialog.labels.scanned_product":"Produit scanné :","completion.plus.scandialog.manual_entry.alert":"Avertissement : Vous allez entrer les données manuellement, assurez-vous que les données sont correctes ! Vous pouvez ignorer les messages d'erreur liés à la numérisation.","completion.plus.scandialog.manual_entry.button":"Impossible de scanner mon produit","completion.plus.scandialog.manual_entry.tooltip":"Remplir manuellement les informations de la boîte. Produits WMS uniquement.","completion.plus.scandialog.print_success":"Impression réussie","completion.plus.scandialog.printing.title":"Impression d'une étiquette de boîte","completion.plus.scandialog.printing_disabled":"Veuillez remplir les informations manquantes avant d'imprimer une étiquette de boîte","completion.plus.scandialog.products.batch":"Lot","completion.plus.scandialog.products.label_serial":"Numéro de série d'étiquette","completion.plus.scandialog.products.no_products":"Aucun produit scanné","completion.plus.scandialog.products.reference":"Référence","completion.plus.scandialog.products.serial":"N° série","completion.plus.scandialog.products.title":"Produits scanné","completion.plus.scandialog.title":"Scan du produit","completion.plus.scandialog.validation.batch_required":"Le numéro de lot est requis","completion.plus.scandialog.validation.date_future":"La date ne peut pas être dans le passé","completion.plus.scandialog.validation.expiration_required":"La date d'expiration est requise","completion.plus.scandialog.validation.gtin_required":"Veuillez sélectionner un GTIN","completion.plus.scandialog.validation.quantity_positive":"La quantité doit être supérieure à 0","completion.plus.scandialog.validation.quantity_required":"La quantité est requise","completion.plus.ui.arx.tooltip":"Il n'y a pas de stock pour ce produit, une demande au système de gestion d'entrepôt doit être envoyée.","completion.plus.ui.clear_input.button":"Effacer la saisie et scanner le nouveau pilulier","completion.plus.ui.completion_success":"Article complété avec succès","completion.plus.ui.dashboard.title":"Tableau de bord Aide-Plus","completion.plus.ui.default_screenTitle":"Compléments","completion.plus.ui.finished.label":"Cet article a été finalisé, aucun produit supplémentaire ne peut être ajouté.","completion.plus.ui.global.title":"Global","completion.plus.ui.global_screenTitle":"Complément global","completion.plus.ui.gpao_screenTitle":"Communication Logiciel Tiers","completion.plus.ui.gpao_table.all_wards":"Tous les services","completion.plus.ui.gpao_table.designation":"Désignation","completion.plus.ui.gpao_table.export_btn":"Export de la table","completion.plus.ui.gpao_table.fraction":"Fraction","completion.plus.ui.gpao_table.full_send_tooltip":"Cette opération permet d'envoyer toutes les lignes vides et les lignes entièrement remplies.","completion.plus.ui.gpao_table.ipp":"IPP","completion.plus.ui.gpao_table.patient":"Patient","completion.plus.ui.gpao_table.patient_details.birthdate":"Date de naissance","completion.plus.ui.gpao_table.patient_details.ipp":"Numéro du patient","completion.plus.ui.gpao_table.patient_details.maiden_name":"Nom de jeune fille","completion.plus.ui.gpao_table.patient_details.pillbox":"Pilulier","completion.plus.ui.gpao_table.patient_details.stay":"Séjour","completion.plus.ui.gpao_table.pillbox":"Pilulier","completion.plus.ui.gpao_table.quantity":"Quantité","completion.plus.ui.gpao_table.reference":"Référence","completion.plus.ui.gpao_table.refresh_btn":"Rafraîchir","completion.plus.ui.gpao_table.refreshing":"Rafraîchissement automatique","completion.plus.ui.gpao_table.select_all_full":"Envoyer toutes les lignes pleines","completion.plus.ui.gpao_table.state":"Etat","completion.plus.ui.gpao_table.stay":"Séjour","completion.plus.ui.gpao_table.stock":"Stock","completion.plus.ui.gpao_table.validate_button":"Envoyer vers {name}","completion.plus.ui.gpao_table.ward":"Service","completion.plus.ui.gpao_table.ward_filter":"Services","completion.plus.ui.gpao_type.completion":"Produits à compléter (Complément / D)","completion.plus.ui.gpao_type.output":"Produits prélevés (Sortie / S)","completion.plus.ui.help_banner.pick.text_1":"Cette vue vous permet de finaliser le processus de prélèvement pour une unité de soins, en envoyant les informations au système de gestion de l'entrepôt.","completion.plus.ui.help_banner.pick.text_2":"Cette action est définitive et ne peut pas être annulée.","completion.plus.ui.help_banner.pick.title":"Finalisation du processus de prélèvement","completion.plus.ui.help_banner.wms.text":"Cette vue permet d'envoyer la liste des produits au système de gestion de l'entrepôt.","completion.plus.ui.help_banner.wms.title":"Envoi au système de gestion de l'entrepôt","completion.plus.ui.help_screenTitle":"Compléments : Section d'aide","completion.plus.ui.missing_products.title":"Résumé des produits de ce plateau","completion.plus.ui.next.button":"Suivant","completion.plus.ui.no_pillbox":"Pas de pillulier à cette position","completion.plus.ui.no_stock.label":"Pas de stock. Le seuil existe.","completion.plus.ui.no_stock.tooltip":"Ce produit n'a pas de stock mais est géré par Median","completion.plus.ui.nomatif.title":"Nominatif","completion.plus.ui.nominative_screenTitle":"Complément nominatifs","completion.plus.ui.pick_screenTitle":"Terminer la cueillette","completion.plus.ui.pillbox_input.hint":"Scanner un pilulier ou taper le code manuellement","completion.plus.ui.previous.button":"Précédent","completion.plus.ui.product_in_list":"Ce produit est connu mais n'est pas concerné par cette liste","completion.plus.ui.product_not_found":"Ce produit est inconnu.","completion.plus.ui.refresh_tray.button":"Actualiser les données du plateau","completion.plus.ui.scan_now.button":"Scanner","completion.plus.ui.select_gpao.fetch_data":"Rafraîchir les données","completion.plus.ui.select_gpao.no_data":"Pas de données, veuillez sélectionner un service.","completion.plus.ui.select_gpao.state.processing":"Cet élément sera traité.","completion.plus.ui.select_gpao.state.sent":"Cet élément peut être envoyé.","completion.plus.ui.select_gpao.subtitle":"Veuillez scanner un pilulier pour en voir le contenu","completion.plus.ui.select_gpao.title":"Scanner un pillulier","completion.plus.ui.shelves.label":"Étagères","completion.plus.ui.start_completing.button":"Commencer à compléter","completion.plus.ui.tab.finalise_picking":"Finaliser cueillette","completion.plus.ui.tab.global_completion":"Complétion globale","completion.plus.ui.tab.help":"Aide","completion.plus.ui.tab.nominative_completion":"Complétion nominative","completion.plus.ui.tab.send_to_wms":"Envoyer à {0}","completion.plus.ui.tray_description":"Plateau de piluliers, le pilulier scanné est mis en évidence","completion.plus.ui.tray_ready.button":"Plateau prêt à être complété","completion.plus.ui.validate.button":"Valider les informations","completion.plus.ui.validate.tooltip":"La base de données préparée pour le processus de completion du pilulier.","completion.plus.ui.wms.label":"ARX","completion.print.error_data_preparation":"Impression d'étiquettes : erreur lors de la préparation des données"},$=Object.freeze(Object.defineProperty({__proto__:null,default:Y},Symbol.toStringTag,{value:"Module"})),ee={"completion.plus.api.errors.check_product_error":"Fout bij het controleren van product","completion.plus.api.errors.fetch_gpao_failed":"Ophalen van GPAO-gegevens mislukt","completion.plus.api.errors.fetch_wards_failed":"Ophalen van afdelingen mislukt","completion.plus.api.errors.header_row_mismatch":"Header en rij lengte komen niet overeen","completion.plus.api.errors.invalid_value":"Ongeldige waarde","completion.plus.api.errors.missing_parameters":"Vereiste parameters ontbreken","completion.plus.api.errors.multiple_stocks":"Meerdere voorraden gevonden voor dit product, controleer de informatie van deze batch","completion.plus.api.errors.no_items_to_complete":"Geen items om te voltooien gevonden voor de opgegeven criteria","completion.plus.api.errors.no_products":"Geen producten opgegeven","completion.plus.api.errors.no_stock":"Dit product heeft geen voorraad, controleer de informatie van deze batch","completion.plus.api.errors.no_valid_quantity":"Geen geldige hoeveelheid opgegeven","completion.plus.api.errors.product_not_found_gtin":"Product niet gevonden, controleer de informatie van deze referentie met de CNK","completion.plus.api.errors.required_config_not_found":"Vereiste configuratie niet gevonden","completion.plus.api.errors.serial_not_found":"Serienummer niet gevonden, dit product is mogelijk al gebruikt","completion.plus.api.errors.update_gpao_failed":"Bijwerken van GPAO-gegevens mislukt","completion.plus.api.success.printing_finished":"Afdrukken voltooid","completion.plus.error.too_many_products":"Te veel producten gevonden, database inconsistent.","completion.plus.globaltable.header.designation":"Benaaming","completion.plus.globaltable.header.fraction":"Fractie","completion.plus.globaltable.header.quantity":"Hoeveelheid","completion.plus.globaltable.header.reference":"Referentie","completion.plus.globaltable.header.rule":"Dist.","completion.plus.globaltable.header.stock":"Voorraad","completion.plus.gpao.no_data.label":"Geen gegevens gevonden","completion.plus.help.markdown":`# Hoe een medicatiebakje voltooien

## Stap-voor-stap proces

1. **Kies voltooiingsmodus**
   - Ga naar de modus *Nominatieve voltooiing* of *Globale voltooiing*.

2. **Nominatieve modus**
   - Scan of voer handmatig een medicatiebakje-nummer in.
   - Er verschijnt een lijst met alle producten voor het hele dienblad met medicatiebakjes.
   - Klik op een product of scan de code om het te selecteren. De interface toont welk medicatiebakje dit product nodig heeft en hoeveel eenheden er ontbreken.
   - Selecteer het medicatiebakje om te voltooien en scan het vereiste aantal producten.
   - Valideer om het proces te voltooien.

3. **Globale modus**
   - Kies een uitgifte uit de selectiebox in plaats van een medicatiebakje te scannen.
   - De rest van het proces is identiek: selecteer producten, kies medicatiebakjes, scan producten en valideer.

4. **Verzameling afronden**
   - Ga naar de pagina "Verzameling afronden".
   - Selecteer een uitgifte in de selectiebox.
   - Er wordt een lijst met producten per patiënt getoond. Selecteer een willekeurig aantal producten en klik op "Verzenden".
   - Dit stuurt de gegevens naar het magazijnbeheersysteem (WMS). Elk verzonden product wordt gemarkeerd als gevalideerd en kan niet verder worden voltooid.

5. **Verzenden naar WMS sectie**
   - Gebruik deze sectie om een verzoek naar het WMS te sturen voor volledige verpakkingen van een product.
`,"completion.plus.pillbox.add_prompt":"Voeg {0} eenheden toe van","completion.plus.pillbox.added_prompt":"Referentie voltooid! [x{0}]","completion.plus.pillbox.button.add_products":"Begin met vullen","completion.plus.pillbox.button.send_zero":'Ingesteld als "wordt niet voltooid".',"completion.plus.pillbox.send_prompt":"Voltooiing gevalideerd! [{0}/{1}]","completion.plus.print.error":"Er is een fout opgetreden bij het afdrukken van de lijst","completion.plus.print.header.forme":"EXO","completion.plus.print.header.fraction":"Fractie","completion.plus.print.header.quantite":"Aantal","completion.plus.print.header.reference":"Referentie","completion.plus.print.header.risque":"Riskant","completion.plus.print.header.stup":"Verdovend middel","completion.plus.print.success":"Lijst succesvol afgedrukt","completion.plus.scan.errors.no_serial_found":"Geen serienummer gevonden","completion.plus.scan.errors.no_valid_code":"Geen geldige code gevonden!","completion.plus.scandialog.buttons.cancel":"Annuleren","completion.plus.scandialog.buttons.ok":"OK","completion.plus.scandialog.errors.duplicate_serial":"Product met hetzelfde serienummer al gescand","completion.plus.scandialog.errors.enough_products":"Genoeg producten gescand!","completion.plus.scandialog.errors.wrong_product":"Verkeerd product gescand!","completion.plus.scandialog.fields.batch_number":"Batchnummer","completion.plus.scandialog.fields.date_placeholder":"JJJJ/MM/DD","completion.plus.scandialog.fields.expiration_date":"Vervaldatum","completion.plus.scandialog.fields.gtin":"GTIN","completion.plus.scandialog.fields.quantity":"Aantal doses in doos","completion.plus.scandialog.fields.serial_number":"Serienummer","completion.plus.scandialog.form_title":"Voer productgegevens in:","completion.plus.scandialog.labels.no_designation":"Geen benaming","completion.plus.scandialog.labels.no_reference":"Geen referentie","completion.plus.scandialog.labels.of":"van","completion.plus.scandialog.labels.scan_prompt":"Scan een product","completion.plus.scandialog.labels.scanned_product":"Gescand product:","completion.plus.scandialog.manual_entry.alert":"Waarschuwing: U voert de gegevens handmatig in. Controleer of de gegevens correct zijn! U kunt scangerelateerde foutmeldingen negeren.","completion.plus.scandialog.manual_entry.button":"Kan mijn product niet scannen","completion.plus.scandialog.manual_entry.tooltip":"Vul de doosinformatie handmatig in. Alleen WMS-producten.","completion.plus.scandialog.print_success":"Afdrukken succesvol","completion.plus.scandialog.printing.title":"Een doosetiket afdrukken","completion.plus.scandialog.printing_disabled":"Vul de ontbrekende informatie in voordat u een dooslabel afdrukt","completion.plus.scandialog.products.batch":"Batch","completion.plus.scandialog.products.label_serial":"Label serienummer","completion.plus.scandialog.products.no_products":"Nog geen producten gescand","completion.plus.scandialog.products.reference":"Referentie","completion.plus.scandialog.products.serial":"Serie","completion.plus.scandialog.products.title":"Gescande producten","completion.plus.scandialog.title":"Product scannen","completion.plus.scandialog.validation.batch_required":"Batchnummer is vereist","completion.plus.scandialog.validation.date_future":"Datum kan niet in het verleden liggen","completion.plus.scandialog.validation.expiration_required":"Vervaldatum is vereist","completion.plus.scandialog.validation.gtin_required":"Selecteer een GTIN","completion.plus.scandialog.validation.quantity_positive":"Aantal moet groter zijn dan 0","completion.plus.scandialog.validation.quantity_required":"Aantal is vereist","completion.plus.ui.arx.tooltip":"Geen voorraad voor dit product, er moet een verzoek naar het magazijnbeheersysteem worden gestuurd.","completion.plus.ui.clear_input.button":"Invoer wissen en nieuw medicatiebakje scannen","completion.plus.ui.completion_success":"Item succesvol voltooid","completion.plus.ui.dashboard.title":"Aide-Plus Dashboard","completion.plus.ui.default_screenTitle":"Voltooiing","completion.plus.ui.finished.label":"Dit item is afgerond, er kunnen geen extra producten worden toegevoegd.","completion.plus.ui.global.title":"Global","completion.plus.ui.global_screenTitle":"Globale aanvulling","completion.plus.ui.gpao_screenTitle":"Communicatie met Externe Software","completion.plus.ui.gpao_table.all_wards":"Alle afdelingen","completion.plus.ui.gpao_table.designation":"Benaming","completion.plus.ui.gpao_table.export_btn":"Tabel exporteren","completion.plus.ui.gpao_table.fraction":"Fractie","completion.plus.ui.gpao_table.full_send_tooltip":"Hiermee worden alle lege rijen en volledig voltooide rijen verzonden","completion.plus.ui.gpao_table.ipp":"IPP","completion.plus.ui.gpao_table.patient":"Patiënt","completion.plus.ui.gpao_table.patient_details.birthdate":"Geboortedatum","completion.plus.ui.gpao_table.patient_details.ipp":"Patiëntnummer","completion.plus.ui.gpao_table.patient_details.maiden_name":"Meisjesnaam","completion.plus.ui.gpao_table.patient_details.pillbox":"Medicatiebakje","completion.plus.ui.gpao_table.patient_details.stay":"Opname","completion.plus.ui.gpao_table.pillbox":"medicatiebakje","completion.plus.ui.gpao_table.quantity":"Hoeveelheid","completion.plus.ui.gpao_table.reference":"Referentie","completion.plus.ui.gpao_table.refresh_btn":"Refresh","completion.plus.ui.gpao_table.refreshing":"Automatisch vernieuwen","completion.plus.ui.gpao_table.select_all_full":"Alle volle rijen verzenden","completion.plus.ui.gpao_table.state":"Status","completion.plus.ui.gpao_table.stay":"Verblijf","completion.plus.ui.gpao_table.stock":"Voorraad","completion.plus.ui.gpao_table.validate_button":"Verzenden naar {name}","completion.plus.ui.gpao_table.ward":"Afdeling","completion.plus.ui.gpao_table.ward_filter":"Afdeelingen","completion.plus.ui.gpao_type.completion":"Te voltooien producten (Aanvulling / D)","completion.plus.ui.gpao_type.output":"Gepickte producten (Uitvoer / S)","completion.plus.ui.help_banner.pick.text_1":"Met deze weergave kunt u het pickproces voor een afdeling afronden door de informatie naar het magazijnbeheersysteem te sturen.","completion.plus.ui.help_banner.pick.text_2":"Deze actie is definitief en kan niet ongedaan worden gemaakt.","completion.plus.ui.help_banner.pick.title":"Afronden van het pickproces","completion.plus.ui.help_banner.wms.text":"Deze weergave dient om de lijst met producten naar het magazijnbeheersysteem te sturen","completion.plus.ui.help_banner.wms.title":"Verzenden naar het magazijnbeheersysteem","completion.plus.ui.help_screenTitle":"Voltooiingen : Help-sectie","completion.plus.ui.missing_products.title":"Overzicht van de producten op deze tray","completion.plus.ui.next.button":"Volgende","completion.plus.ui.no_pillbox":"Geen medicatiebak op deze positie","completion.plus.ui.no_stock.label":"Geen voorraad. Threshold bestaat.","completion.plus.ui.no_stock.tooltip":"Dit product heeft geen voorraad maar wordt beheerd door Median","completion.plus.ui.nomatif.title":"Nominatief","completion.plus.ui.nominative_screenTitle":"Nominative aanvulling","completion.plus.ui.pick_screenTitle":"Picking Afronden","completion.plus.ui.pillbox_input.hint":"Scan een medicatiebakje of typ een code handmatig","completion.plus.ui.previous.button":"Vorige","completion.plus.ui.product_in_list":"Dit product is bekend maar behoort niet tot deze lijst","completion.plus.ui.product_not_found":"Dit product is onbekend.","completion.plus.ui.refresh_tray.button":"Ladegegevens verversen","completion.plus.ui.scan_now.button":"Nu scannen","completion.plus.ui.select_gpao.fetch_data":"Refresh Gegevens","completion.plus.ui.select_gpao.no_data":"Geen gegevens, kies een afdeling.","completion.plus.ui.select_gpao.state.processing":"Dit element wordt verwerkt.","completion.plus.ui.select_gpao.state.sent":"Dit element kan worden verzonden.","completion.plus.ui.select_gpao.subtitle":"Scan een medicatiebakje om de inhoud te bekijken","completion.plus.ui.select_gpao.title":"Een medicatiebakje scannen","completion.plus.ui.shelves.label":"Rekken","completion.plus.ui.start_completing.button":"Begin met voltooien","completion.plus.ui.tab.finalise_picking":"Picking afronden","completion.plus.ui.tab.global_completion":"Globale voltooiing","completion.plus.ui.tab.help":"Help","completion.plus.ui.tab.nominative_completion":"Nominatieve voltooiing","completion.plus.ui.tab.send_to_wms":"Verzenden naar {0}","completion.plus.ui.tray_description":"Dienblad met medicatiebakjes, het gescande doosje is gemarkeerd","completion.plus.ui.tray_ready.button":"Dienblad klaar voor voltooiing","completion.plus.ui.validate.button":"Valideer de informatie","completion.plus.ui.validate.tooltip":"Dit bereidt de database voor op het voltooiingsproces van de medicatiebak.","completion.plus.ui.wms.label":"ARX","completion.print.error_data_preparation":"Etiketten afdrukken : Fout bij het voorbereiden van gegevens"},oe=Object.freeze(Object.defineProperty({__proto__:null,default:ee},Symbol.toStringTag,{value:"Module"})),te=Object.assign({"./completion_de_DE.json":U,"./completion_en_GB.json":X,"./completion_fr_FR.json":$,"./completion_nl_BE.json":oe}),ne=()=>{const p={};return Object.entries(te).forEach(([_,r])=>{const d=new RegExp(".*_([a-z]{2}_[A-Z]{2})\\.json$"),u=_.match(d);if(u&&u[1]){const b=u[1];p[b]=r.default||r}}),p},ie=ne(),se=O("aideplusStore",()=>{const{t:p,d:_}=F({messages:ie}),r=W(),d={quasar:r,t:p},u=I(),b=L();B(()=>{var e;return(e=b.state.global.connectedUser)==null?void 0:e.lang.replaceAll("_","-")});const h=n(!1),A=n(!1),T=n(!1),f=n(!1),v=n(null),l=n({id:null,date:null,alveoles:[]}),D=n([]),c=n(new Array(7)),a=n(null),w=n(!1),k=n(null),P=n(!0),M=n([]),m=n((()=>{try{const e=localStorage.getItem("aideplus_devices"),o=e?JSON.parse(e):{},t=Date.now()-7*24*60*60*1e3;return Object.keys(o).forEach(i=>{o[i].lastSeenTimestamp&&o[i].lastSeenTimestamp<t&&delete o[i]}),o}catch(e){return console.error("Error loading devices from localStorage:",e),{}}})()),y=()=>{try{localStorage.setItem("aideplus_devices",JSON.stringify(m.value))}catch(e){console.error("Error saving devices to localStorage:",e)}};K(m,y,{deep:!0});const C=()=>{localStorage.removeItem("aideplus_devices"),m.value={},console.log("Devices reset in localStorage")},j=async function(){const{useCompletionStore:e}=await Q(async()=>{const{useCompletionStore:g}=await import("./completionStore-D7-0CLjv.js").then(s=>s.c);return{useCompletionStore:g}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13])),o=e(),{selectedWard:t,nominativeCompletionMode:i}=o;if(i&&v.value){await S(v.value),console.log("Tray data refreshed (nominative mode)");return}else if(!i&&t){await S(t.code,t.chrono,t.idChargement),console.log("Tray data refreshed (global mode)");return}else console.log("No data to refresh - no pillbox number (nominative) or selected ward (global)")},N=()=>{P.value=!0,console.error("WebSocket URL not defined in environment variables")},E=(e,o)=>{if(!a.value)return console.error("WebSocket not initialized. Cannot publish message."),!1;if(a.value.readyState!==WebSocket.OPEN)return console.error(`WebSocket not open (state: ${a.value.readyState}). Cannot publish message.`),!1;try{const i=JSON.stringify({action:"publish",topic:e,message:o});return console.log("Sending WebSocket message:",i),a.value.send(i),!0}catch(t){return console.error("Error publishing message:",t),!1}},G=async(e,o)=>{if(!e||!o)return console.error("Invalid topic or message"),!1;try{console.log(`Publishing to MQTT topic ${e}:`,o);const t=await u.send("post","aideplus","mqtt/publish",{topic:e,message:JSON.stringify(o),retain:!1,qos:1},{...d,positiveMessage:"MQTT message sent successfully"})}catch(t){return console.error("Error publishing MQTT message:",t),r.notify({type:"negative",message:p("Error sending MQTT message"),caption:t.toString(),timeout:3e3}),!1}},x=(e=!1)=>{e&&(P.value=!1),k.value&&(clearTimeout(k.value),k.value=null),a.value&&(a.value.close(),a.value=null,w.value=!1)},V=()=>{M.value=[]},S=async function(e="",o=null,t=null){var g;if(e.length<=3){l.value=null,z();return}f.value=!0;const i=await u.send("put","aideplus/completion",`tray/${e}`,{chrono:o,idChargement:t},d);if(f.value=!1,(g=i.data)!=null&&g.tray){c.value=new Array(i.data.tray.length);for(const[s,q]of Object.entries(i.data.tray))q&&(c.value[s]=q,c.value[s].completionData=null);h.value=!0;try{l.value=c.value.find(s=>s.container==e)}catch{console.warn("Pillboxes found but the real scanned code doesn't fit"),l.value=null}R()}else z(),l.value=null};J(()=>{x(),y()});const R=function(){l.value.pillboxes&&l.value.pillboxes.forEach(e=>{e.items.sort((o,t)=>t.qty_dem-t.qty_serv-(o.qty_dem-o.qty_serv))})},z=function(){c.value=null,h.value=!1};return{t:p,d:_,loadTray:S,refreshTrayData:j,connectWebSocket:N,disconnectWebSocket:x,clearMqttMessages:V,saveDevicesToStorage:y,publishMessage:E,publishToMqtt:G,resetDevices:C,$q:r,showPillboxTray:h,showPillboxDrawer:A,miniPillboxDrawer:T,trays:D,selectedTray:c,pillboxContent:l,loading:f,pillboxNumber:v,isWsConnected:w,devices:m}});export{ie as t,se as u};
//# sourceMappingURL=aideplusStore-CSNU4tlD.js.map
