diff --git a/packages/esm-patient-search-app/src/compact-patient-search/compact-patient-banner.component.tsx b/packages/esm-patient-search-app/src/compact-patient-search/compact-patient-banner.component.tsx index f6d09811f..918d6f9cd 100644 --- a/packages/esm-patient-search-app/src/compact-patient-search/compact-patient-banner.component.tsx +++ b/packages/esm-patient-search-app/src/compact-patient-search/compact-patient-banner.component.tsx @@ -14,6 +14,7 @@ import { useTranslation } from 'react-i18next'; import { PatientSearchContext } from '../patient-search-context'; import type { FHIRIdentifier, FHIRPatientType, Identifier, SearchedPatient } from '../types'; import styles from './compact-patient-banner.scss'; +import { toFhirPatient } from './compact-patient-search.resource'; interface ClickablePatientContainerProps { patient: SearchedPatient; @@ -56,43 +57,12 @@ const CompactPatientBanner = forwardRef = useMemo(() => { - // TODO: If/When the online patient search is migrated to the FHIR API at some point, this could - // be removed. In fact, it could maybe be done at this point already, but doing it when the - // search returns FHIR objects is much simpler because the code which uses the `fhirPatients` - // doesn't have to be touched then. - return patients.map((patient) => { - const preferredAddress = patient.person.addresses?.find((address) => address.preferred); - return { - id: patient.uuid, - name: [ - { - id: String(Math.random()), // not used - given: [patient.person.personName.givenName, patient.person.personName.middleName], - family: patient.person.personName.familyName, - text: patient.person.personName.display, - }, - ], - gender: patient.person.gender, - birthDate: patient.person.birthdate, - deceasedDateTime: patient.person.deathDate, - deceasedBoolean: patient.person.dead, - identifier: patient.identifiers as unknown as Array, - address: preferredAddress - ? [ - { - id: String(Math.random()), // not used - city: preferredAddress.cityVillage, - country: preferredAddress.country, - postalCode: preferredAddress.postalCode, - state: preferredAddress.stateProvince, - use: 'home', - }, - ] - : [], - telecom: patient.attributes?.filter((attribute) => attribute.attributeType.display == 'Telephone Number'), - }; - }); + return patients.map(toFhirPatient); }, [patients]); return ( @@ -109,7 +79,7 @@ const CompactPatientBanner = forwardRef diff --git a/packages/esm-patient-search-app/src/compact-patient-search/compact-patient-search.resource.ts b/packages/esm-patient-search-app/src/compact-patient-search/compact-patient-search.resource.ts new file mode 100644 index 000000000..fc0ce3e49 --- /dev/null +++ b/packages/esm-patient-search-app/src/compact-patient-search/compact-patient-search.resource.ts @@ -0,0 +1,34 @@ +import { type FHIRIdentifier, type FHIRPatientType, type SearchedPatient } from '../types'; + +export function toFhirPatient(patient: SearchedPatient): FHIRPatientType { + const preferredAddress = patient.person.addresses?.find((address) => address.preferred); + return { + id: patient.uuid, + name: [ + { + id: String(Math.random()), // not used + given: [patient.person.personName.givenName, patient.person.personName.middleName], + family: patient.person.personName.familyName, + text: patient.person.personName.display, + }, + ], + gender: patient.person.gender, + birthDate: patient.person.birthdate, + deceasedDateTime: patient.person.deathDate, + deceasedBoolean: patient.person.dead, + identifier: patient.identifiers as unknown as Array, + address: preferredAddress + ? [ + { + id: String(Math.random()), // not used + city: preferredAddress.cityVillage, + country: preferredAddress.country, + postalCode: preferredAddress.postalCode, + state: preferredAddress.stateProvince, + use: 'home', + }, + ] + : [], + telecom: patient.attributes?.filter((attribute) => attribute.attributeType.display == 'Telephone Number'), + }; +} diff --git a/packages/esm-patient-search-app/src/patient-search-page/patient-banner/banner/patient-banner.component.tsx b/packages/esm-patient-search-app/src/patient-search-page/patient-banner/banner/patient-banner.component.tsx index 64a29d535..f2ad59c75 100644 --- a/packages/esm-patient-search-app/src/patient-search-page/patient-banner/banner/patient-banner.component.tsx +++ b/packages/esm-patient-search-app/src/patient-search-page/patient-banner/banner/patient-banner.component.tsx @@ -18,6 +18,7 @@ import { import { type SearchedPatient } from '../../../types'; import styles from './patient-banner.scss'; import { PatientSearchContext } from '../../../patient-search-context'; +import { toFhirPatient } from '../../../compact-patient-search/compact-patient-search.resource'; interface PatientBannerProps { patient: SearchedPatient; @@ -57,9 +58,7 @@ const PatientBanner: React.FC = ({ patient, patientUuid, hid const isDeceased = !!patient.person.deathDate; const fhirPatient = React.useMemo(() => { - return { - deceasedDateTime: patient.person.deathDate, - }; + return toFhirPatient(patient); }, [patient]); return ( @@ -109,6 +108,7 @@ const PatientBanner: React.FC = ({ patient, patientUuid, hid {!hideActionsOverflow ? ( ; + telecom: object; } export interface FHIRIdentifier { diff --git a/yarn.lock b/yarn.lock index b45786535..7b1142455 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2731,9 +2731,9 @@ __metadata: languageName: unknown linkType: soft -"@openmrs/esm-api@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-api@npm:5.8.2-pre.2357" +"@openmrs/esm-api@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-api@npm:5.8.2-pre.2396" dependencies: "@types/fhir": "npm:0.0.31" lodash-es: "npm:^4.17.21" @@ -2742,17 +2742,17 @@ __metadata: "@openmrs/esm-error-handling": 5.x "@openmrs/esm-navigation": 5.x "@openmrs/esm-offline": 5.x - checksum: 10/5beb2657f8de7d716d6b7358e748ccd12c5f6db7201de6f3a9ed765f0c71ce61c07ecd245e65c7070f98535b95fe4d0be08a017851280d99d1bac1330aaabab4 + checksum: 10/9cee4a8dd2632e6e9f33b299baa5c2cd8e8725c6979c0fc3314d80da68cb3a0bd59a25e0422900ab52da78facc4bb9f22d81dd20aee4561c8fdc95e921cfc3f2 languageName: node linkType: hard -"@openmrs/esm-app-shell@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-app-shell@npm:5.8.2-pre.2357" +"@openmrs/esm-app-shell@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-app-shell@npm:5.8.2-pre.2396" dependencies: "@carbon/react": "npm:~1.37.0" - "@openmrs/esm-framework": "npm:5.8.2-pre.2357" - "@openmrs/esm-styleguide": "npm:5.8.2-pre.2357" + "@openmrs/esm-framework": "npm:5.8.2-pre.2396" + "@openmrs/esm-styleguide": "npm:5.8.2-pre.2396" dayjs: "npm:^1.10.4" dexie: "npm:^3.0.3" html-webpack-plugin: "npm:^5.5.0" @@ -2777,7 +2777,7 @@ __metadata: workbox-strategies: "npm:^6.1.5" workbox-webpack-plugin: "npm:^6.1.5" workbox-window: "npm:^6.1.5" - checksum: 10/6e7639f0b012083ed5da1ff8a03ced2194f64e3fb84390c6782ed5a1a234f44144b99752109ede3ab64de2b87c0f7a737d3bff49eacd4fc73af4c8f50903046c + checksum: 10/f68dc2eec3fcbdb4a661639a13cbffa2f776ff2acf159bc7e5c59e136428b6a7a32fefdfabef32ceaf97120a49f6b14bdcf0dab20cc5cc728ea11e7546149bc7 languageName: node linkType: hard @@ -2817,9 +2817,9 @@ __metadata: languageName: unknown linkType: soft -"@openmrs/esm-config@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-config@npm:5.8.2-pre.2357" +"@openmrs/esm-config@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-config@npm:5.8.2-pre.2396" dependencies: ramda: "npm:^0.26.1" peerDependencies: @@ -2827,44 +2827,44 @@ __metadata: "@openmrs/esm-state": 5.x "@openmrs/esm-utils": 5.x single-spa: 5.x - checksum: 10/1e58072dc594017faa6d9aecaec240ba5764d229f131cb5c9fb2f9578cc63e36978b123f39283cfaed5cc85278bd00d280e7ee076aed23dd1c575ca80fd86513 + checksum: 10/241bf1f53f9dcd439b0dd199340fd33226b1cc6c39ef82a1d11c1237240fd507ac49b461a768207676ad5367881e5838a4a499e5c7e2a22da96c7bd041b19c13 languageName: node linkType: hard -"@openmrs/esm-context@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-context@npm:5.8.2-pre.2357" +"@openmrs/esm-context@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-context@npm:5.8.2-pre.2396" dependencies: immer: "npm:^10.0.4" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x - checksum: 10/01367aa44fe03381a4f1c95511c97e2d3727b753f57a4f93f98e42e93eca83494d3a2dff805fa6c843cfd9a73ad1ccfead1dc8ce66441a5e3a70e23c83279904 + checksum: 10/52f5a0ff239ce783f91b84d998b43cca769e9a83632884ddedf6510493721891be1dce6e539f9a509d2cbef52567507921af3d2c7b947dadf611091f678b91e7 languageName: node linkType: hard -"@openmrs/esm-dynamic-loading@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-dynamic-loading@npm:5.8.2-pre.2357" +"@openmrs/esm-dynamic-loading@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-dynamic-loading@npm:5.8.2-pre.2396" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-translations": 5.x - checksum: 10/2dcf45519b3a9f35b924b59b018c65d06e6580385fd9716ae6fe1d9e795777db732e50dca60cbade291f26d585c8041586a98032bd35f0562c2989a978e2304f + checksum: 10/6f10256fb9cf269a0b3e01eeebee285b106d9f1f307ba34b8e9e62fa2a8dd008ada434817e844ee4086509cab399c5ff9c1cfe72a1f7e2f7a67f86565090cab3 languageName: node linkType: hard -"@openmrs/esm-error-handling@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-error-handling@npm:5.8.2-pre.2357" +"@openmrs/esm-error-handling@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-error-handling@npm:5.8.2-pre.2396" peerDependencies: "@openmrs/esm-globals": 5.x - checksum: 10/14b71821ace3504fdfc92f990617e7f1ce0752a80a242d77cb9dc512c2e3a4b8ab1be49ed17f7523587502a7ced11644e0d649bd97981fe94f6e76a5314cb6b4 + checksum: 10/518aac5f0ca6d5551850fc717dfd4ed46e54bf0587a38935bfa2710147a376530a71ca0156d6ccdd061d67f749808a4c27cd08fcf5d3d7dc8ff2de8e54a997be languageName: node linkType: hard -"@openmrs/esm-expression-evaluator@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-expression-evaluator@npm:5.8.2-pre.2357" +"@openmrs/esm-expression-evaluator@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-expression-evaluator@npm:5.8.2-pre.2396" dependencies: "@jsep-plugin/arrow": "npm:^1.0.5" "@jsep-plugin/new": "npm:^1.0.3" @@ -2873,13 +2873,13 @@ __metadata: "@jsep-plugin/template": "npm:^1.0.4" "@jsep-plugin/ternary": "npm:^1.1.3" jsep: "npm:^1.3.9" - checksum: 10/28e5f2e180e36e7003379b3ac43775f42403a65344b1a62c8fcde4122e1ad7fd43aab9dc95907ac70839c33e11aa3d27222834377e4ff7bbef73cb2d998e1aa4 + checksum: 10/0d98706166a01f136a3ace75a7b50f455dbe948a5fe178a0f33efda2073f734fa6ba7c7ee728205595859e3ee45f1307bb6b167b9592352b2cf0f01d8275320d languageName: node linkType: hard -"@openmrs/esm-extensions@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-extensions@npm:5.8.2-pre.2357" +"@openmrs/esm-extensions@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-extensions@npm:5.8.2-pre.2396" dependencies: lodash-es: "npm:^4.17.21" peerDependencies: @@ -2890,44 +2890,44 @@ __metadata: "@openmrs/esm-state": 5.x "@openmrs/esm-utils": 5.x single-spa: 5.x - checksum: 10/18d3b95e18864e5e2bdb58a3c270637a6328ffdd44cd9558edf38239a2626ed3cc5adc5e8c12aed6568879ed1925cb6087bbb7a5a8bbe66126fbb105b35a038c + checksum: 10/706bc167b090556b11bcbc62dca68746e0f6425ba9ad033723dd72eafbf6fa32e36ddbab96de124ff40290b98a566e39c9168b6127929c1fd83a2341c9353c3d languageName: node linkType: hard -"@openmrs/esm-feature-flags@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-feature-flags@npm:5.8.2-pre.2357" +"@openmrs/esm-feature-flags@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-feature-flags@npm:5.8.2-pre.2396" dependencies: ramda: "npm:^0.26.1" peerDependencies: "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x single-spa: 5.x - checksum: 10/8634e3e77babdaf7fe60985e4fac032a44a2f4ee8275269feb35370c3aeb9e2add504691c545e6b78db6a5bd1db5ccdfe7c356ab10e981f402f80d2aeee44432 - languageName: node - linkType: hard - -"@openmrs/esm-framework@npm:5.8.2-pre.2357, @openmrs/esm-framework@npm:next": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-framework@npm:5.8.2-pre.2357" - dependencies: - "@openmrs/esm-api": "npm:5.8.2-pre.2357" - "@openmrs/esm-config": "npm:5.8.2-pre.2357" - "@openmrs/esm-context": "npm:5.8.2-pre.2357" - "@openmrs/esm-dynamic-loading": "npm:5.8.2-pre.2357" - "@openmrs/esm-error-handling": "npm:5.8.2-pre.2357" - "@openmrs/esm-expression-evaluator": "npm:5.8.2-pre.2357" - "@openmrs/esm-extensions": "npm:5.8.2-pre.2357" - "@openmrs/esm-feature-flags": "npm:5.8.2-pre.2357" - "@openmrs/esm-globals": "npm:5.8.2-pre.2357" - "@openmrs/esm-navigation": "npm:5.8.2-pre.2357" - "@openmrs/esm-offline": "npm:5.8.2-pre.2357" - "@openmrs/esm-react-utils": "npm:5.8.2-pre.2357" - "@openmrs/esm-routes": "npm:5.8.2-pre.2357" - "@openmrs/esm-state": "npm:5.8.2-pre.2357" - "@openmrs/esm-styleguide": "npm:5.8.2-pre.2357" - "@openmrs/esm-translations": "npm:5.8.2-pre.2357" - "@openmrs/esm-utils": "npm:5.8.2-pre.2357" + checksum: 10/4885da91aa04da0971a72ea498e562ac23d5d5db68267106c478b065c0ff4dda7a8155afa98b984a59e3002586f25d1b2c2bf22b0cef1aaab9d7866a4ee5e6f7 + languageName: node + linkType: hard + +"@openmrs/esm-framework@npm:5.8.2-pre.2396, @openmrs/esm-framework@npm:next": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-framework@npm:5.8.2-pre.2396" + dependencies: + "@openmrs/esm-api": "npm:5.8.2-pre.2396" + "@openmrs/esm-config": "npm:5.8.2-pre.2396" + "@openmrs/esm-context": "npm:5.8.2-pre.2396" + "@openmrs/esm-dynamic-loading": "npm:5.8.2-pre.2396" + "@openmrs/esm-error-handling": "npm:5.8.2-pre.2396" + "@openmrs/esm-expression-evaluator": "npm:5.8.2-pre.2396" + "@openmrs/esm-extensions": "npm:5.8.2-pre.2396" + "@openmrs/esm-feature-flags": "npm:5.8.2-pre.2396" + "@openmrs/esm-globals": "npm:5.8.2-pre.2396" + "@openmrs/esm-navigation": "npm:5.8.2-pre.2396" + "@openmrs/esm-offline": "npm:5.8.2-pre.2396" + "@openmrs/esm-react-utils": "npm:5.8.2-pre.2396" + "@openmrs/esm-routes": "npm:5.8.2-pre.2396" + "@openmrs/esm-state": "npm:5.8.2-pre.2396" + "@openmrs/esm-styleguide": "npm:5.8.2-pre.2396" + "@openmrs/esm-translations": "npm:5.8.2-pre.2396" + "@openmrs/esm-utils": "npm:5.8.2-pre.2396" dayjs: "npm:^1.10.7" peerDependencies: dayjs: 1.x @@ -2938,35 +2938,35 @@ __metadata: rxjs: 6.x single-spa: 5.x swr: 2.x - checksum: 10/358e9d37819afc6f30a23068cca3bc5af4e659f958751f100b1f0777516925b3de6170acba17437a9c74252a113b8b9981b108bf1b522c504cd056ca0dd3dafd + checksum: 10/61bb6c199bd48435f285097234d935ec7ba61fdf6a77c4c4d68e8dcc188461e878c7a407cbf8ffde64790bd27570d2efd4544b5c48ac5b43cf12d314072bade4 languageName: node linkType: hard -"@openmrs/esm-globals@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-globals@npm:5.8.2-pre.2357" +"@openmrs/esm-globals@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-globals@npm:5.8.2-pre.2396" dependencies: "@types/fhir": "npm:0.0.31" peerDependencies: single-spa: 5.x - checksum: 10/ee335b3fdb8f24a58c2d3c77e3f68ffc5e7a1958da40c89f9740c3ea4ad9ecbc430fbbd32e8e884ae84e2c8551b44742fcf4bc5493d2ff5ef6104787ffa6eea2 + checksum: 10/2410583410d1fb817fcf6e6047f428f5c4dbcd89005b8a98f4dd2efcc0cea632db13c22787c7491544b935919d125b79d7eda22958f5bfa2cf166ebb7f149397 languageName: node linkType: hard -"@openmrs/esm-navigation@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-navigation@npm:5.8.2-pre.2357" +"@openmrs/esm-navigation@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-navigation@npm:5.8.2-pre.2396" dependencies: path-to-regexp: "npm:6.1.0" peerDependencies: "@openmrs/esm-state": 5.x - checksum: 10/790b6e6f61b68d9f3baa64d13a4ce800fe99724224656cf9a45f1e23cbf9d16fbbaf76e954d2c4c480332cc9f0760c8ed09f8da5af47a02a2930917b3abad523 + checksum: 10/7ecf6ee90d39122bf57d8b9172b11c18738994ec80c94c8155d8d4aadbefa7d4ea9b3a2d35d2e23e93f1eb72666746e3cba7903ab33109b0b0a1fbdf617443cb languageName: node linkType: hard -"@openmrs/esm-offline@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-offline@npm:5.8.2-pre.2357" +"@openmrs/esm-offline@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-offline@npm:5.8.2-pre.2396" dependencies: dexie: "npm:^3.0.3" lodash-es: "npm:^4.17.21" @@ -2977,7 +2977,7 @@ __metadata: "@openmrs/esm-globals": 5.x "@openmrs/esm-state": 5.x rxjs: 6.x - checksum: 10/3855e79d36f6a422df2c9df00737cf0cb488ad53f0f4ecce530c70dfd2de0cbd87097567aa5a50d2ba8ae31f58590de1e9ae6bd5caacf596aea2e060926657f5 + checksum: 10/5bc891d086deec3ed2fa3eaae51a230b955a934d91bd766c54b1244f2100742817863e2091b176dc6c5467955bda57754fd6e8b9564f68b3812a5956734c9742 languageName: node linkType: hard @@ -3118,9 +3118,9 @@ __metadata: languageName: unknown linkType: soft -"@openmrs/esm-react-utils@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-react-utils@npm:5.8.2-pre.2357" +"@openmrs/esm-react-utils@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-react-utils@npm:5.8.2-pre.2396" dependencies: lodash-es: "npm:^4.17.21" single-spa-react: "npm:^6.0.0" @@ -3141,13 +3141,13 @@ __metadata: react-i18next: 11.x rxjs: 6.x swr: 2.x - checksum: 10/3b62ac16b17757fb44bd149f899bd5852728c3033964e64bb4607eddd269b57ffca0a2125f2b1c7806f3e193cab2d6d54f83ba8dbb1fc5781c08b70fd01ab052 + checksum: 10/fa58e107e635351e20e37483c630f59abe4b2a1c235fe82e56474b75c9ea93c5a11a400127eb1d456c6776ff0f7476f47a287055fcb48818f3263b6cd12b2182 languageName: node linkType: hard -"@openmrs/esm-routes@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-routes@npm:5.8.2-pre.2357" +"@openmrs/esm-routes@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-routes@npm:5.8.2-pre.2396" peerDependencies: "@openmrs/esm-config": 5.x "@openmrs/esm-dynamic-loading": 5.x @@ -3156,7 +3156,7 @@ __metadata: "@openmrs/esm-globals": 5.x "@openmrs/esm-utils": 5.x single-spa: 6.x - checksum: 10/7516ddd0966d911c6966be1775e7f198f5baba403cffea105ef62c00f588a034b83558d70beaa56d2a817a00f520a12f4c54c99196877aa63ce8ef0d2a8f58e6 + checksum: 10/9bc5e7d1e03fa8219689f6e4bc9b50d87a728d37c491c8c43453338a01a46c1c94c146dbce16750eb5c92aa0a5bca6991d3e8ada29b1bfe58b330911cdef96eb languageName: node linkType: hard @@ -3176,20 +3176,21 @@ __metadata: languageName: unknown linkType: soft -"@openmrs/esm-state@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-state@npm:5.8.2-pre.2357" +"@openmrs/esm-state@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-state@npm:5.8.2-pre.2396" dependencies: zustand: "npm:^4.5.5" peerDependencies: "@openmrs/esm-globals": 5.x - checksum: 10/48ed490b71e97b638d77513800e2963f1937b7ebb693631b36927d4a10bd00d2e642fc8c90dc179ef97ce2310b8c8b6eed61f5b3e6cf7df43a35717b22459a93 + "@openmrs/esm-utils": 5.x + checksum: 10/40642e965d19477a58984912b0b09d6ac5307bc0d8177ec4c6d6c95905599b30cdecb9ee60bdbd52e332a047df46a32e58f1cc521b3f260f988a9b3da03b1130 languageName: node linkType: hard -"@openmrs/esm-styleguide@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-styleguide@npm:5.8.2-pre.2357" +"@openmrs/esm-styleguide@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-styleguide@npm:5.8.2-pre.2396" dependencies: "@carbon/charts": "npm:^1.12.0" "@carbon/react": "npm:~1.37.0" @@ -3213,24 +3214,24 @@ __metadata: react-dom: 18.x react-i18next: 11.x rxjs: 6.x - checksum: 10/87207473d5d61b42ef886d2e64040a206b059e215a4cee5280a6ee60fafaacbf48bff539d1460211d00e02cf86558c61d0aebba1b3f7331af4489327523b3d11 + checksum: 10/236eb0ec100ca6cb04375188494c7c1e7ee599ae91f57be5bc6a1bebf09f0530f858007e43bf9a8587ed75ef8f40d85f09a174e563ee72c2013e47697f676c27 languageName: node linkType: hard -"@openmrs/esm-translations@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-translations@npm:5.8.2-pre.2357" +"@openmrs/esm-translations@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-translations@npm:5.8.2-pre.2396" dependencies: i18next: "npm:21.10.0" peerDependencies: i18next: 21.x - checksum: 10/3eebbddfe7d538be7ef80f75483e002f83659fe6ad8f6b171a960ecd12d0553b446d218c115903b5f4e157c29add7c32079a79c067ba1628077937c5a52003a8 + checksum: 10/57289dfc322904a7e17c7eb30cd8f67ad60dfb7b45dfb982d5024b43b9def1763cda98fbd7f23aee023158fa829157557a0c8fa8118240b88f52cd9a86344e83 languageName: node linkType: hard -"@openmrs/esm-utils@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/esm-utils@npm:5.8.2-pre.2357" +"@openmrs/esm-utils@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/esm-utils@npm:5.8.2-pre.2396" dependencies: "@formatjs/intl-durationformat": "npm:^0.2.4" "@internationalized/date": "npm:^3.5.5" @@ -3240,7 +3241,7 @@ __metadata: dayjs: 1.x i18next: 21.x rxjs: 6.x - checksum: 10/f3800809b060e57bf9c44a5a35c3ddc225d8ea3784eb9539feda3900dccb47aac9e4279e7c6e4c463025355e2d638bef213211cd6f8cfc727024d1b07864fdcd + checksum: 10/7dbe0b76d7d065c6e3e40e10c3ff81272b441e2314f721796bce6639338059dfc26158795c077690687112bc55e356a6493aba43244e9666ed44a31185d00caf languageName: node linkType: hard @@ -3260,9 +3261,9 @@ __metadata: languageName: unknown linkType: soft -"@openmrs/webpack-config@npm:5.8.2-pre.2357": - version: 5.8.2-pre.2357 - resolution: "@openmrs/webpack-config@npm:5.8.2-pre.2357" +"@openmrs/webpack-config@npm:5.8.2-pre.2396": + version: 5.8.2-pre.2396 + resolution: "@openmrs/webpack-config@npm:5.8.2-pre.2396" dependencies: "@swc/core": "npm:^1.3.58" clean-webpack-plugin: "npm:^4.0.0" @@ -3280,7 +3281,7 @@ __metadata: webpack-stats-plugin: "npm:^1.0.3" peerDependencies: webpack: 5.x - checksum: 10/d2248f3edb2376a4c1c1602e53be56b2524476e979dac510c58c5d81dd1381eba8b0b4ff19f86837e5a9f3c3abfd4cf39704ecf7be18dc7d9f9e8a186a10cebf + checksum: 10/cc8a10263626c3f5cc485531b46dbde997e62b67958032f0bf6a6d1a5bf58a4cf9c2a0a42b7b23016784da42434990d4ecde982e6c7e9e97af75f0cb935f713d languageName: node linkType: hard @@ -13493,11 +13494,11 @@ __metadata: linkType: hard "openmrs@npm:next": - version: 5.8.2-pre.2357 - resolution: "openmrs@npm:5.8.2-pre.2357" + version: 5.8.2-pre.2396 + resolution: "openmrs@npm:5.8.2-pre.2396" dependencies: - "@openmrs/esm-app-shell": "npm:5.8.2-pre.2357" - "@openmrs/webpack-config": "npm:5.8.2-pre.2357" + "@openmrs/esm-app-shell": "npm:5.8.2-pre.2396" + "@openmrs/webpack-config": "npm:5.8.2-pre.2396" "@pnpm/npm-conf": "npm:^2.1.0" "@swc/core": "npm:^1.3.58" autoprefixer: "npm:^10.4.20" @@ -13536,7 +13537,7 @@ __metadata: yargs: "npm:^17.6.2" bin: openmrs: ./dist/cli.js - checksum: 10/6f9965138b98028dabadfb45ed6d4fb1e1e9fe9b69307970d615361ff38707aa18c03305aaa5d95a8ee892e22ace1c1556a55cf66de2ee12724507d8af55cb22 + checksum: 10/24a95b0f496f8eb247340ac40e263d311830fd79ab0f6afb694d91ded6430bb7e35190a43049fd633e27c9f9402dadf537cc90b3a713ebf2296bf8c741360834 languageName: node linkType: hard