set/get patterning code for encounter
adding showPatterningCodeProprty