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()
def write(self): """ """ if self.settings.WRITE_RESOURCES: renderer = fhirrenderer.FHIRStructureDefinitionRenderer( self.spec, self.settings) renderer.render() vsrenderer = fhirrenderer.FHIRValueSetRenderer( self.spec, self.settings) vsrenderer.render() if self.settings.WRITE_DEPENDENCIES: renderer = fhirrenderer.FHIRDependencyRenderer( self.spec, self.settings) renderer.render() if self.settings.WRITE_UNITTESTS: renderer = fhirrenderer.FHIRUnitTestRenderer( self.spec, self.settings) renderer.render()