Skip to content

Adapt Backend to new Structure of terminology_system.json #708

@Frontman50

Description

@Frontman50

In an effort to improve the display of the terminology systems in the UI the structure of the terminology_system.json file will change, introducing translation elements for each codesystem.

Currently:

[
  {
    "url": "http://fhir.de/CodeSystem/bfarm/alpha-id",
    "name": "alpha-id"
  },
  {
    "url": "http://loinc.org",
    "name": "loinc.org"
  },
]

After:

[
  {
    "url": "http://fhir.de/CodeSystem/bfarm/alpha-id",
    "display": {
      "original": "Alpha-ID",
      "translations": [
        {
          "language": "en",
          "value": "Alpha-ID"
        },
        {
          "language": "de",
          "value": "Alpha-ID"
        }
      ]
    }
  },
  {
    "url": "http://loinc.org",
    "display": {
      "original": "LOINC",
      "translations": [
        {
          "language": "en",
          "value": "LOINC"
        },
        {
          "language": "de",
          "value": "LOINC"
        }
      ]
    }
  },
]

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions