@kenyaemr/esm-patient-registration-app 7.0.3-pre.89 → 7.0.3-pre.94

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.
Files changed (89) hide show
  1. package/.turbo/turbo-build.log +15 -14
  2. package/dist/130.js +1 -1
  3. package/dist/130.js.map +1 -1
  4. package/dist/271.js +1 -1
  5. package/dist/319.js +1 -1
  6. package/dist/460.js +1 -1
  7. package/dist/564.js +1 -0
  8. package/dist/564.js.map +1 -0
  9. package/dist/623.js +1 -0
  10. package/dist/623.js.map +1 -0
  11. package/dist/644.js +1 -1
  12. package/dist/757.js +1 -1
  13. package/dist/788.js +1 -1
  14. package/dist/807.js +1 -1
  15. package/dist/831.js +2 -0
  16. package/dist/831.js.map +1 -0
  17. package/dist/833.js +1 -1
  18. package/dist/kenyaemr-esm-patient-registration-app.js +1 -1
  19. package/dist/kenyaemr-esm-patient-registration-app.js.buildmanifest.json +99 -99
  20. package/dist/main.js +1 -1
  21. package/dist/main.js.map +1 -1
  22. package/dist/routes.json +1 -1
  23. package/package.json +1 -1
  24. package/src/add-patient-link.test.tsx +5 -9
  25. package/src/config-schema.ts +2 -0
  26. package/src/nav-link.test.tsx +3 -3
  27. package/src/patient-registration/field/address/address-field.component.tsx +2 -2
  28. package/src/patient-registration/field/address/address-hierarchy-levels.component.tsx +16 -18
  29. package/src/patient-registration/field/address/address-search.scss +5 -5
  30. package/src/patient-registration/field/address/tests/address-hierarchy.test.tsx +165 -95
  31. package/src/patient-registration/field/address/tests/address-search-component.test.tsx +18 -17
  32. package/src/patient-registration/field/dob/dob.component.tsx +3 -6
  33. package/src/patient-registration/field/dob/dob.test.tsx +69 -53
  34. package/src/patient-registration/field/field.scss +30 -25
  35. package/src/patient-registration/field/field.test.tsx +50 -52
  36. package/src/patient-registration/field/gender/gender-field.component.tsx +2 -2
  37. package/src/patient-registration/field/gender/gender-field.test.tsx +45 -27
  38. package/src/patient-registration/field/id/id-field.component.tsx +11 -12
  39. package/src/patient-registration/field/id/id-field.test.tsx +64 -49
  40. package/src/patient-registration/field/id/identifier-selection.scss +12 -8
  41. package/src/patient-registration/field/name/name-field.component.tsx +1 -1
  42. package/src/patient-registration/field/obs/obs-field.component.tsx +7 -12
  43. package/src/patient-registration/field/obs/obs-field.test.tsx +98 -62
  44. package/src/patient-registration/field/person-attributes/coded-person-attribute-field.test.tsx +9 -6
  45. package/src/patient-registration/field/person-attributes/person-attribute-field.test.tsx +49 -51
  46. package/src/patient-registration/field/person-attributes/text-person-attribute-field.test.tsx +2 -0
  47. package/src/patient-registration/input/basic-input/select/select-input.test.tsx +1 -1
  48. package/src/patient-registration/input/custom-input/autosuggest/autosuggest.scss +5 -5
  49. package/src/patient-registration/input/custom-input/autosuggest/autosuggest.test.tsx +75 -33
  50. package/src/patient-registration/input/custom-input/identifier/identifier-input.component.tsx +3 -1
  51. package/src/patient-registration/input/custom-input/identifier/identifier-input.test.tsx +9 -12
  52. package/src/patient-registration/input/dummy-data/dummy-data-input.test.tsx +2 -11
  53. package/src/patient-registration/input/input.scss +12 -12
  54. package/src/patient-registration/patient-registration-context.ts +6 -6
  55. package/src/patient-registration/patient-registration-utils.ts +4 -5
  56. package/src/patient-registration/patient-registration.component.tsx +4 -14
  57. package/src/patient-registration/patient-registration.resource.test.tsx +0 -4
  58. package/src/patient-registration/patient-registration.scss +11 -25
  59. package/src/patient-registration/patient-registration.test.tsx +75 -85
  60. package/src/patient-registration/patient-registration.types.ts +18 -18
  61. package/src/patient-registration/section/death-info/death-info-section.test.tsx +1 -10
  62. package/src/patient-registration/section/demographics/demographics-section.test.tsx +32 -29
  63. package/src/patient-registration/section/patient-relationships/relationships-section.test.tsx +16 -6
  64. package/src/patient-registration/section/patient-relationships/relationships.scss +4 -4
  65. package/src/patient-registration/section/section-wrapper.component.tsx +1 -1
  66. package/src/patient-registration/section/section.scss +16 -1
  67. package/src/patient-registration/ui-components/overlay/overlay.scss +8 -8
  68. package/src/patient-registration/validation/patient-registration-validation.test.tsx +35 -10
  69. package/src/patient-verification/patient-verification-utils.ts +0 -1
  70. package/src/widgets/cancel-patient-edit.test.tsx +0 -4
  71. package/src/widgets/delete-identifier-confirmation.scss +8 -8
  72. package/src/widgets/delete-identifier-confirmation.test.tsx +0 -4
  73. package/src/widgets/edit-patient-details-button.test.tsx +2 -8
  74. package/translations/am.json +4 -0
  75. package/translations/ar.json +4 -0
  76. package/translations/es.json +4 -0
  77. package/translations/fr.json +4 -0
  78. package/translations/he.json +4 -0
  79. package/translations/km.json +4 -0
  80. package/translations/zh.json +4 -0
  81. package/translations/zh_CN.json +4 -0
  82. package/dist/220.js +0 -2
  83. package/dist/220.js.map +0 -1
  84. package/dist/453.js +0 -1
  85. package/dist/453.js.map +0 -1
  86. package/dist/975.js +0 -1
  87. package/dist/975.js.map +0 -1
  88. package/src/root.test.tsx +0 -32
  89. /package/dist/{220.js.LICENSE.txt → 831.js.LICENSE.txt} +0 -0
package/dist/807.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[807],{2657:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"បន្ថែមទំនាក់ទំនង","addressHeader":"អាសយដ្ឋាន","age":"Age","allFieldsRequiredText":"តម្រូវឱ្យបំពេញគ្រប់កន្លែងចំហរទាំងអស់ លុះត្រាតែមានសម្គាល់ថាជាជម្រើស","autoGeneratedPlaceholderText":"ទាញចេញទិន្នន័យដោយស្វ័យប្រវត្តិ","birthdayNotInTheFuture":"ថ្ងៃខែឆ្នាំកំណើតមិនអាចមាននាពេលអនាគតទេ","birthdayRequired":"តម្រូវឱ្យបំពេញថ្ងៃខែឆ្នាំកំណើត","birthFieldLabelText":"ថ្ងៃខែឆ្នាំកំណើត","cancel":"បោះបង់ចោល","causeOfDeathInputLabel":"មូលហេតុនៃការស្លាប់","clientRegistryEmpty":"Create & Post Patient","clientVerificationWithClientRegistry":"Client verification with client registry","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":"ឯកសារកំណត់អត្តសញ្ញាណផ្សេងទៀត","contactSection":"ព័ត៌មានមរណភាព","createNewPatient":"Create new patient","continue":"Continue to registration","createNew":"បង្កើតថ្មី","dateOfBirth":"Date of birth","dateOfBirthLabelText":"ថ្ងៃខែឆ្នាំកំណើត","deathDateInputLabel":"កាលបរិច្ឆេទនៃការស្លាប់","deathdayNotInTheFuture":"ថ្ងៃស្លាប់មិនអាចមាននាពេលអនាគតទេ។","deathSection":"ព័ត៌មានមរណភាព","deleteIdentifierTooltip":"លុប","deleteRelationshipTooltipText":"លុប","demographicsSection":"ព័ត៌មានផ្ទាល់ខ្លួនអ្នកជំងឺ","discard":"បោះបង់","discardModalBody":"ការផ្លាស់ប្តូរដែលអ្នកបានធ្វើចំពោះព័ត៌មានលម្អិតរបស់អ្នកជំងឺនេះមិនត្រូវបានរក្សាទុកទេ។ បោះបង់ការផ្លាស់ប្តូរ?","discardModalHeader":"បញ្ជាក់ការផ្លាស់ប្តូរការបោះបង់","dobToggleLabelText":"ស្គាល់ថ្ងៃខែឆ្នាំកំណើត?","editIdentifierTooltip":"កែសម្រួល","editPatientDetails":"កែសម្រួលព័ត៌មានលម្អិតអ្នកជំងឺ","editPatientDetailsBreadcrumb":"កែសម្រួលព័ត៌មានលម្អិតអ្នកជំងឺ","error":"មានបញ្ហាបច្ចេកទេស","errorFetchingOrderedFields":"មានបញ្ហាបច្ចេកទេសក្នុងការទាញទិន្នន័យតាមឋានានុក្រមអាសយដ្ឋាន","estimatedAgeInMonthsLabelText":"អាយុប៉ាន់ស្មានគិតជាខែ","estimatedAgeInYearsLabelText":"អាយុប៉ាន់ស្មានគិតជាឆ្នាំ","familyNameLabelText":"នាមត្រកូល","familyNameRequired":"តម្រូវឱ្យបំពេញនាមត្រកូល","female":"ស្រី","fullNameLabelText":"ឈ្មោះពេញ","gender":"Gender","genderLabelText":"ភេទ","genderRequired":"តម្រូវឱ្យបំពេញភេទ","genderUnspecified":"ភេទមិនត្រូវបានបញ្ជាក់ទេ","givenNameLabelText":"នាមខ្លួន","givenNameRequired":"តម្រូវឱ្យបំពេញឈ្មោះ","identifierValueRequired":"តម្រូវឱ្យមានកំណត់អត្តសញ្ញាណ","idFieldLabelText":"អ្នកកំណត់អត្តសញ្ញាណ","IDInstructions":"ជ្រើសរើសអត្តសញ្ញាណដែលអ្នកចង់បន្ថែមសម្រាប់អ្នកជំងឺនេះ៖","incompleteForm":"ទម្រង់មិនពេញលេញ","invalidEmail":"ត្រូវតែផ្តល់ឱ្យអ៊ីមែលដែលមានសុពលភាព","invalidInput":"ការបញ្ចូលមិនត្រឹមត្រូវ","isDeadInputLabel":"គឺស្លាប់","jumpTo":"រំលងទៅ","male":"ប្រុស","middleNameLabelText":"លេខជាឈ្មោះដែលសង្ស័យ","nascopNumber":"Nascop facility no","nationalId":"National ID","negativeMonths":"ខែអវិជ្ជមាន","negativeYears":"ឆ្នាំអវិជ្ជមាន","no":"ទេ","numberInNameDubious":"លេខគឺជាឈ្មោះគួរឱ្យសង្ស័យ","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"ជាជម្រើស","originFacilityCode":"Origin facility code","originFacilityName":"Origin facility name","other":"ផ្សេងៗ","patient":"អ្នកជំងឺ","patientDetailsFound":"Patient information found in the registry, do you want to use the information to continue with registration?","patientName":"Patient name","patientNameKnown":"ស្គាល់ឈ្មោះអ្នកជំងឺឬទេ?","patientNotFound":"The patient records could not be found in Client registry, do you want to continue to create and post patient to registry","patientRegistrationBreadcrumb":"ការចុះឈ្មោះអ្នកជំងឺ","postToRegistry":"Post to registry","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":"ឈ្មោះពេញ","relativeNamePlaceholder":"នាមត្រកូលនាមខ្លួន","resetIdentifierTooltip":"រៀបចំឡើងវិញ","restoreRelationshipActionButton":"វិលត្រឡប់មកដើមវិញ","searchAddress":"ស្វែងរកអាសយដ្ឋាន","searchIdentifierPlaceholder":"ស្វែងរកអត្តសញ្ញាណ","selectAnOption":"យកជម្រើសមួយ","selectCountry":"Select country","selectIdentifierType":"Select identifier type","sexFieldLabelText":"ភេទ","source":"ប្រភព","stroke":"ជំងឺស្ទះសរសៃឈាមខួរក្បាល","submitting":"Submitting","unableToFetch":"មិនអាចទាញយកប្រភេទគុណលក្ខណៈតាមអ្នកជំងឺបានទេ - {{personattributetype}}","unknown":"មិនដឹង","unknownPatientAttributeType":"ប្រភេទនៃគុណលក្ខណៈរបស់អ្នកជំងឺគឺមិនស្គាល់។ {{personAttributeTypeFormat}}","updatePatient":"ធ្វើបច្ចុប្បន្នភាពអ្នកជំងឺ","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","useValues":"Use values","validate":"Validate","yearsEstimateRequired":"តម្រូវឱ្យមានការប៉ាន់ស្មានឆ្នាំ","yes":"បាទ/ចាស"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_patient_registration_app=globalThis.webpackChunk_kenyaemr_esm_patient_registration_app||[]).push([[807],{7807:e=>{e.exports=JSON.parse('{"addRelationshipButtonText":"បន្ថែមទំនាក់ទំនង","addressHeader":"អាសយដ្ឋាន","age":"Age","allFieldsRequiredText":"តម្រូវឱ្យបំពេញគ្រប់កន្លែងចំហរទាំងអស់ លុះត្រាតែមានសម្គាល់ថាជាជម្រើស","autoGeneratedPlaceholderText":"ទាញចេញទិន្នន័យដោយស្វ័យប្រវត្តិ","birthdayNotInTheFuture":"ថ្ងៃខែឆ្នាំកំណើតមិនអាចមាននាពេលអនាគតទេ","birthdayRequired":"តម្រូវឱ្យបំពេញថ្ងៃខែឆ្នាំកំណើត","birthFieldLabelText":"ថ្ងៃខែឆ្នាំកំណើត","cancel":"បោះបង់ចោល","causeOfDeathInputLabel":"មូលហេតុនៃការស្លាប់","clientRegistryEmpty":"Create & Post Patient","clientVerificationWithClientRegistry":"Client verification with client registry","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":"ឯកសារកំណត់អត្តសញ្ញាណផ្សេងទៀត","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"ព័ត៌មានមរណភាព","createNewPatient":"Create new patient","continue":"Continue to registration","createNew":"បង្កើតថ្មី","dateOfBirth":"Date of birth","dateOfBirthLabelText":"ថ្ងៃខែឆ្នាំកំណើត","deathDateInputLabel":"កាលបរិច្ឆេទនៃការស្លាប់","deathdayNotInTheFuture":"ថ្ងៃស្លាប់មិនអាចមាននាពេលអនាគតទេ។","deathSection":"ព័ត៌មានមរណភាព","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"លុប","deleteRelationshipTooltipText":"លុប","demographicsSection":"ព័ត៌មានផ្ទាល់ខ្លួនអ្នកជំងឺ","discard":"បោះបង់","discardModalBody":"ការផ្លាស់ប្តូរដែលអ្នកបានធ្វើចំពោះព័ត៌មានលម្អិតរបស់អ្នកជំងឺនេះមិនត្រូវបានរក្សាទុកទេ។ បោះបង់ការផ្លាស់ប្តូរ?","discardModalHeader":"បញ្ជាក់ការផ្លាស់ប្តូរការបោះបង់","dobToggleLabelText":"ស្គាល់ថ្ងៃខែឆ្នាំកំណើត?","editIdentifierTooltip":"កែសម្រួល","editPatientDetails":"កែសម្រួលព័ត៌មានលម្អិតអ្នកជំងឺ","editPatientDetailsBreadcrumb":"កែសម្រួលព័ត៌មានលម្អិតអ្នកជំងឺ","error":"មានបញ្ហាបច្ចេកទេស","errorFetchingOrderedFields":"មានបញ្ហាបច្ចេកទេសក្នុងការទាញទិន្នន័យតាមឋានានុក្រមអាសយដ្ឋាន","estimatedAgeInMonthsLabelText":"អាយុប៉ាន់ស្មានគិតជាខែ","estimatedAgeInYearsLabelText":"អាយុប៉ាន់ស្មានគិតជាឆ្នាំ","familyNameLabelText":"នាមត្រកូល","familyNameRequired":"តម្រូវឱ្យបំពេញនាមត្រកូល","female":"ស្រី","fullNameLabelText":"ឈ្មោះពេញ","gender":"Gender","genderLabelText":"ភេទ","genderRequired":"តម្រូវឱ្យបំពេញភេទ","genderUnspecified":"ភេទមិនត្រូវបានបញ្ជាក់ទេ","givenNameLabelText":"នាមខ្លួន","givenNameRequired":"តម្រូវឱ្យបំពេញឈ្មោះ","identifierValueRequired":"តម្រូវឱ្យមានកំណត់អត្តសញ្ញាណ","idFieldLabelText":"អ្នកកំណត់អត្តសញ្ញាណ","IDInstructions":"ជ្រើសរើសអត្តសញ្ញាណដែលអ្នកចង់បន្ថែមសម្រាប់អ្នកជំងឺនេះ៖","incompleteForm":"ទម្រង់មិនពេញលេញ","invalidEmail":"ត្រូវតែផ្តល់ឱ្យអ៊ីមែលដែលមានសុពលភាព","invalidInput":"ការបញ្ចូលមិនត្រឹមត្រូវ","isDeadInputLabel":"គឺស្លាប់","jumpTo":"រំលងទៅ","male":"ប្រុស","middleNameLabelText":"លេខជាឈ្មោះដែលសង្ស័យ","nascopNumber":"Nascop facility no","nationalId":"National ID","negativeMonths":"ខែអវិជ្ជមាន","negativeYears":"ឆ្នាំអវិជ្ជមាន","no":"ទេ","numberInNameDubious":"លេខគឺជាឈ្មោះគួរឱ្យសង្ស័យ","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"ជាជម្រើស","originFacilityCode":"Origin facility code","originFacilityName":"Origin facility name","other":"ផ្សេងៗ","patient":"អ្នកជំងឺ","patientDetailsFound":"Patient information found in the registry, do you want to use the information to continue with registration?","patientName":"Patient name","patientNameKnown":"ស្គាល់ឈ្មោះអ្នកជំងឺឬទេ?","patientNotFound":"The patient records could not be found in Client registry, do you want to continue to create and post patient to registry","patientRegistrationBreadcrumb":"ការចុះឈ្មោះអ្នកជំងឺ","postToRegistry":"Post to registry","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":"ឈ្មោះពេញ","relativeNamePlaceholder":"នាមត្រកូលនាមខ្លួន","removeIdentifierButton":"Remove Identifier","resetIdentifierTooltip":"រៀបចំឡើងវិញ","restoreRelationshipActionButton":"វិលត្រឡប់មកដើមវិញ","searchAddress":"ស្វែងរកអាសយដ្ឋាន","searchIdentifierPlaceholder":"ស្វែងរកអត្តសញ្ញាណ","selectAnOption":"យកជម្រើសមួយ","selectCountry":"Select country","selectIdentifierType":"Select identifier type","sexFieldLabelText":"ភេទ","source":"ប្រភព","stroke":"ជំងឺស្ទះសរសៃឈាមខួរក្បាល","submitting":"Submitting","unableToFetch":"មិនអាចទាញយកប្រភេទគុណលក្ខណៈតាមអ្នកជំងឺបានទេ - {{personattributetype}}","unknown":"មិនដឹង","unknownPatientAttributeType":"ប្រភេទនៃគុណលក្ខណៈរបស់អ្នកជំងឺគឺមិនស្គាល់។ {{personAttributeTypeFormat}}","updatePatient":"ធ្វើបច្ចុប្បន្នភាពអ្នកជំងឺ","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","useValues":"Use values","validate":"Validate","yearsEstimateRequired":"តម្រូវឱ្យមានការប៉ាន់ស្មានឆ្នាំ","yes":"បាទ/ចាស"}')}}]);