FHIR Chat · readOnly on item types · questionnaire

Stream: questionnaire

Topic: readOnly on item types


view this post on Zulip Glory Kim (Nov 14 2019 at 18:50):

The rule only states that the type cannot be a display which makes sense as display items do not capture data. But is it possible to have a readOnly attribute on a questionnaire item with type group and question? i.e.

...
"item": [
            {
              "linkId": "1.1.1",
              "code": [
                {
                  "system": "http://example.org/system/code/sections",
                  "code": "CARDIAL"
                }
              ],
              "type": "group",
              "readOnly": true,
...

view this post on Zulip Lloyd McKenzie (Nov 14 2019 at 19:03):

read-only on 'group' wouldn't make a whole lot of sense as it doesn't have an answer that could be edited anyhow. And, unlike hidden, readOnly doesn't propagate I don't believe

view this post on Zulip Glory Kim (Nov 14 2019 at 19:07):

Sounds good - thank you!


Last updated: Apr 12 2022 at 19:14 UTC