@cc-openmrs/cc-esm-active-prescriptions 1.0.57 → 1.0.58
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/dist/105.js +1 -0
- package/dist/300.js +1 -1
- package/dist/main.js +1 -1
- package/dist/openmrs-esm-template-app.js +1 -1
- package/dist/openmrs-esm-template-app.js.buildmanifest.json +77 -56
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/db/prescription-db.ts +2 -3
- package/src/index.ts +7 -6
- package/src/prescriptions-actions/prescriptions-action-button.component.tsx +1 -2
- package/src/prescriptions-orders/usePatientOrders.ts +7 -6
- package/src/root.component.tsx +15 -20
- package/src/shared/compatible-lifecycle.tsx +26 -0
- package/dist/499.js +0 -1
package/dist/105.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions||[]).push([[105,987],{1105(e,n,r){"use strict";r.r(n),r.d(n,{blueBox:()=>g,brandBox:()=>T,importTranslation:()=>v,prescriptionsActionButton:()=>j,redBox:()=>y,root:()=>k,startupApp:()=>b});var t=r(5987),o={casualGreeting:{_type:t.Type.Boolean,_default:!1,_description:"Whether to use a casual greeting (or a formal one)."},whoToGreet:{_type:t.Type.Array,_default:["World"],_description:"Who should be greeted. Names will be separated by a comma and space.",_elements:{_type:t.Type.String},_validators:[(0,t.validator)(function(e){return e.length>0},"At least one person must be greeted.")]}},i=r(6072),c=r(961),s=r(5684),a=r(316);function u(e,n){return(0,s.A)({React:i,ReactDOM:c,renderType:"render",rootComponent:(0,a.F7)(n)(e)})}function p(e,n){return function(){return e().then(function(e){return u(e.default,n)})}}var l=r(771),d=r(4968),f=r(2076),m=function(){return(0,t.launchWorkspace)("active-prescriptions")};var h="@cc-openmrs/cc-esm-active-prescriptions",_={featureName:"active-prescriptions",moduleName:h},v=r(4767);function b(){(0,t.defineConfigSchema)(h,o)}var y=p(function(){return r.e(319).then(r.bind(r,4319))},_),g=p(function(){return r.e(966).then(r.bind(r,966))},_),T=p(function(){return r.e(537).then(r.bind(r,1537))},_),j=function(e,n){return function(){return Promise.resolve(u(e,n))}}(function(){var e=(0,(0,f.useTranslation)().t)("activePrescriptions","Active prescriptions");return i.createElement(d.ED,{getIcon:function(e){return i.createElement(l.sV,e)},label:e,iconDescription:e,handler:m,type:"active-prescriptions"})},_),k=p(function(){return r.e(845).then(r.bind(r,6845))},_)},4767(e,n,r){var t={"./am.json":[1197,[197]],"./en.json":[4300,[300]],"./es.json":[3099,[99]],"./fr.json":[4055,[55]],"./he.json":[2271,[652]],"./km.json":[6716,[335]],"./pt.json":[6679,[679]]};function o(e){try{if(!r.o(t,e))return Promise.resolve().then(()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n})}catch(e){return Promise.reject(e)}var n=t[e],o=n[0];return r.e(n[1][0]).then(()=>r(o))}o.keys=()=>Object.keys(t),o.id=4767,e.exports=o}}]);
|
package/dist/300.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions||[]).push([[300],{4300(e){e.exports=JSON.parse('{"casualGreeting":"hey","configSystem":"Configuration system","configSystemExplainer":"The greeting shown below is driven by the configuration system. To change the configuration properties, click the spanner icon in the navbar to pull up the Implementer Tools panel. Then, type <2>template</2> into the <4>Search configuration</4> input. This should filter the configuration properties to show only those that are relevant to this module. You can change the values of these properties and click <6>Save</6> to see the changes reflected in the UI","connect":"Connect","connectExplainer":"Get in touch with the community","dataFetching":"Data fetching","designDocs":"Design docs","designDocsExplainer":"Read the O3 design documentation","
|
|
1
|
+
"use strict";(globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions=globalThis.webpackChunk_cc_openmrs_cc_esm_active_prescriptions||[]).push([[300],{4300(e){e.exports=JSON.parse('{"activePrescriptions":"Active prescriptions","activePrescriptionsHelper":"Review the patient context, choose the visit details, and add the matching orders to the prescription.","activePrescriptionsWorkspaceTitle":"Active prescriptions","addMedication":"Adicionar medicamento","asNeeded":"Tomar se necessário (P.R.N.)","asNeededCondition":"Motivo P.R.N.","cancel":"Cancelar","casualGreeting":"hey","configSystem":"Configuration system","configSystemExplainer":"The greeting shown below is driven by the configuration system. To change the configuration properties, click the spanner icon in the navbar to pull up the Implementer Tools panel. Then, type <2>template</2> into the <4>Search configuration</4> input. This should filter the configuration properties to show only those that are relevant to this module. You can change the values of these properties and click <6>Save</6> to see the changes reflected in the UI","connect":"Connect","connectExplainer":"Get in touch with the community","dataFetching":"Data fetching","designDocs":"Design docs","designDocsExplainer":"Read the O3 design documentation","dosage":"Dose","drugName":"Nome do medicamento","edit":"Editar","editMedication":"Editar medicamento","extensionExplainer":"Here are some colored boxes. Because they are attached as extensions within a slot, an admin can change what boxes are shown using configuration. These boxes happen to be defined in this module, but they could attach to this slot even if they were in a different module","extensionSystem":"Extension system","formalGreeting":"hello","frequency":"Frequência","frontendDocs":"Frontend docs","getPatient":"Get a patient named","getStarted":"Get started","getStartedExplainer":"Create a frontend module from this template","indication":"Indicação","inPastTabPlaceholderSubtitle":"Switch back to the New tab to manage current orders.","inPastTabPlaceholderTitle":"Historic prescriptions will be available soon","insurancePolicyNumberLabel":"Insurance Policy Number (optional)","insurancePolicyNumberPlaceholder":"Enter the policy number","learnExplainer":"Learn how to use the O3 framework","loading":"Loading","medicationsList":"Medicamentos adicionados","noMedicationsAdded":"Nenhum medicamento adicionado ainda.","patientGetterExplainer":"Try clicking the button below to fetch a patient from the backend","patientInstructions":"Instruções ao paciente","prescriptionsActionMenuItem":"Active prescriptions","printPrescriptionLabel":"Print the prescription","remove":"Remover","resources":"Resources","route":"Via de administração","saveMedication":"Salvar medicamento","signPrescriptionLabel":"Digitally sign the prescription","unit":"Unidade","usefulLinks":"Below are some links to useful resources","visitLocationHeading":"Visit location","visitLocationHelper":"Select where the visit will take place.","visitLocationPlaceholder":"Select a location","visitTimingLabel":"The visit is","visitTimingNew":"New","visitTimingPast":"In the past"}')}}]);
|