public p_participation_000086(CDAParticipationType thisTypeCode, CDAParticipationFunction thisFunctionCode)
            : base()
        {
            base.typeCode = StringEnum.GetStringValue(thisTypeCode);

            base.functionCode = new CV<string>(
                StringEnum.GetStringValue(thisFunctionCode),
                "2.16.840.1.113883.2.1.3.2.4.17.178",
                null,
                null
                );
            base.functionCode.DisplayName = StringEnum.GetStringDescription(thisFunctionCode);
            functionTypeSet = true;

            base.contextControlCode = "OP";
        }
Exemple #2
0
        public p_participation_000086(CDAParticipationType thisTypeCode, CDAParticipationFunction thisFunctionCode)
            : base()
        {
            base.typeCode = StringEnum.GetStringValue(thisTypeCode);

            base.functionCode = new CV <string>(
                StringEnum.GetStringValue(thisFunctionCode),
                "2.16.840.1.113883.2.1.3.2.4.17.178",
                null,
                null
                );
            base.functionCode.DisplayName = StringEnum.GetStringDescription(thisFunctionCode);
            functionTypeSet = true;

            base.contextControlCode = "OP";
        }
        public void AddParticipant(NPFIT_000086_Role template, CDAParticipationType typeCode, CDAParticipationFunction functionCode)
        {
            if (participant == null)
            {
                participant = new List<p_participation_000086>();
            }

            p_participation_000086 thisParticipant = new p_participation_000086(typeCode, functionCode);

            thisParticipant.Role = template;
            participant.Add(thisParticipant);
        }
        public void AddParticipant(NPFIT_000086_Role template, CDAParticipationType typeCode, CDAParticipationFunction functionCode)
        {
            if (participant == null)
            {
                participant = new List <p_participation_000086>();
            }

            p_participation_000086 thisParticipant = new p_participation_000086(typeCode, functionCode);

            thisParticipant.Role = template;
            participant.Add(thisParticipant);
        }