> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.joincandidhealth.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.joincandidhealth.com/_mcp/server.

# Update

PUT https://api.joincandidhealth.com/api/health-care-code-informations/v1/{encounter_id}
Content-Type: application/json

Reference: https://docs.joincandidhealth.com/api-reference/health-care-code-information/v-1/update

## Authentication

- OAuth2 — send the obtained token as `Authorization: Bearer <token>`

## Servers

- `https://api.joincandidhealth.com` (Production, default)
- `https://api-staging.joincandidhealth.com` (Staging)
- `https://sandbox-api.joincandidhealth.com` (CandidSandbox)
- `https://staging-api.joincandidhealth.com` (CandidStaging)
- `http://localhost:5050` (Local)

## Request

### Path parameters

- `encounter_id` (UUID, required)

### Body (application/json)

This endpoint expects a HealthCareCodeInformationUpdate.

- `principal_diagnosis` (SetOrClearPrincipalDiagnosis, optional) — Set & Replace semantics. If the id matches the existing principal_diagnosis, that diagnosis is updated in place. If the entry has no id, it is created newly, its id will be in the response, and any existing principal_diagnosis is deleted and removed from any service line pointers.
- `other_diagnosis_information` (list of OtherDiagnosisInformation, optional) — Set & Replace semantics. For each entry that has an id, any previous other_diagnosis_information by that id is updated in place. For each entry without an id, it is created newly and its id will be in the response. For each existing entry that was not referred to by id, it is deleted, including having it removed from any service line pointers.
- `admitting_diagnosis` (SetOrClearAdmittingDiagnosis, optional) — Set & Replace semantics. If the id matches the existing admitting_diagnosis, that diagnosis is updated in place. If the entry has no id, it is created newly, its id will be in the response, and any existing principal_diagnosis is deleted. This object only applies to 837i institutional claim forms.
- `patient_reasons_for_visit` (list of PatientReasonForVisit, optional) — Set & Replace semantics. For each entry that has an id, any previous patient_reasons_for_visit by that id is updated in place. For each entry without an id, it is created newly and its id will be in the response. For each existing entry that was not referred to by id, it is deleted. This object only applies to 837i institutional claim forms.
- `external_causes_of_injury` (list of ExternalCauseOfInjury, optional) — Set & Replace semantics. For each entry that has an id, any previous external_causes_of_injury by that id is updated in place. For each entry without an id, it is created newly and its id will be in the response. For each existing entry that was not referred to by id, it is deleted. This object only applies to 837i institutional claim forms.
- `diagnosis_related_groups` (SetOrClearDiagnosisRelatedGroup, optional) — Set & Replace semantics. If the id matches the existing diagnosis_related_groups, that diagnosis_related_group is updated in place. If the entry has no id, it is created newly, its id will be in the response, and any existing diagnosis_related_groups is deleted. This object only applies to 837i institutional claim forms.
- `principal_procedure` (SetOrClearPrincipalProcedureInformation, optional) — Set & Replace semantics. If the id matches the existing principal_procedure, that principal_procedure is updated in place. If the entry has no id, it is created newly, its id will be in the response, and any existing principal_procedure is deleted. This object only applies to 837i institutional claim forms.
- `other_procedure_information` (list of OtherProcedureInformation, optional) — Set & Replace semantics. For each entry that has an id, any previous other_procedure_information by that id is updated in place. For each entry without an id, it is created newly and its id will be in the response. For each existing entry that was not referred to by id, it is deleted. This object only applies to 837i institutional claim forms.
- `occurrence_span_information` (list of OccurrenceSpanInformation, optional) — Set & Replace semantics. For each entry that has an id, any previous occurrence_span_information by that id is updated in place. For each entry without an id, it is created newly and its id will be in the response. For each existing entry that was not referred to by id, it is deleted. This object only applies to 837i institutional claim forms.
- `occurrence_information` (list of OccurrenceInformation, optional) — Set & Replace semantics. For each entry that has an id, any previous occurrence_information by that id is updated in place. For each entry without an id, it is created newly and its id will be in the response. For each existing entry that was not referred to by id, it is deleted. This object only applies to 837i institutional claim forms.
- `treatment_code_information` (list of TreatmentCodeInformation, optional) — Set & Replace semantics. For each entry that has an id, any previous treatment_code_information by that id is updated in place. For each entry without an id, it is created newly and its id will be in the response. For each existing entry that was not referred to by id, it is deleted. This object only applies to 837i institutional claim forms.
- `value_information` (list of ValueInformation, optional) — Set & Replace semantics. For each entry that has an id, any previous value_information by that id is updated in place. For each entry without an id, it is created newly and its id will be in the response. For each existing entry that was not referred to by id, it is deleted. This object only applies to 837i institutional claim forms.
- `condition_information` (list of ConditionInformation, optional) — Set & Replace semantics. For each entry that has an id, any previous condition_information by that id is updated in place. For each entry without an id, it is created newly and its id will be in the response. For each existing entry that was not referred to by id, it is deleted. This object only applies to 837i institutional claim forms.

## Response

### 200

- `other_diagnosis_information` (list of OtherDiagnosisInformation, required)
- `patient_reasons_for_visit` (list of PatientReasonForVisit, required) — This object only applies to 837i institutional claim forms.
- `external_causes_of_injury` (list of ExternalCauseOfInjury, required) — This object only applies to 837i institutional claim forms.
- `other_procedure_information` (list of OtherProcedureInformation, required) — This object only applies to 837i institutional claim forms.
- `occurrence_span_information` (list of OccurrenceSpanInformation, required) — This object only applies to 837i institutional claim forms.
- `occurrence_information` (list of OccurrenceInformation, required) — This object only applies to 837i institutional claim forms.
- `treatment_code_information` (list of TreatmentCodeInformation, required) — This object only applies to 837i institutional claim forms.
- `value_information` (list of ValueInformation, required) — This object only applies to 837i institutional claim forms.
- `condition_information` (list of ConditionInformation, required) — This object only applies to 837i institutional claim forms.
- `principal_diagnosis` (PrincipalDiagnosis, optional) — This corresponds to BK or ABK code qualifier values.
- `admitting_diagnosis` (AdmittingDiagnosis, optional) — This object only applies to 837i institutional claim forms.
- `diagnosis_related_groups` (DiagnosisRelatedGroup, optional) — This object only applies to 837i institutional claim forms.
- `principal_procedure` (PrincipalProcedureInformation, optional) — This object only applies to 837i institutional claim forms.

## Errors

### 404 Entity Not Found Error

- `errorName` ("EntityNotFoundError", required)
- `content` (EntityNotFoundErrorMessage, required)

### 422 HTTP Request Validation Error

- `errorName` ("HttpRequestValidationError", required)
- `content` (RequestValidationError, required)

## Types

### SetOrClearPrincipalDiagnosis

- `value` (PrincipalDiagnosis, optional) — This corresponds to BK or ABK code qualifier values.

### OtherDiagnosisInformation

This corresponds to BF and ABF code qualifier values.

- `other_diagnosis` (string, required)
- `other_diagnosis_code_qualifier` (enum, required)
  - Allowed values: `BF`, `ABF`
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.
- `present_on_admission_indicator` (enum, optional)
  - Allowed values: `Y`, `N`, `U`, `W`, `1`

### SetOrClearAdmittingDiagnosis

- `value` (AdmittingDiagnosis, optional) — This corresponds to BJ or ABJ code qualifier values.

### PatientReasonForVisit

This corresponds to PR or APR code qualifier values.

- `patient_reason_for_visit` (string, required)
- `patient_reason_for_visit_code_qualifier` (enum, required)
  - Allowed values: `PR`, `APR`
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.

### ExternalCauseOfInjury

This corresponds to BN or ABN code qualifier values.

- `external_cause_of_injury_code` (string, required)
- `external_cause_of_injury_code_qualifier` (enum, required)
  - Allowed values: `BN`, `ABN`
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.
- `present_on_admission_indicator` (enum, optional)
  - Allowed values: `Y`, `N`, `U`, `W`, `1`

### SetOrClearDiagnosisRelatedGroup

- `value` (DiagnosisRelatedGroup, optional) — This corresponds to DR code qualifier values.

### SetOrClearPrincipalProcedureInformation

- `value` (PrincipalProcedureInformation, optional) — This correspond to BBR, BR, and CAH code qualifier values.

### OtherProcedureInformation

This corresponds to the BBQ or BQ code qualifier values.

- `other_procedure_code` (string, required)
- `other_procedure_code_qualifier` (enum, required)
  - Allowed values: `BBQ`, `BQ`
- `other_procedure_date` (date, required) — An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/). For example, 2017-07-21T17:32:28Z. In practice, only the date portion of this is used for claim submission, so midnight time is fine.
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.

### OccurrenceSpanInformation

This corresponds to the BI code qualifier value.

- `occurrence_span_code` (enum, required)
  - Allowed values: `70`, `71`, `72`, `73`, `74`, `75`, `76`, `77`, `78`, `80`, `81`, `82`, `M0`, `M1`, `M2`, `M3`, `M4`
- `occurrence_span_code_qualifier` (enum, required)
  - Allowed values: `BI`
- `occurrence_span_date` (RD8Date, required)
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.

### OccurrenceInformation

This corresponds to the BH code qualifier value.

- `occurrence_code` (enum, required)
  - Allowed values: `01`, `02`, `03`, `04`, `05`, `06`, `09`, `10`, `11`, `12`, `16`, `17`, `18`, `19`, `20`, `21`, `22`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `32`, `33`, `34`, `35`, `36`, `37`, `38`, `39`, `40`, `41`, `42`, `43`, `44`, `45`, `46`, `47`, `50`, `51`, `52`, `54`, `55`, `56`, `61`, `62`, `A1`, `A2`, `A3`, `A4`, `B1`, `B2`, `B3`, `C1`, `C2`, `C3`
- `occurrence_code_qualifier` (enum, required)
  - Allowed values: `BH`
- `occurrence_date` (date, required) — An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/). For example, 2017-07-21T17:32:28Z. In practice, only the date portion of this is used for claim submission, so midnight time is fine.
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.

### TreatmentCodeInformation

This corresponds to the TC code qualifier value.

- `treatment_code` (string, required)
- `treatment_code_qualifier` (enum, required)
  - Allowed values: `TC`
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.

### ValueInformation

This corresponds to the BE code qualifier value.

- `value_code` (enum, required)
  - Allowed values: `01`, `02`, `04`, `05`, `06`, `08`, `09`, `10`, `11`, `12`, `13`, `14`, `15`, `16`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `32`, `33`, `34`, `35`, `37`, `38`, `39`, `40`, `41`, `42`, `43`, `44`, `45`, `46`, `47`, `48`, `49`, `50`, `51`, `52`, `53`, `54`, `55`, `56`, `57`, `58`, `59`, `60`, `61`, `66`, `67`, `68`, `69`, `80`, `81`, `82`, `83`, `84`, `85`, `87`, `89`, `90`, `91`, `A0`, `A1`, `A2`, `A3`, `A4`, `A5`, `A6`, `A7`, `A8`, `A9`, `AA`, `AB`, `B1`, `B2`, `B3`, `B7`, `BA`, `BB`, `C1`, `C2`, `C3`, `C7`, `CA`, `CB`, `D3`, `D4`, `D5`, `D6`, `FC`, `FD`, `G8`, `P1`, `P2`, `P3`, `Y1`, `Y2`, `Y3`, `Y4`, `Y5`
- `value_code_amount` (string, required) — String representation of a Decimal that can be parsed by most libraries.
- `value_code_qualifier` (enum, required)
  - Allowed values: `BE`
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.

### ConditionInformation

This corresponds to the BG code qualifier value.

- `condition_code` (enum, required) — FL 18-28 - Condition Codes Source: UB-04 Manual 2025, Pages 64-81 (FL18-28, Pages 1-18) Excludes codes designated as "Payer Codes" or "FOR PUBLIC HEALTH DATA REPORTING ONLY" unless usage on claims is indicated.
  - Allowed values: `01`, `02`, `03`, `04`, `05`, `06`, `07`, `08`, `09`, `10`, `11`, `17`, `18`, `19`, `20`, `21`, `22`, `23`, `24`, `25`, `26`, `27`, `28`, `29`, `30`, `31`, `32`, `33`, `34`, `35`, `36`, `37`, `38`, `39`, `40`, `41`, `42`, `43`, `44`, `45`, `46`, `47`, `48`, `49`, `50`, `51`, `52`, `53`, `54`, `55`, `56`, `57`, `58`, `59`, `60`, `61`, `66`, `67`, `68`, `69`, `70`, `71`, `72`, `73`, `74`, `75`, `76`, `77`, `78`, `79`, `80`, `81`, `82`, `83`, `84`, `85`, `86`, `87`, `88`, `89`, `90`, `91`, `92`, `A0`, `A1`, `A2`, `A3`, `A4`, `A5`, `A6`, `A7`, `A9`, `AA`, `AB`, `AC`, `AD`, `AE`, `AF`, `AG`, `AH`, `AI`, `AJ`, `AK`, `AL`, `AM`, `AN`, `B0`, `B1`, `B2`, `B3`, `B4`, `BP`, `C1`, `C2`, `C3`, `C4`, `C5`, `C6`, `C7`, `D0`, `D1`, `D2`, `D3`, `D4`, `D5`, `D6`, `D7`, `D8`, `D9`, `DR(a)`, `E0`, `G0`, `H0`, `H2`, `H3`, `H4`, `H5`, `P1`, `P7`, `R1`, `R2`, `R3`, `R4`, `R5`, `R6`, `R7`, `R8`, `R9`, `W0`, `W2`, `W3`, `W4`, `W5`
- `condition_code_qualifier` (enum, required)
  - Allowed values: `BG`
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.

### PrincipalDiagnosis

This corresponds to BK or ABK code qualifier values.

- `primary_diagnosis_code` (string, required)
- `principal_diagnosis_code_qualifier` (enum, required)
  - Allowed values: `BK`, `ABK`
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.
- `present_on_admission_indicator` (enum, optional)
  - Allowed values: `Y`, `N`, `U`, `W`, `1`

### AdmittingDiagnosis

This corresponds to BJ or ABJ code qualifier values.

- `admitting_diagnosis_code` (string, required)
- `admitting_diagnosis_code_qualifier` (enum, required)
  - Allowed values: `BJ`, `ABJ`
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.

### DiagnosisRelatedGroup

This corresponds to DR code qualifier values.

- `diagnosis_related_group_code` (string, required)
- `diagnosis_related_group_code_qualifier` (enum, required)
  - Allowed values: `DR`
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.

### PrincipalProcedureInformation

This correspond to BBR, BR, and CAH code qualifier values.

- `principal_procedure_code` (string, required)
- `principal_procedure_code_qualifier` (enum, required)
  - Allowed values: `BBR`, `BR`, `CAH`
- `procedure_date` (date, required) — An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/). For example, 2017-07-21T17:32:28Z. In practice, only the date portion of this is used for claim submission, so midnight time is fine.
- `encounter_id` (UUID, optional) — The encounter_id of this health care code information if it is already stored. This will be set by the server in responses, but clients are not expected to set it.
- `id` (UUID, optional) — The id of this health care code information if it is already stored. If this is not set, this is referring to a new health care code information to be added to the encounter. If it is set, this refers to an update of an existing health care code information object on the encounter.

### EntityNotFoundErrorMessage

- `id` (string, required)

### RequestValidationError

- `fieldName` (string, required)
- `humanReadableMessage` (string, optional)

### RD8Date

- `start` (date, required)
- `end` (date, required)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "other_diagnosis_information": [
    {
      "other_diagnosis": "other_diagnosis",
      "other_diagnosis_code_qualifier": "BF",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "present_on_admission_indicator": "Y"
    },
    {
      "other_diagnosis": "other_diagnosis",
      "other_diagnosis_code_qualifier": "BF",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "present_on_admission_indicator": "Y"
    }
  ],
  "patient_reasons_for_visit": [
    {
      "patient_reason_for_visit": "patient_reason_for_visit",
      "patient_reason_for_visit_code_qualifier": "PR",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    },
    {
      "patient_reason_for_visit": "patient_reason_for_visit",
      "patient_reason_for_visit_code_qualifier": "PR",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    }
  ],
  "external_causes_of_injury": [
    {
      "external_cause_of_injury_code": "external_cause_of_injury_code",
      "external_cause_of_injury_code_qualifier": "BN",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "present_on_admission_indicator": "Y"
    },
    {
      "external_cause_of_injury_code": "external_cause_of_injury_code",
      "external_cause_of_injury_code_qualifier": "BN",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "present_on_admission_indicator": "Y"
    }
  ],
  "other_procedure_information": [
    {
      "other_procedure_code": "other_procedure_code",
      "other_procedure_code_qualifier": "BBQ",
      "other_procedure_date": "2023-01-15",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    },
    {
      "other_procedure_code": "other_procedure_code",
      "other_procedure_code_qualifier": "BBQ",
      "other_procedure_date": "2023-01-15",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    }
  ],
  "occurrence_span_information": [
    {
      "occurrence_span_code": "70",
      "occurrence_span_code_qualifier": "BI",
      "occurrence_span_date": {
        "start": "2023-01-15",
        "end": "2023-01-15"
      },
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    },
    {
      "occurrence_span_code": "70",
      "occurrence_span_code_qualifier": "BI",
      "occurrence_span_date": {
        "start": "2023-01-15",
        "end": "2023-01-15"
      },
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    }
  ],
  "occurrence_information": [
    {
      "occurrence_code": "01",
      "occurrence_code_qualifier": "BH",
      "occurrence_date": "2023-01-15",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    },
    {
      "occurrence_code": "01",
      "occurrence_code_qualifier": "BH",
      "occurrence_date": "2023-01-15",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    }
  ],
  "treatment_code_information": [
    {
      "treatment_code": "treatment_code",
      "treatment_code_qualifier": "TC",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    },
    {
      "treatment_code": "treatment_code",
      "treatment_code_qualifier": "TC",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    }
  ],
  "value_information": [
    {
      "value_code": "01",
      "value_code_amount": "value_code_amount",
      "value_code_qualifier": "BE",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    },
    {
      "value_code": "01",
      "value_code_amount": "value_code_amount",
      "value_code_qualifier": "BE",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    }
  ],
  "condition_information": [
    {
      "condition_code": "01",
      "condition_code_qualifier": "BG",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    },
    {
      "condition_code": "01",
      "condition_code_qualifier": "BG",
      "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
      "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
    }
  ],
  "principal_diagnosis": {
    "primary_diagnosis_code": "primary_diagnosis_code",
    "principal_diagnosis_code_qualifier": "BK",
    "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    "present_on_admission_indicator": "Y"
  },
  "admitting_diagnosis": {
    "admitting_diagnosis_code": "admitting_diagnosis_code",
    "admitting_diagnosis_code_qualifier": "BJ",
    "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
  },
  "diagnosis_related_groups": {
    "diagnosis_related_group_code": "diagnosis_related_group_code",
    "diagnosis_related_group_code_qualifier": "DR",
    "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
  },
  "principal_procedure": {
    "principal_procedure_code": "principal_procedure_code",
    "principal_procedure_code_qualifier": "BBR",
    "procedure_date": "2023-01-15",
    "encounter_id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32",
    "id": "d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.joincandidhealth.com/api/health-care-code-informations/v1/d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"

payload = {}
headers = {
    "Authorization": "<token>.",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.joincandidhealth.com/api/health-care-code-informations/v1/d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32';
const options = {
  method: 'PUT',
  headers: {Authorization: '<token>.', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.joincandidhealth.com/api/health-care-code-informations/v1/d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("Authorization", "<token>.")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.joincandidhealth.com/api/health-care-code-informations/v1/d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["Authorization"] = '<token>.'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.put("https://api.joincandidhealth.com/api/health-care-code-informations/v1/d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
  .header("Authorization", "<token>.")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://api.joincandidhealth.com/api/health-care-code-informations/v1/d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32', [
  'body' => '{}',
  'headers' => [
    'Authorization' => '<token>.',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.joincandidhealth.com/api/health-care-code-informations/v1/d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32");
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "<token>.");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "<token>.",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.joincandidhealth.com/api/health-care-code-informations/v1/d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```