/// <summary>
 /// Template Constructor
 /// </summary>
 public TP146226GB02_Consent()
     : base()
 {
     consent = new ActClass("CONS", "EVN");
     consent.StatusCode = "completed";
     consent.SetTemplateId(OIDStore.OIDTemplatesTemplateId, TEMPLATEID + "#" + TEMPLATETEXT);
 }
        public TP146227GB02_ServiceEvent(ActCode act)
            : base()
        {
            string actCode = "";

            switch (act)
            {
                case ActCode.PROC:
                    actCode = "PROC";
                    break;
                case ActCode.CLNTRL:
                    actCode = "CLNTRL";
                    break;
                case ActCode.INFRM:
                    actCode = "INFRM";
                    break;
                case ActCode.PCPR:
                    actCode = "PCPR";
                    break;
                case ActCode.SPCOBS:
                    actCode = "SPCOBS";
                    break;
                case ActCode.OBSSER:
                    actCode = "OBSSER";
                    break;
                case ActCode.SBADM:
                    actCode = "SBADM";
                    break;
                default:
                    break;
            }

            ServiceEvent = new ActClass(actCode, "EVN");
            ServiceEvent.SetTemplateId(OIDStore.OIDTemplatesTemplateId, TEMPLATEID + "#" + TEMPLATETEXT);
        }
 /// <summary>
 /// Template Constructor for the Template
 /// </summary>
 public TP146248GB01_ReferenceURL()
     : base()
 {
     codedEntry = new ActClass("OBS", "EVN");
     codedEntry.SetTemplateId(OIDStore.OIDTemplatesTemplateId, TEMPLATEID + "#" + TEMPLATETEXT);
 }