Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New visits widget #5

Open
wants to merge 90 commits into
base: new-visits-widget
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
81d8649
(test) Fix flaky Lab order E2E test (#1894)
jayasanka-sack Jul 4, 2024
89ffc4a
(fix) Fixup conditions form test
denniskigen Jul 5, 2024
5bbc916
(fix) Remove deprecated workspace components and fix tests (#1896)
denniskigen Jul 5, 2024
8f94685
(test) Add testing-related plugins to ESLint config (#1898)
denniskigen Jul 5, 2024
9e466e8
(feat) O3-3552: Add feature flag for printing patient identifier stic…
jnsereko Jul 8, 2024
cef1867
(test) O3-3361: E2E test that data isn't lost when opening a workspac…
chimanwadike Jul 8, 2024
eec1797
(test) Some miscellaneous test fixes (#1902)
denniskigen Jul 8, 2024
7c820e3
(fix) Allow cancelling orders and address various small fixes (#1899)
ibacher Jul 8, 2024
4917716
(chore) Update translations from Transifex (#1904)
github-actions[bot] Jul 9, 2024
5ae5d6c
(chore) Capture E2E server logs even on failure (#1888)
jayasanka-sack Jul 9, 2024
f4566ee
(fix) O3-3469: Fix allergy data tile display for severe allergies (#1…
denniskigen Jul 9, 2024
5bc005c
(feat) Minor style tweak to order details table status pills (#1905)
denniskigen Jul 9, 2024
c3a736d
(fix) O3-3547: Handle possibly undefined encounter.obs in LabResultsF…
PiusKariuki Jul 10, 2024
49ac387
(fix) O3-2843: Ability to re-enroll in completed programs (#1720)
jwnasambu Jul 10, 2024
eea68c6
(test) Fix flaky behaviour in ProgramsForm test
denniskigen Jul 10, 2024
ec7db79
(test) Fix flaky behaviour in Programs and Conditions form tests (#1909)
denniskigen Jul 12, 2024
8d99e3c
(test) Fix yet more flakiness in ConditionsForm tests
denniskigen Jul 12, 2024
4b7bba8
(chore) Bump React Form Engine library (#1913)
samuelmale Jul 12, 2024
2c15335
(chore) Update translations from Transifex (#1906)
github-actions[bot] Jul 12, 2024
496f608
(fix) O3-2995: Allow empty quantity to dispense and prescription refi…
mccarthyaaron Jul 15, 2024
575ea22
(fix) O3-3543: Fix test types search in the lab order workspace (#1910)
arodidev Jul 15, 2024
e2e743e
(fix) O3-3545: Remove duplicate lab tests in lab order workspace (#1916)
ibacher Jul 15, 2024
a2bec9b
Bump loader-utils from 2.0.2 to 2.0.4 (#1918)
dependabot[bot] Jul 16, 2024
a265ac4
(feat) Replace fuzzy search with simple filter for test types
denniskigen Jul 16, 2024
6f05b1a
(refactor) O3-3522: Replace module-local translations with core trans…
jwnasambu Jul 16, 2024
f5a2ed7
(chore) Update translations from Transifex (#1917)
github-actions[bot] Jul 16, 2024
89324af
(fix) Abatement date for a condition should be later than the onset d…
denniskigen Jul 16, 2024
b23ed3c
(feat) Commit orphaned translations
denniskigen Jul 17, 2024
da2348c
(fix) O3-3609: Fix program enrollment eligibility logic (#1915)
denniskigen Jul 17, 2024
8893138
(fix) O3-3571: Use `issued` property to determine when test results w…
arodidev Jul 17, 2024
d93e9ee
(feat) O3-3608: Adjust step precision for the dose field in the DrugO…
its-kios09 Jul 17, 2024
289861f
Revert "(fix) O3-3571: Use `issued` property to determine when test r…
brandones Jul 17, 2024
afd3801
Revert "(feat) O3-2953: Add the ability to edit and delete vitals and…
denniskigen Jul 17, 2024
7f84c03
(fix) O3-3608: Slightly adjust precision of NumberInput
ibacher Jul 17, 2024
e973c29
(chore) Release v8.1.0 (#1919)
denniskigen Jul 18, 2024
3577e1f
(fix) O3-3621: Lab test type should not be editable in the lab order …
vasharma05 Jul 19, 2024
25bf8ed
(fix) O3-3573: The Modify order action should take one to modify the …
miirochristopher Jul 22, 2024
64a4c88
O3-3625 Lab Orders Completed via the Orders Section Still Show as Ord…
CynthiaKamau Jul 24, 2024
fba902f
(feat) O3-3024: Implement a two column layout for large desktops (#1772)
jayasanka-sack Jul 24, 2024
9df4fb1
(test) Remove unnecessary partial mocks; improve typing in tests (#1933)
denniskigen Jul 24, 2024
c3669b4
(test) Some more test tweaks
denniskigen Jul 24, 2024
59934a3
(refactor) Trivial clean-up in test results viewer (#1751)
mccarthyaaron Jul 24, 2024
314cff3
(test) Tweak useConfig type annotation syntax
denniskigen Jul 26, 2024
c6aeecd
(test) Only factor out render functions when overriding props
denniskigen Jul 26, 2024
a3f22d5
(feat) O3-3641: Add pagination to the medications table (#1938)
donaldkibet Jul 29, 2024
d08c9a0
(feat) O3-3176: Improvements to the overdue vitals tag (#1939)
miirochristopher Jul 29, 2024
1e63545
(feat) Tighten up vitals header spacing
denniskigen Jul 29, 2024
1eb4c16
(chore) Bump Playwright (#1944)
kdaud Jul 30, 2024
0280655
(test) O3-3679: Test form state retention upon minimizing the forms w…
kdaud Jul 31, 2024
96a823e
(feat) O3-3656: Change the style of abnormal and dangerous lab result…
CynthiaKamau Jul 31, 2024
866afa7
(feat) O3-3683: Add aria-labels to Start and End visit buttons in the…
Vijaykv5 Aug 1, 2024
30e1310
Update README.md
denniskigen Aug 3, 2024
431a673
(test) Fix failing tests due to importDynamic initialization error (#…
denniskigen Aug 6, 2024
f61f5ca
(feat) O3-3657: Adapt vitals header styling for small screens (#1949)
denniskigen Aug 6, 2024
f6c4493
(feat) O3-3657: Tweak styling of abnormal results in the vitals heade…
Twiineenock Aug 6, 2024
f24587d
(refactor) Update Carbon styling imports and tokens (#1941)
denniskigen Aug 7, 2024
d604c18
(fix) Run Prettier
denniskigen Aug 7, 2024
01e4c39
(feat) O3-3748: Add `data-openmrs-role` data attributes to DOM elemen…
Vijaykv5 Aug 7, 2024
6596450
(fix) Fix feature flag for the patient flags app (#1947)
ibacher Aug 7, 2024
bcdfa27
(fix) Fix medications details table styling
denniskigen Aug 7, 2024
02376c8
(fix) Tweak patient header actions menu icon button color
denniskigen Aug 7, 2024
146ff40
(fix) Correctly pick the current location in the Edit visit form (#1955)
denniskigen Aug 7, 2024
20c800e
(chore) Conditionally set server-token for CI workflow jobs (#1954)
denniskigen Aug 7, 2024
4f8cd17
(feat) Restore bottom border to paginated vitals datatable
denniskigen Aug 8, 2024
47fcc10
(test) Add E2E test for editing existing visits (#1956)
denniskigen Aug 9, 2024
666539f
(test) Amend E2E test for retained inputs in clinical forms workspace…
denniskigen Aug 13, 2024
1d1e39c
(test) Fix yet more flakiness in the Clinical Forms E2E test
denniskigen Aug 13, 2024
3ca484a
(feat) O3-3660: Show trend results view in a modal (#1948)
CynthiaKamau Aug 14, 2024
8ba55b0
(fix) O3-3715: Add phone number person attribute to patient banner co…
denniskigen Aug 16, 2024
5f82849
(feat) O3-3635: Orders table modify action should launch workspace di…
jwnasambu Aug 17, 2024
19626cb
(feat) O3-3544: Add search bar to the orders table (#1936)
arodidev Aug 17, 2024
56cf179
(feat) Add data-openmrs-role attribute to patient header
denniskigen Aug 19, 2024
5cd453d
(feat) Add banner role to patient header
denniskigen Aug 19, 2024
8108855
(feat) Add aria role to patient header
denniskigen Aug 19, 2024
bd2020f
O3-3766: (test) Fill a form with a browser slightly ahead of time. (#…
kdaud Aug 20, 2024
7f99620
(feat) O3-3794 Opening of clinical-forms-workspace on form close shou…
kajambiya Aug 21, 2024
627fc0e
(chore) Bump react form engine library (#1965)
kajambiya Aug 21, 2024
9418c93
(fix) O3-3781: Custom Widgets throwing error when rendering. (#1967)
usamaidrsk Aug 22, 2024
9090ca4
(fix) Disable scroll wheel functionality in the drug order form (#1971)
denniskigen Aug 22, 2024
30f4782
(feat) O3-3799: Open HTML Form Entry Forms within Form Workspace (#1963)
mogoodrich Aug 26, 2024
5447201
(feat) O3-3865: Avail entire patient object to angular form engine (#…
donaldkibet Aug 27, 2024
f79b0e2
(chore) Bump react form engine version (#1977)
samuelmale Aug 28, 2024
2b5de25
(chore) Bump Angular to v17 (#1976)
denniskigen Aug 28, 2024
d4cd290
(chore) Bump react form engine version (#1978)
kajambiya Aug 29, 2024
8858654
(fix) Move HtmlFormEntryForm type to patient-common-lib (#1983)
ibacher Aug 29, 2024
1eaec53
(fix) O3-3622: Allow saving lab reference number with the lab order (…
vasharma05 Aug 30, 2024
686aece
(feat) Lab results form improvements (#1985)
denniskigen Sep 2, 2024
1068231
(refactor) O3-3654: Results filter refinement (#1943)
arodidev Sep 3, 2024
5e7a458
(fix) O3-3845: Editing a visit does not immediately update the displa…
mccarthyaaron Sep 3, 2024
939ce19
O3-2857 Add configurable current visit tab in visits widget
CynthiaKamau Feb 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 7 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
"env": {
"node": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest-dom/recommended",
"plugin:testing-library/react"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "react-hooks"],
"plugins": ["@typescript-eslint", "jest-dom", "react-hooks", "testing-library"],
"rules": {
"react-hooks/exhaustive-deps": "warn",
"react-hooks/rules-of-hooks": "error",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: felixmosh/turborepo-gh-artifacts@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}
server-token: ''

- name: Compute bundle size report
uses: preactjs/compressed-size-action@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: felixmosh/turborepo-gh-artifacts@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}
server-token: ''

- name: Run lint, type checks and tests
run: yarn verify
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
uses: felixmosh/turborepo-gh-artifacts@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}
server-token: ''

- name: Version
run: yarn workspaces foreach --all --topological --exclude @openmrs/esm-patient-chart version "$(node -e "console.log(require('semver').inc(require('./package.json').version, 'patch'))")-pre.${{ github.run_number }}"
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
uses: felixmosh/turborepo-gh-artifacts@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}
server-token: ''

- name: Build
run: yarn turbo run build --color --concurrency=5
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: felixmosh/turborepo-gh-artifacts@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
server-token: ${{ env.TURBO_TOKEN }}
server-token: ''

- name: Build apps
run: yarn turbo run build --color --concurrency=5
Expand Down Expand Up @@ -75,14 +75,14 @@ jobs:
overwrite: true

- name: Capture Server Logs
if: '!cancelled()'
if: always()
uses: jwalton/gh-docker-logs@v2
with:
dest: './logs'

- name: Upload Logs as Artifact
uses: actions/upload-artifact@v4
if: '!cancelled()'
if: always()
with:
name: server-logs
path: './logs'
Expand Down
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
dist/
node_modules/
**/*.css
**/*.scss
**/*.md
**/*.json
packages/esm-form-entry-app/src/app/loader/loader.component.html
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ To run end-to-end tests, run:
yarn test-e2e
```

Read the [e2e testing guide](https://o3-docs.openmrs.org/docs/frontend-modules/testing#end-to-end-testing-with-playwright) to learn more about End-to-End tests in this project.
Read the [e2e testing guide](https://o3-docs.openmrs.org/docs/frontend-modules/end-to-end-testing) to learn more about End-to-End tests in this project.

### Updating Playwright

Expand Down
2 changes: 1 addition & 1 deletion __mocks__/mockDeceasedPatient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const mockDeceasedPatient = {
value: '100732HE',
},
{
id: '1f0ad7a1-430f-4397-b571-59ea654a52db',
id: 'ceda35a8-a445-455d-9928-ac088692190a',
use: 'usual',
system: 'OpenMRS ID',
value: '100GEJ',
Expand Down
45 changes: 36 additions & 9 deletions __mocks__/patient-flags.mock.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,47 @@
export const mockPatientFlags = [
{
uuid: '8ca6c08f-66d9-4a18-a233-4f658b1755bf',
flag: { display: 'Needs Follow Up' },
auditInfo: { dateCreated: '2024-03-01T00:00:00.000Z' },
flag: { display: 'Needs Follow Up', uuid: '98ca6c08f-66d9-4a18-a233-4f658b1755bf' },
message: 'Patient needs to be followed up',
tags: [{ display: 'flag tag - risk' }, { display: 'flag type - Social' }],
patient: {
uuid: '8ca6c08f-66d9-4a18-a233-4f658b1755bf',
display: 'John Doe',
},
tags: [
{ display: 'flag tag - risk', uuid: 'some-uuid' },
{ display: 'flag type - Social', uuid: 'some-other-uuid' },
],
uuid: '8ca6c08f-66d9-4a18-a233-4f658b1755bf',
voided: false,
},
{
uuid: '5fs6c08f-66d9-4a18-a233-5f658b1755bf',
flag: { display: 'Unknown Diagnosis' },
auditInfo: { dateCreated: '2024-03-01T00:00:00.000Z' },
flag: { display: 'Unknown Diagnosis', uuid: 'a4a4c08f-66d9-4a18-a233-5f658b1755bf' },
message: 'Diagnosis for the patient is unknown',
tags: [{ display: 'flag tag - info' }, { display: 'flag type - Clinical' }],
patient: {
uuid: '8ca6c08f-66d9-4a18-a233-4f658b1755bf',
display: 'John Doe',
},
tags: [
{ display: 'flag tag - info', uuid: 'another-uuid' },
{ display: 'flag type - Clinical', uuid: 'yet-another-uuid' },
],
uuid: '5fs6c08f-66d9-4a18-a233-5f658b1755bf',
voided: false,
},
{
uuid: '4da4c08f-66d9-4a18-a233-5f658b1755bf',
flag: { display: 'Future Appointment' },
auditInfo: { dateCreated: '2024-03-01T00:00:00.000Z' },
flag: { display: 'Future Appointment', uuid: 'cc6c08f-66d9-4a18-a233-5f658b1755bf' },
message: 'Patient has a future appointment scheduled',
tags: [{ display: 'flag tag - info' }, { display: 'flag type - Clinical' }],
patient: {
uuid: '8ca6c08f-66d9-4a18-a233-4f658b1755bf',
display: 'John Doe',
},
tags: [
{ display: 'flag tag - info', uuid: 'one-more-uuid' },
{ display: 'flag type - Clinical', uuid: 'yet-one-more-uuid' },
],
uuid: '4da4c08f-66d9-4a18-a233-5f658b1755bf',
voided: false,
},
];
56 changes: 56 additions & 0 deletions __mocks__/programs.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export const mockEnrolledProgramsResponse = [
uuid: '64f950e6-1b07-4ac0-8e7e-f3e148f3463f',
name: 'HIV Care and Treatment',
allWorkflows: [],
concept: {
uuid: '70724784-438a-490e-a581-68b7d1f8f47f',
display: 'Human immunodeficiency virus (HIV) disease',
},
},
display: 'HIV Care and Treatment',
location: {
Expand All @@ -61,6 +65,58 @@ export const mockEnrolledProgramsResponse = [
},
];

export const mockEnrolledInAllProgramsResponse = [
{
uuid: '8ba6c08f-66d9-4a18-a233-5f658b1755bf',
program: {
uuid: '64f950e6-1b07-4ac0-8e7e-f3e148f3463f',
name: 'HIV Care and Treatment',
allWorkflows: [],
concept: {
uuid: '70724784-438a-490e-a581-68b7d1f8f47f',
display: 'Human immunodeficiency virus (HIV) disease',
},
},
display: 'HIV Care and Treatment',
location: {
uuid: 'aff27d58-a15c-49a6-9beb-d30dcfc0c66e',
display: 'Amani Hospital',
},
dateEnrolled: '2020-01-16T00:00:00.000+0000',
dateCompleted: null,
},
{
uuid: '700b7914-9dc9-4569-8fe3-6db6c80af4c5',
program: {
uuid: '11b129ca-a5e7-4025-84bf-b92a173e20de',
name: 'Oncology Screening and Diagnosis',
allWorkflows: [],
},
display: 'Oncology Screening and Diagnosis',
location: {
uuid: 'aff27d58-a15c-49a6-9beb-d30dcfc0c66e',
display: 'Amani Hospital',
},
dateEnrolled: '2021-03-16T00:00:00.000+0000',
dateCompleted: null,
},
{
uuid: '874e5326-faa0-4d4b-a891-9a0e3a16f30f',
program: {
uuid: 'b2f65a51-2f87-4faa-a8c6-327a0c1d2e17',
name: 'HIV Differentiated Care',
allWorkflows: [],
},
display: 'HIV Differentiated Care',
location: {
uuid: 'aff27d58-a15c-49a6-9beb-d30dcfc0c66e',
display: 'Amani Hospital',
},
dateEnrolled: '2021-02-16T00:00:00.000+0000',
dateCompleted: null,
},
];

export const mockCareProgramsResponse = [
{
uuid: '64f950e6-1b07-4ac0-8e7e-f3e148f3463f',
Expand Down
10 changes: 10 additions & 0 deletions __mocks__/session.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export const mockSessionDataResponse = {
address13: null,
address14: null,
address15: null,
links: [],
},
user: {
uuid: '45ce6c2e-dd5a-11e6-9d9c-0242ac150002',
Expand All @@ -77,31 +78,40 @@ export const mockSessionDataResponse = {
{
uuid: '62431c71-5244-11ea-a771-0242ac160002',
display: 'Manage Appointment Services',
links: [],
},
{
uuid: '6206682c-5244-11ea-a771-0242ac160002',
display: 'Manage Appointments',
links: [],
},
{
uuid: '6280ff58-5244-11ea-a771-0242ac160002',
display: 'Manage Appointment Specialities',
links: [],
},
],
roles: [
{
uuid: '8d94f852-c2cc-11de-8d13-0010c6dffd0f',
display: 'System Developer',
links: [],
},
{
uuid: '62c195c5-5244-11ea-a771-0242ac160002',
display: 'Bahmni Role',
links: [],
},
{
uuid: '8d94f280-c2cc-11de-8d13-0010c6dffd0f',
display: 'Provider',
links: [],
},
],
retired: false,
locale: 'en_GB',
allowedLocales: ['en_GB'],
},
sessionId: 'D4F7D4D4-6A6D-4D4D-8D4D-4D4D4D4D4D4D',
},
};
2 changes: 1 addition & 1 deletion __mocks__/visits.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const mockCurrentVisit = {
display: 'Facility Visit',
},
attributes: [],
startDatetime: new Date('2021-03-16T08:16:00.000+0000'),
startDatetime: new Date('2021-03-16T08:16:00.000+0000').toISOString(),
stopDatetime: null,
location: {
uuid: '6351fcf4-e311-4a19-90f9-35667d99a8af',
Expand Down
32 changes: 7 additions & 25 deletions __mocks__/vitals-and-biometrics.mock.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { type PatientVitalsAndBiometrics } from '../packages/esm-patient-vitals-app/src/common';

export const mockBiometricsResponse = {
resourceType: 'Bundle',
id: '0b0f8529-3e6e-41d9-8007-0ef639fb893b',
Expand Down Expand Up @@ -5987,12 +5985,12 @@ export const mockFhirVitalsResponse = {
};

export const mockBiometricsConfig = {
biometrics: { bmiUnit: 'kg / m²' },
concepts: { heightUuid: '5090AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', weightUuid: '5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' },
biometrics: { bmiUnit: 'kg / m²' },
};

export const mockVitalsConfig = {
biometrics: { bmiUnit: 'kg / m²' },
biometrics: { bmiUnit: 'kg / m²', heightUnit: 'm', weightUnit: 'kg' },
concepts: {
diastolicBloodPressureUuid: '5086AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
generalPatientNoteUuid: '165095AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
Expand All @@ -6007,8 +6005,12 @@ export const mockVitalsConfig = {
},
vitals: {
encounterTypeUuid: '67a71486-1a54-468f-ac3e-7091a9a79584',
formUuid: 'a000cb34-9ec1-4344-a1c8-f692232f6edd',
formUuid: '9f26aad4-244a-46ca-be49-1196df1a8c9a',
useFormEngine: false,
logo: null,
showPrintButton: false,
formName: 'Vitals',
useMuacColors: false,
},
};

Expand Down Expand Up @@ -6059,26 +6061,6 @@ export const formattedVitals = [
},
];

export const formattedVitalsAndBiometrics: Array<PatientVitalsAndBiometrics> = [
{
id: '0',
uuid: 'fd481c9f-f81f-4aaf-b00b-747900af9935',
date: '2024-04-21T09:31:27.000Z',
height: 12,
weight: 12,
bmi: 833.3,
bloodPressureRenderInterpretation: 'normal',
systolic: 1,
diastolic: 2,
pulse: 12,
respiratoryRate: 12,
spo2: 12,
temperature: 31,
muac: 12,
generalPatientNote: 'notes',
},
];

export const mockVitalsConceptMetadata = mockVitalsSignsConcepts.data.results[0].setMembers;

export const mockConceptUnits = new Map<string, string>(
Expand Down
Loading