Skip to content

answerOption list being displayed is a list of codes when $lookup fails #1931

Description

@liambarnes

Describe the bug
When a Questionnaire has an answerOption list of codings that do not include displays, the renderer will attempt to lookup the displays from the terminology server to list in the UI. If the terminology server is down, it will list the codes. Listing codes is not appropriate for the UI. Would be better to display an error.

To Reproduce
I noticed this when the terminology server was down and I launched the GP CCMP form. An example set is in the "Patient details" tab, "Carer and key contacts" section, "Type" question item.

Expected behavior
Should display an appropriate error.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions