---
title: "POST /cost"
method: POST
path: "/cost"
tags: ["costController"]
---

# POST /cost

`POST /cost`

## Request body

- Newcost — (tsType: Omit<cost, >, schemaOptions: { title: 'Newcost', exclude: [] })
  - `cost_id` number
  - `cost_event_id` number
  - `cost_domain_id` string
  - `cost_type_concept_id` number
  - `currency_concept_id` number
  - `total_charge` number
  - `total_cost` number
  - `total_paid` number
  - `paid_by_payer` number
  - `paid_by_patient` number
  - `paid_patient_copay` number
  - `paid_patient_coinsurance` number
  - `paid_patient_deductible` number
  - `paid_by_primary` number
  - `paid_ingredient_cost` number
  - `paid_dispensing_fee` number
  - `payer_plan_period_id` number
  - `amount_allowed` number
  - `revenue_code_concept_id` number
  - `revenue_code_source_value` string
  - `drg_concept_id` number
  - `drg_source_value` string

## Response `200`

cost instance created

- Cost
  - `cost_id` number
  - `cost_event_id` number
  - `cost_domain_id` string
  - `cost_type_concept_id` number
  - `currency_concept_id` number
  - `total_charge` number
  - `total_cost` number
  - `total_paid` number
  - `paid_by_payer` number
  - `paid_by_patient` number
  - `paid_patient_copay` number
  - `paid_patient_coinsurance` number
  - `paid_patient_deductible` number
  - `paid_by_primary` number
  - `paid_ingredient_cost` number
  - `paid_dispensing_fee` number
  - `payer_plan_period_id` number
  - `amount_allowed` number
  - `revenue_code_concept_id` number
  - `revenue_code_source_value` string
  - `drg_concept_id` number
  - `drg_source_value` string

---

[API](https://skmtc.net/ohdsi/apis/data-connection.md) · [All operations](https://skmtc.net/ohdsi/apis/data-connection/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ohdsi/data-connection/versions/b5ead99a1d44/schema)
