@ampath/esm-patient-registration-app 9.2.0-next.19 → 9.2.0-next.21
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/1453.js +1 -0
- package/dist/1453.js.map +1 -0
- package/dist/4300.js +1 -1
- package/dist/5365.js +2 -0
- package/dist/5365.js.map +1 -0
- package/dist/6168.js +1 -0
- package/dist/6168.js.map +1 -0
- package/dist/6583.js +1 -1
- package/dist/7821.js +1 -1
- package/dist/8487.js +1 -0
- package/dist/8487.js.map +1 -0
- package/dist/main.js +1 -1
- package/dist/openmrs-esm-patient-registration-app.js +1 -1
- package/dist/openmrs-esm-patient-registration-app.js.buildmanifest.json +101 -101
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/patient-registration/client-registry/client-registry-search.component.tsx +5 -53
- package/src/patient-registration/client-registry/client-registry.resource.ts +8 -29
- package/src/patient-registration/client-registry/constants/civil-status.ts +29 -0
- package/src/patient-registration/client-registry/constants/person-attribute-types.ts +21 -0
- package/src/patient-registration/client-registry/hie-client-adapter.ts +327 -1
- package/src/patient-registration/client-registry/mock-client.ts +627 -0
- package/src/patient-registration/client-registry/new-client/new-client-registration/new-client-registration.scss +25 -0
- package/src/patient-registration/client-registry/new-client/new-client-registration/new-client-registration.tsx +276 -0
- package/src/patient-registration/client-registry/new-client/new-client-tab.component.tsx +6 -4
- package/src/patient-registration/client-registry/new-client/registration-form-data.ts +251 -0
- package/src/patient-registration/client-registry/types/index.ts +320 -6
- package/src/patient-registration/client-registry-search/client-registry-dependant-details.component.tsx +1 -1
- package/src/patient-registration/client-registry-search/client-registry-details.component.tsx +1 -1
- package/src/patient-registration/client-registry-search/client-registry-patient-details.component.tsx +1 -1
- package/src/patient-registration/client-registry-search/client-registry-search.component.tsx +1 -1
- package/src/patient-registration/client-registry-search/client-registry-verification-tag.component.tsx +1 -1
- package/src/patient-registration/client-registry-search/client-registry.resource.ts +16 -3
- package/src/patient-registration/client-registry-search/map-client-registry-to-form-utils.ts +1 -1
- package/translations/en.json +1 -0
- package/dist/2523.js +0 -1
- package/dist/2523.js.map +0 -1
- package/dist/5239.js +0 -2
- package/dist/5239.js.map +0 -1
- package/dist/9853.js +0 -1
- package/dist/9853.js.map +0 -1
- package/dist/9898.js +0 -1
- package/dist/9898.js.map +0 -1
- package/src/patient-registration/client-registry-search/client-registry.types.ts +0 -243
- /package/dist/{5239.js.LICENSE.txt → 5365.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
var _ampath_esm_patient_registration_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,s,u,f,p,d,h,c,m,v,g,b,y,w,_={3174:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(3144),t.e(2498),t.e(1343),t.e(7243),t.e(7821)]).then(()=>()=>t(87821))},a=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),o=(e,r)=>{if(t.S){var n="default",a=t.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>a,init:()=>o})}},P={};function S(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,loaded:!1,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.loaded=!0,t.exports}S.m=_,S.c=P,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var a=Object.create(null);S.r(a);var o={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(e=>o[e]=()=>t[e]);return o.default=()=>t,S.d(a,o),a},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce((r,t)=>(S.f[t](e,r),r),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@ampath/esm-patient-registration-app:",S.l=(e,r,a,o)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==a)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var f=s[u];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+a){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+a),i.src=e),t[e]=[r];var p=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var o=S.S[t],i="@ampath/esm-patient-registration-app",l=(e,r,t,n)=>{var a=o[e]=o[e]||{},l=a[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(a[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","8.0.1-pre.3444",()=>Promise.all([S.e(
|
|
1
|
+
var _ampath_esm_patient_registration_app;(()=>{"use strict";var e,r,t,n,a,o,i,l,s,u,f,p,d,h,c,m,v,g,b,y,w,_={3174:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(3144),t.e(2498),t.e(1343),t.e(7243),t.e(7821)]).then(()=>()=>t(87821))},a=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then(()=>{throw new Error('Module "'+e+'" does not exist in container.')}),t.R=void 0,r),o=(e,r)=>{if(t.S){var n="default",a=t.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>a,init:()=>o})}},P={};function S(e){var r=P[e];if(void 0!==r)return r.exports;var t=P[e]={id:e,loaded:!1,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.loaded=!0,t.exports}S.m=_,S.c=P,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var a=Object.create(null);S.r(a);var o={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(e=>o[e]=()=>t[e]);return o.default=()=>t,S.d(a,o),a},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce((r,t)=>(S.f[t](e,r),r),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@ampath/esm-patient-registration-app:",S.l=(e,r,a,o)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==a)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var f=s[u];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+a){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+a),i.src=e),t[e]=[r];var p=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var a=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(e=>e(n)),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var o=S.S[t],i="@ampath/esm-patient-registration-app",l=(e,r,t,n)=>{var a=o[e]=o[e]||{},l=a[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(a[r]={get:t,from:i,eager:!!n})},s=[];return"default"===t&&(l("@openmrs/esm-framework","8.0.1-pre.3444",()=>Promise.all([S.e(8487),S.e(3144),S.e(5365),S.e(2498),S.e(1343),S.e(5434),S.e(2086),S.e(7243),S.e(8394)]).then(()=>()=>S(15365))),l("dayjs","1.11.13",()=>S.e(3464).then(()=>()=>S(23464))),l("react-i18next","16.0.0",()=>Promise.all([S.e(6336),S.e(1343)]).then(()=>()=>S(16336))),l("react-router-dom","6.30.1",()=>Promise.all([S.e(3144),S.e(2913),S.e(1343)]).then(()=>()=>S(52913))),l("react","18.3.1",()=>S.e(4041).then(()=>()=>S(14041))),l("swr/_internal","2.2.5",()=>Promise.all([S.e(2372),S.e(1343)]).then(()=>()=>S(42372))),l("swr/immutable","2.2.5",()=>Promise.all([S.e(1343),S.e(5434),S.e(7495)]).then(()=>()=>S(29876))),l("swr/infinite","2.2.5",()=>Promise.all([S.e(1343),S.e(5434),S.e(89)]).then(()=>()=>S(52470)))),e[t]=s.length?Promise.all(s).then(()=>e[t]=1):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),a=e=>{var r=e=>e.split(".").map(e=>+e==e?+e:e),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},o=(e,r)=>{e=a(e),r=a(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],o=(typeof n)[0];if(t>=r.length)return"u"==o;var i=r[t],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&n!=i)return n<i;t++}},i=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var o=[];for(a=1;a<e.length;a++){var l=e[a];o.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?o.pop()+" "+o.pop():i(l))}return s();function s(){return o.pop().replace(/^\((.+)\)$/,"$1")}},l=(e,r)=>{if(0 in e){r=a(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var o=0,i=1,s=!0;;i++,o++){var u,f,p=i<e.length?(typeof e[i])[0]:"";if(o>=r.length||"o"==(f=(typeof(u=r[o]))[0]))return!s||("u"==p?i>t&&!n:""==p!=n);if("u"==f){if(!s||"u"!=p)return!1}else if(s)if(p==f)if(i<=t){if(u!=e[i])return!1}else{if(n?u>e[i]:u<e[i])return!1;u!=e[i]&&(s=!1)}else if("s"!=p&&"n"!=p){if(n||i<=t)return!1;s=!1,i--}else{if(i<=t||f<p!=n)return!1;s=!1}else"s"!=p&&"n"!=p&&(s=!1,i--)}}var d=[],h=d.pop.bind(d);for(o=1;o<e.length;o++){var c=e[o];d.push(1==c?h()|h():2==c?h()&h():c?l(c,r):!h())}return!!h()},s=(e,r)=>e&&S.o(e,r),u=e=>(e.loaded=1,e.get()),f=e=>Object.keys(e).reduce((r,t)=>(e[t].eager&&(r[t]=e[t]),r),{}),p=(e,r,t)=>{var n=t?f(e[r]):e[r];return Object.keys(n).reduce((e,r)=>!e||!n[e].loaded&&o(e,r)?r:e,0)},d=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",h=e=>{throw new Error(e)},c=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},m=(e,r,t)=>t?t():((e,r)=>h("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,a,o){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,a,o)):e(r,S.S[r],t,n,a,o)})((e,r,t,n,a,o)=>{if(!s(r,t))return m(e,t,o);var i=p(r,t,n);return l(a,i)||c(d(r,t,i,a)),u(r[t][i])}),g={},b={1343:()=>v("default","react",!1,[1,18],()=>S.e(4041).then(()=>()=>S(14041))),55434:()=>v("default","swr/_internal",!1,[1,2],()=>S.e(2372).then(()=>()=>S(42372))),8877:()=>v("default","react-router-dom",!1,[1,6],()=>S.e(2913).then(()=>()=>S(52913))),88010:()=>v("default","swr/immutable",!1,[1,2],()=>S.e(9876).then(()=>()=>S(29876))),46372:()=>v("default","dayjs",!1,[1,1],()=>S.e(3464).then(()=>()=>S(23464))),54440:()=>v("default","@openmrs/esm-framework",!1,[1,8],()=>Promise.all([S.e(8487),S.e(5365),S.e(5434),S.e(2086),S.e(8394)]).then(()=>()=>S(15365))),72339:()=>v("default","react-i18next",!1,[1,16],()=>S.e(6336).then(()=>()=>S(16336))),98394:()=>v("default","swr/infinite",!1,[1,2],()=>S.e(2470).then(()=>()=>S(52470)))},y={1343:[1343],2086:[8877,88010],5434:[55434],7243:[46372,54440,72339],8394:[98394]},w={},S.f.consumes=(e,r)=>{S.o(y,e)&&y[e].forEach(e=>{if(S.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var a=b[e]();a.then?r.push(g[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}})},(()=>{var e={5898:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^((13|72)43|2086|5434|8394)$/.test(r))e[r]=0;else{var a=new Promise((t,a)=>n=e[r]=[t,a]);t.push(n[2]=a);var o=S.p+S.u(r),i=new Error;S.l(o,t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,n[1](i)}},"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,i,l]=t,s=0;if(o.some(r=>0!==e[r])){for(n in i)S.o(i,n)&&(S.m[n]=i[n]);l&&l(S)}for(r&&r(t);s<o.length;s++)a=o[s],S.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_ampath_esm_patient_registration_app=globalThis.webpackChunk_ampath_esm_patient_registration_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var j=S(3174);_ampath_esm_patient_registration_app=j})();
|
|
@@ -177,6 +177,31 @@
|
|
|
177
177
|
"hash": "8015d68cc6468b4f",
|
|
178
178
|
"childrenByOrder": {}
|
|
179
179
|
},
|
|
180
|
+
{
|
|
181
|
+
"rendered": true,
|
|
182
|
+
"initial": false,
|
|
183
|
+
"entry": false,
|
|
184
|
+
"recorded": false,
|
|
185
|
+
"reason": "split chunk (cache group: default)",
|
|
186
|
+
"size": 257118,
|
|
187
|
+
"sizes": {
|
|
188
|
+
"javascript": 257118
|
|
189
|
+
},
|
|
190
|
+
"names": [],
|
|
191
|
+
"idHints": [],
|
|
192
|
+
"runtime": [
|
|
193
|
+
"@ampath/esm-patient-registration-app",
|
|
194
|
+
"main"
|
|
195
|
+
],
|
|
196
|
+
"files": [
|
|
197
|
+
"1453.js"
|
|
198
|
+
],
|
|
199
|
+
"auxiliaryFiles": [
|
|
200
|
+
"1453.js.map"
|
|
201
|
+
],
|
|
202
|
+
"hash": "054b9d164d9dda55",
|
|
203
|
+
"childrenByOrder": {}
|
|
204
|
+
},
|
|
180
205
|
{
|
|
181
206
|
"rendered": false,
|
|
182
207
|
"initial": false,
|
|
@@ -298,31 +323,6 @@
|
|
|
298
323
|
"hash": "a8b5c0ea2ff5d96f",
|
|
299
324
|
"childrenByOrder": {}
|
|
300
325
|
},
|
|
301
|
-
{
|
|
302
|
-
"rendered": true,
|
|
303
|
-
"initial": false,
|
|
304
|
-
"entry": false,
|
|
305
|
-
"recorded": false,
|
|
306
|
-
"reason": "split chunk (cache group: default)",
|
|
307
|
-
"size": 149526,
|
|
308
|
-
"sizes": {
|
|
309
|
-
"javascript": 149526
|
|
310
|
-
},
|
|
311
|
-
"names": [],
|
|
312
|
-
"idHints": [],
|
|
313
|
-
"runtime": [
|
|
314
|
-
"@ampath/esm-patient-registration-app",
|
|
315
|
-
"main"
|
|
316
|
-
],
|
|
317
|
-
"files": [
|
|
318
|
-
"2523.js"
|
|
319
|
-
],
|
|
320
|
-
"auxiliaryFiles": [
|
|
321
|
-
"2523.js.map"
|
|
322
|
-
],
|
|
323
|
-
"hash": "bb0f4d90b804432e",
|
|
324
|
-
"childrenByOrder": {}
|
|
325
|
-
},
|
|
326
326
|
{
|
|
327
327
|
"rendered": true,
|
|
328
328
|
"initial": false,
|
|
@@ -564,9 +564,9 @@
|
|
|
564
564
|
"initial": false,
|
|
565
565
|
"entry": false,
|
|
566
566
|
"recorded": false,
|
|
567
|
-
"size":
|
|
567
|
+
"size": 6247,
|
|
568
568
|
"sizes": {
|
|
569
|
-
"javascript":
|
|
569
|
+
"javascript": 6247
|
|
570
570
|
},
|
|
571
571
|
"names": [],
|
|
572
572
|
"idHints": [],
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
"4300.js"
|
|
579
579
|
],
|
|
580
580
|
"auxiliaryFiles": [],
|
|
581
|
-
"hash": "
|
|
581
|
+
"hash": "1d71ecd05e3d8109",
|
|
582
582
|
"childrenByOrder": {}
|
|
583
583
|
},
|
|
584
584
|
{
|
|
@@ -720,26 +720,21 @@
|
|
|
720
720
|
"initial": false,
|
|
721
721
|
"entry": false,
|
|
722
722
|
"recorded": false,
|
|
723
|
-
"
|
|
724
|
-
"size": 4421473,
|
|
723
|
+
"size": 6021,
|
|
725
724
|
"sizes": {
|
|
726
|
-
"javascript":
|
|
725
|
+
"javascript": 6021
|
|
727
726
|
},
|
|
728
727
|
"names": [],
|
|
729
|
-
"idHints": [
|
|
730
|
-
"vendors"
|
|
731
|
-
],
|
|
728
|
+
"idHints": [],
|
|
732
729
|
"runtime": [
|
|
733
730
|
"@ampath/esm-patient-registration-app",
|
|
734
731
|
"main"
|
|
735
732
|
],
|
|
736
733
|
"files": [
|
|
737
|
-
"
|
|
738
|
-
],
|
|
739
|
-
"auxiliaryFiles": [
|
|
740
|
-
"5239.js.map"
|
|
734
|
+
"5241.js"
|
|
741
735
|
],
|
|
742
|
-
"
|
|
736
|
+
"auxiliaryFiles": [],
|
|
737
|
+
"hash": "11d6c538ff8696d5",
|
|
743
738
|
"childrenByOrder": {}
|
|
744
739
|
},
|
|
745
740
|
{
|
|
@@ -747,21 +742,26 @@
|
|
|
747
742
|
"initial": false,
|
|
748
743
|
"entry": false,
|
|
749
744
|
"recorded": false,
|
|
750
|
-
"
|
|
745
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
746
|
+
"size": 4341505,
|
|
751
747
|
"sizes": {
|
|
752
|
-
"javascript":
|
|
748
|
+
"javascript": 4341505
|
|
753
749
|
},
|
|
754
750
|
"names": [],
|
|
755
|
-
"idHints": [
|
|
751
|
+
"idHints": [
|
|
752
|
+
"vendors"
|
|
753
|
+
],
|
|
756
754
|
"runtime": [
|
|
757
755
|
"@ampath/esm-patient-registration-app",
|
|
758
756
|
"main"
|
|
759
757
|
],
|
|
760
758
|
"files": [
|
|
761
|
-
"
|
|
759
|
+
"5365.js"
|
|
762
760
|
],
|
|
763
|
-
"auxiliaryFiles": [
|
|
764
|
-
|
|
761
|
+
"auxiliaryFiles": [
|
|
762
|
+
"5365.js.map"
|
|
763
|
+
],
|
|
764
|
+
"hash": "c3426e56fab0c62a",
|
|
765
765
|
"childrenByOrder": {}
|
|
766
766
|
},
|
|
767
767
|
{
|
|
@@ -853,7 +853,7 @@
|
|
|
853
853
|
"auxiliaryFiles": [
|
|
854
854
|
"openmrs-esm-patient-registration-app.js.map"
|
|
855
855
|
],
|
|
856
|
-
"hash": "
|
|
856
|
+
"hash": "322891228c4392f2",
|
|
857
857
|
"childrenByOrder": {}
|
|
858
858
|
},
|
|
859
859
|
{
|
|
@@ -878,6 +878,30 @@
|
|
|
878
878
|
"hash": "4e6f3dcda3eb6b92",
|
|
879
879
|
"childrenByOrder": {}
|
|
880
880
|
},
|
|
881
|
+
{
|
|
882
|
+
"rendered": true,
|
|
883
|
+
"initial": false,
|
|
884
|
+
"entry": false,
|
|
885
|
+
"recorded": false,
|
|
886
|
+
"size": 622528,
|
|
887
|
+
"sizes": {
|
|
888
|
+
"javascript": 622528
|
|
889
|
+
},
|
|
890
|
+
"names": [],
|
|
891
|
+
"idHints": [],
|
|
892
|
+
"runtime": [
|
|
893
|
+
"@ampath/esm-patient-registration-app",
|
|
894
|
+
"main"
|
|
895
|
+
],
|
|
896
|
+
"files": [
|
|
897
|
+
"6168.js"
|
|
898
|
+
],
|
|
899
|
+
"auxiliaryFiles": [
|
|
900
|
+
"6168.js.map"
|
|
901
|
+
],
|
|
902
|
+
"hash": "5073900ba4bcb703",
|
|
903
|
+
"childrenByOrder": {}
|
|
904
|
+
},
|
|
881
905
|
{
|
|
882
906
|
"rendered": true,
|
|
883
907
|
"initial": false,
|
|
@@ -972,7 +996,7 @@
|
|
|
972
996
|
"auxiliaryFiles": [
|
|
973
997
|
"6583.js.map"
|
|
974
998
|
],
|
|
975
|
-
"hash": "
|
|
999
|
+
"hash": "daeadc8b20933afa",
|
|
976
1000
|
"childrenByOrder": {}
|
|
977
1001
|
},
|
|
978
1002
|
{
|
|
@@ -1157,7 +1181,7 @@
|
|
|
1157
1181
|
],
|
|
1158
1182
|
"files": [],
|
|
1159
1183
|
"auxiliaryFiles": [],
|
|
1160
|
-
"hash": "
|
|
1184
|
+
"hash": "81a68e9d08d711a0",
|
|
1161
1185
|
"childrenByOrder": {}
|
|
1162
1186
|
},
|
|
1163
1187
|
{
|
|
@@ -1226,7 +1250,7 @@
|
|
|
1226
1250
|
"auxiliaryFiles": [
|
|
1227
1251
|
"7821.js.map"
|
|
1228
1252
|
],
|
|
1229
|
-
"hash": "
|
|
1253
|
+
"hash": "1a4a403e9b256933",
|
|
1230
1254
|
"childrenByOrder": {}
|
|
1231
1255
|
},
|
|
1232
1256
|
{
|
|
@@ -1342,6 +1366,33 @@
|
|
|
1342
1366
|
"hash": "24d788ed851b0a74",
|
|
1343
1367
|
"childrenByOrder": {}
|
|
1344
1368
|
},
|
|
1369
|
+
{
|
|
1370
|
+
"rendered": true,
|
|
1371
|
+
"initial": false,
|
|
1372
|
+
"entry": false,
|
|
1373
|
+
"recorded": false,
|
|
1374
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
1375
|
+
"size": 106175,
|
|
1376
|
+
"sizes": {
|
|
1377
|
+
"javascript": 106175
|
|
1378
|
+
},
|
|
1379
|
+
"names": [],
|
|
1380
|
+
"idHints": [
|
|
1381
|
+
"vendors"
|
|
1382
|
+
],
|
|
1383
|
+
"runtime": [
|
|
1384
|
+
"@ampath/esm-patient-registration-app",
|
|
1385
|
+
"main"
|
|
1386
|
+
],
|
|
1387
|
+
"files": [
|
|
1388
|
+
"8487.js"
|
|
1389
|
+
],
|
|
1390
|
+
"auxiliaryFiles": [
|
|
1391
|
+
"8487.js.map"
|
|
1392
|
+
],
|
|
1393
|
+
"hash": "ac29863640da3c3e",
|
|
1394
|
+
"childrenByOrder": {}
|
|
1395
|
+
},
|
|
1345
1396
|
{
|
|
1346
1397
|
"rendered": true,
|
|
1347
1398
|
"initial": false,
|
|
@@ -1389,7 +1440,7 @@
|
|
|
1389
1440
|
"auxiliaryFiles": [
|
|
1390
1441
|
"main.js.map"
|
|
1391
1442
|
],
|
|
1392
|
-
"hash": "
|
|
1443
|
+
"hash": "a045cfc08fd05906",
|
|
1393
1444
|
"childrenByOrder": {}
|
|
1394
1445
|
},
|
|
1395
1446
|
{
|
|
@@ -1458,30 +1509,6 @@
|
|
|
1458
1509
|
"hash": "4d989f532c63737b",
|
|
1459
1510
|
"childrenByOrder": {}
|
|
1460
1511
|
},
|
|
1461
|
-
{
|
|
1462
|
-
"rendered": true,
|
|
1463
|
-
"initial": false,
|
|
1464
|
-
"entry": false,
|
|
1465
|
-
"recorded": false,
|
|
1466
|
-
"size": 680853,
|
|
1467
|
-
"sizes": {
|
|
1468
|
-
"javascript": 680853
|
|
1469
|
-
},
|
|
1470
|
-
"names": [],
|
|
1471
|
-
"idHints": [],
|
|
1472
|
-
"runtime": [
|
|
1473
|
-
"@ampath/esm-patient-registration-app",
|
|
1474
|
-
"main"
|
|
1475
|
-
],
|
|
1476
|
-
"files": [
|
|
1477
|
-
"9853.js"
|
|
1478
|
-
],
|
|
1479
|
-
"auxiliaryFiles": [
|
|
1480
|
-
"9853.js.map"
|
|
1481
|
-
],
|
|
1482
|
-
"hash": "57b9558dff0bf2e9",
|
|
1483
|
-
"childrenByOrder": {}
|
|
1484
|
-
},
|
|
1485
1512
|
{
|
|
1486
1513
|
"rendered": true,
|
|
1487
1514
|
"initial": false,
|
|
@@ -1550,33 +1577,6 @@
|
|
|
1550
1577
|
"hash": "0a0d6aeaf46102cf",
|
|
1551
1578
|
"childrenByOrder": {}
|
|
1552
1579
|
},
|
|
1553
|
-
{
|
|
1554
|
-
"rendered": true,
|
|
1555
|
-
"initial": false,
|
|
1556
|
-
"entry": false,
|
|
1557
|
-
"recorded": false,
|
|
1558
|
-
"reason": "split chunk (cache group: defaultVendors)",
|
|
1559
|
-
"size": 26207,
|
|
1560
|
-
"sizes": {
|
|
1561
|
-
"javascript": 26207
|
|
1562
|
-
},
|
|
1563
|
-
"names": [],
|
|
1564
|
-
"idHints": [
|
|
1565
|
-
"vendors"
|
|
1566
|
-
],
|
|
1567
|
-
"runtime": [
|
|
1568
|
-
"@ampath/esm-patient-registration-app",
|
|
1569
|
-
"main"
|
|
1570
|
-
],
|
|
1571
|
-
"files": [
|
|
1572
|
-
"9898.js"
|
|
1573
|
-
],
|
|
1574
|
-
"auxiliaryFiles": [
|
|
1575
|
-
"9898.js.map"
|
|
1576
|
-
],
|
|
1577
|
-
"hash": "586b7b6b07d21666",
|
|
1578
|
-
"childrenByOrder": {}
|
|
1579
|
-
},
|
|
1580
1580
|
{
|
|
1581
1581
|
"rendered": true,
|
|
1582
1582
|
"initial": false,
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"pages":[{"component":"root","route":"patient-registration","online":true,"offline":true},{"component":"editPatient","routeRegex":"patient\\/([a-zA-Z0-9\\-]+)\\/edit","online":true,"offline":true}],"extensions":[{"component":"addPatientLink","name":"add-patient-action","slot":"top-nav-actions-slot","online":true,"offline":true,"order":30},{"component":"patientPhotoExtension","name":"patient-photo-widget","slot":"patient-photo-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-actions-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-search-actions-slot","online":true,"offline":true},{"component":"clientRegistryVerificationTag","name":"client-registry-verification-tag","slot":"patient-banner-tags-slot","online":true,"offline":true}],"modals":[{"name":"cancel-patient-edit-modal","component":"cancelPatientEditModal"},{"name":"delete-identifier-confirmation-modal","component":"deleteIdentifierConfirmationModal"},{"name":"client-registry-verification-modal","component":"clientRegistryVerificationModal"}],"version":"9.2.0-next.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":">=2.2.0"},"pages":[{"component":"root","route":"patient-registration","online":true,"offline":true},{"component":"editPatient","routeRegex":"patient\\/([a-zA-Z0-9\\-]+)\\/edit","online":true,"offline":true}],"extensions":[{"component":"addPatientLink","name":"add-patient-action","slot":"top-nav-actions-slot","online":true,"offline":true,"order":30},{"component":"patientPhotoExtension","name":"patient-photo-widget","slot":"patient-photo-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-actions-slot","online":true,"offline":true},{"component":"editPatientDetailsButton","name":"edit-patient-details-button","slot":"patient-search-actions-slot","online":true,"offline":true},{"component":"clientRegistryVerificationTag","name":"client-registry-verification-tag","slot":"patient-banner-tags-slot","online":true,"offline":true}],"modals":[{"name":"cancel-patient-edit-modal","component":"cancelPatientEditModal"},{"name":"delete-identifier-confirmation-modal","component":"deleteIdentifierConfirmationModal"},{"name":"client-registry-verification-modal","component":"clientRegistryVerificationModal"}],"version":"9.2.0-next.21"}
|
package/package.json
CHANGED
|
@@ -1,28 +1,12 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
Button,
|
|
4
|
-
TextInput,
|
|
5
|
-
InlineLoading,
|
|
6
|
-
InlineNotification,
|
|
7
|
-
Dropdown,
|
|
8
|
-
Modal,
|
|
9
|
-
ModalBody,
|
|
10
|
-
Tabs,
|
|
11
|
-
TabList,
|
|
12
|
-
Tab,
|
|
13
|
-
TabPanels,
|
|
14
|
-
TabPanel,
|
|
15
|
-
} from '@carbon/react';
|
|
2
|
+
import { Button, TextInput, InlineLoading, InlineNotification, Dropdown, Modal, ModalBody } from '@carbon/react';
|
|
16
3
|
import { showSnackbar, useSession } from '@openmrs/esm-framework';
|
|
17
4
|
import { useFormikContext } from 'formik';
|
|
18
5
|
import styles from './client-registry-search.scss';
|
|
19
6
|
import { requestCustomOtp, validateCustomOtp, fetchClientRegistryData } from './client-registry.resource';
|
|
20
|
-
import { applyClientRegistryMapping } from './map-client-registry-to-form-utils';
|
|
21
|
-
import ClientDetails from './new-client/client-details/client-details';
|
|
22
|
-
import { type HieClient } from './types';
|
|
23
|
-
import ClientDependantList from './new-client/client-dependants/list/client-depandants.component';
|
|
24
7
|
import NewClientTab from './new-client/new-client-tab.component';
|
|
25
8
|
import ExistingClientTab from './existing-client/existing-client-tab.component';
|
|
9
|
+
import { type IdentifierType, type HieClient, IDENTIFIER_TYPES } from './types';
|
|
26
10
|
|
|
27
11
|
export interface ClientRegistryLookupSectionProps {
|
|
28
12
|
onClientVerified?: () => void;
|
|
@@ -31,16 +15,6 @@ export interface ClientRegistryLookupSectionProps {
|
|
|
31
15
|
isNewClient: boolean;
|
|
32
16
|
}
|
|
33
17
|
|
|
34
|
-
export type IdentifierType = 'National ID' | 'Alien ID' | 'Passport' | 'Mandate Number' | 'Refugee ID';
|
|
35
|
-
|
|
36
|
-
export const IDENTIFIER_TYPES: IdentifierType[] = [
|
|
37
|
-
'National ID',
|
|
38
|
-
'Alien ID',
|
|
39
|
-
'Passport',
|
|
40
|
-
'Mandate Number',
|
|
41
|
-
'Refugee ID',
|
|
42
|
-
];
|
|
43
|
-
|
|
44
18
|
const ClientRegistryLookupSection: React.FC<ClientRegistryLookupSectionProps> = ({
|
|
45
19
|
onClientVerified,
|
|
46
20
|
open,
|
|
@@ -52,7 +26,7 @@ const ClientRegistryLookupSection: React.FC<ClientRegistryLookupSectionProps> =
|
|
|
52
26
|
const [identifierValue, setIdentifierValue] = useState('');
|
|
53
27
|
const [otp, setOtp] = useState('');
|
|
54
28
|
const [otpSent, setOtpSent] = useState(false);
|
|
55
|
-
const [otpVerified, setOtpVerified] = useState(false);
|
|
29
|
+
const [otpVerified, setOtpVerified] = useState<boolean>(false);
|
|
56
30
|
const [loading, setLoading] = useState(false);
|
|
57
31
|
const [sessionId, setSessionId] = useState('');
|
|
58
32
|
const [error, setError] = useState<string>('');
|
|
@@ -181,11 +155,6 @@ const ClientRegistryLookupSection: React.FC<ClientRegistryLookupSectionProps> =
|
|
|
181
155
|
setLoading(false);
|
|
182
156
|
}
|
|
183
157
|
};
|
|
184
|
-
|
|
185
|
-
const useHieData = () => {
|
|
186
|
-
applyClientRegistryMapping(client, setFieldValue);
|
|
187
|
-
onModalClose();
|
|
188
|
-
};
|
|
189
158
|
const registerOnAfyaYangu = () => {
|
|
190
159
|
window.open('https://afyayangu.go.ke/', '_blank');
|
|
191
160
|
};
|
|
@@ -193,7 +162,7 @@ const ClientRegistryLookupSection: React.FC<ClientRegistryLookupSectionProps> =
|
|
|
193
162
|
return (
|
|
194
163
|
<Modal
|
|
195
164
|
open={open}
|
|
196
|
-
size="
|
|
165
|
+
size="md"
|
|
197
166
|
onSecondarySubmit={onModalClose}
|
|
198
167
|
onRequestClose={onModalClose}
|
|
199
168
|
onRequestSubmit={registerOnAfyaYangu}
|
|
@@ -298,24 +267,7 @@ const ClientRegistryLookupSection: React.FC<ClientRegistryLookupSectionProps> =
|
|
|
298
267
|
|
|
299
268
|
{otpVerified && client ? (
|
|
300
269
|
<div className="clientDataSection">
|
|
301
|
-
{isNewClient ?
|
|
302
|
-
<NewClientTab client={client} useHieData={useHieData} />
|
|
303
|
-
) : (
|
|
304
|
-
<ExistingClientTab hieClient={client} />
|
|
305
|
-
)}
|
|
306
|
-
{/* <Tabs>
|
|
307
|
-
<TabList contained>
|
|
308
|
-
<Tab>Patient</Tab>
|
|
309
|
-
<Tab>Dependants</Tab>
|
|
310
|
-
</TabList>
|
|
311
|
-
<TabPanels>
|
|
312
|
-
<TabPanel>{client ? <ClientDetails client={client} /> : <></>}</TabPanel>
|
|
313
|
-
<TabPanel>
|
|
314
|
-
{client.dependants ? <ClientDependantList hieDependants={client.dependants} /> : <></>}
|
|
315
|
-
</TabPanel>
|
|
316
|
-
</TabPanels>
|
|
317
|
-
</Tabs>
|
|
318
|
-
<Button onClick={useHieData}>Use Data</Button> */}
|
|
270
|
+
{isNewClient ? <NewClientTab client={client} /> : <ExistingClientTab hieClient={client} />}
|
|
319
271
|
</div>
|
|
320
272
|
) : (
|
|
321
273
|
<></>
|
|
@@ -1,33 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
1
|
+
import {
|
|
2
|
+
type ClientRegistrySearchRequest,
|
|
3
|
+
type RequestCustomOtpDto,
|
|
4
|
+
type RequestCustomOtpResponse,
|
|
5
|
+
type ValidateCustomOtpResponse,
|
|
6
|
+
type ValidateHieCustomOtpDto,
|
|
7
|
+
} from './types';
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
message: string;
|
|
11
|
-
sessionId: string;
|
|
12
|
-
maskedPhone: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface ValidateHieCustomOtpDto {
|
|
16
|
-
sessionId: string;
|
|
17
|
-
otp: number | string;
|
|
18
|
-
locationUuid: string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface ValidateCustomOtpResponse {
|
|
22
|
-
message: string;
|
|
23
|
-
isValid?: boolean;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export type ClientRegistrySearchRequest = {
|
|
27
|
-
identificationNumber: string | number;
|
|
28
|
-
identificationType: string;
|
|
29
|
-
locationUuid: string;
|
|
30
|
-
};
|
|
9
|
+
const HIE_BASE_URL = 'https://staging.ampath.or.ke/hie';
|
|
31
10
|
|
|
32
11
|
export type ClientRegistrySearchResponse = any[];
|
|
33
12
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const SEPARATED_UUID = 'a899aba0-1350-11df-a1f1-0026b9348838';
|
|
2
|
+
const NEVER_MARRIED_UUID = 'a899ac7c-1350-11df-a1f1-0026b9348838';
|
|
3
|
+
const DIVORCED_UUID = 'a899ad58-1350-11df-a1f1-0026b9348838';
|
|
4
|
+
const WIDOWED_UUID = 'a899ae34-1350-11df-a1f1-0026b9348838';
|
|
5
|
+
const MARRIED_UUID = 'a8aa76b0-1350-11df-a1f1-0026b9348838';
|
|
6
|
+
const LIVING_WITH_PARTNER_UUID = 'a899af10-1350-11df-a1f1-0026b9348838';
|
|
7
|
+
const FRIEND_UUID = 'a8aaf07c-1350-11df-a1f1-0026b9348838';
|
|
8
|
+
const NOT_APPLICABLE_UUID = 'a89ad3a4-1350-11df-a1f1-0026b9348838';
|
|
9
|
+
const POLYGAMOUS_UUID = 'a8b03712-1350-11df-a1f1-0026b9348838';
|
|
10
|
+
const PARTNER_UUID = 'a89ebd3e-1350-11df-a1f1-0026b9348838';
|
|
11
|
+
const CASUAL_SEX_PARTNER_UUID = '7831f002-331d-4f07-bf91-6bb65cd31050';
|
|
12
|
+
const OTHER_UUID = 'a8aaf3e2-1350-11df-a1f1-0026b9348838';
|
|
13
|
+
const SINGLE_UUID = 'a899ac7c-1350-11df-a1f1-0026b9348838';
|
|
14
|
+
|
|
15
|
+
export const CivilStatusUids = {
|
|
16
|
+
SEPARATED_UUID,
|
|
17
|
+
NEVER_MARRIED_UUID,
|
|
18
|
+
DIVORCED_UUID,
|
|
19
|
+
WIDOWED_UUID,
|
|
20
|
+
MARRIED_UUID,
|
|
21
|
+
LIVING_WITH_PARTNER_UUID,
|
|
22
|
+
FRIEND_UUID,
|
|
23
|
+
NOT_APPLICABLE_UUID,
|
|
24
|
+
POLYGAMOUS_UUID,
|
|
25
|
+
PARTNER_UUID,
|
|
26
|
+
CASUAL_SEX_PARTNER_UUID,
|
|
27
|
+
SINGLE_UUID,
|
|
28
|
+
OTHER_UUID,
|
|
29
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const CONTACT_PHONE_NUMBER_UUID = '72a759a8-1359-11df-a1f1-0026b9348838';
|
|
2
|
+
const CITIZENSHIP_UUID = '72a759a8-1359-11df-a1f1-0026b9348838';
|
|
3
|
+
const CONTACT_EMAIL_ADDRESS_UUID = '2f65dbcb-3e58-45a3-8be7-fd1dc9aa0faa';
|
|
4
|
+
const ALTERNATIVE_CONTACT_PHONE_NUMBER_UUID = 'c725f524-c14a-4468-ac19-4a0e6661c930';
|
|
5
|
+
const KRA_PIN_UUID = 'ae683747-b3fc-4e5c-bad3-c3be743b248f';
|
|
6
|
+
const CIVIL_STATUS_UUID = '8d871f2a-c2cc-11de-8d13-0010c6dffd0f';
|
|
7
|
+
const CLIENT_REGISTRY_ID_UUID = 'e068e02b-faac-4baf-bd58-fe6e0c29a81f';
|
|
8
|
+
const PLACE_OF_BIRTH_UUID = '8d8718c2-c2cc-11de-8d13-0010c6dffd0f';
|
|
9
|
+
const EMAIL_UUID = '2f65dbcb-3e58-45a3-8be7-fd1dc9aa0faa';
|
|
10
|
+
|
|
11
|
+
export const PersonAttributeTypeUuids = {
|
|
12
|
+
CONTACT_PHONE_NUMBER_UUID,
|
|
13
|
+
CITIZENSHIP_UUID,
|
|
14
|
+
CONTACT_EMAIL_ADDRESS_UUID,
|
|
15
|
+
ALTERNATIVE_CONTACT_PHONE_NUMBER_UUID,
|
|
16
|
+
KRA_PIN_UUID,
|
|
17
|
+
CIVIL_STATUS_UUID,
|
|
18
|
+
CLIENT_REGISTRY_ID_UUID,
|
|
19
|
+
PLACE_OF_BIRTH_UUID,
|
|
20
|
+
EMAIL_UUID,
|
|
21
|
+
};
|