private void validateContext(ims.framework.Context context) {
   if (context == null) return;
   if (!context.isValidContextType(ims.core.vo.PatientShort.class))
     throw new ims.framework.exceptions.CodingRuntimeException(
         "The type 'ims.core.vo.PatientShort' of the global context variable 'Core.PatientShort' is not supported.");
   if (!context.isValidContextType(ims.core.vo.CareContextShortVo.class))
     throw new ims.framework.exceptions.CodingRuntimeException(
         "The type 'ims.core.vo.CareContextShortVo' of the global context variable 'Core.CurrentCareContext' is not supported.");
   if (!context.isValidContextType(ims.core.vo.ClinicalContactShortVo.class))
     throw new ims.framework.exceptions.CodingRuntimeException(
         "The type 'ims.core.vo.ClinicalContactShortVo' of the global context variable 'Core.CurrentClinicalContact' is not supported.");
 }
 private void validateContext(ims.framework.Context context) {
   if (context == null) return;
   if (!context.isValidContextType(ims.core.admin.pas.vo.PASEventRefVo.class))
     throw new ims.framework.exceptions.CodingRuntimeException(
         "The type 'ims.core.admin.pas.vo.PASEventRefVo' of the global context variable 'Core.PasEvent' is not supported.");
 }
 private void validateContext(ims.framework.Context context) {
   if (context == null) return;
   if (!context.isValidContextType(ims.RefMan.vo.CatsReferralRefVo.class))
     throw new ims.framework.exceptions.CodingRuntimeException(
         "The type 'ims.RefMan.vo.CatsReferralRefVo' of the global context variable 'RefMan.CatsReferral' is not supported.");
 }
 private void validateContext(ims.framework.Context context) {
   if (context == null) return;
   if (!context.isValidContextType(ims.ocrr.vo.RoleDisciplineSecurityLevelLiteGCVo.class))
     throw new ims.framework.exceptions.CodingRuntimeException(
         "The type 'ims.ocrr.vo.RoleDisciplineSecurityLevelLiteGCVo' of the global context variable 'OCRR.RoleDisciplineSecurityLevels' is not supported.");
 }