Fixed compile errors in Patient_NLG