Concept of Text "Datatype" not accepting "style dropdown or autocomplete"

Hey folks,

Hope all is going well … Am using these two concepts in the html form development <Allergen -160643AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA of datatype Coded> and <Diagnosis-161602AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA of datatype Text>

However on using something like

<obs conceptId="160643AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
             answerConceptSetIds="162554,162552,162553"
             style="autocomplete"/>
for Allergens .....this is working properly even on a dropdown

And

<obs conceptId="160643AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
             answerConceptSetIds="162554,162552,162553"
           />
for Diagnosis .....this however loads only a text box which I thought it was to load a dropdown

Is the datatype the issue ?

Request to be enlightened on this

cc @dkayiwa @ruhanga @mozzy @ibacher

Concepts of datatype Text are meant to capture only Free text Values and for which the HFE form only renders a text box by default.
However you can add a drop down of predefined text values using the answers attribute.
Attribute answerConceptSetIds is only supported for Coded Concepts

1 Like

Oh thanks @mozzy, Does this also mean that answerConceptIds attribute also supports only coded Concepts?

answerConceptSetIds is only supported for Coded Concepts to create a drop down of Answer Concepts.

On the other hand , answers is supported for Text concepts to create a drop down of predefined text values

1 Like

great thanks @mozzy this really makes sense now