public void AddDeviceParticipantTemplate(NPFIT_000087_NHS111_Role template)
 {
     GeneralParticipationClass participation = new GeneralParticipationClass();
     participation.typeCode = "DEV";
     participation.contextControlCode = "OP";
     participation.Role = template;
     participation.itsParticipantTag = "participant";
     participation.itsRoleTag = "participantRole";
     act.AddParticipant(participation);
 }
        public void AddEncounterParticipantTemplate(NPFIT_000089_Role template, p_participation_000089.EncounterParticipationType participantType)
        {
            GeneralParticipationClass participation = new GeneralParticipationClass();
            participation.typeCode = "RESP";
            participation.Role = template;
            participation.typeCode = StringEnum.GetStringValue(participantType);
            participation.itsParticipantTag = "responsibleParty";
            participation.itsRoleTag = "assignedEntity";

            act.AddParticipantTemplate(participation);
        }
 internal void SetResponsibleParty(GeneralParticipationClass thisParticipation)
 {
     responsibleParty = thisParticipation;
 }
 internal void SetLocation(GeneralParticipationClass thisParticipation)
 {
     location = thisParticipation;
 }
 internal void AddParticipantTemplate(GeneralParticipationClass thisParticipation)
 {
     if (participant == null) participant = new List<GeneralParticipationClass>();
     participant.Add(thisParticipation);
 }
 public void SetResponsiblePartyTemplate(NPFIT_000088_Role template)
 {
     GeneralParticipationClass participation = new GeneralParticipationClass();
     participation.typeCode = "RESP";
     participation.Role = template;
     participation.itsParticipantTag = "responsibleParty";
     participation.itsRoleTag = "assignedEntity";
     act.SetResponsibleParty(participation);
 }
 public void SetLocationTemplate(NPFIT_000090_Role template)
 {
     GeneralParticipationClass participation = new GeneralParticipationClass();
     participation.typeCode = "DEV";
     participation.contextControlCode = "OP";
     participation.Role = template;
     participation.itsParticipantTag = "participant";
     participation.itsRoleTag = "participantRole";
     act.SetLocation(participation);
 }