Patient

Create Patient

post/patient

Request

  • Base URL: https://api.thehelper.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.thehelper.io/patient
  • Auth: none declared

Request body

namestring required

신청인 이름

phonestring required

신청인 핸드폰 번호

ageinteger required

환자 나이

gender'male' | 'female' | 'unknown' required

An enumeration.

weightinteger required

환자 체중

medical_informationstring required

병명, 정확한 증상등

more_informationstring required

의료 정보 외에 추가적으로 알아야 하는 내용

started_atstring date required
ended_atstring date required
daily_paymentstring required

지급 가능한 일급

care_time_infostring required
want_carer_gender'male' | 'female' | 'any' required

An enumeration.

important_things_to_pick_career_idxinteger required
location_idxinteger required

환자 지역

location_detail_idxinteger required

환자 세부 지역

location_type'home' | 'hospital' required

An enumeration.

location_type_detail_1string

세부 정보 자택의 경우 자택 주소, 병원의 경우 병원 이름

location_type_detail_2string

병원의 경우 호실

is_adminboolean

관리자 여부

Example request

{
  "name": "강하나",
  "phone": "01012345678",
  "age": 14,
  "weight": 103,
  "medical_information": "루마티스 관절염",
  "more_information": "식사 후 운동 필수",
  "started_at": "2021-05-14",
  "ended_at": "2021-05-16",
  "care_time_info": "24시간",
  "important_things_to_pick_career_idx": 1,
  "location_idx": 1,
  "location_detail_idx": 46,
  "location_type_detail_1": "전북대병원",
  "location_type_detail_2": "101호"
}

Response

Successful Response

resultboolean

Example response

{
  "data": {
    "item": {
      "basic_info": {
        "email": "example@example.com",
        "phone": "01012345678",
        "password": "supersecret",
        "name": "김아무개",
        "age": 3500
      },
      "extra_info": {
        "idx": 1,
        "weight": 103,
        "medical_information": "루마티스 관절염",
        "more_information": "식사 후 운동 필수",
        "started_at": "2021-05-14",
        "ended_at": "2021-05-16",
        "daily_payment": "13만원",
        "care_time_info": "24시간",
        "important_things_to_pick_career_idx": 1,
        "location_idx": 3,
        "location_detail_idx": 46,
        "location_type_detail_1": "전북대병원",
        "location_type_detail_2": "101호",
        "created_at": "2021-05-05 14:23:42"
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.