@ampath/esm-patient-registration-app 6.0.1-pre.96 → 9.2.0-next.12
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/1119.js +1 -0
- package/dist/1197.js +1 -0
- package/dist/21.js +1 -0
- package/dist/21.js.map +1 -0
- package/dist/2146.js +1 -0
- package/dist/2372.js +1 -0
- package/dist/2372.js.map +1 -0
- package/dist/2470.js +1 -0
- package/dist/2470.js.map +1 -0
- package/dist/2690.js +1 -0
- package/dist/2913.js +2 -0
- package/dist/{913.js.LICENSE.txt → 2913.js.LICENSE.txt} +3 -23
- package/dist/2913.js.map +1 -0
- package/dist/3093.js +1 -0
- package/dist/3093.js.map +1 -0
- package/dist/3099.js +1 -0
- package/dist/3144.js +2 -0
- package/dist/3144.js.LICENSE.txt +19 -0
- package/dist/3144.js.map +1 -0
- package/dist/320.js +2 -0
- package/dist/{876.js.LICENSE.txt → 320.js.LICENSE.txt} +2 -3
- package/dist/320.js.map +1 -0
- package/dist/3464.js +1 -0
- package/dist/3464.js.map +1 -0
- package/dist/3474.js +2 -0
- package/dist/3474.js.LICENSE.txt +8 -0
- package/dist/3474.js.map +1 -0
- package/dist/3584.js +1 -0
- package/dist/4041.js +2 -0
- package/dist/4041.js.map +1 -0
- package/dist/4055.js +1 -0
- package/dist/4132.js +1 -0
- package/dist/4300.js +1 -0
- package/dist/4335.js +1 -0
- package/dist/4463.js +1 -0
- package/dist/4463.js.map +1 -0
- package/dist/4618.js +1 -0
- package/dist/4652.js +1 -0
- package/dist/4944.js +1 -0
- package/dist/5173.js +1 -0
- package/dist/5220.js +2 -0
- package/dist/5220.js.LICENSE.txt +29 -0
- package/dist/5220.js.map +1 -0
- package/dist/5241.js +1 -0
- package/dist/5442.js +1 -0
- package/dist/5661.js +1 -0
- package/dist/6022.js +1 -0
- package/dist/6078.js +2 -0
- package/dist/6078.js.LICENSE.txt +9 -0
- package/dist/6078.js.map +1 -0
- package/dist/627.js +1 -0
- package/dist/627.js.map +1 -0
- package/dist/6276.js +1 -0
- package/dist/6276.js.map +1 -0
- package/dist/6468.js +1 -0
- package/dist/6679.js +1 -0
- package/dist/6737.js +2 -0
- package/dist/6737.js.LICENSE.txt +9 -0
- package/dist/6737.js.map +1 -0
- package/dist/6840.js +1 -0
- package/dist/6859.js +1 -0
- package/dist/7092.js +1 -0
- package/dist/7092.js.map +1 -0
- package/dist/7097.js +1 -0
- package/dist/7159.js +1 -0
- package/dist/723.js +1 -0
- package/dist/7495.js +2 -0
- package/dist/7495.js.LICENSE.txt +9 -0
- package/dist/7495.js.map +1 -0
- package/dist/7617.js +1 -0
- package/dist/795.js +1 -0
- package/dist/8163.js +1 -0
- package/dist/8349.js +1 -0
- package/dist/8404.js +2 -0
- package/dist/{629.js.LICENSE.txt → 8404.js.LICENSE.txt} +9 -3
- package/dist/8404.js.map +1 -0
- package/dist/8434.js +1 -0
- package/dist/8434.js.map +1 -0
- package/dist/8618.js +1 -0
- package/dist/89.js +2 -0
- package/dist/89.js.LICENSE.txt +9 -0
- package/dist/89.js.map +1 -0
- package/dist/890.js +1 -0
- package/dist/9214.js +1 -0
- package/dist/9538.js +1 -0
- package/dist/9569.js +1 -0
- package/dist/986.js +1 -0
- package/dist/9876.js +1 -0
- package/dist/9876.js.map +1 -0
- package/dist/9879.js +1 -0
- package/dist/9895.js +1 -0
- package/dist/9900.js +1 -0
- package/dist/9913.js +1 -0
- package/dist/main.js +1 -1
- package/dist/main.js.LICENSE.txt +36 -1
- package/dist/main.js.map +1 -1
- package/dist/openmrs-esm-patient-registration-app.js +1 -0
- package/dist/openmrs-esm-patient-registration-app.js.buildmanifest.json +1576 -0
- package/dist/openmrs-esm-patient-registration-app.js.map +1 -0
- package/dist/routes.json +1 -1
- package/package.json +16 -15
- package/src/{add-patient-link.tsx → add-patient-link.extension.tsx} +4 -2
- package/src/add-patient-link.test.tsx +6 -10
- package/src/config-schema.ts +109 -55
- package/src/constants.ts +1 -1
- package/src/declarations.d.ts +5 -4
- package/src/index.ts +10 -29
- package/src/nav-link.test.tsx +3 -3
- package/src/offline.resources.ts +26 -18
- package/src/patient-photo.extension.tsx +3 -1
- package/src/patient-registration/field/address/address-field.component.tsx +58 -37
- package/src/patient-registration/field/address/address-hierarchy-levels.component.tsx +16 -18
- package/src/patient-registration/field/address/address-hierarchy.resource.tsx +3 -3
- package/src/patient-registration/field/address/address-hierarchy.test.tsx +290 -0
- package/src/patient-registration/field/address/address-search.component.tsx +7 -5
- package/src/patient-registration/field/address/address-search.scss +5 -5
- package/src/patient-registration/field/address/address-search.test.tsx +140 -0
- package/src/patient-registration/field/cause-of-death/cause-of-death.component.tsx +98 -0
- package/src/patient-registration/field/custom-field.component.tsx +3 -9
- package/src/patient-registration/field/date-and-time-of-death/date-and-time-of-death.component.tsx +84 -0
- package/src/patient-registration/field/dob/dob.component.tsx +55 -50
- package/src/patient-registration/field/dob/dob.test.tsx +90 -0
- package/src/patient-registration/field/field.component.tsx +12 -6
- package/src/patient-registration/field/field.resource.ts +11 -4
- package/src/patient-registration/field/field.scss +69 -25
- package/src/patient-registration/field/field.test.tsx +329 -0
- package/src/patient-registration/field/gender/gender-field.component.tsx +14 -9
- package/src/patient-registration/field/gender/gender-field.test.tsx +73 -33
- package/src/patient-registration/field/id/id-field.component.tsx +24 -23
- package/src/patient-registration/field/id/id-field.test.tsx +147 -0
- package/src/patient-registration/field/id/identifier-selection-overlay.component.tsx +12 -10
- package/src/patient-registration/field/id/identifier-selection.scss +12 -8
- package/src/patient-registration/field/name/name-field.component.tsx +10 -5
- package/src/patient-registration/field/obs/obs-field.component.tsx +59 -2
- package/src/patient-registration/field/obs/obs-field.test.tsx +133 -39
- package/src/patient-registration/field/person-attributes/coded-person-attribute-field.component.tsx +3 -3
- package/src/patient-registration/field/person-attributes/coded-person-attribute-field.test.tsx +141 -0
- package/src/patient-registration/field/person-attributes/location-person-attribute-field.component.tsx +105 -0
- package/src/patient-registration/field/person-attributes/location-person-attribute-field.resource.tsx +48 -0
- package/src/patient-registration/field/person-attributes/person-attribute-field.component.tsx +19 -22
- package/src/patient-registration/field/person-attributes/person-attribute-field.test.tsx +193 -0
- package/src/patient-registration/field/person-attributes/text-person-attribute-field.test.tsx +90 -0
- package/src/patient-registration/form-manager.test.ts +91 -0
- package/src/patient-registration/form-manager.ts +49 -23
- package/src/patient-registration/input/basic-input/input/input.component.tsx +6 -2
- package/src/patient-registration/input/basic-input/select/select-input.test.tsx +49 -0
- package/src/patient-registration/input/custom-input/autosuggest/autosuggest.scss +5 -5
- package/src/patient-registration/input/custom-input/autosuggest/autosuggest.test.tsx +164 -0
- package/src/patient-registration/input/custom-input/identifier/identifier-input.component.tsx +73 -36
- package/src/patient-registration/input/custom-input/identifier/identifier-input.test.tsx +335 -0
- package/src/patient-registration/input/dummy-data/dummy-data-input.component.tsx +3 -0
- package/src/patient-registration/input/dummy-data/dummy-data-input.test.tsx +2 -11
- package/src/patient-registration/input/input.scss +17 -13
- package/src/patient-registration/patient-registration-context.ts +22 -11
- package/src/patient-registration/patient-registration-hooks.ts +158 -193
- package/src/patient-registration/patient-registration-utils.test.ts +33 -0
- package/src/patient-registration/patient-registration-utils.ts +11 -13
- package/src/patient-registration/patient-registration.component.tsx +87 -103
- package/src/patient-registration/{patient-registration.resource.testt.tsx → patient-registration.resource.test.tsx} +0 -4
- package/src/patient-registration/patient-registration.resource.ts +27 -3
- package/src/patient-registration/patient-registration.scss +27 -38
- package/src/patient-registration/patient-registration.test.tsx +579 -0
- package/src/patient-registration/patient-registration.types.ts +23 -25
- package/src/patient-registration/section/death-info/death-info-section.component.tsx +22 -17
- package/src/patient-registration/section/death-info/death-info-section.test.tsx +47 -0
- package/src/patient-registration/section/demographics/demographics-section.component.tsx +5 -5
- package/src/patient-registration/section/demographics/demographics-section.test.tsx +98 -0
- package/src/patient-registration/section/patient-relationships/relationships-section.component.tsx +8 -7
- package/src/patient-registration/section/patient-relationships/relationships-section.test.tsx +113 -0
- package/src/patient-registration/section/patient-relationships/relationships.resource.tsx +28 -28
- package/src/patient-registration/section/patient-relationships/relationships.scss +4 -4
- package/src/patient-registration/section/section-wrapper.component.tsx +1 -1
- package/src/patient-registration/section/section.component.tsx +1 -1
- package/src/patient-registration/section/section.scss +21 -1
- package/src/patient-registration/ui-components/overlay/overlay.scss +8 -8
- package/src/patient-registration/validation/{patient-registration-validation.test.tsx → patient-registration-validation.test.ts} +71 -23
- package/src/patient-registration/validation/patient-registration-validation.ts +123 -0
- package/src/resources-context.ts +14 -0
- package/src/root.component.tsx +3 -3
- package/src/routes.json +10 -24
- package/src/widgets/cancel-patient-edit.modal.tsx +33 -0
- package/src/widgets/cancel-patient-edit.test.tsx +22 -0
- package/src/widgets/delete-identifier-confirmation.modal.tsx +48 -0
- package/src/widgets/{delete-identifier-confirmation-modal.testt.tsx → delete-identifier-confirmation.test.tsx} +5 -7
- package/src/widgets/edit-patient-details-button.component.tsx +0 -1
- package/src/widgets/edit-patient-details-button.test.tsx +35 -0
- package/translations/am.json +43 -35
- package/translations/ar.json +41 -33
- package/translations/ar_SY.json +119 -0
- package/translations/bn.json +119 -0
- package/translations/de.json +119 -0
- package/translations/en.json +44 -42
- package/translations/en_US.json +119 -0
- package/translations/es.json +69 -57
- package/translations/es_MX.json +119 -0
- package/translations/fr.json +74 -58
- package/translations/he.json +44 -40
- package/translations/hi.json +119 -0
- package/translations/hi_IN.json +119 -0
- package/translations/id.json +119 -0
- package/translations/it.json +119 -0
- package/translations/ka.json +119 -0
- package/translations/km.json +44 -40
- package/translations/ku.json +119 -0
- package/translations/ky.json +119 -0
- package/translations/lg.json +119 -0
- package/translations/ne.json +119 -0
- package/translations/pl.json +119 -0
- package/translations/pt.json +119 -0
- package/translations/pt_BR.json +119 -0
- package/translations/qu.json +119 -0
- package/translations/ro_RO.json +119 -0
- package/translations/ru_RU.json +119 -0
- package/translations/si.json +119 -0
- package/translations/sw.json +119 -0
- package/translations/sw_KE.json +119 -0
- package/translations/tr.json +119 -0
- package/translations/tr_TR.json +119 -0
- package/translations/uk.json +119 -0
- package/translations/uz.json +119 -0
- package/translations/uz@Latn.json +119 -0
- package/translations/uz_UZ.json +119 -0
- package/translations/vi.json +119 -0
- package/translations/zh.json +45 -23
- package/translations/zh_CN.json +39 -17
- package/.turbo/turbo-build.log +0 -40
- package/dist/132.js +0 -1
- package/dist/197.js +0 -1
- package/dist/236.js +0 -1
- package/dist/236.js.map +0 -1
- package/dist/300.js +0 -1
- package/dist/335.js +0 -1
- package/dist/372.js +0 -1
- package/dist/372.js.map +0 -1
- package/dist/41.js +0 -2
- package/dist/41.js.map +0 -1
- package/dist/449.js +0 -1
- package/dist/449.js.map +0 -1
- package/dist/464.js +0 -1
- package/dist/464.js.map +0 -1
- package/dist/495.js +0 -1
- package/dist/495.js.map +0 -1
- package/dist/55.js +0 -1
- package/dist/56.js +0 -1
- package/dist/56.js.map +0 -1
- package/dist/621.js +0 -1
- package/dist/621.js.map +0 -1
- package/dist/629.js +0 -2
- package/dist/629.js.map +0 -1
- package/dist/652.js +0 -1
- package/dist/661.js +0 -1
- package/dist/757.js +0 -1
- package/dist/757.js.map +0 -1
- package/dist/828.js +0 -1
- package/dist/828.js.map +0 -1
- package/dist/830.js +0 -1
- package/dist/830.js.map +0 -1
- package/dist/831.js +0 -2
- package/dist/831.js.LICENSE.txt +0 -3
- package/dist/831.js.map +0 -1
- package/dist/876.js +0 -2
- package/dist/876.js.map +0 -1
- package/dist/879.js +0 -1
- package/dist/913.js +0 -2
- package/dist/913.js.map +0 -1
- package/dist/927.js +0 -1
- package/dist/927.js.map +0 -1
- package/dist/99.js +0 -1
- package/dist/ampath-esm-patient-registration-app.js +0 -1
- package/dist/ampath-esm-patient-registration-app.js.buildmanifest.json +0 -694
- package/dist/ampath-esm-patient-registration-app.js.map +0 -1
- package/src/patient-registration/date-util.ts +0 -52
- package/src/patient-registration/field/person-attributes/custom-person-attribute-field.component.tsx +0 -56
- package/src/patient-registration/validation/patient-registration-validation.tsx +0 -60
- package/src/patient-verification/assets/counties.json +0 -236
- package/src/patient-verification/assets/verification-assets.ts +0 -11
- package/src/patient-verification/patient-verification-hook.tsx +0 -176
- package/src/patient-verification/patient-verification-utils.ts +0 -179
- package/src/patient-verification/patient-verification.component.tsx +0 -124
- package/src/patient-verification/patient-verification.scss +0 -25
- package/src/patient-verification/verification-modal/confirm-prompt.component.tsx +0 -72
- package/src/patient-verification/verification-modal/empty-prompt.component.tsx +0 -35
- package/src/patient-verification/verification-types.ts +0 -50
- package/src/widgets/cancel-patient-edit.component.tsx +0 -37
- package/src/widgets/delete-identifier-confirmation-modal.tsx +0 -41
- package/src/widgets/delete-identifier-modal.scss +0 -34
- /package/dist/{41.js.LICENSE.txt → 4041.js.LICENSE.txt} +0 -0
- /package/src/patient-registration/input/custom-input/identifier/{utils.testt.ts → utils.test.ts} +0 -0
package/dist/3474.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 3474.js.LICENSE.txt */
|
|
2
|
+
(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[320,3474],{5921:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(39791),i=n(57812);var o=n(97942);const a=function(e){return e==e&&!(0,o.A)(e)};var u=n(7817);const s=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},c=function(e){var t=function(e){for(var t=(0,u.A)(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,a(i)]}return t}(e);return 1==t.length&&t[0][2]?s(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,o){var a=n.length,u=a,s=!o;if(null==e)return!u;for(e=Object(e);a--;){var c=n[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<u;){var l=(c=n[a])[0],f=e[l],d=c[1];if(s&&c[2]){if(void 0===f&&!(l in e))return!1}else{var p=new r.A;if(o)var h=o(f,d,l,e,t,p);if(!(void 0===h?(0,i.A)(d,f,3,o,p):h))return!1}}return!0}(n,e,t)}};var l=n(55841);const f=function(e,t){return null!=e&&t in Object(e)};var d=n(23017);var p=n(1677),h=n(9322);const y=function(e,t){return(0,p.A)(e)&&a(t)?s((0,h.A)(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:(0,l.A)(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&(0,d.A)(e,t,f)}(n,e):(0,i.A)(t,r,3)}};var m=n(14151),b=n(96956);const v=function(e){return(0,p.A)(e)?(t=(0,h.A)(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return(0,l.A)(t,e)}}(e);var t},g=function(e){return"function"==typeof e?e:null==e?m.A:"object"==typeof e?(0,b.A)(e)?y(e[0],e[1]):c(e):v(e)}},16666:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(60587),i=n(8007);var o=n(26207),a=n(74239);const u=function(e){e=(0,r.A)(e);var t,n,u,s,c=(0,o.A)(e)?(0,a.A)(e):void 0,l=c?c[0]:e.charAt(0),f=c?(t=c,n=1,s=t.length,u=void 0===u?s:u,!n&&u>=s?t:(0,i.A)(t,n,u)).join(""):e.slice(1);return l.toUpperCase()+f},s=(0,n(62617).A)(function(e,t,n){return t=t.toLowerCase(),e+(n?(i=t,u((0,r.A)(i).toLowerCase())):t);var i})},18361:(e,t,n)=>{"use strict";n.d(t,{pX:()=>C,qm:()=>E,zL:()=>x,GC:()=>P,Qi:()=>I});var r=n(5921),i=n(31475),o=n(7817);var a=/\s/;var u=/^\s+/;const s=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&a.test(e.charAt(t)););return t}(e)+1).replace(u,""):e};var c=n(97942),l=n(84089),f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt;var y=1/0;const m=function(e){return e?(e=function(e){if("number"==typeof e)return e;if((0,l.A)(e))return NaN;if((0,c.A)(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=(0,c.A)(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=s(e);var n=d.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):f.test(e)?NaN:+e}(e))===y||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0};var b=Math.max;const v=(g=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var o,a,u=null==n?0:(o=m(n),a=o%1,o==o?a?o-a:o:0);return u<0&&(u=b(i+u,0)),function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}(e,(0,r.A)(t,3),u)},function(e,t,n){var a=Object(e);if(!(0,i.A)(e)){var u=(0,r.A)(t,3);e=(0,o.A)(e),t=function(e){return u(a[e],e,a)}}var s=g(e,t,n);return s>-1?a[u?e[s]:s]:void 0});var g,A=n(37127),_=n(16666),w=n(54440),T=n(57691);function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U(e,t,n,r,i,o,a){try{var u=e[o](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,i)}function O(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){U(o,r,i,a,u,"next",e)}function u(e){U(o,r,i,a,u,"throw",e)}a(void 0)})}}function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){u=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=u(0),a.throw=u(1),a.return=u(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function P(){return O(function(){return D(this,function(e){switch(e.label){case 0:return[4,B("".concat(w.restBaseUrl,"/session"))];case 1:return[2,e.sent().data]}})})()}function C(){return O(function(){return D(this,function(e){switch(e.label){case 0:return[4,B("".concat(w.restBaseUrl,"/addresstemplate"))];case 1:return[2,e.sent().data]}})})()}function x(){return O(function(){return D(this,function(e){switch(e.label){case 0:return[4,B("".concat(w.restBaseUrl,"/relationshiptype?v=default"))];case 1:return[2,e.sent().data]}})})()}function E(){return O(function(){var e,t;return D(this,function(n){switch(n.label){case 0:return[4,(0,w.getConfig)(T.AO)];case 1:return(e=n.sent()).fieldDefinitions?(t=e.fieldDefinitions.map(function(e){return t=e,O(function(){var e;return D(this,function(n){switch(n.label){case 0:return e="","person attribute"===t.type&&(e="".concat(w.restBaseUrl,"/personattributetype/").concat(t.uuid)),t.answerConceptSetUuid?[4,B("".concat(w.restBaseUrl,"/concept/").concat(t.answerConceptSetUuid))]:[3,2];case 1:n.sent(),n.label=2;case 2:return[4,B(e)];case 3:return[2,n.sent().data]}})})();var t}),[4,Promise.all(t)]):[2];case 2:return[2,n.sent().reduce(function(e,t){return t&&e.push(t),e},[])]}})})()}function I(){return O(function(){var e,t,n,r,i,o,a,u;return D(this,function(s){switch(s.label){case 0:return e=function(e){n[e].identifierSources=a.filter(function(t){return t.identifierType.uuid===n[e].uuid}).map(function(e){var t=v(i.data.results,{source:{uuid:e.uuid}});return e.autoGenerationOption=t,e})},[4,O(function(){var e,t,n,r,i,o,a;return D(this,function(u){switch(u.label){case 0:return[4,Promise.all([B("".concat(w.restBaseUrl,"/patientidentifiertype?v=custom:(display,uuid,name,format,formatDescription,required,uniquenessBehavior)")),B("".concat(w.restBaseUrl,"/metadatamapping/termmapping?v=full&code=emr.primaryIdentifierType"))])];case 1:return e=j.apply(void 0,[u.sent(),2]),t=e[0],n=e[1],t.ok?(i=null==t||null===(r=t.data)||void 0===r?void 0:r.results,o="58a4732e-1359-11df-a1f1-0026b9348838",a=(null==n?void 0:n.ok)?[k(null==i?void 0:i.find(function(e){return e.uuid===o}),!0)]:[],i.forEach(function(e){e.uuid!==o&&a.push(k(e,!1))}),[2,a]):[2,[]]}})})()];case 1:return t=s.sent(),n=t.filter(Boolean),[4,Promise.all([O(function(){return D(this,function(e){switch(e.label){case 0:return[4,B("".concat(w.restBaseUrl,"/idgen/autogenerationoption?v=full"))];case 1:return[2,e.sent()]}})})(),O(function(){return D(this,function(e){switch(e.label){case 0:return[4,B("".concat(w.restBaseUrl,"/idgen/identifiersource?v=default"))];case 1:return[2,e.sent()]}})})()])];case 2:for(r=j.apply(void 0,[s.sent(),2]),i=r[0],o=r[1],a=o.data.results,u=0;u<(null==n?void 0:n.length);u++)e(u);return[2,n]}})})()}function B(e){return O(function(){var t;return D(this,function(n){switch(n.label){case 0:return t=new AbortController,[4,(0,w.messageOmrsServiceWorker)({type:"registerDynamicRoute",pattern:(0,A.A)(e)})];case 1:return n.sent(),[4,(0,w.openmrsFetch)(e,{headers:T.v4,signal:null==t?void 0:t.signal})];case 2:return[2,n.sent()]}})})()}function k(e,t){return{name:e.display,fieldName:(0,_.A)(e.name),required:e.required,uuid:e.uuid,format:e.format,formatDescription:e.formatDescription,isPrimary:t,uniquenessBehavior:e.uniquenessBehavior}}},23017:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(50196),i=n(61697),o=n(96956),a=n(85378),u=n(47893),s=n(9322);const c=function(e,t,n){for(var c=-1,l=(t=(0,r.A)(t,e)).length,f=!1;++c<l;){var d=(0,s.A)(t[c]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++c!=l?f:!!(l=null==e?0:e.length)&&(0,u.A)(l)&&(0,a.A)(d,l)&&((0,o.A)(e)||(0,i.A)(e))}},26207:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const i=function(e){return r.test(e)}},36207:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(30977),i=n.n(r),o=n(95924),a=n.n(o)()(i());a.push([e.id,".-esm-patient-registration__add-patient-link__slotStyles___ejEWZ{background-color:rgba(0,0,0,0)}","",{version:3,sources:["webpack://./src/add-patient-link.scss"],names:[],mappings:"AAAA,iEACE,8BAAA",sourcesContent:[".slotStyles {\n background-color: transparent;\n}\n"],sourceRoot:""}]),a.locals={slotStyles:"-esm-patient-registration__add-patient-link__slotStyles___ejEWZ"};const u=a},49971:(e,t,n)=>{"use strict";n.d(t,{A4:()=>w,G1:()=>v,Rp:()=>y,SE:()=>g,SP:()=>b,SQ:()=>S,Yu:()=>T,Z:()=>d,hz:()=>A,o9:()=>m,oq:()=>U,t2:()=>p,uH:()=>_,zx:()=>h});var r=n(54440),i=n(46372),o=n.n(i);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t,n,r,i,o,a){try{var u=e[o](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)})}}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){u=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw i}}return o}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function f(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=u(0),a.throw=u(1),a.return=u(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function d(e,t){var n=new AbortController;return(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/patient/").concat(t||""),{headers:{"Content-Type":"application/json"},method:"POST",body:e,signal:n.signal})}function p(e){var t=new AbortController;return(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/encounter"),{headers:{"Content-Type":"application/json"},method:"POST",body:e,signal:t.signal})}function h(e){var t=new AbortController;return(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/idgen/identifiersource/").concat(e,"/identifier"),{headers:{"Content-Type":"application/json"},method:"POST",body:{},signal:t.signal})}function y(){return s(function(){var e,t,n;return f(this,function(i){switch(i.label){case 0:return e=new AbortController,[4,(0,r.openmrsFetch)("https://ngx.ampath.or.ke/amrs-id-generator/generateidentifier",{headers:{"Content-Type":"application/json"},method:"POST",body:{user:1},signal:e.signal})];case 1:return[4,i.sent().json()];case 2:return t=i.sent(),[2,null!==(n=t.identifier)&&void 0!==n?n:""]}})})()}function m(e,t){var n=new AbortController;return(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/person/").concat(t,"/name/").concat(e),{method:"DELETE",signal:n.signal})}function b(e){var t=new AbortController;return(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/relationship"),{headers:{"Content-Type":"application/json"},method:"POST",body:e,signal:t.signal})}function v(e,t){var n=new AbortController;return(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/relationship/").concat(e),{headers:{"Content-Type":"application/json"},method:"POST",body:{relationshipType:t.relationshipType},signal:n.signal})}function g(e){var t=new AbortController;return(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/relationship/").concat(e),{headers:{"Content-Type":"application/json"},method:"DELETE",signal:t.signal})}function A(e,t,n,i,o){return s(function(){var a,u;return f(this,function(s){return a=new AbortController,(u=new FormData).append("patient",e),u.append("file",function(e){for(var t=window.atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new Uint8Array(t.length),i=0;i<t.length;i++)r[i]=t.charCodeAt(i);var o=new Blob([r],{type:n});return new File([o],"patient-photo.png")}(t)),u.append("json",JSON.stringify({person:e,concept:o,groupMembers:[],obsDatetime:i})),[2,(0,r.openmrsFetch)(n,{method:"POST",signal:a.signal,body:u})]})})()}function _(e,t){return s(function(){var n,i,o,u;return f(this,function(s){switch(s.label){case 0:return[4,Promise.all([(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/patient?q=").concat(e),{signal:t.signal}),(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/person?q=").concat(e),{signal:t.signal})])];case 1:return n=c.apply(void 0,[s.sent(),2]),i=n[0],o=n[1],f=i.data.results,u=function(e){if(Array.isArray(e))return a(e)}(f)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(f)||l(f)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o.data.results.forEach(function(e){u.some(function(t){return t.uuid===e.uuid})||u.push(e)}),[2,u]}var f})})()}function w(e,t){return s(function(){var n;return f(this,function(i){return n=new AbortController,[2,(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/patient/").concat(e,"/identifier/"),{method:"POST",headers:{"Content-Type":"application/json"},signal:n.signal,body:t})]})})()}function T(e,t,n){return s(function(){var i;return f(this,function(o){return i=new AbortController,[2,(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/patient/").concat(e,"/identifier/").concat(t),{method:"POST",headers:{"Content-Type":"application/json"},signal:i.signal,body:{identifier:n}})]})})()}function S(e,t){return s(function(){var n;return f(this,function(i){return n=new AbortController,[2,(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/patient/").concat(e,"/identifier/").concat(t,"?purge"),{method:"DELETE",headers:{"Content-Type":"application/json"},signal:n.signal})]})})()}function U(e,t,n){var r=new Date(e),i=c(t.split(":").map(Number),2),a=i[0],u=i[1],s="PM"===n?a%12+12:a%12;return o()(r).hour(s).minute(u).second(0).millisecond(0).toDate()}},57691:(e,t,n)=>{"use strict";n.d(t,{AO:()=>s,DA:()=>u,dR:()=>c,v4:()=>l});var r,i,o,a=n(54440),u="custom:(display,uuid,personA:(age,display,birthdate,uuid),personB:(age,display,birthdate,uuid),relationshipType:(uuid,display,description,aIsToB,bIsToA))",s="@openmrs/esm-patient-registration-app",c="patient-registration",l=(r={},o="network-first",(i=a.omrsOfflineCachingStrategyHttpHeaderName)in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r)},62617:(e,t,n)=>{"use strict";n.d(t,{A:()=>B});const r=(i={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",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ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},function(e){return null==i?void 0:i[e]});var i,o=n(60587),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,u=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var s=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var c=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var l="\\ud800-\\udfff",f="\\u2700-\\u27bf",d="a-z\\xdf-\\xf6\\xf8-\\xff",p="A-Z\\xc0-\\xd6\\xd8-\\xde",h="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",y="["+h+"]",m="\\d+",b="["+f+"]",v="["+d+"]",g="[^"+l+h+m+f+d+p+"]",A="(?:\\ud83c[\\udde6-\\uddff]){2}",_="[\\ud800-\\udbff][\\udc00-\\udfff]",w="["+p+"]",T="(?:"+v+"|"+g+")",S="(?:"+w+"|"+g+")",U="(?:['’](?:d|ll|m|re|s|t|ve))?",O="(?:['’](?:D|LL|M|RE|S|T|VE))?",j="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",D="[\\ufe0e\\ufe0f]?",P=D+j+"(?:\\u200d(?:"+["[^"+l+"]",A,_].join("|")+")"+D+j+")*",C="(?:"+[b,A,_].join("|")+")"+P,x=RegExp([w+"?"+v+"+"+U+"(?="+[y,w,"$"].join("|")+")",S+"+"+O+"(?="+[y,w+T,"$"].join("|")+")",w+"?"+T+"+"+U,w+"+"+O,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",m,C].join("|"),"g");const E=function(e,t,n){return e=(0,o.A)(e),void 0===(t=n?void 0:t)?function(e){return c.test(e)}(e)?function(e){return e.match(x)||[]}(e):function(e){return e.match(s)||[]}(e):e.match(t)||[]};var I=RegExp("['’]","g");const B=function(e){return function(t){return function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}(E(function(e){return(e=(0,o.A)(e))&&e.replace(a,r).replace(u,"")}(t).replace(I,"")),e,"")}}},74239:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(26207),i="\\ud800-\\udfff",o="["+i+"]",a="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",u="\\ud83c[\\udffb-\\udfff]",s="[^"+i+"]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",f="(?:"+a+"|"+u+")?",d="[\\ufe0e\\ufe0f]?",p=d+f+"(?:\\u200d(?:"+[s,c,l].join("|")+")"+d+f+")*",h="(?:"+[s+a+"?",a,c,l,o].join("|")+")",y=RegExp(u+"(?="+u+")|"+h+p,"g");const m=function(e){return(0,r.A)(e)?function(e){return e.match(y)||[]}(e):function(e){return e.split("")}(e)}},84767:(e,t,n)=>{var r={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879]};function i(e){if(!n.o(r,e))return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],i=t[0];return n.e(t[1]).then(()=>n(i))}i.keys=()=>Object.keys(r),i.id=84767,e.exports=i},87821:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addPatientLink:()=>F,cancelPatientEditModal:()=>$,deleteIdentifierConfirmationModal:()=>z,editPatient:()=>R,editPatientDetailsButton:()=>M,importTranslation:()=>I,patientPhotoExtension:()=>L,root:()=>N,startupApp:()=>k});var r=n(54440),i=n(95008),o=n(57691),a=n(18361),u=n(97e3);function s(e,t,n,r,i,o,a){try{var u=e[o](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,i)}function c(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,u,"next",e)}function u(e){s(o,r,i,a,u,"throw",e)}a(void 0)})}}function l(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=u(0),a.throw=u(1),a.return=u(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function f(e){return["".concat(r.fhirBaseUrl,"/Patient/").concat(e),"".concat(r.restBaseUrl,"/relationship?v=").concat(o.DA,"&person=").concat(e),"".concat(r.restBaseUrl,"/person/").concat(e,"/attribute"),"".concat(r.restBaseUrl,"/patient/").concat(e,"/identifier?v=custom:(uuid,identifier,identifierType:(uuid,required,name),preferred)")].map(function(e){return window.origin+(0,r.makeUrl)(e)})}function d(e,t){return c(function(){return l(this,function(n){switch(n.label){case 0:return[4,u.A.savePatientFormOnline(e._patientRegistrationData.isNewPatient,e._patientRegistrationData.formValues,e._patientRegistrationData.patientUuidMap,e._patientRegistrationData.initialAddressFieldValues,e._patientRegistrationData.capturePhotoProps,e._patientRegistrationData.currentLocation,e._patientRegistrationData.initialIdentifierValues,e._patientRegistrationData.currentUser,e._patientRegistrationData.config,e._patientRegistrationData.savePatientTransactionManager,t.abort)];case 1:return n.sent(),[2]}})})()}var p=n(1343),h=n.n(p),y=n(72339),m=n(19565),b=n(85951),v=n(72591),g=n.n(v),A=n(1740),_=n.n(A),w=n(88128),T=n.n(w),S=n(30855),U=n.n(S),O=n(93051),j=n.n(O),D=n(73656),P=n.n(D),C=n(36207),x={};x.styleTagTransform=P(),x.setAttributes=U(),x.insert=T().bind(null,"head"),x.domAPI=_(),x.insertStyleElement=j(),g()(C.A,x);const E=C.A&&C.A.locals?C.A.locals:void 0;var I=n(84767),B={featureName:"Patient Registration",moduleName:o.AO};function k(){(0,r.defineConfigSchema)(o.AO,i.hV),(0,r.registerBreadcrumbs)([{path:"".concat(window.spaBase,"/").concat(o.dR),title:function(){return Promise.resolve(window.i18next.t("patientRegistrationBreadcrumb",{defaultValue:"Patient Registration",ns:o.AO}))},parent:"".concat(window.spaBase,"/home")},{path:"".concat(window.spaBase,"/patient/:patientUuid/edit"),title:function(){return Promise.resolve(window.i18next.t("editPatientDetailsBreadcrumb",{defaultValue:"Edit patient details",ns:o.AO}))},parent:"".concat(window.spaBase,"/patient/:patientUuid/chart")}]),(0,r.setupOfflineSync)(o.dR,[],d,{onBeginEditSyncItem:function(e){(0,r.navigate)({to:"${openmrsSpaBase}/patient/".concat(e.content.fhirPatient.id,"/edit")})}}),c(function(){return l(this,function(e){switch(e.label){case 0:return[4,Promise.all([(0,a.GC)(),(0,a.pX)(),(0,a.zL)(),(0,a.qm)(),(0,a.Qi)()])];case 1:return e.sent(),[2]}})})(),(0,r.setupDynamicOfflineDataHandler)({id:"esm-patient-registration-app:patient",type:"patient",displayName:"Patient registration",isSynced:function(e){return c(function(){var t,n;return l(this,function(r){switch(r.label){case 0:return t=f(e),[4,caches.open("omrs-spa-cache-v1")];case 1:return[4,r.sent().keys()];case 2:return n=r.sent().map(function(e){return e.url}),[2,t.every(function(e){return n.includes(e)})]}})})()},sync:function(e){return c(function(){var t;return l(this,function(n){switch(n.label){case 0:return t=f(e),[4,Promise.allSettled(t.map(function(e){return c(function(){return l(this,function(t){switch(t.label){case 0:return[4,(0,r.messageOmrsServiceWorker)({type:"registerDynamicRoute",url:e})];case 1:return t.sent(),[4,fetch(e)];case 2:return t.sent(),[2]}})})()}))];case 1:return n.sent(),[2]}})})()}})}var N=(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(21),n.e(6737),n.e(5434),n.e(2086),n.e(627)]).then(n.bind(n,30627))},B),R=(0,r.getAsyncLifecycle)(function(){return Promise.all([n.e(21),n.e(6737),n.e(5434),n.e(2086),n.e(627)]).then(n.bind(n,30627))},B),F=(0,r.getSyncLifecycle)(function(){var e=(0,y.useTranslation)().t,t=h().useCallback(function(){return(0,r.navigate)({to:"${openmrsSpaBase}/patient-registration"})},[]);return h().createElement(m.V8d,{"aria-label":e("addPatient","Add patient"),"aria-labelledby":e("addPatient","Add patient"),enterDelayMs:500,name:"AddPatientIcon",onClick:t,className:E.slotStyles},h().createElement(b.rs,{size:20}))},B),$=(0,r.getAsyncLifecycle)(function(){return n.e(8434).then(n.bind(n,58434))},B),L=(0,r.getAsyncLifecycle)(function(){return n.e(4463).then(n.bind(n,94463))},B),M=(0,r.getAsyncLifecycle)(function(){return n.e(3093).then(n.bind(n,43093))},B),z=(0,r.getAsyncLifecycle)(function(){return n.e(6276).then(n.bind(n,56276))},B)},90320:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,g=n?Symbol.for("react.responder"):60118,A=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case o:case u:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case y:case s:return e;default:return t}}case i:return t}}}function w(e){return _(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=y,t.Portal=i,t.Profiler=u,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return w(e)||_(e)===l},t.isConcurrentMode=w,t.isContextConsumer=function(e){return _(e)===c},t.isContextProvider=function(e){return _(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===d},t.isFragment=function(e){return _(e)===o},t.isLazy=function(e){return _(e)===m},t.isMemo=function(e){return _(e)===y},t.isPortal=function(e){return _(e)===i},t.isProfiler=function(e){return _(e)===u},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===u||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===g||e.$$typeof===A||e.$$typeof===b)},t.typeOf=_},95008:(e,t,n)=>{"use strict";n.d(t,{hV:()=>s,t_:()=>u,yk:()=>a});var r=n(54440);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a=[{id:"demographics",name:"Basic Info",fields:["name","gender","dob","id"]},{id:"contact",name:"Contact Details",fields:["address","phone"]},{id:"death",name:"Death Info",fields:["dateAndTimeOfDeath","causeOfDeath"]},{id:"relationships",name:"Relationships",fields:[]}],u=["name","gender","dob","id","address","phone","causeOfDeath","dateAndTimeOfDeath"],s={sections:{_type:r.Type.Array,_default:["demographics","contact","relationships"],_description:"An array of strings which are the keys from 'sectionDefinitions' or any of the following built-in sections: '".concat(a.map(function(e){return e.id}).join("', '"),"'."),_elements:{_type:r.Type.String}},sectionDefinitions:{_type:r.Type.Array,_default:[],_elements:{id:{_type:r.Type.String,_description:"How this section will be referred to in the `sections` configuration. To override a built-in section, use that section's id. The built in section ids are '".concat(a.map(function(e){return e.id}).join("', '"),"'.")},name:{_type:r.Type.String,_description:"The title to display at the top of the section."},fields:{_type:r.Type.Array,_default:[],_description:"The parts to include in the section. Can be any of the following built-in fields: ".concat(u.join(", "),". Can also be an id from an object in the `fieldDefinitions` array, which you can use to define custom fields."),_elements:{_type:r.Type.String}}}},fieldDefinitions:{_type:r.Type.Array,_default:[],_description:"Definitions for custom fields that can be used in sectionDefinitions. Can also be used to override built-in fields.",_elements:{id:{_type:r.Type.String,_description:"How this field will be referred to in the `fields` element of the `sectionDefinitions` configuration."},type:{_type:r.Type.String,_description:"How this field's data will be stored—a person attribute or an obs.",_validators:[r.validators.oneOf(["person attribute","obs"])]},uuid:{_type:r.Type.UUID,_description:"Person attribute type UUID that this field's data should be saved to."},showHeading:{_type:r.Type.Boolean,_default:!1,_description:"Whether to show a heading above the person attribute field."},label:{_type:r.Type.String,_default:"",_description:"The label of the input. By default, uses the metadata `display` attribute."},placeholder:{_type:r.Type.String,_default:"",_description:"Placeholder that will appear in the input."},allowFutureDates:{_type:r.Type.Boolean,_default:!0,_description:"Indicates whether the date input field should allow the selection of future dates or not."},allowPastDates:{_type:r.Type.Boolean,_default:!0,_description:"Indicates whether the date input field should allow the selection of past dates or not."},validation:{required:{_type:r.Type.Boolean,_default:!1},matches:{_type:r.Type.String,_default:"",_description:"Optional RegEx for testing the validity of the input."}},locationTag:{_type:r.Type.String,_default:"",_description:'Only for fields with "person attribute" type `org.openmrs.Location`. This filters the list of location options in the dropdown based on their location tag. By default, all locations are shown.'},answerConceptSetUuid:{_type:r.Type.ConceptUuid,_default:"",_description:"For coded questions only. A concept which has the possible responses either as answers or as set members."},customConceptAnswers:{_type:r.Type.Array,_default:[],_description:"For coded questions only (obs or person attrbute). A list of custom concept answers. Overrides answers that come from the obs concept or from `answerSetConceptUuid`.",_elements:{uuid:{_type:r.Type.UUID,_description:"Answer concept UUID"},label:{_type:r.Type.String,_default:"",_description:"The custom label for the answer concept."}}}}},fieldConfigurations:{causeOfDeath:{conceptUuid:{_type:r.Type.ConceptUuid,_default:"9272a14b-7260-4353-9e5b-5787b5dead9d",_description:"The concept UUID to get cause of death answers"},required:{_type:r.Type.Boolean,_default:!1}},name:{displayMiddleName:{_type:r.Type.Boolean,_default:!0},allowUnidentifiedPatients:{_type:r.Type.Boolean,_default:!0,_description:"Whether to allow registering unidentified patients."},defaultUnknownGivenName:{_type:r.Type.String,_default:"UNKNOWN",_description:"The given/first name to record for unidentified patients."},defaultUnknownFamilyName:{_type:r.Type.String,_default:"UNKNOWN",_description:"The family/last name to record for unidentified patients."},displayCapturePhoto:{_type:r.Type.Boolean,_default:!0,_description:"Whether to display capture patient photo slot on name field"},displayReverseFieldOrder:{_type:r.Type.Boolean,_default:!1,_description:"Whether to display the name fields in the order 'Family name' -> 'Middle name' -> 'First name'"}},gender:{_type:r.Type.Array,_default:[{value:"male"},{value:"female"},{value:"other"},{value:"unknown"}],_description:"The options for sex selection during patient registration. This is Administrative Gender as it is called by FHIR (Possible options are limited to those defined in FHIR Administrative Gender, see https://hl7.org/fhir/R4/valueset-administrative-gender.html).",_elements:{value:{_type:r.Type.String,_description:"Value that will be sent to the server. Limited to FHIR-supported values for Administrative Gender",_validators:[r.validators.oneOf(["male","female","other","unknown"])]},label:{_type:r.Type.String,_default:"",_description:'The label displayed for the sex option, if it should be different from the value (the value will be translated; the English "translation" is upper-case).'}}},address:{useAddressHierarchy:{enabled:{_type:r.Type.Boolean,_default:!0,_description:"Whether to use the Address hierarchy in the registration form or not"},useQuickSearch:{_type:r.Type.Boolean,_default:!0,_description:"Whether to use the quick searching through the address saved in the database pre-fill the form."},searchAddressByLevel:{_type:r.Type.Boolean,_default:!1,_description:"Whether to fill the addresses by levels, i.e. County => subCounty, the current field is dependent on it's previous field."}}},dateOfBirth:{allowEstimatedDateOfBirth:{_type:r.Type.Boolean,_default:!0,_description:"Whether to allow estimated date of birth for a patient during registration"},useEstimatedDateOfBirth:{enabled:{_type:r.Type.Boolean,_default:!1,_description:"Whether to use a fixed day and month for estimated date of birth"},dayOfMonth:{_type:r.Type.Number,_default:0,_description:"The custom day of the month use on the estimated date of birth (0 = last day of previous month, 1-31 = specific day)",_validators:[r.validators.inRange(0,31)]},month:{_type:r.Type.Number,_default:0,_description:"The custom month to use on the estimated date of birth i.e 0 = Jan & 11 = Dec",_validators:[r.validators.inRange(0,11)]}}},phone:{personAttributeUuid:{_type:r.Type.UUID,_default:"14d4f066-15f5-102d-96e4-000c29c2a5d7",_description:"The UUID of the phone number person attribute type"},validation:{required:{_type:r.Type.Boolean,_default:!1},matches:{_type:r.Type.String,_default:"",_description:"Optional RegEx for testing the validity of the input."}}}},links:{submitButton:{_type:r.Type.String,_default:"${openmrsSpaBase}/patient/${patientUuid}/chart",_validators:[r.validators.isUrlWithTemplateParameters(["patientUuid"])]}},defaultPatientIdentifierTypes:{_type:r.Type.Array,_default:[],_elements:{_type:r.Type.PatientIdentifierTypeUuid}},registrationObs:{encounterTypeUuid:{_type:r.Type.UUID,_default:"",_description:"Obs created during registration will be associated with an encounter of this type. This must be set in order to use fields of type `obs`."},encounterProviderRoleUuid:{_type:r.Type.UUID,_default:"a0b03050-c99b-11e0-9572-0800200c9a66",_description:"The provider role to use for the registration encounter. Default is 'Unkown'."},registrationFormUuid:{_type:r.Type.UUID,_default:"",_description:"The form UUID to associate with the registration encounter. By default no form will be associated."}},freeTextFieldConceptUuid:{_type:r.Type.ConceptUuid,_default:"5622AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},_validators:[(0,r.validator)(function(e){return!e.fieldDefinitions.some(function(e){return"obs"==e.type})||null!=e.registrationObs.encounterTypeUuid},"If fieldDefinitions contains any fields of type 'obs', `registrationObs.encounterTypeUuid` must be specified."),(0,r.validator)(function(e){return e.sections.every(function(t){return o(a).concat(o(e.sectionDefinitions)).map(function(e){return e.id}).includes(t)})},function(e){var t=o(a).concat(o(e.sectionDefinitions)).map(function(e){return e.id}),n=e.sections.find(function(e){return!t.includes(e)});return"'".concat(n,"' is not a valid section ID. Valid section IDs include the built-in sections ").concat(c(a))+(e.sectionDefinitions.length?"; and the defined sections ".concat(c(e.sectionDefinitions),"."):".")}),(0,r.validator)(function(e){return e.sectionDefinitions.every(function(t){return t.fields.every(function(t){return o(u).concat(o(e.fieldDefinitions.map(function(e){return e.id}))).includes(t)})})},function(e){var t=o(u).concat(o(e.fieldDefinitions.map(function(e){return e.id}))),n=e.sectionDefinitions.find(function(e){return e.fields.some(function(e){return!t.includes(e)})}),r=n.fields.find(function(e){return!t.includes(e)});return"The section definition '".concat(n.id,"' contains an invalid field '").concat(r,"'. 'fields' can only contain the built-in fields '").concat(u.join("', '"),"'")+(e.fieldDefinitions.length?"; or the defined fields ".concat(c(e.fieldDefinitions),"."):".")})]};function c(e){return"'".concat(e.map(function(e){return e.id}).join("', '"),"'")}},97e3:(e,t,n)=>{"use strict";n.d(t,{A:()=>y,u:()=>m});var r=n(54440),i=n(57691),o=n(49971);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t,n,r,i,o,a){try{var u=e[o](a),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,i)}function s(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(e){u(o,r,i,a,s,"next",e)}function s(e){u(o,r,i,a,s,"throw",e)}a(void 0)})}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){f(e,t,n[t])})}return e}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){u=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=u(0),a.throw=u(1),a.return=u(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(u){return function(s){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}var y=function(){function e(){c(this,e)}var t,n;return t=e,n=[{key:"saveRelationships",value:function(e,t){return s(function(){return h(this,function(n){return[2,Promise.all(e.filter(function(e){return e.relationshipType}).filter(function(e){return!!e.action}).map(function(e){var n=e.relatedPersonUuid,r=e.relationshipType,i=e.uuid,a=e.action,u=p(r.split("/"),2),s=u[0],c=u[1],l=t.data.uuid,f="aIsToB"===c,d={personA:f?n:l,personB:f?l:n,relationshipType:s};switch(a){case"ADD":return(0,o.SP)(d);case"UPDATE":return(0,o.G1)(i,d);case"DELETE":return(0,o.SE)(i)}}))]})})()}},{key:"saveObservations",value:function(e,t,n,r,i){return s(function(){var a;return h(this,function(u){if(e&&Object.keys(e).length>0){if(i.registrationObs.encounterTypeUuid)return a={encounterDatetime:new Date,patient:t.data.uuid,encounterType:i.registrationObs.encounterTypeUuid,location:n,encounterProviders:[{provider:r.currentProvider.uuid,encounterRole:i.registrationObs.encounterProviderRoleUuid}],form:i.registrationObs.registrationFormUuid,obs:Object.entries(e).filter(function(e){return""!==p(e,2)[1]}).map(function(e){var t=p(e,2);return{concept:t[0],value:t[1]}})},[2,(0,o.t2)(a)];console.error("The registration form has been configured to have obs fields, but no registration encounter type has been configured. Obs field values will not be saved.")}return[2]})})()}},{key:"savePatientIdentifiers",value:function(e,t,n,r,i){return s(function(){var a;return h(this,function(u){return a=Object.values(n).filter(function(e){var t=e.identifierValue,n=e.autoGeneration,r=e.selectedSource;return t||n&&r}).map(function(n){return s(function(){var r,a,u,s,c,l,f,d,p,y,m,b;return h(this,function(h){switch(h.label){case 0:return a=n.identifierTypeUuid,u=n.identifierValue,s=n.identifierUuid,c=n.selectedSource,l=n.preferred,f=n.autoGeneration,d=n.initialValue,p=f&&(null==c||null===(r=c.autoGenerationOption)||void 0===r?void 0:r.manualEntryEnabled)&&!!u,"58a4732e-1359-11df-a1f1-0026b9348838"!==a?[3,2]:[4,(0,o.Rp)()];case 1:return y=h.sent(),[3,7];case 2:return f&&!p?[3,3]:(m=u,[3,6]);case 3:return[4,(0,o.zx)(c.uuid)];case 4:return[4,h.sent().data.identifier];case 5:m=h.sent(),h.label=6;case 6:y=m,h.label=7;case 7:return b={uuid:s,identifier:y,identifierType:a,location:i,preferred:l},e?[3,11]:d?[3,9]:[4,(0,o.A4)(t,b)];case 8:return h.sent(),[3,11];case 9:return d===y?[3,11]:[4,(0,o.Yu)(t,s,b.identifier)];case 10:h.sent(),h.label=11;case 11:return[2,b]}})})()}),t&&Object.keys(r).filter(function(e){return!n[e]}).forEach(function(e){return s(function(){return h(this,function(n){switch(n.label){case 0:return[4,(0,o.SQ)(t,r[e].identifierUuid)];case 1:return n.sent(),[2]}})})()}),[2,Promise.all(a)]})})()}},{key:"getDeletedNames",value:function(e,t){return(null==t?void 0:t.additionalNameUuid)?[{nameUuid:t.additionalNameUuid,personUuid:e}]:[]}},{key:"getPatientToCreate",value:function(t,n,r,i,o,a){var u,s,c;return s=n.birthdate,u=(null!=(c=Date)&&"undefined"!=typeof Symbol&&c[Symbol.hasInstance]?c[Symbol.hasInstance](s):s instanceof c)?[n.birthdate.getFullYear(),n.birthdate.getMonth()+1,n.birthdate.getDate()].join("-"):n.birthdate,{uuid:n.patientUuid,person:d({uuid:n.patientUuid,names:e.getNames(n,r),gender:n.gender.charAt(0).toUpperCase(),birthdate:u,birthdateEstimated:n.birthdateEstimated,attributes:e.getPatientAttributes(t,n,r),addresses:[n.address]},e.getPatientDeathInfo(n,a)),identifiers:o}}},{key:"getNames",value:function(e,t){var n=[{uuid:t.preferredNameUuid,preferred:!0,givenName:e.givenName,middleName:e.middleName,familyName:e.familyName}];return e.addNameInLocalLanguage&&n.push({uuid:t.additionalNameUuid,preferred:!1,givenName:e.additionalGivenName,middleName:e.additionalMiddleName,familyName:e.additionalFamilyName}),n}},{key:"getPatientAttributes",value:function(e,t,n){var i=[];return t.attributes&&(Object.entries(t.attributes).filter(function(e){return!!p(e,2)[1]}).forEach(function(e){var t=p(e,2),n=t[0],r=t[1];i.push({attributeType:n,value:r})}),!e&&t.patientUuid&&Object.entries(t.attributes).filter(function(e){return!p(e,2)[1]}).forEach(function(e){var i=p(e,1)[0];return s(function(){var e;return h(this,function(o){switch(o.label){case 0:return e=n["attribute.".concat(i)],[4,(0,r.openmrsFetch)("".concat(r.restBaseUrl,"/person/").concat(t.patientUuid,"/attribute/").concat(e),{method:"DELETE"}).catch(function(e){console.error(e)})];case 1:return o.sent(),[2]}})})()})),i}},{key:"getPatientDeathInfo",value:function(e,t){var n=e.isDead,i=e.deathDate,a=e.deathTime,u=e.deathTimeFormat,s=e.deathCause,c=e.nonCodedCauseOfDeath;return n?d({dead:!0,deathDate:(0,r.toOmrsIsoString)((0,o.oq)(i,a,u))},s===(null==t?void 0:t.freeTextFieldConceptUuid)?{causeOfDeathNonCoded:c,causeOfDeath:null}:{causeOfDeath:s,causeOfDeathNonCoded:null}):{dead:!1}}},{key:"mapPatientToFhirPatient",value:function(e){var t,n,r,i,o,a;return{id:e.uuid,gender:null===(t=e.person)||void 0===t?void 0:t.gender,birthDate:null===(n=e.person)||void 0===n?void 0:n.birthdate,deceasedBoolean:e.person.dead,deceasedDateTime:e.person.deathDate,name:null===(i=e.person)||void 0===i||null===(r=i.names)||void 0===r?void 0:r.map(function(e){return{given:[e.givenName,e.middleName].filter(Boolean),family:e.familyName}}),address:null===(o=e.person)||void 0===o?void 0:o.addresses.map(function(e){return{city:e.cityVillage,country:e.country,postalCode:e.postalCode,state:e.stateProvince,use:"home"}}),telecom:null===(a=e.person.attributes)||void 0===a?void 0:a.filter(function(e){return"Telephone Number"===e.attributeType})}}}],null&&l(t.prototype,null),n&&l(t,n),e}();f(y,"savePatientFormOffline",function(e,t,n,o,a,u,c,l,f){return s(function(){var s;return h(this,function(d){switch(d.label){case 0:return s={fhirPatient:y.mapPatientToFhirPatient(y.getPatientToCreate(e,t,n,o,[],f)),_patientRegistrationData:{isNewPatient:e,formValues:t,patientUuidMap:n,initialAddressFieldValues:o,capturePhotoProps:a,currentLocation:u,initialIdentifierValues:c,currentUser:l,config:f,savePatientTransactionManager:new m}},[4,(0,r.queueSynchronizationItem)(i.dR,s,{id:t.patientUuid,displayName:"Patient registration",patientUuid:s.fhirPatient.id,dependencies:[]})];case 1:return d.sent(),[2,null]}})})()}),f(y,"savePatientFormOnline",function(e,t,n,i,a,u,c,l,f,d,p){return s(function(){var p,m,b,v;return h(this,function(g){switch(g.label){case 0:return[4,y.savePatientIdentifiers(e,t.patientUuid,t.identifiers,c,u)];case 1:return p=g.sent(),m=y.getPatientToCreate(e,t,n,i,p,f),y.getDeletedNames(t.patientUuid,n).forEach(function(e){return s(function(){return h(this,function(t){switch(t.label){case 0:return[4,(0,o.o9)(e.nameUuid,e.personUuid)];case 1:return t.sent(),[2]}})})()}),[4,(0,o.Z)(m,e&&!d.patientSaved?void 0:t.patientUuid)];case 2:return(b=g.sent()).ok?(d.patientSaved=!0,[4,y.saveRelationships(t.relationships,b)]):[3,7];case 3:return g.sent(),[4,y.saveObservations(t.obs,b,u,l,f)];case 4:return g.sent(),[4,(0,r.getConfig)("@openmrs/esm-styleguide")];case 5:return(v=g.sent().patientPhotoConceptUuid)&&(null==a?void 0:a.imageData)?[4,(0,o.hz)(b.data.uuid,a.imageData,"".concat(r.restBaseUrl,"/obs"),a.dateTime||(new Date).toISOString(),v)]:[3,7];case 6:g.sent(),g.label=7;case 7:return[2,b.data.uuid]}})})()});var m=function e(){c(this,e),f(this,"patientSaved",!1)}}}]);
|
package/dist/3474.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"3474.js","mappings":";sOAcA,QAJA,SAA4BA,GAC1B,OAAOA,GAAUA,KAAU,EAAAC,EAAA,GAASD,EACtC,E,cCWA,MCJA,EAVA,SAAiCE,EAAKC,GACpC,OAAO,SAASC,GACd,OAAc,MAAVA,GAGGA,EAAOF,KAASC,SACPE,IAAbF,GAA2BD,KAAOI,OAAOF,GAC9C,CACF,ECIA,EAVA,SAAqBG,GACnB,IAAIC,EFFN,SAAsBJ,GAIpB,IAHA,IAAIK,GAAS,EAAAC,EAAA,GAAKN,GACdO,EAASF,EAAOE,OAEbA,KAAU,CACf,IAAIT,EAAMO,EAAOE,GACbX,EAAQI,EAAOF,GAEnBO,EAAOE,GAAU,CAACT,EAAKF,EAAO,EAAmBA,GACnD,CACA,OAAOS,CACT,CETkB,CAAaF,GAC7B,OAAwB,GAApBC,EAAUG,QAAeH,EAAU,GAAG,GACjC,EAAwBA,EAAU,GAAG,GAAIA,EAAU,GAAG,IAExD,SAASJ,GACd,OAAOA,IAAWG,GCAtB,SAAqBH,EAAQG,EAAQC,EAAWI,GAC9C,IAAIC,EAAQL,EAAUG,OAClBA,EAASE,EACTC,GAAgBF,EAEpB,GAAc,MAAVR,EACF,OAA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EAAAA,GAChCsa,EACA5R,IAAiBQ,EAA8BsR,kBAAeviB,EAAYke,EAAO9U,c,cAF7EmT,EAAsB,UAKJvW,IACtBiL,EAA8BsR,cAAe,EAC7C,C,EAjFOjS,EAiFI+L,kBAAkB6B,EAAO5B,cAAeC,KAFjDA,C,YAIF,OAFA,SAEA,C,EAnFOjM,EAmFI0M,iBAAiBkB,EAAOP,IAAKpB,EAAqBzL,EAAiBE,EAAalN,I,OAEvD,OAFpC,SAEoC,C,GAAME,EAAAA,EAAAA,WAAkC,4B,cAApEse,EAA4B,SAA5BA,2BAEuBzR,aAAAA,EAAAA,EAAmB2R,WAChD,C,GAAMrZ,EAAAA,EAAAA,IACJoT,EAAoB7b,KAAK8D,KACzBqM,EAAkB2R,UAClB,GAAe,OAAZ9e,EAAAA,YAAY,QACfmN,EAAkB4R,WAAY,IAAI3W,MAAO4W,cACzCJ,IANAA,C,YACF,S,iBAUJ,MAAO,C,EAAA/F,EAAoB7b,KAAK8D,M,EAClC,E,KAoSK,eAAM0d,I,OAAAA,GACXK,EAAAA,KAAAA,gBAAe,E","sources":["webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_isStrictComparable.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_getMatchData.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_matchesStrictComparable.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_baseMatches.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_baseIsMatch.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/get.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_baseHasIn.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_baseMatchesProperty.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/hasIn.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_baseProperty.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/property.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_basePropertyDeep.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_baseIteratee.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/upperFirst.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_createCaseFirst.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_castSlice.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/camelCase.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/capitalize.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_trimmedEndIndex.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_baseTrim.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/toNumber.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/toFinite.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/findIndex.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/find.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_createFind.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/toInteger.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_baseFindIndex.js","webpack://@ampath/esm-patient-registration-app/./src/offline.resources.ts","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_hasPath.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_hasUnicode.js","webpack://@ampath/esm-patient-registration-app/./src/add-patient-link.scss","webpack://@ampath/esm-patient-registration-app/./src/patient-registration/patient-registration.resource.ts","webpack://@ampath/esm-patient-registration-app/./src/constants.ts","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_arrayReduce.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_deburrLetter.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_basePropertyOf.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/deburr.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_asciiWords.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_hasUnicodeWord.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_unicodeWords.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/words.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_createCompounder.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_unicodeToArray.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_stringToArray.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/lodash-es/_asciiToArray.js","webpack://@ampath/esm-patient-registration-app/./translations/ lazy nonrecursive .json$","webpack://@ampath/esm-patient-registration-app/./src/offline.ts","webpack://@ampath/esm-patient-registration-app/./src/add-patient-link.scss?2fa5","webpack://@ampath/esm-patient-registration-app/./src/index.ts","webpack://@ampath/esm-patient-registration-app/./src/add-patient-link.extension.tsx","webpack://@ampath/esm-patient-registration-app/../../node_modules/react-is/cjs/react-is.production.min.js","webpack://@ampath/esm-patient-registration-app/./src/config-schema.ts","webpack://@ampath/esm-patient-registration-app/./src/patient-registration/form-manager.ts"],"names":["value","isObject","key","srcValue","object","undefined","Object","source","matchData","result","keys","length","customizer","index","noCustomizer","data","objValue","stack","COMPARE_PARTIAL_FLAG","path","defaultValue","identity","isArray","string","array","start","end","strSymbols","chr","charAt","trailing","join","slice","word","toLowerCase","reWhitespace","reTrimStart","test","replace","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","INFINITY","isSymbol","other","valueOf","isBinary","nativeMax","Math","max","findIndexFunc","predicate","fromIndex","remainder","fromRight","collection","iterable","isArrayLike","iteratee","fetchCurrentSession","cacheAndFetch","restBaseUrl","fetchAddressTemplate","fetchAllRelationshipTypes","fetchAllFieldDefinitionTypes","config","fieldDefinitionPromises","getConfig","moduleName","fieldDefinitions","map","def","fieldDefinition","apiUrl","type","uuid","answerConceptSetUuid","Promise","all","reduce","merged","push","fetchPatientIdentifierTypesWithSources","patientIdentifierTypes","identifierTypes","autoGenOptions","identifierSourcesResponse","allIdentifierSources","i","identifierSources","filter","identifierType","option","find","results","autoGenerationOption","patientIdentifierTypesResponse","primaryIdentifierTypeResponse","primaryIdentifierTypeUuid","ok","mapPatientIdentifierType","forEach","Boolean","url","abortController","AbortController","messageOmrsServiceWorker","pattern","escapeRegExp","openmrsFetch","headers","cacheForOfflineHeaders","signal","patientIdentifierType","isPrimary","name","display","fieldName","camelCase","required","format","formatDescription","uniquenessBehavior","hasFunc","reHasUnicode","RegExp","___CSS_LOADER_EXPORT___","module","id","locals","savePatient","patient","updatePatientUuid","method","body","saveEncounter","encounter","generateIdentifier","generateAmrsUniversalIdentifier","user","json","deletePersonName","nameUuid","personUuid","saveRelationship","relationship","updateRelationship","relationshipUuid","relationshipType","deleteRelationship","savePatientPhoto","patientUuid","content","date","conceptUuid","formData","FormData","append","dataURI","byteString","window","atob","split","mimeString","buffer","Uint8Array","charCodeAt","blob","Blob","File","dataURItoFile","JSON","stringify","person","concept","groupMembers","obsDatetime","fetchPerson","query","patientsRes","personsRes","some","addPatientIdentifier","patientIdentifier","updatePatientIdentifier","identifierUuid","identifier","deletePatientIdentifier","patientIdentifierUuid","getDatetime","time","timeFormat","datetime","Date","Number","hours","minutes","fullHours","dayjs","hour","minute","second","millisecond","toDate","personRelationshipRepresentation","patientRegistration","omrsOfflineCachingStrategyHttpHeaderName","reLatin","reComboMark","reAsciiWord","reHasUnicodeWord","rsAstralRange","rsDingbatRange","rsLowerRange","rsUpperRange","rsBreakRange","rsMathOpRange","rsBreak","rsDigits","rsDingbat","rsLower","rsMisc","rsRegional","rsSurrPair","rsUpper","rsMiscLower","rsMiscUpper","rsOptContrLower","rsOptContrUpper","reOptMod","rsModifier","rsOptVar","rsSeq","rsEmoji","reUnicodeWord","guard","match","reApos","callback","accumulator","initAccum","rsAstral","rsCombo","rsFitz","rsNonAstral","rsSymbol","reUnicode","webpackAsyncContext","req","__webpack_require__","o","resolve","then","e","Error","code","ids","exports","getPatientUrlsToBeCached","fhirBaseUrl","origin","makeUrl","syncPatientRegistration","queuedPatient","options","FormManager","savePatientFormOnline","_patientRegistrationData","isNewPatient","formValues","patientUuidMap","initialAddressFieldValues","capturePhotoProps","currentLocation","initialIdentifierValues","currentUser","savePatientTransactionManager","abort","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","importTranslation","require","featureName","startupApp","defineConfigSchema","esmPatientRegistrationSchema","registerBreadcrumbs","spaBase","title","i18next","t","ns","parent","setupOfflineSync","onBeginEditSyncItem","syncItem","navigate","to","fhirPatient","setupDynamicOfflineDataHandler","displayName","isSynced","expectedUrls","caches","open","every","includes","sync","urlsToCache","allSettled","fetch","root","getAsyncLifecycle","editPatient","addPatientLink","getSyncLifecycle","useTranslation","addPatient","React","HeaderGlobalAction","aria-label","aria-labelledby","enterDelayMs","onClick","className","styles","slotStyles","UserFollow","size","cancelPatientEditModal","patientPhotoExtension","editPatientDetailsButton","deleteIdentifierConfirmationModal","b","Symbol","for","c","d","f","g","h","k","l","m","n","p","q","r","v","w","x","y","z","a","u","$$typeof","A","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","builtInSections","fields","builtInFields","sections","_type","Type","Array","_default","_description","s","_elements","String","sectionDefinitions","_validators","validators","oneOf","UUID","showHeading","label","placeholder","allowFutureDates","allowPastDates","validation","matches","locationTag","ConceptUuid","customConceptAnswers","fieldConfigurations","causeOfDeath","displayMiddleName","allowUnidentifiedPatients","defaultUnknownGivenName","defaultUnknownFamilyName","displayCapturePhoto","displayReverseFieldOrder","gender","address","useAddressHierarchy","enabled","useQuickSearch","searchAddressByLevel","dateOfBirth","allowEstimatedDateOfBirth","useEstimatedDateOfBirth","dayOfMonth","inRange","month","phone","personAttributeUuid","links","submitButton","isUrlWithTemplateParameters","defaultPatientIdentifierTypes","PatientIdentifierTypeUuid","registrationObs","encounterTypeUuid","encounterProviderRoleUuid","registrationFormUuid","freeTextFieldConceptUuid","validator","sDef","allowedSections","badSection","stringifyDefinitions","sectionDefinition","fDef","allowedFields","badField","saveRelationships","relationships","savePatientResponse","action","relatedPersonUuid","direction","thisPatientUuid","isAToB","relationshipToSave","personA","personB","saveObservations","obss","encounterToSave","encounterDatetime","encounterType","location","encounterProviders","provider","currentProvider","encounterRole","form","obs","entries","console","error","savePatientIdentifiers","patientIdentifiers","identifierTypeRequests","values","identifierValue","autoGeneration","selectedSource","identifierTypeUuid","preferred","initialValue","autoGenerationManualEntry","identifierToCreate","manualEntryEnabled","identifierFieldName","getDeletedNames","additionalNameUuid","getPatientToCreate","identifiers","birthdate","getFullYear","getMonth","getDate","names","getNames","toUpperCase","birthdateEstimated","attributes","getPatientAttributes","addresses","getPatientDeathInfo","preferredNameUuid","givenName","middleName","familyName","addNameInLocalLanguage","additionalGivenName","additionalMiddleName","additionalFamilyName","attributeType","attributeUuid","catch","err","isDead","deathDate","deathTime","deathTimeFormat","deathCause","nonCodedCauseOfDeath","dead","toOmrsIsoString","causeOfDeathNonCoded","mapPatientToFhirPatient","birthDate","deceasedBoolean","deceasedDateTime","given","family","city","cityVillage","country","postalCode","state","stateProvince","use","telecom","attribute","savePatientFormOffline","SavePatientTransactionManager","queueSynchronizationItem","dependencies","createdPatient","patientPhotoConceptUuid","patientSaved","imageData","dateTime","toISOString"],"sourceRoot":""}
|
package/dist/3584.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[3584],{43584:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
|
package/dist/4041.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 4041.js.LICENSE.txt */
|
|
2
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[4041],{14041:(e,t,r)=>{e.exports=r(14304)},14304:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),i=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,h={};function m(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}function b(){}function v(e,t,r){this.props=e,this.context=t,this.refs=h,this.updater=r||d}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=m.prototype;var S=v.prototype=new b;S.constructor=v,_(S,m.prototype),S.isPureReactComponent=!0;var k=Array.isArray,w=Object.prototype.hasOwnProperty,E={current:null},$={key:!0,ref:!0,__self:!0,__source:!0};function R(e,t,n){var o,u={},a=null,c=null;if(null!=t)for(o in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,o)&&!$.hasOwnProperty(o)&&(u[o]=t[o]);var i=arguments.length-2;if(1===i)u.children=n;else if(1<i){for(var f=Array(i),s=0;s<i;s++)f[s]=arguments[s+2];u.children=f}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===u[o]&&(u[o]=i[o]);return{$$typeof:r,type:e,key:a,ref:c,props:u,_owner:E.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var g=/\/+/g;function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function O(e,t,o,u,a){var c=typeof e;"undefined"!==c&&"boolean"!==c||(e=null);var i=!1;if(null===e)i=!0;else switch(c){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case r:case n:i=!0}}if(i)return a=a(i=e),e=""===u?"."+j(i,0):u,k(a)?(o="",null!=e&&(o=e.replace(g,"$&/")+"/"),O(a,t,o,"",function(e){return e})):null!=a&&(C(a)&&(a=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||i&&i.key===a.key?"":(""+a.key).replace(g,"$&/")+"/")+e)),t.push(a)),1;if(i=0,u=""===u?".":u+":",k(e))for(var f=0;f<e.length;f++){var s=u+j(c=e[f],f);i+=O(c,t,o,s,a)}else if(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=y&&e[y]||e["@@iterator"])?e:null}(e),"function"==typeof s)for(e=s.call(e),f=0;!(c=e.next()).done;)i+=O(c=c.value,t,o,s=u+j(c,f++),a);else if("object"===c)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function x(e,t,r){if(null==e)return e;var n=[],o=0;return O(e,n,"","",function(e){return t.call(r,e,o++)}),n}function P(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},T={transition:null},V={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:T,ReactCurrentOwner:E};function A(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:x,forEach:function(e,t,r){x(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return x(e,function(){t++}),t},toArray:function(e){return x(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=m,t.Fragment=o,t.Profiler=a,t.PureComponent=v,t.StrictMode=u,t.Suspense=s,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,t.act=A,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=_({},e.props),u=e.key,a=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,c=E.current),void 0!==t.key&&(u=""+t.key),e.type&&e.type.defaultProps)var i=e.type.defaultProps;for(f in t)w.call(t,f)&&!$.hasOwnProperty(f)&&(o[f]=void 0===t[f]&&void 0!==i?i[f]:t[f])}var f=arguments.length-2;if(1===f)o.children=n;else if(1<f){i=Array(f);for(var s=0;s<f;s++)i[s]=arguments[s+2];o.children=i}return{$$typeof:r,type:e.type,key:u,ref:a,props:o,_owner:c}},t.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=R,t.createFactory=function(e){var t=R.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},t.unstable_act=A,t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,r){return I.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,r){return I.current.useReducer(e,t,r)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return I.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return I.current.useTransition()},t.version="18.3.1"}}]);
|
package/dist/4041.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"4041.js","mappings":";yKAGEA,EAAOC,QAAU,EAAjB,M,gBCMW,IAAIC,EAAEC,OAAOC,IAAI,iBAAiBC,EAAEF,OAAOC,IAAI,gBAAgBE,EAAEH,OAAOC,IAAI,kBAAkBG,EAAEJ,OAAOC,IAAI,qBAAqBI,EAAEL,OAAOC,IAAI,kBAAkBK,EAAEN,OAAOC,IAAI,kBAAkBM,EAAEP,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GAAG,OAAOoE,EAAE5C,QAAQuG,SAAS/H,EAAE,EAAE1B,EAAQ0J,qBAAqB,SAAShI,EAAEC,EAAEC,GAAG,OAAOkE,EAAE5C,QAAQwG,qBAAqBhI,EAAEC,EAAEC,EAAE,EAAE5B,EAAQ2J,cAAc,WAAW,OAAO7D,EAAE5C,QAAQyG,eAAe,EAAE3J,EAAQ4J,QAAQ,Q","sources":["webpack://@ampath/esm-patient-registration-app/../../node_modules/react/index.js","webpack://@ampath/esm-patient-registration-app/../../node_modules/react/cjs/react.production.min.js"],"names":["module","exports","l","Symbol","for","n","p","q","r","t","u","v","w","x","y","z","iterator","B","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","C","Object","assign","D","E","a","b","e","this","props","context","refs","updater","F","G","prototype","isReactComponent","setState","Error","forceUpdate","H","constructor","isPureReactComponent","I","Array","isArray","J","hasOwnProperty","K","current","L","key","ref","__self","__source","M","d","c","k","h","call","g","arguments","length","children","f","m","defaultProps","$$typeof","type","_owner","O","P","Q","replace","escape","toString","R","N","push","A","next","done","value","String","keys","join","S","T","_status","_result","then","default","U","V","transition","W","ReactCurrentDispatcher","ReactCurrentBatchConfig","ReactCurrentOwner","X","Children","map","forEach","apply","count","toArray","only","Component","Fragment","Profiler","PureComponent","StrictMode","Suspense","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","act","cloneElement","createContext","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_defaultValue","_globalName","_context","createElement","createFactory","bind","createRef","forwardRef","render","isValidElement","lazy","_payload","_init","memo","compare","startTransition","unstable_act","useCallback","useContext","useDebugValue","useDeferredValue","useEffect","useId","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useSyncExternalStore","useTransition","version"],"sourceRoot":""}
|
package/dist/4055.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[4055],{94055:e=>{e.exports=JSON.parse('{"addPatient":"Ajouter un patient","addRelationshipButtonText":"Ajouter une relation ou lien de parenté","addressHeader":"Adresse","allFieldsRequiredText":"Tous les champs sont requis sauf si explicitement indiqués facultatifs","autoGeneratedPlaceholderText":"Autogénéré","birthdayNotInTheFuture":"La date de naissance ne peut pas être dans le futur","birthdayNotOver140YearsAgo":"La date de naissance ne peut être antérieure à 140 ans","birthdayRequired":"La date de naissance est requise","birthFieldLabelText":"Naissance","cancel":"Annuler","causeOfDeathInputLabel":"Cause du décès","closeOverlay":"Fermer la superposition","codedPersonAttributeAnswerSetEmpty":"L\'attribut de personne \'{{codedPersonAttributeFieldId}}\' a été défini via un concept de type dont le UUID \'{{answerConceptSetUuid}}\' n\'a aucune réponse définie.","codedPersonAttributeAnswerSetInvalid":"L\'attribut de personne \'{{codedPersonAttributeFieldId}}\' a été défini via le concept de type set \'{{answerConceptSetUuid}}\' mais n\'a pas de réponse valide.","codedPersonAttributeNoAnswerSet":"L\'attribut de personne \'{{codedPersonAttributeFieldId}}\' est de type \'codé\' mais a été défini sans un concept set de réponses. Le champ \'answerConceptSetUuid\' est requis.","configure":"Configurer","configureIdentifiers":"Configurer les identifiants","confirmDiscardChangesBody":"Vos modifications non enregistrées seront perdues si vous quittez le formulaire.","confirmDiscardChangesTitle":"Êtes-vous sûr de vouloir annuler ces modifications ?","confirmIdentifierDeletionText":"Voulez-vous vraiment supprimer cet identifiant ?","contactSection":"Coordonnées","createNewPatient":"Créer un nouveau patient","dateOfBirthLabelText":"Date de naissance","deathCauseRequired":"La date du décès est requise","deathDateInFuture":"La date de décès ne peut être dans le future","deathDateInputLabel":"Date du décès","deathDateRequired":"La date du décès est requise","deathdayInvalidDate":"La date et l\'heure de décès ne peuvent être antérieures à la date de naissance","deathdayIsRequired":"La date de décès est obligatoire quand le patient est déclaré décédé","deathdayNotInTheFuture":"","deathSection":"Informations sur le décès","deathTimeFormatInvalid":"Format de l\'heure invalide","deathTimeFormatRequired":"Format de l\'heure obligatoire","deathTimeInvalid":"L’heure ne correspond pas au format \'hh:mm\'","deathTimeRequired":"L\'heure de décès est requis","deleteIdentifierModalHeading":"Supprimer l\'identifiant ?","deleteIdentifierModalText":"a une valeur de","deleteIdentifierTooltip":"Supprimer","deleteRelationshipTooltipText":"Supprimer","demographicsSection":"Informations de base","discard":"Annuler","dobToggleLabelText":"Date de naissance connue ?","editIdentifierTooltip":"Modifier","editPatientDetails":"Modifier le patient","editPatientDetailsBreadcrumb":"Modifier le patient","enterNonCodedCauseOfDeath":" Entrez la cause du décès non codée","error":"Erreur","errorFetchingCodedCausesOfDeath":"Erreur d\'obtention des causes de décès","errorFetchingOrderedFields":"Une erreur s\'est produite lors de l\'obtention des champs ordonnés pour la hiérarchie d\'adresse","estimatedAgeInMonthsLabelText":"Âge estimé en mois","estimatedAgeInYearsLabelText":"Âge estimé en années","familyNameLabelText":"Nom de famille","familyNameRequired":"Le nom de famille est requis","female":"Femme","fieldsWithErrors":"Ces champs suivants contiennent des erreurs :","fullNameLabelText":"Nom et prénom","genderLabelText":"Sexe","genderRequired":"Le genre est requis","genderUnspecified":"Genre non précisé","givenNameLabelText":"Prénom","givenNameRequired":"Le prénom est requis","identifierValueRequired":"L\'identifiant est requis","idFieldLabelText":"Identifiants","IDInstructions":"Sélectionnez les identifiants que vous souhaitez ajouter pour ce patient :","invalidEmail":"Email non valide","invalidInput":"Entrée invalide","isDeadInputLabel":"Décédé(e)","jumpTo":"Aller à","male":"Homme","middleNameLabelText":"Deuxième Prénom","negativeMonths":"Les mois estimés ne peuvent pas être une valeur négative","negativeYears":"Les années estimées ne peuvent pas être une valeur négative","no":"Non","nonCodedCauseOfDeath":"Cause de décès non-codée","nonCodedCauseOfDeathRequired":"La cause du décès est requise","nonsensicalYears":"L\'âge estimé ne peut excéder 140 ans","numberInNameDubious":"Un chiffre dans le nom est suspect","obsFieldUnknownDatatype":"Le concept pour l\'observation \'{{fieldDefinitionId}}\' a un type de données inconnu \'{{datatypeName}}\'","optional":"Facultatif","optionalIdentifierLabel":"{{identifierName}} (facultatif)","other":"Autre","patientNameKnown":"Le nom du patient est-il connu ?","patientRegistrationBreadcrumb":"Enregistrement d\'un patient","refreshOrContactAdmin":"Essayer de rafraichir la page ou contacter l\'administrateur","registerPatient":"Enregistrer le patient","registerPatientSuccessSnackbarSubtitle":"Le patient peut à présent être cherché par son nom ou numéro d\'identification","registerPatientSuccessSnackbarTitle":"Nouveau patient créé","registrationErrorSnackbarTitle":"Échec de la création du patient","relationship":"Relation et lien de parenté","relationshipPersonMustExist":"La personne en lien doit être une personne existante dans le système","relationshipPlaceholder":"Relation et lien de parenté","relationshipRemovedText":"Relation supprimée","relationshipsSection":"Relations et liens de parenté","relationshipToPatient":"Relation avec le patient","relativeFullNameLabelText":"Nom complet","relativeNamePlaceholder":"Prénom et Nom de famille","removeIdentifierButton":"Supprimer l\'identifiant","resetIdentifierTooltip":"Réinitialiser","restoreRelationshipActionButton":"Restaurer","searchAddress":"Rechercher l\'adresse","searchIdentifierPlaceholder":"Rechercher un identifiant","searchLocationPersonAttribute":"Sélectionner une localisation","selectAnOption":"Sélectionner une option","sexFieldLabelText":"Sexe","source":"Source","submitting":"Envoi en cours","timeFormat":"Format de l\'heure","timeOfDeathInputLabel":"Heure de décès (hh:mm)","unableToFetch":"Impossible de récupérer le type d\'attribut de la personne - {{personattributetype}}","unknown":"Inconnu","unknownPatientAttributeType":"Le type d\'attribut de patient a un format inconnu {{personAttributeTypeFormat}}","updatePatient":"Enregistrer","updatePatientErrorSnackbarTitle":"Échec de la modification des informations patient","updatePatientSuccessSnackbarSubtitle":"Les informations du patient ont été modifiées","updatePatientSuccessSnackbarTitle":"Informations du patient modifiées","yearsEstimateRequired":"estimation de l\'année obligatoire","yes":"Oui"}')}}]);
|
package/dist/4132.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[4132],{14132:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"أضف علاقة","addressHeader":"العنوان","allFieldsRequiredText":"جميع الحقول مطلوبة ما لم يتم التأشير عليها بأنها اختيارية","autoGeneratedPlaceholderText":"تم إنشاؤه تلقائيًا","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"الميلاد","cancel":"إلغاء","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"تكوين","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"تفاصيل الاتصال","createNewPatient":"Create new patient","dateOfBirthLabelText":"تاريخ الميلاد","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"تاريخ الوفاة","deathDateRequired":"Death date is required","deathdayInvalidDate":"لا يمكن أن يكون تاريخ ووقت الوفاة قبل عيد الميلاد","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"معلومات الوفاة","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"حذف","deleteRelationshipTooltipText":"حذف","demographicsSection":"معلومات أساسية","discard":"تجاهل","dobToggleLabelText":"هل تاريخ الميلاد معروف؟","editIdentifierTooltip":"تعديل","editPatientDetails":"تعديل تفاصيل المريض","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"خطأ","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"حدث خطأ أثناء جلب الحقول المرتبة لتسلسل العنوان","estimatedAgeInMonthsLabelText":"العمر المقدر بالشهور","estimatedAgeInYearsLabelText":"العمر المقدر بالسنوات","familyNameLabelText":"اسم العائلة","familyNameRequired":"Family name is required","female":"أنثى","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"الاسم الكامل","genderLabelText":"الجنس","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"الاسم الأول","givenNameRequired":"Given name is required","identifierValueRequired":"قيمة المعرف مطلوبة","idFieldLabelText":"المعرفات","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"إدخال غير صالح","isDeadInputLabel":"Is dead","jumpTo":"اذهب إلى","male":"ذكر","middleNameLabelText":"الاسم الأوسط","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"لا","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"اختياري","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"آخر","patientNameKnown":"هل اسم المريض معروف؟","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"تسجيل المريض","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"العلاقة","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"العلاقة","relationshipRemovedText":"تمت إزالة العلاقة","relationshipsSection":"العلاقات","relationshipToPatient":"العلاقة بالمريض","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"الاسم الأول اسم العائلة","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"إعادة تعيين","restoreRelationshipActionButton":"تراجع","searchAddress":"ابحث عن العنوان","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"موقع البحث","selectAnOption":"اختر خيارًا","sexFieldLabelText":"الجنس","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"غير معروف","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"نعم"}')}}]);
|
package/dist/4300.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[4300],{34300:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
|
package/dist/4335.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[4335],{54335:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"បន្ថែមទំនាក់ទំនង","addressHeader":"អាសយដ្ឋាន","allFieldsRequiredText":"តម្រូវឱ្យបំពេញគ្រប់កន្លែងចំហរទាំងអស់ លុះត្រាតែមានសម្គាល់ថាជាជម្រើស","autoGeneratedPlaceholderText":"ទាញចេញទិន្នន័យដោយស្វ័យប្រវត្តិ","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"តម្រូវឱ្យបំពេញថ្ងៃខែឆ្នាំកំណើត","birthFieldLabelText":"ថ្ងៃខែឆ្នាំកំណើត","cancel":"បោះបង់ចោល","causeOfDeathInputLabel":"Cause of death","closeOverlay":"បិទការត្រួតលើគ្នា។","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"កំណត់រចនាសម្ព័ន្ធ","configureIdentifiers":"ឯកសារកំណត់អត្តសញ្ញាណផ្សេងទៀត","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"ព័ត៌មានមរណភាព","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"ព័ត៌មានមរណភាព","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"លុប","deleteRelationshipTooltipText":"លុប","demographicsSection":"ព័ត៌មានផ្ទាល់ខ្លួនអ្នកជំងឺ","discard":"បោះបង់","dobToggleLabelText":"ស្គាល់ថ្ងៃខែឆ្នាំកំណើត?","editIdentifierTooltip":"កែសម្រួល","editPatientDetails":"កែសម្រួលព័ត៌មានលម្អិតអ្នកជំងឺ","editPatientDetailsBreadcrumb":"កែសម្រួលព័ត៌មានលម្អិតអ្នកជំងឺ","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"មានបញ្ហាបច្ចេកទេស","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"មានបញ្ហាបច្ចេកទេសក្នុងការទាញទិន្នន័យតាមឋានានុក្រមអាសយដ្ឋាន","estimatedAgeInMonthsLabelText":"អាយុប៉ាន់ស្មានគិតជាខែ","estimatedAgeInYearsLabelText":"អាយុប៉ាន់ស្មានគិតជាឆ្នាំ","familyNameLabelText":"នាមត្រកូល","familyNameRequired":"តម្រូវឱ្យបំពេញនាមត្រកូល","female":"ស្រី","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"ឈ្មោះពេញ","genderLabelText":"ភេទ","genderRequired":"តម្រូវឱ្យបំពេញភេទ","genderUnspecified":"Gender unspecified","givenNameLabelText":"នាមខ្លួន","givenNameRequired":"តម្រូវឱ្យបំពេញឈ្មោះ","identifierValueRequired":"តម្រូវឱ្យមានកំណត់អត្តសញ្ញាណ","idFieldLabelText":"អ្នកកំណត់អត្តសញ្ញាណ","IDInstructions":"ជ្រើសរើសអត្តសញ្ញាណដែលអ្នកចង់បន្ថែមសម្រាប់អ្នកជំងឺនេះ៖","invalidEmail":"Invalid email","invalidInput":"ការបញ្ចូលមិនត្រឹមត្រូវ","isDeadInputLabel":"Is dead","jumpTo":"រំលងទៅ","male":"ប្រុស","middleNameLabelText":"លេខជាឈ្មោះដែលសង្ស័យ","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"ទេ","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"លេខគឺជាឈ្មោះគួរឱ្យសង្ស័យ","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"ជាជម្រើស","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"ផ្សេងៗ","patientNameKnown":"ស្គាល់ឈ្មោះអ្នកជំងឺឬទេ?","patientRegistrationBreadcrumb":"ការចុះឈ្មោះអ្នកជំងឺ","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"ទំនាក់ទំនង","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"ទំនាក់ទំនង","relationshipRemovedText":"ការទំនាក់ទំនងត្រូវបានដកចេញ","relationshipsSection":"ទំនាក់ទំនង","relationshipToPatient":"ការទាក់ទងទៅនឹងអ្នកជំងឺ","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"នាមត្រកូលនាមខ្លួន","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"រៀបចំឡើងវិញ","restoreRelationshipActionButton":"វិលត្រឡប់មកដើមវិញ","searchAddress":"ស្វែងរកអាសយដ្ឋាន","searchIdentifierPlaceholder":"ស្វែងរកអត្តសញ្ញាណ","searchLocationPersonAttribute":"Search location","selectAnOption":"យកជម្រើសមួយ","sexFieldLabelText":"ភេទ","source":"ប្រភព","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"មិនដឹង","unknownPatientAttributeType":"ប្រភេទនៃគុណលក្ខណៈរបស់អ្នកជំងឺគឺមិនស្គាល់។ {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"បាទ/ចាស"}')}}]);
|
package/dist/4463.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[4463],{94463:(t,e,a)=>{a.r(e),a.d(e,{default:()=>p});var o=a(1343),n=a.n(o),s=a(54440);const p=function(t){return console.warn("Using the patient-photo extension (or patient-photo-slot slot) is deprecated. Please use the PatientPhoto component from @openmrs/esm-framework."),n().createElement(s.PatientPhoto,t)}}}]);
|
package/dist/4463.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"4463.js","mappings":"yOAUA,QAPA,SAA+BA,GAI7B,OAHAC,QAAQC,KACN,oJAEK,kBAACC,EAAAA,aAAiBH,EAC3B,C","sources":["webpack://@ampath/esm-patient-registration-app/./src/patient-photo.extension.tsx"],"names":["props","console","warn","PatientPhoto"],"sourceRoot":""}
|
package/dist/4618.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[4618],{64618:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
|
package/dist/4652.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[4652],{84652:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"הוסף יחס","addressHeader":"כתובת","allFieldsRequiredText":"כל השדות נדרשים אלא אם צוין אחרת","autoGeneratedPlaceholderText":"נוצר אוטומטית","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"תאריך הלידה נדרש","birthFieldLabelText":"לידה","cancel":"ביטול","causeOfDeathInputLabel":"Cause of death","closeOverlay":"סגור חיפוש","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"הגדר","configureIdentifiers":"הגדר זיהויים","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"פרטי יצירת קשר","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"מידע על המוות","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"מחק","deleteRelationshipTooltipText":"מחק","demographicsSection":"מידע בסיסי","discard":"התעלם","dobToggleLabelText":"תאריך הלידה ידוע?","editIdentifierTooltip":"ערוך","editPatientDetails":"ערוך פרטי מטופל","editPatientDetailsBreadcrumb":"ערוך פרטי מטופל","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"שגיאה","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"שגיאה בעת קבלת השדות המסודרים להירכבות הכתובת","estimatedAgeInMonthsLabelText":"גיל משוער בחודשים","estimatedAgeInYearsLabelText":"גיל משוער בשנים","familyNameLabelText":"שם משפחה","familyNameRequired":"שם משפחה נדרש","female":"נקבה","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"שם מלא","genderLabelText":"מין","genderRequired":"מין נדרש","genderUnspecified":"Gender unspecified","givenNameLabelText":"שם פרטי","givenNameRequired":"שם פרטי נדרש","identifierValueRequired":"ערך זיהוי נדרש","idFieldLabelText":"זיהויים","IDInstructions":"בחר את הזיהויים שתרצה להוסיף למטופל זה:","invalidEmail":"Invalid email","invalidInput":"קלט לא חוקי","isDeadInputLabel":"Is dead","jumpTo":"קפיצה ל","male":"זכר","middleNameLabelText":"שם תוכני","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"לא","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"מספר בשם חשוד","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"אופציונלי","optionalIdentifierLabel":"{{identifierName}} (רשות)","other":"אחר","patientNameKnown":"שם המטופל ידוע?","patientRegistrationBreadcrumb":"רישום מטופל","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"קשר","relationshipPersonMustExist":"האדם הקשור חייב להיות אדם קיים","relationshipPlaceholder":"קשר","relationshipRemovedText":"קשר הוסר","relationshipsSection":"קשרים","relationshipToPatient":"קשר למטופל","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"שם פרטי שם משפחה","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"איפוס","restoreRelationshipActionButton":"ביטול","searchAddress":"חיפוש כתובת","searchIdentifierPlaceholder":"חיפוש זיהוי","searchLocationPersonAttribute":"מקום חיפוש","selectAnOption":"בחר אפשרות","sexFieldLabelText":"מין","source":"מקור","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"לא ידוע","unknownPatientAttributeType":"סוג המאפיין של המטופל לא ידוע {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"כן"}')}}]);
|
package/dist/4944.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[4944],{34944:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
|
package/dist/5173.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[]).push([[5173],{35173:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
|