GET api/patients/data/{patient_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patient_id

integer

Required

Body Parameters

None.

Response Information

Resource Description

PatientData
NameDescriptionTypeAdditional information
id

integer

None.

pateint

patient

None.

person

person

None.

address

address

None.

pt_data1

pt_data1

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "pateint": {
    "id": 1,
    "cluster_id": 2,
    "center_id": 3,
    "create_time": "2025-01-20T15:22:24.0227706+07:00",
    "modify_time": "2025-01-20T15:22:24.0227706+07:00",
    "modify_by": 6,
    "record_status_id": 64,
    "isactive": 64,
    "person_id": 9,
    "order": 1,
    "fullname": "sample string 10",
    "welfare_detail_id": 1,
    "hn": "sample string 11",
    "hn_owner": "sample string 12",
    "total_hd": 1,
    "followup_date": "2025-01-20T15:22:24.0227706+07:00",
    "status_id": 64,
    "dialyzer1_id": 1,
    "dialyzer2_id": 1,
    "doctor1_id": 1,
    "doctor2_id": 1,
    "trt_no": "sample string 13",
    "med_sup_role_id": 1,
    "trt_patient_id": "sample string 14",
    "trt_cn": "sample string 15"
  },
  "person": {
    "id": 1,
    "cluster_id": 2,
    "center_id": 3,
    "create_time": "2025-01-20T15:22:24.0227706+07:00",
    "modify_time": "2025-01-20T15:22:24.0227706+07:00",
    "modify_by": 6,
    "record_status_id": 64,
    "prefix_id": 1,
    "first_name": "sample string 8",
    "mid_name": "sample string 9",
    "last_name": "sample string 10",
    "gender_id": 1,
    "dob": "2025-01-20T15:22:24.0227706+07:00",
    "iden_doctype_id": 1,
    "iden_doc": "sample string 11",
    "nationality_id": 1,
    "origin_id": 1,
    "occupation_id": 1,
    "education_id": 1,
    "marriage_id": 1,
    "address_id": 12,
    "image_id": "sample string 13",
    "remark": "sample string 14",
    "phone": "sample string 15",
    "email": "sample string 16",
    "nationality_other": "sample string 17",
    "origin_other": "sample string 18",
    "occupation_other": "sample string 19",
    "education_other": "sample string 20",
    "phone2": "sample string 21",
    "phone3": "sample string 22"
  },
  "address": {
    "id": 1,
    "cluster_id": 2,
    "center_id": 3,
    "create_time": "2025-01-20T15:22:24.0227706+07:00",
    "modify_time": "2025-01-20T15:22:24.0227706+07:00",
    "modify_by": 6,
    "record_status_id": 64,
    "address1": "sample string 8",
    "region_id": 9,
    "province_id": 10,
    "amphur_id": 11,
    "district_id": 12,
    "postcode": "sample string 13"
  },
  "pt_data1": {
    "id": 1,
    "cluster_id": 2,
    "center_id": 3,
    "create_time": "2025-01-20T15:22:24.0227706+07:00",
    "modify_time": "2025-01-20T15:22:24.0227706+07:00",
    "modify_by": 6,
    "record_status_id": 64,
    "patient_id": 8,
    "contact_other": "sample string 9",
    "income_id": 64,
    "expenser_id": 1,
    "expenser_other": "sample string 10",
    "height": 1.0,
    "weight": 1.0,
    "bmi": 1.0,
    "alcohol_id": 64,
    "cigarette_id": 64,
    "hn_owner": "sample string 11",
    "cure_type_id": 64
  }
}