Exemplo n.º 1
0
        public Composition(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid,
                           Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit,
                           CodePhrase language, CodePhrase territory, DvCodedText category, EventContext context,
                           Content.ContentItem[] content, PartyProxy composer) :
            base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit)
        {
            Check.Require(language != null, "language must not be null");
            Check.Require(territory != null, "territory must not be null");
            Check.Require(category != null, "category must not be null");
            Check.Require(composer != null, "composer must not be null");


            this.language  = language;
            this.territory = territory;
            this.category  = category;
            this.context   = context;
            if (this.context != null)
            {
                this.context.Parent = this;
            }
            if (content != null)
            {
                this.content = RmFactory.LocatableList <ContentItem>(this, content);
            }

            this.composer = composer;

            SetAttributeDictionary();
            this.CheckInvariants();
        }
Exemplo n.º 2
0
        public Action(DvText name, string archetypeNodeId, UidBasedId uid,
                      Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit,
                      CodePhrase language, CodePhrase encoding, PartyProxy subject, PartyProxy proider,
                      Participation[] otherParticipations, ObjectRef workflowId, ItemStructure protocol,
                      ObjectRef guidelineId, DvDateTime time, ItemStructure description,
                      IsmTransition ismTransition, InstructionDetails instructionDetails)
            : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit, language,
                   encoding, subject, proider, otherParticipations, workflowId, protocol, guidelineId)
        {
            Check.Require(time != null, "time must not be null");
            Check.Require(description != null, "description must not be null");
            Check.Require(ismTransition != null, "ismTransition must not be null");

            this.time        = time;
            this.description = description;
            if (this.description != null)
            {
                this.description.Parent = this;
            }
            this.ismTransition = ismTransition;
            if (this.ismTransition != null)
            {
                this.ismTransition.Parent = this;
            }
            this.instructionDetails = instructionDetails;
            if (this.instructionDetails != null)
            {
                this.instructionDetails.Parent = this;
            }

            SetAttributeDictionary();
            CheckInvariants();
        }
Exemplo n.º 3
0
        protected CareEntry(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid,
                            Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit,
                            CodePhrase language, CodePhrase encoding, PartyProxy subject, PartyProxy proider,
                            Participation[] otherParticipations, ObjectRef workflowId, ItemStructure protocol,
                            ObjectRef guidelineId)
            : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit,
                   language, encoding, subject, proider, otherParticipations, workflowId)
        {
            this.protocol = protocol;
            if (this.protocol != null)
            {
                this.protocol.Parent = this;
            }

            this.guidelineId = guidelineId;
        }
Exemplo n.º 4
0
        public AdminEntry(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid,
                          Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit,
                          CodePhrase language, CodePhrase encoding, PartyProxy subject, PartyProxy proider,
                          Participation[] otherParticipations, ObjectRef workflowId,
                          ItemStructure data)
            : base(name, archetypeNodeId, uid, links, archetypeDetails,
                   feederAudit, language, encoding, subject, proider, otherParticipations, workflowId)
        {
            Check.Require(data != null, "data must not be null");

            this.data        = data;
            this.data.Parent = this;

            SetAttributeDictionary();
            this.CheckInvariants();
        }
Exemplo n.º 5
0
        public Evaluation(DvText name, string archetypeNodeId, UidBasedId uid,
                          Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit,
                          CodePhrase language, CodePhrase encoding, PartyProxy subject, PartyProxy proider,
                          Participation[] otherParticipations, ObjectRef workflowId, ItemStructure protocol,
                          ObjectRef guidelineId, ItemStructure data)
            : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit, language,
                   encoding, subject, proider, otherParticipations, workflowId, protocol, guidelineId)
        {
            Check.Require(data != null, "data must not be null");

            this.data = data;
            if (this.data != null)
            {
                this.data.Parent = this;
            }

            SetAttributeDictionary();
            CheckInvariants();
        }
Exemplo n.º 6
0
        protected Entry(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid,
                        Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit,
                        CodePhrase language, CodePhrase encoding, PartyProxy subject, PartyProxy proider,
                        Participation[] otherParticipations, ObjectRef workflowId)
            : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit)
        {
            Check.Require(language != null, "language must not be null");
            Check.Require(encoding != null, "encoding must not be null");
            Check.Require(subject != null, "subject must not be null");

            this.language = language;
            this.encoding = encoding;
            this.subject  = subject;
            this.provider = proider;
            if (otherParticipations != null)
            {
                this.otherParticipations = new OpenEhr.AssumedTypes.List <Participation>(otherParticipations);
            }
            this.workflowId = workflowId;
        }
Exemplo n.º 7
0
        public Instruction(DvText name, string archetypeNodeId, UidBasedId uid,
                           Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit,
                           CodePhrase language, CodePhrase encoding, PartyProxy subject, PartyProxy proider,
                           Participation[] otherParticipations, ObjectRef workflowId, ItemStructure protocol,
                           ObjectRef guidelineId, DvText narrative, DvDateTime expiryTime,
                           Activity[] activities, DvParsable wfDefinition)
            : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit, language,
                   encoding, subject, proider, otherParticipations, workflowId, protocol, guidelineId)
        {
            Check.Require(narrative != null, "narrative must not be null");

            this.narrative  = narrative;
            this.expiryTime = expiryTime;
            if (activities != null)
            {
                this.activities = RmFactory.LocatableList <Activity>(this, activities);
            }
            this.wfDefinition = wfDefinition;

            SetAttributeDictionary();
            CheckInvariants();
        }