PUT api/patients/completepatient?patient_id={patient_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patient_id

integer

Required

Body Parameters

CompletePatient
NameDescriptionTypeAdditional information
id

integer

None.

cluster_id

integer

None.

center_id

integer

None.

create_time

date

None.

modify_time

date

None.

modify_by

integer

None.

record_status_id

signed byte

None.

isactive

signed byte

None.

person_id

integer

None.

order

integer

None.

fullname

string

None.

welfare_detail_id

integer

None.

hn

string

None.

hn_owner

string

None.

total_hd

integer

None.

followup_date

date

None.

status_id

signed byte

None.

dialyzer1_id

integer

None.

dialyzer2_id

integer

None.

doctor1_id

integer

None.

doctor2_id

integer

None.

trt_no

string

None.

trt_cn

string

None.

contact_other

string

None.

income_id

signed byte

None.

expenser_id

integer

None.

expenser_other

string

None.

height

decimal number

None.

weight

decimal number

None.

bmi

decimal number

None.

alcohol_id

signed byte

None.

cigarette_id

signed byte

None.

cure_type_id

signed byte

None.

prefix_id

integer

None.

first_name

string

None.

mid_name

string

None.

last_name

string

None.

gender_id

integer

None.

dob

date

None.

iden_doctype_id

integer

None.

iden_doc

string

None.

nationality_id

integer

None.

origin_id

integer

None.

occupation_id

integer

None.

education_id

integer

None.

marriage_id

integer

None.

address_id

integer

None.

image_id

string

None.

remark

string

None.

phone

string

None.

email

string

None.

nationality_other

string

None.

origin_other

string

None.

occupation_other

string

None.

education_other

string

None.

address1

string

None.

region_id

integer

None.

province_id

integer

None.

amphur_id

integer

None.

district_id

integer

None.

postcode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "cluster_id": 2,
  "center_id": 3,
  "create_time": "2024-12-05T08:52:20.4294727+07:00",
  "modify_time": "2024-12-05T08:52:20.4294727+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": "2024-12-05T08:52:20.4294727+07:00",
  "status_id": 64,
  "dialyzer1_id": 1,
  "dialyzer2_id": 1,
  "doctor1_id": 1,
  "doctor2_id": 1,
  "trt_no": "sample string 13",
  "trt_cn": "sample string 14",
  "contact_other": "sample string 15",
  "income_id": 64,
  "expenser_id": 1,
  "expenser_other": "sample string 16",
  "height": 1.0,
  "weight": 1.0,
  "bmi": 1.0,
  "alcohol_id": 64,
  "cigarette_id": 64,
  "cure_type_id": 64,
  "prefix_id": 1,
  "first_name": "sample string 17",
  "mid_name": "sample string 18",
  "last_name": "sample string 19",
  "gender_id": 1,
  "dob": "2024-12-05T08:52:20.4294727+07:00",
  "iden_doctype_id": 1,
  "iden_doc": "sample string 20",
  "nationality_id": 1,
  "origin_id": 1,
  "occupation_id": 1,
  "education_id": 1,
  "marriage_id": 1,
  "address_id": 21,
  "image_id": "sample string 22",
  "remark": "sample string 23",
  "phone": "sample string 24",
  "email": "sample string 25",
  "nationality_other": "sample string 26",
  "origin_other": "sample string 27",
  "occupation_other": "sample string 28",
  "education_other": "sample string 29",
  "address1": "sample string 30",
  "region_id": 31,
  "province_id": 32,
  "amphur_id": 33,
  "district_id": 34,
  "postcode": "sample string 35"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CompletePatient
NameDescriptionTypeAdditional information
id

integer

None.

cluster_id

integer

None.

center_id

integer

None.

create_time

date

None.

modify_time

date

None.

modify_by

integer

None.

record_status_id

signed byte

None.

isactive

signed byte

None.

person_id

integer

None.

order

integer

None.

fullname

string

None.

welfare_detail_id

integer

None.

hn

string

None.

hn_owner

string

None.

total_hd

integer

None.

followup_date

date

None.

status_id

signed byte

None.

dialyzer1_id

integer

None.

dialyzer2_id

integer

None.

doctor1_id

integer

None.

doctor2_id

integer

None.

trt_no

string

None.

trt_cn

string

None.

contact_other

string

None.

income_id

signed byte

None.

expenser_id

integer

None.

expenser_other

string

None.

height

decimal number

None.

weight

decimal number

None.

bmi

decimal number

None.

alcohol_id

signed byte

None.

cigarette_id

signed byte

None.

cure_type_id

signed byte

None.

prefix_id

integer

None.

first_name

string

None.

mid_name

string

None.

last_name

string

None.

gender_id

integer

None.

dob

date

None.

iden_doctype_id

integer

None.

iden_doc

string

None.

nationality_id

integer

None.

origin_id

integer

None.

occupation_id

integer

None.

education_id

integer

None.

marriage_id

integer

None.

address_id

integer

None.

image_id

string

None.

remark

string

None.

phone

string

None.

email

string

None.

nationality_other

string

None.

origin_other

string

None.

occupation_other

string

None.

education_other

string

None.

address1

string

None.

region_id

integer

None.

province_id

integer

None.

amphur_id

integer

None.

district_id

integer

None.

postcode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "cluster_id": 2,
  "center_id": 3,
  "create_time": "2024-12-05T08:52:20.4607165+07:00",
  "modify_time": "2024-12-05T08:52:20.4607165+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": "2024-12-05T08:52:20.4607165+07:00",
  "status_id": 64,
  "dialyzer1_id": 1,
  "dialyzer2_id": 1,
  "doctor1_id": 1,
  "doctor2_id": 1,
  "trt_no": "sample string 13",
  "trt_cn": "sample string 14",
  "contact_other": "sample string 15",
  "income_id": 64,
  "expenser_id": 1,
  "expenser_other": "sample string 16",
  "height": 1.0,
  "weight": 1.0,
  "bmi": 1.0,
  "alcohol_id": 64,
  "cigarette_id": 64,
  "cure_type_id": 64,
  "prefix_id": 1,
  "first_name": "sample string 17",
  "mid_name": "sample string 18",
  "last_name": "sample string 19",
  "gender_id": 1,
  "dob": "2024-12-05T08:52:20.4607165+07:00",
  "iden_doctype_id": 1,
  "iden_doc": "sample string 20",
  "nationality_id": 1,
  "origin_id": 1,
  "occupation_id": 1,
  "education_id": 1,
  "marriage_id": 1,
  "address_id": 21,
  "image_id": "sample string 22",
  "remark": "sample string 23",
  "phone": "sample string 24",
  "email": "sample string 25",
  "nationality_other": "sample string 26",
  "origin_other": "sample string 27",
  "occupation_other": "sample string 28",
  "education_other": "sample string 29",
  "address1": "sample string 30",
  "region_id": 31,
  "province_id": 32,
  "amphur_id": 33,
  "district_id": 34,
  "postcode": "sample string 35"
}