フィールド名 | fieldName | type | 備考 |
---|---|---|---|
患者ID | patientID | string | /^[0-9a-z]{8}$/ |
患者名(姓) | lastName | string | |
患者名(名) | firstName | string | |
患者名(姓)カナ | lastNameKana | string | |
患者名(名)カナ | firstNameKana | string | |
性別 | gender | string | |
生年月日 | birthDate | date | |
電話番号 | phoneNumber | string | /\d{1,4}-\d{1,4}-\d{4}$/ |
携帯電話番号 | cellNumber | string | /\d{1,4}-\d{1,4}-\d{4}$/ |
郵便番号 | zipCode | string | /\d{3}-\d{4}$/ |
都道府県 | prefectures | string | |
住所 | address | string | |
備考 | remarks | string | |
現在位置 | currentPlace | string | |
担当グループ | assignedGroup | string | |
年齢 | age | string | |
保険 | insurance | string | |
負担割合 | insuranceRate | string | |
無保険フラグ | isUninsured | string | |
特定疾患 | hasSpecifiedDiseases | string | |
特定重症疾患 | hasSpecifiedSevereDiseases | string | |
小児慢性疾患 | hasChildhoodChronicDiseases | string | |
肝炎医療費 | hasHapatitisBills | string | |
自立支援 | independenceSupport | string | |
重度障害 | hasSevereDisabilities | string | |
ひとり親 | singleParent | string | |
公費 | publicExpense | string | |
初回受付日 | firstReceptionDate | date | |
受付職員名 | receptionStuffName | string | |
紹介施設 | introducesFacility | string | |
紹介者 | introducerName | string | |
終了日 | terminationDate | date | |
終了理由 | terminationReason | string | |
最新入外ID | latestLocationID | string |
GET /api/v1/patients
アクセストークンに紐付けれた患者のID一覧を患者IDの降順で取得します。
1 2 |
GET /api/v1/patients HTTP/1.1 Host: api.manbo.link |
1 2 3 4 5 6 7 8 |
HTTP/1.1 200 Content-Type: application/json [ { "patientid": "15151" } ] |
Get /api/v1/patients/:patientID
患者情報を取得します。
1 2 |
GET /api/v1/patients/:patientID HTTP/1.1 Host: api.manbo.link |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
HTTP/1.1 200 Content-Type: application/json { "patientID": "542a8914", "lastName": "Manbou", "firstName": "Tarou", "lastNameKana": "翻車魚", "lastNameKana": "太郎", "gender": "男", "birthDate": "2000-01-01T00:00:00+00:00", "phoneNumber": "03-2222-2222", "cellNumber": "090-1111-1111", "zipCode": "100-0000", "prefectures": "東京都", "address": "世田谷区玉川1-1-1", "remarks": "備考", "currentPlace": "終了", "assignedGroup": "", "age": "40", "insurance": "後期高齢", "insuranceRate": "10", "isUninsured": "0", "hasSpecifiedDiseases" : "0", "hasSpecifiedSevereDiseases" : "0", "hasChildhoodChronicDiseases" : "0", "hasHapatitisBills" : "0", "independenceSupport" : "更生,精神", "hasSevereDisabilities": "0", "singleParent": "0", "publicExpense": "0", "firstReceptionDate": "2000-01-01T00:00:00+00:00", "receptionStuffName": "受付太郎", "introducesFacility": "紹介施設", "introducerName": "紹介花子", "terminationDate": "2000-01-01T00:00:00+00:00", "terminationReason": "", "latestLocationID": "" } |
PATCH /api/v1/patients/:patientID
患者情報を更新します。
1 2 3 4 5 6 7 8 9 10 11 12 |
PATCH /api/v1/patients/:patientID HTTP/1.1 Content-Type: application/json Host: api.manbo.link { "patientID": "12ax4112", "payload": { "phoneNumber": "03-5555-5555", "insuranceRate": "0", "isUninsured": "1" } } |
1 2 3 4 5 |
HTTP/1.1 200 Content-Type: application/json { } |
DELETE /api/v1/patients/:patientID
患者情報を削除します。
1 2 3 4 5 6 7 |
DELETE /api/v1/patients/:patientID HTTP/1.1 Content-Type: application/json Host: api.manbo.link { "patientID": "12ax4112" } |
1 2 3 4 5 |
HTTP/1.1 200 Content-Type: application/json { } |