Writing in C/AL NAv2017

Am working on Hospital management system using Nav2017 development environment and run to display in role tailor center. My problem is coding, in my design i have option, text, and code as data type. I need your helps with solid materials and guide. Thanks.