Skip to content

Commit

Permalink
Adding Reports Module
Browse files Browse the repository at this point in the history
Adding Reports Module
  • Loading branch information
Michaelndula authored May 29, 2024
2 parents d3c8b98 + e5f108c commit 515ddb4
Show file tree
Hide file tree
Showing 34 changed files with 5,832 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
3 changes: 3 additions & 0 deletions packages/esm-reports-app/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const rootConfig = require("../../jest.config.js");

module.exports = rootConfig;
Loading

0 comments on commit 515ddb4

Please sign in to comment.