@openmrs/esm-patient-vitals-app 9.1.1-pre.6653 → 9.1.1-pre.6657
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 +8 -8
- package/dist/4055.js +1 -1
- package/dist/6864.js +1 -1
- package/dist/6864.js.map +1 -1
- package/dist/890.js +1 -0
- package/dist/9895.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 +54 -10
- package/dist/routes.json +1 -1
- package/package.json +3 -3
- package/src/vitals-and-biometrics-header/vitals-header.component.tsx +9 -0
- package/src/vitals-and-biometrics-header/vitals-header.test.tsx +1 -0
- package/translations/fr.json +23 -23
- package/translations/ku.json +63 -0
- package/translations/uz_UZ.json +63 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
var _openmrs_esm_patient_vitals_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,s,u,p,f,d,h,c,m={8746:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(8148),t.e(7823),t.e(1343),t.e(5838),t.e(6864)]).then((()=>()=>t(6864)))},a=(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),o=(e,r)=>{if(t.S){var n="default",a=t.S[n];if(a&&a!==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:()=>a,init:()=>o})}},v={};function g(e){var r=v[e];if(void 0!==r)return r.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return m[e].call(t.exports,t,t.exports,g),t.loaded=!0,t.exports}g.m=m,g.c=v,g.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return g.d(r,{a:r}),r},g.d=(e,r)=>{for(var t in r)g.o(r,t)&&!g.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},g.f={},g.e=e=>Promise.all(Object.keys(g.f).reduce(((r,t)=>(g.f[t](e,r),r)),[])),g.u=e=>e+".js",g.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),g.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-patient-vitals-app:",g.l=(t,n,a,o)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==a)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,g.nc&&i.setAttribute("nonce",g.nc),i.setAttribute("data-webpack",r+a),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var a=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),a&&a.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)}},g.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},g.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{g.S={};var e={},r={};g.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];g.o(g.S,t)||(g.S[t]={});var o=g.S[t],i="@openmrs/esm-patient-vitals-app",l=(e,r,t,n)=>{var a=o[e]=o[e]||{},l=a[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(a[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","6.0.3-pre.2634",(()=>Promise.all([g.e(367),g.e(1343)]).then((()=>()=>g(367))))),l("@openmrs/esm-patient-common-lib","9.1.1-pre.
|
|
1
|
+
var _openmrs_esm_patient_vitals_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,s,u,p,f,d,h,c,m={8746:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(8148),t.e(7823),t.e(1343),t.e(5838),t.e(6864)]).then((()=>()=>t(6864)))},a=(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),o=(e,r)=>{if(t.S){var n="default",a=t.S[n];if(a&&a!==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:()=>a,init:()=>o})}},v={};function g(e){var r=v[e];if(void 0!==r)return r.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return m[e].call(t.exports,t,t.exports,g),t.loaded=!0,t.exports}g.m=m,g.c=v,g.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return g.d(r,{a:r}),r},g.d=(e,r)=>{for(var t in r)g.o(r,t)&&!g.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},g.f={},g.e=e=>Promise.all(Object.keys(g.f).reduce(((r,t)=>(g.f[t](e,r),r)),[])),g.u=e=>e+".js",g.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),g.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-patient-vitals-app:",g.l=(t,n,a,o)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==a)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+a){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,g.nc&&i.setAttribute("nonce",g.nc),i.setAttribute("data-webpack",r+a),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var a=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),a&&a.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)}},g.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},g.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{g.S={};var e={},r={};g.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];g.o(g.S,t)||(g.S[t]={});var o=g.S[t],i="@openmrs/esm-patient-vitals-app",l=(e,r,t,n)=>{var a=o[e]=o[e]||{},l=a[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(a[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","6.0.3-pre.2634",(()=>Promise.all([g.e(367),g.e(1343)]).then((()=>()=>g(367))))),l("@openmrs/esm-patient-common-lib","9.1.1-pre.6657",(()=>Promise.all([g.e(8917),g.e(8148),g.e(1343),g.e(6112),g.e(2433),g.e(5838)]).then((()=>()=>g(2433))))),l("dayjs","1.11.11",(()=>g.e(3464).then((()=>()=>g(3464))))),l("react-i18next","11.18.6",(()=>Promise.all([g.e(4641),g.e(1343)]).then((()=>()=>g(4641))))),l("react-router-dom","6.16.0",(()=>Promise.all([g.e(2913),g.e(1343)]).then((()=>()=>g(2913))))),l("react","18.3.1",(()=>g.e(4041).then((()=>()=>g(4041))))),l("swr/_internal","2.2.4",(()=>Promise.all([g.e(9074),g.e(1343)]).then((()=>()=>g(9074))))),l("swr/immutable","2.2.4",(()=>Promise.all([g.e(8917),g.e(1343),g.e(6112),g.e(229)]).then((()=>()=>g(2610))))),l("swr/infinite","2.2.4",(()=>Promise.all([g.e(8917),g.e(1343),g.e(6112),g.e(6165)]).then((()=>()=>g(8546)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;g.g.importScripts&&(e=g.g.location+"");var r=g.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(/\/[^\/]+$/,"/"),g.p=e})(),t=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},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var a=e[n],o=(typeof a)[0];if(n>=r.length)return"u"==o;var i=r[n],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&a!=i)return a<i;n++}},a=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 i=[];for(o=1;o<e.length;o++){var l=e[o];i.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?i.pop()+" "+i.pop():a(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,r)=>{if(0 in e){r=t(r);var n=e[0],a=n<0;a&&(n=-n-1);for(var i=0,l=1,s=!0;;l++,i++){var u,p,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(p=(typeof(u=r[i]))[0]))return!s||("u"==f?l>n&&!a:""==f!=a);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(l<=n){if(u!=e[l])return!1}else{if(a?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=f&&"n"!=f){if(a||l<=n)return!1;s=!1,l--}else{if(l<=n||p<f!=a)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,l--)}}var d=[],h=d.pop.bind(d);for(i=1;i<e.length;i++){var c=e[i];d.push(1==c?h()|h():2==c?h()&h():c?o(c,r):!h())}return!!h()},i=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&n(e,r)?r:e),0)},l=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+a(n)+")",s=(e,r,t,n)=>{var a=i(e,t);return o(n,a)||u(l(e,t,a,n)),p(e[t][a])},u=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},p=e=>(e.loaded=1,e.get()),f=(e=>function(r,t,n,a){var o=g.I(r);return o&&o.then?o.then(e.bind(e,r,g.S[r],t,n,a)):e(0,g.S[r],t,n,a)})(((e,r,t,n,a)=>r&&g.o(r,t)?s(r,0,t,n):a())),d={},h={1343:()=>f("default","react",[1,18],(()=>g.e(4041).then((()=>()=>g(4041))))),6112:()=>f("default","swr/_internal",[1,2],(()=>g.e(9074).then((()=>()=>g(9074))))),8877:()=>f("default","react-router-dom",[1,6],(()=>g.e(2913).then((()=>()=>g(2913))))),3150:()=>f("default","react-i18next",[1,11],(()=>g.e(4641).then((()=>()=>g(4641))))),5260:()=>f("default","swr/immutable",[1,2],(()=>Promise.all([g.e(8917),g.e(6112),g.e(2610)]).then((()=>()=>g(2610))))),7223:()=>f("default","@openmrs/esm-patient-common-lib",[1,9],(()=>Promise.all([g.e(8917),g.e(6112),g.e(2433)]).then((()=>()=>g(2433))))),8254:()=>f("default","@openmrs/esm-framework",[1,6],(()=>g.e(367).then((()=>()=>g(367))))),454:()=>f("default","swr/infinite",[1,2],(()=>Promise.all([g.e(8917),g.e(6112),g.e(8546)]).then((()=>()=>g(8546))))),6372:()=>f("default","dayjs",[1,1],(()=>g.e(3464).then((()=>()=>g(3464)))))},c={1343:[1343],2433:[8877],5838:[3150,5260,7223,8254],6112:[6112],6864:[454,6372]},g.f.consumes=(e,r)=>{g.o(c,e)&&c[e].forEach((e=>{if(g.o(d,e))return r.push(d[e]);var t=r=>{d[e]=0,g.m[e]=t=>{delete g.c[e],t.exports=r()}},n=r=>{delete d[e],g.m[e]=t=>{throw delete g.c[e],r}};try{var a=h[e]();a.then?r.push(d[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}))},(()=>{var e={6167:0};g.f.j=(r,t)=>{var n=g.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1343|5838|6112)$/.test(r))e[r]=0;else{var a=new Promise(((t,a)=>n=e[r]=[t,a]));t.push(n[2]=a);var o=g.p+g.u(r),i=new Error;g.l(o,(t=>{if(g.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,i,l]=t,s=0;if(o.some((r=>0!==e[r]))){for(n in i)g.o(i,n)&&(g.m[n]=i[n]);l&&l(g)}for(r&&r(t);s<o.length;s++)a=o[s],g.o(e,a)&&e[a]&&e[a][0](),e[a]=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))})(),g.nc=void 0;var b=g(8746);_openmrs_esm_patient_vitals_app=b})();
|
|
@@ -73,6 +73,28 @@
|
|
|
73
73
|
"hash": "45a735198d702be8",
|
|
74
74
|
"childrenByOrder": {}
|
|
75
75
|
},
|
|
76
|
+
{
|
|
77
|
+
"rendered": true,
|
|
78
|
+
"initial": false,
|
|
79
|
+
"entry": false,
|
|
80
|
+
"recorded": false,
|
|
81
|
+
"size": 2084,
|
|
82
|
+
"sizes": {
|
|
83
|
+
"javascript": 2084
|
|
84
|
+
},
|
|
85
|
+
"names": [],
|
|
86
|
+
"idHints": [],
|
|
87
|
+
"runtime": [
|
|
88
|
+
"@openmrs/esm-patient-vitals-app",
|
|
89
|
+
"main"
|
|
90
|
+
],
|
|
91
|
+
"files": [
|
|
92
|
+
"890.js"
|
|
93
|
+
],
|
|
94
|
+
"auxiliaryFiles": [],
|
|
95
|
+
"hash": "9e765459ee4e3082",
|
|
96
|
+
"childrenByOrder": {}
|
|
97
|
+
},
|
|
76
98
|
{
|
|
77
99
|
"rendered": true,
|
|
78
100
|
"initial": false,
|
|
@@ -383,9 +405,9 @@
|
|
|
383
405
|
"initial": false,
|
|
384
406
|
"entry": false,
|
|
385
407
|
"recorded": false,
|
|
386
|
-
"size":
|
|
408
|
+
"size": 2338,
|
|
387
409
|
"sizes": {
|
|
388
|
-
"javascript":
|
|
410
|
+
"javascript": 2338
|
|
389
411
|
},
|
|
390
412
|
"names": [],
|
|
391
413
|
"idHints": [],
|
|
@@ -397,7 +419,7 @@
|
|
|
397
419
|
"4055.js"
|
|
398
420
|
],
|
|
399
421
|
"auxiliaryFiles": [],
|
|
400
|
-
"hash": "
|
|
422
|
+
"hash": "eb426655d04635f8",
|
|
401
423
|
"childrenByOrder": {}
|
|
402
424
|
},
|
|
403
425
|
{
|
|
@@ -761,7 +783,7 @@
|
|
|
761
783
|
"auxiliaryFiles": [
|
|
762
784
|
"openmrs-esm-patient-vitals-app.js.map"
|
|
763
785
|
],
|
|
764
|
-
"hash": "
|
|
786
|
+
"hash": "ecb6455b1b62fe3c",
|
|
765
787
|
"childrenByOrder": {}
|
|
766
788
|
},
|
|
767
789
|
{
|
|
@@ -857,10 +879,10 @@
|
|
|
857
879
|
"initial": false,
|
|
858
880
|
"entry": false,
|
|
859
881
|
"recorded": false,
|
|
860
|
-
"size":
|
|
882
|
+
"size": 400066,
|
|
861
883
|
"sizes": {
|
|
862
884
|
"consume-shared": 84,
|
|
863
|
-
"javascript":
|
|
885
|
+
"javascript": 399982
|
|
864
886
|
},
|
|
865
887
|
"names": [],
|
|
866
888
|
"idHints": [],
|
|
@@ -873,7 +895,7 @@
|
|
|
873
895
|
"auxiliaryFiles": [
|
|
874
896
|
"6864.js.map"
|
|
875
897
|
],
|
|
876
|
-
"hash": "
|
|
898
|
+
"hash": "dd917b9131245884",
|
|
877
899
|
"childrenByOrder": {}
|
|
878
900
|
},
|
|
879
901
|
{
|
|
@@ -1026,10 +1048,10 @@
|
|
|
1026
1048
|
"initial": true,
|
|
1027
1049
|
"entry": true,
|
|
1028
1050
|
"recorded": false,
|
|
1029
|
-
"size":
|
|
1051
|
+
"size": 3484562,
|
|
1030
1052
|
"sizes": {
|
|
1031
1053
|
"consume-shared": 294,
|
|
1032
|
-
"javascript":
|
|
1054
|
+
"javascript": 3461867,
|
|
1033
1055
|
"share-init": 378,
|
|
1034
1056
|
"runtime": 22023
|
|
1035
1057
|
},
|
|
@@ -1046,7 +1068,7 @@
|
|
|
1046
1068
|
"auxiliaryFiles": [
|
|
1047
1069
|
"main.js.map"
|
|
1048
1070
|
],
|
|
1049
|
-
"hash": "
|
|
1071
|
+
"hash": "bb702fd665457860",
|
|
1050
1072
|
"childrenByOrder": {}
|
|
1051
1073
|
},
|
|
1052
1074
|
{
|
|
@@ -1169,6 +1191,28 @@
|
|
|
1169
1191
|
"hash": "eacadbd780ce8166",
|
|
1170
1192
|
"childrenByOrder": {}
|
|
1171
1193
|
},
|
|
1194
|
+
{
|
|
1195
|
+
"rendered": true,
|
|
1196
|
+
"initial": false,
|
|
1197
|
+
"entry": false,
|
|
1198
|
+
"recorded": false,
|
|
1199
|
+
"size": 2084,
|
|
1200
|
+
"sizes": {
|
|
1201
|
+
"javascript": 2084
|
|
1202
|
+
},
|
|
1203
|
+
"names": [],
|
|
1204
|
+
"idHints": [],
|
|
1205
|
+
"runtime": [
|
|
1206
|
+
"@openmrs/esm-patient-vitals-app",
|
|
1207
|
+
"main"
|
|
1208
|
+
],
|
|
1209
|
+
"files": [
|
|
1210
|
+
"9895.js"
|
|
1211
|
+
],
|
|
1212
|
+
"auxiliaryFiles": [],
|
|
1213
|
+
"hash": "537b2e92f3c559a5",
|
|
1214
|
+
"childrenByOrder": {}
|
|
1215
|
+
},
|
|
1172
1216
|
{
|
|
1173
1217
|
"rendered": true,
|
|
1174
1218
|
"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":false},"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"}],"version":"9.1.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":false},"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"}],"version":"9.1.1-pre.6657"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-patient-vitals-app",
|
|
3
|
-
"version": "9.1.1-pre.
|
|
3
|
+
"version": "9.1.1-pre.6657",
|
|
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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@carbon/charts-react": "^1.5.2",
|
|
41
41
|
"@carbon/react": "^1.12.0",
|
|
42
|
-
"@openmrs/esm-patient-common-lib": "^9.1.1-pre.
|
|
42
|
+
"@openmrs/esm-patient-common-lib": "^9.1.1-pre.6657",
|
|
43
43
|
"d3": "^7.6.1",
|
|
44
44
|
"lodash-es": "^4.17.21"
|
|
45
45
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"swr": "2.x"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@openmrs/esm-patient-common-lib": "9.1.1-pre.
|
|
57
|
+
"@openmrs/esm-patient-common-lib": "9.1.1-pre.6657",
|
|
58
58
|
"webpack": "^5.94.0"
|
|
59
59
|
},
|
|
60
60
|
"stableVersion": "9.1.0"
|
|
@@ -206,6 +206,15 @@ const VitalsHeader: React.FC<VitalsHeaderProps> = ({ patientUuid, hideLinks = fa
|
|
|
206
206
|
unitSymbol={latestVitals?.bmi && config.biometrics['bmiUnit']}
|
|
207
207
|
value={latestVitals?.bmi ?? '--'}
|
|
208
208
|
/>
|
|
209
|
+
{latestVitals?.muac && (
|
|
210
|
+
<VitalsHeaderItem
|
|
211
|
+
unitName={t('muac', 'MUAC')}
|
|
212
|
+
unitSymbol={
|
|
213
|
+
(latestVitals?.muac && conceptUnits.get(config.concepts.midUpperArmCircumferenceUuid)) ?? ''
|
|
214
|
+
}
|
|
215
|
+
value={latestVitals?.muac ?? '--'}
|
|
216
|
+
/>
|
|
217
|
+
)}
|
|
209
218
|
</div>
|
|
210
219
|
</div>
|
|
211
220
|
</div>
|
|
@@ -89,6 +89,7 @@ describe('VitalsHeader', () => {
|
|
|
89
89
|
expect(getByTextWithMarkup(/Height\s*-\s*/i)).toBeInTheDocument();
|
|
90
90
|
expect(getByTextWithMarkup(/BMI\s*-\s*/i)).toBeInTheDocument();
|
|
91
91
|
expect(getByTextWithMarkup(/Weight\s*-\s*/i)).toBeInTheDocument();
|
|
92
|
+
expect(getByTextWithMarkup(/MUAC\s*23\s*cm/i)).toBeInTheDocument();
|
|
92
93
|
expect(getByTextWithMarkup(/these vitals are out of date/i)).toBeInTheDocument();
|
|
93
94
|
});
|
|
94
95
|
|
package/translations/fr.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"abnormalValue": "Valeur anormale",
|
|
3
3
|
"add": "Ajouter",
|
|
4
|
-
"additionalNoteText": "
|
|
5
|
-
"biometricDisplayed": "Biométrie
|
|
4
|
+
"additionalNoteText": "Si nécessaire, entrez des notes supplémentaires ici",
|
|
5
|
+
"biometricDisplayed": "Biométrie affichée",
|
|
6
6
|
"biometrics": "Biométrie",
|
|
7
7
|
"biometrics_lower": "biométrie",
|
|
8
|
-
"bloodPressure": "
|
|
8
|
+
"bloodPressure": "Tension artérielle",
|
|
9
9
|
"bloodPressureAbbreviated": "TA",
|
|
10
10
|
"bmi": "IMC",
|
|
11
|
-
"bp": "
|
|
11
|
+
"bp": "TA",
|
|
12
12
|
"calculatedBmi": "IMC (calc.)",
|
|
13
13
|
"checkForValidity": "Certaines des valeurs saisies ne sont pas valides.",
|
|
14
14
|
"date": "Date",
|
|
@@ -16,33 +16,33 @@
|
|
|
16
16
|
"daysOldVitals_one": "<0>These vitals are <1>{{count}} day old</1></0>",
|
|
17
17
|
"daysOldVitals_other": "<0>These vitals are <1>{{count}} days old</1></0>",
|
|
18
18
|
"diastolic": "diastolique",
|
|
19
|
-
"discard": "
|
|
19
|
+
"discard": "Annuler",
|
|
20
20
|
"error": "Erreur",
|
|
21
|
-
"female": "
|
|
22
|
-
"goToSummary": "
|
|
23
|
-
"heartRate": "
|
|
24
|
-
"height": "
|
|
21
|
+
"female": "Femme",
|
|
22
|
+
"goToSummary": "Accéder au résumé patient",
|
|
23
|
+
"heartRate": "Fréquence cardiaque",
|
|
24
|
+
"height": "Taille",
|
|
25
25
|
"loading": "En cours de chargement",
|
|
26
|
-
"male": "
|
|
27
|
-
"muac": "
|
|
28
|
-
"noDataRecorded": "Aucune
|
|
26
|
+
"male": "Homme",
|
|
27
|
+
"muac": "Périmètre brachial",
|
|
28
|
+
"noDataRecorded": "Aucune information enregistrée pour ce patient",
|
|
29
29
|
"notes": "Notes",
|
|
30
30
|
"other": "Autre",
|
|
31
|
-
"outOfDateVitals": "
|
|
32
|
-
"overOneWeekOldVitals": "
|
|
33
|
-
"oxygenSaturation": "Saturation
|
|
34
|
-
"pleaseFillField": "
|
|
35
|
-
"print": "
|
|
31
|
+
"outOfDateVitals": "Ces signes vitaux sont obsolètes",
|
|
32
|
+
"overOneWeekOldVitals": "Ces signes vitaux datent de plus d'une semaine",
|
|
33
|
+
"oxygenSaturation": "Saturation",
|
|
34
|
+
"pleaseFillField": "Veuillez remplir au moins un champ",
|
|
35
|
+
"print": "Imprimer",
|
|
36
36
|
"printedBy": "Imprimé par",
|
|
37
37
|
"pulse": "Pouls",
|
|
38
38
|
"recordBiometrics": "Enregistrer la biométrie",
|
|
39
39
|
"recordVitals": "Enregistrer les signes vitaux",
|
|
40
|
-
"recordVitalsAndBiometrics": "Enregistrer les signes vitaux et
|
|
40
|
+
"recordVitalsAndBiometrics": "Enregistrer les signes vitaux et la biométrie",
|
|
41
41
|
"respirationRate": "Fréquence respiratoire",
|
|
42
|
-
"respiratoryRate": "Fréquence
|
|
43
|
-
"respiratoryRateAbbreviated": "Fréquence
|
|
44
|
-
"saveAndClose": "
|
|
45
|
-
"seeAll": "
|
|
42
|
+
"respiratoryRate": "Fréquence respi.",
|
|
43
|
+
"respiratoryRateAbbreviated": "Fréquence respi.",
|
|
44
|
+
"saveAndClose": "Enregistrer et fermer",
|
|
45
|
+
"seeAll": "Tout afficher",
|
|
46
46
|
"spo2": "SpO2",
|
|
47
47
|
"systolic": "systolique",
|
|
48
48
|
"temp": "Temp",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"Vitals & Biometrics": "Signes vitaux et biométrie",
|
|
55
55
|
"vitalsAndBiometrics": "Signes vitaux et biométrie",
|
|
56
56
|
"vitalsAndBiometricsNowAvailable": "Ils sont désormais visibles sur la page Signes vitaux et biométrie",
|
|
57
|
-
"vitalsAndBiometricsRecorded": "Signes vitaux et biométrie
|
|
57
|
+
"vitalsAndBiometricsRecorded": "Signes vitaux et biométrie enregistrés",
|
|
58
58
|
"vitalsAndBiometricsSaveError": "Erreur en sauvegardant les signes vitaux et la biométrie",
|
|
59
59
|
"vitalsHistory": "Historique des signes vitaux",
|
|
60
60
|
"vitalSignDisplayed": "Signe vital affiché",
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"abnormalValue": "Abnormal value",
|
|
3
|
+
"add": "Add",
|
|
4
|
+
"additionalNoteText": "Type any additional notes here",
|
|
5
|
+
"biometricDisplayed": "Biometric displayed",
|
|
6
|
+
"biometrics": "Biometrics",
|
|
7
|
+
"biometrics_lower": "biometrics",
|
|
8
|
+
"bloodPressure": "Blood Pressure",
|
|
9
|
+
"bloodPressureAbbreviated": "BP",
|
|
10
|
+
"bmi": "BMI",
|
|
11
|
+
"bp": "BP",
|
|
12
|
+
"calculatedBmi": "BMI (calc.)",
|
|
13
|
+
"checkForValidity": "Some of the values entered are invalid",
|
|
14
|
+
"date": "Date",
|
|
15
|
+
"dateAndTime": "Date and time",
|
|
16
|
+
"daysOldVitals_one": "<0>These vitals are <1>{{count}} day old</1></0>",
|
|
17
|
+
"daysOldVitals_other": "<0>These vitals are <1>{{count}} days old</1></0>",
|
|
18
|
+
"diastolic": "diastolic",
|
|
19
|
+
"discard": "Discard",
|
|
20
|
+
"error": "Error",
|
|
21
|
+
"female": "Female",
|
|
22
|
+
"goToSummary": "Go to Summary",
|
|
23
|
+
"heartRate": "Heart rate",
|
|
24
|
+
"height": "Height",
|
|
25
|
+
"loading": "Loading",
|
|
26
|
+
"male": "Male",
|
|
27
|
+
"muac": "MUAC",
|
|
28
|
+
"noDataRecorded": "No data has been recorded for this patient",
|
|
29
|
+
"notes": "Notes",
|
|
30
|
+
"other": "Other",
|
|
31
|
+
"outOfDateVitals": "<0>These vitals are <1>out of date</1></0>",
|
|
32
|
+
"overOneWeekOldVitals": "<0>These vitals are <1>over one week old</1></0>",
|
|
33
|
+
"oxygenSaturation": "Oxygen saturation",
|
|
34
|
+
"pleaseFillField": "Please fill at least one field",
|
|
35
|
+
"print": "Print",
|
|
36
|
+
"printedBy": "Printed by",
|
|
37
|
+
"pulse": "Pulse",
|
|
38
|
+
"recordBiometrics": "Record biometrics",
|
|
39
|
+
"recordVitals": "Record vitals",
|
|
40
|
+
"recordVitalsAndBiometrics": "Record Vitals and Biometrics",
|
|
41
|
+
"respirationRate": "Respiration rate",
|
|
42
|
+
"respiratoryRate": "R. rate",
|
|
43
|
+
"respiratoryRateAbbreviated": "R. Rate",
|
|
44
|
+
"saveAndClose": "Save and close",
|
|
45
|
+
"seeAll": "See all",
|
|
46
|
+
"spo2": "SpO2",
|
|
47
|
+
"systolic": "systolic",
|
|
48
|
+
"temp": "Temp",
|
|
49
|
+
"temperature": "Temperature",
|
|
50
|
+
"temperatureAbbreviated": "Temp",
|
|
51
|
+
"unknown": "Unknown",
|
|
52
|
+
"validationInputError": "Value must be between {{min}} and {{max}}",
|
|
53
|
+
"vitals": "Vitals",
|
|
54
|
+
"Vitals & Biometrics": "Vitals & Biometrics",
|
|
55
|
+
"vitalsAndBiometrics": "Vitals and biometrics",
|
|
56
|
+
"vitalsAndBiometricsNowAvailable": "They are now visible on the Vitals and Biometrics page",
|
|
57
|
+
"vitalsAndBiometricsRecorded": "Vitals and Biometrics saved",
|
|
58
|
+
"vitalsAndBiometricsSaveError": "Error saving vitals and biometrics",
|
|
59
|
+
"vitalsHistory": "Vitals history",
|
|
60
|
+
"vitalSignDisplayed": "Vital sign displayed",
|
|
61
|
+
"vitalSigns": "Vital signs",
|
|
62
|
+
"weight": "Weight"
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"abnormalValue": "Abnormal value",
|
|
3
|
+
"add": "Add",
|
|
4
|
+
"additionalNoteText": "Type any additional notes here",
|
|
5
|
+
"biometricDisplayed": "Biometric displayed",
|
|
6
|
+
"biometrics": "Biometrics",
|
|
7
|
+
"biometrics_lower": "biometrics",
|
|
8
|
+
"bloodPressure": "Blood Pressure",
|
|
9
|
+
"bloodPressureAbbreviated": "BP",
|
|
10
|
+
"bmi": "BMI",
|
|
11
|
+
"bp": "BP",
|
|
12
|
+
"calculatedBmi": "BMI (calc.)",
|
|
13
|
+
"checkForValidity": "Some of the values entered are invalid",
|
|
14
|
+
"date": "Date",
|
|
15
|
+
"dateAndTime": "Date and time",
|
|
16
|
+
"daysOldVitals_one": "<0>These vitals are <1>{{count}} day old</1></0>",
|
|
17
|
+
"daysOldVitals_other": "<0>These vitals are <1>{{count}} days old</1></0>",
|
|
18
|
+
"diastolic": "diastolic",
|
|
19
|
+
"discard": "Discard",
|
|
20
|
+
"error": "Error",
|
|
21
|
+
"female": "Female",
|
|
22
|
+
"goToSummary": "Go to Summary",
|
|
23
|
+
"heartRate": "Heart rate",
|
|
24
|
+
"height": "Height",
|
|
25
|
+
"loading": "Loading",
|
|
26
|
+
"male": "Male",
|
|
27
|
+
"muac": "MUAC",
|
|
28
|
+
"noDataRecorded": "No data has been recorded for this patient",
|
|
29
|
+
"notes": "Notes",
|
|
30
|
+
"other": "Other",
|
|
31
|
+
"outOfDateVitals": "<0>These vitals are <1>out of date</1></0>",
|
|
32
|
+
"overOneWeekOldVitals": "<0>These vitals are <1>over one week old</1></0>",
|
|
33
|
+
"oxygenSaturation": "Oxygen saturation",
|
|
34
|
+
"pleaseFillField": "Please fill at least one field",
|
|
35
|
+
"print": "Print",
|
|
36
|
+
"printedBy": "Printed by",
|
|
37
|
+
"pulse": "Pulse",
|
|
38
|
+
"recordBiometrics": "Record biometrics",
|
|
39
|
+
"recordVitals": "Record vitals",
|
|
40
|
+
"recordVitalsAndBiometrics": "Record Vitals and Biometrics",
|
|
41
|
+
"respirationRate": "Respiration rate",
|
|
42
|
+
"respiratoryRate": "R. rate",
|
|
43
|
+
"respiratoryRateAbbreviated": "R. Rate",
|
|
44
|
+
"saveAndClose": "Save and close",
|
|
45
|
+
"seeAll": "See all",
|
|
46
|
+
"spo2": "SpO2",
|
|
47
|
+
"systolic": "systolic",
|
|
48
|
+
"temp": "Temp",
|
|
49
|
+
"temperature": "Temperature",
|
|
50
|
+
"temperatureAbbreviated": "Temp",
|
|
51
|
+
"unknown": "Unknown",
|
|
52
|
+
"validationInputError": "Value must be between {{min}} and {{max}}",
|
|
53
|
+
"vitals": "Vitals",
|
|
54
|
+
"Vitals & Biometrics": "Vitals & Biometrics",
|
|
55
|
+
"vitalsAndBiometrics": "Vitals and biometrics",
|
|
56
|
+
"vitalsAndBiometricsNowAvailable": "They are now visible on the Vitals and Biometrics page",
|
|
57
|
+
"vitalsAndBiometricsRecorded": "Vitals and Biometrics saved",
|
|
58
|
+
"vitalsAndBiometricsSaveError": "Error saving vitals and biometrics",
|
|
59
|
+
"vitalsHistory": "Vitals history",
|
|
60
|
+
"vitalSignDisplayed": "Vital sign displayed",
|
|
61
|
+
"vitalSigns": "Vital signs",
|
|
62
|
+
"weight": "Weight"
|
|
63
|
+
}
|