入退院・外来
| フィールド名 | Field Name | Type | 備考 |
|---|---|---|---|
| 入外ID | eventID | string | /^[0-9a-z]{8}$/ |
| 受付日 | receptionDate | date | |
| 保険・公費 | insurance | string | |
| 種別 | eventType | string | |
| 入院日 | admissionDate | date | |
| 入院前生活場所 | locationBeforeAdmission | string | |
| 入院担当科 | assignedDepartment | string | |
| 入院病棟 | assignedWard | string | |
| 依頼経路 | orderingRoute | string | |
| 主病名 | diagnosticName | string | |
| 病名自由記載 | diagnosticDescription | string | |
| 担当SW | assignedSWName | string | |
| 世帯内成人人数 | householdInAdultPersons | string | |
| 配偶者(内縁含む) | hasPartner | string | |
| キーパーソン | keyPerson | string | |
| 主介護者 | mainCaregiver | string | |
| 終結日 | terminationDate | date | |
| 退院先 | dischargeDestination | date | |
| 退院先種別 | dischargeDestinationDepartment | date | |
GET /api/v1/patients/:patientid/events/
患者IDに紐づく入退院・外来イベントのIDを入外IDの昇順で取得します。
|
1 2 |
GET /api/v1/patients/:patientid/events HTTP/1.1 Host: api.manbo.link |
|
1 2 3 4 5 6 7 8 9 10 11 |
HTTP/1.1 200 Content-Type: application/json [ { "eventid": "63a45142" }, { "eventid": "21ac5821" } ] |
GET /api/v1/patients/:patientid/events/:eventid
入退院・外来イベントを取得します。
|
1 2 |
GET /api/v1/patients/:patientID/events/:eventid 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 |
HTTP/1.1 200 Content-Type: application/json { "eventID": "", "receptionDate": "2000-01-01T00:00:00+00:00", "insurance": "障害者医療", "eventType": "入院", "admissionDate": "2000-01-01T00:00:00+00:00", "locationBeforeAdmission": "自宅", "assignedDepartment": "血液内科", "assignedWard": "8A", "orderingRoute": "院内その他", "diagnosticName": "血液・免疫", "diagnosticDescription": "その他の血液免疫疾患", "assignedSWName": "福祉太郎", "householdInAdultPersons": "2", "hasPartner": "1", "keyPerson": "本人", "mainCaregiver": "なし", "terminationDate": "2000-01-01T00:00:00+00:00", "dischargeDestination": "病院", "dischargeDestinationDepartment": "一般病棟" } |
PATCH /api/v1/patients/:patientid/events/:eventid
入退院・外来イベントを更新します。
|
1 2 3 4 5 6 7 8 9 10 |
PATCH /api/v1/patients/:patientID/events/:eventid HTTP/1.1 Content-Type: application/json Host: api.manbo.link { "eventID": "12ax4112", "payload": { } } |
