GET api/visit_detail/prepare/{center_id},{patient_id},{hd_date},{round_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
center_id

integer

Required

patient_id

integer

Required

hd_date

date

Required

round_id

integer

Required

Body Parameters

None.

Response Information

Resource Description

pp_visit_detail
NameDescriptionTypeAdditional information
hd_inweek

integer

None.

hd_total_rev_inweek

integer

None.

hn

string

None.

pt_name

string

None.

age_year

integer

None.

age_month

integer

None.

syring_total

integer

None.

syring_cycle_unit

string

None.

visit_epoes

Collection of visit_epo

None.

pt_dzs

Collection of VisitDetailDialyzer

None.

visit_costs

Collection of visit_cost

None.

visit_items

Collection of ItemUseViewRow

None.

item_rule_bundle_id

integer

None.

registered_check

boolean

None.

id

integer

None.

cluster_id

integer

None.

center_id

integer

None.

create_time

date

None.

modify_time

date

None.

modify_by

integer

None.

rs_id

signed byte

None.

patient_id

integer

None.

welfare_id

integer

None.

hd_date

date

None.

hd_round

integer

None.

hd_total

integer

None.

hd_fee_rate

decimal number

None.

hd_cost_total

decimal number

None.

pt_dz1_id

integer

None.

dz1_id

integer

None.

doctor1_id

integer

None.

doctor2_id

integer

None.

complication

string

None.

complication_other

string

None.

visit_epo_id

integer

None.

iron_id

integer

None.

iron_total

integer

None.

iron_unit

integer

None.

iron_cost_total

decimal number

None.

hct

decimal number

None.

pt_status

integer

None.

remark

string

None.

visit_item_id

integer

None.

weight_pre

decimal number

None.

weight_post

decimal number

None.

bp_pre

string

None.

bp_post

string

None.

pt_dz2_id

integer

None.

dz2_id

integer

None.

hd_time_start

date

None.

hd_time_end

date

None.

Response Formats

application/json, text/json

Sample:
{
  "hd_inweek": 1,
  "hd_total_rev_inweek": 2,
  "hn": "sample string 3",
  "pt_name": "sample string 4",
  "age_year": 5,
  "age_month": 6,
  "syring_total": 7,
  "syring_cycle_unit": "sample string 8",
  "visit_epoes": [
    {
      "id": 1,
      "cluster_id": 2,
      "center_id": 3,
      "create_time": "2024-12-07T18:16:33.9198146+07:00",
      "modify_time": "2024-12-07T18:16:33.9198146+07:00",
      "modify_by": 6,
      "rs_id": 64,
      "patient_id": 8,
      "number": 1,
      "welfare_id": 1,
      "visit_id": 1,
      "epo_group_id": 1,
      "epo_id": 1,
      "epo_detail_id": 1,
      "epo_unit": 1,
      "epo_price": 1.0,
      "epo_total": 1.0,
      "epo_total_price": 1.0,
      "hct": 1.0,
      "hd_date": "2024-12-07T18:16:33.9198146+07:00",
      "epo_from": 1,
      "other": "sample string 9"
    },
    {
      "id": 1,
      "cluster_id": 2,
      "center_id": 3,
      "create_time": "2024-12-07T18:16:33.9198146+07:00",
      "modify_time": "2024-12-07T18:16:33.9198146+07:00",
      "modify_by": 6,
      "rs_id": 64,
      "patient_id": 8,
      "number": 1,
      "welfare_id": 1,
      "visit_id": 1,
      "epo_group_id": 1,
      "epo_id": 1,
      "epo_detail_id": 1,
      "epo_unit": 1,
      "epo_price": 1.0,
      "epo_total": 1.0,
      "epo_total_price": 1.0,
      "hct": 1.0,
      "hd_date": "2024-12-07T18:16:33.9198146+07:00",
      "epo_from": 1,
      "other": "sample string 9"
    }
  ],
  "pt_dzs": [
    {
      "RuleID": 1,
      "RuleName": "sample string 2",
      "ProductID": 3,
      "ProductName": "sample string 4",
      "Use": 5,
      "KPI": 6,
      "Total": 7,
      "pt_dz_id": 8,
      "number": 9,
      "id": 10
    },
    {
      "RuleID": 1,
      "RuleName": "sample string 2",
      "ProductID": 3,
      "ProductName": "sample string 4",
      "Use": 5,
      "KPI": 6,
      "Total": 7,
      "pt_dz_id": 8,
      "number": 9,
      "id": 10
    }
  ],
  "visit_costs": [
    {
      "id": 1,
      "cluster_id": 2,
      "center_id": 3,
      "create_time": "2024-12-07T18:16:33.9198146+07:00",
      "modify_time": "2024-12-07T18:16:33.9198146+07:00",
      "modify_by": 6,
      "rs_id": 64,
      "patient_id": 8,
      "visit_id": 9,
      "order": 1,
      "welfare_id": 1,
      "cost_type_id": 1,
      "pay_type_id": 1,
      "date": "2024-12-07T18:16:33.9198146+07:00",
      "type_title": "sample string 10",
      "title": "sample string 11",
      "price": 1.0,
      "price_extra": 1.0,
      "price_total": 1.0,
      "multiple": 1.0,
      "other": "sample string 12"
    },
    {
      "id": 1,
      "cluster_id": 2,
      "center_id": 3,
      "create_time": "2024-12-07T18:16:33.9198146+07:00",
      "modify_time": "2024-12-07T18:16:33.9198146+07:00",
      "modify_by": 6,
      "rs_id": 64,
      "patient_id": 8,
      "visit_id": 9,
      "order": 1,
      "welfare_id": 1,
      "cost_type_id": 1,
      "pay_type_id": 1,
      "date": "2024-12-07T18:16:33.9198146+07:00",
      "type_title": "sample string 10",
      "title": "sample string 11",
      "price": 1.0,
      "price_extra": 1.0,
      "price_total": 1.0,
      "multiple": 1.0,
      "other": "sample string 12"
    }
  ],
  "visit_items": [
    {
      "Number": 1,
      "ItemID": 2,
      "ItemTitle": "sample string 3",
      "ItemUseCount": 4.0,
      "ItemUseDisplay": "sample string 5",
      "ItemUnit": 6
    },
    {
      "Number": 1,
      "ItemID": 2,
      "ItemTitle": "sample string 3",
      "ItemUseCount": 4.0,
      "ItemUseDisplay": "sample string 5",
      "ItemUnit": 6
    }
  ],
  "item_rule_bundle_id": 9,
  "registered_check": true,
  "id": 11,
  "cluster_id": 12,
  "center_id": 13,
  "create_time": "2024-12-07T18:16:33.9198146+07:00",
  "modify_time": "2024-12-07T18:16:33.9198146+07:00",
  "modify_by": 16,
  "rs_id": 64,
  "patient_id": 18,
  "welfare_id": 19,
  "hd_date": "2024-12-07T18:16:33.9198146+07:00",
  "hd_round": 21,
  "hd_total": 22,
  "hd_fee_rate": 1.0,
  "hd_cost_total": 1.0,
  "pt_dz1_id": 1,
  "dz1_id": 1,
  "doctor1_id": 1,
  "doctor2_id": 1,
  "complication": "sample string 23",
  "complication_other": "sample string 24",
  "visit_epo_id": 1,
  "iron_id": 1,
  "iron_total": 1,
  "iron_unit": 1,
  "iron_cost_total": 1.0,
  "hct": 1.0,
  "pt_status": 1,
  "remark": "sample string 25",
  "visit_item_id": 1,
  "weight_pre": 1.0,
  "weight_post": 1.0,
  "bp_pre": "sample string 26",
  "bp_post": "sample string 27",
  "pt_dz2_id": 1,
  "dz2_id": 1,
  "hd_time_start": "2024-12-07T18:16:33.9198146+07:00",
  "hd_time_end": "2024-12-07T18:16:33.9198146+07:00"
}