question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Medication: canceled status i18n label not displaying

See original GitHub issue

šŸ› Bug Report

The canceled status for medications shows the translation key instead of the label.

To Reproduce

Visit staging https://staging.hospitalrun.io/ Access the medication requests page Click on the filter by status field to reveal the filter status options Notice the display medications.status.canceled instead of ā€œCanceledā€

The same can be seen when one views a medication request to edit, clicking the status field also shows canceled translation key instead of the translation text ā€œCanceledā€

image

Expected behavior

The Canceled status should be displayed not the translation key medications.status.canceled

src/shared/locales/enUs/translations/medications/index.ts:

  medications: {
    label: 'Medications',
    filterTitle: 'Filter by status',
    search: 'Search Medications',
    status: {
      draft: 'Draft',
      active: 'Active',
      onHold: 'On Hold',
      canceled: 'Canceled',                 <==== change spelling to en-us i.e. with one "l" not "ll"
      completed: 'Completed',
      enteredInError: 'Entered In Error',
      stopped: 'Stopped',
      unknown: 'Unknown',
    },

Your Environment

  • node version: 6,8,10
  • fastify version: >=1.0.0
  • os: Windows
  • any other relevant information

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
FanciestWcommented, Dec 7, 2020

@blestab I agree, can I be assigned to this issue as well?

1reaction
blestabcommented, Dec 6, 2020

@FanciestW this one might be good to get you comfortable with the codebase. What do you think?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Patient Identification Errors - ECRI
Factors contributing to these errors include working on more than one patient's medications during verification or bagging and flawed or absent process forĀ ......
Read more >
Internationalization Tag Set (ITS) Version 2.0 - W3C
Abstract. The technology described in this document ā€œInternationalization Tag Set (ITS) 2.0ā€œ enhances the foundation to integrate automatedĀ ...
Read more >
botox_pi.pdf - RxAbbVie
BOTOX is an acetylcholine release inhibitor and a neuromuscular blocking agent indicated for: • Treatment of overactive bladder (OAB) with symptoms of urgeĀ ......
Read more >
SAVI SCOUTĀ® Radar Localization for Lumpectomy
SAVI SCOUTĀ® makes lumpectomies for early-stage breast cancer easier by pinpointing tumors for more precise removal and more successful outcomes.
Read more >
RADIOLOGY / NUCLEAR MEDICINE USER MANUAL Version 5.0 ...
Exam Status Display . ... reasons, the access code and verify code are not displayed on the ... 3350 + TUMOR LOCALIZATION (GALLIUM...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found