• 250
  • 246
  • 28

医院挂号预约

聚合数据 支持HTTPS 企业专用

此接口为测试环境,开发后需审核完成后找客服开通正式环境

  • 首次申请送200
  • 10000

¥0 (约元/次)首次申请送200次

  • API文档
  • 错误码参照
  • 示例代码
  • 联系我们
立即调用
接口地址:http://v.juhe.cn/yiyuan/hospitalParam.php
返回格式:json
请求方式:get post
请求示例:http://v.juhe.cn/yiyuan/hospitalParam.php?hospitalId=290153&key=你申请的key
接口备注:查询系统参数的值

请求参数说明:

名称 必填 类型 说明
  key string 在个人中心->我的数据,接口名称上方查看
  hospitalId String 医院编号
  paramCode string 参数编码,可以输入多个,用英文逗号隔开
  functionCode String 功能编码 可以输入多个,用英文逗号隔开

返回参数说明:

名称 类型 说明
  params JsonArray 模块值,params内容是一个数组对象,每项内容表示一个模块的详细信息
  code String 参数编码
  value String 参数值
  description String 参数值说明
  name String 参数名称
  functionCode String 功能编码

JSON返回示例:

{
    "reason": "success",
    "result": {
        "total": 124,
        "params": [
            {
                "code": "HOSPITAL_AUTH_VERIFY_SWITCH",
                "value": "0",
                "name": "医院权限校验开关",
                "description": "医院权限校验开关。0:关;1:开",
                "functionCode": null
            },
            {
                "code": "APPOINT_STOP_TIME",
                "value": "24",
                "name": "预约停止时间",
                "description": "整数或小数,二十四小时制。例:18.5表示下午6:30以后不能预约",
                "functionCode": null
            },
            {
                "code": "APPOINT_START_TIME",
                "value": "0",
                "name": "预约开始时间",
                "description": "整数或小数,二十四小时制。例:8.5表示上午8:30后可以预约",
                "functionCode": null
            },
            {
                "code": "APPOINT_DAYS",
                "value": "7",
                "name": "可预约天数",
                "description": "整数。例:2表示可预约今天和明天的号",
                "functionCode": null
            },
            {
                "code": "ONE_HID_WAY",
                "value": "1",
                "name": "预约号源模式",
                "description": "0:有号源,1:无号源",
                "functionCode": null
            },
            {
                "code": "IS_STRAIGHT_FOR_NANJING",
                "value": "0",
                "name": "南京12320平台预约模式",
                "description": "南京12320平台个性化参数,开表示是南京12320平台预约模式,关表示不是南京12320平台预约模式。0:关,1:开",
                "functionCode": null
            },
            {
                "code": "IS_VERIFY_MEDICAL_CARD_FOR_NANJING",
                "value": "0",
                "name": "南京预约验证就诊卡开关",
                "description": "南京12320平台个性化参数,开表示预约时需要用户名和密码,关则不需要,只针对南京12320平台需要就诊卡的医院且“南京12320平台预约模式”配置为“开”才有效。0:关,1:开",
                "functionCode": null
            },
            {
                "code": "CARDNO_TO_APPOINT",
                "value": "0",
                "name": "输入卡号预约挂号模式",
                "description": "开表示医院支持通过卡号直接进行预约挂号,关则表示不支持。0:关,1:开",
                "functionCode": null
            },
            {
                "code": "APT_COUNT",
                "value": "1000",
                "name": "同医院每日可预约次数",
                "description": "限制一个就诊者同一天可以在该医院预约的次数",
                "functionCode": null
            },
            {
                "code": "APPOINTCOUNT_NO_VISIT",
                "value": "1000",
                "name": "同科室未就诊可预约次数",
                "description": "表示用户有未就诊记录的情况下还可以预约该医院同一科室的次数。例:-1表示不做限制;0表示有未就诊的记录不能再次预约;其余正整数表示有未就诊的记录还能预约的次数",
                "functionCode": null
            },
            {
                "code": "ISCAN_APPOINT_CURDAY",
                "value": "0",
                "name": "预约当天号源",
                "description": "关表示医院不支持预约当天号源;开表示医院支持预约当天号源。0:关,1:开",
                "functionCode": null
            },
            {
                "code": "APPOINTCOUNT_VCARD",
                "value": "1000",
                "name": "虚拟卡预约挂号次数",
                "description": "控制无卡预约挂号的总次数。例0:无限制;其余正整数表示限制的次数",
                "functionCode": null
            },
            {
                "code": "APPOINT_PAY_WAY",
                "value": "0",
                "name": "预约缴费方式",
                "description": "不缴费表示预约不需要支付;缴费表示预约需要先完成支付才能进行预约;后缴费表示医院支持先锁号,后缴费。0:不缴费,1:缴费,2:后缴费",
                "functionCode": null
            },
            {
                "code": "CHANGE_REGIST_DAY",
                "value": "1",
                "name": "预约转挂号天数",
                "description": "用于限制转挂号日期。例:1表示就诊当天转挂号;2表示就诊前一天可以转挂号",
                "functionCode": null
            },
            {
                "code": "SPACE_TIME",
                "value": "6",
                "name": "提前转挂号时间限制",
                "description": "距就诊时间的小时数。例:0.5表示需要提前半小时,最大为6小时",
                "functionCode": null
            },
            {
                "code": "AM_TOREGIST_TIMES",
                "value": "0-12",
                "name": "上午可转挂号时间段",
                "description": "上午可转挂号时间段,没配置则根据上午挂号时间段参数来控制。例:7-9.5表示上午7点到9点半",
                "functionCode": null
            },
            {
                "code": "PM_TOREGIST_TIMES",
                "value": "12-24",
                "name": "下午可转挂号时间段",
                "description": "下午可转挂号时间段,没配置则根据下午挂号时间段参数来控制。例:12-15表示中午12点到下午3点",
                "functionCode": null
            },
            {
                "code": "IS_APPOINT_WEEK",
                "value": "0",
                "name": "是否可以预约周六、周日的号",
                "description": "控制能否预约周六、周日的号。0:是,1:否,2:仅可以预约周六上午的号",
                "functionCode": null
            },
            {
                "code": "APPOINTCOUNT_ONE_DEPT",
                "value": "1000",
                "name": "同科室当天可预约次数\t",
                "description": "限制一个就诊者同一科室每天可预约次数",
                "functionCode": null
            },
            {
                "code": "APPOINT_TERM",
                "value": "          预约条款\n欢迎预约安佳云测试医院,一下是一些您需要注意的内容们请仔细阅读。\n1.请确认好您的个人信息以及预约信息。\n2.预约成功之后请按时到医院就诊,若无法按时就诊请及时取消预约;超过两次预约未就诊则无法再次预约!\n3.如有疑问,可联系客服进行咨询,祝您早日康复!",
                "name": "预约条款",
                "description": "预约条款内容",
                "functionCode": null
            },
            {
                "code": "IS_SIGN_AMTIME",
                "value": "00:00-11:59",
                "name": "上午预约签到时间范围",
                "description": "24小时制,表示开始时间到就诊时间区间内可以签到。例:8:00-就诊时间",
                "functionCode": null
            },
            {
                "code": "IS_SIGN_PMTIME",
                "value": "12:00-23:59",
                "name": "下午预约签到时间范围",
                "description": "24小时制,表示开始时间到就诊时间区间内可以签到。例:14:00-就诊时间",
                "functionCode": null
            },
            {
                "code": "CANCEL_APPOINT_LIMIT",
                "value": "0",
                "name": "取消预约时限",
                "description": "距就诊日的天数。例:0表示就诊日之前可以取消预约(不包括就诊日当天),1表示就诊日前一天之前可以取消预约(不包括就诊日前一天)",
                "functionCode": null
            },
            {
                "code": "IS_CAN_CANCEL_AFTER_APPOINT_PAY",
                "value": "0",
                "name": "锁号期间取消锁号",
                "description": "针对开启后缴费模式(先锁号后缴费)的医院,开表示医院支持锁号期间取消锁号,否则不支持。0:关,1:开",
                "functionCode": null
            },
            {
                "code": "UNDOAPPLYNUM_TIMES_APPOINT",
                "value": "0",
                "name": "取消预约次数限制",
                "description": "未启用",
                "functionCode": null
            },
            {
                "code": "UNDOAPPLYNUM_TIMES_REGIST",
                "value": "0",
                "name": "取消挂号次数限制",
                "description": "未启用",
                "functionCode": null
            },
            {
                "code": "UNDOAPPLYNUM_DEADLINE_APPOINT",
                "value": null,
                "name": "取消预约截止时间",
                "description": "未启用",
                "functionCode": null
            },
            {
                "code": "UNDOAPPLYNUM_DEADLINE_REGIST",
                "value": null,
                "name": "取消挂号截止时间",
                "description": "未启用",
                "functionCode": null
            },
            {
                "code": "ABANDON_LIMIT_IS_BY_TIME",
                "value": "0",
                "name": "取消业务限制到就诊时间点",
                "description": "开表示在就诊时间之前可以做取消业务,关表示就诊时间后也可以做取消业务。0:关,1:开",
                "functionCode": null
            },
            {
                "code": "CANNOT_CANCEL_APPOINT_TIME",
                "value": null,
                "name": "限制取消预约时间段",
                "description": "限制某一时间区间不能取消预约。例:23:00-24:00表示每天这个时间区间不能取消预约。",
                "functionCode": null
            },
            {
                "code": "SYNC_CANCEL_SCHEDULE",
                "value": "0",
                "name": "停诊功能开关",
                "description": "开表示医院开启停诊功能,关则表示医院未开启。0:关,1:开",
                "functionCode": null
            },
            {
                "code": "HID_WAY_REGIST",
                "value": "1",
                "name": "挂号号源模式",
                "description": "0:有号源,1:无号源",
                "functionCode": null
            },
            {
                "code": "REGISTCOUNT_ONE_DEPT",
                "value": "1",
                "name": "同科室当天可挂号次数",
                "description": "限制一个就诊者同一科室每天可挂号次数",
                "functionCode": null
            },
            {
                "code": "REG_COUNT",
                "value": "2",
                "name": "同医院当天可挂号次数",
                "description": "限制一个就诊者同一天可以在该医院挂号的次数",
                "functionCode": null
            },
            {
                "code": "AM_TIMES",
                "value": "0-12",
                "name": "上午可挂号时间段",
                "description": "上午可挂号的时间区间。例7.5-11表示上午7:30-11:00可以挂号",
                "functionCode": null
            },
            {
                "code": "PM_TIMES",
                "value": "12-24",
                "name": "下午可挂号时间段",
                "description": "上午可挂号的时间区间。例13.5-17表示下午13:30-17:00可以挂号",
                "functionCode": null
            },
            {
                "code": "OVERTIME",
                "value": "19",
                "name": "挂号下班时间",
                "description": "(OVERTIME)控制挂号下班时间,19表示下午7点",
                "functionCode": null
            },
            {
                "code": "REGIST_PAY_WAY",
                "value": "1",
                "name": "挂号缴费方式",
                "description": "不缴费表示挂号不需要支付;缴费表示预约需要先完成支付才能进行挂号;后缴费表示医院支持先锁号,后缴费。0:不缴费,1:缴费,2:后缴费",
                "functionCode": null
            },
            {
                "code": "REGIST_TERM",
                "value": null,
                "name": "挂号条款",
                "description": "挂号条款内容",
                "functionCode": null
            },
            {
                "code": "AM_GET_TIME",
                "value": "12:00",
                "name": "取号:上午建议取号截止时间",
                "description": "12小时制。例:11:00表示上午11:00后不能取号",
                "functionCode": null
            },
            {
                "code": "PM_GET_TIME",
                "value": "06:00",
                "name": "取号:下午建议取号截止时间",
                "description": "12小时制。例:05:00表示下午5:00后不能取号",
                "functionCode": null
            },
            {
                "code": "AM_GET_PM",
                "value": "1",
                "name": "取号:是否支持上午取下午的号",
                "description": "是表示支持上午取下午的号,否表示不能上午取下午的号。0:否,1:是",
                "functionCode": null
            },
            {
                "code": "BEFORE_MIN",
                "value": "30",
                "name": "取号:提前取号时间(分钟)",
                "description": "就诊前提前取号时间(分钟)。例:30表示若就诊时间是11:00,则10:30之前必须取号",
                "functionCode": null
            },
            {
                "code": "APPOINT_PAY_TIMER",
                "value": "15",
                "name": "支付有限时间",
                "description": "针对预约、挂号后缴费模式,锁号成功后的支付时限。例:15表示锁号成功后有15分钟的支付时间,未支付则预约、挂号失败",
                "functionCode": null
            },
            {
                "code": "IDNO_CHECK",
                "value": "1",
                "name": "是否支持虚拟身份证预约挂号",
                "description": "针对没有身份证的儿童,医院是否支持使用虚拟身份证能否预约挂号。0:否,1:是",
                "functionCode": null
            },
            {
                "code": "IS_ONLINE_PAY",
                "value": "1",
                "name": "是否支持社保卡/医保卡线上缴费",
                "description": "限制预约挂号需要交费时社保卡/医保卡能否支付。0:否,1:是",
                "functionCode": null
            },
            {
                "code": "VIRTUAL_CARD_TYPE",
                "value": "3,1,2",
                "name": "虚拟卡支持类型",
                "description": "控制支持无卡预约挂号业务的类型,可支持多种业务。1:预约,2:预约转挂号,3:挂号",
                "functionCode": null
            },
            {
                "code": "CHILDREN_AGE",
                "value": "-1",
                "name": "儿童年龄限制",
                "description": "年龄小于所配年龄视为儿童,可预约挂号仅限儿童预约挂号的科室",
                "functionCode": null
            },
            {
                "code": "APPOINT_REGIST_DEPT_LIMIT_CHILDREN",
                "value": null,
                "name": "仅限儿童预约挂号科室",
                "description": "用于配置医院限制儿童预约挂号的科室,配置内容为科室编码,多个科室以英文逗号隔开",
                "functionCode": null
            },
            {
                "code": "APPOINT_DEPTLIMIT_MAN",
                "value": null,
                "name": "仅限男性预约挂号科室",
                "description": "用于配置医院限制男性预约挂号的科室,配置内容为科室编码,多个科室以英文逗号隔开",
                "functionCode": null
            },
            {
                "code": "APPOINT_DEPTLIMIT_WOMAN",
                "value": null,
                "name": "仅限女性预约挂号科室",
                "description": "用于配置医院限制女性预约挂号的科室,配置内容为科室编码,多个科室以英文逗号隔开",
                "functionCode": null
            },
            {
                "code": "IS_EXCLUSIVENUM",
                "value": "0",
                "name": "是否为独占号源",
                "description": "1:是,0:否",
                "functionCode": null
            },
            {
                "code": "SCHEDULE_INFO_FROM",
                "value": "0",
                "name": "排班信息来源",
                "description": "控制排班信息数据来源。0:端,1:医院+",
                "functionCode": null
            },
            {
                "code": "ONE_HID_COUNT",
                "value": "0",
                "name": "无号源模式是否限制号源数量",
                "description": "是表示限制号源数量,达到此限数则不能再进行预约挂号,否表示不限制。0:否,1:是",
                "functionCode": null
            },
            {
                "code": "APPOINT_COUNT_NO_CONTROL",
                "value": "1",
                "name": "预约挂号次数是否受系统参数控制的开关",
                "description": "是表示受系统参数控制,否则表示不受系统参数控制。0:否,1:是",
                "functionCode": null
            },
            {
                "code": "SCHEDULE_DAYS",
                "value": "7",
                "name": "获取排班天数",
                "description": "整数。例:2表示可获取今天和明天的排班",
                "functionCode": null
            },
            {
                "code": "GET_DEPTINFO_FROM_TERMINAL",
                "value": "0",
                "name": "是否从端获取科室",
                "description": "0:否,1:是",
                "functionCode": null
            },
            {
                "code": "PATIENT_ADDRESS_SWITCH",
                "value": "0",
                "name": "是否需要患者住址信息预约挂号",
                "description": "0:否,1:是",
                "functionCode": null
            },
            {
                "code": "NET_HOS_FLOW_TYPE",
                "value": "0",
                "name": "网络医院流程配置",
                "description": "0:科室属性,1:医生在线",
                "functionCode": null
            },
            {
                "code": "VISIT_DATE_FORMAT",
                "value": "0",
                "name": "医院就诊日期格式",
                "description": "0:yyyy-MM-dd,1:yyyy/MM/dd;默认yyyy-MM-dd",
                "functionCode": null
            },
            {
                "code": "HIS_QUERY_PATIENT_MARK",
                "value": "0,1,2,3,4",
                "name": "患者在医院的唯一标识条件",
                "description": "表示医院是通过哪些条件唯一标识一名患者。0:病人编号,1:病人姓名,2:手机号,3:身份证号,4:就诊卡号",
                "functionCode": null
            },
            {
                "code": "PATIENT_NECESSARY_INFO",
                "value": null,
                "name": "患者必须提供的字段",
                "description": "表示医院必须包含的患者信息。1:家庭住址,2:现居地,3:职业,4:婚姻状况,5:家长姓名",
                "functionCode": null
            },
            {
                "code": "IS_UPDATE_CLINICDURATION",
                "value": "0",
                "name": "医院是否回写号源信息",
                "description": "医院选择号源后,端循环预约遍历有效的号源导致CLINIC_DURATION改变,需要同步到云记录,提示患者预约的是哪个号",
                "functionCode": null
            },
            {
                "code": "SCHEDULE_REMIND_MODEL",
                "value": "0",
                "name": "放号提醒模式",
                "description": "医院是否开通放号提醒模式。0:关;1:开",
                "functionCode": null
            },
            {
                "code": "SCHEDULE_TIME",
                "value": null,
                "name": "每天具体放号时间",
                "description": "24小时制,如一天内多次放号,以“,”隔开。例:8:00,13:00表示8:00和13:00放号",
                "functionCode": null
            },
            {
                "code": "SCHEDULE_PERIOD",
                "value": "0",
                "name": "放号周期维度",
                "description": "医院放号的时间周期维度,分为天、周、月。0:天;1:周;2:月",
                "functionCode": null
            },
            {
                "code": "SCHEDULE_TIME_CYCLE",
                "value": null,
                "name": "放号时间(对应周期维度)",
                "description": "在一个维度里多次放号,则以“,”分隔放号时间。放号周期为天,该参数为空;放号周期为周,该参数为星期。例:1,3表示每周一、三放号;放号周期为月,该参数为日期。例:10,20表示每月10、20日放号",
                "functionCode": null
            },
            {
                "code": "SMS_SUPPORT_TYPE",
                "value": null,
                "name": "短信支持类型",
                "description": "短信支持类型,选中发送相应的短信。短信模板中:{0}:业务类型(预约/挂号),{1}:就诊者姓名,{2}:就诊日期,{3}:就诊时间点,{4}:医院名称,{5}:科室名称,\n  {6}:医生姓名,{7}:医院流水号,{8}:门诊编号,{9}:就诊序号,{10}:就诊地点,{11}:挂号费,{12}:病人编号,{13}:预约验证码,{14}:标准失败原因,{15}:就诊提示内容,{16}取消内容",
                "functionCode": null
            },
            {
                "code": "SMS_SUCCESS_TEMPLATE",
                "value": "{1}您成功{0}了{2}{3}{4}-{5}-{6}的门诊。{15}{16}详情请咨询客服400-080-1010",
                "name": "预约/挂号/转挂号成功短信模板",
                "description": "不要以标点符号结尾,{15}代表原先APP的就诊提示内容,{16}代表原先APP的取消内容,在{15}和{16}之间可拼接原先APP的[短信内容],{15}之后不需要标点符号。请确保医院会返回相应字段值。",
                "functionCode": null
            },
            {
                "code": "SMS_FAIL_TEMPLATE",
                "value": "{1}您{2}{3}{4}-{5}-{6}的门诊{0}失败,请重新预约。如已缴费,退款将在7个工作日内通过原支付渠道返还,详情请咨询客服400-080-1010",
                "name": "预约/挂号/转挂号失败短信模板",
                "description": "不要以标点符号结尾,请确保医院会返回相应字段值。",
                "functionCode": null
            },
            {
                "code": "SMS_CANCEL_SUCCESS_TEMPLATE",
                "value": "{1}您成功取消了{2}{3}{4}-{5}-{6}的门诊。如已缴费,退款将在7个工作日内通过原支付渠道返还,详情请咨询客服400-080-1010",
                "name": "预约/挂号/转挂号取消成功短信模板",
                "description": "不要以标点符号结尾,请确保医院会返回相应字段值。",
                "functionCode": null
            },
            {
                "code": "SMS_CANCEL_FAIL_TEMPLATE",
                "value": "{1}您预约的{2}{3}{4}-{5}-{6}的门诊取消失败。【失败原因】{14}详情请咨询客服400-080-1010",
                "name": "预约/挂号/转挂号取消失败短信模板",
                "description": "不要以标点符号结尾,请确保医院会返回相应字段值。",
                "functionCode": null
            },
            {
                "code": "SMS_STOP_TEMPLATE",
                "value": "{1},您预约的{4}-{5}-{6}的门诊{2}{3}停诊。详情请咨询客服400-080-1010",
                "name": "预约停诊短信模板",
                "description": "不要以标点符号结尾,请确保医院会返回相应字段值。",
                "functionCode": null
            },
            {
                "code": "SMS_DUE_TEMPLATE",
                "value": "{1}您的预约就诊时间为{2}{3},请按时前往{4}-{5}-{6}门诊处就诊。详情请咨询客服400-080-1010",
                "name": "预约就诊短信模板",
                "description": "不要以标点符号结尾,请确保医院会返回相应字段值。",
                "functionCode": null
            },
            {
                "code": "GET_TYPE_APPOINT0",
                "value": null,
                "name": "无卡预约取号",
                "description": "无卡预约的取号方式:00:无卡,01:身份证,02:身份证号(二维码),03:验证码,04:手机号,05:取号就诊码,06:本预约挂号记录,07:预约挂号通知短信,08:病人编号(条形码),09:病人编号(二维码),\n10:门诊编号(条形码),11:门诊编号(二维码),12:预约号,13:就诊卡号,14:就诊序号,15:缴费凭证,16:取号密码,17:病历本",
                "functionCode": null
            },
            {
                "code": "GET_TYPE_LIST_APPOINT0",
                "value": null,
                "name": "无卡预约模板",
                "description": "无卡预约就诊提示模板",
                "functionCode": null
            },
            {
                "code": "GET_TYPE_DETAIL_APPOINT0",
                "value": null,
                "name": "无卡预约就诊提示",
                "description": "根据选择的模板配置,{}外的内容不可编辑。{1}:取号时间",
                "functionCode": null
            },
            {
                "code": "SYNC_PRICE_BOARD",
                "value": "0",
                "name": "价格公示同步开关",
                "description": "0:关闭;1:同步",
                "functionCode": null
            },
            {
                "code": "REG_FEE",
                "value": "0",
                "name": "医生挂号费",
                "description": "医生挂号费用配置",
                "functionCode": null
            },
            {
                "code": "DIAG_FEE",
                "value": "0",
                "name": "医生诊疗费",
                "description": "医生诊疗费配置",
                "functionCode": null
            },
            {
                "code": "PHARMACY_FEE",
                "value": "0",
                "name": "医生药事费",
                "description": "医生药事费配置",
                "functionCode": null
            },
            {
                "code": "ADDED_FEE",
                "value": "0",
                "name": "其他费",
                "description": "医生其他配置",
                "functionCode": null
            },
            {
                "code": "REG_ONLINE_LIMIT",
                "value": "0",
                "name": "线上预约限数",
                "description": "线上预约限数",
                "functionCode": null
            },
            {
                "code": "REG_OFFLINE_LIMIT",
                "value": "0",
                "name": "线下预约限数",
                "description": "线下预约限数",
                "functionCode": null
            },
            {
                "code": "APT_ONLINE_LIMIT",
                "value": "0",
                "name": "线上挂号限数",
                "description": "线上挂号限数",
                "functionCode": null
            },
            {
                "code": "APT_OFFLINE_LIMIT",
                "value": "0",
                "name": "线下挂号限数",
                "description": "线下挂号限数",
                "functionCode": null
            },
            {
                "code": "START_WORD_TIME_AM",
                "value": "09:00",
                "name": "上午上班时间",
                "description": "上午开始上班时间",
                "functionCode": null
            },
            {
                "code": "STOP_WORD_TIME_AM",
                "value": "11:30",
                "name": "上午下班时间",
                "description": "上午医院停止问诊时间",
                "functionCode": null
            },
            {
                "code": "START_WORD_TIME_PM",
                "value": "13:30",
                "name": "下午上班时间",
                "description": "下午开始上班时间",
                "functionCode": null
            },
            {
                "code": "STOP_WORD_TIME_PM",
                "value": "17:30",
                "name": "下午下班时间",
                "description": "下午医院下班时间",
                "functionCode": null
            },
            {
                "code": "IS_DISTINGUISH_HID_TYPE",
                "value": "0",
                "name": "是否区分号别",
                "description": "0:否,1:是",
                "functionCode": null
            },
            {
                "code": "HID_SHARED_TYPE",
                "value": "0",
                "name": "是否开启号源独享",
                "description": "0:共享1:独享",
                "functionCode": null
            },
            {
                "code": "HID_SCHEDULE_TMP_MODEL",
                "value": "0",
                "name": "排班模板管理模式",
                "description": "0:周+班次 1:星期+班次",
                "functionCode": null
            },
            {
                "code": "HID_SCHEDULE_TMP_CREATE_NUMBER",
                "value": "1",
                "name": "自动生成排班周数",
                "description": "批量生成排班和号源的周数,最大不能超过104周",
                "functionCode": null
            },
            {
                "code": "REG_HID_MODEL",
                "value": "0",
                "name": "号源模式",
                "description": "0:时间点模式 1:时间段模式",
                "functionCode": null
            },
            {
                "code": "HID_ORDER_WAY",
                "value": "HB_TIME",
                "name": "号源排序方式",
                "description": "获取号源时,返回号源的排序方式(HID,HB_TIME,SERIAL_NO)默认升序",
                "functionCode": null
            },
            {
                "code": "RPT_LAB_CLINIC_QUERY_TYPE",
                "value": "1",
                "name": "门诊检验单查询方式",
                "description": "医院支持查询住院检验单的方式。1:病人编号,2:病人编号+姓名,3:身份证号+姓名,4:手机号+姓名,6.住院单号",
                "functionCode": null
            },
            {
                "code": "RPT_LAB_HOSP_QUERY_TYPE",
                "value": "3",
                "name": "住院检验单查询方式",
                "description": "医院支持查询住院检验单的方式。1:病人编号,2:病人编号+姓名,3:身份证号+姓名,4:手机号+姓名",
                "functionCode": null
            },
            {
                "code": "REPORT_EXAM_CLINIC_QUERY_TYPE",
                "value": "1",
                "name": "门诊检查单查询方式",
                "description": "医院支持查询门诊检查单的方式。1:病人编号,2:病人编号+姓名,3:身份证号+姓名,4:手机号+姓名",
                "functionCode": null
            },
            {
                "code": "REPORT_EXAM_HOSP_QUERY_TYPE",
                "value": "3",
                "name": "住院检查单查询方式",
                "description": "医院支持查询住院检验单的方式。1:病人编号,2:病人编号+姓名,3:身份证号+姓名,4:手机号+姓名,6.住院单号",
                "functionCode": null
            },
            {
                "code": "RPT_PHYSICAL_EXAN_QUERY_TYPE",
                "value": "2",
                "name": "体检单查询方式",
                "description": "医院支持查询体检单单的方式。1:身份证或电话号,2:体检单号",
                "functionCode": null
            },
            {
                "code": "CARD_TYPE",
                "value": "0",
                "name": "医院支持的卡类型",
                "description": "卡类型(0:虚拟卡,1:就诊卡, 2:社保卡, 3:省医保, 4:市医保,5:其他卡,6:健康卡,41:海宁卡,42:盐城医保卡,43:江苏新农合)",
                "functionCode": null
            },
            {
                "code": "COMM_VCARD_NO_GEN",
                "value": "0",
                "name": "是否医院生成",
                "description": "1是:按照虚拟卡生成规则医院生成  0否:由趣医生成,默认生成规则:Q+年的后两位+月+日+(000-999)",
                "functionCode": null
            },
            {
                "code": "CREATERULE",
                "value": "1350000-1369999",
                "name": "虚拟卡生成规则",
                "description": "0",
                "functionCode": null
            },
            {
                "code": "HOS_SUPPERT_VCARD_LENGTH",
                "value": "0",
                "name": "医院支持虚拟卡位数",
                "description": "0:10位,1:11位",
                "functionCode": null
            },
            {
                "code": "QUERY_CARD_TYPE",
                "value": "1,2,3",
                "name": "就诊卡查询方式",
                "description": "医院支持的就诊卡查询方式。1:身份证号+姓名,2:手机号+姓名,3:卡号+姓名;如果支持多种方式,以逗号分隔",
                "functionCode": null
            },
            {
                "code": "REMOTE_BUILD_CARD",
                "value": "false",
                "name": "远程建卡",
                "description": "表示医院是否支持远程建卡,支持的情况下是否需要用户输入密码。false:不支持,true:无需密码,input:需要密码",
                "functionCode": null
            },
            {
                "code": "CARD_RECHARGE_NEED_ID_NO",
                "value": "0",
                "name": "就诊卡充值是否需要使用身份证",
                "description": "表示医院就诊卡充值是是否验证身份证。0:否,1:是",
                "functionCode": null
            },
            {
                "code": "SUPPORT_CARD_RECHARGE_FOR_KID",
                "value": "1",
                "name": "就诊卡充值是否支持虚拟身份证",
                "description": "针对没有身份证的就诊者,例如儿童,医院是否支持用虚拟身份证进行充值。0:否,1:是",
                "functionCode": null
            },
            {
                "code": "OPEN_BUILT_QUEUING_SYSTEM",
                "value": "0",
                "name": "内建排队系统开关",
                "description": "在医院没有开通排队叫号功能时,是否开启内建排队系统。0:关,1:开",
                "functionCode": null
            },
            {
                "code": "HOSPITALIZATION_SETTLEMENT_QUERY_TYPE",
                "value": "1",
                "name": "住院已结算查询方式",
                "description": "医院支持的住院已结算查询方式。1:姓名+身份证号,2:发票号,3:发票号+发票金额,4:住院号+姓名,5:发票号+发票金额+时间",
                "functionCode": null
            },
            {
                "code": "HOSPITALIZATION_PREFEE_QUERY_TYPE",
                "value": "1",
                "name": "住院预交金查询方式",
                "description": "医院支持的住院预交金查询方式。1:住院号,2:身份证+姓名",
                "functionCode": null
            },
            {
                "code": "QUERY_BY_INP",
                "value": "1",
                "name": "住院费用查询方式",
                "description": "医院支持的住院费用查询方式。1:身份证+姓名,2:住院号+姓名,3:手机号+姓名",
                "functionCode": null
            },
            {
                "code": "CLINIC_INPATIENT_RECORDS_QUERY_TYPE",
                "value": "2",
                "name": "住院记录查询方式",
                "description": "医院支持的住院记录查询方式。1:住院号,2:身份证,3:手机号",
                "functionCode": null
            },
            {
                "code": "HOSPITALIZATION_EXTEND_QUERY_TYPE",
                "value": "1",
                "name": "住院已结算扩展查询方式",
                "description": "1:姓名+住院号,2:姓名+业务流水号,3:姓名+发票号,4:姓名+患者id+入院时间段,5:姓名+年龄范围+性别+入院时间段,6:姓名",
                "functionCode": null
            },
            {
                "code": "QUERY_PAYRES_TYPE",
                "value": "1",
                "name": "门诊待缴费的查询方式",
                "description": "医院支持查询门诊待缴费的方式。1:病人编号,2:病人编号+姓名,3:身份证号+姓名,4:手机号+姓名",
                "functionCode": null
            },
            {
                "code": "GROUP_BY",
                "value": "1",
                "name": "门诊待缴费记录分组条件",
                "description": "医院针对门诊待缴费记录的分组方式。1:流水号,2:处方号,3:执行科室,4:项目类别",
                "functionCode": null
            },
            {
                "code": "CLINIC_PAYMENT_MODE",
                "value": "0",
                "name": "门诊缴费支付模式",
                "description": "单笔表示该医院一次只能缴一笔,多笔表示该医院可以缴多笔,全部表示该医院必须一次性缴所有待缴费。0:单笔,1:多笔,2:全部",
                "functionCode": null
            },
            {
                "code": "CLINIC_SETTLEMENT_QUERY_TYPE",
                "value": "3",
                "name": "门诊已结算查询方式",
                "description": "医院支持查询门诊已结算的方式。1:就诊卡,2:就诊卡+姓名,3:身份证号+姓名,4:手机号+姓名,5:发票号,6:发票号+金额,7:发票号+金额+时间",
                "functionCode": null
            },
            {
                "code": "IS_CLINIC_REFUND_MORE_APPLY",
                "value": "0",
                "name": "是否支持线上多次申请退费",
                "description": "0:否;1:是",
                "functionCode": null
            },
            {
                "code": "CLINIC_SETTLEMENT_EXTEND_QUERY_TYPE",
                "value": "1",
                "name": "门诊已结算扩展查询方式",
                "description": "1:姓名+业务流水号,2:姓名+发票号,3:姓名+患者ID+就诊时间段,4:姓名+年龄范围段+性别+就诊时间段,5:姓名",
                "functionCode": null
            },
            {
                "code": "RETURN_GROUP",
                "value": "0",
                "name": "线上退费分组条件",
                "description": "1:流水号,2:处方号,3:执行科室,4:项目类别",
                "functionCode": null
            },
            {
                "code": "RETURN_TYPE",
                "value": "1",
                "name": "门诊费用线上申请退费方式",
                "description": "1:按订单号进行退费;2:按分组条件进行退费,默认按订单号退费,模式2需要配置【线上退费分组条件】",
                "functionCode": null
            },
            {
                "code": "MOMENTS_SAVE_PATIENT_INFO_SWITCH",
                "value": "0",
                "name": "病友圈保存用户信息开关",
                "description": "病友圈保存用户信息开关,1:开启,0:关闭",
                "functionCode": null
            }
        ]
    },
    "error_code": 0
}

服务级错误码参照(error_code):

  错误码 说明
  225000 网络繁忙,请稍后重试
  225001 数据源相关错误信息,具体看接口返回
  225002 参数错误

系统级错误码参照:

  错误码 说明 旧版本(resultcode)
  10001 错误的请求KEY 101
  10002 该KEY无请求权限 102
  10003 KEY过期 103
  10004 错误的OPENID 104
  10005 应用未审核超时,请提交认证 105
  10007 未知的请求源 107
  10008 被禁止的IP 108
  10009 被禁止的KEY 109
  10011 当前IP请求超过限制 111
  10012 请求超过次数限制 112
  10013 测试KEY超过请求限制 113
  10014 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失) 114
  10020 接口维护 120
  10021 接口停用 121

错误码格式说明(示例:200201):

  2 002 01
  服务级错误(1为系统级错误) 服务模块代码(即数据ID) 具体错误代码

完整教学代码示例:

  语言 标题 提供者 时间

常见问题:

  内容 详细
  常见问题: http://www.juhe.cn/qa/index/1545190417

联系我们

  内容 详细
  接口测试: API测试工具
  技术支持: info@juhe.cn
  联系电话: 400-8827-715
  在线客服QQ: 800076065

猜你喜欢

现在注册,百款接口免费测试

免费注册