コード例 #1
0
 public Recommendation() {
     this.commentsField = new List<RecommendationComment>();
     this.itemField = new ClinicalAssertion();
     this.referencesField = new List<ExternalReference>();
     this.sourcesField = new List<Party>();
     this.sponsorsField = new List<Party>();
     this.authorsField = new List<Party>();
     this.ruleSourcesField = new List<RuleSource>();
 }
コード例 #2
0
        private void TranslateBaseClinicalAssertion(TranslationContext context, Node node, CREFModel.ClinicalAssertion assertion)
        {
            var actionIdNode = node.Children.FirstOrDefault(c => c.Name == "actionId");

            if (actionIdNode != null)
            {
                assertion.ID = actionIdNode.GetAttribute <string>("root") + ':' + actionIdNode.GetAttribute <string>("extension", "");
            }

            var textEquivalentNode = node.Children.FirstOrDefault(c => c.Name == "textEquivalent");

            if (textEquivalentNode != null)
            {
                assertion.Description = textEquivalentNode.GetAttribute <string>("value");
            }
        }