@openmrs/esm-patient-vitals-app 10.2.1-pre.7729 → 10.2.1-pre.7734
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/.turbo/turbo-build.log +9 -9
- package/dist/1423.js +1 -1
- package/dist/5387.js +1 -1
- package/dist/5387.js.map +1 -1
- package/dist/795.js +1 -0
- package/dist/9569.js +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-patient-vitals-app.js +1 -1
- package/dist/openmrs-esm-patient-vitals-app.js.buildmanifest.json +52 -8
- package/dist/routes.json +1 -1
- package/package.json +2 -2
- package/src/biometrics/biometrics-chart.component.tsx +24 -0
- package/src/biometrics/biometrics-chart.scss +5 -1
- package/src/vitals/vitals-chart.component.tsx +24 -0
- package/src/vitals/vitals-chart.scss +5 -1
- package/src/vitals-biometrics-form/vitals-biometrics-form.workspace.tsx +1 -1
- package/translations/en_US.json +78 -0
- package/translations/ka.json +78 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
var _openmrs_esm_patient_vitals_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,c,h,m,v,g,b,y,w,_={8746:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(5395),t.e(8295),t.e(1343),t.e(8526),t.e(5387)]).then((()=>()=>t(5387)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},P={};function S(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,loaded:!1,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.loaded=!0,t.exports}S.m=_,S.c=P,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);S.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,S.d(o,a),o},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((r,t)=>(S.f[t](e,r),r)),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@openmrs/esm-patient-vitals-app:",S.l=(e,r,o,a)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==n+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var a=S.S[t],i="@openmrs/esm-patient-vitals-app",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","6.3.1-pre.2965",(()=>Promise.all([S.e(831),S.e(1343)]).then((()=>()=>S(831))))),l("@openmrs/esm-patient-common-lib","10.2.1-pre.
|
|
1
|
+
var _openmrs_esm_patient_vitals_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,c,h,m,v,g,b,y,w,_={8746:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(5395),t.e(8295),t.e(1343),t.e(8526),t.e(5387)]).then((()=>()=>t(5387)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},P={};function S(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,loaded:!1,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.loaded=!0,t.exports}S.m=_,S.c=P,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);S.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,S.d(o,a),o},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((r,t)=>(S.f[t](e,r),r)),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@openmrs/esm-patient-vitals-app:",S.l=(e,r,o,a)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==n+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var a=S.S[t],i="@openmrs/esm-patient-vitals-app",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","6.3.1-pre.2965",(()=>Promise.all([S.e(831),S.e(1343)]).then((()=>()=>S(831))))),l("@openmrs/esm-patient-common-lib","10.2.1-pre.7734",(()=>Promise.all([S.e(5395),S.e(4605),S.e(1343),S.e(5434),S.e(9867),S.e(8526)]).then((()=>()=>S(2248))))),l("dayjs","1.11.11",(()=>S.e(3464).then((()=>()=>S(3464))))),l("react-i18next","11.18.6",(()=>Promise.all([S.e(4641),S.e(1343)]).then((()=>()=>S(4641))))),l("react-router-dom","6.16.0",(()=>Promise.all([S.e(2913),S.e(1343)]).then((()=>()=>S(2913))))),l("react","18.3.1",(()=>S.e(4041).then((()=>()=>S(4041))))),l("swr/_internal","2.2.5",(()=>Promise.all([S.e(2372),S.e(1343)]).then((()=>()=>S(2372))))),l("swr/immutable","2.2.5",(()=>Promise.all([S.e(9876),S.e(1343),S.e(5434)]).then((()=>()=>S(9876))))),l("swr/infinite","2.2.5",(()=>Promise.all([S.e(2470),S.e(1343),S.e(5434)]).then((()=>()=>S(2470)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),o=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},a=(e,r)=>{e=o(e),r=o(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],a=(typeof n)[0];if(t>=r.length)return"u"==a;var i=r[t],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;t++}},i=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(l=e[o]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var a=[];for(o=1;o<e.length;o++){var l=e[o];a.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?a.pop()+" "+a.pop():i(l))}return s();function s(){return a.pop().replace(/^\((.+)\)$/,"$1")}},l=(e,r)=>{if(0 in e){r=o(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var a=0,i=1,s=!0;;i++,a++){var u,p,f=i<e.length?(typeof e[i])[0]:"";if(a>=r.length||"o"==(p=(typeof(u=r[a]))[0]))return!s||("u"==f?i>t&&!n:""==f!=n);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(i<=t){if(u!=e[i])return!1}else{if(n?u>e[i]:u<e[i])return!1;u!=e[i]&&(s=!1)}else if("s"!=f&&"n"!=f){if(n||i<=t)return!1;s=!1,i--}else{if(i<=t||p<f!=n)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,i--)}}var d=[],c=d.pop.bind(d);for(a=1;a<e.length;a++){var h=e[a];d.push(1==h?c()|c():2==h?c()&c():h?l(h,r):!c())}return!!c()},s=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),p=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),f=(e,r,t)=>{var n=t?p(e[r]):e[r];return Object.keys(n).reduce(((e,r)=>!e||!n[e].loaded&&a(e,r)?r:e),0)},d=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",c=e=>{throw new Error(e)},h=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},m=(e,r,t)=>t?t():((e,r)=>c("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,o,a){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,o,a)):e(r,S.S[r],t,n,o,a)})(((e,r,t,n,o,a)=>{if(!s(r,t))return m(e,t,a);var i=f(r,t,n);return l(o,i)||h(d(r,t,i,o)),u(r[t][i])})),g={},b={1343:()=>v("default","react",!1,[1,18],(()=>S.e(4041).then((()=>()=>S(4041))))),5434:()=>v("default","swr/_internal",!1,[1,2],(()=>S.e(2372).then((()=>()=>S(2372))))),8877:()=>v("default","react-router-dom",!1,[1,6],(()=>S.e(2913).then((()=>()=>S(2913))))),2979:()=>v("default","@openmrs/esm-patient-common-lib",!1,[1,10],(()=>Promise.all([S.e(4605),S.e(5434),S.e(9867)]).then((()=>()=>S(2248))))),3150:()=>v("default","react-i18next",!1,[1,11],(()=>S.e(4641).then((()=>()=>S(4641))))),8010:()=>v("default","swr/immutable",!1,[1,2],(()=>Promise.all([S.e(9876),S.e(5434)]).then((()=>()=>S(9876))))),8254:()=>v("default","@openmrs/esm-framework",!1,[1,6],(()=>S.e(831).then((()=>()=>S(831))))),6372:()=>v("default","dayjs",!1,[1,1],(()=>S.e(3464).then((()=>()=>S(3464))))),8394:()=>v("default","swr/infinite",!1,[1,2],(()=>Promise.all([S.e(2470),S.e(5434)]).then((()=>()=>S(2470)))))},y={1343:[1343],5387:[6372,8394],5434:[5434],8526:[2979,3150,8010,8254],9867:[8877]},w={},S.f.consumes=(e,r)=>{S.o(y,e)&&y[e].forEach((e=>{if(S.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=b[e]();o.then?r.push(g[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}}))},(()=>{var e={6167:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1343|5434|8526)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=S.p+S.u(r),i=new Error;S.l(a,(t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,l]=t,s=0;if(a.some((r=>0!==e[r]))){for(n in i)S.o(i,n)&&(S.m[n]=i[n]);l&&l(S)}for(r&&r(t);s<a.length;s++)o=a[s],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_patient_vitals_app=globalThis.webpackChunk_openmrs_esm_patient_vitals_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var j=S(8746);_openmrs_esm_patient_vitals_app=j})();
|
|
@@ -22,6 +22,28 @@
|
|
|
22
22
|
"hash": "98442d03a0676f15",
|
|
23
23
|
"childrenByOrder": {}
|
|
24
24
|
},
|
|
25
|
+
{
|
|
26
|
+
"rendered": true,
|
|
27
|
+
"initial": false,
|
|
28
|
+
"entry": false,
|
|
29
|
+
"recorded": false,
|
|
30
|
+
"size": 2867,
|
|
31
|
+
"sizes": {
|
|
32
|
+
"javascript": 2867
|
|
33
|
+
},
|
|
34
|
+
"names": [],
|
|
35
|
+
"idHints": [],
|
|
36
|
+
"runtime": [
|
|
37
|
+
"@openmrs/esm-patient-vitals-app",
|
|
38
|
+
"main"
|
|
39
|
+
],
|
|
40
|
+
"files": [
|
|
41
|
+
"795.js"
|
|
42
|
+
],
|
|
43
|
+
"auxiliaryFiles": [],
|
|
44
|
+
"hash": "d937827ecd71d672",
|
|
45
|
+
"childrenByOrder": {}
|
|
46
|
+
},
|
|
25
47
|
{
|
|
26
48
|
"rendered": true,
|
|
27
49
|
"initial": false,
|
|
@@ -179,7 +201,7 @@
|
|
|
179
201
|
"auxiliaryFiles": [
|
|
180
202
|
"1423.js.map"
|
|
181
203
|
],
|
|
182
|
-
"hash": "
|
|
204
|
+
"hash": "127d0ca86b895367",
|
|
183
205
|
"childrenByOrder": {}
|
|
184
206
|
},
|
|
185
207
|
{
|
|
@@ -707,9 +729,9 @@
|
|
|
707
729
|
"initial": false,
|
|
708
730
|
"entry": false,
|
|
709
731
|
"recorded": false,
|
|
710
|
-
"size":
|
|
732
|
+
"size": 422066,
|
|
711
733
|
"sizes": {
|
|
712
|
-
"javascript":
|
|
734
|
+
"javascript": 421982,
|
|
713
735
|
"consume-shared": 84
|
|
714
736
|
},
|
|
715
737
|
"names": [],
|
|
@@ -723,7 +745,7 @@
|
|
|
723
745
|
"auxiliaryFiles": [
|
|
724
746
|
"5387.js.map"
|
|
725
747
|
],
|
|
726
|
-
"hash": "
|
|
748
|
+
"hash": "d2fa1f68b3e1c3ab",
|
|
727
749
|
"childrenByOrder": {}
|
|
728
750
|
},
|
|
729
751
|
{
|
|
@@ -864,7 +886,7 @@
|
|
|
864
886
|
"auxiliaryFiles": [
|
|
865
887
|
"openmrs-esm-patient-vitals-app.js.map"
|
|
866
888
|
],
|
|
867
|
-
"hash": "
|
|
889
|
+
"hash": "2d3f132c0aa098bf",
|
|
868
890
|
"childrenByOrder": {}
|
|
869
891
|
},
|
|
870
892
|
{
|
|
@@ -1139,10 +1161,10 @@
|
|
|
1139
1161
|
"initial": true,
|
|
1140
1162
|
"entry": true,
|
|
1141
1163
|
"recorded": false,
|
|
1142
|
-
"size":
|
|
1164
|
+
"size": 3587820,
|
|
1143
1165
|
"sizes": {
|
|
1144
1166
|
"consume-shared": 294,
|
|
1145
|
-
"javascript":
|
|
1167
|
+
"javascript": 3564963,
|
|
1146
1168
|
"share-init": 378,
|
|
1147
1169
|
"runtime": 22185
|
|
1148
1170
|
},
|
|
@@ -1159,7 +1181,7 @@
|
|
|
1159
1181
|
"auxiliaryFiles": [
|
|
1160
1182
|
"main.js.map"
|
|
1161
1183
|
],
|
|
1162
|
-
"hash": "
|
|
1184
|
+
"hash": "695c7507f62822ea",
|
|
1163
1185
|
"childrenByOrder": {}
|
|
1164
1186
|
},
|
|
1165
1187
|
{
|
|
@@ -1230,6 +1252,28 @@
|
|
|
1230
1252
|
"hash": "8a453ce5dc747039",
|
|
1231
1253
|
"childrenByOrder": {}
|
|
1232
1254
|
},
|
|
1255
|
+
{
|
|
1256
|
+
"rendered": true,
|
|
1257
|
+
"initial": false,
|
|
1258
|
+
"entry": false,
|
|
1259
|
+
"recorded": false,
|
|
1260
|
+
"size": 2867,
|
|
1261
|
+
"sizes": {
|
|
1262
|
+
"javascript": 2867
|
|
1263
|
+
},
|
|
1264
|
+
"names": [],
|
|
1265
|
+
"idHints": [],
|
|
1266
|
+
"runtime": [
|
|
1267
|
+
"@openmrs/esm-patient-vitals-app",
|
|
1268
|
+
"main"
|
|
1269
|
+
],
|
|
1270
|
+
"files": [
|
|
1271
|
+
"9569.js"
|
|
1272
|
+
],
|
|
1273
|
+
"auxiliaryFiles": [],
|
|
1274
|
+
"hash": "53f54aa1685c6448",
|
|
1275
|
+
"childrenByOrder": {}
|
|
1276
|
+
},
|
|
1233
1277
|
{
|
|
1234
1278
|
"rendered": true,
|
|
1235
1279
|
"initial": false,
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.2.0"},"extensions":[{"name":"vitals-overview-widget","component":"vitalsSummary","slot":"patient-chart-summary-dashboard-slot","meta":{"fullWidth":true},"order":1},{"name":"vitals-details-widget","component":"vitalsMain","slot":"patient-chart-vitals-biometrics-dashboard-slot","meta":{"title":"Vitals","view":"vitals","fullWidth":true},"order":1},{"name":"patient-vitals-info","component":"vitalsHeader","slot":"patient-info-slot"},{"name":"biometrics-overview-widget","component":"biometricsOverview","slot":"patient-chart-summary-dashboard-slot","meta":{"fullWidth":true},"order":2},{"name":"biometrics-details-widget","component":"biometricsDetailedSummary","slot":"patient-chart-vitals-biometrics-dashboard-slot","meta":{"view":"biometrics","title":"Biometrics","fullWidth":true}},{"name":"results-summary-dashboard","component":"vitalsAndBiometricsDashboardLink","slot":"patient-chart-dashboard-slot","order":2,"meta":{"slot":"patient-chart-vitals-biometrics-dashboard-slot","path":"Vitals & Biometrics"}},{"name":"weight-tile","component":"weightTile","slot":"visit-form-header-slot","order":2}],"pages":[],"workspaces":[{"name":"patient-vitals-biometrics-form-workspace","title":"recordVitalsAndBiometrics","component":"vitalsBiometricsFormWorkspace"}],"modals":[{"name":"vitals-biometrics-delete-confirmation-modal","component":"vitalsAndBiometricsDeleteConfirmationModal"}],"version":"10.2.1-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.2.0"},"extensions":[{"name":"vitals-overview-widget","component":"vitalsSummary","slot":"patient-chart-summary-dashboard-slot","meta":{"fullWidth":true},"order":1},{"name":"vitals-details-widget","component":"vitalsMain","slot":"patient-chart-vitals-biometrics-dashboard-slot","meta":{"title":"Vitals","view":"vitals","fullWidth":true},"order":1},{"name":"patient-vitals-info","component":"vitalsHeader","slot":"patient-info-slot"},{"name":"biometrics-overview-widget","component":"biometricsOverview","slot":"patient-chart-summary-dashboard-slot","meta":{"fullWidth":true},"order":2},{"name":"biometrics-details-widget","component":"biometricsDetailedSummary","slot":"patient-chart-vitals-biometrics-dashboard-slot","meta":{"view":"biometrics","title":"Biometrics","fullWidth":true}},{"name":"results-summary-dashboard","component":"vitalsAndBiometricsDashboardLink","slot":"patient-chart-dashboard-slot","order":2,"meta":{"slot":"patient-chart-vitals-biometrics-dashboard-slot","path":"Vitals & Biometrics"}},{"name":"weight-tile","component":"weightTile","slot":"visit-form-header-slot","order":2}],"pages":[],"workspaces":[{"name":"patient-vitals-biometrics-form-workspace","title":"recordVitalsAndBiometrics","component":"vitalsBiometricsFormWorkspace"}],"modals":[{"name":"vitals-biometrics-delete-confirmation-modal","component":"vitalsAndBiometricsDeleteConfirmationModal"}],"version":"10.2.1-pre.7734"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-patient-vitals-app",
|
|
3
|
-
"version": "10.2.1-pre.
|
|
3
|
+
"version": "10.2.1-pre.7734",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "Patient vitals microfrontend for the OpenMRS SPA",
|
|
6
6
|
"browser": "dist/openmrs-esm-patient-vitals-app.js",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"swr": "2.x"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@openmrs/esm-patient-common-lib": "10.2.1-pre.
|
|
56
|
+
"@openmrs/esm-patient-common-lib": "10.2.1-pre.7734",
|
|
57
57
|
"webpack": "^5.94.0"
|
|
58
58
|
},
|
|
59
59
|
"stableVersion": "10.2.0"
|
|
@@ -95,6 +95,30 @@ const BiometricsChart: React.FC<BiometricsChartProps> = ({ patientBiometrics, co
|
|
|
95
95
|
)} -
|
|
96
96
|
<span style="color: #c6c6c6; font-size: 1rem; font-weight:400">${value}</span></div>`,
|
|
97
97
|
},
|
|
98
|
+
toolbar: {
|
|
99
|
+
enabled: true,
|
|
100
|
+
numberOfIcons: 4,
|
|
101
|
+
controls: [
|
|
102
|
+
{
|
|
103
|
+
type: 'Zoom in',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: 'Zoom out',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
type: 'Reset zoom',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
type: 'Export as CSV',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
type: 'Export as PNG',
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
type: 'Make fullscreen',
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
98
122
|
zoomBar: {
|
|
99
123
|
top: {
|
|
100
124
|
enabled: true,
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
.biometricsArea {
|
|
21
21
|
flex-grow: 1;
|
|
22
22
|
margin: layout.$spacing-03 0;
|
|
23
|
-
padding-right: layout.$spacing-05;
|
|
24
23
|
|
|
25
24
|
// This is a hack to override the max-width of the overflow menu button
|
|
26
25
|
:global(
|
|
@@ -32,6 +31,11 @@
|
|
|
32
31
|
) {
|
|
33
32
|
max-width: none !important;
|
|
34
33
|
}
|
|
34
|
+
|
|
35
|
+
// Ensures the chart toolbar tooltips are visible
|
|
36
|
+
:global(.cds--tabs--vertical ~ .cds--tab-content) {
|
|
37
|
+
overflow-y: visible;
|
|
38
|
+
}
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
.biometricLabel {
|
|
@@ -118,6 +118,30 @@ const VitalsChart: React.FC<VitalsChartProps> = ({ patientVitals, conceptUnits,
|
|
|
118
118
|
).toUpperCase()}
|
|
119
119
|
<span style="color: #c6c6c6; font-size: 1rem; font-weight:600">${key}</span></div>`,
|
|
120
120
|
},
|
|
121
|
+
toolbar: {
|
|
122
|
+
enabled: true,
|
|
123
|
+
numberOfIcons: 4,
|
|
124
|
+
controls: [
|
|
125
|
+
{
|
|
126
|
+
type: 'Zoom in',
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
type: 'Zoom out',
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
type: 'Reset zoom',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
type: 'Export as CSV',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
type: 'Export as PNG',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: 'Make fullscreen',
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
},
|
|
121
145
|
zoomBar: {
|
|
122
146
|
top: {
|
|
123
147
|
enabled: true,
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
.vitalSignsArea {
|
|
21
21
|
flex-grow: 1;
|
|
22
22
|
margin: layout.$spacing-03 0;
|
|
23
|
-
padding-right: layout.$spacing-05;
|
|
24
23
|
|
|
25
24
|
// This is a hack to override the max-width of the overflow menu button
|
|
26
25
|
:global(
|
|
@@ -32,6 +31,11 @@
|
|
|
32
31
|
) {
|
|
33
32
|
max-width: none !important;
|
|
34
33
|
}
|
|
34
|
+
|
|
35
|
+
// Ensures the chart toolbar tooltips are visible
|
|
36
|
+
:global(.cds--tabs--vertical ~ .cds--tab-content) {
|
|
37
|
+
overflow-y: visible;
|
|
38
|
+
}
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
.vitalsSignLabel {
|
|
@@ -588,7 +588,7 @@ const VitalsAndBiometricsForm: React.FC<VitalsAndBiometricsFormProps> = ({
|
|
|
588
588
|
className={styles.errorNotification}
|
|
589
589
|
lowContrast={false}
|
|
590
590
|
onClose={() => setHasInvalidVitals(false)}
|
|
591
|
-
title={t('vitalsAndBiometricsSaveError', 'Error saving
|
|
591
|
+
title={t('vitalsAndBiometricsSaveError', 'Error saving Vitals and Biometrics')}
|
|
592
592
|
subtitle={t('checkForValidity', 'Some of the values entered are invalid')}
|
|
593
593
|
/>
|
|
594
594
|
</Column>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"abnormalValue": "Abnormal value",
|
|
3
|
+
"actions": "Actions",
|
|
4
|
+
"add": "Add",
|
|
5
|
+
"additionalNoteText": "Type any additional notes here",
|
|
6
|
+
"biometricDisplayed": "Biometric displayed",
|
|
7
|
+
"biometrics": "Biometrics",
|
|
8
|
+
"biometrics_lower": "biometrics",
|
|
9
|
+
"bloodPressure": "Blood Pressure",
|
|
10
|
+
"bloodPressureAbbreviated": "BP",
|
|
11
|
+
"bmi": "BMI",
|
|
12
|
+
"bp": "BP",
|
|
13
|
+
"calculatedBmi": "BMI (calc.)",
|
|
14
|
+
"cancel": "Cancel",
|
|
15
|
+
"checkForValidity": "Some of the values entered are invalid",
|
|
16
|
+
"date": "Date",
|
|
17
|
+
"dateAndTime": "Date and time",
|
|
18
|
+
"daysOldVitals_one": "<0>These vitals are <1>{{count}} day old</1></0>",
|
|
19
|
+
"daysOldVitals_other": "<0>These vitals are <1>{{count}} days old</1></0>",
|
|
20
|
+
"delete": "Delete",
|
|
21
|
+
"deleteConfirmationText": "Note: Deleting these entries will also remove related vitals or biometrics data. Are you sure you want to continue?",
|
|
22
|
+
"deleteVitalsAndBiometrics": "Delete vitals and biometrics",
|
|
23
|
+
"deleting": "Deleting",
|
|
24
|
+
"diastolic": "diastolic",
|
|
25
|
+
"discard": "Discard",
|
|
26
|
+
"edit": "Edit",
|
|
27
|
+
"editOrDeleteVitalsAndBiometrics": "Edit or delete Vitals and Biometrics",
|
|
28
|
+
"editVitalsAndBiometrics": "Edit Vitals and Biometrics",
|
|
29
|
+
"encounterUuidRequired": "Encounter UUID is required to delete vitals or biometrics",
|
|
30
|
+
"error": "Error",
|
|
31
|
+
"errorDeleting": "Error deleting vitals and biometrics",
|
|
32
|
+
"female": "Female",
|
|
33
|
+
"goToSummary": "Go to Summary",
|
|
34
|
+
"heartRate": "Heart rate",
|
|
35
|
+
"height": "Height",
|
|
36
|
+
"loading": "Loading",
|
|
37
|
+
"male": "Male",
|
|
38
|
+
"muac": "MUAC",
|
|
39
|
+
"noDataRecorded": "No data has been recorded for this patient",
|
|
40
|
+
"notAvailable": "Not available",
|
|
41
|
+
"notes": "Notes",
|
|
42
|
+
"other": "Other",
|
|
43
|
+
"outOfDateVitals": "<0>These vitals are <1>out of date</1></0>",
|
|
44
|
+
"overOneWeekOldVitals": "<0>These vitals are <1>over one week old</1></0>",
|
|
45
|
+
"oxygenSaturation": "Oxygen saturation",
|
|
46
|
+
"pleaseFillField": "Please fill at least one field",
|
|
47
|
+
"print": "Print",
|
|
48
|
+
"printedBy": "Printed by",
|
|
49
|
+
"pulse": "Pulse",
|
|
50
|
+
"recordBiometrics": "Record biometrics",
|
|
51
|
+
"recordVitals": "Record vitals",
|
|
52
|
+
"recordVitalsAndBiometrics": "Record Vitals and Biometrics",
|
|
53
|
+
"respirationRate": "Respiration rate",
|
|
54
|
+
"respiratoryRate": "R. rate",
|
|
55
|
+
"respiratoryRateAbbreviated": "R. Rate",
|
|
56
|
+
"saveAndClose": "Save and close",
|
|
57
|
+
"seeAll": "See all",
|
|
58
|
+
"spo2": "SpO2",
|
|
59
|
+
"systolic": "systolic",
|
|
60
|
+
"temp": "Temp",
|
|
61
|
+
"temperature": "Temperature",
|
|
62
|
+
"temperatureAbbreviated": "Temp",
|
|
63
|
+
"unknown": "Unknown",
|
|
64
|
+
"validationInputError": "Value must be between {{min}} and {{max}}",
|
|
65
|
+
"vitals": "Vitals",
|
|
66
|
+
"Vitals & Biometrics": "Vitals & Biometrics",
|
|
67
|
+
"vitalsAndBiometrics": "Vitals and biometrics",
|
|
68
|
+
"vitalsAndBiometricsDeleted": "Vitals and biometrics deleted",
|
|
69
|
+
"vitalsAndBiometricsNowAvailable": "They are now visible on the Vitals and Biometrics page",
|
|
70
|
+
"vitalsAndBiometricsSaved": "Vitals and Biometrics saved",
|
|
71
|
+
"vitalsAndBiometricsSaveError": "Error saving vitals and biometrics",
|
|
72
|
+
"vitalsAndBiometricsUpdated": "Vitals and Biometrics updated",
|
|
73
|
+
"vitalsAndBiometricsUpdateError": "Error updating Vitals and Biometrics",
|
|
74
|
+
"vitalsHistory": "Vitals history",
|
|
75
|
+
"vitalSignDisplayed": "Vital sign displayed",
|
|
76
|
+
"vitalSigns": "Vital signs",
|
|
77
|
+
"weight": "Weight"
|
|
78
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"abnormalValue": "Abnormal value",
|
|
3
|
+
"actions": "Actions",
|
|
4
|
+
"add": "Add",
|
|
5
|
+
"additionalNoteText": "Type any additional notes here",
|
|
6
|
+
"biometricDisplayed": "Biometric displayed",
|
|
7
|
+
"biometrics": "Biometrics",
|
|
8
|
+
"biometrics_lower": "biometrics",
|
|
9
|
+
"bloodPressure": "Blood Pressure",
|
|
10
|
+
"bloodPressureAbbreviated": "BP",
|
|
11
|
+
"bmi": "BMI",
|
|
12
|
+
"bp": "BP",
|
|
13
|
+
"calculatedBmi": "BMI (calc.)",
|
|
14
|
+
"cancel": "Cancel",
|
|
15
|
+
"checkForValidity": "Some of the values entered are invalid",
|
|
16
|
+
"date": "Date",
|
|
17
|
+
"dateAndTime": "Date and time",
|
|
18
|
+
"daysOldVitals_one": "<0>These vitals are <1>{{count}} day old</1></0>",
|
|
19
|
+
"daysOldVitals_other": "<0>These vitals are <1>{{count}} days old</1></0>",
|
|
20
|
+
"delete": "Delete",
|
|
21
|
+
"deleteConfirmationText": "Note: Deleting these entries will also remove related vitals or biometrics data. Are you sure you want to continue?",
|
|
22
|
+
"deleteVitalsAndBiometrics": "Delete vitals and biometrics",
|
|
23
|
+
"deleting": "Deleting",
|
|
24
|
+
"diastolic": "diastolic",
|
|
25
|
+
"discard": "Discard",
|
|
26
|
+
"edit": "Edit",
|
|
27
|
+
"editOrDeleteVitalsAndBiometrics": "Edit or delete Vitals and Biometrics",
|
|
28
|
+
"editVitalsAndBiometrics": "Edit Vitals and Biometrics",
|
|
29
|
+
"encounterUuidRequired": "Encounter UUID is required to delete vitals or biometrics",
|
|
30
|
+
"error": "Error",
|
|
31
|
+
"errorDeleting": "Error deleting vitals and biometrics",
|
|
32
|
+
"female": "Female",
|
|
33
|
+
"goToSummary": "Go to Summary",
|
|
34
|
+
"heartRate": "Heart rate",
|
|
35
|
+
"height": "Height",
|
|
36
|
+
"loading": "Loading",
|
|
37
|
+
"male": "Male",
|
|
38
|
+
"muac": "MUAC",
|
|
39
|
+
"noDataRecorded": "No data has been recorded for this patient",
|
|
40
|
+
"notAvailable": "Not available",
|
|
41
|
+
"notes": "Notes",
|
|
42
|
+
"other": "Other",
|
|
43
|
+
"outOfDateVitals": "<0>These vitals are <1>out of date</1></0>",
|
|
44
|
+
"overOneWeekOldVitals": "<0>These vitals are <1>over one week old</1></0>",
|
|
45
|
+
"oxygenSaturation": "Oxygen saturation",
|
|
46
|
+
"pleaseFillField": "Please fill at least one field",
|
|
47
|
+
"print": "Print",
|
|
48
|
+
"printedBy": "Printed by",
|
|
49
|
+
"pulse": "Pulse",
|
|
50
|
+
"recordBiometrics": "Record biometrics",
|
|
51
|
+
"recordVitals": "Record vitals",
|
|
52
|
+
"recordVitalsAndBiometrics": "Record Vitals and Biometrics",
|
|
53
|
+
"respirationRate": "Respiration rate",
|
|
54
|
+
"respiratoryRate": "R. rate",
|
|
55
|
+
"respiratoryRateAbbreviated": "R. Rate",
|
|
56
|
+
"saveAndClose": "Save and close",
|
|
57
|
+
"seeAll": "See all",
|
|
58
|
+
"spo2": "SpO2",
|
|
59
|
+
"systolic": "systolic",
|
|
60
|
+
"temp": "Temp",
|
|
61
|
+
"temperature": "Temperature",
|
|
62
|
+
"temperatureAbbreviated": "Temp",
|
|
63
|
+
"unknown": "Unknown",
|
|
64
|
+
"validationInputError": "Value must be between {{min}} and {{max}}",
|
|
65
|
+
"vitals": "Vitals",
|
|
66
|
+
"Vitals & Biometrics": "Vitals & Biometrics",
|
|
67
|
+
"vitalsAndBiometrics": "Vitals and biometrics",
|
|
68
|
+
"vitalsAndBiometricsDeleted": "Vitals and biometrics deleted",
|
|
69
|
+
"vitalsAndBiometricsNowAvailable": "They are now visible on the Vitals and Biometrics page",
|
|
70
|
+
"vitalsAndBiometricsSaved": "Vitals and Biometrics saved",
|
|
71
|
+
"vitalsAndBiometricsSaveError": "Error saving vitals and biometrics",
|
|
72
|
+
"vitalsAndBiometricsUpdated": "Vitals and Biometrics updated",
|
|
73
|
+
"vitalsAndBiometricsUpdateError": "Error updating Vitals and Biometrics",
|
|
74
|
+
"vitalsHistory": "Vitals history",
|
|
75
|
+
"vitalSignDisplayed": "Vital sign displayed",
|
|
76
|
+
"vitalSigns": "Vital signs",
|
|
77
|
+
"weight": "Weight"
|
|
78
|
+
}
|