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

[Bug Report]: Code instead of text displayed on dropdowns #1526

Open
1 task
AnnieMungai opened this issue Jan 21, 2025 · 2 comments
Open
1 task

[Bug Report]: Code instead of text displayed on dropdowns #1526

AnnieMungai opened this issue Jan 21, 2025 · 2 comments
Labels
Bug Report Something isn't working EUSM WontFix This will not be worked on

Comments

@AnnieMungai
Copy link
Collaborator

AnnieMungai commented Jan 21, 2025

Affected Project

EUSM Madagascar

How to replicate

  • Instead of displaying the section name, some kind of code is displayed. However, selecting a new section does display the section name.
  • Instead of displaying the name of the donor, a sort of code is displayed. However, selecting a new donor displays the donor's name.

This is happening on the following pages:
On the edit inventory page
Inventory view details page

Acceptance criteria

  • Only text should be displayed on all selections.

Project Contact

No response

Relevant Information

No response

@peterMuriuki
Copy link
Collaborator

@AnnieMungai The inventory is malformed, specifically the characteristic's codeableConcepts that hold the affected values are not using the correct coding. For instance for the Unicef Section field, the characteristic's codeable concept coding should be:

"valueCodeableConcept": {
        "coding": [
          {
            "system": "http://smartregister.org/CodeSystem/eusm-unicef-sections",
            "code": "c4d",
            "display": "C4D"
          }
        ],
        "text": "C4D"
      }

but it uses a deprecated scheme shown below :

"valueCodeableConcept": {
        "coding": [
          {
            "system": "http://smartregister.org/codes",
            "code": "98734231-1",
            "display": "Value entered on the unicef section"
          }
        ],
        "text": "Value entered on the unicef section"
      }

Editing the inventory on web should re-format the inventory correctly. Though if the affected inventories were created from tooling we should update tooling to generate a well formed inventory.

@peterMuriuki peterMuriuki added the WontFix This will not be worked on label Jan 22, 2025
@peterMuriuki
Copy link
Collaborator

related to onaio/fhir-tooling#302

@peterMuriuki peterMuriuki added this to the Focused Turtle milestone Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Something isn't working EUSM WontFix This will not be worked on
Projects
Status: To do
Development

No branches or pull requests

2 participants