@kenyaemr/esm-patient-registration-app 4.3.0 → 4.4.1

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 (83) hide show
  1. package/dist/207.js +1 -1
  2. package/dist/207.js.map +1 -1
  3. package/dist/317.js +1 -1
  4. package/dist/317.js.map +1 -1
  5. package/dist/417.js +2 -0
  6. package/dist/417.js.map +1 -0
  7. package/dist/574.js +1 -1
  8. package/dist/591.js +1 -1
  9. package/dist/591.js.map +1 -1
  10. package/dist/62.js +1 -1
  11. package/dist/62.js.map +1 -1
  12. package/dist/635.js +1 -1
  13. package/dist/635.js.map +1 -1
  14. package/dist/68.js +1 -1
  15. package/dist/68.js.map +1 -1
  16. package/dist/698.js +1 -0
  17. package/dist/698.js.map +1 -0
  18. package/dist/735.js +1 -1
  19. package/dist/735.js.map +1 -1
  20. package/dist/757.js +1 -1
  21. package/dist/784.js +1 -1
  22. package/dist/784.js.map +1 -1
  23. package/dist/805.js +1 -1
  24. package/dist/805.js.map +1 -1
  25. package/dist/807.js +1 -1
  26. package/dist/858.js +1 -1
  27. package/dist/858.js.map +1 -1
  28. package/dist/887.js +1 -1
  29. package/dist/887.js.map +1 -1
  30. package/dist/9.js +1 -1
  31. package/dist/9.js.map +1 -1
  32. package/dist/909.js +1 -0
  33. package/dist/{821.js.map → 909.js.map} +1 -1
  34. package/dist/975.js +1 -1
  35. package/dist/975.js.map +1 -1
  36. package/dist/kenyaemr-esm-patient-registration-app.js +1 -0
  37. package/dist/{openmrs-esm-patient-registration-app.js.buildmanifest.json → kenyaemr-esm-patient-registration-app.js.buildmanifest.json} +112 -160
  38. package/dist/kenyaemr-esm-patient-registration-app.js.map +1 -0
  39. package/dist/kenyaemr-esm-patient-registration-app.old +1 -0
  40. package/dist/main.js +1 -1
  41. package/dist/main.js.map +1 -1
  42. package/package.json +3 -3
  43. package/src/constants.ts +1 -1
  44. package/src/index.ts +0 -18
  45. package/src/offline.resources.ts +8 -1
  46. package/src/patient-registration/field/address/address-field.component.tsx +0 -1
  47. package/src/patient-registration/field/person-attributes/coded-person-attribute-field.component.tsx +13 -11
  48. package/src/patient-registration/form-manager.ts +27 -10
  49. package/src/patient-registration/input/basic-input/input/input.test.tsx +47 -10
  50. package/src/patient-registration/input/basic-input/select/select-input.test.tsx +16 -3
  51. package/src/patient-registration/input/custom-input/autosuggest/autosuggest.test.tsx +25 -14
  52. package/src/patient-registration/patient-registration-hooks.ts +21 -75
  53. package/src/patient-registration/patient-registration-types.tsx +2 -8
  54. package/src/patient-registration/patient-registration.component.tsx +3 -26
  55. package/src/patient-registration/section/section-wrapper.component.tsx +1 -1
  56. package/src/root.component.tsx +1 -5
  57. package/translations/en.json +0 -15
  58. package/dist/144.js +0 -2
  59. package/dist/144.js.map +0 -1
  60. package/dist/330.js +0 -1
  61. package/dist/330.js.map +0 -1
  62. package/dist/59.js +0 -1
  63. package/dist/59.js.map +0 -1
  64. package/dist/821.js +0 -1
  65. package/dist/822.js +0 -1
  66. package/dist/822.js.map +0 -1
  67. package/dist/openmrs-esm-patient-registration-app.js +0 -1
  68. package/dist/openmrs-esm-patient-registration-app.js.map +0 -1
  69. package/dist/openmrs-esm-patient-registration-app.old +0 -1
  70. package/src/patient-registration/input/custom-input/estimated-age/estimated-age-input.component.tsx +0 -32
  71. package/src/patient-registration/input/custom-input/estimated-age/estimated-age-input.test.tsx +0 -36
  72. package/src/patient-registration/input/custom-input/unidentified-patient/unidentified-patient-input.component.tsx +0 -24
  73. package/src/patient-registration/input/custom-input/unidentified-patient/unidentified-patient-input.test.tsx +0 -39
  74. package/src/patient-verification/assets/counties.json +0 -236
  75. package/src/patient-verification/assets/verification-assets.ts +0 -11
  76. package/src/patient-verification/patient-verification-hook.tsx +0 -156
  77. package/src/patient-verification/patient-verification-utils.ts +0 -173
  78. package/src/patient-verification/patient-verification.component.tsx +0 -118
  79. package/src/patient-verification/patient-verification.scss +0 -30
  80. package/src/patient-verification/verification-modal/confirm-prompt.component.tsx +0 -69
  81. package/src/patient-verification/verification-modal/empty-prompt.component.tsx +0 -35
  82. package/src/patient-verification/verification-types.ts +0 -50
  83. /package/dist/{144.js.LICENSE.txt → 417.js.LICENSE.txt} +0 -0
@@ -3,7 +3,6 @@
3
3
  "address1": "Address line 1",
4
4
  "address2": "Address line 2",
5
5
  "addressHeader": "Address",
6
- "age": "Age",
7
6
  "allFieldsRequiredText": "All fields are required unless marked optional",
8
7
  "autoGeneratedPlaceholderText": "Auto-generated",
9
8
  "birthdayNotInTheFuture": "Birthday cannot be in the future",
@@ -12,15 +11,11 @@
12
11
  "cancel": "Cancel",
13
12
  "causeOfDeathInputLabel": "Cause of Death",
14
13
  "cityVillage": "City",
15
- "clientRegistryEmpty": "Create & Post Patient",
16
- "clientVerificationWithClientRegistry": "Client verification with client registry",
17
14
  "configure": "Configure",
18
15
  "contactSection": "Contact Details",
19
- "continue": "Continue",
20
16
  "country": "Country",
21
17
  "countyDistrict": "District",
22
18
  "createNew": "Create New",
23
- "dateOfBirth": "Date of birth",
24
19
  "dateOfBirthLabelText": "Date of Birth",
25
20
  "deathDateInputLabel": "Date of Death",
26
21
  "deathdayNotInTheFuture": "Death day cannot be in the future",
@@ -43,7 +38,6 @@
43
38
  "female": "Female",
44
39
  "fieldErrorTitleMessage": "The following fields have errors:",
45
40
  "fullNameLabelText": "Full Name",
46
- "gender": "Gender",
47
41
  "genderLabelText": "Sex",
48
42
  "genderRequired": "Gender is required",
49
43
  "genderUnspecified": "Gender is not specified",
@@ -60,7 +54,6 @@
60
54
  "male": "Male",
61
55
  "middleNameLabelText": "Middle Name",
62
56
  "months": "Months",
63
- "nationalId": "National ID",
64
57
  "negativeMonths": "Negative months",
65
58
  "negativeYears": "Negative years",
66
59
  "no": "No",
@@ -69,12 +62,8 @@
69
62
  "optional": "optional",
70
63
  "other": "Other",
71
64
  "patient": "Patient",
72
- "patientDetailsFound": "Patient information found in the registry, do you want to use the information to continue with registration?",
73
- "patientName": "Patient name",
74
65
  "patientNameKnown": "Patient's Name is Known?",
75
- "patientNotFound": "The patient records could not be found in Client registry, do you want to continue to create and post patient to registry",
76
66
  "postalCode": "Postcode",
77
- "postToRegistry": "Post to registry",
78
67
  "registerPatient": "Register Patient",
79
68
  "registrationSuccessToastDescription": "The patient can now be found by searching for them using their name or ID number",
80
69
  "registrationSuccessToastTitle": "New Patient Created",
@@ -89,8 +78,6 @@
89
78
  "restoreRelationshipActionButton": "Undo",
90
79
  "searchAddress": "Search address",
91
80
  "selectAnOption": "Select an option",
92
- "selectCountry": "Select country",
93
- "selectIdentifierType": "Select identifier type",
94
81
  "sexFieldLabelText": "Sex",
95
82
  "stateProvince": "State",
96
83
  "stroke": "Stroke",
@@ -100,8 +87,6 @@
100
87
  "updatePatient": "Update Patient",
101
88
  "updationSuccessToastDescription": "The patient's information has been successfully updated",
102
89
  "updationSuccessToastTitle": "Patient Details Updated",
103
- "useValues": "Use values",
104
- "validate": "Validate",
105
90
  "years": "Years",
106
91
  "yearsEstimateRequired": "Years estimate required",
107
92
  "yes": "Yes"