ehealthinnovation / eConsent

Apache License 2.0
3 stars 0 forks source link

Make Bullet Point List #4

Open alackerbauer opened 6 years ago

alackerbauer commented 6 years ago

When there is more than one answer to a question in a QuesionnaireResponse, the UI should show a list of bullet points with the text of these answers. This can be especially relevant for the display elements of coded answers.

E.g., the answer shown below...

{
   "linkId": "treatment.risks",
   "text": "Risks of the treatment", 
   "answer": [
     {
       "valueCoding": {
          "system": "http://snomed.info/sct",
           "code": "242996005",
           "display": "Bleeding"
         }
      },
      {
        "valueCoding": {
            "system": "http://snomed.info/sct",
            "code": "762611002",
            "display": "Infection"
        }
      }
   ]
}

...should result in the list shown below:

wichopy commented 6 years ago

Is there an example QuestionnaireResponse for me to look at?

alackerbauer commented 6 years ago

Yes, please see risks item at: http://testeconsent.ehealthinnovation.org/server/fhir/QuestionnaireResponse/appendectomy