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

customize fields to display specific values #3703

Open
anthonynunn30M opened this issue Jan 11, 2024 · 0 comments
Open

customize fields to display specific values #3703

anthonynunn30M opened this issue Jan 11, 2024 · 0 comments
Labels
medplum-app Features and fixes related to the medplum app (https://app.medplum.com) react Features, fixes and enhancements to react component library

Comments

@anthonynunn30M
Copy link

anthonynunn30M commented Jan 11, 2024

some fields we can display can have multiple values, for example a Task resource has an identifier element which is a list of CodeableConcept

{
  "resourceType": "Task"
  "identifier": [
    { "system": "https://example.com/foo": "value": "foo" },
    { "system": "https://example.com/bar": "value": "bar" },
  ]
}

that identifier element can be displayed as a "field" in the UX but if there are multiple values all are shown
?fields=identifier

identifier
https://example.com/foo: foo https://example.com/bar: bar

if I know that I want to display the value for the identifier with the https://example.com/foo system there should be a way to specify only that system value should be displayed in the column
?fields=identifier:https://example.com/foo,identifier:https://example.com/bar

https://example.com/foo https://example.com/bar
foo bar

I have been using the medplum application as a developer and display ALL values of an element bogs down the UX making it less usable when most of the time I am looking for a particular system in a list.

@reshmakh reshmakh added medplum-app Features and fixes related to the medplum app (https://app.medplum.com) react Features, fixes and enhancements to react component library labels Jan 12, 2024
@rahul1 rahul1 added this to the Milestone Quality milestone Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medplum-app Features and fixes related to the medplum app (https://app.medplum.com) react Features, fixes and enhancements to react component library
Projects
Status: No status
Development

No branches or pull requests

3 participants