def __init__(self): self.config = natus_config.NATUSConfig('ncqa') self.log = natus_logging.NATUSLogging(self.__class__.__name__, logging.INFO) self.mmdf_file_glob = glob.glob( self.config.read_value('setup', 'mmdf.input.filename.regex')) self.mmdf = {}
def __init__(self): self.log = natus_logging.NATUSLogging(self.__class__.__name__, logging.INFO) self.config = natus_config.NATUSConfig('ncqa') self.db_con = connector.Connector() self.member_filter = {} # self.load_filter() self.value_set_cache = {}
def __init__(self): self.log = natus_logging.NATUSLogging(self.__class__.__name__, logging.INFO) self.config = natus_config.NATUSConfig('ncqa') self.dbname = self.config.read_value('db', 'mongodb.db.name') self.url = self.config.read_value('db', 'mongodb.url') self.log.info('Connecting to mongodb. db: ' + self.dbname + ', url: ' + self.url) self.client = pymongo.MongoClient(self.url) self.db = self.client[self.dbname]
def __init__(self): self.log = natus_logging.NATUSLogging(self.__class__.__name__, logging.INFO) self.config = natus_config.NATUSConfig('ncqa') self.db_connection = connector.Connector() self.bulk_size = self.config.read_value('load', 'bulk.size') self.input_file_name = self.config.read_value('load', 'input.filename') self.documents = []
def __init__(self): self.log = natus_logging.NATUSLogging(self.__class__.__name__, logging.INFO) self.config = natus_config.NATUSConfig('ncqa') self.db_con = connector.Connector() self.db_con.collection_name = 'measure_to_oid' self.excel_sheetname = self.config.read_value( 'valueset', 'excel.measures.valuesets.sheet.name') self.excel_filename = self.config.read_value('valueset', 'excel.filename')
def __init__(self, run_date: datetime): config = natus_config.NATUSConfig('ncqa') config_section_name = self.__class__.__name__ self.log = natus_logging.NATUSLogging(config_section_name, logging.INFO) self.run_date = run_date measures = json.loads( config.read_value(config_section_name, 'measures')) self.db_con = connector.Connector() self.measure_pipeline = self.init_measures(measures)
def __init__(self): self.log = natus_logging.NATUSLogging(self.__class__.__name__, logging.INFO) self.config = natus_config.NATUSConfig('ncqa') self.db_con = connector.Connector() self.db_con.collection_name = 'code_to_description' self.excel_sheetname = self.config.read_value('valueset', 'excel.sheetname') self.excel_filename = self.config.read_value('valueset', 'excel.filename') self.cpt_input_file = self.config.read_value('cms', 'cpt_input_file')
def __init__(self): self.log = natus_logging.NATUSLogging(self.__class__.__name__, logging.INFO) self.config = natus_config.NATUSConfig('ncqa') self.merged_member_filename = self.config.read_value('merge', 'merged.member.filename') self.members_input_filename = self.config.read_value('merge', 'members.input.filename') self.filter_output_filename = self.config.read_value('merge', 'filter.output.filename') self.run_date = datetime.now() self.enrollments = {} self.visits = {} self.providers = {} self.pharm = {} self.mmdf = {}
def __init__(self): self.config = natus_config.NATUSConfig('ncqa') self.log = natus_logging.NATUSLogging(self.__class__.__name__, logging.INFO)
def __init__(self): self.log = natus_logging.NATUSLogging(__class__.__name__, logging.INFO) self.config = natus_config.NATUSConfig('ncqa') self.db_con = connector.Connector() self.input_filename = self.config.read_value('ndc', 'input.csv.filename')