public void Process(Document input, Stage output) { var generator = new ValueSetGenerator(new ProfileKnowledgeProvider(input.Name, input.Context.Target.Directory)); var valueset = (ValueSet)FhirParser.ParseResourceFromXml(input.Text); Document result = input.CloneMetadata(); var xmldoc = generator.generate(valueset); result.Text = xmldoc.ToString(SaveOptions.DisableFormatting); output.Post(result); }
public void Process(Document input, Stage output) { Document template = Influx.Single(input); Document result = input.CloneMetadata(); result.Text = template.Text.Replace("%body%", input.Text); result.Extension = template.Extension; output.Post(result); }
public void Process(Document input, Stage output) { var generator = new ValueSetGenerator(new ProfileKnowledgeProvider(input.Name, input.Context.Target.Directory)); var valueset = (ValueSet)FhirParser.ParseResourceFromXml(input.Text); Document result = input.CloneMetadata(); var xmldoc = generator.generate(valueset); result.Text = xmldoc.ToString(SaveOptions.DisableFormatting); output.Post(result); }
public void Process(Document input, Stage output) { var pkp = new ProfileKnowledgeProvider(input.Name, input.Context.Target.Directory); var generator = new DictHtmlGenerator(pkp); var profile = (Profile)FhirParser.ParseResourceFromXml(input.Text); Document result = input.CloneMetadata(); var xmldoc = generator.Generate(profile); result.SetFilename(pkp.GetLinkForProfileDict(profile)); result.Text = xmldoc.ToString(SaveOptions.DisableFormatting); output.Post(result); }
public void Process(Document input, Stage output) { input.Context.EnsureTarget(); // omdat er eerst plaatjes worden gegenereerd voorafgaand aan het document zelf. var generator = new ProfileTableGenerator(new ProfileKnowledgeProvider(input.Name, input.Context.Target.Directory)); var profile = (Profile)FhirParser.ParseResourceFromXml(input.Text); Document result = input.CloneMetadata(); var xmldoc = generator.Generate(profile, extensionsOnly: false); result.Text = xmldoc.ToString(SaveOptions.DisableFormatting); output.Post(result); }
public void Process(Document input, Stage output) { Document template = Influx.Single(input); Document result = input.CloneMetadata(); result.Text = template.Text.Replace("%body%", input.Text); result.Extension = template.Extension; output.Post(result); }
public void Process(Document input, Stage output) { input.Context.EnsureTarget(); // omdat er eerst plaatjes worden gegenereerd voorafgaand aan het document zelf. var generator = new ProfileTableGenerator(new ProfileKnowledgeProvider(input.Name, input.Context.Target.Directory)); var profile = (Profile)FhirParser.ParseResourceFromXml(input.Text); Document result = input.CloneMetadata(); var xmldoc = generator.Generate(profile, extensionsOnly: false); result.Text = xmldoc.ToString(SaveOptions.DisableFormatting); output.Post(result); }
public void Process(Document input, Stage output) { var pkp = new ProfileKnowledgeProvider(input.Name, input.Context.Target.Directory); var generator = new DictHtmlGenerator(pkp); var profile = (Profile)FhirParser.ParseResourceFromXml(input.Text); Document result = input.CloneMetadata(); var xmldoc = generator.Generate(profile); result.SetFilename(pkp.GetLinkForProfileDict(profile)); result.Text = xmldoc.ToString(SaveOptions.DisableFormatting); output.Post(result); }
public void Process(Document input, Stage output) { input.Attach(Influx.Documents); output.Post(input); }
public static void Push(string key, Document document) { Stage stage = Assert(key); stage.Post(document); }
public void Process(Document input, Stage output) { input.Attach(Influx.Documents); output.Post(input); }