@kenyaemr/esm-patient-registration-app 8.0.3-pre.138 → 8.0.3-pre.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +17 -17
- package/dist/108.js +1 -1
- package/dist/250.js +1 -1
- package/dist/574.js +1 -1
- package/dist/610.js +1 -0
- package/dist/610.js.map +1 -0
- package/dist/662.js +1 -1
- package/dist/76.js +1 -1
- package/dist/94.js +2 -0
- package/dist/94.js.map +1 -0
- package/dist/kenyaemr-esm-patient-registration-app.js +1 -1
- package/dist/kenyaemr-esm-patient-registration-app.js.buildmanifest.json +62 -62
- package/dist/kenyaemr-esm-patient-registration-app.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/client-registry/hie-client-registry/hie-resource.ts +78 -0
- package/src/client-registry/hie-client-registry/modal/confirm-hie.modal.tsx +75 -71
- package/src/client-registry/hie-client-registry/modal/confirm-hie.scss +12 -0
- package/src/client-registry/hie-client-registry/modal/hie-otp-verification-form.component.tsx +88 -0
- package/src/client-registry/hie-client-registry/modal/hie-patient-detail-preview.component.tsx +73 -0
- package/translations/en.json +7 -0
- package/dist/652.js +0 -1
- package/dist/652.js.map +0 -1
- package/dist/895.js +0 -2
- package/dist/895.js.map +0 -1
- /package/dist/{895.js.LICENSE.txt → 94.js.LICENSE.txt} +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
assets by path *.js 3.
|
|
2
|
-
assets by status 3.
|
|
3
|
-
assets by chunk 1.
|
|
1
|
+
assets by path *.js 3.46 MiB
|
|
2
|
+
assets by status 3.26 MiB [big]
|
|
3
|
+
assets by chunk 1.73 MiB (id hint: vendors)
|
|
4
4
|
asset 130.js 1.37 MiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
|
|
5
|
-
asset
|
|
6
|
-
asset main.js
|
|
7
|
-
asset
|
|
5
|
+
asset 94.js 362 KiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
|
|
6
|
+
asset main.js 966 KiB [emitted] [minimized] [big] (name: main) 2 related assets
|
|
7
|
+
asset 610.js 610 KiB [emitted] [minimized] [big] 1 related asset
|
|
8
8
|
+ 23 assets
|
|
9
9
|
assets by path *.json 15.1 KiB
|
|
10
10
|
asset kenyaemr-esm-patient-registration-app.js.buildmanifest.json 13.8 KiB [emitted]
|
|
11
11
|
asset routes.json 1.25 KiB [emitted] [from: src/routes.json] [copied]
|
|
12
|
-
orphan modules 4.
|
|
12
|
+
orphan modules 4.52 MiB [orphan] 1076 modules
|
|
13
13
|
runtime modules 40.1 KiB 28 modules
|
|
14
|
-
built modules 8.
|
|
15
|
-
modules by path ../../node_modules/ 7.
|
|
16
|
-
modules by path ./ 1.
|
|
17
|
-
javascript modules
|
|
18
|
-
optional modules
|
|
14
|
+
built modules 8.26 MiB (javascript) 294 bytes (share-init) 294 bytes (consume-shared) [built]
|
|
15
|
+
modules by path ../../node_modules/ 7.18 MiB 263 modules
|
|
16
|
+
modules by path ./ 1.07 MiB
|
|
17
|
+
javascript modules 1.02 MiB 21 modules
|
|
18
|
+
optional modules 55.1 KiB [optional] 9 modules
|
|
19
19
|
provide-module modules 294 bytes
|
|
20
20
|
modules by path provide shared module (default) swr/ 84 bytes 2 modules
|
|
21
21
|
+ 5 modules
|
|
@@ -27,14 +27,14 @@ built modules 8.21 MiB (javascript) 294 bytes (share-init) 294 bytes (consume-sh
|
|
|
27
27
|
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
28
28
|
This can impact web performance.
|
|
29
29
|
Assets:
|
|
30
|
-
main.js (
|
|
30
|
+
main.js (966 KiB)
|
|
31
31
|
130.js (1.37 MiB)
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
610.js (610 KiB)
|
|
33
|
+
94.js (362 KiB)
|
|
34
34
|
|
|
35
35
|
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
|
|
36
36
|
Entrypoints:
|
|
37
|
-
main (
|
|
37
|
+
main (966 KiB)
|
|
38
38
|
main.js
|
|
39
39
|
|
|
40
|
-
webpack 5.88.0 compiled with 2 warnings in
|
|
40
|
+
webpack 5.88.0 compiled with 2 warnings in 136319 ms
|
package/dist/108.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[108],{3108:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(268),l=n.n(a),o=n(4924),r=n(
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[108],{3108:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(268),l=n.n(a),o=n(4924),r=n(5648);const c=function(e){var t=e.close,n=e.onConfirm,a=e.title,c=e.message,i=(0,o.useTranslation)().t;return l().createElement(l().Fragment,null,l().createElement("div",{className:"cds--modal-header"},l().createElement("h3",{className:"cds--modal-header__heading"},null!=a?a:i("clientRegistryEmpty","Create & Post Patient"))),l().createElement("div",{className:"cds--modal-content"},l().createElement("p",null,null!=c?c:i("patientNotFound","The patient records could not be found in Client registry, do you want to continue to create and post patient to registry"))),l().createElement("div",{className:"cds--modal-footer"},l().createElement(r.zxk,{kind:"secondary",onClick:t},i("cancel","Cancel")),l().createElement(r.zxk,{onClick:n},i("continue","Continue to registration"))))}}}]);
|
package/dist/250.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[250],{9250:(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var l=n(268),i=n.n(l),r=n(4924),a=n(
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[250],{9250:(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});var l=n(268),i=n.n(l),r=n(4924),a=n(5648);const o=function(e){var t=e.closeModal,n=e.deleteIdentifier,l=e.identifierName,o=e.identifierValue,c=(0,r.useTranslation)().t;return i().createElement(i().Fragment,null,i().createElement(a.xBx,{closeModal:t,title:c("deleteIdentifierModalHeading","Delete identifier?")}),i().createElement(a.fef,null,i().createElement("p",null,l&&o&&i().createElement("span",null,i().createElement("strong",null,l),c("deleteIdentifierModalText"," has a value of ")," ",i().createElement("strong",null,o),"."," "),c("confirmIdentifierDeletionText","Are you sure you want to delete this identifier?"))),i().createElement(a.mzw,null,i().createElement(a.zxk,{kind:"secondary",size:"lg",onClick:function(){return n(!1)}},c("cancel","Cancel")),i().createElement(a.zxk,{kind:"danger",size:"lg",onClick:function(){return n(!0)}},c("removeIdentifierButton","Remove identifier"))))}}}]);
|
package/dist/574.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[574],{3574:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"Add Relationship","addressHeader":"Address","age":"Age","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthCertificate":"Birth Certificate","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","clientRegistryEmpty":"Create & Post Patient","clientRegistryError":"Error occurred while reaching the client registry","clientRegistryErrorSubtitle":"Please proceed with registration contact system admin and try again later","clientVerificationWithClientRegistry":"Client verification with client registry","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","continue":"Continue","createNewPatient":"Create new patient","dateOfBirth":"Date of birth","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","dependants":"Dependants","dependents":"Dependents","discard":"Discard","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterIdentifierSearchValue":"Enter identifier search value","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","errorFetchingPatient":"Error fetching patient","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","gender":"Gender","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","healthID":"HealthID","hieModal":"HIE Patient Record Found","identifierSearch":"Identifier search","identifierType":"Identifier type","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","maritalStatus":"Marital status","middleNameLabelText":"Middle Name","name":"Name","nationalId":"National ID","nationalID":"National ID","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","nupi":"NUPI","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientDetailsFound":"Patient information found in the registry, do you want to use the information to continue with registration?","patientName":"Patient name","patientNameKnown":"Patient\'s Name is Known?","patientNotFound":"The patient records could not be found in Client registry, do you want to continue to create and post patient to registry","patientRegistrationBreadcrumb":"Patient Registration","patientVerificationFromHIE":"Patient verification from HIE","postToRegistry":"Post to registry","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","searchClientRegistry":"Search client registry","searchIdentifierPlaceholder":"Search identifier","searchingRegistry":"Searching registry...","searchLocationPersonAttribute":"Search location","searchRegistry":"Search registry","selectAnOption":"Select an option","selectCountry":"Select country","selectIdentifierType":"Select identifier type","sexFieldLabelText":"Sex","shaNumber":"SHA Number","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}}","unknownRelationship":"Unknown","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","useValues":"Use values","validate":"Validate","viewFullResponse":"View full response","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[574],{3574:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"Add Relationship","addressHeader":"Address","age":"Age","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthCertificate":"Birth Certificate","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","clientRegistryEmpty":"Create & Post Patient","clientRegistryError":"Error occurred while reaching the client registry","clientRegistryErrorSubtitle":"Please proceed with registration contact system admin and try again later","clientVerificationWithClientRegistry":"Client verification with client registry","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","continue":"Continue","createNewPatient":"Create new patient","dateOfBirth":"Date of birth","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","dependants":"Dependants","dependents":"Dependents","discard":"Discard","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterIdentifierSearchValue":"Enter identifier search value","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","errorFetchingPatient":"Error fetching patient","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","gender":"Gender","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","healthID":"HealthID","hieModal":"HIE Patient Record Found","hiePatientVerification":"HIE Patient Verification","identifierSearch":"Identifier search","identifierType":"Identifier type","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","maritalStatus":"Marital status","middleNameLabelText":"Middle Name","name":"Name","nationalId":"National ID","nationalID":"National ID","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","nupi":"NUPI","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","otpCode":"OTP Authorization code","patientDetailsFound":"Patient information found in the registry, do you want to use the information to continue with registration?","patientName":"Patient name","patientNameKnown":"Patient\'s Name is Known?","patientNotFound":"The patient records could not be found in Client registry, do you want to continue to create and post patient to registry","patientPhoneNUmber":"Patient Phone number","patientRegistrationBreadcrumb":"Patient Registration","patientVerificationFromHIE":"Patient verification from HIE","phoneNumberHelper":"Patient will receive OTP on this number","postToRegistry":"Post to registry","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","retry":"Retry","searchAddress":"Search address","searchClientRegistry":"Search client registry","searchIdentifierPlaceholder":"Search identifier","searchingRegistry":"Searching registry...","searchLocationPersonAttribute":"Search location","searchRegistry":"Search registry","selectAnOption":"Select an option","selectCountry":"Select country","selectIdentifierType":"Select identifier type","sexFieldLabelText":"Sex","shaNumber":"SHA Number","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}}","unknownRelationship":"Unknown","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","useValues":"Use values","validate":"Validate","verifyAndUseValues":"Verify & Use values","verifyOTP":"Verify with OTP","viewFullResponse":"View full response","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
|