def write(self): if self.settings.write_resources: renderer = fhirrenderer.FHIRStructureDefinitionRenderer( self, self.settings) renderer.copy_files() renderer.render() if self.settings.write_factory: renderer = fhirrenderer.FHIRFactoryRenderer(self, self.settings) renderer.render() if self.settings.write_unittests: self.parse_unit_tests() renderer = fhirrenderer.FHIRUnitTestRenderer(self, self.settings) renderer.render()
def write(self): if self.settings.write_resources: renderer = fhirrenderer.FHIRStructureDefinitionRenderer(self, self.settings) renderer.render() vsrenderer = fhirrenderer.FHIRValueSetRenderer(self, self.settings) vsrenderer.render() if self.settings.write_factory: renderer = fhirrenderer.FHIRFactoryRenderer(self, self.settings) renderer.render() if self.settings.write_dependencies: renderer = fhirrenderer.FHIRDependencyRenderer(self, self.settings) renderer.render() if self.settings.write_unittests: self.parse_unit_tests() renderer = fhirrenderer.FHIRUnitTestRenderer(self, self.settings) renderer.render()