Skip to content

Commit

Permalink
(feat) Fetching Patients list
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelndula committed Mar 14, 2024
1 parent 08a36c8 commit 17211f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions 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.0",
"version": "1.0.1",
"license": "MPL-2.0",
"description": "Custom Patient list microfrontend for the OpenMRS SPA",
"browser": "dist/sjthc-esm-patient-list-app",
Expand Down Expand Up @@ -38,7 +38,6 @@
},
"dependencies": {
"@carbon/charts-react": "^1.5.2",
"dayjs": "1.x",
"lodash-es": "^4.17.21",
"uuid": "^8.3.2"
},
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 @@ -8,7 +8,7 @@ export function usePatientList() {
return response.json();
};

const { data, error } = useSWR(`/ws/fhir2/R4/Patient?_count=100000`, fetcher);
const { data, error } = useSWR(`/ws/fhir2/R4/Patient`, fetcher);

return {
patient: data,
Expand Down
3 changes: 1 addition & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5361,7 +5361,6 @@ __metadata:
dependencies:
"@carbon/charts-react": ^1.5.2
"@types/uuid": ^9.0.4
dayjs: 1.x
lodash-es: ^4.17.21
uuid: ^8.3.2
webpack: ^5.88.2
Expand Down Expand Up @@ -10062,7 +10061,7 @@ __metadata:
languageName: node
linkType: hard

"dayjs@npm:1.x, dayjs@npm:^1.10.4, dayjs@npm:^1.10.7":
"dayjs@npm:^1.10.4, dayjs@npm:^1.10.7":
version: 1.11.10
resolution: "dayjs@npm:1.11.10"
checksum: a6b5a3813b8884f5cd557e2e6b7fa569f4c5d0c97aca9558e38534af4f2d60daafd3ff8c2000fed3435cfcec9e805bcebd99f90130c6d1c5ef524084ced588c4
Expand Down

0 comments on commit 17211f4

Please sign in to comment.