新增/编辑患者Api

简要描述
  • 新增/修改 患者信息
请求URL
  • 新增: http://xx.com/ApiPatient/AddPatient/1
  • 修改: http://xx.com/ApiPatient/UpdatePatient/1
请求方式
  • Post
请求参数说明
参数名 类型 说明
Code int 0:成功 -1:失败
Data Object 患者对象
患者对象字段说明
参数 类型 描述
id number 患者本地id(修改时必填)
patient_ID string 患者番号(修改时必填,新增为空)
Patient_NO string 患者本地番号(必填)
Patient_ID_Number number 患者枝番号 暂时不知道作用,默认为1
wholeName string 患者氏名(必填)
wholeName_inKana string 患者カナ氏名(必填)
birthDate string 出生日期(必填)
sex string 性别 1:男 2:女(必填)
sexName string 性别名称(男或女)
Department_Code string 诊疗科编码
Department_WholeName string 诊疗科名称
Physician_Code string 担当医师编码
Physician_WholeName string 担当医师姓名
houseHolder_WholeName string 世帯主名
contraindication1 string 禁忌1
contraindication2 string 禁忌2
allergy1 string アレルギー1
allergy2 string アレルギー2
infection1 string 感染症1
infection2 string 感染症2
comment1 string コメント1
comment2 string コメント2
testPatient_Flag string テスト患者区分(0:患者、1:テスト患者)
death_Flag string 死亡区分(1:死亡)
occupation string 職業(职业)
nickName string 通称名
cellularNumber string 携帯電話番号
faxNumber string FAX番号
emailAddress string 電子メールアドレス
condition_Information object 状態情報
- patient_ID string 患者番号
- condition1 string 状態1
- condition1_Name string 状態1名称
- condition2 string 状態2
- condition2_Name string 状態2名称
- condition3 string 状態3
- condition3_Name string 状態3名称
reduction_Reason string 減免事由番号
reduction_Reason_Name string 減免事由
discount string 割引率
discount_Name string 割引率
condition1 string 状態番号1
condition1_Name string 状態1
condition2 string 状態番号2
condition2_Name string 状態2
condition3 string 状態番号3
condition3_Name string 状態3
ic_Code string 入金方法区分
ic_Code_Name string 入金方法
community_Cid string 地域連携ID
community_Cid_Agree string 同意フラグ(True:同意する、False:それ以外)
firstVisit_Date string 初回受診日
lastVisit_Date string 最終受診日
inOut string 外入区分名称
inOutCode string 外入区分编码
bloodType string 血腥
bloodTypeCode string 血型编码
age number 年龄
weight number 体重
height number 身高
job string 职业
jobId string 职业id
relationship string 続柄(亲属关系)
relationCode string 亲属关系编码
lastDate datetime 最终诊疗日
remark string 备注
askTicketId number 问诊票id
appointList array 预约记录
healthInsurance_Information object 保険情報
- patient_ID string
- healthInsuredPerson_Symbol string 記号
- healthInsuredPerson_Number string 番号
- healthInsuredPerson_Branch_Number string 枝番
- healthInsuredPerson_Continuation string 継続区分
- healthInsuredPerson_WholeName string 被保険者名
- insuranceProvider_Class string 保険の種類
- insuranceProvider_Number string 保険者番号
- insuranceProvider_WholeName string 保険の制度名称
- loadRate number 负担率
- relationToInsuredPerson string 本人家族区分
- healthInsuredPerson_Assistance string 補助区分
- HealthInsuredPerson_Assistance_Name string 補助区分名称
- rate_Class string (老福)負担区分
- certificate_StartDate string 有効年月日
- certificate_ExpiredDate string 終了年月日
- certificate_GetDate string 資格取得日
- insurance_CheckDate string 最終確認日
- weal string 福祉(漢字)
- wealN string 福祉(カナ)
- publicInsurance_Information array 公費情報
- - patient_ID string 患者番号
- - publicInsurance_Class string 公費の種類
- - publicInsurance_Name string 公費の種類名称
- - publicInsurer_Number string 負担者番号
- - publicInsuredPerson_Number string 受給者番号
- - certificate_IssuedDate string 適用開始日
- - certificate_ExpiredDate string 適用終了日
- - certificate_CheckDate string 確認日付(公費)
- - rate_Admission string 入院ー負担率(割)
- - money_Admission string 入院ー固定額
- - rate_Outpatient string 外来ー負担率(割)
- - money_Outpatient string 外来ー固定額
- - loadRate string 负担率
care_Information object 介護情報
- insurance array 介護保険情報
- - patient_ID string 患者番号
- - insuranceProvider_Number string 保険者番号
- - healthInsuredPerson_Number string 被保険者番号
- - certificate_StartDate string 開始
- - certificate_ExpiredDate string 終了
- certification array 介護認定情報
- - patient_ID string 患者番号
- - insuranceProvider_Number string 要介護状態コード
- - healthInsuredPerson_Number string 要介護状態
- - certification_Date string 認定日
- - certificate_StartDate string 開始
- - certificate_ExpiredDate string 終了
- community_Disease array
- - patient_ID string 患者番号
- - target_Disease string 高血圧症、糖尿病、脂質異常症、認知症の順に内容を表示(True:対象病名である、False:対象でない)
personally_Information object 患者個別情報
- patient_ID string 患者番号
- pregnant_Class string 妊婦区分(True:妊婦である;True以外:妊婦でない)
- community_Disease2 string 認知症地域包括診療加算算定(True:該当である)
- community_Disease3 string 小児かかりつけ診療料算定(True:該当である)
individual_Number array 個人番号情報
- patient_ID string 患者番号
- in_Id string Id_key
- in_Number string 個人番号
- in_Description string 備考(説明)
auto_Management_Information array 管理料等自動算定情報
- patient_ID string 患者番号
- medication_Code string 管理料コード
- medication_Name string 管理料名称
- medication_EndDate string 有効終了日
patient_Contra_Information array 患者禁忌薬剤情報
- patient_ID string 患者番号
- medication_Code string 薬剤コード
- medication_Name string 薬剤名称
- medication_EndDate string 有効終了日
- contra_StartDate string 禁忌開始日
- SpecialInfo string 特记事项
home_Address_Information object 自宅情報
- patient_ID string 患者番号
- address_ZipCode string 郵便番号
- wholeAddress1 string 住所
- wholeAddress2 string 番地番号
- wholeAddress3 string
- phoneNumber1 string 自宅電話番号
- phoneNumber2 string 連絡先電話番号
workPlace_Information object 勤務先情報
- patient_ID string 患者番号
- wholeName string 勤務先名
- address_ZipCode string 郵便番号
- wholeAddress1 string 住所
- wholeAddress2 string 番地番号
- phoneNumber string 電話番号
contact_Information object 連絡先情報
- patient_ID string 患者番号
- wholeName string 連絡先名称
- relationship string 続柄
- address_ZipCode string 郵便番号
- wholeAddress1 string 住所
- wholeAddress2 string 番地番号
- phoneNumber1 string 電話番号(昼)
- phoneNumber2 string 電話番号(夜
home2_Information object 帰省先情報
- patient_ID string 患者番号
- wholeName string 帰省先名称
- address_ZipCode string 郵便番号
- wholeAddress1 string 住所
- wholeAddress2 string 番地番号
- phoneNumber string 電話番号
familyInfo array 家族情报
- patient_ID string 患者番号
- relationship string 亲属关系
- beforeName string 名前
- birthDate string 出生年月
- physician_Code string 医师编号
- physician_WholeName string 医师姓名
- area string
- disease string 持病
- specialInfo string 特记事项
patientGroup array 患者分类
- patient_ID string 患者番号
- parentGroupId number 父级分类id
- parentGroupName string 父级分类名称
- groupId number 分类id
- groupName string 分类名称
chargeInfo array 担当者信息
- patient_ID string 患者番号
- physician_ID string 医师番号
- name string 担当者名
- area string 区分
- classify string 分类
hospitalizedInfo array 出入院信息
- patient_ID string 患者番号
- inDate string 入院日期
- outDate string 出院日期
- area string 区分
- block string 病栋
- roomNumber string 病室
- department_Code string 诊疗科
- days string 入院天数
payment_Information object 支払情報
- patient_ID string 患者番号
- reduction_Reason string 減免事由
- reduction_Reason_Name string 減免事由
- discount string 割引率
- discount_Name string 割引率
- ic_Code string 入金方法区分
- ic_Code_Name string 入金方法名称
AttributeInfo array 患者属性
- patient_ID string 患者番号
- AttributeCode string 属性编号
- AttributeName string 属性名称
- SpecialInfo string 特记事项
CommonlyMedicinesInfo array 常用药
- patient_ID string 患者番号
- Medication_Code string 薬剤コード
- Medication_Name string 薬剤名称
- Amount string 用量
- Medication_EndDate string 有効終了日
- Contra_StartDate string 開始日
- SpecialInfo string 特记事项
TsukasaInfo array 患者付笺
- patient_ID string 患者番号
- ContentInfo string 内容
- IsImportant bool 是否重要
- MakeDate string 作成日
- MakeTime string 作成时间
- MakeUCode string 作成者编号
- MakeUName string 作成者名称
请求示例
{
    "patient_ID":"00001",
    "patient_ID_Number":1,
    "wholeName":"柳凪",
    "wholeName_inKana":"ヤナギナギ",
    "birthDate":"1998-12-24",
    "sex":"2",
    "sexName":null,
    "houseHolder_WholeName":"ヤナギナギ",
    "contraindication1":null,
    "contraindication2":null,
    "allergy1":null,
    "allergy2":null,
    "infection1":null,
    "infection2":null,
    "comment1":null,
    "comment2":null,
    "testPatient_Flag":"0",
    "death_Flag":null,
    "occupation":null,
    "nickName":null,
    "cellularNumber":null,
    "faxNumber":null,
    "emailAddress":null,
    "reduction_Reason":"00",
    "reduction_Reason_Name":"該当なし",
    "discount":"00",
    "discount_Name":"該当なし",
    "condition1":"00",
    "condition1_Name":"該当なし",
    "condition2":"00",
    "condition2_Name":"該当なし",
    "condition3":"00",
    "condition3_Name":"該当なし",
    "ic_Code":"01",
    "ic_Code_Name":"現金",
    "community_Cid_Agree":"False",
    "firstVisit_Date":"2021-10-20",
    "lastVisit_Date":"2021-10-20",
    "inOut":null,
    "inOutCode":null,
    "bloodType":null,
    "bloodTypeCode":null,
    "age":null,
    "weight":null,
    "height":null,
    "job":null,
    "jobId":null,
    "relationship":null,
    "relationCode":null,
    "lastDate":null,
    "remark":null,
    "askTicketId":0,
    "appointList":[

    ],
    "healthInsurance_Information":[
        {
            "patient_ID":"00001",
            "insurance_Combination_Number":"0001",
            "healthInsuredPerson_Symbol":null,
            "healthInsuredPerson_Number":null,
            "healthInsuredPerson_Branch_Number":null,
            "healthInsuredPerson_Continuation":null,
            "healthInsuredPerson_WholeName":"柳凪",
            "insuranceProvider_Class":"060",
            "insuranceProvider_Number":"040055",
            "insuranceProvider_WholeName":"国保",
            "loadRate":0,
            "relationToInsuredPerson":"1",
            "healthInsuredPerson_Assistance":"3",
            "rate_Class":null,
            "certificate_StartDate":"2021-10-08 00:00:00",
            "certificate_ExpiredDate":"9999-12-31 00:00:00",
            "certificate_GetDate":"0001-01-01 00:00:00",
            "insurance_CheckDate":"2021-10-08 00:00:00",
            "publicInsurance_Information":[

            ],
            "weal":null,
            "wealN":null,
            "id":13,
            "createTime":"2021-12-11 18:32:13",
            "createUId":1,
            "lastTime":"0001-01-01 00:00:00",
            "lastUId":0,
            "hpId":1,
            "isActivated":true
        },
        {
            "patient_ID":"00001",
            "insurance_Combination_Number":"0002",
            "healthInsuredPerson_Symbol":null,
            "healthInsuredPerson_Number":null,
            "healthInsuredPerson_Branch_Number":null,
            "healthInsuredPerson_Continuation":null,
            "healthInsuredPerson_WholeName":"柳凪",
            "insuranceProvider_Class":"060",
            "insuranceProvider_Number":"040055",
            "insuranceProvider_WholeName":"国保",
            "loadRate":0,
            "relationToInsuredPerson":"1",
            "healthInsuredPerson_Assistance":"3",
            "rate_Class":null,
            "certificate_StartDate":"2021-10-08 00:00:00",
            "certificate_ExpiredDate":"9999-12-31 00:00:00",
            "certificate_GetDate":"0001-01-01 00:00:00",
            "insurance_CheckDate":"2021-10-08 00:00:00",
            "publicInsurance_Information":[
                {
                    "patient_ID":"00001",
                    "patientHealthInsuranceInfoID":14,
                    "publicInsurance_Class":"028",
                    "publicInsurance_Name":"感染症入院",
                    "publicInsurer_Number":null,
                    "publicInsuredPerson_Number":null,
                    "loadRate":0,
                    "certificate_IssuedDate":"2021-10-08 00:00:00",
                    "certificate_ExpiredDate":"9999-12-31 00:00:00",
                    "certificate_CheckDate":null,
                    "rate_Admission":0,
                    "money_Admission":0,
                    "rate_Outpatient":0,
                    "money_Outpatient":0,
                    "id":7,
                    "createTime":"2021-12-11 18:32:13",
                    "createUId":1,
                    "lastTime":"0001-01-01 00:00:00",
                    "lastUId":0,
                    "hpId":1,
                    "isActivated":true
                }
            ],
            "weal":null,
            "wealN":null,
            "id":14,
            "createTime":"2021-12-11 18:32:13",
            "createUId":1,
            "lastTime":"0001-01-01 00:00:00",
            "lastUId":0,
            "hpId":1,
            "isActivated":true
        }
    ],
    "care_Information":{
        "insurance":[

        ],
        "certification":[

        ],
        "community_Disease":[

        ]
    },
    "personally_Information":{
        "patient_ID":null,
        "pregnant_Class":null,
        "community_Disease2":null,
        "community_Disease3":null,
        "id":0,
        "createTime":"0001-01-01 00:00:00",
        "createUId":0,
        "lastTime":"0001-01-01 00:00:00",
        "lastUId":0,
        "hpId":0,
        "isActivated":true
    },
    "individual_Number":null,
    "auto_Management_Information":[

    ],
    "patient_Contra_Information":[
        {
            "patient_ID":"00001",
            "medication_Code":"001",
            "medication_Name":"阿莫西林",
            "medication_EndDate":"2023-12-01 00:00:00",
            "contra_StartDate":"2021-12-17 00:00:00",
            "specialInfo":"1111",
            "id":1,
            "createTime":"2021-12-18 09:54:46",
            "createUId":1,
            "lastTime":"2021-12-18 09:54:47",
            "lastUId":1,
            "hpId":1,
            "isActivated":true
        }
    ],
    "home_Address_Information":{
        "patient_ID":null,
        "address_ZipCode":null,
        "wholeAddress1":null,
        "wholeAddress2":null,
        "wholeAddress3":null,
        "phoneNumber1":null,
        "phoneNumber2":null,
        "id":0,
        "createTime":"0001-01-01 00:00:00",
        "createUId":0,
        "lastTime":"0001-01-01 00:00:00",
        "lastUId":0,
        "hpId":0,
        "isActivated":true
    },
    "workPlace_Information":{
        "patient_ID":null,
        "wholeName":null,
        "address_ZipCode":null,
        "wholeAddress1":null,
        "wholeAddress2":null,
        "phoneNumber":null,
        "id":0,
        "createTime":"0001-01-01 00:00:00",
        "createUId":0,
        "lastTime":"0001-01-01 00:00:00",
        "lastUId":0,
        "hpId":0,
        "isActivated":true
    },
    "contact_Information":{
        "patient_ID":null,
        "wholeName":null,
        "relationship":null,
        "address_ZipCode":null,
        "wholeAddress1":null,
        "wholeAddress2":null,
        "phoneNumber1":null,
        "phoneNumber2":null,
        "id":0,
        "createTime":"0001-01-01 00:00:00",
        "createUId":0,
        "lastTime":"0001-01-01 00:00:00",
        "lastUId":0,
        "hpId":0,
        "isActivated":true
    },
    "home2_Information":{
        "patient_ID":null,
        "wholeName":null,
        "address_ZipCode":null,
        "wholeAddress1":null,
        "wholeAddress2":null,
        "phoneNumber":null,
        "id":0,
        "createTime":"0001-01-01 00:00:00",
        "createUId":0,
        "lastTime":"0001-01-01 00:00:00",
        "lastUId":0,
        "hpId":0,
        "isActivated":true
    },
    "familyInfo":{
        "patient_ID":null,
        "relationship":null,
        "beforeName":null,
        "birthDate":null,
        "physician_Code":null,
        "physician_WholeName":null,
        "area":null,
        "disease":null,
        "specialInfo":null,
        "id":0,
        "createTime":"0001-01-01 00:00:00",
        "createUId":0,
        "lastTime":"0001-01-01 00:00:00",
        "lastUId":0,
        "hpId":0,
        "isActivated":true
    },
    "patientGroup":[

    ],
    "chargeInfo":{
        "patient_ID":null,
        "physician_ID":null,
        "name":null,
        "area":null,
        "classify":null,
        "id":0,
        "createTime":"0001-01-01 00:00:00",
        "createUId":0,
        "lastTime":"0001-01-01 00:00:00",
        "lastUId":0,
        "hpId":0,
        "isActivated":true
    },
    "attributeInfo":[
        {
            "patient_ID":"00001",
            "attributeCode":"002",
            "attributeName":"测试测试2",
            "specialInfo":"111111",
            "id":1,
            "createTime":"2021-12-17 18:17:08",
            "createUId":1,
            "lastTime":"2021-12-17 18:30:02",
            "lastUId":1,
            "hpId":1,
            "isActivated":true
        }
    ],
    "commonlyMedicinesInfo":[
        {
            "patient_ID":"00001",
            "medication_Code":"001",
            "medication_Name":"阿莫西林",
            "amount":"1日三次,一次一颗",
            "medication_EndDate":"2023-12-01 00:00:00",
            "contra_StartDate":"2021-12-17 00:00:00",
            "specialInfo":"3333",
            "id":1,
            "createTime":"2021-12-18 09:54:27",
            "createUId":1,
            "lastTime":"0001-01-01 00:00:00",
            "lastUId":0,
            "hpId":1,
            "isActivated":true
        }
    ],
    "tsukasaInfo":[
        {
            "patient_ID":"00001",
            "contentInfo":"测试测试2",
            "isImportant":false,
            "makeDate":"2021-12-17",
            "makeTime":"14:00:00",
            "makeUCode":"00001",
            "makeUName":"医生 林子",
            "id":1,
            "createTime":"2021-12-18 09:59:13",
            "createUId":1,
            "lastTime":"2021-12-18 09:59:13",
            "lastUId":1,
            "hpId":1,
            "isActivated":true
        }
    ],
    "hospitalizedInfo":[

    ],
    "id":1,
    "createTime":"2021-12-11 18:32:13",
    "createUId":1,
    "lastTime":"0001-01-01 00:00:00",
    "lastUId":0,
    "hpId":1,
    "isActivated":true
}
返回参数说明
参数名 类型 说明
Code int 0:成功 其它:失败
Data string 成功:患者本地id 失败:失败信息
备注
  • 更多返回错误代码请看首页的错误代码描述