示例#1
0
文件: a_text.py 项目: shenpingle/tray
    _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'])
    # ---------------------------------------------------------------------------------------------------------------
    # 死亡时间
示例#2
0
文件: tasks.py 项目: dbuxton/cloth
def production():
    "Production nodes"
    for node in instances('production-.*'):
        use(node)
    for node in cf_instances('production-.*'):
        use(node)
示例#3
0
文件: tasks.py 项目: dbuxton/cloth
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)
示例#4
0
文件: tasks.py 项目: dbuxton/cloth
def ec2(exp='.*'):
    for node in instances(exp):
        use(node)
示例#5
0
文件: tasks.py 项目: dbuxton/cloth
def preview():
    "Preview nodes"
    for node in instances('preview-.*'):
        use(node)
    for node in cf_instances('preview-.*'):
        use(node)
示例#6
0
文件: tasks.py 项目: dbuxton/cloth
def all():
    "All nodes"
    for node in instances():
        use(node)
    for node in cf_instances():
        use(node)
示例#7
0
文件: tasks.py 项目: dbuxton/cloth
def cloudflare(exp='.*'):
    for node in cf_instances(exp):
        use(node)
示例#8
0
文件: tasks.py 项目: hazzadous/cloth
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)
示例#9
0
文件: a_text.py 项目: shenpingle/tray
    _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'])
示例#10
0
文件: tasks.py 项目: hazzadous/cloth
def production():
    "Production nodes"
    for node in instances("production-.*"):
        use(node)
    for node in cf_instances("production-.*"):
        use(node)
示例#11
0
文件: tasks.py 项目: hazzadous/cloth
def preview():
    "Preview nodes"
    for node in instances("preview-.*"):
        use(node)
    for node in cf_instances("preview-.*"):
        use(node)
示例#12
0
文件: tasks.py 项目: hazzadous/cloth
def ec2(exp=".*"):
    for node in instances(exp):
        use(node)
示例#13
0
文件: tasks.py 项目: hazzadous/cloth
def cloudflare(exp=".*"):
    for node in cf_instances(exp):
        use(node)
示例#14
0
文件: tasks.py 项目: hazzadous/cloth
def all():
    "All nodes"
    for node in instances():
        use(node)
    for node in cf_instances():
        use(node)