Esempio n. 1
0
    _report_data_29 = esData[13]['v']
    data["patient_gender"] = utils.data_check_type(utils.sex(_report_data_29))
    # 电  话
    data["patient_telephone"] = utils.data_check_type(esData[14]['v'])
    # icd
    #   icd_ok
    # ---------------------------------------------------------------------------------------------------------------
    # 事件发生日期
    data["HappenDate"] = utils.data_check_type(esData[15]['v'])

    # 发现或知悉日期
    data["KnowDate"] = utils.data_check_type(esData[16]['v'])

    # 医疗器械实际使用场所
    _report_data_33 = esData[17]['v']
    data["useplace"] = utils.data_check_type(utils.use(_report_data_33))

    # 事件后果
    _report_data_34 = esData[19]['v']
    data["event_consequence"] = utils.data_check_type(utils.event(_report_data_34))

    # 事件陈述
    data["event_memo"] = utils.data_check_type(esData[21]['v'])
    # ---------------------------------------------------------------------------------------------------------------
    # 报告人类别
    _report_data_36 = esData[45]['v']
    data["reporter_class"] = utils.data_check_type(utils.type_report(_report_data_36))
    # 报告人
    data["reporter"] = utils.data_check_type(esData[46]['v'])
    # ---------------------------------------------------------------------------------------------------------------
    # 死亡时间
Esempio n. 2
0
def production():
    "Production nodes"
    for node in instances('production-.*'):
        use(node)
    for node in cf_instances('production-.*'):
        use(node)
Esempio n. 3
0
def nodes(exp):
    "Select nodes based on a regular expression"
    for node in instances(exp):
        use(node)
    for node in cf_instances(exp):
        use(node)
Esempio n. 4
0
def ec2(exp='.*'):
    for node in instances(exp):
        use(node)
Esempio n. 5
0
def preview():
    "Preview nodes"
    for node in instances('preview-.*'):
        use(node)
    for node in cf_instances('preview-.*'):
        use(node)
Esempio n. 6
0
def all():
    "All nodes"
    for node in instances():
        use(node)
    for node in cf_instances():
        use(node)
Esempio n. 7
0
def cloudflare(exp='.*'):
    for node in cf_instances(exp):
        use(node)
Esempio n. 8
0
def nodes(exp):
    "Select nodes based on a regular expression"
    for node in instances(exp):
        use(node)
    for node in cf_instances(exp):
        use(node)
Esempio n. 9
0
    _report_data_29 = esData[13]['v']
    data["patient_gender"] = utils.data_check_type(utils.sex(_report_data_29))
    # 电  话
    data["patient_telephone"] = utils.data_check_type(esData[14]['v'])
    # icd
    #   icd_ok
    # ---------------------------------------------------------------------------------------------------------------
    # 事件发生日期
    data["HappenDate"] = utils.data_check_type(esData[15]['v'])

    # 发现或知悉日期
    data["KnowDate"] = utils.data_check_type(esData[16]['v'])

    # 医疗器械实际使用场所
    _report_data_33 = esData[17]['v']
    data["useplace"] = utils.data_check_type(utils.use(_report_data_33))

    # 事件后果
    _report_data_34 = esData[19]['v']
    data["event_consequence"] = utils.data_check_type(
        utils.event(_report_data_34))

    # 事件陈述
    data["event_memo"] = utils.data_check_type(esData[21]['v'])
    # ---------------------------------------------------------------------------------------------------------------
    # 报告人类别
    _report_data_36 = esData[45]['v']
    data["reporter_class"] = utils.data_check_type(
        utils.type_report(_report_data_36))
    # 报告人
    data["reporter"] = utils.data_check_type(esData[46]['v'])
Esempio n. 10
0
def production():
    "Production nodes"
    for node in instances("production-.*"):
        use(node)
    for node in cf_instances("production-.*"):
        use(node)
Esempio n. 11
0
def preview():
    "Preview nodes"
    for node in instances("preview-.*"):
        use(node)
    for node in cf_instances("preview-.*"):
        use(node)
Esempio n. 12
0
def ec2(exp=".*"):
    for node in instances(exp):
        use(node)
Esempio n. 13
0
def cloudflare(exp=".*"):
    for node in cf_instances(exp):
        use(node)
Esempio n. 14
0
def all():
    "All nodes"
    for node in instances():
        use(node)
    for node in cf_instances():
        use(node)