@openmrs/esm-dispensing-app 1.0.1-pre.217 → 1.0.1-pre.219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,6 +15,15 @@ Note that following privileges need to be installed and assigned to roles:
15
15
  * "Task: dispensing.delete.dispense" - Allows user to delete an existing Medication Dispense
16
16
  * "Task: dispensing.delete.dispense.ifCreator" - Allows user to delete an existing Medication Dispense, *but only* if they created it originally
17
17
 
18
+ ## Required configuation
19
+
20
+ Please see config-schema.ts for the required configuration. Specifically, the following properties are required:
21
+
22
+ * "substitutionType" property is a valid concept uuid pointing to a concept set that contains the substitution type concepts.
23
+ * "substitutionReason" property is a valid concept uuid pointing to a concept set that contains the substitution reason concepts.
24
+ * If the "Pause" button is enabled, you need to make sure that "reasonForPause" property is a valid concept uuid pointing to a concept set that contains the reason for pause concepts.
25
+ * If the "Close" button is enabled, you need to make sure that "reasonForClose" property is a valid concept uuid pointing to a concept set that contains the reason for close concepts.
26
+
18
27
  ## Running this code
19
28
 
20
29
  ```sh
package/dist/153.js CHANGED
@@ -1 +1 @@
1
- (globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[153],{9153:(e,t,n)=>{"use strict";n.r(t),n.d(t,{dispensing:()=>l,dispensingDashboard:()=>u,dispensingLink:()=>p,importTranslation:()=>a,startupApp:()=>d});var i=n(1132),o={appName:{_type:i.Type.String,_default:"Pharmacy"},actionButtons:{pauseButton:{enabled:{_type:i.Type.Boolean,_description:"Enabled/Disable including a Pause button in the button action bar",_default:!0}},closeButton:{enabled:{_type:i.Type.Boolean,_description:"Enabled/Disable including a Close button in the button action bar",_default:!0}}},dispenseBehavior:{allowModifyingPrescription:{_type:i.Type.Boolean,_description:"Enable/Disable editing the prescription. If Disabled, Quantity will be he only editable field on prescription form",_default:!1},restrictTotalQuantityDispensed:{_type:i.Type.Boolean,_description:"Enable/Disable restricting dispensing quantity greater than total quantity ordered. Marks prescription as complete when total quantity dispensed. If true, allowModifyingPrescription *must* be false, as this functionality relies solely on numeric quantity and assumes no change in formulation, dosage, unit, etc",_default:!1}},medicationRequestExpirationPeriodInDays:{_type:i.Type.Number,_description:"Medication Requests older that this will be considered expired",_default:90},locationBehavior:{locationColumn:{enabled:{_type:i.Type.Boolean,_description:"Enabled/Disable including a Location column in the main prescriptions table showing ordering location",_default:!1}},locationFilter:{enabled:{_type:i.Type.Boolean,_description:"Enable/Disable Location filter on main prescriptions page",_default:!1},tag:{_type:i.Type.String,_description:"Name of the location tag to use when fetching locations to populate filter",_default:"Login Location"}}},valueSets:{reasonForPause:{uuid:{_type:i.Type.UUID,_description:"UUID for the Value Set of valid answers to the 'Reason for Pause' question.",_default:""}},reasonForClose:{uuid:{_type:i.Type.UUID,_description:"UUID for the Value Set of valid answers to the 'Reason for Close' question.",_default:""}},substitutionReason:{uuid:{_type:i.Type.UUID,_description:"UUID for the Value Set of valid answers to the 'Reason for Substitution' question. Sample CIEL concept: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/167862/",_default:""}},substitutionType:{uuid:{_type:i.Type.UUID,_description:"UUID for the Value Set of valid answers to the 'Type of Substitution' question. Sample CIEL concept: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/167859/",_default:""}}}},a=n(3979),s="@openmrs/esm-dispensing-app",r={featureName:"dispensing",moduleName:s},l=(0,i.getAsyncLifecycle)((function(){return Promise.all([n.e(672),n.e(49)]).then(n.bind(n,1049))}),r),p=(0,i.getAsyncLifecycle)((function(){return Promise.all([n.e(672),n.e(397),n.e(641)]).then(n.bind(n,9641))}),r),u=(0,i.getAsyncLifecycle)((function(){return Promise.all([n.e(361),n.e(672),n.e(397),n.e(771)]).then(n.bind(n,2291))}),r);function d(){(0,i.defineConfigSchema)(s,o)}},3979:(e,t,n)=>{var i={"./en.json":[3574,574],"./fr.json":[2757,757]};function o(e){if(!n.o(i,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],o=t[0];return n.e(t[1]).then((()=>n(o)))}o.keys=()=>Object.keys(i),o.id=3979,e.exports=o}}]);
1
+ (globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[153],{9153:(e,t,n)=>{"use strict";n.r(t),n.d(t,{dispensing:()=>l,dispensingDashboard:()=>u,dispensingLink:()=>p,importTranslation:()=>a,startupApp:()=>c});var o=n(1132),i={appName:{_type:o.Type.String,_default:"Pharmacy"},actionButtons:{pauseButton:{enabled:{_type:o.Type.Boolean,_description:"Enabled/Disable including a Pause button in the button action bar",_default:!0}},closeButton:{enabled:{_type:o.Type.Boolean,_description:"Enabled/Disable including a Close button in the button action bar",_default:!0}}},dispenseBehavior:{allowModifyingPrescription:{_type:o.Type.Boolean,_description:"Enable/Disable editing the prescription. If Disabled, Quantity will be he only editable field on prescription form",_default:!1},restrictTotalQuantityDispensed:{_type:o.Type.Boolean,_description:"Enable/Disable restricting dispensing quantity greater than total quantity ordered. Marks prescription as complete when total quantity dispensed. If true, allowModifyingPrescription *must* be false, as this functionality relies solely on numeric quantity and assumes no change in formulation, dosage, unit, etc",_default:!0}},medicationRequestExpirationPeriodInDays:{_type:o.Type.Number,_description:"Medication Requests older that this will be considered expired",_default:90},locationBehavior:{locationColumn:{enabled:{_type:o.Type.Boolean,_description:"Enabled/Disable including a Location column in the main prescriptions table showing ordering location",_default:!1}},locationFilter:{enabled:{_type:o.Type.Boolean,_description:"Enable/Disable Location filter on main prescriptions page",_default:!1},tag:{_type:o.Type.String,_description:"Name of the location tag to use when fetching locations to populate filter",_default:"Login Location"}}},valueSets:{reasonForPause:{uuid:{_type:o.Type.UUID,_description:"UUID for the Value Set of valid answers to the 'Reason for Pause' question. Defaults to CIEL value set: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/168099/",_default:"2462a9d7-61fb-4bf5-9359-aedecb8d03cb"}},reasonForClose:{uuid:{_type:o.Type.UUID,_description:"UUID for the Value Set of valid answers to the 'Reason for Close' question. Defaults to CIEL value set: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/168099/",_default:"2462a9d7-61fb-4bf5-9359-aedecb8d03cb"}},substitutionReason:{uuid:{_type:o.Type.UUID,_description:"UUID for the Value Set of valid answers to the 'Reason for Substitution' question. Defaults to CIEL value set: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/167862/",_default:"2de6e1be-f2dd-4ba0-9516-8a611aa2af9b"}},substitutionType:{uuid:{_type:o.Type.UUID,_description:"UUID for the Value Set of valid answers to the 'Type of Substitution' question. Defaults to CIEL value set: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/167859/",_default:"b9c5bca0-d026-4245-a4d2-e4c0a8999082"}}}},a=n(3979),s="@openmrs/esm-dispensing-app",r={featureName:"dispensing",moduleName:s},l=(0,o.getAsyncLifecycle)((function(){return Promise.all([n.e(672),n.e(49)]).then(n.bind(n,1049))}),r),p=(0,o.getAsyncLifecycle)((function(){return Promise.all([n.e(672),n.e(397),n.e(641)]).then(n.bind(n,9641))}),r),u=(0,o.getAsyncLifecycle)((function(){return Promise.all([n.e(361),n.e(672),n.e(397),n.e(771)]).then(n.bind(n,2291))}),r);function c(){(0,o.defineConfigSchema)(s,i)}},3979:(e,t,n)=>{var o={"./en.json":[3574,574],"./fr.json":[2757,757]};function i(e){if(!n.o(o,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return n.e(t[1]).then((()=>n(i)))}i.keys=()=>Object.keys(o),i.id=3979,e.exports=i}}]);
package/dist/153.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"153.js","mappings":"4RAsBaA,EAAe,CAC1BC,QAAS,CACPC,MAAOC,EAAAA,KAAKC,OACZC,SAAU,YAEZC,cAAe,CACbC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AAAA,oBAAmBR,EAAY9B,EACjC,C,iBClCA,IAAIuC,EAAM,CACT,YAAa,CACZ,KACA,KAED,YAAa,CACZ,KACA,MAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,KAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,CAAC,IAIT,IAAIG,EAAMX,EAAIE,GAAMU,EAAKD,EAAI,GAC7B,OAAOR,EAAoBK,EAAEG,EAAI,IAAIJ,MAAK,IAClCJ,EAAoBS,IAE7B,CACAX,EAAoBY,KAAO,IAAOC,OAAOD,KAAKb,GAC9CC,EAAoBW,GAAK,KACzBG,EAAOC,QAAUf,C","sources":["webpack://@openmrs/esm-dispensing-app/./src/config-schema.ts","webpack://@openmrs/esm-dispensing-app/./src/index.ts","webpack://@openmrs/esm-dispensing-app/./translations/ lazy nonrecursive .json$"],"names":["configSchema","appName","_type","Type","String","_default","actionButtons","pauseButton","enabled","Boolean","_description","closeButton","dispenseBehavior","allowModifyingPrescription","restrictTotalQuantityDispensed","medicationRequestExpirationPeriodInDays","Number","locationBehavior","locationColumn","locationFilter","tag","valueSets","reasonForPause","uuid","UUID","reasonForClose","substitutionReason","substitutionType","importTranslation","require","moduleName","options","featureName","dispensing","getAsyncLifecycle","dispensingLink","dispensingDashboard","startupApp","defineConfigSchema","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","keys","Object","module","exports"],"sourceRoot":""}
1
+ {"version":3,"file":"153.js","mappings":"4RAsBaA,EAAe,CAC1BC,QAAS,CACPC,MAAOC,EAAAA,KAAKC,OACZC,SAAU,YAEZC,cAAe,CACbC,YAAa,CACXC,QAAS,CACPN,MAAOC,EAAAA,KAAKM,QACZC,aACE,oEACFL,UAAU,IAGdM,YAAa,CACXH,QAAS,CACPN,MAAOC,EAAAA,KAAKM,QACZC,aACE,o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,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,KAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,KAEjD,MADAM,EAAEE,KAAO,mBACHF,CAAC,IAIT,IAAIG,EAAMX,EAAIE,GAAMU,EAAKD,EAAI,GAC7B,OAAOR,EAAoBK,EAAEG,EAAI,IAAIJ,MAAK,IAClCJ,EAAoBS,IAE7B,CACAX,EAAoBY,KAAO,IAAOC,OAAOD,KAAKb,GAC9CC,EAAoBW,GAAK,KACzBG,EAAOC,QAAUf,C","sources":["webpack://@openmrs/esm-dispensing-app/./src/config-schema.ts","webpack://@openmrs/esm-dispensing-app/./src/index.ts","webpack://@openmrs/esm-dispensing-app/./translations/ lazy nonrecursive .json$"],"names":["configSchema","appName","_type","Type","String","_default","actionButtons","pauseButton","enabled","Boolean","_description","closeButton","dispenseBehavior","allowModifyingPrescription","restrictTotalQuantityDispensed","medicationRequestExpirationPeriodInDays","Number","locationBehavior","locationColumn","locationFilter","tag","valueSets","reasonForPause","uuid","UUID","reasonForClose","substitutionReason","substitutionType","importTranslation","require","moduleName","options","featureName","dispensing","getAsyncLifecycle","dispensingLink","dispensingDashboard","startupApp","defineConfigSchema","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","keys","Object","module","exports"],"sourceRoot":""}
package/dist/757.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[757],{2757:e=>{e.exports=JSON.parse('{"active":"Actif","activePrescriptions":"Ordonnances actives","addItem":"Ajouter un produit","addNoteText":"Ajouter une note à l’historique de l’ordonnance","allergies":"Allergies","allPrescriptions":"Toutes les ordonnances","appName":"Pharmacie","billing":"Facturation","cancel":"Annuler","cancelled":"Annulé","clearSearchInput":"Effacer le champ de recherche","close":"Terminer","closed":"Terminé","closedDispense":"délivrance terminée","closePrescription":"Mettre un terme à l’ordonnance","completed":"Terminé","created":"Créé","delete":"Supprimer","deletePrescription":"Supprimer l’ordonnance","dispense":"Délivrer","dispensed":"Délivré","dispensedMedication":"médicament délivré","dispensingAppError":"Erreur de l’application pour la délivrance","dispensingAppMisconfigurationMessage":"Veuillez contacter votre administrateur du système: Mauvaise configuration - \'restrictTotalQuantityDispensed\' ne peut pas être activé si \'allowModifyingPrescription\' est activé.","dispensingNotePlaceholder":"Inscrire ici toutes les notes de prescription additionnelles","dispensePrescription":"Délivrer une prescription","dispensing":"Délivrance","dose":"Dose","doseUnit":"Unité de dosage","drug":"Médicament","drugDispensingUnit":"Unité de prescription","drugHelpText":"Vous pouvez éditer la formulation et la quantité délivrées ici","drugHelpTextNoEdit":"Vous pouvez modifier la quantité délivrée ici","drugs":"Médicaments","editCloseRecord":"Éditer un enregistrement de fin de prescription","editDispenseRecord":"Éditer un enregistrement de la prescription","editPauseRecord":"Éditer une interruption de la prescription","editRecord":"Éditer un enregistrement","error":"Erreur","expired":"Périmé","female":"Femme","fillPrescription":"Remplir l’ordonnance","filterByLocation":"Filtrer par localisation","frequency":"Fréquence","historyComments":"Historique et commentaires","internalComments":"Commentaires internes","last14Days":"Les derniers 14 jours","lastDispenser":"Dernière distribution","location":"Localisation","male":"Homme","maxQuantityRemaining":"Quantité maximale disponible:","medicationDispenseActionMenu":"Menu d’actions pour la délivrance de médicaments","medicationDispensed":"Médicaments délivrés correctement.","medicationDispenseClosed":"Délivrance des médicaments terminée.","medicationDispenseCloseError":"Erreur dans la mise à terme de la délivrance de médicaments.","medicationDispenseError":"Erreur dans la délivrance de médicaments.","medicationDispensePaused":"Délivrance de médicaments interrompue.","medicationDispensePauseError":"Erreur lors de l’interruption de la délivrance de médicaments.","medicationDispenseUpdated":"Enregistrement de la délivrance actualisé correctement.","medicationDispenseUpdatedError":"Erreur dans l’actualisation de l’enregistrement de la délivrance","medicationListUpdated":"La liste de délivrance des médicaments a été actualisée.","missedCollections":"Collectes incomplètes","noAllergyDetailsFound":"Aucune information sur les allergies","numberIsNotValid":"Le numéro n’est pas valide","orderedMedication":"médicament commandé","order":"Commande","orders":"Commandes","ordered":"Commandé","ordersForHomeDelivery":"Commandes pour livraison à domicile","other":"Autre","patientDetails":"Données du patient","patientInstructions":"Consignes au patient","patientName":"Nom du patient","pause":"Interruption","paused":"Interrompu","pausedDispense":"délivrance interrompue","pausePrescription":"Interruption de la prescription","prescribed":"Prescrit","prescriber":"Prescripteur","prescriptionDetails":"Détails sur la prescription","post":"Poste","quantity":"Quantité","reasonForClose":"Raison pour terminer","reasonForPause":"Raison de l’interruption","refills":"Renouvellements","route":"Route","saveChanges":"Enregistrer les modifications","searchPrescriptions":"Rechercher des ordonnances","sendBackToPrescriber":"Renvoyer au prescripteur","status":"État","substitutionReason":"Raison du remplacement","substitutionType":"Type de remplacement","tabletOverlay":"Recouvrement du comprimé","tabList":"Liste des onglets","today":"Aujourd’hui","unknown":"Inconnu","view":"Aperçu"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[757],{2757:e=>{e.exports=JSON.parse('{"active":"Actif","activePrescriptions":"Ordonnances actives","addItem":"Ajouter un produit","addNoteText":"Ajouter une note à l’historique de l’ordonnance","allergies":"Allergies","allPrescriptions":"Toutes les ordonnances","appName":"Pharmacie","billing":"Facturation","cancel":"Annuler","cancelled":"Annulé","clearSearchInput":"Effacer le champ de recherche","close":"Terminer","closed":"Terminé","closedDispense":"délivrance terminée","closePrescription":"Mettre un terme à l’ordonnance","completed":"Complété","created":"Créé","delete":"Supprimer","deletePrescription":"Supprimer l’ordonnance","dispense":"Délivrer","dispensed":"Délivré","dispensedMedication":"médicament délivré","dispensingAppError":"Erreur de l’application pour la délivrance","dispensingAppMisconfigurationMessage":"Veuillez contacter votre administrateur du système: Mauvaise configuration - \'restrictTotalQuantityDispensed\' ne peut pas être activé si \'allowModifyingPrescription\' est activé.","dispensingNotePlaceholder":"Inscrire ici toutes les notes de prescription additionnelles","dispensePrescription":"Délivrer une prescription","dispensing":"Délivrance","dose":"Dose","doseUnit":"Unité de dosage","drug":"Médicament","drugDispensingUnit":"Unité de prescription","drugHelpText":"Vous pouvez éditer la formulation et la quantité délivrées ici","drugHelpTextNoEdit":"Vous pouvez modifier la quantité délivrée ici","drugs":"Médicaments","editCloseRecord":"Éditer un enregistrement de fin de prescription","editDispenseRecord":"Éditer un enregistrement de la prescription","editPauseRecord":"Éditer une interruption de la prescription","editRecord":"Éditer un enregistrement","error":"Erreur","expired":"Périmé","female":"Femme","fillPrescription":"Remplir l’ordonnance","filterByLocation":"Filtrer par localisation","frequency":"Fréquence","historyComments":"Historique et commentaires","internalComments":"Commentaires internes","last14Days":"Les derniers 14 jours","lastDispenser":"Dernière distribution","location":"Localisation","male":"Homme","maxQuantityRemaining":"Quantité maximale disponible:","medicationDispenseActionMenu":"Menu d’actions pour la délivrance de médicaments","medicationDispensed":"Médicaments délivrés correctement.","medicationDispenseClosed":"Délivrance des médicaments terminée.","medicationDispenseCloseError":"Erreur dans la mise à terme de la délivrance de médicaments.","medicationDispenseError":"Erreur dans la délivrance de médicaments.","medicationDispensePaused":"Délivrance de médicaments interrompue.","medicationDispensePauseError":"Erreur lors de l’interruption de la délivrance de médicaments.","medicationDispenseUpdated":"Enregistrement de la délivrance actualisé correctement.","medicationDispenseUpdatedError":"Erreur dans l’actualisation de l’enregistrement de la délivrance","medicationListUpdated":"La liste de délivrance des médicaments a été actualisée.","missedCollections":"Collectes incomplètes","noAllergyDetailsFound":"Aucune information sur les allergies","numberIsNotValid":"Le numéro n’est pas valide","orderedMedication":"médicament commandé","order":"Commande","orders":"Commandes","ordered":"Commandé","ordersForHomeDelivery":"Commandes pour livraison à domicile","other":"Autre","patientDetails":"Données du patient","patientInstructions":"Consignes au patient","patientName":"Nom du patient","pause":"Interruption","paused":"Interrompu","pausedDispense":"délivrance interrompue","pausePrescription":"Interruption de la prescription","prescribed":"Prescrit","prescriber":"Prescripteur","prescriptionDetails":"Détails sur la prescription","post":"Poste","quantity":"Quantité","reasonForClose":"Raison pour terminer","reasonForPause":"Raison de l’interruption","refills":"Renouvellements","route":"Route","saveChanges":"Enregistrer les modifications","searchPrescriptions":"Rechercher des ordonnances","sendBackToPrescriber":"Renvoyer au prescripteur","status":"État","substitutionReason":"Raison du remplacement","substitutionType":"Type de remplacement","tabletOverlay":"Recouvrement du comprimé","tabList":"Liste des onglets","today":"Aujourd’hui","unknown":"Inconnu","view":"Aperçu"}')}}]);
@@ -29,10 +29,10 @@
29
29
  "initial": false,
30
30
  "entry": false,
31
31
  "recorded": false,
32
- "size": 5375,
32
+ "size": 5734,
33
33
  "sizes": {
34
34
  "consume-shared": 42,
35
- "javascript": 5333
35
+ "javascript": 5692
36
36
  },
37
37
  "names": [],
38
38
  "idHints": [],
@@ -45,7 +45,7 @@
45
45
  "auxiliaryFiles": [
46
46
  "153.js.map"
47
47
  ],
48
- "hash": "3c5fb939e21e3c84",
48
+ "hash": "52bf5e83e0d985d7",
49
49
  "childrenByOrder": {}
50
50
  },
51
51
  {
@@ -53,10 +53,10 @@
53
53
  "initial": true,
54
54
  "entry": true,
55
55
  "recorded": false,
56
- "size": 25897,
56
+ "size": 26256,
57
57
  "sizes": {
58
58
  "consume-shared": 42,
59
- "javascript": 5333,
59
+ "javascript": 5692,
60
60
  "share-init": 210,
61
61
  "runtime": 20312
62
62
  },
@@ -73,7 +73,7 @@
73
73
  "auxiliaryFiles": [
74
74
  "main.js.map"
75
75
  ],
76
- "hash": "fe2c95d2a8cd2cf9",
76
+ "hash": "ca9bfe542a581621",
77
77
  "childrenByOrder": {}
78
78
  },
79
79
  {
@@ -271,9 +271,9 @@
271
271
  "initial": false,
272
272
  "entry": false,
273
273
  "recorded": false,
274
- "size": 4139,
274
+ "size": 4140,
275
275
  "sizes": {
276
- "javascript": 4139
276
+ "javascript": 4140
277
277
  },
278
278
  "names": [],
279
279
  "idHints": [],
@@ -285,7 +285,7 @@
285
285
  "757.js"
286
286
  ],
287
287
  "auxiliaryFiles": [],
288
- "hash": "9549ec5575ee3c60",
288
+ "hash": "0d4c3a826bcf2f08",
289
289
  "childrenByOrder": {}
290
290
  },
291
291
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"backendDependencies":{"fhir2":"^1.2.0","webservices.rest":"^2.2.0"},"pages":[{"component":"dispensing","route":"dispensing","online":true,"offline":true}],"extensions":[{"name":"dispensing-link","slot":"app-menu-slot","component":"dispensingLink","online":true,"offline":true},{"name":"dispensing-dashboard","slot":"dispensing-dashboard-slot","component":"dispensingDashboard","online":true,"offline":true}],"version":"1.0.1-pre.217"}
1
+ {"backendDependencies":{"fhir2":"^1.2.0","webservices.rest":"^2.2.0"},"pages":[{"component":"dispensing","route":"dispensing","online":true,"offline":true}],"extensions":[{"name":"dispensing-link","slot":"app-menu-slot","component":"dispensingLink","online":true,"offline":true},{"name":"dispensing-dashboard","slot":"dispensing-dashboard-slot","component":"dispensingDashboard","online":true,"offline":true}],"version":"1.0.1-pre.219"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-dispensing-app",
3
- "version": "1.0.1-pre.217",
3
+ "version": "1.0.1-pre.219",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Medication dispensing application",
6
6
  "browser": "dist/openmrs-esm-dispensing-app.js",
@@ -54,7 +54,7 @@ export const configSchema = {
54
54
  _type: Type.Boolean,
55
55
  _description:
56
56
  "Enable/Disable restricting dispensing quantity greater than total quantity ordered. Marks prescription as complete when total quantity dispensed. If true, allowModifyingPrescription *must* be false, as this functionality relies solely on numeric quantity and assumes no change in formulation, dosage, unit, etc",
57
- _default: false,
57
+ _default: true,
58
58
  },
59
59
  },
60
60
  medicationRequestExpirationPeriodInDays: {
@@ -92,32 +92,32 @@ export const configSchema = {
92
92
  uuid: {
93
93
  _type: Type.UUID,
94
94
  _description:
95
- "UUID for the Value Set of valid answers to the 'Reason for Pause' question.",
96
- _default: "",
95
+ "UUID for the Value Set of valid answers to the 'Reason for Pause' question. Defaults to CIEL value set: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/168099/",
96
+ _default: "2462a9d7-61fb-4bf5-9359-aedecb8d03cb",
97
97
  },
98
98
  },
99
99
  reasonForClose: {
100
100
  uuid: {
101
101
  _type: Type.UUID,
102
102
  _description:
103
- "UUID for the Value Set of valid answers to the 'Reason for Close' question.",
104
- _default: "",
103
+ "UUID for the Value Set of valid answers to the 'Reason for Close' question. Defaults to CIEL value set: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/168099/",
104
+ _default: "2462a9d7-61fb-4bf5-9359-aedecb8d03cb",
105
105
  },
106
106
  },
107
107
  substitutionReason: {
108
108
  uuid: {
109
109
  _type: Type.UUID,
110
110
  _description:
111
- "UUID for the Value Set of valid answers to the 'Reason for Substitution' question. Sample CIEL concept: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/167862/",
112
- _default: "",
111
+ "UUID for the Value Set of valid answers to the 'Reason for Substitution' question. Defaults to CIEL value set: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/167862/",
112
+ _default: "2de6e1be-f2dd-4ba0-9516-8a611aa2af9b",
113
113
  },
114
114
  },
115
115
  substitutionType: {
116
116
  uuid: {
117
117
  _type: Type.UUID,
118
118
  _description:
119
- "UUID for the Value Set of valid answers to the 'Type of Substitution' question. Sample CIEL concept: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/167859/",
120
- _default: "",
119
+ "UUID for the Value Set of valid answers to the 'Type of Substitution' question. Defaults to CIEL value set: https://app.openconceptlab.org/#/orgs/CIEL/sources/CIEL/concepts/167859/",
120
+ _default: "b9c5bca0-d026-4245-a4d2-e4c0a8999082",
121
121
  },
122
122
  },
123
123
  },
@@ -14,7 +14,7 @@
14
14
  "closed": "Terminé",
15
15
  "closedDispense": "délivrance terminée",
16
16
  "closePrescription": "Mettre un terme à l’ordonnance",
17
- "completed": "Terminé",
17
+ "completed": "Complété",
18
18
  "created": "Créé",
19
19
  "delete": "Supprimer",
20
20
  "deletePrescription": "Supprimer l’ordonnance",
File without changes