# Create Patient Note (If Not Exists)

> Perform Create Patient Note (If Not Exists) through Brightree.

Source: [https://genhealth.ai/docs/workflows/integrations/brightree/brightree_create_patient_note_if_not_exists](https://genhealth.ai/docs/workflows/integrations/brightree/brightree_create_patient_note_if_not_exists)

Integration: [Brightree](https://genhealth.ai/docs/workflows/integrations/brightree.md)

- Handler: `brightree_create_patient_note_if_not_exists`

- Connection type: `brightree`

## Inputs

- `patient_key` — Patient Key (expression)
  Optional literal value or workflow expression.
- `note_reason` — Note Reason (text)
  Optional text value.
- `subject` — Subject (text)
  Optional text value.
- `description` — Description (textarea)
  Optional text value.
- `severity` — Severity (text)
  Optional text value.
- `state` — State (text)
  Optional text value.
- `status` — Status (text)
  Optional text value.
- `date_needed` — Date Needed (text)
  Optional text value.
- `assigned_to_name` — Assigned To Name (text)
  Optional text value.
- `condition_field` — Condition Field (expression)
  Optional literal value or workflow expression.
- `skip_if_match` — Skip If Match (text)
  Optional text value.
- `description_prepend_if_exists` — Description Prepend If Exists (textarea)
  Optional text value.
- `description_append_if_exists` — Description Append If Exists (textarea)
  Optional text value.
- `skip_if_match_fields` — Skip If Match Fields (text)
  Optional text value.
  Default: `"title,text"`
- `skip_if_entry_present` — Skip If Entry Present (boolean)
  Optional true-or-false value.
  Default: `false`
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

No named outputs are declared for this action.

Output schema completeness: `unknown`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: yes

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "status": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "subject": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "severity": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "date_needed": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "description": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    },
    "note_reason": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "patient_key": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "skip_if_match": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "condition_field": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "assigned_to_name": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "skip_if_match_fields": {
      "type": "string",
      "default": "title,text",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "skip_if_entry_present": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "description_append_if_exists": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    },
    "description_prepend_if_exists": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {},
  "additionalProperties": true
}
```
