Skip to content

Commit

Permalink
Adding reports esm
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelndula committed May 29, 2024
1 parent 0e6eed9 commit f19c4e5
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

set -e # die on error

yarn pretty-quick --staged
# yarn pretty-quick --staged
# yarn turbo run extract-translations
2 changes: 1 addition & 1 deletion packages/esm-patient-list-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sjthc/esm-patient-list-app",
"version": "1.0.7",
"version": "1.0.9",
"license": "MPL-2.0",
"description": "Custom Patient list microfrontend for the OpenMRS SPA",
"browser": "dist/sjthc-esm-patient-list-app",
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-patient-list-app/src/hooks/usePatientList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function usePatientList() {
(id) => id.type?.text === "OpenMRS ID"
)?.value,
opdNumber: item.resource?.identifier?.find(
(id) => id.type.text === "Unique OPD number"
(id) => id.type.text === "Unique OPD Number"
)?.value,
dateRegistered: new Date(
item.resource?.meta?.lastUpdated
Expand Down
25 changes: 25 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5648,6 +5648,24 @@ __metadata:
languageName: unknown
linkType: soft

"@sjthc/esm-reports-app@workspace:packages/esm-patient-list-management-app":
version: 0.0.0-use.local
resolution: "@sjthc/esm-reports-app@workspace:packages/esm-patient-list-management-app"
dependencies:
"@carbon/react": ~1.37.0
dexie: ^3.0.3
fuzzy: ^0.1.3
lodash-es: ^4.17.15
webpack: ^5.74.0
peerDependencies:
"@openmrs/esm-framework": 5.x
react: 18.x
react-i18next: 11.x
react-router-dom: 6.x
swr: 2.x
languageName: unknown
linkType: soft

"@spectrum-icons/ui@npm:^3.6.5":
version: 3.6.5
resolution: "@spectrum-icons/ui@npm:3.6.5"
Expand Down Expand Up @@ -12711,6 +12729,13 @@ __metadata:
languageName: node
linkType: hard

"fuzzy@npm:^0.1.3":
version: 0.1.3
resolution: "fuzzy@npm:0.1.3"
checksum: acc09c6173e12d5dc8ae51857551ddbe834befa9ebc6be6d5581d09117265d704809d80407d220fd0652f347a9975a4d106854cacc8bd031487a0ede86982f84
languageName: node
linkType: hard

"gauge@npm:^4.0.3":
version: 4.0.4
resolution: "gauge@npm:4.0.4"
Expand Down

0 comments on commit f19c4e5

Please sign in to comment.