# Create Patient Notes

> Perform Create Patient Notes through Bonafide.

Source: [https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_create_patient_notes](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_create_patient_notes)

Integration: [Bonafide](https://genhealth.ai/docs/workflows/integrations/bonafide.md)

- Handler: `bonafide_create_patient_notes`

- Connection type: `bonafide`

## Inputs

- `customer_id` — Customer Id (expression, required)
  Required literal value or workflow expression.
- `notes` — Notes (repeatable_group, required)
  Required list of structured items.
  - `category` — Category (select, required)
    Required selected identifier or value.
    Default: `"19"`
    Options: REQUEST ("19"), GTG ("16"), Sent 1st Fax ("5"), GH NOTE ("29")
  - `message` — Message (textarea, required)
    Required text value.

## Outputs

- `success` — Success
- `customer_id` — Customer Id
- `notes_created` — Notes Created
- `notes_failed` — Notes Failed
- `message` — Message
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "required": [
    "customer_id",
    "notes"
  ],
  "properties": {
    "notes": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "category",
          "message"
        ],
        "properties": {
          "message": {
            "type": "string",
            "description": "Required text value.",
            "x-workflow-field-type": "textarea"
          },
          "category": {
            "enum": [
              "19",
              "16",
              "5",
              "29"
            ],
            "type": "string",
            "default": "19",
            "description": "Required selected identifier or value.",
            "x-workflow-field-type": "select"
          }
        },
        "additionalProperties": false
      },
      "description": "Required list of structured items.",
      "x-workflow-field-type": "repeatable_group"
    },
    "customer_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "message": {},
    "success": {},
    "customer_id": {},
    "notes_failed": {},
    "error_message": {},
    "notes_created": {}
  },
  "additionalProperties": true
}
```
