luis901101 / fhir_questionnaire

A library to render FHIR Questionnaires and generate a QuestionnaireResponse
BSD 2-Clause "Simplified" License
4 stars 4 forks source link

Add support for custom rendering of questionnaire items #8

Closed easazade closed 3 months ago

easazade commented 4 months ago

This PR adds support for allowing custom rendering of QuestionnaireItem objects. While QuestionnaireController is mapping questionnaire items into QuestionnaireItemView objects. it is possible to modify that logic to map questionnaire items to any sub class of QuestionnaireItemView. This will allow a good level of customization to fhir_questionnaire library.